Compare commits

...
2822 Commits
Author SHA1 Message Date
nobody cfaea8bc95 This commit was manufactured by cvs2svn to create tag 'MCS_0_21'.
svn path=/tags/MCS_0_21/mcs/; revision=12047
2003-02-27 22:22:37 +00:00
Miguel de Icaza 8df3cb190c bump
svn path=/trunk/mcs/; revision=12046
2003-02-27 22:22:37 +00:00
Miguel de Icaza f74ec6eee5 Bump
svn path=/trunk/mono/; revision=12044
2003-02-27 22:22:27 +00:00
Zoltan Varga 308a67b9c3 2003-02-27 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_nesting_typedef): fix bug in previous
	change.

svn path=/trunk/mono/; revision=12042
2003-02-27 20:30:36 +00:00
Ville Palo aacbfb8210 2003-02-28 Ville Palo <[email protected]>
* DataColumnCollectionTest.cs: Added more tests.
	* DataRowCollectionTest.cs: Added more tests.

svn path=/trunk/mcs/; revision=12041
2003-02-27 20:29:14 +00:00
Gonzalo Paniagua Javier 3ec6689a51 oops. Thanks to danmorg for pointing this out.
svn path=/trunk/mono/; revision=12040
2003-02-27 20:21:04 +00:00
Ville Palo bb6ef3268f 2003-02-28 Ville Palo <[email protected]>
* ExpressionElement.cs: More implementation.

svn path=/trunk/mcs/; revision=12039
2003-02-27 20:14:36 +00:00
Alan Tam dc0812150d 2003-02-28 Elan Feingold <[email protected]>
* DateTime.cs: FileTime is expressed in Universal time, and as such must
	be converted before subtracting the magic offset.
	* DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
	the timezone at the end) *must* be parsed by DateTime.Parse() for
	compatibility with Microsoft.

svn path=/trunk/mcs/; revision=12038
2003-02-27 20:01:32 +00:00
Miguel de Icaza ad4821f26a 2003-02-27 Miguel de Icaza <[email protected]>
* driver.cs: handle the +/- options for -noconfig

svn path=/trunk/mcs/; revision=12037
2003-02-27 19:48:17 +00:00
Gonzalo Paniagua Javier eaf0aa7fbe 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: make assemblies dir have \ instead of / on windows.

svn path=/trunk/mono/; revision=12036
2003-02-27 19:46:51 +00:00
Zoltan Varga 89d747ea99 2003-02-27 Zoltan Varga <[email protected]>
* metadata.c metadata.h (mono_metadata_nesting_typedef): changed to
	iterate over the NESTEDCLASS table using a linear search since the
	table is not guaranteed to be sorted by the secondary key.

	* class.c (mono_class_create_from_typedef): fixed up call to
	mono_metadata_nesting_typedef.

svn path=/trunk/mono/; revision=12035
2003-02-27 19:06:41 +00:00
Miguel de Icaza ca97f02e5c 2003-02-27 Miguel de Icaza <[email protected]>
* statement.cs (Unchecked.Resolve): Also track the state in the Resolve phase.

svn path=/trunk/mcs/; revision=12034
2003-02-27 18:59:06 +00:00
Miguel de Icaza af43004774 Flush
svn path=/trunk/mono/; revision=12033
2003-02-27 17:41:42 +00:00
Alan Tam 6d9d8d4224 2003-02-28 Alan Tam <[email protected]>
* DataSet.cs: Changed WriteTable so that it now calls the newly written
        WriteObjectXml to direct the call to the respective XmlConvert method.
        This fixes the wrong format written to XML files of bool, float,
        double, DateTime and TimeSpan types.

svn path=/trunk/mcs/; revision=12032
2003-02-27 17:18:05 +00:00
Alan Tam f8abecbb7f 2003-02-28 Alan Tam <[email protected]>
* XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
        methods to make them compatible with the XML Schema Spec from W3C
        ToString(TimeSpan) is still outstanding

svn path=/trunk/mcs/; revision=12031
2003-02-27 17:11:41 +00:00
Gonzalo Paniagua Javier 3786083fc6 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
* File.cs: fix by Elan Feingold <[email protected]> for
	SetCreationTime, SetLastAccessTime and SetLastWriteTime.

svn path=/trunk/mcs/; revision=12029
2003-02-27 16:20:24 +00:00
Martin Baulig a56a1a0f39 2003-02-27 Martin Baulig <[email protected]>
* ecore.cs (Expression.MemberLookup): Don't create a
	MethodGroupExpr for something which is not a method.  Fixes #38291.

svn path=/trunk/mcs/; revision=12027
2003-02-27 14:21:50 +00:00
Dietmar Maurer 5844cd840c added class init test from zoltan
svn path=/trunk/mono/; revision=12025
2003-02-27 11:56:34 +00:00
Dietmar Maurer 63f894376b new test
svn path=/trunk/mono/; revision=12024
2003-02-27 11:52:55 +00:00
Dietmar Maurer d808f4cd2c 2003-02-27 Dietmar Maurer <[email protected]>
* marshal.c (mono_string_to_byvalstr): clear the memory as
	suggested by Jerome Laban <[email protected]>

svn path=/trunk/mono/; revision=12023
2003-02-27 11:41:40 +00:00
Tim Coleman 47cbf3c66b 2003-02-26 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleConnection.cs:
		Rollback transactions when connection closes if they
		are open.
	* System.Data.OracleClient/OracleDataReader.cs:
		Implement GetOracleLob ()
	* System.Data.OracleClient/OracleLob.cs:
		Implement some of the details, like Read/Write/Seek
	* System.Data.OracleClient.Oci/OciBindHandle.cs:
		Remove debug message.
	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Add LOB support.
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
		Minor formatting changes
	* System.Data.OracleClient.Oci/OciLobLocator.cs:
		Huge amounts of code to make it work.  Lots of ugly
		OCI P/Invoke code.
	* Test/TestOracleClient.cs:
		Improve the LOBTest.

svn path=/trunk/mcs/; revision=12021
2003-02-27 05:20:06 +00:00
Gonzalo Paniagua Javier 6ff5c436a3 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
* AuthenticationConfigHandler.cs: 'name' is optional in <forms>.

svn path=/trunk/mcs/; revision=12019
2003-02-27 03:48:36 +00:00
Gonzalo Paniagua Javier 029b4e1fce 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
* CultureInfo.cs:
	(NameToID): make it case insensitive and use a hashtable instead of
	comparing all the strings.

svn path=/trunk/mcs/; revision=12018
2003-02-27 02:08:56 +00:00
Gonzalo Paniagua Javier 047c999e9e Reverted last patch. It breaks configuration reading
svn path=/trunk/mcs/; revision=12017
2003-02-27 01:20:59 +00:00
Per Arneng 6c729d5040 Removed an old FIXME
svn path=/trunk/mcs/; revision=12016
2003-02-27 00:32:32 +00:00
Per Arneng c836c2b8e7 added author comment
svn path=/trunk/mcs/; revision=12015
2003-02-26 23:47:19 +00:00
Per Arneng e9adfe4a34 Added the MailEncdoder class to be responsible for base64,UU encoding
The base64 method is now diff tested against uuencode

svn path=/trunk/mcs/; revision=12014
2003-02-26 22:50:45 +00:00
Per Arneng 83591627cb Fixed subject encoding.. does like ms now
svn path=/trunk/mcs/; revision=12006
2003-02-26 19:21:26 +00:00
Atsushi Eno b4d47f5448 2003-02-27 Atsushi Enomoto <[email protected]>
* XmlDocument.cs: modified Load().
	  Uri.Parse might not allow non-uri string.
	* XmlInputStream.cs: patch by Gonzalo (CanSeek).
	  added some constructors for convenience.
	* XmlTextReader.cs: modified some constructors.

svn path=/trunk/mcs/; revision=12005
2003-02-26 19:11:46 +00:00
Dick Porter 7132e98736 2003-02-26 Dick Porter <[email protected]>
* process.c: Cope with padding in .rsrc blocks

svn path=/trunk/mono/; revision=12001
2003-02-26 16:03:29 +00:00
Zoltan Varga 260fcb6b93 2003-02-26 Zoltan Varga <[email protected]>
* TypeBuilder.cs (DefineInitializedData): Removed unnecessary assignments.

	* ModuleBuilder.cs (DefineInitializedData): Do not call
	TypeBuilder::DefineInitializedData since that would mean defining a
	nested type of the global type, which is wrong. Instead define a
	new public type as MS does.

	* ModuleBuilder.cs (DefineUninitializedData): Ditto.

svn path=/trunk/mcs/; revision=11999
2003-02-26 14:40:21 +00:00
Dietmar Maurer 191a65c1ec 2003-02-26 Dietmar Maurer <[email protected]>
* metadata.h: reverted the filter_len change, it breaks reflection

svn path=/trunk/mono/; revision=11997
2003-02-26 11:29:53 +00:00
Dietmar Maurer efb4caccc5 2003-02-26 Dietmar Maurer <[email protected]>
* metadata.h: added a new field to store the filter_len

svn path=/trunk/mono/; revision=11996
2003-02-26 10:21:22 +00:00
Nick Drochak 43d6c847f4 2003/02/26 Nick Drochak <[email protected]>
* ActivatorTest.cs: Unregister the channel like it should.
	* MarshalByRefTest.cs: Take out my hack.
	  Both from Jean-Marc Andr [[email protected]].

svn path=/trunk/mcs/; revision=11995
2003-02-26 09:37:18 +00:00
Reggie Burnett 31f33f23a3 * Form.Close now actually destroys the Window
* Application now closes when launching form is closed

svn path=/trunk/mcs/; revision=11992
2003-02-26 07:53:25 +00:00
Per Arneng 2dddb5bd02 Added myself :)
svn path=/trunk/mcs/; revision=11991
2003-02-26 06:23:13 +00:00
Per Arneng a771ee1188 Added a FIXME comment on boundaries
svn path=/trunk/mcs/; revision=11990
2003-02-26 06:04:11 +00:00
Per Arneng b2c2697cf8 SmtpServer now defaults to localhost
svn path=/trunk/mcs/; revision=11989
2003-02-26 05:57:18 +00:00
Per Arneng bd922647f4 application/octet-stream for attatchment mimetypes
svn path=/trunk/mcs/; revision=11988
2003-02-26 05:35:44 +00:00
Dave Bettin b80347938e o Modified WebService to house a HttpContext member instead of HttpApplication
svn path=/trunk/mcs/; revision=11987
2003-02-26 04:58:37 +00:00
Per Arneng a3df14a694 Body is now encoded with BodyEncoding.GetBytes
svn path=/trunk/mcs/; revision=11986
2003-02-26 04:58:25 +00:00
Dave Bettin a3fda2d3f8 o Moved tests to nunit2 guidelines
o Added build for linux test(s)

svn path=/trunk/mcs/; revision=11985
2003-02-26 04:51:32 +00:00
Per Arneng 9984280aca Set the Content-Transfet-Encoding based on contents ASCII 7bit other 8bit
svn path=/trunk/mcs/; revision=11984
2003-02-26 04:36:00 +00:00
Miguel de Icaza b7f52847d5 2003-02-25 Miguel de Icaza <[email protected]>
* class.cs (MemberBase.CheckParameters): Also check that the type
	is unmanaged if it is a pointer.

	* expression.cs (SizeOf.Resolve): Add location information.

	* statement.cs (Block.EmitMeta): Flag error (208) if a pointer to
	a managed type is declared.

svn path=/trunk/mcs/; revision=11983
2003-02-26 04:25:47 +00:00
Miguel de Icaza 12f5301d37 Add new test
svn path=/trunk/mcs/; revision=11982
2003-02-26 04:10:34 +00:00
Per Arneng 832b6c0b5e Content-Type:..; charset= is now set to the correct value
svn path=/trunk/mcs/; revision=11981
2003-02-26 04:09:55 +00:00
Gonzalo Paniagua Javier 6d7b6e68dd 2003-02-26 Gonzalo Paniagua Javier <[email protected]>
* MemoryStream.cs:
	(ToArray): return only the portion of the buffer that contains
	data, not the whole buffer. (note: this makes XmlDocument.Load work
	again with documents that have a <?xml without the 'encoding'
	attribute, which makes gtk-sharp generator work again).

svn path=/trunk/mcs/; revision=11979
2003-02-26 03:40:35 +00:00
Miguel de Icaza 99d0fb74a3 Add new error
svn path=/trunk/mcs/; revision=11978
2003-02-26 03:37:58 +00:00
Miguel de Icaza e97d71bc98 2003-02-25 Miguel de Icaza <[email protected]>
* class.cs: Very sad.  Am backing out the speed up changes
	introduced by the ArrayList -> Array in the TypeContainer, as they
	were not actually that much faster, and introduced a bug (no error
	reports on duplicated methods).

svn path=/trunk/mcs/; revision=11977
2003-02-26 03:13:08 +00:00
Miguel de Icaza a74e0bd2c6 Improve test
svn path=/trunk/mcs/; revision=11975
2003-02-26 02:13:30 +00:00
Miguel de Icaza cbe579519f Test the right variable, avoid a crash
svn path=/trunk/mcs/; revision=11974
2003-02-26 02:13:07 +00:00
Miguel de Icaza 2ae1fd351e Another change. Use target.Resolve instead of LValueResolve.
Although we are resolving for LValues, we will let the Assign code
	take care of that (it will be called again from Resolve).  This
	basically allows code like this:

	class X { X operator + (X x, object o) {} X this [int idx] { get; set; } }
	class Y { void A (X x) { x [0] += o; }

	The problem was that the indexer was trying to resolve for
	set_Item (idx, object o) and never finding one.  The real set_Item
	was set_Item (idx, X).  By delaying the process we get the right
	semantics.

	Fixes bug: 36505

svn path=/trunk/mcs/; revision=11973
2003-02-26 02:06:46 +00:00
Miguel de Icaza eba56b9643 2003-02-25 Miguel de Icaza <[email protected]>
* assign.cs (CompoundAssign.DoLResolve): Resolve the original
	source first, this will guarantee that we have a valid expression
	before calling in lower levels functions that will require a
	resolved object.  Then use this original_source in the
	target.ResolveLValue instead of the original source that was
	passed to us.

svn path=/trunk/mcs/; revision=11972
2003-02-25 22:46:33 +00:00
Miguel de Icaza 1af72c5084 Add new test
svn path=/trunk/mcs/; revision=11971
2003-02-25 22:45:04 +00:00
Miguel de Icaza 9f7b2c132a Fix
svn path=/trunk/mcs/; revision=11970
2003-02-25 22:29:35 +00:00
Miguel de Icaza 2fbf90ef01 2003-02-25 Miguel de Icaza <[email protected]>
* makefile (all): Make it so that doing `make' will run the
	default tests depending on Windows/Linux.

svn path=/trunk/mcs/; revision=11969
2003-02-25 22:25:38 +00:00
Lluis Sanchez 3accd72948 * BinaryFormatter.cs: Implemented support for binders.
* MessageFormatter.cs: Implemented support for binders.
    * ObjectReader.cs: Implemented support for binders.

svn path=/trunk/mcs/; revision=11968
2003-02-25 20:31:53 +00:00
Miguel de Icaza d783a927f4 update man page
svn path=/trunk/mono/; revision=11967
2003-02-25 17:34:19 +00:00
Dick Porter 7217ade08e 2003-02-25 Dick Porter <[email protected]>
* shared.c (_wapi_shm_attach): Return a failure code on system
	call errors, rather than exiting.

svn path=/trunk/mono/; revision=11966
2003-02-25 17:26:54 +00:00
Miguel de Icaza 2ed502499e Flush
svn path=/trunk/mono/; revision=11965
2003-02-25 17:00:08 +00:00
Alan Tam 8b911be307 2003-02-25 Alan Tam <[email protected]>
* DbDataAdapter.cs: Added support for filling when schema is present.
        Fixed incorrect behavior when ColumnMapping is present
        when more than one fields have the same name. Implemented Dispose.
        Fixed error when there is no ColumnMapping at all.
        Still have some problems in finding the correct TableMapping
        because the SourceTable name is not present in BuildSchema

svn path=/trunk/mcs/; revision=11963
2003-02-25 16:19:29 +00:00
Rafael Teixeira 61b1685675 bits
svn path=/trunk/mcs/; revision=11962
2003-02-25 15:52:06 +00:00
Nick Drochak 2352aa0cf1 2003-02-25 Nick Drochak <[email protected]>
* File.cs (GetCreationTime): Throw proper execption when path is not
	found.

svn path=/trunk/mcs/; revision=11960
2003-02-25 14:40:10 +00:00
Nick Drochak f55ca996ab 2003-02-25 Nick Drochak <[email protected]>
* TimeSpanTest.cs: Isolate test for Negate bug. Same as previous
	'checked' bug in ByteTest?

svn path=/trunk/mcs/; revision=11956
2003-02-25 14:02:33 +00:00
Paolo Molaro 2c5bcddb86 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <[email protected]>
* MemoryStream.cs: make it behave sanely when the stream is
	incrementally expanded.

svn path=/trunk/mcs/; revision=11953
2003-02-25 11:00:02 +00:00
Paolo Molaro f80ac8be85 Tue Feb 25 10:56:16 CET 2003 Paolo Molaro <[email protected]>
* reflection.c: handle custom attributes for types and members
	created with Reflection.Emit (bug#38422).

svn path=/trunk/mono/; revision=11947
2003-02-25 10:00:58 +00:00
Alan Tam db03364a32 2003-02-25 Alan Tam <[email protected]>
* DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
        * DataRelationCollection.cs: Implemented AddRange and Contains.
        Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
        Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
        Reimplemented most Add methods to eliminate duplicated checks.
        Centralized RelationName generation procedure in GetNextDefaultRelationName.

svn path=/trunk/mcs/; revision=11945
2003-02-25 08:48:29 +00:00
Alan Tam 5f12cfc8d7 2003-02-25 Alan Tam <[email protected]>
* DataColumn.cs: Fixed wrong storage representation of Expression
        (using empty string instead of null) so that ToString() returns nothing.
        * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
        auto column naming now works as expected. Reimplemented some Add methods
        to eliminate code duplication.

svn path=/trunk/mcs/; revision=11943
2003-02-25 07:25:05 +00:00
Miguel de Icaza 07feaea8d0 Add
svn path=/trunk/mono/; revision=11939
2003-02-24 22:13:22 +00:00
Gonzalo Paniagua Javier 6ca7b36d86 2003-02-24 Gonzalo Paniagua Javier <[email protected]>
* Attribute.cs:
	* MonoCustomAttrs.cs: fix for the regression test failure (see bug
	#38238).

	* IntPtr.cs: added serialization .ctor

svn path=/trunk/mcs/; revision=11937
2003-02-24 21:38:45 +00:00
Alan Tam d4a29fe97a 2003-02-24 Aleksey Demakov <[email protected]>
* DbDataAdapter.cs: The original code might pass a null DataTableMapping
	value which is then used to create a RowUpdatingEventArgs
	instance. So RowUpdatingEvent handler (for instance
	CommandBuilder) could get null DataTableMapping which
	might be unexpected. The patch makes sure that a non-null
	DataTableMapping is passed.

svn path=/trunk/mcs/; revision=11930
2003-02-24 17:47:28 +00:00
Gonzalo Paniagua Javier bf9ad10d34 2003-02-24 Gonzalo Paniagua Javier <[email protected]>
* OracleMonthSpan.cs: fixed compilation.

svn path=/trunk/mcs/; revision=11929
2003-02-24 16:51:17 +00:00
Peter Williams f4ad42ac18 2003-02-23 Peter Williams <[email protected]>
* makefile.gnu (all): Take two.

svn path=/trunk/mcs/; revision=11915
2003-02-24 04:38:04 +00:00
Miguel de Icaza 67ff9f4b28 Patches from Daniel Campos
svn path=/trunk/mcs/; revision=11914
2003-02-24 03:39:13 +00:00
Miguel de Icaza e11a99439c too late
svn path=/trunk/mcs/; revision=11912
2003-02-24 01:07:26 +00:00
Miguel de Icaza e6522fa2d6 Add NEWS file
svn path=/trunk/mono/; revision=11911
2003-02-24 01:07:08 +00:00
Miguel de Icaza 5694aa2301 Update update
svn path=/trunk/mono/; revision=11910
2003-02-24 01:06:27 +00:00
Duncan Mak 8c0cd7c8bc Add
svn path=/trunk/mcs/; revision=11908
2003-02-24 00:08:31 +00:00
Miguel de Icaza 4f056fd1c0 chain
svn path=/trunk/mcs/; revision=11907
2003-02-23 23:53:22 +00:00
Miguel de Icaza f58722a26e Remove all target, because that cancels the creation of Mono.PEToolkit
svn path=/trunk/mcs/; revision=11906
2003-02-23 23:51:22 +00:00
Miguel de Icaza 73cab5d584 Add System.Security
svn path=/trunk/mcs/; revision=11905
2003-02-23 23:36:07 +00:00
Duncan Mak 6a0fb29045 Add to the distro
svn path=/trunk/mono/; revision=11903
2003-02-23 23:34:54 +00:00
Duncan Mak 8433f6ba46 Add alpha
svn path=/trunk/mono/; revision=11902
2003-02-23 23:31:59 +00:00
Per Arneng da2c60f5b8 Changed a comment to more descibing
svn path=/trunk/mcs/; revision=11901
2003-02-23 21:27:30 +00:00
Per Arneng 9ae50db590 Exception throwing cleanup
svn path=/trunk/mcs/; revision=11900
2003-02-23 21:22:18 +00:00
Per Arneng d7e625fc8f Updated with info that SmtMail.Send is working
svn path=/trunk/mcs/; revision=11899
2003-02-23 20:52:30 +00:00
Peter Williams 8b65ff0319 2003-02-23 Peter Williams <[email protected]>
* makefile.gnu (all): Give this dependencies
	so that we don't rebuild every time.

svn path=/trunk/mcs/; revision=11898
2003-02-23 20:49:01 +00:00
Per Arneng f64332a418 Added my name to author list :)
svn path=/trunk/mcs/; revision=11897
2003-02-23 20:44:27 +00:00
Rafael Teixeira 8381e73ac4 Dummy methods and fields
svn path=/trunk/mcs/; revision=11895
2003-02-23 20:32:42 +00:00
Rafael Teixeira fc50e037ad Dummy version of needed class ServiceBase added
svn path=/trunk/mcs/; revision=11893
2003-02-23 20:21:42 +00:00
Rafael Teixeira 5f9d7602b5 some forgotten bits
svn path=/trunk/mcs/; revision=11891
2003-02-23 20:07:24 +00:00
Rafael Teixeira ac6d4cbb65 oops: mispelling corrected
svn path=/trunk/mcs/; revision=11890
2003-02-23 19:58:04 +00:00
Rafael Teixeira 3346309151 head -n 2 ChangeLog
svn path=/trunk/mcs/; revision=11889
2003-02-23 19:53:51 +00:00
Per Arneng cd75d407a5 Added the new System.Web.Mail files
svn path=/trunk/mcs/; revision=11888
2003-02-23 19:52:27 +00:00
Per Arneng b31cffbf1f SmtpMail.Send is now working but needs testing
svn path=/trunk/mcs/; revision=11887
2003-02-23 19:51:36 +00:00
Per Arneng 97a1dd514f SMTP Internal classes added to make SmtpMail.Send work
svn path=/trunk/mcs/; revision=11885
2003-02-23 19:50:45 +00:00
Rafael Teixeira aa46a5386a Just a local makefile, to facilitate MonoQLE
svn path=/trunk/mcs/; revision=11884
2003-02-23 19:39:14 +00:00
Ravi Pratap M 4d45418b34 Add test-177 to the right category
svn path=/trunk/mcs/; revision=11883
2003-02-23 19:38:02 +00:00
Jackson Harper 186273f3ed * CompilerError.cs: Use fields not properties, and remove unneeded finalizer
svn path=/trunk/mcs/; revision=11882
2003-02-23 19:27:24 +00:00
Rafael Teixeira 42a2078151 some bits that were lacking
svn path=/trunk/mcs/; revision=11881
2003-02-23 19:26:43 +00:00
Martin Baulig 41e28d2465 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Override this and set ec.CurrentBlock
	while calling DoEmit ().

	* codegen.cs (EmitContext.Mark): Don't mark locations in other
	source files; if you use the #line directive inside a method, the
	compiler stops emitting line numbers for the debugger until it
	reaches the end of the method or another #line directive which
	restores the original file.

svn path=/trunk/mcs/; revision=11880
2003-02-23 19:17:40 +00:00
Rafael Teixeira 05843aee0c With it, we can make locally, wont change dirs list in mcs/class makefile for now
svn path=/trunk/mcs/; revision=11879
2003-02-23 19:13:11 +00:00
Miguel de Icaza 96aceda235 Add documentation missing of tests, and add new test.
svn path=/trunk/mcs/; revision=11878
2003-02-23 19:08:21 +00:00
Martin Baulig 10ae2b144f Removed two Console.WriteLine's.
svn path=/trunk/mcs/; revision=11877
2003-02-23 18:42:39 +00:00
Rafael Teixeira ab47d60645 I still have to learn lots about CVS
svn path=/trunk/mcs/; revision=11876
2003-02-23 18:41:37 +00:00
Martin Baulig c015d3a3d7 2003-02-23 Martin Baulig <[email protected]>
* test-185.cs: New test for bug #37708.

svn path=/trunk/mcs/; revision=11875
2003-02-23 18:39:31 +00:00
Martin Baulig a32e55fb66 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #37708.

svn path=/trunk/mcs/; revision=11874
2003-02-23 18:38:52 +00:00
Rafael Teixeira b056e2889a AHEM: doing it again, using mono directories rules this time
svn path=/trunk/mcs/; revision=11873
2003-02-23 18:36:52 +00:00
Rafael Teixeira dcdb15a41e bringing System.Messaging to Mono (from MonoQLE)
svn path=/trunk/mcs/; revision=11872
2003-02-23 18:25:03 +00:00
Gaurav Vaish ba9aa7713a 2003-02-23 Gaurav Vaish <gvaish_mono AT lycos.com>
* CustomValidator.cs     : Completed.
	* DeviceSpecific.cs      : Initial implementation.
	* DeviceSpecificChoiceTemplateContainer.cs
	                         : Completed.
	* DeviceSpecificChoiceCollection.cs
	                         : Completed.
	* DeviceSpecificChoice.cs: Initial implementation.

svn path=/trunk/mcs/; revision=11871
2003-02-23 16:11:52 +00:00
Gaurav Vaish d05bf9fbc2 2003-02-23 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=11870
2003-02-23 16:02:23 +00:00
Martin Baulig 961235859c Make this compile.
svn path=/trunk/mcs/; revision=11869
2003-02-23 13:30:34 +00:00
Martin Baulig 03935d4b06 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (Block.AddChildVariableNames): We need to call this
	recursively, not just for our immediate children.

svn path=/trunk/mcs/; revision=11868
2003-02-23 13:27:54 +00:00
Martin Baulig e038afb2a6 2003-02-23 Martin Baulig <[email protected]>
* class.cs (Event.Define): Always make the field private, like csc does.

	* typemanager.cs (TypeManager.RealMemberLookup): Make events
	actually work, fixes bug #37521.

svn path=/trunk/mcs/; revision=11867
2003-02-23 13:20:30 +00:00
Martin Baulig bd05db97e6 2003-02-23 Martin Baulig <[email protected]>
When adding any tests here, please do also add them to the
	README.tests !

	The following tests are still missing:

	test-176 test-177 test-179 test-180 test-181 test-182 test-183
	test-184

svn path=/trunk/mcs/; revision=11864
2003-02-23 11:45:23 +00:00
Gaurav Vaish 4aad18b2f3 2003-02-23 Gaurav Vaish <gvaish_mono AT lycos.com>
* Calendar.cs            : Completed.
* BaseValidator.cs       : Completed.
* CompareValidator.cs    : Completed.

svn path=/trunk/mcs/; revision=11859
2003-02-23 07:42:11 +00:00
Miguel de Icaza 1d65971a97 2003-02-23 Miguel de Icaza <[email protected]>
* delegate.cs: When creating the various temporary "Parameters"
	classes, make sure that we call the ComputeAndDefineParameterTypes
	on those new parameters (just like we do with the formal ones), to
	allow them to be resolved in the context of the DeclSpace.

	This fixes the bug that Dick observed in Bugzilla #38530.

svn path=/trunk/mcs/; revision=11857
2003-02-23 06:41:56 +00:00
Jackson Harper c81cda6e5c ChangeLog
svn path=/trunk/mcs/; revision=11856
2003-02-23 01:30:13 +00:00
Jackson Harper 8e7f1191fb * Image.cs: Write CorHeader
svn path=/trunk/mcs/; revision=11855
2003-02-23 01:29:38 +00:00
Miguel de Icaza c4c3d949e9 Add System.Security
svn path=/trunk/mono/; revision=11854
2003-02-23 00:03:31 +00:00
Jackson Harper 0b7e7031c5 * Image.cs: Write Sections
svn path=/trunk/mcs/; revision=11853
2003-02-23 00:03:30 +00:00
Miguel de Icaza 4b6f996569 Add to the Linux build
svn path=/trunk/mcs/; revision=11852
2003-02-23 00:01:47 +00:00
Miguel de Icaza 5b604db708 Add a small explanatory comment
svn path=/trunk/mcs/; revision=11851
2003-02-22 23:16:57 +00:00
Miguel de Icaza d484fcef9b 2003-02-22 Miguel de Icaza <[email protected]>
* expression.cs (ResolveMemberAccess): When resolving a constant,
	do not attempt to pull a constant if the value was not able to
	generate a valid constant.

	* const.cs (LookupConstantValue): Do not report more errors than required.

svn path=/trunk/mcs/; revision=11848
2003-02-22 21:58:09 +00:00
Miguel de Icaza d9f8cc931d Commit on behalf of Mike Kestner
svn path=/trunk/mono/; revision=11847
2003-02-22 20:59:58 +00:00
Rafael Teixeira 5884cfe9e6 2003/02/22 Rafael Teixeira <[email protected]>
* class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore, 
				 because it was expecting a fully qualified class name. 
				 We now also test the name passed prepended by the rootnamespace.
	* class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
				 because it hides inherited member `PropertyBase.Emit'", by making it virtual
				 in PropertyBase and override in Property.
	* makefile.gnu : test and test-gtk targets now depend on mbas.exe

svn path=/trunk/mcs/; revision=11845
2003-02-22 20:04:41 +00:00
Martin Baulig c2fc4ec6c3 2003-02-22 Martin Baulig <[email protected]>
* makefile(s): Added `MCS' and `MCS_FLAGS' variables.

svn path=/trunk/mcs/; revision=11844
2003-02-22 19:48:48 +00:00
Rafael Teixeira e63234c20f Spurious text in Options.cs, was stopping compilation. Removed...
svn path=/trunk/mcs/; revision=11841
2003-02-22 18:52:55 +00:00
Zoltan Varga a525556b38 2003-02-22 Zoltan Varga <[email protected]>
* reflection.c: define RTSpecialName automatically for constructors for
	compatibility with MS.NET.

	* reflection.c (mono_reflection_create_runtime_class): initialize
	nested_in field of dynamically created classes.

svn path=/trunk/mono/; revision=11840
2003-02-22 18:45:50 +00:00
Jackson Harper eeb6dc142d * Section.cs: Add method for writing Sections
svn path=/trunk/mcs/; revision=11837
2003-02-22 17:37:48 +00:00
Martin Baulig 4022942513 2003-02-22 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Incremented version number.

svn path=/trunk/mono/; revision=11836
2003-02-22 17:10:26 +00:00
Martin Baulig 677ca39c5b 2003-02-22 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Incremented version number.

svn path=/trunk/mcs/; revision=11835
2003-02-22 17:09:06 +00:00
Martin Baulig d4d4e18a45 .cvsignore ......
svn path=/trunk/mcs/; revision=11834
2003-02-22 17:08:13 +00:00
Martin Baulig fb6b37aaa6 2003-02-22 Martin Baulig <[email protected]>
* library.make: Pass `MCS_FLAGS' to MCS.

svn path=/trunk/mcs/; revision=11833
2003-02-22 17:04:47 +00:00
Martin Baulig aaaac0ba68 2003-02-22 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.FindMethod): Fixed a bug.
	(MonoSymbolFile.MethodLookup): New method.

svn path=/trunk/mcs/; revision=11832
2003-02-22 17:03:22 +00:00
Jackson Harper 91f02c5320 * Driver.cs: Add version option, fix bug that allowed -- switches to be invoked with /-
svn path=/trunk/mcs/; revision=11831
2003-02-22 16:25:32 +00:00
Alexandre Pigolkine e1eaf58f4b few test files deletes, new will be added
svn path=/trunk/mcs/; revision=11829
2003-02-22 09:20:52 +00:00
Tim Coleman 842cca7222 2003-02-21 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleDateTime.cs:
        * System.Data.OracleClient/OracleInfoMessageEventArgs.cs:
        * System.Data.OracleClient/OracleInfoMessageEventHandler.cs:
        * System.Data.OracleClient/OracleMonthSpan.cs:
        * System.Data.OracleClient/OraclePermission.cs:
        * System.Data.OracleClient/OraclePermissionAttribute.cs:
        * System.Data.OracleClient/OracleTimeSpan.cs:
        * System.Data.OracleClient.Oci/IOciDescriptorHandle.cs:
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
                New classes added.  Some based on .NET docs,
                others (internal) based on getting some LOB
                support (doesn't actually work yet).
        * list:
                Add new files
        * System.Data.OracleClient/OracleBFile.cs:
        * System.Data.OracleClient/OracleBinary.cs:
        * System.Data.OracleClient/OracleLob.cs:
        * System.Data.OracleClient/OracleNumber.cs:
        * System.Data.OracleClient/OracleString.cs:
                Change handling of NULL object based on new
                discovery.
        * System.Data.OracleClient/OracleCommand.cs:
        * System.Data.OracleClient/OracleDataReader.cs:
                Typo fix.
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
        * System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
                Add some code to handle LOBs.  Still more to
                come.
        * Test/TestOracleClient.cs:
                New test for LOB added.

svn path=/trunk/mcs/; revision=11828
2003-02-22 08:53:02 +00:00
Jackson Harper 9aa0e78f63 * AssemblyInfo.cs: Add file
* makefile: Add AssemblyInfo to build
       * makefile.gnu: Add AssemblyInfo to build

svn path=/trunk/mcs/; revision=11826
2003-02-22 05:45:03 +00:00
Jackson Harper 524bab53fa * Section.cs: Add Method to write Headers
svn path=/trunk/mcs/; revision=11825
2003-02-22 05:24:32 +00:00
Jackson Harper 027fda3a99 * Section.cs: Make Read method safe
svn path=/trunk/mcs/; revision=11822
2003-02-22 03:24:35 +00:00
Miguel de Icaza 8cbfe36eab Adding this patch on behalf of Patrik, as he does not have CVS access,
and this in fact fixes appdomain2 and remoting4 tests.

svn path=/trunk/mono/; revision=11819
2003-02-21 23:45:03 +00:00
Alexandre Pigolkine ba3d71a09e implementation added
svn path=/trunk/mcs/; revision=11817
2003-02-21 22:54:41 +00:00
Alexandre Pigolkine 24d300a580 small changes to be able to run SWF apps
svn path=/trunk/mcs/; revision=11815
2003-02-21 22:48:53 +00:00
Zoltan Varga b309a721a2 2003-02-21 Zoltan Varga <[email protected]>
* object.h icall.c process.c: fix warnings.

svn path=/trunk/mono/; revision=11814
2003-02-21 22:42:16 +00:00
Zoltan Varga f172b9782a 2003-02-21 Zoltan Varga <[email protected]>
* appdomain.h appdomain.c:
	(mono_domain_try_type_resolve): split the
	name_or_tb argument into a name and a tb argument.
	(mono_domain_has_type_resolve): new function to check whenever the
	application has registered a TypeResolve event handler.

	* icall.c reflection.h reflection.c: move the type resolve logic into
	mono_reflection_get_type () so it will be invoked when
	Assembly::GetType () is called.

	* reflection.c:
	(mono_reflection_get_type): renamed to get_type_internal.
	(mono_reflection_get_type): fixed type name generation so it works
	for nested types too.
	(mono_reflection_get_type): call has_type_resolve () to avoid the
	costly type name generation if there is no resolve event handler.

svn path=/trunk/mono/; revision=11813
2003-02-21 22:25:46 +00:00
Miguel de Icaza 852c8a4c09 Add Ilasm to the distro
svn path=/trunk/mono/; revision=11812
2003-02-21 22:24:02 +00:00
Miguel de Icaza b4d16bcbae flush docs
svn path=/trunk/mono/; revision=11811
2003-02-21 22:05:07 +00:00
Miguel de Icaza cf02ffd0b0 Just a small change
svn path=/trunk/mono/; revision=11810
2003-02-21 22:04:49 +00:00
Dick Porter 311cbb1af3 2003-02-21 Dick Porter <[email protected]>
* processes.c (GetCurrentProcessId): Use the current process
	handle to return the process ID, as getpid() is unreliable
	(linuxthreads gives each thread a different pid).  Fixes bug
	37550.

svn path=/trunk/mono/; revision=11804
2003-02-21 13:22:10 +00:00
Dick Porter 476a6daeab 2003-02-21 Dick Porter <[email protected]>
* FileStream.cs: Use locks around buffer manipulations.  Fixes bug
	32344

svn path=/trunk/mcs/; revision=11803
2003-02-21 12:22:59 +00:00
Dick Porter b52cdf8dfa 2003-02-21 Dick Porter <[email protected]>
* io.c (FindNextFile): Skip over dangling symlinks.  Fixes bug
	34076.

svn path=/trunk/mono/; revision=11802
2003-02-21 12:20:47 +00:00
Miguel de Icaza 6a5eb47932 Add linker flags to the mono.pc.in to include the -lpthread in a pkg-config
invocation for the Mono runtime.

Dick and Paolo reported:

	pthread remappes the sigrtmin signal, so it needs to be loaded from the start of the lifetime of the app

svn path=/trunk/mono/; revision=11801
2003-02-21 11:28:10 +00:00
Paolo Molaro 94a679522d Fri Feb 21 11:36:57 CET 2003 Paolo Molaro <[email protected]>
* class.c, image.c: load exported types from file references.

svn path=/trunk/mono/; revision=11800
2003-02-21 10:41:33 +00:00
Jackson Harper 28e6515ea5 * Section.cs: Convert Header to a class and lowers it accesability.
svn path=/trunk/mcs/; revision=11799
2003-02-21 08:30:51 +00:00
Jackson Harper 24ec98a874 ChangeLog
svn path=/trunk/mcs/; revision=11798
2003-02-21 08:25:30 +00:00
Jackson Harper a3f2cdadc7 * MDStream.cs: Make Header a class and use a Read method to load it. Because it is no longer
being loaded by a utility method I can lower some accesibility levels.

svn path=/trunk/mcs/; revision=11797
2003-02-21 07:26:03 +00:00
Tim Coleman 0b62244267 2003-02-20 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleBFile.cs:
        * System.Data.OracleClient/OracleBinary.cs:
        * System.Data.OracleClient/OracleBoolean.cs:
        * System.Data.OracleClient/OracleLob.cs:
        * System.Data.OracleClient/OracleLobOpenMode.cs:
        * System.Data.OracleClient/OracleNumber.cs:
        * list:
                New class stubs added
        * System.Data.OracleClient/OracleCommand.cs:
        * System.Data.OracleClient/OracleDataReader.cs:
                Minor touch-ups
        * Test/TestOracleClient.cs:
                Add required Prepare () call in parameter test.

svn path=/trunk/mcs/; revision=11793
2003-02-21 04:50:08 +00:00
Nick Drochak 8267161d5e 2003/02/21 Nick Drochak <[email protected]>
* EnumTest.cs: Add test for bug 38452 (Parsing numeric enum values).

svn path=/trunk/mcs/; revision=11792
2003-02-21 03:52:05 +00:00
Nick Drochak e1f80efa82 Flush
svn path=/trunk/mcs/; revision=11789
2003-02-21 02:51:07 +00:00
Miguel de Icaza aab8ac62b5 Fix from Marcus Urban to bug #38452
svn path=/trunk/mcs/; revision=11788
2003-02-21 02:48:57 +00:00
Miguel de Icaza 9411f86182 Update news; Paolo and Gonzalo
svn path=/trunk/mono/; revision=11783
2003-02-20 19:49:44 +00:00
Dick Porter 5c113d5c22 Need to request optimisation on windows build to get "extern inline"
functions.

svn path=/trunk/mono/; revision=11778
2003-02-20 15:06:57 +00:00
Nick Drochak 353a8c5442 2003-02-20 Nick Drochak <[email protected]>
* ByteTest.cs: Isolate test for mcs 'checked' bug.

svn path=/trunk/mcs/; revision=11776
2003-02-20 10:36:28 +00:00
Nick Drochak ad5dfadf0c 2003-02-20 Nick Drochak <[email protected]>
* XslTransform.cs: Remove confusing and unused parameter.

svn path=/trunk/mcs/; revision=11775
2003-02-20 10:32:48 +00:00
Miguel de Icaza 8476e0b206 2003-02-01 Miguel de Icaza <[email protected]>
* Uri.cs (LocalPath): Local path should return un-escaped
	strings.  Patch from [email protected] (Thong (Tum) Nguyen)

svn path=/trunk/mcs/; revision=11773
2003-02-20 07:21:10 +00:00
Miguel de Icaza 77dd78f6a2 Just a comment
svn path=/trunk/mcs/; revision=11772
2003-02-20 07:20:31 +00:00
Miguel de Icaza 0f06dfdd00 Add new Microsoft.VisualC assembly
svn path=/trunk/mcs/; revision=11771
2003-02-20 07:17:00 +00:00
Miguel de Icaza a30e285862 Add Microsoft.VisualC makefile
svn path=/trunk/mcs/; revision=11770
2003-02-20 07:15:49 +00:00
Miguel de Icaza 38efc26107 2003-02-20 Alfonso Ali <[email protected]>
* CodeGenerator.cs: Generates the entry point method.

svn path=/trunk/mcs/; revision=11769
2003-02-20 07:03:25 +00:00
Sebastien Pouliot 74a87fcfc7 2003-02-19 Sebastien Pouliot <[email protected]>
* AllTests.cs: Removed. No more required with NUnit2.
	* makefile.gnu, security_linux_test.args: untested makefile
	* System.Security_test.build: Updated for NUnit2.

svn path=/trunk/mcs/; revision=11755
2003-02-20 02:08:43 +00:00
Sebastien Pouliot e357665885 2003-02-19 Sebastien Pouliot <[email protected]>
* All: Updated tests for NUnit2. Some big tests where splited in
	smaller ones.
	* XmlDsigC14NTransformTest.cs: New, but almost empty, test suite.
	* XmlDsigC14NWithCommentsTransformTest.cs: New, but almost empty,
	test suite.

svn path=/trunk/mcs/; revision=11751
2003-02-20 00:55:52 +00:00
Sebastien Pouliot 355327100c 2003-02-19 Sebastien Pouliot <[email protected]>
* All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
	will reflect reality).

svn path=/trunk/mcs/; revision=11750
2003-02-20 00:49:58 +00:00
Christopher Bockner 7738b02267 Added a describe function so that parameters can get their information from DB2.
svn path=/trunk/mcs/; revision=11748
2003-02-19 21:48:37 +00:00
Christopher Bockner bbf13e603c Added parameter Describe functionality.
svn path=/trunk/mcs/; revision=11746
2003-02-19 21:47:02 +00:00
Ville Palo 277c94c8c3 2003-02-19 Ville Palo <[email protected]>
* DataTable.cs: DataTable.CaseSensitive follows parent
	DataSet.CaseSensitive property if DataTable.CaseSensitive has never
	been changed directly from DataTable

svn path=/trunk/mcs/; revision=11744
2003-02-19 19:26:48 +00:00
Gonzalo Paniagua Javier ffd5f68616 Return the default context when no context set. Thanks to Patrik.
svn path=/trunk/mcs/; revision=11740
2003-02-19 18:26:06 +00:00
Ville Palo 6822d1d620 2003-02-19 Ville Palo <[email protected]>
* DataSet.cs: When CaseSensitive property is changed all of the Tables
	of DataSet have to change too

svn path=/trunk/mcs/; revision=11739
2003-02-19 18:23:43 +00:00
Gonzalo Paniagua Javier 3f904f5033 added 'clean' target
svn path=/trunk/mcs/; revision=11738
2003-02-19 17:52:56 +00:00
Gonzalo Paniagua Javier 81f0febea2 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* MethodCall.cs:
	(MethodBase): resolve the method if it's not already done.

svn path=/trunk/mcs/; revision=11737
2003-02-19 17:01:54 +00:00
Gonzalo Paniagua Javier 8b51478ae5 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: check for null in Unload and changed method name.

svn path=/trunk/mcs/; revision=11736
2003-02-19 16:53:02 +00:00
Gonzalo Paniagua Javier 4a1fb62925 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* Thread.cs: implemented CurrentContext.

svn path=/trunk/mcs/; revision=11735
2003-02-19 16:49:29 +00:00
Miguel de Icaza d89a7fb835 Flush
svn path=/trunk/mono/; revision=11734
2003-02-19 16:48:29 +00:00
Gonzalo Paniagua Javier a9d3913a6c 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* Latin1Encoding.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=11733
2003-02-19 16:47:51 +00:00
Miguel de Icaza a405284d0e Pending changes
svn path=/trunk/mono/; revision=11732
2003-02-19 16:40:36 +00:00
Tim Coleman f0e7f36bad 2003-02-19 Tim Coleman <[email protected]>
* oracle: update oracle status page

svn path=/trunk/mono/; revision=11731
2003-02-19 16:36:34 +00:00
Gonzalo Paniagua Javier 92dfad552e 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* TargetInvocationException.cs: added serialization ctor.

svn path=/trunk/mcs/; revision=11730
2003-02-19 16:12:10 +00:00
Paolo Molaro 8a93fa7496 Fix field placement in MonoVTable.
svn path=/trunk/mono/; revision=11729
2003-02-19 14:16:12 +00:00
Rafael Teixeira 610816668b 2003/02/19 Rafael Teixeira <[email protected]>
* mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
	  by renaming the one using brackets to bracketed_rank_specifier

svn path=/trunk/mcs/; revision=11728
2003-02-19 13:44:45 +00:00
Lluis Sanchez b65f8ff197 * RealProxy.cs: Changed constructor to allow only ClientIdentity instances.
* RemotingProxy.cs: Added new constructor for client activated objects.
	  Added method that handles construction messages.

svn path=/trunk/mcs/; revision=11727
2003-02-19 12:39:39 +00:00
Lluis Sanchez 5c132ca21d * IInternalMessage.cs: Added. Provides some useful methods for method messages.
* ServerContextTerminatorSink.cs: Added support for construction messages.
	* MethodCall.cs: Implemented serialization support. Added support for IInternalMessage.
	* MethodDictionary.cs: Added support for IInternalMessage.
	* MethodResponse.cs: Added serialization support. Added support for IInternalMessage.
	* MonoMethodMessage.cs: Added support for IInternalMessage.
	* ReturnMessage.cs: Added support for IInternalMessage.
	* ClientContextTerminatorSink.cs: Added.
	* ConstructionCall.cs: Added.
	* ConstructionCallDictionary.cs: Added.
	* ConstructionResponse.cs: Added.
	* EnvoyTerminatorSink.cs: Added.

svn path=/trunk/mcs/; revision=11726
2003-02-19 12:38:28 +00:00
Lluis Sanchez f929ec50c4 * Contexts.cs : Added methods for getting the client context sink chain and the
envoy sink chain. Also added stub methods for context switch and creation.
	* CrossContextChannel.cs : Added.

svn path=/trunk/mcs/; revision=11725
2003-02-19 12:37:48 +00:00
Lluis Sanchez c99ad0afa1 * ChannelServices.cs: Added static property for getting the CrossContextChannel.
svn path=/trunk/mcs/; revision=11724
2003-02-19 12:37:19 +00:00
Lluis Sanchez 9304566e82 * RemoteActivator.cs: Instance creation implemented.
* ActivationServices.cs: Added.

svn path=/trunk/mcs/; revision=11723
2003-02-19 12:36:33 +00:00
Lluis Sanchez 367bc2553f * Identity.cs: Added envoy message sink.
* ObjRef.cs: Implemented EnvoySink property
	* RemotingConfiguration.cs: now enables proxy creation for types registered
	  as ClientActivatedType or WellKnownClientType.
	* RemotingServices.cs: Added support for ContextBoundObjects.
	  Added methods for creating proxies.
	* ServerIdentity.cs: Added initialization of envoy sink.
	* EnvoyInfo.cs: Added. It is an implementation on IEnvoyInfo.

svn path=/trunk/mcs/; revision=11722
2003-02-19 12:36:01 +00:00
Lluis Sanchez 1d01e9761b * appdomain.h: Added in MonoDomain a couple of MonoMethod* variables
used to cache the managed methods used to create proxies and make
	  remote invocation of methods.
	* class.h: Added in MonoVTable a flag to indicate that a class needs
	  to be remotely created.
	* object.c: Modified the method mono_class_vtable(). It now initializes
	  the remote flag of the vtable. Modified mono_object_new_specific(),
	  so now it checks the remote flag.
	* icall.c: Added a couple of internal methods, one for enabling instance
	  creation interception for a type, and one for creating objects bypassing
	  the remote check.

svn path=/trunk/mono/; revision=11721
2003-02-19 12:32:54 +00:00
Daniel Morgan 65225813d4 2003-02-19 Daniel Morgan <[email protected]>
* InternalDataCollectionBase.cs: revert change to field
	to fix build

	* DataViewManager.cs
	* DataView.cs
	* DataTable.cs
	* DataSet.cs: commented use of DesignerAttribute
	because it broke the build.  According to MSDN,
	DesignerAttribute does not have a zero-argument constructor

svn path=/trunk/mcs/; revision=11716
2003-02-19 07:06:50 +00:00
Tim Coleman 7aa6feb8b4 2003-02-18 Tim Coleman <[email protected]>
* System.Data.OracleClient/OciBindHandle.cs:
        * list:
                Add new class
        * System.Data.OracleClient/OracleCommand.cs:
                Add transaction logic for rollback/commit,
                attaching to oracle service context, and a
                couple of test cases.
                Add Parameter handling
        * System.Data.OracleClient/OracleDataReader.cs:
                Change GetValue call
        * System.Data.OracleClient/OracleParameter.cs:
                Make this work
        * System.Data.OracleClient/OracleType.cs:
                Add values to enum
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Add GetValue call which is used by data reader
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                Add parameter logic
        * Test/TestOracleClient.cs:
                Add some new test cases.

svn path=/trunk/mcs/; revision=11709
2003-02-19 02:46:22 +00:00
Miguel de Icaza 06d6192295 2003-02-18 Miguel de Icaza <[email protected]>
* class.cs: Changed all the various members that can be part of a
	class from being an ArrayList to be an Array of the right type.
	During the DefineType type_list, interface_list, delegate_list and
	enum_list are turned into types, interfaces, delegates and enums
	arrays.

	And during the member population, indexer_list, event_list,
	constant_list, field_list, instance_constructor_list, method_list,
	operator_list and property_list are turned into their real arrays.

	Although we could probably perform this operation earlier, for
	good error reporting we need to keep the lists and remove the
	lists for longer than required.

	This optimization was triggered by Paolo profiling the compiler
	speed on the output of `gen-sample-program.pl' perl script.

	* decl.cs (DeclSpace.ResolveType): Set the ContainerType, so we do
	not crash in methods like MemberLookupFailed that use this field.

	This problem arises when the compiler fails to resolve a type
	during interface type definition for example.

svn path=/trunk/mcs/; revision=11708
2003-02-19 00:01:33 +00:00
Miguel de Icaza 20a2b89c9a Add another test file
svn path=/trunk/mcs/; revision=11707
2003-02-18 23:26:15 +00:00
Martin Baulig e80a798592 2003-02-18 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (monoSymbolFile.GetMethod): Added overloaded
	version which takes a MethodBase.

svn path=/trunk/mcs/; revision=11704
2003-02-18 19:43:56 +00:00
Martin Baulig 2dc8d4a396 2003-02-18 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetMethodToken): New method to get a
	method's metadata token.

svn path=/trunk/mcs/; revision=11703
2003-02-18 19:43:08 +00:00
Martin Baulig 56cacad31a 2003-02-18 Martin Baulig <[email protected]>
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetMethodToken):
	New interncall to get a method's metadata token.

	* icall.c ("System.Reflection.Assembly::MonoDebugger_GetMethodToken"):
	New interncall for the debugger.

svn path=/trunk/mono/; revision=11702
2003-02-18 19:42:04 +00:00
Martin Baulig 2e29242d2f Reflect latest API changes.
svn path=/trunk/mono/; revision=11701
2003-02-18 19:33:10 +00:00
Martin Baulig 45585130de 2003-02-18 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodIndexEntry): New public struct.

	* MonoSymbolFile.cs (MonoSymbolFile.GetMethodByToken): New method.

svn path=/trunk/mcs/; revision=11700
2003-02-18 19:32:12 +00:00
Atsushi Eno a2815032ab 2003-02-19 Atsushi Enomoto <[email protected]>
* XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
		and <documentation> elements. (patch by Peter Pentchev)
	* XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
		instead of XmlSchema. (patch by Peter Pentchev)

svn path=/trunk/mcs/; revision=11699
2003-02-18 18:17:45 +00:00
Gonzalo Paniagua Javier 20e4eb747e 2003-02-18 Gonzalo Paniagua Javier <[email protected]>
* MonoCustomAttrs.cs: fixed bug #38238.

svn path=/trunk/mcs/; revision=11698
2003-02-18 17:58:15 +00:00
Ville Palo e9fe7d0fd2 2003-02-18 Ville Palo <[email protected]>
* DataColumnCollectin.cs: Little fix for indexer and case sensitivity

svn path=/trunk/mcs/; revision=11697
2003-02-18 17:51:15 +00:00
Alan Tam 4de81b55de 2003-02-18 Alan Tam <[email protected]>
* list.unix (): Add DesignerCategoryAttribute.cs

svn path=/trunk/mcs/; revision=11695
2003-02-18 16:20:48 +00:00
Alan Tam 6f09056d0d 2003-02-18 Alan Tam <[email protected]>
* DataRow.cs: Implemented GetParentRow and GetParentRows.
	* DataSet.cs: Added stub for HasChanges, InferXmlSchema,
		      OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
		      RaisePropertyChanging.
	* DataTable.cs: Implemented NewRowArray.
	* DataTablePropertyDescriptor: Fixed a modifier.
	* InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
	* PropertyCollection.cs: Minor fix.
	* ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
	* DataRelation.cs DataRelationCollection.cs DataRow.cs
	* DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
	* DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
	* DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
	* ForeignKeyConstraint.cs InternalDataCollectionBase.cs
	* PropertyCollection.cs UniqueConstraint.cs

svn path=/trunk/mcs/; revision=11694
2003-02-18 15:09:50 +00:00
Dick Porter 3e5a13b411 2003-02-18 Dick Porter <[email protected]>
* FileStream.cs: Make FileMode.Append work, and check for Seeking
	back over old data (undocumented ms behaviour, throws an exception
	if you try).  Fixes bug 35975.

svn path=/trunk/mcs/; revision=11693
2003-02-18 15:01:16 +00:00
Jonathan Pryor 78c15f1e87 Fix Spelling Error.
Reported by Torsten Rendelmann <[email protected]>.

svn path=/trunk/mcs/; revision=11692
2003-02-18 11:52:28 +00:00
Rafael Teixeira 9ae5293e0f Marco comments included on mb-parser.jay
svn path=/trunk/mcs/; revision=11691
2003-02-18 11:40:53 +00:00
Dietmar Maurer cbb31f44a7 2003-02-18 Dietmar Maurer <[email protected]>
* class.c (mono_class_setup_vtable): allocate supertype array

svn path=/trunk/mono/; revision=11690
2003-02-18 11:04:56 +00:00
Martin Baulig cfbeb5ad01 2003-02-18 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.Assembly): New public property.

	* MonoSymbolTable.cs (MethodEntry.MethodBase): New public property.
	(MethodEntry.LocalTypes): New public variable.

svn path=/trunk/mcs/; revision=11688
2003-02-18 10:23:22 +00:00
Martin Baulig c36260bab4 2003-02-18 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Added `has_this'.

svn path=/trunk/mono/; revision=11686
2003-02-18 10:09:33 +00:00
Martin Baulig 29657db467 2003-02-18 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MethodEntry.ThisTypeIndex): Renamed to
	ClassTypeIndex; provide this for all methods so we can get the
	class of static methods.

svn path=/trunk/mcs/; revision=11685
2003-02-18 10:08:21 +00:00
Jackson Harper fd621002ea forgot ChangeLog savation ;-)
svn path=/trunk/mcs/; revision=11684
2003-02-18 07:21:56 +00:00
Jackson Harper a9e1f121ad * COFFHeader.cs: Convert to class, use Read and Write methods.
Compress some code
        * CheckSum.cs: Access Lfanew through property not field.
        * CorHeader.cs: Convert to class, use Read and Write methods.
        * DOSHeader.cs: Convert to class, use Read and Write methods,
	                and Init method for creating new DOSHeaders
        * DataDir.cs: Convert to class, use Read and Write methods.
        * Image.cs: Access lfanew through property, add Write method.
        * PEHeader.cs: Convert to class, use Read and Write methods.
        * PEUtils.cs: Add GetString method for converting byte pointers
	             to strings.
        * RVA.cs: Add Write method
        * Section.cs: Use PEUtils.GetString method instead of new string (byte*)
        * makefuile.gnu: Compile all the files I want compiled ;-)

svn path=/trunk/mcs/; revision=11683
2003-02-18 07:18:00 +00:00
Jackson Harper 5f7d8d9976 * MDStream.cs: Use PEUtils.GetString instead of new string (byte*)
* Rows.cs: Cast a bunch of enums to int when displaying
		   them otherwise an Exception is thrown.,
                   this is probably a bug but I haven't had
		   time to track it down yet.
        * StringHeap.cs: Use PEUtils.GetString instead of new string (byte*)

svn path=/trunk/mcs/; revision=11682
2003-02-18 07:16:00 +00:00
Jackson Harper 3035378a39 * mddump.cs: Comment out some stuff that does not need to be seen.
svn path=/trunk/mcs/; revision=11681
2003-02-18 07:14:37 +00:00
Miguel de Icaza e3d6141747 Fix
svn path=/trunk/mono/; revision=11680
2003-02-18 07:14:14 +00:00
Miguel de Icaza 3ef3b0d330 Fix
svn path=/trunk/mono/; revision=11679
2003-02-18 07:11:05 +00:00
Gaurav Vaish 594b7c1434 2003-02-18 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItem.cs      : SetIndex(int)       - Stubbed.
	* MobileListItemCollection.cs
	                         : Completed stub-ing.

svn path=/trunk/mcs/; revision=11678
2003-02-18 07:05:04 +00:00
Miguel de Icaza 4cc45d2981 Fix
svn path=/trunk/mono/; revision=11677
2003-02-18 07:04:11 +00:00
Miguel de Icaza dc7291f347 fix
svn path=/trunk/mono/; revision=11675
2003-02-18 06:56:40 +00:00
Miguel de Icaza d735ab1a60 Flush
svn path=/trunk/mono/; revision=11673
2003-02-18 06:46:42 +00:00
Daniel Morgan 6a75e837b8 2003-02-18 Daniel Morgan <[email protected]>
* DataTableRelationCollection.cs: removed file
	because its internally in file DataRelationCollection.cs

2003-02-18  Alan Tam <[email protected]>

	* DataRelation.cs: Added storage required to hold the relations.
	  Checking of constraints are not implemented yet.
	* DataRelationCollection.cs: Implemented DataSetRelationCollection
	  and DataTableRelationCollection, both as inner class of the abstract class
	  DataRelationCollection (like Microsoft although not documented in ECMA).
	* DataRow.cs: Implemented GetChildRows in a extremely slow way.
	  Need to implement caching like Microsoft later.
	* DataSet.cs: Uncomment DataRelation related members. Uncomment
	  code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
	  XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
	  GetSerializationData.
	* DataTable.cs: Uncomment DataRelation related members.

svn path=/trunk/mcs/; revision=11670
2003-02-18 06:14:54 +00:00
Tim Coleman a3aee1c872 2003-02-18 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleCommand.cs:
        * System.Data.OracleClient/OracleTransaction.cs:
        * System.Data.OracleClient.Oci/OciTransactionHandle.cs:
        * Test/TestOracleClient.cs:
                Add transaction logic for rollback/commit,
                attaching to oracle service context, and a
                couple of test cases.

svn path=/trunk/mcs/; revision=11669
2003-02-18 05:32:32 +00:00
Miguel de Icaza 376031a3fd remove fixed directive
svn path=/trunk/mono/; revision=11668
2003-02-18 05:26:21 +00:00
Tim Coleman c6d5150769 2003-02-17 Tim Coleman <[email protected]>
* Test/TestOracleClient.cs:
                Add OracleDataAdapter test.

svn path=/trunk/mcs/; revision=11667
2003-02-18 04:28:30 +00:00
Tim Coleman b4aff94ab6 2003-02-17 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleDataReader.cs:
		changes to make it work with the oracle data adapter

svn path=/trunk/mcs/; revision=11666
2003-02-18 04:17:02 +00:00
Tim Coleman c945e6ce62 2003-02-17 Tim Coleman <[email protected]>
* System.Data.OracleClient/OciDefineHandle.cs:
		Remove OCIDateGetDate

svn path=/trunk/mcs/; revision=11665
2003-02-18 03:42:39 +00:00
Tim Coleman c5fd5f9344 2003-02-17 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleDataAdapter.cs:
        * System.Data.OracleClient/OracleRowUpdatedEventArgs.cs:
        * System.Data.OracleClient/OracleRowUpdatedEventHandler.cs:
        * System.Data.OracleClient/OracleRowUpdatingEventArgs.cs:
        * System.Data.OracleClient/OracleRowUpdatingEventHandler.cs:
        * list:
                New classes added.
        * System.Data.OracleClient/OracleDataReader.cs:
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Add handling for number and date types in OracleDataReader
                GetValue

svn path=/trunk/mcs/; revision=11664
2003-02-18 03:31:43 +00:00
Lluis Sanchez 032fcf581e * MessageFormatter.cs: Fixed bug in serialization of arguments.
* ObjectReader.cs: Fixed bug causing array of structs to fail.

svn path=/trunk/mcs/; revision=11661
2003-02-18 00:51:52 +00:00
Lluis Sanchez a7a4e09ae6 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
not correctly updated by the final fixup.

svn path=/trunk/mcs/; revision=11660
2003-02-18 00:51:24 +00:00
Gonzalo Paniagua Javier 9c96dc9de2 2003-02-18 Gonzalo Paniagua Javier <[email protected]>
* XmlDocument.cs:
	(Load (string)): hack to workaround some issues with Uri.Parse. Once
	Parse is fixed, remove the hack.

svn path=/trunk/mcs/; revision=11659
2003-02-18 00:46:26 +00:00
Miguel de Icaza ca9e6be887 Flush
svn path=/trunk/mono/; revision=11654
2003-02-17 21:27:20 +00:00
Miguel de Icaza 06533c0a67 Flush
svn path=/trunk/mcs/; revision=11654
2003-02-17 21:27:20 +00:00
Gonzalo Paniagua Javier 5005bcfc48 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: Global.asax takes precedence
	over global.asax if it exists.

	* System.Web/HttpRequest.cs: use allowCrossAppMapping in MapPath.

	* System.Web.Hosting/AppDomainFactory.cs: Web.config takes precedence
	over web.config.

	* System.Web.Hosting/ApplicationHost.cs: removed hacks to work around
	an old bug.

svn path=/trunk/mcs/; revision=11649
2003-02-17 20:54:24 +00:00
Gonzalo Paniagua Javier 45a8d661be 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* NetworkStream.cs: allow 0 size array in Write.

svn path=/trunk/mcs/; revision=11648
2003-02-17 20:23:26 +00:00
Martin Baulig 729a1d22ba 2003-02-17 Martin Baulig <[email protected]>
* jit.c (mono_jit_compile_method): Don't emit a `nop' at the start
	of each method.

svn path=/trunk/mono/; revision=11645
2003-02-17 17:56:33 +00:00
Martin Baulig 94fdd07e5d 2003-02-17 Martin Baulig <[email protected]>
* Exception.cs (Exception.ToString): Print a newline between the
	exception message and the stack trace.

svn path=/trunk/mcs/; revision=11644
2003-02-17 17:55:06 +00:00
Gonzalo Paniagua Javier f7aaa744e4 forgot this one
svn path=/trunk/mcs/; revision=11643
2003-02-17 16:28:09 +00:00
Gonzalo Paniagua Javier dcd2278d3f 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: CreateHttpHandler is now internal.

	* System.Web/HttpRequest.cs: allow setting QueryStringRaw, which
	invalidates the data obtained from the previous value. Added internal
	SetFilePath method.

	* System.Web/HttpServerUtility.cs: implemented Execute and GetLastError.

	* System.Web.Configuration/HandlerFactoryConfiguration.cs: first search
	in the mappings of this instance, then in the parent.

svn path=/trunk/mcs/; revision=11642
2003-02-17 16:22:26 +00:00
Dick Porter 186fc816f7 2003-02-17 Dick Porter <[email protected]>
* FileStream.cs: Don't close the handle if the stream doesn't own
	it.  Patch from Raymond Penners ([email protected]), bug
	35623.

svn path=/trunk/mcs/; revision=11641
2003-02-17 16:15:37 +00:00
Gonzalo Paniagua Javier b64f5b2c6c 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* reflection.c:
	(assembly_name_to_aname): jump over unknown properties (i've found
	something like: 'type, assembly, version=xxx, custom=null, public...',
	so now will ignore custom=null and still get the rest of the values).

svn path=/trunk/mono/; revision=11640
2003-02-17 15:55:21 +00:00
Daniel Morgan 192ac46f0a 2003-02-17 Daniel Morgan <[email protected]>
* doc/provider-factory: add new web page
	about Mono.Data's ProviderFactory

	* doc/web/commands
	* doc/web/makefile: add provider-factory web page to build

	* doc/ado-net
	* doc/ibmdb2
	* doc/postgresql
	* doc/sqlclient
	* doc/tdsclient
	* doc/sybase
	* doc/mysql
	* doc/firebird
	* doc/oracle
	* doc/oledb
	* doc/odbc
	* doc/sqlite: updated web pages

svn path=/trunk/mono/; revision=11639
2003-02-17 15:03:43 +00:00
Gonzalo Paniagua Javier f369737334 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* System/AppDomain.cs: implemented GetCurrentThreadId ().
	* System.Threading/Thread.cs: made the thread_id for the current thread
	accesible through an internal property.

svn path=/trunk/mcs/; revision=11638
2003-02-17 14:46:34 +00:00
Dick Porter d6c9704a79 2003-02-17 Dick Porter <[email protected]>
* threads.c: Have Thread.Start() wait for a semaphore to signal
	that the thread has set up all its local data.  This fixes bug
	34323, where Abort() raced the new thread's TLS data.

	Also removes the handle_store() call from start_wrapper, because
	threads are now always created suspended and there is no longer a
	race between the parent and child threads to store the info.

svn path=/trunk/mono/; revision=11637
2003-02-17 13:44:29 +00:00
Dick Porter 85be35cf99 2003-02-17 Dick Porter <[email protected]>
* Thread.cs: Added the Start semaphore field to the class.  Update
	the thread state after Start() has returned, not before.

svn path=/trunk/mcs/; revision=11636
2003-02-17 13:43:53 +00:00
Paolo Molaro 259fd130e0 Mon Feb 17 13:13:31 CET 2003 Paolo Molaro <[email protected]>
* image.c: explain the #- heap issue in a message, hopefully
	avoiding FAQs on mono-list.

svn path=/trunk/mono/; revision=11635
2003-02-17 12:17:56 +00:00
Nick Drochak 91bb988c97 2003-02-17 Nick Drochak <[email protected]>
* WebClient.cs : Implemented Credentials property.

svn path=/trunk/mcs/; revision=11634
2003-02-17 09:14:19 +00:00
Gonzalo Paniagua Javier 97879b91b7 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: style.

svn path=/trunk/mcs/; revision=11633
2003-02-17 08:06:51 +00:00
Gonzalo Paniagua Javier f16558ea6d 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(GetEntryAssembly): if the domain has not invoked
	AppDomain.ExecuteAssembly yet, return the assembly of the default
	AppDomain.

svn path=/trunk/mono/; revision=11632
2003-02-17 07:03:37 +00:00
Miguel de Icaza b96a55870b Improve test
svn path=/trunk/mcs/; revision=11631
2003-02-17 07:01:16 +00:00
Miguel de Icaza 1a696d51e1 2003-02-17 Miguel de Icaza <[email protected]>
* typemanager.cs (IsSpecialMethod): The correct way of figuring
	out if a method is special is to see if it is declared in a
	property or event, or whether it is one of the predefined operator
	names.   This should fix correctly #36804.

svn path=/trunk/mcs/; revision=11630
2003-02-17 05:16:38 +00:00
Gonzalo Paniagua Javier 58ac3c61d1 2003-02-16 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: make Worker.Connect and Receive work with non-blocking
	sockets. May be Receive* and Send* in Worker need to do the same. I'll
	wait for bug reports. Set IsCompleted to true before invoking the end
	callback. Fixes bug #38136.

svn path=/trunk/mcs/; revision=11629
2003-02-16 22:13:26 +00:00
Lluis Sanchez 022abadb2e Small correction
svn path=/trunk/mcs/; revision=11628
2003-02-16 19:37:32 +00:00
Zoltan Varga 41c0bf5de4 2003-02-16 Zoltan Varga <[email protected]>
* class.c (mono_ldtoken): make it work in dynamic assemblies.

svn path=/trunk/mono/; revision=11627
2003-02-16 17:42:08 +00:00
Daniel Morgan c1c8601025 2003-02-16 Daniel Morgan <[email protected]>
* TdsConnection.cs: - parse data source for 2 possible uses:
	"Server=hostname",
	"Server=hostname,port" and open the connection based on the
	resulting server name and port.

svn path=/trunk/mcs/; revision=11626
2003-02-16 15:13:13 +00:00
Daniel Morgan 0fb926e9ed 2003-02-16 Daniel Morgan <[email protected]>
* SybaseConnection.cs: - parse data source for 2 possible uses:
	"Server=hostname",
	"Server=hostname,port" and open the connection based on the
	resulting server name and port.

svn path=/trunk/mcs/; revision=11625
2003-02-16 15:11:40 +00:00
Daniel Morgan db73cf5f48 2003-02-16 Daniel Morgan <[email protected]>
* TestSqlConnection.cs: added test file
	to test SqlClient, SybaseClient, and TdsClient
	and connections

	* System.Data_test.build: excluded
	TestSqlConnection.cs from NUnit tests

svn path=/trunk/mcs/; revision=11624
2003-02-16 15:08:25 +00:00
Daniel Morgan 4af8156695 2003-02-16 Daniel Morgan <[email protected]>
* ChangeLog: added this file

	* SqlConnection.cs: - parse data source for 3 possible uses:
	"Server=hostname",
	"Server=hostname\\instancename",
	"Server=hostname,port" and open the connection based on the
	resulting server name and port.
	- Added support for named instances
	by discovery of the sql server tcp port via the sql monitor (udp port 1434)
	thanks to Phillip Jerkins ([email protected]) contribution.
	Also, thanks to Gonzalo and Tim for their help with timeouts.

svn path=/trunk/mcs/; revision=11623
2003-02-16 14:48:40 +00:00
Atsushi Eno 494777747a 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs: added TestLoadExternalUri
	* XmlTextReaderTests.cs: added TestAttributeWithEntityReference

svn path=/trunk/mcs/; revision=11622
2003-02-16 14:31:47 +00:00
Atsushi Eno beb936e904 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
	* XmlTextReader.cs : fixed ReadAttributeValue() to handle
		entity reference, and some refactory.

svn path=/trunk/mcs/; revision=11621
2003-02-16 14:31:06 +00:00
Atsushi Eno 16bc71e8f1 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.

svn path=/trunk/mcs/; revision=11620
2003-02-16 12:32:19 +00:00
Paolo Molaro 642da61401 Sun Feb 16 13:10:06 CET 2003 Paolo Molaro <[email protected]>
* metadata.c, reflection.c: simple speedup to type hash
	and equals code.

svn path=/trunk/mono/; revision=11619
2003-02-16 12:14:11 +00:00
Martin Baulig 1408deaa7d 2003-02-16 Martin Baulig <[email protected]>
* doc/jit-debug-sample
	* doc/jit-debug-sample2: Removed.

	* doc/jit-debug: Updated.

svn path=/trunk/mono/; revision=11618
2003-02-16 11:46:23 +00:00
Martin Baulig 1f7a01ccfb 2003-02-16 Martin Baulig <[email protected]>
* docs/compiler: Added a few works about the new `Location' code.

svn path=/trunk/mcs/; revision=11617
2003-02-16 11:21:53 +00:00
Daniel Morgan d1ad4ea6b6 2003-02-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: fix typos and when the
	provider is set to oracle, it should default
	to not using the simple reader

svn path=/trunk/mcs/; revision=11616
2003-02-16 10:48:14 +00:00
Daniel Morgan 73e7d1d111 2003-02-16 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: fixes to get data
	from an Oracle 8i database via
	Mono's System.Data.OracleClient.  It
	can only output the results to the TextView
	because the Oracle provider does not have
	a data adapter yet.

svn path=/trunk/mcs/; revision=11615
2003-02-16 10:44:01 +00:00
Daniel Morgan 1d31585645 2003-02-16 Daniel Morgan <[email protected]>
* System.Data.OracleClient.Oci/OciStatementHandle.cs
	* System.Data.OracleClient.Oci/OciColumnInfo.cs
	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient/OracleDataReader.cs: fixes
	  to display character data in SQL# command-line
	  and GTK# versions

	* Test/TestOracleClient.cs: updated test to
	  include reading data via the OracleDataReader

	* System.Data.OracleClient/OracleConnection.cs: removed
	  debug code

svn path=/trunk/mcs/; revision=11614
2003-02-16 10:36:49 +00:00
Atsushi Eno 7a00fc77a5 2003-02-16 Atsushi Enomoto <[email protected]>
* added XmlInputStream.cs to list.unix and Mono.System.Xml.csproj.

svn path=/trunk/mcs/; revision=11613
2003-02-16 07:29:24 +00:00
Atsushi Eno cc86dade12 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : serializing now works for interface member.

svn path=/trunk/mcs/; revision=11612
2003-02-16 07:27:47 +00:00
Atsushi Eno 615abae8f1 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlInputStream.cs : added (also contains internal XmlStreamReader).
	* XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
		and can read non-UTF-8 stream.
	* XmlTextReader.cs : related to above stream fix.
	* XmlUrlResolver.cs : implemented GetEntity ().

svn path=/trunk/mcs/; revision=11611
2003-02-16 07:25:43 +00:00
Miguel de Icaza 81bfc0a71a 2003-02-15 Miguel de Icaza <[email protected]>
The goal here is to remove the dependency on EmptyCast.Peel ().
	Killing it completely.

	The problem is that currently in a number of places where
	constants are expected, we have to "probe" for an EmptyCast, and
	Peel, which is not the correct thing to do, as this will be
	repetitive and will likely lead to errors.

	The idea is to remove any EmptyCasts that are used in casts that
	can be reduced to constants, so we only have to cope with
	constants.

	This bug hunt was triggered by Bug 37363 and the desire to remove
	the duplicate pattern where we were "peeling" emptycasts to check
	whether they were constants.  Now constants will always be
	constants.

	* ecore.cs: Use an enumconstant here instead of wrapping with
	EmptyCast.

	* expression.cs (Cast.TryReduce): Ah, the tricky EnumConstant was
	throwing me off.  By handling this we can get rid of a few hacks.

	* statement.cs (Switch): Removed Peel() code.

svn path=/trunk/mcs/; revision=11610
2003-02-15 22:12:44 +00:00
Zoltan Varga 6e13a2b089 2003-02-15 Zoltan Varga <[email protected]>
* makefile.gnu (test): do not install .dbg files since mcs no longer
	generates them.

svn path=/trunk/mcs/; revision=11609
2003-02-15 18:32:42 +00:00
Nick Drochak 88769b1c21 2003-02-15 Nick Drochak <[email protected]>
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.

svn path=/trunk/mcs/; revision=11607
2003-02-15 16:01:18 +00:00
Nick Drochak 2c3354b5f5 2003-02-15 Nick Drochak <[email protected]>
* CollectionBaseTest.cs: Make it a better NUnit v2 example

svn path=/trunk/mcs/; revision=11606
2003-02-15 14:59:06 +00:00
Paolo Molaro 53d588843b Sat Feb 15 15:15:03 CET 2003 Paolo Molaro <[email protected]>
* image.c, image.h, class.c, assembly.c: move module loading
	to MonoImage. When loading metadata, consider alignemnet from
	the start of metadata, not from the metadata address in memory.

svn path=/trunk/mono/; revision=11605
2003-02-15 14:21:46 +00:00
Pedro Martínez Juliá 7378a8a117 Hashtable.cs: Finish the work on the serialization and. Add TestCase for
the serialization with Binary Formatter.

svn path=/trunk/mcs/; revision=11604
2003-02-15 12:04:43 +00:00
Gonzalo Paniagua Javier 4bf7143482 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
* list: forgot to add this one.

	* System.Web.Compilation/AspGenerator.cs: corrected typo and wrong fix.

	* System.Web.UI/Control.cs: have i definitely fixed naming container
	stuff this time?

	* System.Web.UI/LosFormatter.cs: activated binary serialization code.

	* System.Web.UI.WebControls/ButtonColumn.cs: fixed a couple of infinite
	loop problems and render correctly the header of the column.

	* System.Web.UI.WebControls/DataGridTableInternal.cs: don't assign a
	default ID to this control.

	* System.Web.UI.WebControls/LinkButton.cs: raise bubble event in
	OnCommand.

	* System.Web.UI.WebControls/TableCellCollection.cs: fixed the index
	returned by Add.

	* System.Web.UI.WebControls/TableRowCollection.cs: ditto.

svn path=/trunk/mcs/; revision=11601
2003-02-15 04:08:30 +00:00
Miguel de Icaza 997acc630c Add new test, for bug 37014
svn path=/trunk/mcs/; revision=11600
2003-02-15 03:58:37 +00:00
Sebastien Pouliot 6eccd57679 2003-02-14 Sebastien Pouliot <[email protected]>
* commands: Added System.Security to the list of assembly.
	* makefile: Added processing for System.Security.

svn path=/trunk/mono/; revision=11597
2003-02-15 00:43:34 +00:00
Sebastien Pouliot d723c925d2 2003-02-14 Sebastien Pouliot <[email protected]>
* class-status.in: Added assembly System.Security and link to crypto
	status page.
	* crypto: Corrected html typo (too bold ;-).

svn path=/trunk/mono/; revision=11596
2003-02-15 00:42:54 +00:00
Christopher Bockner f0991210c0 Changes to enable prepared statements, which sort of work now (need more testing).
svn path=/trunk/mcs/; revision=11592
2003-02-14 21:51:50 +00:00
Miguel de Icaza 42357eaf9b 2003-02-14 Miguel de Icaza <[email protected]>
* delegate.cs: The signature for EndInvoke should contain any ref
	or out parameters as well.  We were not doing this in the past.

svn path=/trunk/mcs/; revision=11591
2003-02-14 21:38:13 +00:00
Miguel de Icaza 27f43d377a More tests
svn path=/trunk/mcs/; revision=11590
2003-02-14 21:35:27 +00:00
Patrik Torstensson 10f6a0130b 2003-02-14 Patrik Torstensson
* x86.brg: Implemented CONV_OVF_[I|U]4 (freg), this fixes the issues
	with the "checked" keyword. Closes bugs #33421 and #35280 (JIT not mint)

svn path=/trunk/mono/; revision=11582
2003-02-14 14:41:29 +00:00
Patrik Torstensson 35dde25470 2003-02-14 Patrik Torstensson
* Makefile.am: Added checked.cs test.

svn path=/trunk/mono/; revision=11581
2003-02-14 12:57:58 +00:00
Patrik Torstensson 2bcd3194b5 2003-02-14 Patrik Torstensson
* checked.cs: Added checks for unsigned check keyword

svn path=/trunk/mono/; revision=11580
2003-02-14 12:54:56 +00:00
Rafael Teixeira 10ddb8a2b3 adjusting .cvsignore
svn path=/trunk/mcs/; revision=11579
2003-02-14 12:53:51 +00:00
Zoltan Varga dd0a3203e7 2003-02-14 Zoltan Varga <[email protected]>
* FileStream.cs (Write): flush after writing the last segment as well.

svn path=/trunk/mcs/; revision=11578
2003-02-14 10:36:15 +00:00
Patrik Torstensson 196c705599 2003-02-14 Patrik Torstensson
* x86-codegen.h: Added fstsw op code for getting fp flags

svn path=/trunk/mono/; revision=11577
2003-02-14 10:01:29 +00:00
Patrik Torstensson c4866cde97 2003-02-14 Patrik Torstensson
* checked.cs: New test that tests that the runtime throws correct overflow
		      exceptions during execution of checked keyword.

svn path=/trunk/mono/; revision=11576
2003-02-14 09:48:00 +00:00
Patrik Torstensson 4655a0eea1 2003-02-14 Patrik Torstensson
* Exception.cs: Fixed message output formating

svn path=/trunk/mcs/; revision=11575
2003-02-14 09:43:23 +00:00
Dietmar Maurer 05d003c788 2003-02-14 Dietmar Maurer <[email protected]>
* exception.c (mono_arch_find_jit_info): better way to handle
	situations where we have no MonoJitInfo

svn path=/trunk/mono/; revision=11574
2003-02-14 09:28:41 +00:00
Gonzalo Paniagua Javier 2aac73c7b6 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(AddedControl): fixed default id assignation when the sequence of
	AddedControl until it's included in the page or one of its controls
	does not pass through a naming container.

svn path=/trunk/mcs/; revision=11573
2003-02-14 06:00:20 +00:00
Tim Coleman 3463119aa2 2003-02-13 Tim Coleman <[email protected]>
* makefile.gnu: Add System.Data.OracleClient to linux build.

svn path=/trunk/mcs/; revision=11572
2003-02-14 04:45:13 +00:00
Tim Coleman 1256a14783 2003-12-13 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciColumnInfo.cs:
	* System.Data.OracleClient.Oci/OciDataType.cs:
	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
	* list:
		New classes added
	* System.Data.OracleClient/OciGlue.cs:
		Changes to AttrGet functions
	* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleDataReader.cs:
		Start some work on getting data reader going
	* System.Data.OracleClient.Oci/OciAttributeType.cs:
		Add DisplayName
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
		Add code to get schema for query, as well as
		define output values.

svn path=/trunk/mcs/; revision=11571
2003-02-14 04:32:30 +00:00
Gonzalo Paniagua Javier 9d920cdfb1 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
* Int32.cs:
	(Parse): ignore everything after a \0 (MS parses: "512\0hola" as 512).

svn path=/trunk/mcs/; revision=11570
2003-02-14 04:29:25 +00:00
Gonzalo Paniagua Javier 20dbf7a0d0 2003-02-14 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: fixed code generation for Table/TableRow/TableCell
	when used explicitly.

svn path=/trunk/mcs/; revision=11568
2003-02-14 03:20:04 +00:00
Dennis Hayes 860d92e3f0 see last entry
svn path=/trunk/mcs/; revision=11567
2003-02-14 02:17:53 +00:00
Dennis Hayes 844e5e95d4 Samples\QuickStart\winforms\samples\controlreference\comboboxctl\cs
svn path=/trunk/mcs/; revision=11566
2003-02-14 02:17:26 +00:00
Daniel Morgan e0e8de2d7d 2003-02-13 Daniel Morgan <[email protected]>
* doc/screenshots
	* doc/ado-net
	* doc/oracle
	* doc/gtk-sharp: update web pages

svn path=/trunk/mono/; revision=11562
2003-02-13 23:41:06 +00:00
Miguel de Icaza 4b22b3f1f1 Push
svn path=/trunk/mono/; revision=11558
2003-02-13 23:04:57 +00:00
Zoltan Varga 5befaff2da 2003-02-13 Zoltan Varga <[email protected]>
* Thread.cs (Sleep): Timeout.Infinite is a value argument.

svn path=/trunk/mcs/; revision=11556
2003-02-13 19:12:54 +00:00
Paolo Molaro 606a0ec287 Thu Feb 13 18:40:52 CET 2003 Paolo Molaro <[email protected]>
* ModuleBuilder.cs: add the basic initialization call.

svn path=/trunk/mcs/; revision=11555
2003-02-13 17:44:46 +00:00
Miguel de Icaza d38aa4c0d6 update
svn path=/trunk/mono/; revision=11553
2003-02-13 16:56:14 +00:00
Gonzalo Paniagua Javier 30be3866c8 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* AspElements.cs: get the property Type for controls that use
	ParseChildren with a property name.

	* AspGenerator.cs: generate correct signature for the method that
	adds controls to the default property in ParseChildren.

svn path=/trunk/mcs/; revision=11552
2003-02-13 16:22:35 +00:00
Zoltan Varga a6407800bb 2003-02-13 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_custom_attrs): Added support for
	AssemblyBuilder objects. Factored out custom attribute creation into
	a separate function.
	(create_custom_attr): new function to create custom attributes.

svn path=/trunk/mono/; revision=11551
2003-02-13 12:43:51 +00:00
Zoltan Varga 5873ac9570 2003-02-13 Zoltan Varga <[email protected]>
* corlib_test.args: added AssemblyBuilderTest.cs

svn path=/trunk/mcs/; revision=11550
2003-02-13 12:40:19 +00:00
Zoltan Varga 72b6bb613d 2003-02-13 Zoltan Varga <[email protected]>
* AssemblyBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=11549
2003-02-13 12:39:31 +00:00
Zoltan Varga 02c3f7b1cd 2003-02-13 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Added basic error checking to some methods
	according to the MSDN docs.

svn path=/trunk/mcs/; revision=11548
2003-02-13 12:38:14 +00:00
Nick Drochak 077dfc02e2 2003/02/13 Nick Drochak <[email protected]>
* ActivatorTest.cs:
	* MarshalByRefTest.cs: New unit tests from Jean-Marc Andr
	[[email protected]]. One failure on .NET in the latter.

svn path=/trunk/mcs/; revision=11547
2003-02-13 05:11:09 +00:00
Gonzalo Paniagua Javier e640c9f54b 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfiguration.cs: added internal fields to hold the
	values in the globalization node.

	* GlobalizationConfigurationHandler.cs: handler to load
	<system.web/globalization> section.

svn path=/trunk/mcs/; revision=11543
2003-02-13 02:47:50 +00:00
Gonzalo Paniagua Javier 12b4209f80 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added sample globalization section.

svn path=/trunk/mono/; revision=11542
2003-02-13 02:45:08 +00:00
Gonzalo Paniagua Javier dd7ba172ce 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: only execute the EndRequest step on error
	condition or request marked as completed. This prevent page events from
	being called when, for example, the url authorization module forbids
	the request.

svn path=/trunk/mcs/; revision=11541
2003-02-13 00:58:42 +00:00
Miguel de Icaza 3536718334 2003-02-12 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): In the particular case of This
	and structs, we do not want to load the instance variable

svn path=/trunk/mcs/; revision=11540
2003-02-13 00:56:24 +00:00
Gonzalo Paniagua Javier 4cd75e5715 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* UrlAuthorizationModule.cs: tell the application not to run any other
	step apart from EndRequest.

svn path=/trunk/mcs/; revision=11539
2003-02-13 00:55:42 +00:00
Tim Coleman c559a7bf4d 2003-02-12 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleException.cs:
	* System.Data.OracleClient.Oci/IOciHandle.cs:
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorInfo.cs:
	* System.Data.OracleClient.Oci/OciHandle.cs:
	* System.Data.OracleClient.Oci/OciServerHandle.cs:
	* System.Data.OracleClient.Oci/OciServiceHandle.cs:
	* System.Data.OracleClient.Oci/OciSessionHandle.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
	* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
	* list:
		New classes added.  This encapsulates the OCI
		functionality into Handle objects.
	* System.Data.OracleClient/OciGlue.cs:
		Move a lot of code into Handle classes.
	* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleConnection.cs:
	* System.Data.OracleClient/OracleTransaction.cs:
		Retrofit for changes in OciGlue.

svn path=/trunk/mcs/; revision=11538
2003-02-13 00:50:39 +00:00
Piers Haken 7b8690a93c fix stopping after fix
svn path=/trunk/mcs/; revision=11537
2003-02-13 00:46:14 +00:00
Miguel de Icaza dbb885b9a1 Update tests
svn path=/trunk/mcs/; revision=11535
2003-02-13 00:34:47 +00:00
Miguel de Icaza b44fb5e4e5 2003-02-12 Miguel de Icaza <[email protected]>
* Makefile.am: Got tired of typing the full pathname to pedump.
	Until there is another option, am installing this.

svn path=/trunk/mono/; revision=11534
2003-02-13 00:08:07 +00:00
Miguel de Icaza b56489551b 2003-02-12 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion,
	ImplicitReferenceConversionExists): enum_type has to be handled
	like an object reference (implicit conversions exists from this to
	object), but the regular IsClass and IsValueType tests will never
	return true for this one.

	Also we use TypeManager.IsValueType instead of type.IsValueType,
	just for consistency with the rest of the code (this is only
	needed if we ever use the construct exposed by test-180.cs inside
	corlib, which we dont today).

svn path=/trunk/mcs/; revision=11533
2003-02-12 23:24:07 +00:00
Miguel de Icaza a90a9d9f94 2003-02-12 Miguel de Icaza <[email protected]>
* Type.cs: IsClass should return false for Enumerations

svn path=/trunk/mcs/; revision=11532
2003-02-12 23:16:24 +00:00
Zoltan Varga e419439f92 2003-02-12 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: Added test for setting MethodImplAttributes
	using a custom attribute.

svn path=/trunk/mcs/; revision=11531
2003-02-12 20:37:23 +00:00
Zoltan Varga c84ac4051f 2003-02-12 Zoltan Varga <[email protected]>
* makefile (TEST_SOURCES): Added test-181.

svn path=/trunk/mcs/; revision=11530
2003-02-12 17:30:22 +00:00
Zoltan Varga c938c00ae6 2003-02-12 Zoltan Varga <[email protected]>
* attribute.cs (ApplyAttributes): apply all MethodImplAttributes, not
	just InternalCall.

svn path=/trunk/mcs/; revision=11529
2003-02-12 17:29:28 +00:00
Miguel de Icaza 940153a2d2 Update update
svn path=/trunk/mono/; revision=11528
2003-02-12 15:34:16 +00:00
Rafael Teixeira 844c910324 2003/02/12 Rafael Teixeira <[email protected]>
* added argument.cs (extracted from expression.cs) makefiles corrected
	* mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
	  by putting and if to make a argument list with just an empty argument list become an empty list

svn path=/trunk/mcs/; revision=11524
2003-02-12 13:53:05 +00:00
Dietmar Maurer d992488c00 (mono_ldtoken): use mono_defaults.fieldhandle_class;
svn path=/trunk/mono/; revision=11523
2003-02-12 12:18:20 +00:00
Daniel Morgan c4d22ba10c 2003-02-12 Daniel Morgan <[email protected]>
* README.TXT
    * System.Data.OracleClient/OciGlueLib_BCC_win32.make
    * System.Data.OracleClient/OciGlueLib_GCC_linux.make
    * System.Data.OracleClient/OciGlueLib_MSVC_win32.make
    * System.Data.OracleClient/ociglue.c
    * System.Data.OracleClient/ociglue.h
    * Test/Test.csproj
    * Test/Test.csproj.user: removed files because System.Data.OracleClient
    no longer uses a glue library

    * System.Data.OracleClient/TODOAttribute.cs: added file

    * System.Data.OracleClient/OracleCommand.cs
    * System.Data.OracleClient/OracleConnection.cs
    * System.Data.OracleClient/OciGlue.cs: modified -
    implement Disconnect and error handling (still need
    to create OracleException though)

    * Test/TestOracleClient.cs: clean up and accept
    connection parameters from command line

svn path=/trunk/mcs/; revision=11522
2003-02-12 12:08:18 +00:00
Martin Baulig 3e1c65ce14 Ooops, forgot to correct the size. This change only affects reading the symbol files, so we don't need to increment the version number.
svn path=/trunk/mcs/; revision=11521
2003-02-12 11:26:57 +00:00
Dietmar Maurer b85f0f2772 2003-02-12 Dietmar Maurer <[email protected]>
* class.c (class_compute_field_layout): always set field->parent

svn path=/trunk/mono/; revision=11520
2003-02-12 10:12:03 +00:00
Tim Coleman 57718c3451 2003-02-11 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciAttributeType.cs:
	* System.Data.OracleClient.Oci/OciCredentialType.cs:
	* System.Data.OracleClient.Oci/OciDescriptorType.cs:
	* System.Data.OracleClient.Oci/OciEnvironmentMode.cs:
	* System.Data.OracleClient.Oci/OciExecuteMode.cs:
	* System.Data.OracleClient.Oci/OciHandleType.cs:
	* System.Data.OracleClient.Oci/OciLobType.cs:
	* System.Data.OracleClient.Oci/OciPointerType.cs:
	* System.Data.OracleClient.Oci/OciSessionMode.cs:
	* System.Data.OracleClient.Oci/OciStatementLanguage.cs:
	* System.Data.OracleClient.Oci/OciStatementMode.cs:
	* System.Data.OracleClient.Oci/OciStatementType.cs:
	* System.Data.OracleClient.Oci/OciTransactionFlags.cs:
		New files for Oci namespace
	* list:
	* makefile.gnu:
		Update these files to fix linux build
	* System.Data.OracleClient/OciGlue.cs:
		Use OCI through P/Invoke directly, rename namespace
	* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleConnection.cs:
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient/OracleParameter.cs:
	* System.Data.OracleClient/OracleParameterCollection.cs:
	* System.Data.OracleClient/OracleTransaction.cs:
		Retrofit these files for the changes in OciGlue.cs

svn path=/trunk/mcs/; revision=11516
2003-02-12 03:57:47 +00:00
Gonzalo Paniagua Javier 9b098982cf 2003-02-12 Gonzalo Paniagua Javier <[email protected]>
* list: added AuthorizationConfig and AuthorizationConfigHandler.

	* System.Web/HttpRequest.cs: implemented the indexer.

	* System.Web.Configuration/AuthorizationConfigHandler.cs: handler for
	system.web/authorization section.

	* System.Web.Configuration/AuthorizationConfig.cs: keeps record of
	authorization configuration.

	* System.Web.Security/FormsAuthentication.cs: implemented
	RedirectFromLoginPage and GetRedirectUrl.

	* System.Web.Security/FormsAuthenticationModule.cs: redirect to the
	login page when a 401 error happens.

	* System.Web.Security/UrlAuthorizationModule.cs: check for valid user
	or render error page.

svn path=/trunk/mcs/; revision=11512
2003-02-12 03:39:46 +00:00
Gonzalo Paniagua Javier 96f82806c5 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: added check for sys/un.h.
	* mono/metadata/socket-io.c: support AF_UNIX and use the same layout as
	MS, not the one they documented (bytes 0 and 1 are the family).

svn path=/trunk/mono/; revision=11511
2003-02-12 03:24:09 +00:00
Jaime Anguiano Olarra fc0bd945c4 More infoMore info..
svn path=/trunk/mono/; revision=11500
2003-02-12 00:36:40 +00:00
Miguel de Icaza 5ca8a55ee5 Flush
svn path=/trunk/mono/; revision=11496
2003-02-11 21:40:27 +00:00
Marco Ridoni cb871c7c6d A few minor fixes
svn path=/trunk/mcs/; revision=11495
2003-02-11 20:04:27 +00:00
Marco Ridoni 941d9a15f9 Variable and array initializers are properly implemented
Array creation is handled in a better fashion

svn path=/trunk/mcs/; revision=11494
2003-02-11 19:56:01 +00:00
Tim Coleman acf348e623 Fix changelog
svn path=/trunk/mcs/; revision=11493
2003-02-11 18:08:26 +00:00
Tim Coleman 89e3f2a012 2003-02-11 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
                Close the data reader properly, and be sure
                to close the data reader when the connection
                is closed.

svn path=/trunk/mcs/; revision=11492
2003-02-11 18:02:38 +00:00
Tim Coleman 2168336c44 2003-02-11 Tim Coleman <[email protected]>
* data/config.in: Add mapping for Oracle call interface
        (OCI) native libraries.

svn path=/trunk/mono/; revision=11491
2003-02-11 17:52:21 +00:00
Jaime Anguiano Olarra aeeeabdf24 Added link to the MWN item and archives.
svn path=/trunk/mono/; revision=11490
2003-02-11 17:47:14 +00:00
Jaime Anguiano Olarra 70895c6935 Fix.
svn path=/trunk/mono/; revision=11489
2003-02-11 17:32:17 +00:00
Jaime Anguiano Olarra 0473fb6f61 Links to mwn today and mwn archives
svn path=/trunk/mono/; revision=11488
2003-02-11 17:06:22 +00:00
Gonzalo Paniagua Javier 1259587222 No comments.
svn path=/trunk/mcs/; revision=11487
2003-02-11 16:49:21 +00:00
Gonzalo Paniagua Javier bc2ec9054b 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: rethrow exceptions that may can from parsing or
	compilation if a user control.

svn path=/trunk/mcs/; revision=11486
2003-02-11 16:37:57 +00:00
Gonzalo Paniagua Javier 1db7027fe6 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
* MonoCustomAttrs.cs: return the correct array type in the short case.
	Fixes bug #37818.

svn path=/trunk/mcs/; revision=11485
2003-02-11 15:30:50 +00:00
Dick Porter ebcbf2b2fc 2003-02-11 Dick Porter <[email protected]>
* Monitor.cs: Infinite wait is Infinite, not 0 ms

svn path=/trunk/mcs/; revision=11484
2003-02-11 15:11:50 +00:00
Dick Porter 8702850b3f 2003-02-11 Dick Porter <[email protected]>
* threads-types.h:
	* monitor.c: Rewrote Monitor, making lock much faster and
	Pulse/Wait work as specified.  Also uses much fewer handles, and only
	creates them as needed.

	* exception.c: Added SynchronizationLockException

	* threads.c: Deleted old Monitor implementation.  The new one is
	in a new file.

2003-02-11  Dick Porter  <[email protected]>

	* timefuncs.h:
	* timefuncs.c: Added GetTickCount()

svn path=/trunk/mono/; revision=11483
2003-02-11 15:10:40 +00:00
Piers Haken a81f50b5fe *** empty log message ***
svn path=/trunk/mcs/; revision=11482
2003-02-11 12:48:30 +00:00
Patrik Torstensson caf229d10d 2003-02-11 Patrik Torstensson
* ObjectReader.cs: Fixed root object bug causing object reader to return root object
	  before fixup. Closes bug #37842.

svn path=/trunk/mcs/; revision=11481
2003-02-11 12:43:46 +00:00
Zoltan Varga fd6ded786c 2003-02-11 Zoltan Varga <[email protected]>
* trampoline.c (arch_create_jit_trampoline): This function should
	allways return a trampoline for managed methods. Fixes bug #29859.

svn path=/trunk/mono/; revision=11480
2003-02-11 11:06:12 +00:00
Zoltan Varga 2b55f54b9c Added regression test for bug #29859.
svn path=/trunk/mono/; revision=11479
2003-02-11 11:04:14 +00:00
Jackson Harper c90b57ea8c * makefile: remove unneeded rm's
svn path=/trunk/mcs/; revision=11478
2003-02-11 07:32:24 +00:00
Jackson Harper 0ec4055f30 * test-4.il: Add file
* makefile: Add new test

svn path=/trunk/mcs/; revision=11477
2003-02-11 07:28:15 +00:00
Jackson Harper 9ccd53016b Use arg_list for method signatures, set method parameters
svn path=/trunk/mcs/; revision=11476
2003-02-11 07:23:59 +00:00
Jackson Harper 57af9803b7 * Method.cs: Add method to set parameters,
set parameters when defining type
	* Class.cs: Fix very silly bug in GetMethod method

svn path=/trunk/mcs/; revision=11475
2003-02-11 07:22:08 +00:00
Gonzalo Paniagua Javier 980ac054de 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
* debug.c: allocate debug->source_files. Fixes GLib-CRITICAL upon
	debugging clean up.

svn path=/trunk/mono/; revision=11474
2003-02-11 06:36:05 +00:00
Gonzalo Paniagua Javier 10e11ee302 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
* StringReader.cs:
	(ReadLine): fixed the case when the string ends with a '\n'.

svn path=/trunk/mcs/; revision=11473
2003-02-11 05:42:51 +00:00
Gonzalo Paniagua Javier 97eba89dcb Fixes the build
svn path=/trunk/mcs/; revision=11470
2003-02-11 05:13:15 +00:00
Gonzalo Paniagua Javier 19bd9945fb Forgot this one.
svn path=/trunk/mcs/; revision=11468
2003-02-11 05:06:13 +00:00
Gonzalo Paniagua Javier 216bec00c9 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
* list: added a couple of new files.
	* System.Web/HtmlizedException.cs: base class for exceptions that makes
	it easy to generate error pages.

	* System.Web/HttpException.cs: improved error displaying.

	* System.Web/HttpRuntime.cs: removed debugging output.

	* System.Web.Compilation/AspGenerator.cs: throw ParseException on parse
	error.

	* System.Web.Compilation/AspParser.cs: added Line and Column props.

	* System.Web.Compilation/CompilationException.cs: derives now from
	HtmlizedException.

	* System.Web.Compilation/CompilationResult.cs: added fileName field.
	Fixed set_ExitCode.

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: pass the file name in
	the CompilationResult.

	* System.Web.Compilation/ParseException.cs: new exception.

svn path=/trunk/mcs/; revision=11467
2003-02-11 05:04:30 +00:00
Miguel de Icaza 0dc11cea68 Commit for Daniel: many improvements to the FileSystem code.
svn path=/trunk/mcs/; revision=11466
2003-02-11 05:01:35 +00:00
Tim Coleman a7170ffd21 2003-02-10 Tim Coleman <[email protected]>
* MonoOracleClient.csproj :
	* MonoOracleClient.csproj.user :
	* MonoOracleClient.sln :
	* MonoOracleClient.suo :
		Remove obsolete files

svn path=/trunk/mcs/; revision=11465
2003-02-11 04:44:31 +00:00
Tim Coleman 570d39cfa1 2003-02-10 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleDataReader.cs:
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient/OracleParameterCollection.cs:
        * System.Data.OracleClient/OracleString.cs:
        * System.Data.OracleClient/OracleTransaction.cs:
        * System.Data.OracleClient/OracleType.cs:
                Added some implementation of these required objects.
        * list:
                Add new files to the build.
        * System.Data.OracleClient/OciGlue.cs:
        * System.Data.OracleClient/ociglue.c:
        * System.Data.OracleClient/ociglue.h:
                Add transaction logic.
        * System.Data.OracleClient/OracleCommand.cs:
        * System.Data.OracleClient/OracleConnection.cs:
                Add some more implementation

svn path=/trunk/mcs/; revision=11457
2003-02-11 01:37:56 +00:00
Tim Coleman 97a15c7691 2003-02-10 Tim Coleman <[email protected]>
* library.build:
		Disable OracleClient build on Windows so that I don't
		break the build.  I'm developing on Linux at present.

svn path=/trunk/mcs/; revision=11456
2003-02-11 01:32:46 +00:00
Christopher Bockner f9a00324d8 DB2ClientPrototypes.cs
Added SQLDescribeParam and SQLBindParameter.

svn path=/trunk/mcs/; revision=11454
2003-02-10 21:31:37 +00:00
Christopher Bockner 1aa729a130 DB2ClientDataReader.cs:
Small change, cast to int instead of ToInt32()...

svn path=/trunk/mcs/; revision=11453
2003-02-10 21:29:04 +00:00
Christopher Bockner 05ec8fde09 DB2ClientConstants.cs:
Added a bunch of costants for SQL data types.

svn path=/trunk/mcs/; revision=11452
2003-02-10 21:22:57 +00:00
Christopher Bockner 0b75828378 DB2ClientConnection.cs: Added error checking on SQLDisconnect.
svn path=/trunk/mcs/; revision=11451
2003-02-10 21:20:22 +00:00
Christopher Bockner 0a0e24256b DB2ClientCommand.cs: Various changes, mostly to support prepared statements.
svn path=/trunk/mcs/; revision=11450
2003-02-10 21:17:55 +00:00
Christopher Bockner fffbdd3bc4 DB2ClientParameterCollection.cs: Adding this class to support prepared statements.
svn path=/trunk/mcs/; revision=11449
2003-02-10 21:10:53 +00:00
Christopher Bockner 9008b734ea DB2ClientParameter.cs: Adding the parameter class so we can implement prepared statements.
:

svn path=/trunk/mcs/; revision=11448
2003-02-10 21:06:18 +00:00
Paolo Molaro be2288ded6 Mon Feb 10 17:54:10 CET 2003 Paolo Molaro <[email protected]>
* class.c: handled TypedReference type code. Set the correct size for
	class data. Setup interface_offsets for interface classes, too.

svn path=/trunk/mono/; revision=11447
2003-02-10 16:58:57 +00:00
Nick Drochak 43ce1d515f 2003-02-10 Nick Drochak <[email protected]>
* makefile: Add testcorlib target to run just the corlib unit tests.

svn path=/trunk/mcs/; revision=11446
2003-02-10 14:46:30 +00:00
Nick Drochak 70dfcc7dd8 2003-02-10 Nick Drochak <[email protected]>
* library.build:
	* makefile: add testcorlib target to run unit tests just for corlib.

svn path=/trunk/mcs/; revision=11445
2003-02-10 14:44:58 +00:00
Gonzalo Paniagua Javier 1026d46505 2003-02-10 Gonzalo Paniagua Javier <[email protected]>
* Thread.cs: fixed bug #37759.

svn path=/trunk/mcs/; revision=11444
2003-02-10 14:14:13 +00:00
Nick Drochak 97c1a96048 2003-02-10 Nick Drochak <[email protected]>
* Registry.cs: Class should be sealed and have a private default ctor.

svn path=/trunk/mcs/; revision=11443
2003-02-10 14:14:06 +00:00
Nick Drochak f77ae165ac 2003-02-10 Nick Drochak <[email protected]>
* System.Data.build: Keep the standalone tests out of the dll. Fixes
	build breakage on cygwin.

svn path=/trunk/mcs/; revision=11442
2003-02-10 14:10:12 +00:00
Nick Drochak cf36ecd09d 2003-02-10 Nick Drochak <[email protected]>
* Mono.CSharp.Debugger.build: passing the /r using an 'arg' node works.
	The <include> node wasn't getting to the compiler. This fixes build
	breakage on cygwin.

	* MonoSymbolFile.cs: Qualify which Min method. Fixes build breakage
	on cygwin.

svn path=/trunk/mcs/; revision=11441
2003-02-10 13:58:05 +00:00
Zoltan Varga 6a3337c201 2003-02-10 Zoltan Varga <[email protected]>
* ConstructorBuilder.cs:
	- Added basic error checking to all methods according to the MSDN docs.
	- modified a lot of methods to throw NotSupportedException, to comply
	  with MS.NET.

svn path=/trunk/mcs/; revision=11440
2003-02-10 13:53:12 +00:00
Zoltan Varga bc6b91f88c 2003-02-10 Zoltan Varga <[email protected]>
* ConstructorBuilderTest.cs: added SetCustomAttribute() tests.

svn path=/trunk/mcs/; revision=11439
2003-02-10 13:17:31 +00:00
Zoltan Varga ea30af9f57 2003-02-10 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: updated to NUNIT2 conventions.

	* ConstructorBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=11438
2003-02-10 12:51:08 +00:00
Zoltan Varga 527221e06e 2003-02-09 Zoltan Varga <[email protected]>
* TypeBuilder.cs:
	- Added basic error checking to all methods according to the MSDN docs.
	- fixed AssemblyQualifiedName.
	- implemented 'Size'.
	- modified a lot of methods to throw NotSupportedException, to comply
	  with MS.NET.
	- changes tested by running a full bootstrap.

svn path=/trunk/mcs/; revision=11437
2003-02-10 10:41:09 +00:00
Dennis Hayes 0adef9c4cf checkin for Alexandre Pigolkine see chagelog
svn path=/trunk/mcs/; revision=11434
2003-02-10 06:28:51 +00:00
Jackson Harper d64fcfd51a * test-3.il: Add file
* makefile: Add new test

svn path=/trunk/mcs/; revision=11433
2003-02-10 05:32:31 +00:00
Jackson Harper 3e9a3556fa full names can be short names too (for members)
svn path=/trunk/mcs/; revision=11432
2003-02-10 05:30:01 +00:00
Jackson Harper 8390bcaedd * Class.cs: Resolve Methods before emiting
* InstrBase.cs: Take a Class instead of CodeGen when emiting
	* Method.cs: Replace MethodInfo property with MethodBuilder property,
        	Add resolve method
	* Instructions.cs: Take Class instead of CodeGen when emitting,
	        get member methods from Class.
	* TypeManager.cs: Add set indexer

svn path=/trunk/mcs/; revision=11431
2003-02-10 05:27:36 +00:00
Piers Haken 9bc3cff12a 2003-02-09 Piers Haken <[email protected]>
* SelectNodesTests.cs: added TestNamespaceSelect (from Jerome Laban)

svn path=/trunk/mcs/; revision=11428
2003-02-09 22:57:59 +00:00
Piers Haken 2a62fc4766 2003-02-09 Piers Haken <[email protected]>
* XPathNavigator.cs:
	* Iterator.cs:
	* Expression.cs: fix namespace handling

svn path=/trunk/mcs/; revision=11427
2003-02-09 22:54:50 +00:00
Martin Baulig 938050e712 Ooops.
svn path=/trunk/mcs/; revision=11424
2003-02-09 22:42:42 +00:00
Martin Baulig 8e4a2a5a2b 2003-02-09 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (AssemblyBuilder.methods): Removed.  This was
	a hack for the symbol writer which is no longer needed.

svn path=/trunk/mcs/; revision=11423
2003-02-09 22:39:06 +00:00
Martin Baulig bef12dc160 2003-02-09 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (MonoSymbolWriter.ctor): We don't need the
	`mbuilder_array' anymore.

svn path=/trunk/mcs/; revision=11422
2003-02-09 22:37:32 +00:00
Martin Baulig 5214f2e39f Small fix.
svn path=/trunk/mcs/; revision=11421
2003-02-09 22:36:14 +00:00
Martin Baulig 12e57c40bc 2003-02-09 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Reflect latest symbol writer changes.

svn path=/trunk/mono/; revision=11420
2003-02-09 22:33:59 +00:00
Martin Baulig 06c897e1b0 2003-02-09 Martin Baulig <[email protected]>
* namespace.cs (Namespace..ctor): Added SourceFile argument.
	(Namespace.DefineNamespaces): New static public method; this is
	called when we're compiling with debugging to add all namespaces
	to the symbol file.

	* tree.cs (Tree.RecordNamespace): Added SourceFile argument and
	pass it to the Namespace's .ctor.

	* symbolwriter.cs (SymbolWriter.OpenMethod): Added TypeContainer
	and MethodBase arguments; pass the namespace ID to the symwriter;
	pass the MethodBase instead of the token to the symwriter.
	(SymbolWriter.DefineNamespace): New method to add a namespace to
	the symbol file.

svn path=/trunk/mcs/; revision=11419
2003-02-09 22:32:46 +00:00
Martin Baulig 870fcd6bf8 Fixed typo.
svn path=/trunk/mcs/; revision=11418
2003-02-09 22:27:43 +00:00
Martin Baulig 12573167b7 2003-02-09 Martin Baulig <[email protected]>
* MonoSymbolWrtier.cs (SourceFile): Derive from SourceFileEntry.
	(SourceBlock): We don't need source lines here.
	(SourceMethod): We're always constructed with source info.

	* MonoSymbolTable.cs: Added support for namespaces.
	(NamespaceEntry): New struct.
	(SourceFileEntry.DefineNamespace): New method.
	(MethodEntry.BuildLineNumberTable): The table is already sorted,
	so we don't need to do this here.

svn path=/trunk/mcs/; revision=11417
2003-02-09 22:27:01 +00:00
Martin Baulig 5cc90d6524 2003-02-09 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Ooops, I forgot to remove this.

svn path=/trunk/mcs/; revision=11416
2003-02-09 22:24:18 +00:00
Martin Baulig 9d1953a5b3 2003-02-09 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (DefineNamespace, OpenMethod): New methods.

svn path=/trunk/mcs/; revision=11415
2003-02-09 22:23:23 +00:00
Gonzalo Paniagua Javier aa59cf428b 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
* interp.c: added a dummy mono_runtime_install_handlers function to
	avoid crashing when ves_pinvoke_method tries to call it.

svn path=/trunk/mono/; revision=11411
2003-02-09 21:29:26 +00:00
Martin Baulig 240a8d1ee0 2003-02-09 Martin Baulig <[email protected]>
* symbolwriter.cs: New file.  This is a wrapper around
	ISymbolWriter with a cleaner API.  We'll dynamically Invoke()
	methods here in near future.

svn path=/trunk/mcs/; revision=11410
2003-02-09 21:15:10 +00:00
Martin Baulig 1ae4e1bd76 Hmm, sort the table for the moment, this is just a bit slower, but more stable.
svn path=/trunk/mcs/; revision=11409
2003-02-09 20:12:56 +00:00
Martin Baulig 157b960076 Reflect latest API changes.
svn path=/trunk/mcs/; revision=11408
2003-02-09 20:11:15 +00:00
Martin Baulig 6f8b5d6fd8 2003-02-09 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.Mark): Just pass the arguments to
	ILGenerator.MarkSequencePoint() which are actually used by the
	symbol writer.

svn path=/trunk/mcs/; revision=11407
2003-02-09 20:10:53 +00:00
Martin Baulig b40f0a5f2a 2003-02-09 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (MarkSequencePoint): New method which takes
	just the required arguments as scalars, not arrays.

	* ILGenerator.cs (ILGenerator.MarkSequencePoint): Use that new
	interface method; unnecessarily creating such a large number of
	arrays is both slow and too memory consuming.

svn path=/trunk/mcs/; revision=11406
2003-02-09 20:09:05 +00:00
Martin Baulig eb7680eb5b 2003-02-09 Martin Baulig <[email protected]>
* location.cs (SourceFile): New public sealed class.  This
	contains the name and an index which is used in the location's token.
	(Location): Reserve an appropriate number of bits in the token for
	the source file instead of walking over that list, this gives us a
	really huge performance improvement when compiling with debugging.

	* driver.cs (Driver.parse, Driver.tokenize_file): Take a
	`SourceFile' argument instead of a string.
	(Driver.ProcessFile): Add all the files via Location.AddFile(),
	but don't parse/tokenize here, we need to generate the list of all
	source files before we do that.
	(Driver.ProcessFiles): New static function.  Parses/tokenizes all
	the files.

	* cs-parser.jay (CSharpParser): Take a `SourceFile' argument
	instead of a string.

	* cs-tokenizer.cs (Tokenizer): Take `SourceFile' argument instead
	of a string.

svn path=/trunk/mcs/; revision=11405
2003-02-09 19:39:02 +00:00
Martin Baulig 3e51097a97 Hmm, no, this was wrong.
svn path=/trunk/mcs/; revision=11404
2003-02-09 19:23:20 +00:00
Zoltan Varga fb2ea3f479 2003-02-09 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Added lots of new tests.

svn path=/trunk/mcs/; revision=11403
2003-02-09 19:17:12 +00:00
Rodrigo Moya 6f5a39d6d8 2003-02-09 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs:
	* System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.

svn path=/trunk/mcs/; revision=11402
2003-02-09 19:15:42 +00:00
Paolo Molaro 6a35737bdb Sun Feb 9 18:37:01 CET 2003 Paolo Molaro <[email protected]>
* loader.c: implemented MEMBERREF_PARENT_TYPEDEF.
	* metadata.c, reflection.c: missing MONO_TYPE_TYPEDBYREF handling.
	* object.c: fixed mono_object_get_virtual_method () for interfaces.
	* verify.c: check for code that runs after the end of the method.

svn path=/trunk/mono/; revision=11398
2003-02-09 17:45:09 +00:00
Martin Baulig 44f03173d5 2003-02-09 Martin Baulig <[email protected]>
* driver.cs (Driver.SetupDefaultDefines): Define `__MonoRuntime__'
	if we're using mono's corlib.

svn path=/trunk/mcs/; revision=11397
2003-02-09 16:41:32 +00:00
Martin Baulig b596330b38 2003-02-09 Martin Baulig <[email protected]>
* cs-tokenizer.cs (Tokenizer.PreProcessLine): Also reset the
	filename on `#line default'.

svn path=/trunk/mcs/; revision=11396
2003-02-09 16:39:03 +00:00
Martin Baulig 237d5155be 2003-02-09 Martin Baulig <[email protected]>
* output.c: Use `#line default' instead of source file "-".

svn path=/trunk/mcs/; revision=11395
2003-02-09 16:37:28 +00:00
Jackson Harper 211962f587 Use TypeManager to loopup types
svn path=/trunk/mcs/; revision=11394
2003-02-09 08:31:46 +00:00
Jackson Harper 79166a08c3 Use full names for calling instructions
svn path=/trunk/mcs/; revision=11393
2003-02-09 08:29:47 +00:00
Gonzalo Paniagua Javier 3d4938068e 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: give different default names depending on the place where
	it is assigned. Implemented ResolveURl (no more ~ rendered in
	attributes!).

svn path=/trunk/mcs/; revision=11392
2003-02-09 04:26:02 +00:00
Jackson Harper dfe7259c93 forgot changelog
svn path=/trunk/mcs/; revision=11391
2003-02-09 04:22:33 +00:00
Gonzalo Paniagua Javier 73e208ce0e 2003-02-09 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: fixed setSize (!).

svn path=/trunk/mcs/; revision=11390
2003-02-09 04:22:24 +00:00
Jackson Harper 1e4a818de7 * TypeManager.cs: Fix error parsing type names
* Method.cs: Display the name of types that can't be found

svn path=/trunk/mcs/; revision=11389
2003-02-09 04:21:48 +00:00
Jackson Harper 9199a29155 Create type names properly
svn path=/trunk/mcs/; revision=11388
2003-02-09 04:15:58 +00:00
Tim Coleman 84939c2ed6 2003-02-08 Tim Coleman <[email protected]>
* System.Data.OracleClient/OciGlueLib_BCC_win32.make:
        * System.Data.OracleClient/OciGlueLib_MSVC_win32.make:
        change name of library to ociglue.dll
        * System.Data.OracleClient/ociglue.c:
        Use the "database" parameter as TNSNAME.
        * System.Data.OracleClient/OciGlue.cs:
        Change DllImport from "System.Data.OracleClient.ociglue.dll" to
        "ociglue".
        * System.Data.OracleClient/OciGlueLib_GCC_linux.make:
        added makefile for ociglue shared lib on Linux platform
        and compiler gcc.

svn path=/trunk/mcs/; revision=11387
2003-02-09 03:46:24 +00:00
Jackson Harper f07ac8f82a forgot to commit changelog
svn path=/trunk/mcs/; revision=11386
2003-02-09 03:43:30 +00:00
Jackson Harper 86aa4c7948 oops
svn path=/trunk/mcs/; revision=11385
2003-02-09 03:42:35 +00:00
Jackson Harper f8f8ae2375 Add TypeManager.cs to build
svn path=/trunk/mcs/; revision=11384
2003-02-09 03:41:47 +00:00
Jackson Harper 105cf53662 Handle argument lists better
svn path=/trunk/mcs/; revision=11383
2003-02-09 03:39:19 +00:00
Jackson Harper cfe745701c * TypeManager.cs: Add file
* CodeGen.cs: Add TypeManager attribute
        * InstrBase.cs: Take a CodeGen in Emit method
        * Instructions.cs: Take a CodeGen in Emit method, handle arg lists better
        * Method.cs: Handle local variables better

svn path=/trunk/mcs/; revision=11382
2003-02-09 03:38:20 +00:00
Tim Coleman a98c2a96ae 2003-02-08 Tim Coleman <[email protected]>
* System.Data.OracleClient/OciGlueLib_GCC_linux.make:
        added makefile for ociglue shared lib on Linux platform
        and compiler gcc.

svn path=/trunk/mcs/; revision=11381
2003-02-09 02:44:00 +00:00
Jackson Harper 7d2d49e0bd Change class name
svn path=/trunk/mcs/; revision=11379
2003-02-08 23:50:42 +00:00
Jackson Harper eb94276bcf Change class name
svn path=/trunk/mcs/; revision=11378
2003-02-08 23:49:46 +00:00
Jackson Harper 2c83a37602 * test-2.il: Add new test
* makefile: Use new test

svn path=/trunk/mcs/; revision=11377
2003-02-08 23:46:27 +00:00
Jackson Harper eb4cea017d * Method.cs: Add functionality to define local variables
* Instructions.cs: Add newobj instruction, cleanup call instruction

svn path=/trunk/mcs/; revision=11376
2003-02-08 23:42:42 +00:00
Jackson Harper 8088be6ff0 Handle .local and newobj
svn path=/trunk/mcs/; revision=11375
2003-02-08 23:39:14 +00:00
Pedro Martínez Juliá 69ffe8cefc Fix a few methods in "Math.cs" and add the necesary internal calls to "icall.c", "sysmath.h" and "sysmath.c". There is also a modification of "MathTest.cs".
svn path=/trunk/mono/; revision=11373
2003-02-08 22:47:42 +00:00
Pedro Martínez Juliá fef73a42b0 Fix a few methods in "Math.cs" and add the necesary internal calls to "icall.c", "sysmath.h" and "sysmath.c". There is also a modification of "MathTest.cs".
svn path=/trunk/mcs/; revision=11373
2003-02-08 22:47:42 +00:00
Martin Baulig a948f85ee4 2003-02-08 Martin Baulig <[email protected]>
* MonoSymbolDocumentWriter.cs: Removed.

	* MonoSymbolWriter.cs (SourceFile): Implement ISymbolDocumentWriter.

svn path=/trunk/mcs/; revision=11372
2003-02-08 22:18:38 +00:00
Piers Haken 2224d09834 fix attachment filename
svn path=/trunk/mcs/; revision=11371
2003-02-08 22:13:14 +00:00
Martin Baulig 0acb6d0cdd This comment is incorrect, we aren't generating DWARF here.
svn path=/trunk/mcs/; revision=11370
2003-02-08 22:11:45 +00:00
Zoltan Varga 008af337d4 2003-02-08 Zoltan Varga <[email protected]>
* corlib_test.args: added TypeBuilderTest.cs.

svn path=/trunk/mcs/; revision=11366
2003-02-08 20:33:32 +00:00
Zoltan Varga 4126638853 2003-02-08 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=11364
2003-02-08 20:32:25 +00:00
Gonzalo Paniagua Javier ffbcd0365b 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added ImageAttributes.cs.
	* System.Drawing/Graphics.cs: stubbed out all the methods.

svn path=/trunk/mcs/; revision=11363
2003-02-08 20:07:42 +00:00
Gonzalo Paniagua Javier 49f4b61e8b really remove Font.cs
svn path=/trunk/mcs/; revision=11362
2003-02-08 20:05:48 +00:00
Martin Baulig 68fa8de87a 2003-02-08 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (GetMethodSource): New public method.
	(FindMethod): Return the correct index.

svn path=/trunk/mcs/; revision=11360
2003-02-08 19:24:01 +00:00
Paolo Molaro a9b126bce5 Fixed build.
svn path=/trunk/mcs/; revision=11359
2003-02-08 18:30:20 +00:00
Zoltan Varga e41b1cb367 2003-02-08 Zoltan Varga <[email protected]>
* corlib_test.args: added beginnings of Reflection.Emit test suite.

svn path=/trunk/mcs/; revision=11357
2003-02-08 16:57:21 +00:00
Zoltan Varga 322bd32b87 2003-02-08 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs ChangeLog: New files.

svn path=/trunk/mcs/; revision=11356
2003-02-08 16:53:39 +00:00
Zoltan Varga 2d3c3404d4 2003-02-08 Zoltan Varga <[email protected]>
* unix.args: added MACAlgorithm and HMACAlgorithm.

svn path=/trunk/mcs/; revision=11355
2003-02-08 16:49:42 +00:00
Zoltan Varga de14fed65e 2003-02-08 Zoltan Varga <[email protected]>
* MethodBuilder.cs: Added error checking to methods so they conform to
	MSDN docs. Implemented 'GetModule' and 'CallingConvention' members.
	Some other tweaks to improve compatibility with MS .NET.

	* TypeBuilder.cs: Added 'is_created' property which will be used for
	checking 'type is already created' errors.

svn path=/trunk/mcs/; revision=11354
2003-02-08 16:48:09 +00:00
Sebastien Pouliot 66e393eccc 2003-02-08 Sebastien Pouliot <[email protected]>
* Changes to refer Mono.Xml

svn path=/trunk/mcs/; revision=11353
2003-02-08 16:31:12 +00:00
Sebastien Pouliot 77c0bce859 2003-02-08 Sebastien Pouliot <[email protected]>
* RemotingConfiguration.cs: Changed using to Mono.Xml for MiniParser.

svn path=/trunk/mcs/; revision=11352
2003-02-08 16:29:10 +00:00
Sebastien Pouliot c992524d56 2003-02-08 Sebastien Pouliot <[email protected]>
* MiniParser.cs: Renamed namespace to match new location.

svn path=/trunk/mcs/; revision=11351
2003-02-08 16:26:50 +00:00
Gonzalo Paniagua Javier 5c7845e91b 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when adding a control, assign default names to th
	children that don't have one.

svn path=/trunk/mcs/; revision=11350
2003-02-08 16:23:07 +00:00
Paolo Molaro 4e6194346f Sat Feb 8 17:03:16 CET 2003 Paolo Molaro <[email protected]>
* statement.cs: don't clear the pinned var when the fixed statement
	returns from the method (fixes bug#37752).

svn path=/trunk/mcs/; revision=11349
2003-02-08 16:08:59 +00:00
Sebastien Pouliot 5cd2a34764 2003-02-08 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Changes to refer Mono.Security (for ASN1)

svn path=/trunk/mcs/; revision=11348
2003-02-08 12:57:36 +00:00
Sebastien Pouliot 5e535232a9 2003-02-08 Sebastien Pouliot <[email protected]>
* Changes to refer Mono.Math and Mono.Security.Cryptography

svn path=/trunk/mcs/; revision=11347
2003-02-08 12:55:27 +00:00
Sebastien Pouliot 695fc75d04 2003-02-08 Sebastien Pouliot <[email protected]>
* CryptoTools.cs: Renamed namespace to match new location.
	* PKCS1.cs: Renamed namespace to match new location.
	* HMACAlgorithm.cs: New. Generic class to implement HMAC
	using any hash algorithm (was in S.S.C.HMACSHA1.cs).
	* MACAlgorithm.cs: New. Generic class to implement MAC
	using any symmetric algorithm (was in S.S.C.MACTripleDES.cs).

svn path=/trunk/mcs/; revision=11346
2003-02-08 12:43:41 +00:00
Sebastien Pouliot e6cdf26e7f 2003-02-08 Sebastien Pouliot <[email protected]>
* ASN1.cs: Renamed namespace to match new location.

svn path=/trunk/mcs/; revision=11345
2003-02-08 12:42:32 +00:00
Sebastien Pouliot 7f0fc6738e 2003-02-08 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Renamed namespace to match new location.

svn path=/trunk/mcs/; revision=11344
2003-02-08 12:41:34 +00:00
Paolo Molaro b2b47a6f96 Sat Feb 8 12:58:06 CET 2003 Paolo Molaro <[email protected]>
* typemanager.cs: fix from [email protected] (Marcus Urban)
	to IsValueType ().

svn path=/trunk/mcs/; revision=11343
2003-02-08 12:18:50 +00:00
Piers Haken 0c2bd9442a 2003-02-08 Piers Haken <[email protected]>
* fixed case of pens.cs and font.cs

svn path=/trunk/mcs/; revision=11342
2003-02-08 10:15:05 +00:00
Piers Haken af6ea1ed3b *** empty log message ***
svn path=/trunk/mcs/; revision=11340
2003-02-08 10:00:47 +00:00
Ville Palo 317c988f05 2003-02-08 Ville Palo <[email protected]>
* ExpressionElement.cs: More implementation

svn path=/trunk/mcs/; revision=11339
2003-02-08 09:58:00 +00:00
Piers Haken cbdaa40bed *** empty log message ***
svn path=/trunk/mcs/; revision=11338
2003-02-08 08:15:26 +00:00
Dietmar Maurer 219db36825 use gconstpointer in mono_marshal_get_icall_wrapper()
svn path=/trunk/mono/; revision=11337
2003-02-08 07:53:49 +00:00
Piers Haken 1295049706 *** empty log message ***
svn path=/trunk/mcs/; revision=11336
2003-02-08 03:41:29 +00:00
Dennis Hayes c22ccc6dd3 getting SWF to compile
svn path=/trunk/mcs/; revision=11334
2003-02-08 01:37:18 +00:00
Dennis Hayes 484f8bf14a getting swf to compile
svn path=/trunk/mcs/; revision=11333
2003-02-08 01:36:59 +00:00
Dennis Hayes 14edfc4786 additions to get SWF to compile
svn path=/trunk/mcs/; revision=11332
2003-02-08 01:33:53 +00:00
Dennis Hayes 198b6ed56d *** empty log message ***
svn path=/trunk/mcs/; revision=11331
2003-02-08 01:31:15 +00:00
Martin Baulig 21b28272b2 2003-02-07 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (Methods, Sources): New public properties.

svn path=/trunk/mcs/; revision=11327
2003-02-07 18:05:59 +00:00
Dietmar Maurer 40697f117f fix: use MONO_ARCH_SAVE_REGS for mono_ldstr
svn path=/trunk/mono/; revision=11325
2003-02-07 17:58:37 +00:00
Martin Baulig 95600d6b38 2003-02-07 Martin Baulig <[email protected]>
* debug-mono-symfile.c (mono_debug_symfile_add_method): Ignore interncalls.

svn path=/trunk/mono/; revision=11324
2003-02-07 17:58:08 +00:00
Martin Baulig 55abeb083e Cosmetic fixes.
svn path=/trunk/mcs/; revision=11322
2003-02-07 17:55:29 +00:00
Patrik Torstensson 9c32c4e70a 2003-02-07 Patrik Torstensson
* Exception.cs: Fixed formating.

svn path=/trunk/mcs/; revision=11315
2003-02-07 16:04:24 +00:00
Martin Baulig ca00eff4e6 Removed this debugging statement.
svn path=/trunk/mcs/; revision=11314
2003-02-07 15:10:32 +00:00
Martin Baulig 761d18aaec 2003-02-07 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): New public
	static method, returns null (without throwing an exception) if the
	assembly doesn't have any debugging info.

svn path=/trunk/mcs/; revision=11312
2003-02-07 15:07:48 +00:00
Martin Baulig 98bebaf7c7 Reflect latest API changes.
svn path=/trunk/mono/; revision=11311
2003-02-07 15:06:53 +00:00
Martin Baulig 9552f4e872 2003-02-07 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Reflected latest symwriter changes.
	(mono_debug_create_mono_symbol_file): Removed.
	(mono_debug_open_mono_symbol_file): Take an argument which
	specifies whether to create a dynamic symbol file.

svn path=/trunk/mono/; revision=11310
2003-02-07 15:05:18 +00:00
Patrik Torstensson 701cbd7aa2 2003-02-07 Patrik Torstensson
* CADMessages.cs: Disable smuggeling of objects cross domain, still issues casing remoting
	  to fail. (fixed formating)

svn path=/trunk/mcs/; revision=11309
2003-02-07 14:59:31 +00:00
Patrik Torstensson bd252fb987 Oops, removed debuging writeline:s
svn path=/trunk/mcs/; revision=11308
2003-02-07 14:58:20 +00:00
Patrik Torstensson 3bdd57dd9d 2003-02-07 Patrik Torstensson
* RemotingServices.cs: Always marshal an object in GetObjectData

svn path=/trunk/mcs/; revision=11307
2003-02-07 14:56:31 +00:00
Dietmar Maurer 0da3eff54a 2003-02-07 Dietmar Maurer <[email protected]>
* class.c (mono_class_from_mono_type): added MONO_TYPE_TYPEDBYREF

svn path=/trunk/mono/; revision=11306
2003-02-07 13:46:08 +00:00
Martin Baulig e7da10fc99 2003-02-07 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Removed the
	custom initialization function.

svn path=/trunk/mcs/; revision=11302
2003-02-07 12:12:58 +00:00
Martin Baulig 641e7690af 2003-02-07 Martin Baulig <[email protected]>
* driver.cs: Removed the `--debug-args' command line argument.

	* codegen.cs (CodeGen.SaveSymbols): Removed, this is now done
	automatically by the AsssemblyBuilder.
	(CodeGen.InitializeSymbolWriter): We don't need to call any
	initialization function on the symbol writer anymore.  This method
	doesn't take any arguments.

svn path=/trunk/mcs/; revision=11301
2003-02-07 12:12:39 +00:00
Martin Baulig 8b0ec138b9 Close() must not be called.
svn path=/trunk/mcs/; revision=11300
2003-02-07 12:03:56 +00:00
Martin Baulig 5d2fb1e870 2003-02-07 Martin Baulig <[email protected]>
* ModuleBuilder.cs (.ctor): Added `bool IsMainModule' argument.
	(Save): New internal method; creates the module's symbol file if
	we're compiling with debugging information.

	* AssemblyBuilder.cs (EmbedResource): Added internal overloaded
	version of this method which takes a `byte[] blob' instead of a file.
	(DefineDynamicMethod): If this is the first module, tell the
	ModuleBuilder that this is the main module.
	(Save): Call a new interncall `build_metadata' to create the final
	metadata and save all the symbol files before creating the actual
	output.

	* IMonoSymbolWriter.cs: New public class; it is in the namespace
	Mono.CSharp.Debugger.  The Mono symbol writer implements this interface.

svn path=/trunk/mcs/; revision=11299
2003-02-07 12:02:07 +00:00
Martin Baulig 3097649a23 2003-02-05 Martin Baulig <[email protected]>
* reflection.c (mono_image_build_metadata): Make this public,
	protect it against being called multiple times, don't create
	resources and don't build the compressed metadata here.
	(mono_image_create_pefile): Do this here.

	* icall.c
	("System.Reflection.Emit.AssemblyBuilder::build_metadata"): Added.

svn path=/trunk/mono/; revision=11298
2003-02-07 12:01:11 +00:00
Patrik Torstensson 2763585afc 2003-02-07 Patrik Torstensson
* Timer.cs: Set the background thread flag for the timer thread.

svn path=/trunk/mcs/; revision=11297
2003-02-07 11:50:06 +00:00
Martin Baulig d573355379 2003-02-07 Martin Baulig <[email protected]>
* MonoSymbolTableWriter.cs: Removed; the code is now in
	MonoSymbolFile.cs and MonoSymbolWriter.cs.

svn path=/trunk/mcs/; revision=11296
2003-02-07 11:42:08 +00:00
Martin Baulig 8776008885 2003-02-07 Martin Baulig <[email protected]>
* MonoSymbolFile.cs: The symbol file is now a resource in the
	assembly instead of a separate file.

	* MonoSymbolTable.cs: Did a few more cleanups, sort the line
	number table and remove duplicate line numbers.

svn path=/trunk/mcs/; revision=11295
2003-02-07 11:39:48 +00:00
Lluis Sanchez ad00cf6570 CADMessages.cs: Some minor changes that allow reuse of ObjRef methods.
svn path=/trunk/mcs/; revision=11294
2003-02-07 11:14:50 +00:00
Lluis Sanchez 36b567c8c9 * ChannelServices.cs: Added new constructor in ChannelInfoStore, that is used by
ObjRef to create a ChannelInfoStore with user provided channel info.

svn path=/trunk/mcs/; revision=11293
2003-02-07 11:14:23 +00:00
Lluis Sanchez 92b40c85a4 * Identity.cs: Added ObjRef attribute, that holds the objref of the object.
Removed implementation of CreateObjRef. Now it is implemented in the derived classes.
	* ServerIdentity.cs: Added implementation of CreateObjRef.
	* RemotingServices.cs: Changed implementation of GetRemoteObject and GetClientIdentity.
	  Now they only have and ObjRef as input parameter. This is the objref received from
	  the server. Unmarshal() also checks if the objref is for a well known object.
	  In this case, a proxy is always created, but if not, it tries to get the real object.
	* ObjRef.cs: Added some flags that have info for marshalling/unmarshalling.
	  Changed behavior of IsPossibleToCAD. Now returns false. Returning true makes serialization
	  of this ObjRef to fail in the target AD. Added method UpdateChannelInfo.

svn path=/trunk/mcs/; revision=11292
2003-02-07 11:12:12 +00:00
Jackson Harper 13999b6e73 * ILParser.jay: Allow assembly names to have lots of dashes.
svn path=/trunk/mcs/; revision=11291
2003-02-07 02:40:17 +00:00
Jackson Harper 82aa8b04de * ILParser.jay: Add dash token, allow assembly refs to have dashes in their names.
svn path=/trunk/mcs/; revision=11290
2003-02-07 02:36:20 +00:00
Jackson Harper 509c971225 * IlToken.cs: Add Dash Token (this is used for assembly names)
* ILTokenizer.cs: Return Dash token

svn path=/trunk/mcs/; revision=11289
2003-02-07 02:32:53 +00:00
Sebastien Pouliot 1fce1de9da 2003-02-06 Sebastien Pouliot <[email protected]>
* unix.args: Move some class from System.Security.Cryptography
	  into Mono.* for easier reuse.

svn path=/trunk/mcs/; revision=11287
2003-02-07 00:56:57 +00:00
Sebastien Pouliot bfae0b67e3 *** empty log message ***
svn path=/trunk/mcs/; revision=11286
2003-02-06 23:43:13 +00:00
Sebastien Pouliot 16151faef0 *** empty log message ***
svn path=/trunk/mcs/; revision=11285
2003-02-06 23:25:30 +00:00
Gonzalo Paniagua Javier 1fd1729bbd 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: don't call MapPathSecure when setting DocumentSource.

svn path=/trunk/mcs/; revision=11282
2003-02-06 18:50:13 +00:00
Gonzalo Paniagua Javier a386153efc 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: fixed bug #36322.

svn path=/trunk/mono/; revision=11280
2003-02-06 15:55:18 +00:00
Dick Porter 40fd4c2e1b Only look for iconv headers in well-defined locations
svn path=/trunk/mono/; revision=11279
2003-02-06 13:46:21 +00:00
Patrik Torstensson 304a621cd5 2002-02-06 Patrik Torstensson
* binwritter.cs : Tests binary writter and checks that correct data has been added to the array

svn path=/trunk/mono/; revision=11278
2003-02-06 13:25:47 +00:00
Patrik Torstensson 98ef547a55 Tests the binary writter functionality
svn path=/trunk/mono/; revision=11277
2003-02-06 12:34:49 +00:00
Jaime Anguiano Olarra 12d8f1b7c1 Little fixes.
svn path=/trunk/mcs/; revision=11276
2003-02-06 11:04:08 +00:00
Piers Haken e19a2f4016 2003-02-06 Piers Haken <[email protected]>
* appdomain.[ch]:
	* class.h:
	* debug-mono-symfile.c:
	* icall.c:
	* loader.c:
	* mono-config.c:
	* monosn.c:
	* reflection.c:
	* socket-io.c: warning cleanups

svn path=/trunk/mono/; revision=11275
2003-02-06 09:53:03 +00:00
Piers Haken afdfb23005 2003-02-06 Piers Haken <[email protected]>
* interp.c: warning cleanups

svn path=/trunk/mono/; revision=11274
2003-02-06 09:46:48 +00:00
Piers Haken fcc320c9f0 Thu Feb 6 02:43:23 PST 2003 Piers Haken <[email protected]>
* dump.c: more warning cleanups

svn path=/trunk/mono/; revision=11273
2003-02-06 09:45:01 +00:00
Piers Haken dbc3cd7b36 Thu Feb 6 02:43:23 PST 2003 Piers Haken <[email protected]>
* monograph.c: more warning cleanups

svn path=/trunk/mono/; revision=11272
2003-02-06 09:44:04 +00:00
Dietmar Maurer 437c186e60 2003-02-06 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_remoting_invoke_with_check): new
	function. works like remoting invoke, but does a check for the Proxy first.

svn path=/trunk/mono/; revision=11271
2003-02-06 08:56:50 +00:00
Miguel de Icaza 78f6ef1cce Commit kludges to get this to compile
svn path=/trunk/mcs/; revision=11270
2003-02-06 07:29:35 +00:00
Sebastien Pouliot bd02468d72 2003-02-05 Sebastien Pouliot <[email protected]>
* crypto: Updated for Mono.Security.Win32

svn path=/trunk/mono/; revision=11267
2003-02-06 03:56:29 +00:00
Sebastien Pouliot 40ab00b063 2003-02-05 Sebastien Pouliot <[email protected]>
* library.build: added Mono.Security.Win32 to build, test and
	clean. There's no makefile.gnu for this assembly as it is
	specific to Win32.

svn path=/trunk/mcs/; revision=11266
2003-02-06 03:46:37 +00:00
Dennis Hayes 13103b826e see last note
svn path=/trunk/mcs/; revision=11265
2003-02-06 03:45:10 +00:00
Dennis Hayes 0261aa4196 checkin for Alexandre Pigolkine, a lot more stuff working, see changelog for sample tests
svn path=/trunk/mcs/; revision=11264
2003-02-06 03:44:35 +00:00
Sebastien Pouliot 8b4eb21ba2 2003-02-05 Sebastien Pouliot <[email protected]>
* MD2CryptoServiceProviderTest.cs: New. Run the MD2Test
	unit tests using MD2CryptoServiceProvider class.
	* MD2Test.cs: New. Implement the test vectors included
	in RFC1319.
	* MD4CryptoServiceProviderTest.cs: New. Run the MD4Test
	unit tests using MD4CryptoServiceProvider class.
	* MD4Test.cs: New. Implement the test vectors included
	in RFC1320.
	* MD5CryptoServiceProviderTest.cs: New. Run the MD5Test
	unit tests using MD5CryptoServiceProvider class.
	* MD5Test.cs: New. Implement the test vectors included
	in RFC1321.
	* RandomNumberGeneratorTest.cs: New. FIPS140 randomness
	tests.
	* SHA1CryptoServiceProviderTest.cs: New. Run the SHA1Test
	unit tests using SHA1CryptoServiceProvider class.
	* SHA1Test.cs: New. Implement the test vectors included
	in FIPS186.

svn path=/trunk/mcs/; revision=11263
2003-02-06 03:42:35 +00:00
Sebastien Pouliot 968326449f 2003-02-05 Sebastien Pouliot <[email protected]>
* Mono.Security.Win32_test.build: New. NAnt build file
	for unit tests.

svn path=/trunk/mcs/; revision=11262
2003-02-06 03:36:45 +00:00
Gonzalo Paniagua Javier a02b43a1e8 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: display the error instead of hanging when we get
	any error before the last step of the request.

svn path=/trunk/mcs/; revision=11261
2003-02-06 03:32:28 +00:00
Gonzalo Paniagua Javier 47e29c2de0 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* error.c: added WSA_EHOSTUNREACH mapping.

svn path=/trunk/mono/; revision=11260
2003-02-06 03:28:26 +00:00
Sebastien Pouliot 84b1abff2e 2003-02-05 Sebastien Pouliot <[email protected]>
* CapiContext.cs: New. Class to acquire and release an
	  unmanaged context with CryptoAPI.
	* CapiHash.cs: New. Base class to handle hash algorithms.
	* CapiRandomNumberGenerator.cs: New. Base class to handle
	  random number generation.
	* CryptoAPI.cs: Wrapper class around CryptoAPI.
	* MD2.cs: Abstract class for Message Digest 2 (RFC1319).
	* MD2CryptoServiceProvider.cs: Unmanaged MD2 implementation.
	* MD4.cs: Abstract class for Message Digest 4 (RFC1320).
	* MD4CryptoServiceProvider.cs: Unmanaged MD4 implementation.
	* MD5CryptoServiceProvider.cs: Unmanaged MD5 implementation.
	* RNGCryptoServiceProvider.cs: Unmanaged RNG implementation.
	* MD2CryptoServiceProvider.cs: Unmanaged SHA1 implementation.

svn path=/trunk/mcs/; revision=11259
2003-02-06 03:27:34 +00:00
Sebastien Pouliot 7d71cacbf6 2003-02-05 Sebastien Pouliot <[email protected]>
* Mono.Security.Win32.build: New. NAnt build file. As this
	  assembly works only on Windows there are no makefile.gnu.
	* README: New. Describe how to use (and not to use) this
	  assembly.

svn path=/trunk/mcs/; revision=11258
2003-02-06 03:24:43 +00:00
Gonzalo Paniagua Javier 9019e3ef4c 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10065 (WSA_EHOSTUNREACH).

svn path=/trunk/mcs/; revision=11257
2003-02-06 03:23:16 +00:00
Rafael Teixeira 1a9671a17d One more test file
svn path=/trunk/mcs/; revision=11256
2003-02-06 03:13:49 +00:00
Alvaro del Castillo fe14fa4e67 2003-02-05 Alvaro del Castillo <[email protected]>
* System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:
        * System.Runtime.Remoting.Channels.Tcp/TcpMessageIO.cs:
        * System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:
        Change MessageType to MessageStatus so the code is
        more clear

svn path=/trunk/mcs/; revision=11254
2003-02-05 22:00:42 +00:00
Gonzalo Paniagua Javier 8471f1a9c4 Initial check-in
svn path=/trunk/mcs/; revision=11253
2003-02-05 21:14:53 +00:00
Miguel de Icaza 1a7bf72ecc 2003-02-05 Miguel de Icaza <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Make it compiler.

svn path=/trunk/mono/; revision=11251
2003-02-05 19:54:50 +00:00
Miguel de Icaza 543db8aa8b Ilasm removal from the build for now
svn path=/trunk/mcs/; revision=11250
2003-02-05 19:51:25 +00:00
Dietmar Maurer bb511d6f99 new test
svn path=/trunk/mono/; revision=11249
2003-02-05 18:57:03 +00:00
Miguel de Icaza b611714b1a flus
svn path=/trunk/mono/; revision=11247
2003-02-05 17:58:52 +00:00
Ville Palo d3bb75b952 fixed little typo
svn path=/trunk/mcs/; revision=11246
2003-02-05 16:34:00 +00:00
Ville Palo 44a75306a6 2003-02-05 Alan Tam <[email protected]>
* DesignedCategoryAttribute.cs: Implemented DesignerCategoryAttribute

svn path=/trunk/mcs/; revision=11245
2003-02-05 16:07:23 +00:00
Ville Palo 79ed95c592 2003-02-05 Alan Tam <[email protected]>
* DataSet.cs: Added framework for DataSet.Update Implemented missing
	methods GetSchemaSerializable, GetSerializationData,
	ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
	for DataSet
	* DataTable.cs: Implemented missing methods CreateInstance and
	GetRowType for DataTable

svn path=/trunk/mcs/; revision=11244
2003-02-05 15:48:57 +00:00
Dietmar Maurer f13f62ef20 added some docu
svn path=/trunk/mono/; revision=11243
2003-02-05 14:44:03 +00:00
Dietmar Maurer c60f8a4cd8 2003-02-05 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): only allocate an
	array of pointers.
	(mono_marshal_get_ldfld_wrapper): only generate necessary ldfld wrappers.
	(mono_marshal_get_stfld_wrapper): only generate necessary stfld wrappers.

svn path=/trunk/mono/; revision=11242
2003-02-05 14:34:18 +00:00
Dietmar Maurer 9d2fdc34b7 2003-02-05 Dietmar Maurer <[email protected]>
* object.c (mono_store_remote_field_new): used by the new jit
	instead of mono_store_remote_field
	(mono_load_remote_field_new): used by the new jit
	instead of mono_load_remote_field

svn path=/trunk/mono/; revision=11241
2003-02-05 13:12:20 +00:00
Gonzalo Paniagua Javier d68037daf4 InternalUnload is private
svn path=/trunk/mcs/; revision=11240
2003-02-05 10:45:18 +00:00
Patrik Torstensson 14c8194db3 2003-02-05 Patrik Torstensson
* ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool.

svn path=/trunk/mcs/; revision=11239
2003-02-05 10:43:51 +00:00
Patrik Torstensson 3f3317a3fa 2003-02-05 Patrik Torstensson
* AppDomain.cs: Partly fixed the unload method

svn path=/trunk/mcs/; revision=11238
2003-02-05 10:18:03 +00:00
Patrik Torstensson 5d2b8cb11f 2003-02-05 Patrik Torstensson
* appdomain.c: changed unload to take the domain id instead
	of domain

	* icall.c: changed icall for AppDomain.Unload to AppDomain.InternalUnload

svn path=/trunk/mono/; revision=11237
2003-02-05 10:15:28 +00:00
Patrik Torstensson f367581fc6 2003-02-05 Patrik Torstensson
* appdomain3.cs: Added test for unload of a appdomain

svn path=/trunk/mono/; revision=11236
2003-02-05 10:10:37 +00:00
Gonzalo Paniagua Javier 3a7c87f7ec 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: don't look for assemblies in ApplicationBase if
	PrivateBinPathProbe is set.

svn path=/trunk/mono/; revision=11232
2003-02-05 04:04:27 +00:00
Sebastien Pouliot fdc039e905 2003-03-04 Sebastien Pouliot <[email protected]>
* crypto: Updated crypto status page. Added some details.

svn path=/trunk/mono/; revision=11231
2003-02-05 03:59:12 +00:00
Gonzalo Paniagua Javier 602b47f906 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: remove "file://" from the private bin path. Fixes
	bug #37628.

svn path=/trunk/mcs/; revision=11230
2003-02-05 03:49:19 +00:00
Sebastien Pouliot 572fe3eb74 2003-03-04 Sebastien Pouliot <[email protected]>
* CryptoConfigTest.cs: Added new tests for algorithms
	documented in book ".NET Framework Security".

svn path=/trunk/mcs/; revision=11229
2003-02-05 03:40:23 +00:00
Sebastien Pouliot 3f9d0cab18 2003-03-04 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Added initital support for "machine.config"
	(limited to algorithms, not OIDs). Modified CreateFromName to use
	the fully qualified class names (and removed xmldsig hack). Added
	algorithm names documented in book ".NET Framework Security".

svn path=/trunk/mcs/; revision=11228
2003-02-05 03:38:17 +00:00
Jackson Harper 7bbf9b93bf Add Header, put in a namespace
svn path=/trunk/mcs/; revision=11227
2003-02-05 02:58:25 +00:00
Jackson Harper 8f4c2fff01 Use .il files not .cs ;-)
svn path=/trunk/mcs/; revision=11226
2003-02-05 02:54:54 +00:00
Jackson Harper 1104e5742c * HelloWorld.il: Remove
* test-1.il: New test
        * makefile: Added file

svn path=/trunk/mcs/; revision=11225
2003-02-05 02:51:23 +00:00
Sebastien Pouliot adc6f48f54 2003-02-04 Sebastien Pouliot <[email protected]>
* Module.cs: Corrected indentation for class.

svn path=/trunk/mcs/; revision=11224
2003-02-05 02:27:03 +00:00
Martin Baulig 7dd3e6254e 2003-02-05 Martin Baulig <[email protected]>
Modified the symbol file format to speed up method looks by name
	and cleaned this up a lot.

	* MonoSymbolFile.cs: New public class.  This is now a public class
	and writes and reads the symbol file.

	* IMonoBinaryReader.cs: Removed.

	* MonoSymbolTable.cs: Set version number to 29.

svn path=/trunk/mcs/; revision=11223
2003-02-05 01:27:18 +00:00
Lluis Sanchez e1a95712c4 MessageFormatter.cs: Corrected some bugs that affected serialization of exceptions
svn path=/trunk/mcs/; revision=11222
2003-02-05 01:21:43 +00:00
Lluis Sanchez 53653fa9f7 CrossAppDomainChannel.cs: Corrected CADSerializer.DeserializeMessage.
Now it uses the method DeserializeMethodResponse to deserialize the message when the msg is provided.

svn path=/trunk/mcs/; revision=11221
2003-02-05 01:20:23 +00:00
Lluis Sanchez fbba486d1b ReturnMessage.cs, MethodResponse.cs: OutArgs initialized to an empty array when the the message returns an exception.
svn path=/trunk/mcs/; revision=11220
2003-02-05 01:19:35 +00:00
Gonzalo Paniagua Javier 751a50cc8f 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
* object.c: make the first argument in main_args contain the absolute
	path to the assembly. Fixes bug #37511.

svn path=/trunk/mono/; revision=11219
2003-02-05 01:12:31 +00:00
Gonzalo Paniagua Javier b7312b9149 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
* RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
	for reporting the bug and providing the fix.

svn path=/trunk/mcs/; revision=11217
2003-02-05 00:02:45 +00:00
Gonzalo Paniagua Javier 6980211f12 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* icall.c: get correct UTC offset for countries not using daylight
	time saving. Fixes bug #30030.

svn path=/trunk/mono/; revision=11216
2003-02-04 22:55:28 +00:00
Gonzalo Paniagua Javier f423cb7491 oops.
svn path=/trunk/mcs/; revision=11215
2003-02-04 20:31:56 +00:00
Gonzalo Paniagua Javier f023ea9bdd 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs:
	(check_type): return true when the target type is object and the source
	is a value type.

svn path=/trunk/mcs/; revision=11214
2003-02-04 20:26:22 +00:00
Gonzalo Paniagua Javier a95e5d1b25 2003-02-04 Tim Haynes <[email protected]>
* System.Web/HttpApplicationFactory.cs: fixed HttpRuntime.Close() to
	decrement instance counter.

	* System.Web.Hosting/SimpleWorkerRequest.cs: changed the initialised
	values of _App{Install,Virtual}Path variables

svn path=/trunk/mcs/; revision=11212
2003-02-04 17:05:45 +00:00
Piers Haken ca26c4d1e9 2003-01-04 Piers Haken <[email protected]>
* Parser.*: Remove extraneous "using" that was stopping the build. Permanently thisi time ;-)

svn path=/trunk/mcs/; revision=11211
2003-02-04 16:06:11 +00:00
Nick Drochak a5a0060d0a 2003-02-05 Nick Drochak <[email protected]>
* StringBuilderTest.cs: Test for specific exception using Nunit verson
	2 style Attribute.

svn path=/trunk/mcs/; revision=11210
2003-02-04 15:27:38 +00:00
Nick Drochak c835b2ebb3 2003-02-05 Nick Drochak <[email protected]>
* FileTest.cs: Have setup remove files before testing as well in case
	tests were interrupted before TearDown could be called in a previous
	run. Also test for specific exception in TestGetCreationTime ().

svn path=/trunk/mcs/; revision=11209
2003-02-04 15:25:50 +00:00
Nick Drochak 5ef5d397e8 2003-02-05 Nick Drochak <[email protected]>
* StringTest.cs: Remove compiler warnings.

svn path=/trunk/mcs/; revision=11208
2003-02-04 15:22:23 +00:00
Gonzalo Paniagua Javier 04a0ff9629 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: added check for sys/un.h.
	* mono/metadata/socket-io.c: support AF_UNIX and use the same layout as
	MS, not the one they documented (bytes 0 and 1 are the family).

svn path=/trunk/mono/; revision=11207
2003-02-04 15:20:14 +00:00
Gonzalo Paniagua Javier 29039ab97c 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* SocketAddress.cs: byte 1 of the data is the high byte of the family,
	not the size.

svn path=/trunk/mcs/; revision=11206
2003-02-04 15:19:52 +00:00
Lluis Sanchez 28045640e4 ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
svn path=/trunk/mcs/; revision=11205
2003-02-04 14:57:10 +00:00
Ville Palo b8a42023ba 2003-04-02 Ville Palo <[email protected]>
* DataColumnTest.cs: Added tests for Expression property

svn path=/trunk/mcs/; revision=11204
2003-02-04 14:14:45 +00:00
Patrik Torstensson 94b77d4c86 2002-02-04 Patrik Torstensson
* AppDomain.cs: Miss in last commit, fixed.

svn path=/trunk/mcs/; revision=11203
2003-02-04 13:59:39 +00:00
Patrik Torstensson de2c88c52b 2002-02-04 Patrik Torstensson
* AppDomain.cs : Fixed InitializeLifetimeServices

svn path=/trunk/mcs/; revision=11202
2003-02-04 13:43:34 +00:00
Lluis Sanchez 733b2baac6 unix.args: added ServerIdentity.cs, Lease.cs, LeaseManager.cs
svn path=/trunk/mcs/; revision=11201
2003-02-04 12:55:58 +00:00
Lluis Sanchez 1a0f25be2f MessageFormatter.cs: Implemented serialization of message properties.
svn path=/trunk/mcs/; revision=11200
2003-02-04 12:55:02 +00:00
Lluis Sanchez a07c9658be * ServerContextTerminatorSink.cs: Modified to work with new types of identities.
* ReturnMessage.cs: Removed internal dependence to MonoMethodMessage. It is not needed now.
* MonoMethodMessage.cs: Now only has method call keys in the dictionary.
* MethodReturnDictionary.cs, MethodCallDictionary.cs: Made public the list of
  method keys. This list is used in MessageFormatter.
* MethodDictionary.cs: Corrected some minor bugs.
* MethodCall.cs: minor correction on constructor.

svn path=/trunk/mcs/; revision=11199
2003-02-04 12:54:31 +00:00
Lluis Sanchez afe496c9cd * LifetimeServices.cs: Implemented all methods.
* LeaseSink.cs: implemented renewal of lease.
* Lease.cs: Added. It is an implementation of ILease.
* LeaseManager.cs: Added. Tracks lifetime of remote objects.

svn path=/trunk/mcs/; revision=11198
2003-02-04 12:53:28 +00:00
Lluis Sanchez 1a2726468d ChannelServices.cs: Modified to work with new types of identities.
svn path=/trunk/mcs/; revision=11197
2003-02-04 12:52:48 +00:00
Lluis Sanchez 92f56eacf1 * Identity.cs: created and identity class for each identity type. It is a more clear design.
* ServerIdentity.cs: added. Implements identity funtionality specific to server objects
* RemotingServices.cs: Modified to work with new types of identities.
* RemotingConfiguration.cs: Modified to work with new types of identities.
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.

svn path=/trunk/mcs/; revision=11196
2003-02-04 12:52:16 +00:00
Lluis Sanchez 4ae27e4746 MarshalByRefObject.cs: Implemented GetLifetimeService() and
InitializeLifetimeService().

svn path=/trunk/mcs/; revision=11195
2003-02-04 12:50:59 +00:00
Dietmar Maurer 381cb28ed9 2003-02-04 Dietmar Maurer <[email protected]>
* icall.c (ves_icall_InternalExecute): removed wrong assertion

svn path=/trunk/mono/; revision=11194
2003-02-04 12:05:34 +00:00
Dietmar Maurer 143f8f0b56 2003-02-04 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_remoting_invoke): generate valid IL

svn path=/trunk/mono/; revision=11193
2003-02-04 11:31:22 +00:00
Zoltan Varga 291693e4c2 2003-02-04 Zoltan Varga <[email protected]>
* reflection.c: added support for SignatureHelper tokens, which is
	needed by the Calli opcode.

	* reflection.h: track changes to SignatureHelper class.

	* metadata.c (mono_metadata_parse_signature): handle dynamic tokens.

svn path=/trunk/mono/; revision=11192
2003-02-04 10:39:43 +00:00
Zoltan Varga 28c52a2734 2003-02-04 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: added GetToken (SignatureHelper).

	* ILGenerator.cs: implemented EmitCalli() methods

	* SignatureHelper.cs: implemented GetMethoSigHelper() methods.

svn path=/trunk/mcs/; revision=11191
2003-02-04 10:33:54 +00:00
Jackson Harper 977debae0a Remove some debugging info.
svn path=/trunk/mcs/; revision=11190
2003-02-04 05:50:08 +00:00
Jackson Harper ea5fdf9b78 Added file
svn path=/trunk/mcs/; revision=11189
2003-02-04 04:35:20 +00:00
Sebastien Pouliot f79cea3342 2003-02-03 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytesTest.cs: Added some new tests to complete
	coverage.
	* RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
	invalid	hash algorithm.

svn path=/trunk/mcs/; revision=11188
2003-02-04 03:15:55 +00:00
Sebastien Pouliot a910c16579 2003-02-03 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytes.cs: Finally got the derivation right. The
	class can now derive keys up to 1000 * HashSize (same limit as MS).
	* RSAPKCS1SignatureDeformatter.cs: No need to create the hash object
	in this class - the OID is enough.

svn path=/trunk/mcs/; revision=11187
2003-02-04 03:15:02 +00:00
Gonzalo Paniagua Javier 26b9f436da 2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: fixed loading assemblies from PrivateBinPath.

svn path=/trunk/mono/; revision=11185
2003-02-04 00:40:42 +00:00
Miguel de Icaza 41d6cb2429 New changes from Daniel Campos
svn path=/trunk/mcs/; revision=11184
2003-02-03 23:31:15 +00:00
Ville Palo dc68c49234 2003-02-03 Ville Palo <[email protected]>
* DataSet.cs: Implemented private method MapType for
	mapping datatypes for XmlSchema

svn path=/trunk/mcs/; revision=11180
2003-02-03 19:04:16 +00:00
Rafael Teixeira 7c9544a066 2003/02/03 Rafael Teixeira <[email protected]>
* rootcontext.cs : added RootNamespace member
	* mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
	* driver.cs : 
		- implement rootnamespace parameter, and defaults it to the output file name
		- like vbc if no source file name is provided just show help

svn path=/trunk/mcs/; revision=11179
2003-02-03 18:56:53 +00:00
Gonzalo Paniagua Javier 0aa568cbf4 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* RemotingServices.cs:
	(GetMethodBaseFromMethodMessage): fixed to make it also work with
	internal methods without MethodSignature (see ApplicationHost.cs).

svn path=/trunk/mcs/; revision=11178
2003-02-03 18:43:10 +00:00
Ville Palo 83ece2d548 2003-03-02 Ville Palo <[email protected]>
* DataTableTest.cs: More tests for Select

svn path=/trunk/mcs/; revision=11170
2003-02-03 15:02:52 +00:00
Patrik Torstensson ecfe611a06 2003-02-03 Patrik Torstensson
* corlib.build: fixes so corlib_cmp and corlib_res builds, need to
	  check if we need the libs and if they still are correct.

svn path=/trunk/mcs/; revision=11169
2003-02-03 13:42:54 +00:00
Gonzalo Paniagua Javier 3d026cf5f0 oops. this is a bug in mcs
svn path=/trunk/mono/; revision=11168
2003-02-03 12:15:29 +00:00
Gonzalo Paniagua Javier 96fb9d17c7 fixed typo
svn path=/trunk/mono/; revision=11167
2003-02-03 12:07:52 +00:00
Patrik Torstensson 14994a5e46 Ooops, missed one file.
svn path=/trunk/mcs/; revision=11166
2003-02-03 11:41:16 +00:00
Patrik Torstensson ca8a4053d8 2003-02-03 Patrik Torstensson
* unix.args: added CADMessages.cs

svn path=/trunk/mcs/; revision=11165
2003-02-03 11:39:57 +00:00
Patrik Torstensson 732cf985ac 2003-02-03 Patrik Torstensson
* TrackingServices.cs: Implemented

svn path=/trunk/mcs/; revision=11164
2003-02-03 11:39:13 +00:00
Patrik Torstensson c373391049 2003-02-03 Patrik Torstensson
* Context.cs : Changed order of fields to match the runtime implementation.

svn path=/trunk/mcs/; revision=11163
2003-02-03 11:38:36 +00:00
Patrik Torstensson 740b00069e 2003-02-03 Patrik Torstensson
* CrossAppDomainChannel.cs: Implemented cross appdomain marshalling via cross
	app domain messages (smuggling objects between domains)

svn path=/trunk/mcs/; revision=11162
2003-02-03 11:37:44 +00:00
Patrik Torstensson 920df63be7 2003-02-03 Patrik Torstensson
* MethodResponse.cs: Implemented
	* MethodCall.cs: added support for Cross appdomain messages, implemented some
	missing methods.
	* MethodDictionary.cs: made serializible and added methods to get internal properties.
	* MonoMethodMessage.cs: internal dictionary is now serializible
	* ReturnMessage.cs: made serializible
	* ErrorMessage.cs: typo fix

	* CADMessage.cs: new file, implements cross appdomain messages, both call and return.
	Princip of this classes is to move unmutable objects and primitivs between appdomains
	without marshalling. This increase performance a lot of the cross appdomain channel.

svn path=/trunk/mcs/; revision=11161
2003-02-03 11:36:55 +00:00
Patrik Torstensson f69d6386e1 2003-02-03 Patrik Torstensson
* ObjRef.cs: added copy constructor and two helpers for cross
	  appdomain message marshalling.
	* RemotingServices.cs: Added helper to create transparant proxy for appdomain, and
	  register internal cross appdomain channel.

svn path=/trunk/mcs/; revision=11160
2003-02-03 11:34:52 +00:00
Patrik Torstensson a48c6975d2 2003-02-03 Patrik Torstensson
* AppDomain.cs: New internalcalls for handling domain/context switches

	* AppDomain.cs (CreateDomain): Return transparant proxy for appdomain object

svn path=/trunk/mcs/; revision=11159
2003-02-03 11:33:04 +00:00
Patrik Torstensson 7da3e9a1bf 2002-02-03 Patrik Torstensson
* Appdomain1-2.cs: Updated tests to work on MS.Net
        * Remoting4.cs: real cross appdomain test case

svn path=/trunk/mono/; revision=11158
2003-02-03 11:31:22 +00:00
Patrik Torstensson d83b90fc3a 2003-02-03 Patrik Torstensson
* RealProxy.cs: changed excption behavior and added serialization helpers,
	  changed so it don't create a new TP for each gettp call.

	* RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
	same behavior as MS.

svn path=/trunk/mcs/; revision=11157
2003-02-03 11:22:13 +00:00
Patrik Torstensson da7de19756 2003-02-03 Patrik Torstensson
* appdomain.[c|h], domain.c :
	 - Added support for getting a domain via domain id
	 - Support for setting and getting domain from System.AppDomain
	   (used in cross appdomain channel)
	 - Added support for get/set for a MonoAppContext on a thread
	   (Context class in System.Runtime.Remoting.Contexts),
	 - Removed hack in Get/SetData and ExecuteAssembly.

	* icall.c : renamed GetTransparantProxy to InternalGetTransparantProxy to allow
	the managed world to get control when a proxy is created.

	* icall.c (ves_icall_InternalExecute) : bug fix, must return empty array

svn path=/trunk/mono/; revision=11156
2003-02-03 10:15:14 +00:00
Patrik Torstensson dc6eea68df 2003-02-03 Patrik Torstensson
* x86.brg, jit.c, jit.h: Add support for transparant proxies in non-virtual method calls.

svn path=/trunk/mono/; revision=11155
2003-02-03 10:01:24 +00:00
Patrik Torstensson 6ba0618bd1 2003-02-03 Patrik Torstensson
* Binder.cs: minimize locking time in DefaultBinder.

svn path=/trunk/mcs/; revision=11154
2003-02-03 09:55:49 +00:00
Miguel de Icaza 8d034a2489 Revert patch until I debug it properly
svn path=/trunk/mcs/; revision=11153
2003-02-03 08:51:09 +00:00
Miguel de Icaza d0f3e118b6 2003-02-03 Miguel de Icaza <[email protected]>
* driver.cs: (AddAssemblyAndDeps, LoadAssembly): Enter the types
	from referenced assemblies as well.

svn path=/trunk/mcs/; revision=11152
2003-02-03 08:37:36 +00:00
Miguel de Icaza da2c3a6148 2003-02-03 Miguel de Icaza <[email protected]>
* icall.c
	(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
	Populate the codebase field as well.

svn path=/trunk/mono/; revision=11151
2003-02-03 08:12:15 +00:00
Piers Haken a1f3ff1b3c 2003-02-02 Piers Haken <[email protected]>
* Parser.jay: add token names
	* Tokenizer.cs: fix NCName tokenization

svn path=/trunk/mcs/; revision=11150
2003-02-03 04:44:09 +00:00
Gonzalo Paniagua Javier 4477135bd8 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* XmlTextWriter.cs: implemented WriteRaw (char[], int, int).

svn path=/trunk/mcs/; revision=11149
2003-02-03 02:43:09 +00:00
Gonzalo Paniagua Javier 96e4a7df36 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* DataView.cs: implemented Dispose.

svn path=/trunk/mcs/; revision=11148
2003-02-03 02:42:11 +00:00
Gonzalo Paniagua Javier 9119c83a15 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* System/AppDomain.cs: implemented AppendPrivatePath, ClearPrivatePath
	and ClearShadowCopyPath and fixed GetType ().

	* System/Attribute.cs: clean up.

	* System/Console.cs: removed UnixConsoleEncoding. Use Default.
	* System.IO/MemoryStream.cs: create the buffer of the specified capacity.
	* System.Text/Encoding.cs: removed UnixConsoleEncoding.

svn path=/trunk/mcs/; revision=11147
2003-02-03 02:38:48 +00:00
Gonzalo Paniagua Javier 3444afed80 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspParser.cs: the parser fires events when it
	parses an element.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs:
	* System.Web.Compilation/AspElements.cs: modified to use the new parser
	interface.

	* System.Web.Compilation/AspGenerator.cs: modified to use the new
	parser. Merge multiple text strings into one single LiteralControl.

	* System.Web.Compilation/AspTokenizer.cs: added Line and Column properties.

svn path=/trunk/mcs/; revision=11146
2003-02-03 02:25:00 +00:00
Martin Baulig 56b1967181 2003-02-02 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_wrapper): Lookup the wrapper method in a
	hash table; we need to provide the correct code_size.

svn path=/trunk/mono/; revision=11137
2003-02-02 22:03:54 +00:00
Martin Baulig 0d9f92981e 2003-02-02 Martin Baulig <[email protected]>
* jit.c (mono_jit_compile_method): Call mono_debug_add_wrapper()
	to add the interncall to the symbol file.

	* debug.c (mono_debug_add_wrapper): New public function.

svn path=/trunk/mono/; revision=11126
2003-02-02 21:16:23 +00:00
Martin Baulig 397438b8a3 2003-02-02 Martin Baulig <[email protected]>
* debug-mono-symfile.c
	(MonoSymbolFileMethodAddress): Added `wrapper_address' field.
	(mono_debug_symfile_add_method): Allow interncalls.

svn path=/trunk/mono/; revision=11125
2003-02-02 21:13:33 +00:00
Jackson Harper b23544072e Resolve parameter types in a more proper manner.
svn path=/trunk/mcs/; revision=11124
2003-02-02 21:00:14 +00:00
Jackson Harper 2edd8bd986 Add ChangeLog, Add HelloWorld.il test
svn path=/trunk/mcs/; revision=11123
2003-02-02 20:56:00 +00:00
Jackson Harper 33ebce22dd Makfile update
svn path=/trunk/mcs/; revision=11122
2003-02-02 20:42:47 +00:00
Jackson Harper fd98e6bc3a Use new Driver.cs instead of Main.cs
svn path=/trunk/mcs/; revision=11121
2003-02-02 20:40:27 +00:00
Jackson Harper 2addf865bd Add ChangeLog
svn path=/trunk/mcs/; revision=11120
2003-02-02 20:37:21 +00:00
Jackson Harper 498b451aaa * ILParser.jay: Add call instruction, other little fixes and additions
svn path=/trunk/mcs/; revision=11119
2003-02-02 20:35:26 +00:00
Jackson Harper 1316af00ea * Class.cs: Don't try to emit methods if we don't have any
* Class.cs: Test for entry point of methods, and set Assembly entrypoint
        * CodeGen.cs: Add method to set an Assemblys entry point
        * Method.cs: Add IsEntryPoint property
        * Method.cs Add MethodInfo property, and set this while Emiting
        * Instructions.cs: Add new InstrCall instruction

svn path=/trunk/mcs/; revision=11118
2003-02-02 20:34:05 +00:00
Jackson Harper 9e0c7f5d4a Addnew Driver, Add new tests directory
svn path=/trunk/mcs/; revision=11117
2003-02-02 20:32:05 +00:00
Jackson Harper 29f2c53ff9 Add ChangeLog
svn path=/trunk/mcs/; revision=11116
2003-02-02 20:30:12 +00:00
Atsushi Eno 09dfd131ee 2003-02-03 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added TestQuoteChar.

svn path=/trunk/mcs/; revision=11113
2003-02-02 15:50:48 +00:00
Atsushi Eno b2a88c3d96 2003-02-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : implemented QuoteChar.

svn path=/trunk/mcs/; revision=11112
2003-02-02 15:49:49 +00:00
Martin Baulig f41b9f3b0d 2003-02-02 Martin Baulig <[email protected]>
* debug.c (debug_update_il_offsets): Set the prologue end address
	to the address of the first source line.

svn path=/trunk/mono/; revision=11111
2003-02-02 12:21:02 +00:00
Sebastien Pouliot aac3846615 2003-02-01 Sebastien Pouliot <[email protected]>
* AsymmetricSignatureFormatter.cs: Call abstract SetHashAlgorithm
	when CreateSignature(hash) is called.
	* CryptoStream.cs: Fixed some issues in constructor.
	* DSACryptoServiceProvider.cs: Fixed a bug (1 chance in 256) that
	a signature could be less than 40 bytes (which is invalid).

svn path=/trunk/mcs/; revision=11107
2003-02-02 04:26:31 +00:00
Sebastien Pouliot 5d67a8951c 2003-02-01 Sebastien Pouliot <[email protected]>
* Modules.cs: Oups - not implemented. Added MonoTODO to most methods
	so it's real status get reflected correctly on the web site.

svn path=/trunk/mcs/; revision=11106
2003-02-02 01:42:26 +00:00
Gonzalo Paniagua Javier a2adff0968 2003-02-01 Gonzalo Paniagua Javier <[email protected]>
* Attribute.cs: fixed all IsDefined overloads. Gotta fix
	GetCustomAttributes later.

svn path=/trunk/mcs/; revision=11101
2003-02-01 20:26:25 +00:00
Jackson Harper db2ea89c64 Check access levels when resolving types
svn path=/trunk/mcs/; revision=11100
2003-02-01 18:40:51 +00:00
Gonzalo Paniagua Javier dc6a01e022 Added a few methods needed to compile s.w.f in *nix
svn path=/trunk/mcs/; revision=11094
2003-02-01 17:04:11 +00:00
Miguel de Icaza e6d2ec934b remove some warnings from now
svn path=/trunk/mcs/; revision=11093
2003-02-01 17:01:03 +00:00
Miguel de Icaza 5923d0b7e2 Add stub method
svn path=/trunk/mcs/; revision=11092
2003-02-01 17:00:51 +00:00
Marco Ridoni 41a116c1aa AddHandler is now a statement of its own and is no more emulated in the
grammar (even if it still needs a hook in the parser).
Event declaration has been added
Fixed a few bugs in the grammar and in FixuPtypes, a helper function used
to declare fields and local vars.

svn path=/trunk/mcs/; revision=11091
2003-02-01 13:02:49 +00:00
Paolo Molaro 70f5e65794 Sat Feb 1 10:59:31 CET 2003 Paolo Molaro <[email protected]>
* alpha/*: update from Laramie.

svn path=/trunk/mono/; revision=11090
2003-02-01 10:02:52 +00:00
Jackson Harper 439f02a687 Add parameters and locals set in catch blocks that might return to set vector
svn path=/trunk/mcs/; revision=11089
2003-02-01 06:25:42 +00:00
Dennis Hayes 51388d30b5 updates
svn path=/trunk/mcs/; revision=11088
2003-02-01 03:23:48 +00:00
Dennis Hayes a439987511 check in for Alexandre Pigolkine
svn path=/trunk/mcs/; revision=11087
2003-02-01 03:16:04 +00:00
Gonzalo Paniagua Javier c7a7abbd69 2003-01-31 Gonzalo Paniagua Javier <[email protected]>
* icall.c: throw parse exception if strtod fails or the string is empty.

svn path=/trunk/mono/; revision=11086
2003-01-31 18:38:14 +00:00
Dietmar Maurer 6b0ad0d55c 2003-01-31 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): use the wrapper signature if necessary

svn path=/trunk/mono/; revision=11085
2003-01-31 16:25:27 +00:00
Zoltan Varga 1a82e8962d 2003-01-31 Zoltan Varga <[email protected]>
* debug.c (mono_debug_open_image): dynamic assemblies have no debug
	info.

svn path=/trunk/mono/; revision=11084
2003-01-31 16:06:42 +00:00
Paolo Molaro f9f4c98f73 Fri Jan 31 16:09:48 CET 2003 Paolo Molaro <[email protected]>
* marshal.c: handle object type separately from defined
	class types.

svn path=/trunk/mono/; revision=11082
2003-01-31 15:14:05 +00:00
Paolo Molaro 85303f3dbe Fri Jan 31 16:01:20 CET 2003 Paolo Molaro <[email protected]>
* marshal.c: handle NATIVE_LPSTR for strings when it's
	explicitly specified.

svn path=/trunk/mono/; revision=11081
2003-01-31 15:05:06 +00:00
Ville Palo 6f586f97a4 2003-31-01 Ville Palo <[email protected]>
* DataTableTest.cs: Added more tests for Select (string) -method

svn path=/trunk/mcs/; revision=11080
2003-01-31 14:58:11 +00:00
Paolo Molaro 4db261914c Fri Jan 31 11:51:43 CET 2003 Paolo Molaro <[email protected]>
* reflection.c, reflection.h, icall.c: setup the reflection
	handle cache for ModuleBuilders and AssemblyBuilders.

svn path=/trunk/mono/; revision=11078
2003-01-31 10:57:38 +00:00
Patrik Torstensson 13a1207724 2003-01-31 Patrik Torstensson
* MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
	the same way as MS does it (performance improvement)

svn path=/trunk/mcs/; revision=11077
2003-01-31 10:37:40 +00:00
Patrik Torstensson f9e42fda70 2003-01-31 Patrik Torstensson
* Buffer.cs: Changed access level of BlockCopyInternal

svn path=/trunk/mcs/; revision=11076
2003-01-31 10:36:05 +00:00
Zoltan Varga 31409415b5 2003-01-31 Zoltan Varga <[email protected]>
* ArrayList.cs (RemoveAt): duplicated the the code from RemoveRange
	here, since RemoveAt raises a different exception than RemoveRange
	when the index is out-of-range. Fixes the ArrayList unit tests.

	* ArrayList.cs (RemoveRange): fixed indentation.

svn path=/trunk/mcs/; revision=11075
2003-01-31 10:20:30 +00:00
John Sohn 873bdef67f * README: updated for latest WineLib and Mono
svn path=/trunk/mcs/; revision=11074
2003-01-31 07:24:27 +00:00
John Sohn 0be5e85d0c * makefile: cleaned and reduced dependencies to hard-coded paths
* monostub.c: updated for compliance with the latest Mono and WineLib

svn path=/trunk/mcs/; revision=11073
2003-01-31 07:22:30 +00:00
Sebastien Pouliot 1c316f3ee4 2003-01-30 Sebastien Pouliot <[email protected]>
* X509CertificateCollection.cs: Replaced the use of the private
	ArrayList by the protected InnerList (from CollectionBase) so
	Count property now works.

svn path=/trunk/mcs/; revision=11072
2003-01-31 03:14:33 +00:00
Sebastien Pouliot ba97f32797 2003-01-30 Sebastien Pouliot <[email protected]>
* TimeZoneTest.cs: Added "Eastern Standard Time" to the test.
	This won't be complete until all time zone are added (added a
	Fail for unsupported TimeZones).

svn path=/trunk/mcs/; revision=11071
2003-01-31 00:27:29 +00:00
Zoltan Varga 9a8769f38a 2003-01-30 Zoltan Varga <[email protected]>
* StringBuilderTest.cs: added test for passing a negative capacity to
	the constructor.

svn path=/trunk/mcs/; revision=11070
2003-01-30 19:47:59 +00:00
Zoltan Varga 4629b55cc5 2003-01-30 Zoltan Varga <[email protected]>
* StringBuilder.cs: fix the constructor: 'value' can be NULL,
	'capacity' must be >=0, use defaultCapacity only if capacity equals 0.
	This fixes the StringBuilder unit tests.

svn path=/trunk/mcs/; revision=11069
2003-01-30 19:37:56 +00:00
Paolo Molaro 4a445db052 Thu Jan 30 19:54:30 CET 2003 Paolo Molaro <[email protected]>
* String.cs, IntegerFormatter.cs: use const where appropriate.

svn path=/trunk/mcs/; revision=11068
2003-01-30 19:08:35 +00:00
Gaurav Vaish 25e5ba719d 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* ListDataHelper.cs      : Complete. Probably!

svn path=/trunk/mcs/; revision=11067
2003-01-30 18:57:12 +00:00
Gaurav Vaish bacc6ee527 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItemCollection.cs
	                         : Stubbed Add(...) methods.

svn path=/trunk/mcs/; revision=11066
2003-01-30 18:54:20 +00:00
Gaurav Vaish 68824329d4 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItemCollection.cs
	                         : Stubbed IStateManager methods.

svn path=/trunk/mcs/; revision=11065
2003-01-30 18:41:00 +00:00
Gaurav Vaish a28e80290f 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* ListDataHelper.cs      : Initial implementation.
	* DataSourceHelper.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=11064
2003-01-30 17:04:07 +00:00
Gaurav Vaish 7b788c2964 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.Mobile.Util                 : Added directory.

svn path=/trunk/mcs/; revision=11063
2003-01-30 16:52:26 +00:00
Gaurav Vaish c2a5683b86 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* ListDataHelperInternal.cs
	                         : Moved to Util namespace,
	                           as ListDataHelper.cs

svn path=/trunk/mcs/; revision=11062
2003-01-30 16:51:03 +00:00
Gaurav Vaish d26b7fb705 2003-01-30 Gaurav Vaish <gvaish_mono AT lycos.com>
* ListDataHelperInternal.cs
	                         : Added class.

svn path=/trunk/mcs/; revision=11061
2003-01-30 16:48:17 +00:00
Ville Palo 897df1464f 2003-01-30 Ville Palo <[email protected]>
* ExpressionElement.cs: Added new file. This file is for parsing
	  and DataData.Select () -methods and DataColumn.Expression -property
	* DataTable.cs: Implemented Select(string) -method

svn path=/trunk/mcs/; revision=11060
2003-01-30 16:24:39 +00:00
Ville Palo 06ca8bb8d6 2003-01-30 Ville Palo <[email protected]>
* list: Added new file ExpressionElement.cs

svn path=/trunk/mcs/; revision=11059
2003-01-30 16:20:30 +00:00
Gonzalo Paniagua Javier cfb922eacc 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
* MonoCustomAttrs.cs: fixed GetBase () for Type. Thanks to Zoltan for
	reporting.

svn path=/trunk/mcs/; revision=11058
2003-01-30 15:29:42 +00:00
Rafael Teixeira e00ab844ac See changelog
svn path=/trunk/mcs/; revision=11057
2003-01-30 13:09:04 +00:00
Dietmar Maurer a7684f9aaa 2003-01-30 Dietmar Maurer <[email protected]>
* reflection.c (reflection_methodbuilder_to_mono_method): set
	pinvoke flag

svn path=/trunk/mono/; revision=11056
2003-01-30 12:10:56 +00:00
Paolo Molaro bc532b2897 Thu Jan 30 11:07:06 CET 2003 Paolo Molaro <[email protected]>
* helper.c: handle MONO_TYPE_ARRAY as well.

svn path=/trunk/mono/; revision=11053
2003-01-30 10:10:43 +00:00
Nick Drochak 2b30798947 Removed obsolete file.
svn path=/trunk/mcs/; revision=11052
2003-01-30 09:20:39 +00:00
Nick Drochak 6a7d01ec61 2003/01/30 Nick Drochak <[email protected]>
* corlib_test.build: AllTests.cs do not exist anymore. No need to
	excluded them.

svn path=/trunk/mcs/; revision=11051
2003-01-30 09:16:54 +00:00
Gonzalo Paniagua Javier aa92bc6044 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: fixed typo in set_Length.

svn path=/trunk/mcs/; revision=11041
2003-01-30 02:32:51 +00:00
Sebastien Pouliot febc5e8dfc 2003-01-29 Sebastien Pouliot <[email protected]>
* ByteTest.cs: Updated Setup to support my Locale. Better but
	probably still incomplete.
	* DoubleTest.cs: Updated Setup to support my Locale. You can now
	use a comma (or anything else) instead of a dot (.).
	* ConvertTest.cs: Updated TestToDecimal and TestToDouble to
	support my Locale. You can now use a comma (or anything else)
	instead of a dot (.).

svn path=/trunk/mcs/; revision=11037
2003-01-30 01:36:24 +00:00
Gonzalo Paniagua Javier 7aed5ead71 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
* BrowsableAttribute.cs: this attribute applies to All. Since the fix
	to bug #37380, mcs complained about this when compiling System.Data.

svn path=/trunk/mcs/; revision=11036
2003-01-30 00:57:31 +00:00
Gonzalo Paniagua Javier 151739af64 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
* System/MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
	The argument ICustomAttributeProvider can be of other types different
	from Type. Handle it.

	* System.Reflection/MonoMethod.cs: implemented GetBaseDefinition ().
	* System.Reflection.Emit/MethodBuilder.cs: GetBaseDefinition () returns
	this.

	Fixes bug #37380.

svn path=/trunk/mcs/; revision=11035
2003-01-30 00:55:23 +00:00
Gonzalo Paniagua Javier 1add88c582 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
* icall.c: implemented ves_icall_MonoMethod_get_base_definition.

svn path=/trunk/mono/; revision=11033
2003-01-30 00:48:26 +00:00
Patrik Torstensson dca075e463 Updated
svn path=/trunk/mcs/; revision=11031
2003-01-29 22:16:15 +00:00
Patrik Torstensson 2f52562d4f 2003-01-28 Patrik Torstensson
* MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
	* ReflectionSerializationHolder.cs: Support class for serialization

svn path=/trunk/mcs/; revision=11030
2003-01-29 22:14:58 +00:00
Zoltan Varga 0edc507181 2003-01-29 Zoltan Varga <[email protected]>
* Directory.cs (GetFileSystemEntries): moved error handling to the
	correct instance of GetFileSystemEntries so all callers can enjoy it.

svn path=/trunk/mcs/; revision=11029
2003-01-29 21:50:50 +00:00
Zoltan Varga cb03ca33c0 2003-01-29 Zoltan Varga <[email protected]>
* makefile.gnu: compile and run with debugging enabled.

	* makefile.gnu: added SUBDIR variable to enable building a subset of
	the tests, saving on compilation time during development.

	* run_test.sh: updated to nunit2.

svn path=/trunk/mcs/; revision=11028
2003-01-29 20:52:41 +00:00
Gonzalo Paniagua Javier 50b945fca5 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
	in MapPath.

	* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
	HtmlControl to keep the tag name.

	* System.Web.Util/UrlUtils.cs: fixed Combine ().

svn path=/trunk/mcs/; revision=11027
2003-01-29 19:16:39 +00:00
Lluis Sanchez 2e8b8c7700 Added RemoteActivator.cs
svn path=/trunk/mcs/; revision=11026
2003-01-29 18:11:33 +00:00
Lluis Sanchez e2eb08af71 * ServerContextTerminatorSink.cs: now it forwards messages to the target identity,
which knows how to manage each type of service.
* StackBuilderSink.cs: added a reference to the target object.

svn path=/trunk/mcs/; revision=11025
2003-01-29 18:06:49 +00:00
Lluis Sanchez 483cc1a41f * LifetimeServices.cs: Implemented some basic properties.
svn path=/trunk/mcs/; revision=11024
2003-01-29 18:06:01 +00:00
Lluis Sanchez adab27e955 * Context.cs: Object sinks must be created for each object
(they can contain object-specific info).

svn path=/trunk/mcs/; revision=11023
2003-01-29 18:05:40 +00:00
Lluis Sanchez 6c3765168b * ChannelServices.cs: corrected generation
of exception in SyncDispatchMessage.

svn path=/trunk/mcs/; revision=11022
2003-01-29 18:04:36 +00:00
Lluis Sanchez e2ed296e94 * RemoteActivator.cs: Added.
svn path=/trunk/mcs/; revision=11021
2003-01-29 18:04:02 +00:00
Lluis Sanchez 43e5ee938a * RemotingServices.cs: Added support for WellKnownService objects.
* RemotingConfiguration.cs: Implemented most of methods (Configure is not working yet).
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.

svn path=/trunk/mcs/; revision=11020
2003-01-29 18:03:33 +00:00
Dietmar Maurer e69e98877a (mono_analyze_stack): RETOBJ always returns native sized objects
svn path=/trunk/mono/; revision=11019
2003-01-29 17:53:09 +00:00
Dietmar Maurer 1cb652450e (*): correctly set sig->pinvoke, we need to memdup the signature
to do that

svn path=/trunk/mono/; revision=11018
2003-01-29 17:33:41 +00:00
Dick Porter b88bea2774 2003-01-29 Dick Porter <[email protected]>
* threads.c: No need for the fake_thread kludge now that Thread
	doesn't run a class constructor

svn path=/trunk/mono/; revision=11017
2003-01-29 16:51:40 +00:00
Dick Porter f814e25cd8 Renamed mono_new_thread_init() to mono_thread_new_init() to conform to
the proper naming scheme

svn path=/trunk/mono/; revision=11016
2003-01-29 16:42:29 +00:00
Dick Porter d68cc2b8cd 2003-01-29 Dick Porter <[email protected]>
* threads.c: Use g_direct_hash instead of the rather bogus
	g_int_hash

svn path=/trunk/mono/; revision=11015
2003-01-29 16:16:09 +00:00
Dick Porter df3a04ff65 Added a book about threading.
svn path=/trunk/mono/; revision=11014
2003-01-29 16:15:37 +00:00
Dietmar Maurer a6a6697c13 (mono_marshal_get_struct_to_ptr): generate valid IL code
(mono_marshal_get_ptr_to_struct): generate valid IL code

svn path=/trunk/mono/; revision=11013
2003-01-29 15:23:56 +00:00
Dietmar Maurer d2f39c830f fix for the previous fix
svn path=/trunk/mono/; revision=11012
2003-01-29 13:44:01 +00:00
Dietmar Maurer 34e032e567 2003-01-29 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): add check for null
	(fix pinvoke12.exe)

svn path=/trunk/mono/; revision=11011
2003-01-29 13:41:44 +00:00
Daniel Morgan af653b483b 2003-01-29 Daniel Morgan <[email protected]>
* doc/postgresql
	* doc/mysql
	* doc/ado-net: updates to web pages

	* man/sqlsharp.1: update to man page

svn path=/trunk/mono/; revision=11010
2003-01-29 13:09:12 +00:00
Dietmar Maurer b621d08f4a 2003-01-29 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): impl. CEE_MONO_LDNATIVEOBJ

svn path=/trunk/mono/; revision=11009
2003-01-29 12:59:13 +00:00
Nick Drochak 91de9c3719 Removed unneeded files. Legacy from nunit v1.
svn path=/trunk/mcs/; revision=11008
2003-01-29 10:51:45 +00:00
Miguel de Icaza 266a33fbe7 Add some missing spaces
svn path=/trunk/mono/; revision=11006
2003-01-29 07:17:34 +00:00
Gonzalo Paniagua Javier c0ea39b2d6 compilation fix
svn path=/trunk/mcs/; revision=11003
2003-01-28 22:20:32 +00:00
Paolo Molaro d7c5179cb2 Tue Jan 28 22:57:57 CET 2003 Paolo Molaro <[email protected]>
* marshal.c, marshal.h: use larger integers in mono_mb_emit_add_to_local()
	to avoid overflows (bug spotted and fixed by Jerome Laban <[email protected]>).

svn path=/trunk/mono/; revision=11002
2003-01-28 22:04:01 +00:00
Daniel Morgan dbe0577640 2003-01-28 Daniel Morgan <[email protected]>
* Npgsql.build: got it to work for Windows build

	* Npgsql/Npgsql.build
	* Npgsql/Npgsql.cmbx
	* Npgsql/Npgsql.prjx: removed files not needed

svn path=/trunk/mcs/; revision=11001
2003-01-28 19:41:17 +00:00
Daniel Morgan af70c73dcf 2003-01-28 Daniel Morgan <[email protected]>
* added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
	  from http://gborg.postgresql.org/project/npgsql/projdisplay.php
	  by adding the following files and directories to the mcs module
	  in mono-cvs.ximian.com at mcs/class:

      Npgsql (directory)
      ChangeLog
      Makefile
      Npgsql.build
      RELEASENOTES.txt
      TODO.txt
      makefile.gnu
      LICENSE.txt
      README.txt
      STATUS.txt
      list
	  Npgsql/Npgsql (directory)
	  Npgsql/AssemblyInfo.cs
	  Npgsql/NpgsqlAsciiRow.cs
	  Npgsql/NpgsqlBackEndKeyData.cs
	  Npgsql/NpgsqlClosedState.cs
	  Npgsql/NpgsqlCommand.cs
	  Npgsql/NpgsqlConnectedState.cs
	  Npgsql/NpgsqlConnection.cs
	  Npgsql/NpgsqlConnector.cs
	  Npgsql/NpgsqlConnectorPool.cs
	  Npgsql/NpgsqlDataAdapter.cs
	  Npgsql/NpgsqlDataReader.cs
	  Npgsql/NpgsqlEventLog.cs
	  Npgsql/NpgsqlException.cs
	  Npgsql/NpgsqlMediator.cs
	  Npgsql/NpgsqlMessageTypes.cs
	  Npgsql/NpgsqlParameter.cs
	  Npgsql/NpgsqlParameterCollection.cs
	  Npgsql/NpgsqlPasswordPacket.cs
	  Npgsql/NpgsqlQuery.cs
	  Npgsql/NpgsqlReadyState.cs
	  Npgsql/NpgsqlResultSet.cs
	  Npgsql/NpgsqlRowDescription.cs
	  Npgsql/NpgsqlStartupPacket.cs
	  Npgsql/NpgsqlStartupState.cs
	  Npgsql/NpgsqlState.cs
	  Npgsql/NpgsqlTransaction.cs
	  Npgsql/PGUtil.cs

svn path=/trunk/mcs/; revision=11000
2003-01-28 18:42:47 +00:00
Paolo Molaro 5d77c9903f Tue Jan 28 18:55:19 CET 2003 Paolo Molaro <[email protected]>
* profiler.c: provide more callers information.

svn path=/trunk/mono/; revision=10998
2003-01-28 17:58:55 +00:00
Paolo Molaro 59af8f7ea8 Tue Jan 28 18:53:08 CET 2003 Paolo Molaro <[email protected]>
* monograph.c: more stats added.

svn path=/trunk/mono/; revision=10997
2003-01-28 17:57:11 +00:00
Ville Palo be149e5918 2003-01-28 Ville Palo <[email protected]>
* XmlDataDocumentTest.cs: Fixed some tests

svn path=/trunk/mcs/; revision=10996
2003-01-28 17:55:37 +00:00
Ville Palo fedbec797e 2003-01-28 Ville Palo <[email protected]>
* DataSet.cs: One little fix to writing xml

svn path=/trunk/mcs/; revision=10995
2003-01-28 17:53:07 +00:00
Gonzalo Paniagua Javier 9e3a398571 2003-01-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: added WIN32_THREADS flag when building under windows.
	It seems that the header files of the gc do not always define it when
	GC_WIN32_THREADS is defined.

svn path=/trunk/mono/; revision=10993
2003-01-28 17:25:52 +00:00
Paolo Molaro 170f6075a1 Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <[email protected]>
* Thread.cs: delay-init datastorehash.

svn path=/trunk/mcs/; revision=10992
2003-01-28 16:59:53 +00:00
Paolo Molaro f265becc38 Tue Jan 28 17:30:57 CET 2003 Paolo Molaro <[email protected]>
* statement.cs: small memory and time optimization in FlowBranching.

svn path=/trunk/mcs/; revision=10991
2003-01-28 16:41:41 +00:00
Atsushi Eno ccc7255252 2003-01-29 Atsushi Enomoto <[email protected]>
* WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.

svn path=/trunk/mcs/; revision=10990
2003-01-28 16:33:04 +00:00
Zoltan Varga cd8981fa4b 2003-01-28 Zoltan Varga <[email protected]>
* x86.brg (mono_ldintftn): use <= instead of <, since the
	interface_offsets array is max_interface_id + 1 long.

svn path=/trunk/mono/; revision=10988
2003-01-28 15:53:29 +00:00
Zoltan Varga c1cf0c392a 2003-01-28 Zoltan Varga <[email protected]>
* FileTest.cs: Added tests for GetCreationTime.

svn path=/trunk/mcs/; revision=10987
2003-01-28 15:32:17 +00:00
Zoltan Varga a8426777d4 2003-01-28 Zoltan Varga <[email protected]>
* File.cs: add error handling to Get...Time methods.

svn path=/trunk/mcs/; revision=10986
2003-01-28 15:31:02 +00:00
Zoltan Varga 4f3228c1cc 2003-01-28 Zoltan Varga <[email protected]>
* DateTime.cs: fix FromFileTime so the time returned by
	File::GetLastModificationTime etc. is in the correct timezone.

svn path=/trunk/mcs/; revision=10985
2003-01-28 15:28:13 +00:00
Gonzalo Paniagua Javier 2c425e442f 2003-01-28 Gonzalo Paniagua Javier <[email protected]>
* RealProxy.cs: fixed compilation by adding missing GetObjectData ().

svn path=/trunk/mcs/; revision=10984
2003-01-28 15:23:19 +00:00
Patrik Torstensson 2c09768a7c Update
svn path=/trunk/mcs/; revision=10983
2003-01-28 14:53:01 +00:00
Patrik Torstensson 1efc648ec1 2003-01-28 Patrik Torstensson
* Exception.cs: reverted formating/endline changes (sorry guys)

svn path=/trunk/mcs/; revision=10982
2003-01-28 14:48:37 +00:00
Patrik Torstensson 8599efdc84 Flush
svn path=/trunk/mcs/; revision=10981
2003-01-28 14:45:27 +00:00
Patrik Torstensson 8171eef6ce 2002-12-28 Patrik Torstensson
* CrossAppDomainChannel.cs: First version, without support for "going" into the right domain

svn path=/trunk/mcs/; revision=10980
2003-01-28 14:45:06 +00:00
Patrik Torstensson 714d056936 2002-12-28 Patrik Torstensson
* RemotingSurrogateSelector.cs: Added serialization support for MBR's.
	* RemotingSurrogate.cs: Moved ObjRefSurrogate and MBRSurrogate to new file.
	* ErrorMessage.cs: Dummy used when an exception occours.
	* MonoMethodMessage.cs: Added Serializable and support for be created with null methods

svn path=/trunk/mcs/; revision=10979
2003-01-28 14:44:13 +00:00
Dietmar Maurer b415a5dc91 2003-01-28 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): generate valid IL code

svn path=/trunk/mono/; revision=10978
2003-01-28 14:17:54 +00:00
Dietmar Maurer f3138e4011 2003-01-28 Dietmar Maurer <[email protected]>
* appdomain.h:added fix from Patrik: _MonoAppDomain is a MBR object

svn path=/trunk/mono/; revision=10977
2003-01-28 13:09:24 +00:00
Patrik Torstensson 2962d0c78a 2003-01-28 Patrik Torstensson
* MarshalByRefObject.cs: implemented GetObjectIdentity
	* Exception.cs: added support for remote exceptions

svn path=/trunk/mcs/; revision=10976
2003-01-28 12:15:37 +00:00
Piers Haken 500abbf531 *** empty log message ***
svn path=/trunk/mcs/; revision=10975
2003-01-28 12:13:34 +00:00
Patrik Torstensson 9deca5ed3b Oops
svn path=/trunk/mcs/; revision=10974
2003-01-28 12:10:39 +00:00
Patrik Torstensson 28a0061cbf 2003-01-28 Patrik Torstensson
* ObjRef.cs: Fixed Objref marshalling flags

svn path=/trunk/mcs/; revision=10973
2003-01-28 12:10:08 +00:00
Dietmar Maurer 244f8f450a 2003-01-28 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): generate valid IL code

svn path=/trunk/mono/; revision=10972
2003-01-28 12:00:50 +00:00
Nick Drochak b7c320ab07 2003-01-28 Nick Drochak <[email protected]>
* MutexTest.cs: Ignore tests that hang mono.
        * ThreadTest.cs: Ignore tests that hang mono.

svn path=/trunk/mcs/; revision=10971
2003-01-28 09:52:07 +00:00
Nick Drochak 7d3b0290b8 2003-01-28 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Ignore part of a test that hangs mono.

svn path=/trunk/mcs/; revision=10970
2003-01-28 09:43:32 +00:00
Nick Drochak 6aca35f5ef 2003-01-28 Nick Drochak <[email protected]>
* ArrayTest.cs: Avoid nulls in arrays. This crashes mono.
        * ConsoleTest.cs: Ignore some tests that hang mono.
        * ConvertTest.cs: Ignore some tests that hang mono.

svn path=/trunk/mcs/; revision=10969
2003-01-28 09:36:28 +00:00
Dietmar Maurer 2d337c0b86 2003-01-28 Dietmar Maurer <[email protected]>
* x86.brg (mono_ldintftn): fix from Zoltan: use max_interface_id

svn path=/trunk/mono/; revision=10968
2003-01-28 08:51:49 +00:00
Miguel de Icaza ad3903d69f Improve with get/set
svn path=/trunk/mcs/; revision=10967
2003-01-28 06:53:54 +00:00
Gonzalo Paniagua Javier 0fd2755b2d 2003-01-28 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed bug #37225.

svn path=/trunk/mcs/; revision=10964
2003-01-28 00:27:11 +00:00
Lluis Sanchez 192e07c742 ObjectManager.cs: Corrected a problem with IObjectReferece objects.
svn path=/trunk/mcs/; revision=10963
2003-01-27 20:33:05 +00:00
Zoltan Varga 6195eddf66 2003-01-27 Zoltan Varga <[email protected]>
* StackTraceTest.cs: Added test for unthrown exceptions.

svn path=/trunk/mcs/; revision=10962
2003-01-27 20:26:33 +00:00
Zoltan Varga 400cc93483 2003-01-27 Zoltan Varga <[email protected]>
* StringTest.cs: Added tests for out-of-bounds indexes in GetChars().

svn path=/trunk/mcs/; revision=10961
2003-01-27 20:14:02 +00:00
Zoltan Varga d3db0f7d01 2003-01-27 Zoltan Varga <[email protected]>
* exception.c (ves_icall_get_trace): avoid crash if the exception is
	not yet thrown.

	* exception.c (ves_icall_get_trace): avoid crash on unmanaged frames.

svn path=/trunk/mono/; revision=10960
2003-01-27 20:11:29 +00:00
Zoltan Varga 6958993879 2003-01-27 Zoltan Varga <[email protected]>
* icall.c: (ves_icall_System_CurrentTimeZone_GetTimeZoneData): raise an
	exception instead of going into an infinite loop on dates which it
	can't yet handle.

	* string-icalls.c (ves_icall_System_String_get_Chars): raise
	out-of-range exception if needed.

	* class.c (mono_class_setup_vtable): allow a virtual method to provide
	an implementation for an interface method and to override an inherited
	method at the same time.
	Imagine a scenario when a virtual method is used to override a
	virtual abstract method in a parent class, and this same method
	provides an implementation for an method inherited from an interface.
	In this case, the interface resolution code will set im->slot, which
	means that the virtual method override pass will skip this method
	which means a pointer to the abstract method inherited from the parent
	will remain in the vtable of this non-abstract class.

	* class.c: (mono_class_setup_vtable): continue search for a real
	method if only an abstract method is found.

svn path=/trunk/mono/; revision=10959
2003-01-27 20:04:27 +00:00
Ville Palo f907e73a74 2003-01-27 Ville Palo <[email protected]>
* XmlSchemaMapper.cs: Some fixes.
	* DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix

svn path=/trunk/mcs/; revision=10958
2003-01-27 19:30:28 +00:00
Ville Palo 81918784ee 2003-01-27 Ville Palo <[email protected]>
* ChangeLog: Added this file.
	* XmlDataDocument.cs: Some little fixes.

svn path=/trunk/mcs/; revision=10957
2003-01-27 19:01:47 +00:00
Marco Ridoni 05afe78770 Attributes have been added to the grammar and seem to work, even if to a
limited extent
A few fixes for local variable delcalarations
A few fixes for array syntax
Added CType()

svn path=/trunk/mcs/; revision=10956
2003-01-27 18:16:45 +00:00
Gaurav Vaish 6de48fe73b 2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>
* IListControl.cs        : A private class hacked.
	* PagedControl.cs        : Fixed typo error (OnPageChange)
	* List.cs                : Stubbed almost all methods. Will
	                           implement tommorrow. Time to sleep.
	* MobileListItemCollection.cs
	                         : Finally, a collection class will bite
	                           me all. ;-)

svn path=/trunk/mcs/; revision=10955
2003-01-27 18:02:33 +00:00
Gaurav Vaish 10b45d730e 2003-01-27 Gaurav Vaish <gvaish_mono AT lycos.com>
* List.cs, PagedControl.cs
	                         : Was I drunk? or Sleeping when I wrote
	                           the classes? I mixed up the methods.
	                           Reorganizing.
	* PagedControl.cs        : Completed.

svn path=/trunk/mcs/; revision=10954
2003-01-27 17:28:33 +00:00
Paolo Molaro c472ce8fe7 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <[email protected]>
* get.c: decode also the size info in get_marshal_info()
	for ByValStr and ByValArray.

svn path=/trunk/mono/; revision=10953
2003-01-27 16:20:41 +00:00
Paolo Molaro e44e3d645e Mon Jan 27 17:12:19 CET 2003 Paolo Molaro <[email protected]>
* reflection.c: add size to encoding for ByValStr and ByValArray
	marshal blob (from "Jerome Laban" <[email protected]>).

svn path=/trunk/mono/; revision=10952
2003-01-27 16:18:44 +00:00
Paolo Molaro 203a062db9 Mon Jan 27 17:07:38 CET 2003 Paolo Molaro <[email protected]>
* CustomAttributeBuilder.cs, FieldBuilder.cs: applied
	(reformatted) patch from "Jerome Laban" <[email protected]>
	to fix ByValStr and ByValArray encodings.

svn path=/trunk/mcs/; revision=10951
2003-01-27 16:14:12 +00:00
Gaurav Vaish e9b60cc8ef 2003-01-26 Gaurav Vaish <gvaish_mono AT lycos.com>
* Form.cs                : HasActiveHandler()       - Stubbed.
	* List.cs                : Initial implementation.
	* ItemPager.cs,
	* Image.cs,
	* Link.cs,
	* ListDataBindEventArgs.cs,
	* ListDataBindEventHandler.cs,
	* ListCommandEventArgs.cs,
	* ListCommandEventHandler.cs,
	* LoadItemsEventArgs.cs,
	* LoadItemsEventHandler.cs
	                         : Completed.
	* MobilePage.cs          : ActivePage { get; set; } - Stubbed.
	                         : GetForm(string)          - Stubbed.
	* PagedControl.cs        : Initial implementation.

svn path=/trunk/mcs/; revision=10950
2003-01-27 16:01:03 +00:00
Zoltan Varga 67402210bd 2003-01-27 Zoltan Varga <[email protected]>
* class.c (mono_class_setup_vtable): pass the override info as an
	argument.

	* class.c (mono_class_setup_vtable): set the slot of overriding methods
	correctly.

	* reflection.c (ensure_runtime_vtable); add support for method
	overrides.

svn path=/trunk/mono/; revision=10949
2003-01-27 15:34:33 +00:00
Zoltan Varga 85ca6f7891 2003-01-27 Zoltan Varga <[email protected]>
* reflection.c (resolution_scope_from_image): Hack to work to work with
	dynamic assemblies.

	* reflection.c (mono_image_typedef_or_ref): renamed to ..._aux and
	added a 'force_ref' argument to force this function to allways return
	a TypeRef. This is needed by mono_image_get_memberref_token ().

svn path=/trunk/mono/; revision=10948
2003-01-27 14:59:52 +00:00
Ville Palo 7cd4a73e4a 2003-27-01 Ville Palo <[email protected]>
* DataRelationTest.cs: Added more tests

svn path=/trunk/mcs/; revision=10947
2003-01-27 14:24:11 +00:00
Zoltan Varga c79a25d626 2003-01-27 Zoltan Varga <[email protected]>
* reflection.c (mono_image_get_type_info): interfaces really don't have
	a parent.

	* reflection.c (mono_image_basic_init): fill out missing fields of
	image structure.

	* reflection.c (mono_image_basic_init): Invoke assembly load hooks for
	dynamic assemblies. This is required so dynamic assemblies show up in
	AppDomain.GetAssemblies (), emit an AssembyLoadEvent, gets searched by
	Type::GetType() etc. This is consistent with MS behaviour.

	* image.c image.h reflection.c: add newly created classes to the name
	cache so mono_class_get () will find them.

svn path=/trunk/mono/; revision=10946
2003-01-27 14:17:32 +00:00
Ville Palo 46fa64be6e 2003-27-01 Ville Palo <[email protected]>
* DataTableTest.cs: Added test for DataTable.Select ()

svn path=/trunk/mcs/; revision=10945
2003-01-27 13:56:48 +00:00
Zoltan Varga c9866ad0aa 2003-01-27 Zoltan Varga <[email protected]>
First part of changes to get IKVM.NET running under mono.

	* appdomain.h, appdomain.c: added new function
	mono_domain_try_type_resolve() which will emit TypeResolve events.
	This function will call AppDomain::DoTypeResolve to do the actual work.

	* class.h, class.c, loader.c, object.c, reflection.h, reflection.c:
	moved existing code dealing with dynamic tokens to a new function
	called mono_reflection_lookup_dynamic_token (). This function will
	raise TypeResolve events when appropriate. Since reflection.c is not
	part of libmetadata, a new hook function called
	mono_lookup_dynamic_token() is added to class.c which will call this.

	* assembly.h assembly.c: make the invoke_load_hook function public,
	so it can be called for dynamic assemblies.

	* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): skip interfaces since they do not have initializers.

	* icall.c (ves_icall_type_from_name): emit a TypeResolve event if the
	type isn't found.

	* reflection.c reflection.h: change MonoDynamicAssembly.tokens to a
	MonoGHashTable, since it contains pointers to objects which the GC
	needs to track.

	* assembly.c (search_loaded): remove unused variable.

svn path=/trunk/mono/; revision=10944
2003-01-27 13:31:59 +00:00
Gonzalo Paniagua Javier bda714c5f4 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: fixed bug #37187.

svn path=/trunk/mcs/; revision=10943
2003-01-27 13:20:09 +00:00
Paolo Molaro 866abd70e2 Mon Jan 27 12:49:10 CET 2003 Paolo Molaro <[email protected]>
* alpha/*: start of the port to the alpha architecture by
	Laramie Leavitt (<[email protected]>).

svn path=/trunk/mono/; revision=10942
2003-01-27 11:54:14 +00:00
Paolo Molaro 3921d48ab8 Mon Jan 27 12:18:45 CET 2003 Paolo Molaro <[email protected]>
* object.c: fixed issue exposed by gcc-generated IL programs
	that use RVA data for pointers.

svn path=/trunk/mono/; revision=10941
2003-01-27 11:24:12 +00:00
Gonzalo Paniagua Javier 5aaa18a3ba 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: Clone the arrays in GetNames and GetValues. Thanks lupus!

svn path=/trunk/mcs/; revision=10940
2003-01-27 11:01:59 +00:00
Lluis Sanchez 856d3d578e * TcpServerChannel.cs: Changed management of listener threads.
* TcpConnectionPool.cs: Add shutdown method.
* TcpChannel.cs: Corrected shutdown method.

svn path=/trunk/mcs/; revision=10939
2003-01-27 10:49:16 +00:00
Zoltan Varga ed204851f7 2003-01-27 Zoltan Varga <[email protected]>
* AppDomain.cs: Added DoTypeResolve method which will be called by
	the runtime to raise TypeResolve events.

svn path=/trunk/mcs/; revision=10938
2003-01-27 10:37:01 +00:00
Duncan Mak 4b3e1fe6bf (ToType): Implement this using Convert.ToType.
svn path=/trunk/mcs/; revision=10937
2003-01-27 08:22:31 +00:00
Gonzalo Paniagua Javier 60976a8a9d 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
* AssemblyBuilder.cs: fixed compilation with csc.

svn path=/trunk/mcs/; revision=10935
2003-01-27 04:23:43 +00:00
Miguel de Icaza 77165fb514 updated makefile
svn path=/trunk/mcs/; revision=10934
2003-01-27 02:12:27 +00:00
Miguel de Icaza c720502ac9 Rename test
svn path=/trunk/mcs/; revision=10933
2003-01-27 02:12:14 +00:00
Miguel de Icaza 5c6fb36c72 2003-01-27 Pedro Martinez Juli� <[email protected]>
* expression.cs (IndexerAccess.DoResolve): Before trying to resolve
	any indexer, it's needed to build a list with all the indexers in the
	hierarchy (AllGetters), else we have problems. Fixes #35653.

svn path=/trunk/mcs/; revision=10932
2003-01-27 02:07:36 +00:00
Miguel de Icaza c0c6bae9c8 Makefile updates
svn path=/trunk/mcs/; revision=10931
2003-01-27 02:05:46 +00:00
Miguel de Icaza 09ee06aead Add new test to handle overloaded indexers
svn path=/trunk/mcs/; revision=10930
2003-01-27 02:05:18 +00:00
Miguel de Icaza ffb0cad5a6 Mailing lists
svn path=/trunk/mono/; revision=10929
2003-01-26 20:29:50 +00:00
Miguel de Icaza 4cda6b53b4 2003-01-26 Miguel de Icaza <[email protected]>
* AssemblyBuilder.cs (Save): Set the executable bit at the end.
	This uses a non-official enumeration value to call SetFileAttributes.

svn path=/trunk/mcs/; revision=10928
2003-01-26 20:11:30 +00:00
Zoltan Varga 9c9225173b 2003-01-26 Zoltan Varga <[email protected]>
* Directory.cs: fix GetParent so it actually works.

svn path=/trunk/mcs/; revision=10927
2003-01-26 20:09:19 +00:00
Miguel de Icaza e36affda3a 2003-01-26 Miguel de Icaza <[email protected]>
* io.c (SetFileAttributes): This routine is not currently
	implemented for the general case, but I added a special case to
	set the executable bit on Linux.

svn path=/trunk/mono/; revision=10926
2003-01-26 20:01:39 +00:00
Lluis Sanchez 913fe3e70b * TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
* TcpMessageIO.cs: warning corrected.
* TcpConnectionPool.cs: changed default value of MaxOpenConnections.
* TcpClientTransportSink.cs: implemented support for one way calls.
* TcpClientChannel.cs: Changed default formatter sink to BinaryFormatterSink.
* TcpChannel.cs: corrected Parse method. Now can parse channel uris.
* BinaryServerFormatterSink.cs: Implemented.
* BinaryClientFormatterSink.cs: Implemented.

svn path=/trunk/mcs/; revision=10925
2003-01-26 18:11:18 +00:00
Lluis Sanchez 28783cbcd0 * unix.args: added System.Runtime.Remoting.Messaging/ArgInfo.cs,
System.Runtime.Remoting.Messaging/MethodCallDictionary.cs
  System.Runtime.Remoting.Messaging/MethodDictionary.cs
  System.Runtime.Remoting.Messaging/MethodReturnDictionary.cs

svn path=/trunk/mcs/; revision=10924
2003-01-26 17:59:56 +00:00
Lluis Sanchez 44d2993bc3 * ReturnMessage.cs: Implemented property Properties
* RemotingSurrogateSelector.cs: Implemented serialization support for ObjRef.
* MonoMethodMessage.cs: Implemented Properties and MethodSignature properties.
* MethodReturnMessageWrapper.cs: Implemented.
* MethodCallMessageWrapper.cs: Implemented.
* MethodCall.cs: Implemented.
* Header.cs: Small corrections to make it work.
* MethodDictionary.cs: Added.
* MethodCallDictionary.cs: Added.
* MethodReturnDictionary.cs: Added.
* ArgInfo.cs: Added.

svn path=/trunk/mcs/; revision=10923
2003-01-26 17:58:01 +00:00
Lluis Sanchez 6bcf280a36 * ChannelServices.cs: small correction in CreateClientChannelSinkChain.
* ChannelDataStore.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=10922
2003-01-26 17:30:22 +00:00
Daniel Morgan 726fef391c 2003-01-26 Daniel Morgan <[email protected]>
* doc/index
	* doc/ado-net
	* doc/firebird
	* doc/ibmdb2
	* doc/mysql
	* doc/odbc
	* doc/oledb
	* doc/oracle
	* doc/postgresql
	* doc/sqlclient
	* doc/sqlite
	* doc/sybase
	* doc/tdsclient: corrections

svn path=/trunk/mono/; revision=10921
2003-01-26 17:15:39 +00:00
Daniel Morgan 004900840b 2003-01-26 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: added support for providers:
	 MySQLNet, Npgsql, DB2Client, and Oracle

svn path=/trunk/mcs/; revision=10919
2003-01-26 14:15:36 +00:00
Daniel Morgan 91ed885051 2003-01-26 Daniel Morgan <[email protected]>
* System.Data/DataColumn.cs: fix to not check for DataType being set

	* System.Data/DataRow.cs: misc fixes

	* Test/SqlTest.cs: accept connection parameters from
	command line instead of being hard coded

	* Test/System.Data_test.build: exclude building SqlTest.cs

	* Test/System.Data/DataRowTest.cs
	* Test/System.Data/DataColumnTest.cs: added new tests and numbered
	all the tests so they can be easily identified

	* Test/System.Data/DataRelationTest.cs: commented code that calls
	DataSet's BeginEdit() and EndEdit() which causes a compile error

svn path=/trunk/mcs/; revision=10916
2003-01-26 13:38:41 +00:00
Daniel Morgan 84b02c1a8f 2003-01-26 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: fixes contributed by
	Francisco Figueiredo Jr. fxjrlists a-t yahoo.com.br

svn path=/trunk/mcs/; revision=10915
2003-01-26 09:26:55 +00:00
Gonzalo Paniagua Javier 72ebbb608f 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
* DbEnumerator.cs: why does the runtime throw an invalid cast here? The
	object is an Int16... Gotta fill a bug report and when fixed undo this
	patch.

svn path=/trunk/mcs/; revision=10914
2003-01-26 08:31:53 +00:00
Atsushi Eno 6594be4e6d 2003-01-26 Atsushi Enomoto <[email protected]>
* XmlNodeTests.cs : added TestReplaceChild.
	* XmlNodeReaderTests.cs : modified TestReadString more complex.
	* XmlNamespaceManagerTests.cs : added TestLookupPrefix.
	* XmlTextTests.cs : added TestSplitText.

svn path=/trunk/mcs/; revision=10913
2003-01-26 08:09:19 +00:00
Atsushi Eno 4e426ccecd 2003-01-26 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : some fix handling xml node object more correct.

svn path=/trunk/mcs/; revision=10912
2003-01-26 08:07:53 +00:00
Atsushi Eno 2a6da5d6f1 2003-01-26 Atsushi Enomoto <[email protected]>
* XmlNode.cs : implemented ReplaceChild.
	  removed DocElem checking at InsertBefore.
	* XmlNodeReader.cs : fixed ReadString and Read for correct node info.
	* XmlText.cs : implemented CloneNode and SplitText.

svn path=/trunk/mcs/; revision=10911
2003-01-26 08:06:56 +00:00
Gonzalo Paniagua Javier 339e5c416c 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
	CreateColumnSet. Set the owner of the column when auto generated.
	In PrepareControlHierarchyForItem, fixed for loop bound.

	* LinkButtonInternal.cs: fixed infinite recursion bug.

	Fixes bug #37124.

svn path=/trunk/mcs/; revision=10910
2003-01-26 07:43:03 +00:00
Duncan Mak a93abb929c Update the links. Thanks for Andy Oliver for the report.
svn path=/trunk/mono/; revision=10909
2003-01-26 06:05:21 +00:00
Miguel de Icaza b2ba55ae18 Flush
svn path=/trunk/mono/; revision=10908
2003-01-26 05:55:59 +00:00
Martin Baulig 4adba32a0d 2003-01-26 Martin Baulig <[email protected]>
* debug.c (mono_debug_init): Take a boolean argument which
	specifies whether we're running in the Mono Debugger.

svn path=/trunk/mono/; revision=10890
2003-01-25 23:30:04 +00:00
Sebastien Pouliot bb95b6dced 2003-01-25 Sebastien Pouliot <[email protected]>
* CryptographicException.cs: Default HResult to CORSEC_E_CRYPTO
	(0x80131430) as documented.
	* CryptographicUnexpectedOperationException.cs: Default HResult
	to CORSEC_E_CRYPTO_UNEX_OPER (0x80131431) as documented.

svn path=/trunk/mcs/; revision=10887
2003-01-25 21:19:35 +00:00
Martin Baulig 10b3252091 2003-01-25 Martin Baulig <[email protected]>
* threads.c (start_wrapper): Moved the initialization of
	`start_func' above the mono_new_thread_init() call to which we
	pass it as argument.

svn path=/trunk/mono/; revision=10886
2003-01-25 19:43:45 +00:00
Christopher Bockner 11c71516de Some structural changes to implement Prepared Statements (prepared statements won't be done until I finish the parameter support though).
Added SQLNumParams and SQLDescribeParam to DB2ClientPrototypes.

svn path=/trunk/mcs/; revision=10885
2003-01-25 19:10:13 +00:00
Gaurav Vaish fcccc24e23 2003-01-25 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlPager.cs        : Completed.
	* ItemPager.cs           : Initial implementation.

svn path=/trunk/mcs/; revision=10884
2003-01-25 16:25:05 +00:00
Gaurav Vaish 876b85a756 2003-01-24 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlPager.cs        : PageCount { get; set; }   - Stubbed.
	* MobileControl.cs       : EnablePagination { get; set; }
	                                                     - Completed
	                         : SetControlPageRecursive   - Stubbed.
	* Panel.cs               : Completed.

svn path=/trunk/mcs/; revision=10883
2003-01-25 10:53:45 +00:00
Daniel Morgan 8c6910d366 2003-01-24 Daniel Morgan <[email protected]>
* System.Data/DataColumn.cs: fixes to be like .NET -
	when setting AllowDBNull to false, determine if there is
	any data that has DBNull.Value, implement AutoIncrement, do not
	allow changing the DataType of the column if data has already been
	set, check if the DataType is supported,

	* System.Data/DataColumnCollection.cs: handle default ColumnName
	like .NET

	* System.Data/DataRow.cs: fixes to be like .NET - a
	data column gets initialized to all DBNull.Values not null,
	implement AutoIncrement, when setting ItemArray if the item array being
	set has less items than the number of columns in the table set those last
	columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
	both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
	and AutoIncrement if the value is set to null while DBNull.Value only gets set
	to DBNull.Value

svn path=/trunk/mcs/; revision=10882
2003-01-24 22:32:49 +00:00
Gonzalo Paniagua Javier 9e41b7ec74 forgot this
svn path=/trunk/mcs/; revision=10881
2003-01-24 20:24:24 +00:00
Gonzalo Paniagua Javier aa7ae681b0 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: fixlet to ChangeExtension for the case when the path is
	empty.

svn path=/trunk/mcs/; revision=10880
2003-01-24 19:09:28 +00:00
Martin Baulig 1dc5cb17b9 2003-01-24 Martin Baulig <[email protected]>
* threads.h (MonoThreadCallbacks): Pass the thread ID instead of
	the MonoThread pointer.

svn path=/trunk/mono/; revision=10878
2003-01-24 16:54:52 +00:00
Martin Baulig fb551ca201 2003-01-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_io_layer): Disable this on Windows.

svn path=/trunk/mono/; revision=10874
2003-01-24 16:39:19 +00:00
Martin Baulig b2cc52a35e 2003-01-24 Martin Baulig <[email protected]>
* ObjectReader.cs (ReadNextObject): Call
	RaiseDeserializationEvent() on the ObjectManager when we're done
	reading the whole graph.

svn path=/trunk/mcs/; revision=10873
2003-01-24 16:36:29 +00:00
Martin Baulig 33792aae6e 2003-01-24 Martin Baulig <[email protected]>
* ObjectManager.cs (RaiseDeserializationEvent): Walk the object
	list in the correct order.

svn path=/trunk/mcs/; revision=10872
2003-01-24 16:34:40 +00:00
Miguel de Icaza e9a71ceeb4 Update this
svn path=/trunk/mcs/; revision=10871
2003-01-24 16:14:06 +00:00
Miguel de Icaza 2eb361050d oops, make this public
svn path=/trunk/mcs/; revision=10870
2003-01-24 16:10:01 +00:00
Miguel de Icaza 98833b0ff9 2003-01-21 Miguel de Icaza <[email protected]>
* Math.cs: Remove Pow's implementation body as it was wrong.  The
	C code does the right thing.  The code was trying to handle a
	number of cases, and that was incorrect.

svn path=/trunk/mcs/; revision=10869
2003-01-24 15:37:35 +00:00
Miguel de Icaza 93537be4a8 2003-01-21 Miguel de Icaza <[email protected]>
* icall.c: Rename `PowImpl' to Pow.

svn path=/trunk/mono/; revision=10868
2003-01-24 15:35:11 +00:00
Ville Palo 1b239ee0eb 2003-01-24 Ville Palo <[email protected]>
* UniqueConstraint.cs: Do not set columns Unique property true
	as a default.
	* ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table

svn path=/trunk/mcs/; revision=10867
2003-01-24 15:27:37 +00:00
Ville Palo cdbd5a9c22 2003-24-01 Ville Palo <[email protected]>
* UniqueConstraint.cs: More tests

svn path=/trunk/mcs/; revision=10866
2003-01-24 13:31:51 +00:00
Lluis Sanchez e8014227ca * unix.args: added System.Runtime.Remoting/TypeInfo.cs and
System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs

svn path=/trunk/mcs/; revision=10865
2003-01-24 11:22:26 +00:00
Lluis Sanchez 5195d4cfc0 * ObjectWriter.cs, ObjectReader.cs: Added suport for headers.
Corrected encoding of primitive types. Corrected a bug about zero-length arrays.
* MessageFormatter.cs: Added. Implements serialization of messages.
* BinaryFormatter.cs: Added serialization of messages.
* BinaryCommon.cs: Added enum of codes of primitive types.

svn path=/trunk/mcs/; revision=10864
2003-01-24 11:21:30 +00:00
Lluis Sanchez 72e6c4348f RemotingServices.cs: Implemented some missing methods: IsMethodOverloaded,
SetObjectUriForMarshal, IsOneWay, IsObjectOutOfAppDomain,
 IsObjectOutOfContext, GetObjRefForProxy, GetObjectData,
GetMethodBaseFromMethodMessage.

TypeInfo.cs: Added.

ObjRef.cs: Implemented serialization and added support
for IRemotingTypeInfo.

svn path=/trunk/mcs/; revision=10863
2003-01-24 11:19:39 +00:00
Gonzalo Paniagua Javier 5ef88c7ac5 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* XmlCharacterData.cs: added XPathNodeType property.

svn path=/trunk/mcs/; revision=10859
2003-01-24 06:30:54 +00:00
Gonzalo Paniagua Javier 5c538ee58e 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: don't free the xml document used for the style sheet.
	xmlFreeStylesheet already does it. Correctly close the element tag for
	elements that don't have children. Added a couple of checks more.

svn path=/trunk/mcs/; revision=10858
2003-01-24 06:29:49 +00:00
Gonzalo Paniagua Javier 75416f91c2 oops
svn path=/trunk/mcs/; revision=10857
2003-01-24 03:13:49 +00:00
Gonzalo Paniagua Javier a26ebb5aa7 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* CharEnumerator.cs: completed the prior patch.

svn path=/trunk/mcs/; revision=10856
2003-01-24 03:07:36 +00:00
Sebastien Pouliot d04a876547 2003-01-23 Sebastien Pouliot <[email protected]>
* cert2spc.1: man page for cert2spc tool
	* secutil.1: man page for secutil tool

svn path=/trunk/mono/; revision=10855
2003-01-24 02:47:00 +00:00
Gonzalo Paniagua Javier cf13915eb7 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: fixed bug #36929.

svn path=/trunk/mcs/; revision=10854
2003-01-24 02:06:35 +00:00
Gonzalo Paniagua Javier 1915761fde 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* CharEnumerator.cs: fix to Current by [email protected]. Closes
	bug #37113.

svn path=/trunk/mcs/; revision=10853
2003-01-24 01:16:48 +00:00
Gonzalo Paniagua Javier 65a2ace011 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: added caching to GetInfo.

svn path=/trunk/mcs/; revision=10850
2003-01-23 23:59:51 +00:00
Marco Ridoni 3cc7f9d629 Enums are supported and working
Cast functions (CStr(), CBool(), etc) supported
ByRef parameters now work
A few fixes for optional parameters and structure declaration
String concatenation operator supported (to be debugged)

svn path=/trunk/mcs/; revision=10849
2003-01-23 23:07:09 +00:00
Gaurav Vaish 9c1a912c8a 2003-01-23 Gaurav Vaish <gvaish_mono AT lycos.com>
* Command.cs             : Completed.
	* Form.cs                : CurrentPage { get; set; } - Stubbed.

svn path=/trunk/mcs/; revision=10842
2003-01-23 18:17:29 +00:00
Gonzalo Paniagua Javier 981441bd4f 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: fixed a couple of Transform overloads and changed the
	library name in DllImport to make it work on windows too.

svn path=/trunk/mcs/; revision=10841
2003-01-23 18:14:27 +00:00
Gonzalo Paniagua Javier c842bdee36 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
	* libtest.c:
	* pinvoke12.cs: added new test for string [] marshaling.

svn path=/trunk/mono/; revision=10840
2003-01-23 18:08:18 +00:00
Dick Porter 1018fa070e 2003-01-23 Dick Porter <[email protected]>
* Environment.cs (System): Implemented ExitCode

svn path=/trunk/mcs/; revision=10839
2003-01-23 17:57:47 +00:00
Dick Porter 9b5c149aec Run all managed code in a subthread. Re-enable GC threaded finalisation.
Fixes bugs 34263 and 31333.

(All tests still behave the same way - 4 fails)

2003-01-23  Dick Porter  <[email protected]>

	* threads.c (start_wrapper): Create a Thread object if needed, so
	the Main() thread can do the class initialisation in a subthread
	that has been set up to allow managed code execution.

	Pass the thread ID instead of the MonoThread pointer to the thread
	start and attach callbacks.  This change is required, because the
	jit thread start callback must be called _before_ the Thread
	object can be created.

	(mono_thread_init): Removed much object creation code that is no
	longer needed.  No managed code is called from here now.

	* object.c (mono_runtime_exec_managed_code): Create a subthread
	for Main, and call back to the runtime to use it.
	Set the exit code when Main exits.

	* gc.c: Make sure domain finalisation happens in a subthread.
	Re-enable threaded GC, fixing bug 31333 (again).

	* environment.c: System.Environment internall calls (so far just
	ExitCode is here, the others are still in icall.c)

	* appdomain.c (mono_runtime_cleanup): All threads running managed
	code should have finished before mono_runtime_cleanup() is
	reached, so no need to clean up threads.


2003-01-23  Dick Porter  <[email protected]>

	* mono.c: Use mono_runtime_exec_managed_code() to run all managed
	code in a subthread.

	* jit.c: Changed thread start and attach callbacks to pass the
	thread ID, not the MonoThread pointer.  Arrange that managed code
	execution will fail an assertion in the main thread, just to be
	sure.


2003-01-23  Dick Porter  <[email protected]>

	* interp.c: Use mono_runtime_exec_managed_code() to run all
	managed code in a subthread.

svn path=/trunk/mono/; revision=10838
2003-01-23 17:46:26 +00:00
Zoltan Varga 7f33ba9dd9 2003-01-23 Zoltan Varga <[email protected]>
* Type.cs (IsInstanceOfType): fixed regression caused by the change
	to IsSubclassOf().

svn path=/trunk/mcs/; revision=10836
2003-01-23 15:40:23 +00:00
Ville Palo b2810b60d6 uups
svn path=/trunk/mcs/; revision=10835
2003-01-23 15:30:21 +00:00
Ville Palo 68016bf599 2003-23-01 Ville Palo <[email protected]>
* ForeignKeyConstraint.cs: More tests

svn path=/trunk/mcs/; revision=10834
2003-01-23 14:55:43 +00:00
Rafael Teixeira e8df4f6375 MonoBASIC Compiler 1.0.0.0 - (c)2002 Rafael Teixeira
This is a compiler for the MonoBASIC language,
which is a superset of Visual Basic.NET

Usage: mbas [options] SOURCE-FILES
Options:
  -? --help             Show this help list
     --about            About the MonoBASIC compiler
     --addmodule=PARAM  [NOT IMPLEMENTED YET]Reference metadata from specified module
     --baseaddress=PARAM [NOT IMPLEMENTED YET]The base address for a library or module (hex)
     --bugreport=PARAM  [NOT IMPLEMENTED YET]Create bug report file
     --checked          [Mono] Set default context to checked
  -d --define=PARAM     [NOT IMPLEMENTED YET]Declares global conditional compilation symbol(s). symbol list:name=value,...
     --debug            Emit debugging information
     --debug-args=PARAM [Mono] Debugger arguments
     --debug:full       Emit full debugging information (default)
     --debug:pdbonly    [IGNORED]Emit PDB file only
     --delaysign        [NOT IMPLEMENTED YET]Delay-sign the assembly using only the public portion of the strong name key
     --fatal            [Mono] Makes errors fatal
     --ignorewarn=PARAM [Mono] Ignores warning number PARAM
     --imports=PARAM    [NOT IMPLEMENTED YET]Declare global Imports for namespaces in referenced metadata files. import list:namespace,...
     --keycontainer=PARAM [NOT IMPLEMENTED YET]Specifies a strong name key container
     --keyfile=PARAM    [NOT IMPLEMENTED YET]Specifies a strong name key file
     --libpath=PARAM    [NOT IMPLEMENTED YET]List of directories to search for metada references (semi-colon delimited)
     --linkpaths=PARAM  [Mono] Adds path to the assembly link path
     --linkresource=PARAM [NOT IMPLEMENTED YET]Adds the specified file as an embedded assembly resource
  -m --main=PARAM       Specifies the Class or Module that contains Sub Main.It can also be a Class that inherits from System.Windows.Forms.Form.
     --noconfig         [Mono] Disables implicit references to assemblies
     --nologo           [NOT IMPLEMENTED YET]Do not display compiler copyright banner
     --nostdlib         [Mono] Don't assume the standard library
     --nowarn           Disable warnings
  -o --out=PARAM        Specifies the output file name
     --optimize         [NOT IMPLEMENTED YET]Enable optimizations
     --optioncompare:binary [NOT IMPLEMENTED YET]Specifies binary-style string comparisons. This is the default
     --optioncompare:text [NOT IMPLEMENTED YET]Specifies text-style string comparisons.
     --optionexplicit   [NOT IMPLEMENTED YET]Require explicit declaration of variables
     --optionstrict     [NOT IMPLEMENTED YET]Enforce strict language semantics
     --parse            [Mono] Only parses the source file (for debugging the tokenizer)
     --quiet            [NOT IMPLEMENTED YET]Quiet output mode
     --recurse=PARAM    [NOT IMPLEMENTED YET]Include all files in the current directory and subdirectories according to the wildcard
     --removeintchecks  [NOT IMPLEMENTED YET]Remove integer checks. Default off.
     --resource=PARAM   Adds the specified file as an embedded assembly resource
     --rootnamespace=PARAM [NOT IMPLEMENTED YET]Specifies de root namespace for all type declarations
  -r --reference=PARAM  References metadata from the specified assembly
     --stacktrace       [Mono] Shows stack trace at Error location
     --target=PARAM     Specifies the target type for the output file (exe [default], winexe, library, module)
     --timestamp        [Mono] Displays time stamps of various compiler events
     --tokenize         [Mono] Only tokenizes source files
     --unsafe           [Mono] Allows unsafe code
     --usage            Show usage syntax and exit
     --utf8output       [NOT IMPLEMENTED YET]Emit compiler output in UTF8 character encoding
  -v --verbose          Display verbose messages
     --warnaserror      Treat warnings as errors
     --win32icon=PARAM  [NOT IMPLEMENTED YET]Specifies a Win32 icon file (.ico) for the default Win32 resources
     --win32resource=PARAM [NOT IMPLEMENTED YET]Specifies a Win32 resource file (.res)
     --wlevel=PARAM     [Mono] Sets warning level (the highest is 4, the default)

svn path=/trunk/mcs/; revision=10833
2003-01-23 14:25:50 +00:00
Dick Porter 77581d9878 Build Mono.Data.DB2Client with nant
svn path=/trunk/mcs/; revision=10832
2003-01-23 13:27:25 +00:00
Nick Drochak 39dffe4aa0 install dbg files only if they exist...
svn path=/trunk/mcs/; revision=10831
2003-01-23 09:12:26 +00:00
Nick Drochak 85de469f3d 2003-01-23 Nick Drochak <[email protected]>
* makefile: install the .dbg files too so the debugger can use them.

svn path=/trunk/mcs/; revision=10827
2003-01-23 08:38:36 +00:00
Nick Drochak 78bfcc7744 2003/01/23 Nick Drochak <[email protected]>
* ThreadTest.cs: Test for alternate possibilities

svn path=/trunk/mcs/; revision=10826
2003-01-23 07:22:16 +00:00
Gonzalo Paniagua Javier e796ecc0a2 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
* System/System.Net.Sockets/NetworkStream.cs: the check for disposed
	should not be done in the finally clause.

	* corlib/System.IO/BufferedStream.cs: don't try to write a 0 sized
	array on when flushing the stream.

	Fixes bug #37045.

svn path=/trunk/mcs/; revision=10825
2003-01-23 05:30:47 +00:00
Marco Ridoni 43ab67e8a3 Structure declaration added to grammar. Seems to work fine.
svn path=/trunk/mcs/; revision=10822
2003-01-22 23:02:29 +00:00
Gonzalo Paniagua Javier 352db0d1d5 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: use assembly.Location instead of Codebase (the latest
	patch made mcs fail when using MS assemblies).

svn path=/trunk/mcs/; revision=10821
2003-01-22 20:59:25 +00:00
Ville Palo 82d15cacb4 2003-22-01 Ville Palo <[email protected]>
* DataRelationTest.cs: More tests and little clean up.

svn path=/trunk/mcs/; revision=10820
2003-01-22 19:08:00 +00:00
Rafael Teixeira eaf6f3104e author list correction
svn path=/trunk/mcs/; revision=10819
2003-01-22 19:03:18 +00:00
Rafael Teixeira cad2588a50 house cleaning
svn path=/trunk/mcs/; revision=10818
2003-01-22 19:01:31 +00:00
Martin Baulig b2794569ee Ooops, this was just for debugging.
svn path=/trunk/mono/; revision=10813
2003-01-22 12:41:13 +00:00
Martin Baulig b71d3cacdc 2003-01-22 Martin Baulig <[email protected]>
* debug.c: Reverted Gonzalo's last change since it is wrong.
	We're also using the debugging code on Windows, for instance the
	stabs stuff when running in gdb.  I hope this code still builds on
	Windows; if not, we need to fix this.
	Moved all the mono debugger support code into the debugger itself;
	when debugging a managed application, the debugger new launches a
	small unmanaged wrapper application which contains this stuff.

	* debug.h (MonoDebuggerIOLayer): New public typedef; this is just
	initialized to an array of function pointers to the io-layer
	function; they don't seem to be public in the `libmono' library.
	(mono_debugger_event): New public function.  Sends the debugger an
	event if we're running in the Mono Debugger and does nothing otherwise.

	* mono.c: Don't initialize the Mono Debugger here.

	* jit.c (mono_debug_insert_breakpoint): Removed, this isn't used anymore.
	(mono_thread_start_cb, mono_thread_attach_cb): Call
	mono_debugger_event() to send the debugger a callback.

svn path=/trunk/mono/; revision=10807
2003-01-22 12:16:53 +00:00
Martin Baulig 3064d4052d 2003-01-22 Martin Baulig <[email protected]>
* appdomain.h (MonoThreadStartCB): Added `MonoThread *thread' and
	`gpointer func' arguments.
	(MonoThreadAttachCB): New typedef; like the old MonoThreadStartCB,
	but added `MonoThread *thread' argument.
	(mono_runtime_init): The last argument is now a MonoThreadAttachCB.

	* threads.c (mono_new_thread_init): Added `gpointer func' argument
	and pass it to the mono_thread_start_cb callback.
	(mono_install_thread_callbacks): New public function to install a
	set of callbacks which are set by the debugger.
	(mono_thread_init): The last argument is now a MonoThreadAttachCB.

svn path=/trunk/mono/; revision=10806
2003-01-22 12:11:00 +00:00
Martin Baulig bca39d3b1e 2003-01-22 Martin Baulig <[email protected]>
* Makefile.am: Install debug-mono-symfile.h.

svn path=/trunk/mono/; revision=10805
2003-01-22 12:06:27 +00:00
Martin Baulig 6297dcd141 **** Reverted this ****
2003-01-16  Martin Baulig  <[email protected]>

	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=10804
2003-01-22 12:05:14 +00:00
Martin Baulig 34a6a36d40 2003-01-22 Martin Baulig <[email protected]>
* configure.in: Set version number to 0.19.1.

	Heads up: I'm going to commit some changes to the debugger
	which'll require you to use this new runtime, so if you update the
	debugger from CVS, you also need this new runtime.

svn path=/trunk/mono/; revision=10803
2003-01-22 12:02:54 +00:00
Gonzalo Paniagua Javier 60a8df88d7 fixed CS0642s
svn path=/trunk/mcs/; revision=10801
2003-01-22 11:45:37 +00:00
Gonzalo Paniagua Javier 14367a46dd 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: implemented all Load and Transform methods. It uses
	libxml2 and libxslt. No more temp files. It's slow and memory consuming,
	but, well, that's XSLT... ;-). Idea from Zdravko Tashev.

	Now the Xsl web control works.

svn path=/trunk/mcs/; revision=10800
2003-01-22 11:35:49 +00:00
Gonzalo Paniagua Javier e396af4615 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
* System.Xml/XmlTextWriter.cs: throw an exception if WriteEndDocument is
	called without a prior call to WriteStartDocument.

svn path=/trunk/mcs/; revision=10799
2003-01-22 11:31:28 +00:00
Gonzalo Paniagua Javier 38910ee49d 2003-01-22 Zdravko Tashev <[email protected]>
* Xml.cs: a few fixes.

svn path=/trunk/mcs/; revision=10798
2003-01-22 11:14:12 +00:00
Nick Drochak e212862a20 2003/01/22 Nick Drochak <[email protected]>
* makefile: assume csc for makefile, and mcs for makfile.gnu.

svn path=/trunk/mcs/; revision=10797
2003-01-22 06:08:51 +00:00
Nick Drochak 5ad2fa6d9c 2003/01/22 Nick Drochak <[email protected]>
* makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs

svn path=/trunk/mcs/; revision=10796
2003-01-22 04:16:09 +00:00
Lluis Sanchez 6d6fe4d6fe binary serialization format.htm: Added to CVS
svn path=/trunk/mcs/; revision=10795
2003-01-22 00:39:04 +00:00
Marco Ridoni df12c40dca Interface should work for methods and properties
svn path=/trunk/mcs/; revision=10794
2003-01-21 23:39:11 +00:00
Marco Ridoni e802a9c910 A few minor fixes
svn path=/trunk/mcs/; revision=10788
2003-01-21 21:20:39 +00:00
Gonzalo Paniagua Javier 5367deb9e7 2003-01-21 Aleksey Demakov <[email protected]>
* marshal.c: fixed copy_from_managed and copy_to_unmanaged for 0 length.

svn path=/trunk/mono/; revision=10787
2003-01-21 21:07:02 +00:00
Marco Ridoni e1309ef9d6 A fix for return values in functions and another step towards
implementation of Interfaces

svn path=/trunk/mcs/; revision=10785
2003-01-21 19:42:23 +00:00
Atsushi Eno c8fafc3e01 2003-01-22 Atsushi Enomoto <[email protected]>
*  added recent tests below to System.XML_linux_test.args

svn path=/trunk/mcs/; revision=10784
2003-01-21 19:34:04 +00:00
Johannes Roith a625dc3965 fix typo
svn path=/trunk/mono/; revision=10782
2003-01-21 19:13:36 +00:00
Gonzalo Paniagua Javier b74156c766 2003-01-21 Tim Haynes <[email protected]>
* driver.cs: use DirectorySeparatorChar instead of a hardcoded "/" to
	get the path to *corlib.dll.

svn path=/trunk/mcs/; revision=10781
2003-01-21 19:01:48 +00:00
Gonzalo Paniagua Javier d127318010 2003-01-21 Tim Haynes <[email protected]>
* AspGenerator.cs:
	* BaseCompiler.cs:
	* CachingCompiler.cs: changes to work around spaces and
        directory-separators in the local filesystem.

svn path=/trunk/mcs/; revision=10780
2003-01-21 18:44:21 +00:00
Gonzalo Paniagua Javier 45982eab2c removed type-reflector from install
svn path=/trunk/mcs/; revision=10779
2003-01-21 18:21:21 +00:00
Paolo Molaro 2007e3095d Tue Jan 21 17:29:53 CET 2003 Paolo Molaro <[email protected]>
* ppc/ppc-codegen.h: completed ppc native code generation by
	Taylor Christopher P <[email protected]>.

svn path=/trunk/mono/; revision=10778
2003-01-21 16:33:33 +00:00
Miguel de Icaza aa40261df4 Flush from work
svn path=/trunk/mono/; revision=10777
2003-01-21 13:49:17 +00:00
Dietmar Maurer 8b540999cf another test
svn path=/trunk/mono/; revision=10772
2003-01-21 09:30:46 +00:00
Dietmar Maurer 3eb0642aba 2003-01-21 Dietmar Maurer <[email protected]>
* added the following fix from Jackson Harper <[email protected]>
	* class.c (mono_ptr_class_get): correctly set access levels of pointers
	(mono_array_class_get): correctly set access levels of arrays

svn path=/trunk/mono/; revision=10771
2003-01-21 09:27:40 +00:00
Miguel de Icaza c069366220 Update
svn path=/trunk/mcs/; revision=10770
2003-01-21 06:32:50 +00:00
Nick Drochak 70292a398b 2003-01-21 Nick Drochak <[email protected]>
* cs-tokenizer.cs:
	* pending.cs:
	* typemanager.cs: Remove compiler warnings

svn path=/trunk/mcs/; revision=10767
2003-01-21 04:17:14 +00:00
Atsushi Eno 5671e092b3 sorry, forgot to add it.
svn path=/trunk/mcs/; revision=10766
2003-01-21 03:24:41 +00:00
Atsushi Eno 33b1f7ac3a 2003-01-21 Atsushi Enomoto <[email protected]>
*  added XmlNodeReaderTests.cs file and added it to AllTests.cs

svn path=/trunk/mcs/; revision=10765
2003-01-21 03:23:58 +00:00
Atsushi Eno daa30f4735 2003-01-21 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : several fix to get more compatible with MS.NET.

svn path=/trunk/mcs/; revision=10764
2003-01-21 03:22:54 +00:00
Miguel de Icaza 1b431c9b78 Update
svn path=/trunk/mono/; revision=10763
2003-01-21 02:46:06 +00:00
Jaime Anguiano Olarra 33bc8c4d79 Added a readme for the newcomers.
svn path=/trunk/mcs/; revision=10761
2003-01-21 00:51:10 +00:00
Patrik Torstensson 8f1f6f47ba 2003-01-20 Patrik Torstensson
* image.h (MonoAssemblyName): changed major, minor, build, revision
	from signed to unsigned.

svn path=/trunk/mono/; revision=10759
2003-01-20 23:36:26 +00:00
Miguel de Icaza 9a06c42fc4 More screenshots
svn path=/trunk/mono/; revision=10758
2003-01-20 23:33:40 +00:00
Miguel de Icaza 28fdafd85b Add screenshots section.
Move screenshots from main page
Prepare for release.
Update JIT debug information

svn path=/trunk/mono/; revision=10757
2003-01-20 23:25:58 +00:00
Duncan Mak 2c25334dab 2003-01-20 Duncan Mak <[email protected]>
* configure.in: Bump the release number to 0.19.

svn path=/trunk/mono/; revision=10756
2003-01-20 23:17:15 +00:00
Daniel Morgan a387d1d5f6 2003-01-20 Daniel Morgan <[email protected]>
* README: updated notes on connection strings and providers
	* SqlSharpCli.cs: fixes for other providers:
	OracleClient, DB2Client, Npgsql, MySqlNet

svn path=/trunk/mcs/; revision=10755
2003-01-20 23:14:46 +00:00
Duncan Mak 8302a4cdf2 ~head -4 ChangeLog~
svn path=/trunk/mcs/; revision=10754
2003-01-20 23:10:53 +00:00
Miguel de Icaza e2f8e143d5 Final touches
svn path=/trunk/mcs/; revision=10753
2003-01-20 23:01:13 +00:00
Gonzalo Paniagua Javier 0e5ece6919 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* debug.c: make all public symbols just dummy for windows.

svn path=/trunk/mono/; revision=10752
2003-01-20 23:01:09 +00:00
Miguel de Icaza 57045a4722 target for windows build
svn path=/trunk/mcs/; revision=10751
2003-01-20 22:55:05 +00:00
Miguel de Icaza 0243e76a79 Make mbas compile
svn path=/trunk/mcs/; revision=10750
2003-01-20 22:50:11 +00:00
Miguel de Icaza 2930bfc0c1 Remove dependency
svn path=/trunk/mcs/; revision=10749
2003-01-20 22:49:55 +00:00
Miguel de Icaza ccac5f0c5a Put back mbas
svn path=/trunk/mcs/; revision=10748
2003-01-20 22:45:22 +00:00
Miguel de Icaza 83cd9cde53 Also avoid SIGKILL for Windows
svn path=/trunk/mono/; revision=10747
2003-01-20 22:40:23 +00:00
Miguel de Icaza a02e1fed0c 2003-01-20 Miguel de Icaza <[email protected]>
* debug.c (initialize_debugger_support): ifdef out the call to
	mono_debugger_init_thread_debug for the release.

	Someone should look into why its not defined.  I think the problem
	is what Dick pointed out somewhere: code in io-layer is not
	supposed to ever be used in Windows, so code for the debugger that
	lives there must be moved elsewhere.

svn path=/trunk/mono/; revision=10746
2003-01-20 22:33:55 +00:00
Miguel de Icaza 950c405b0f 2003-01-20 sean kasun <[email protected]>
* reflection.c (load_cattr_value): Now this handles
	MONO_TYPE_SZARRAY.  Fixes bug #35629

svn path=/trunk/mono/; revision=10745
2003-01-20 20:43:04 +00:00
Miguel de Icaza 794b145a19 Flush
svn path=/trunk/mono/; revision=10744
2003-01-20 20:13:17 +00:00
Miguel de Icaza 265528cc6c Remove mbas from the build for now, it has a cyclic dependency
svn path=/trunk/mcs/; revision=10743
2003-01-20 20:04:52 +00:00
Miguel de Icaza cb96c08125 Flush debugger announcement
svn path=/trunk/mono/; revision=10741
2003-01-20 19:06:53 +00:00
Gonzalo Paniagua Javier 210cff6e1f 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs: little fixes to line numbering when #line is used.

svn path=/trunk/mcs/; revision=10739
2003-01-20 18:42:08 +00:00
Miguel de Icaza 1cc6caed3e Update with Dick's comments
svn path=/trunk/mono/; revision=10738
2003-01-20 18:11:10 +00:00
Miguel de Icaza fe75e1b8d3 2003-01-20 Miguel de Icaza <[email protected]>
* marshal.c (emit_struct_conv): Handle MONO_TYPE_PTR as an
	integer value

svn path=/trunk/mono/; revision=10737
2003-01-20 18:06:01 +00:00
Gonzalo Paniagua Javier 81f764072e 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: make the generated file compile with csc after last
	change.

svn path=/trunk/mcs/; revision=10736
2003-01-20 17:57:55 +00:00
Gonzalo Paniagua Javier 341c7420f0 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* Tds70.cs:
	(FormatParameter): send input/output parameter names. This way we don't
	depend on the parameter position being different of the index in the
	parameter collection.

svn path=/trunk/mcs/; revision=10735
2003-01-20 17:57:06 +00:00
Gonzalo Paniagua Javier 26bab89059 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: removed unused variable. Added
	support for properties/fields of type string [].

	* System.Web.UI.WebControls/DataList.cs: handle the exception when
	adding new keys to DataKeysArray.

svn path=/trunk/mcs/; revision=10734
2003-01-20 15:03:32 +00:00
Duncan Mak b741b03a5a 2003-01-20 Duncan Mak <[email protected]>
* list.unix: Remove the extra reference to ArgumentProcessorAttribute.cs

svn path=/trunk/mcs/; revision=10732
2003-01-20 14:34:04 +00:00
Rafael Teixeira c79b907d10 house cleaning
svn path=/trunk/mcs/; revision=10731
2003-01-20 13:41:55 +00:00
Rafael Teixeira 65c55cae96 More Draekko patches to make mbas as useable as mcs
svn path=/trunk/mono/; revision=10729
2003-01-20 13:24:10 +00:00
Rafael Teixeira 93512315cf Based on Draekko patches, mbas is entering the global makefiles
svn path=/trunk/mcs/; revision=10728
2003-01-20 13:06:04 +00:00
Nick Drochak a3a8c702a3 2003/01/20 Nick Drochak <[email protected]>
* makefile: take out type-reflector since it's gone.

svn path=/trunk/mcs/; revision=10721
2003-01-20 06:15:16 +00:00
Sebastien Pouliot c1c4fa1ec2 2003-01-20 Sebastien Pouliot <[email protected]>
* CipherMode.cs: Added missing [Serializable] to enum.
	* CspProviderFlags.cs: Added missing [Serializable] to enum.
	* FromBase64Transform.cs: Added missing [Serializable] to enum.
	* PaddingMode.cs: Added missing [Serializable] to enum.

svn path=/trunk/mcs/; revision=10719
2003-01-20 03:38:16 +00:00
Rafael Teixeira 6d58b9ec58 more changes from Daniel Campos: faster StrReverse - fleshed FileSystem.cs
svn path=/trunk/mcs/; revision=10718
2003-01-19 20:03:42 +00:00
Gaurav Vaish 819f5a345f 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
2003-01-19 18:21:11 +00:00
Daniel Morgan c40860f8f6 2003-01-19 Daniel Morgan <[email protected]>
* 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
2003-01-19 17:39:25 +00:00
Sebastien Pouliot f8369d1fa5 2003-01-19 Sebastien Pouliot <[email protected]>
* crypto: Updated status page.

svn path=/trunk/mono/; revision=10707
2003-01-19 14:15:04 +00:00
Sebastien Pouliot 91ce9a2e72 2003-01-19 Sebastien Pouliot <[email protected]>
* commands: Moved Crypto after all ADO.NET sub elements.

svn path=/trunk/mono/; revision=10706
2003-01-19 14:14:34 +00:00
Gaurav Vaish e62e81ba8c 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
2003-01-19 13:54:38 +00:00
Martin Baulig b8c9c45df8 2003-01-19 Martin Baulig <[email protected]>
* debug.c: Ok, this should now finally be working this time ....

svn path=/trunk/mono/; revision=10704
2003-01-19 13:48:08 +00:00
Sebastien Pouliot 51911d4ec6 2003-01-19 Sebastien Pouliot <[email protected]>
* HMACSHA1Test.cs: Added tests for constructors.
	* MACTripleDESTest.cs: Added tests for constructors.

svn path=/trunk/mcs/; revision=10703
2003-01-19 13:46:26 +00:00
Sebastien Pouliot dadd38c671 2003-01-19 Sebastien Pouliot <[email protected]>
* 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
2003-01-19 13:44:13 +00:00
Sebastien Pouliot 198a9c8cb5 2003-01-19 Sebastien Pouliot <[email protected]>
* IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
	to CurrentSize and MaximumSize to fix compilation (at least
	under Windows/csc).

svn path=/trunk/mcs/; revision=10701
2003-01-19 12:44:57 +00:00
Atsushi Eno da054d8c15 2003-01-19 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : added TestWriteToDefaultNamespace test.
	* XmlNodeTests.cs : added TestGetPrefixOfNamespace test.

svn path=/trunk/mcs/; revision=10700
2003-01-19 11:35:10 +00:00
Atsushi Eno eb38dedfbc 2003-01-19 Atsushi Enomoto <[email protected]>
* 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
2003-01-19 11:34:25 +00:00
Jonathan Pryor 17afb2ed9b 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
2003-01-19 05:46:10 +00:00
Sebastien Pouliot c4e80b0dd1 2003-01-18 Sebastien Pouliot <[email protected]>
* HMACSHA1.cs: Now use KeyBuilder to build the default key.

svn path=/trunk/mcs/; revision=10688
2003-01-18 23:52:10 +00:00
Daniel Morgan 3d0215ea34 forgot to add ChangeLog file
svn path=/trunk/mcs/; revision=10687
2003-01-18 22:14:18 +00:00
Daniel Morgan 1487ef693e 2003-01-18 Daniel Morgan <[email protected]>
* TestDB2Conn.cs: use a different connection string
	which uses the format
	"DSN=database;UID=userid;PWD=password"

svn path=/trunk/mcs/; revision=10686
2003-01-18 22:13:31 +00:00
Sebastien Pouliot 0262f45d79 2003-01-18 Sebastien Pouliot <[email protected]>
* makefile, makefile.gnu: Renamed Cert2Spc.exe to cert2spc.exe.

svn path=/trunk/mcs/; revision=10685
2003-01-18 21:48:29 +00:00
Gaurav Vaish 77ed335185 2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
* Constants.cs           : Undocumented class. Reflection revealed.
	                           Implemented.

svn path=/trunk/mcs/; revision=10681
2003-01-18 18:12:10 +00:00
Gaurav Vaish be7cc439dd 2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
* Constants.cs           : Undocumented class. Reflection revealed.
	                           Implemented.

svn path=/trunk/mcs/; revision=10680
2003-01-18 18:05:22 +00:00
Marco Ridoni 28f2d4e814 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
2003-01-18 16:34:13 +00:00
Christopher Bockner 9f1f45ea46 DB2ClientCommand.cs: Finished transition to SQLDriverConnect.
:

svn path=/trunk/mcs/; revision=10675
2003-01-18 15:50:47 +00:00
Martin Baulig c2c1f1eb56 2003-01-18 Martin Baulig <[email protected]>
* debug.c (mono_debugger_jit_exec): Send the background thread a
	SIGKILL before returning.

svn path=/trunk/mono/; revision=10674
2003-01-18 15:34:00 +00:00
Ville Palo c116a126b9 2003-01-18 Ville Palo <[email protected]>
* DataTableCollection.cs: Now names new DataTable if it doesn't
	already have a name.

svn path=/trunk/mcs/; revision=10663
2003-01-18 14:52:58 +00:00
Rafael Teixeira 06095010a1 Corrections to *Trim sent by Daniel Campos
svn path=/trunk/mcs/; revision=10656
2003-01-18 14:01:47 +00:00
Atsushi Eno a5d23fa8b3 2003-01-18 Atsushi Enomoto <[email protected]>
* added XmlWriterTests.cs file and added it to AllTests.cs

svn path=/trunk/mcs/; revision=10655
2003-01-18 11:31:24 +00:00
Atsushi Eno 2d7a230c66 2003-01-18 Atsushi Enomoto <[email protected]>
* XmlWriter.cs: modified WriteStartElement (see test for detail).
	Added WriteNode.

svn path=/trunk/mcs/; revision=10654
2003-01-18 11:30:12 +00:00
Miguel de Icaza 346f3b40cf Flush
svn path=/trunk/mono/; revision=10646
2003-01-18 05:48:10 +00:00
Jonathan Pryor 952aca77a6 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
2003-01-18 03:43:26 +00:00
Jonathan Pryor fa79dd6751 type-reflector is being moved to its own CVS module. Remove it from the build
process here.

svn path=/trunk/mcs/; revision=10641
2003-01-18 03:41:45 +00:00
Sebastien Pouliot 096e9b19f9 2003-01-17 Sebastien Pouliot <[email protected]>
* 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
2003-01-18 01:19:17 +00:00
Sebastien Pouliot 381b6f1ebb 2003-01-17 Sebastien Pouliot <[email protected]>
* System.Security.build: Simplified and fixed some issues.

svn path=/trunk/mcs/; revision=10638
2003-01-18 01:04:11 +00:00
Sebastien Pouliot b2a92a5345 2003-01-17 Sebastien Pouliot <[email protected]>
* AllTests.cs: Removed System.Security.Cryptography from using.
	* System.Security_test.build: Simplified and fixed some issues.

svn path=/trunk/mcs/; revision=10637
2003-01-18 01:01:34 +00:00
Sebastien Pouliot 6b3d5687da 2003-01-17 Sebastien Pouliot <[email protected]>
* 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
2003-01-18 00:56:18 +00:00
Miguel de Icaza 17531924e3 2003-01-17 Miguel de Icaza <[email protected]>
* 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
2003-01-17 23:48:11 +00:00
Gonzalo Paniagua Javier 85042b357c 2003-01-18 Gonzalo Paniagua Javier <[email protected]>
* decimal.c: fixed bug #26056.

svn path=/trunk/mono/; revision=10634
2003-01-17 23:06:38 +00:00
Christopher Bockner 6b1339c66f 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
2003-01-17 22:07:53 +00:00
Zoltan Varga a408c4a9d1 2003-01-17 Zoltan Varga <[email protected]>
* MonoSymbolWriter.cs (OpenMethod): Make it work on constructors.

svn path=/trunk/mcs/; revision=10632
2003-01-17 21:24:06 +00:00
Zoltan Varga cdc917879e 2003-01-17 Zoltan Varga <[email protected]>
* 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
2003-01-17 21:20:34 +00:00
Paolo Molaro 5177a232f1 Fri Jan 17 21:14:18 CET 2003 Paolo Molaro <[email protected]>
* ppc/tramp.c: adapted to work for MacOSX (from a patch by
	John Duncan).

svn path=/trunk/mono/; revision=10630
2003-01-17 20:17:58 +00:00
Christopher Bockner 268e4491ad 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
2003-01-17 19:10:42 +00:00
Gaurav Vaish 0745874cc4 2003-01-18 Gaurav Vaish <gvaish_mono AT lycos.com>
* ArrayListCollectionBase.cs
	                         : Implemented.

svn path=/trunk/mcs/; revision=10628
2003-01-17 19:05:46 +00:00
Gonzalo Paniagua Javier 6c35614385 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-01-17 17:17:41 +00:00
Gonzalo Paniagua Javier 3a1f655546 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* ObjectWriter.cs: make the exception message more useful.

svn path=/trunk/mcs/; revision=10626
2003-01-17 16:45:22 +00:00
Daniel Morgan 72e4a89785 2003-01-17 Daniel Morgan <[email protected]>
* System.Data.SqlClient.SqlConnection.cs: add connection
	parameter UID which is the same thing as User ID

svn path=/trunk/mcs/; revision=10625
2003-01-17 16:41:56 +00:00
Ville Palo e3a727ab22 2003-01-17 Ville Palo <[email protected]>
* 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
2003-01-17 15:48:51 +00:00
Dietmar Maurer 4d9bb76591 2003-01-17 Dietmar Maurer <[email protected]>
* x86.brg: removed duplicated CONV_OVF_I4

svn path=/trunk/mono/; revision=10623
2003-01-17 15:48:08 +00:00
Gonzalo Paniagua Javier 810b4b2318 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: re-added lines that were removed in the previous commit.

svn path=/trunk/mcs/; revision=10622
2003-01-17 15:29:31 +00:00
Lluis Sanchez bd742a07d0 * 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
2003-01-17 14:21:00 +00:00
Lluis Sanchez 23cb51f860 * BinaryFormatter.cs: implemented Serialize and Deserialize methods.
* ObjectReader.cs: added.
* ObjectWriter.cs: added.
* BinaryCommon.cs. added.

svn path=/trunk/mcs/; revision=10617
2003-01-17 14:19:51 +00:00
Martin Baulig a0b778a04f 2003-01-17 Martin Baulig <[email protected]>
* gc.c: Raise an ExecutionEngineException instead of using g_error().

svn path=/trunk/mono/; revision=10616
2003-01-17 14:18:48 +00:00
Lluis Sanchez c3b1984cf2 * 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
2003-01-17 14:18:43 +00:00
Lluis Sanchez 66103dd4cf Assembly.cs: added serialization support.
svn path=/trunk/mcs/; revision=10614
2003-01-17 14:17:29 +00:00
Lluis Sanchez 15796a43be * 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
2003-01-17 14:16:41 +00:00
Martin Baulig b453e49a64 2003-01-17 Martin Baulig <[email protected]>
* 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
2003-01-17 12:37:33 +00:00
Gonzalo Paniagua Javier bdde5eb6c0 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* collections.cs: fixed bug #30091.

svn path=/trunk/mcs/; revision=10607
2003-01-17 08:19:36 +00:00
Duncan Mak 821b52ec63 2003-01-17 Duncan Mak <[email protected]>
* runtime/Makefile.am: Add the new Mono.Data.DB2Client.dll.

svn path=/trunk/mono/; revision=10606
2003-01-17 07:24:09 +00:00
Gonzalo Paniagua Javier 64444c3470 fixed #line default
svn path=/trunk/mcs/; revision=10605
2003-01-17 06:55:16 +00:00
Jackson Harper 15821ea1f0 Set file name when specified with #line
svn path=/trunk/mcs/; revision=10603
2003-01-17 06:24:52 +00:00
Miguel de Icaza 4da2ade4ab 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
2003-01-17 05:45:22 +00:00
Nick Drochak e58f09a3a2 2003-01-16 Nick Drochak <[email protected]>
* makefile.gnu: Add corlib target to just build that.

svn path=/trunk/mcs/; revision=10598
2003-01-17 03:08:46 +00:00
Daniel Morgan 0c20455042 2003-01-16 Daniel Morgan <[email protected]>
* 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
2003-01-17 01:40:55 +00:00
Gonzalo Paniagua Javier 128dd6e5b6 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-01-17 00:51:17 +00:00
Daniel Morgan 2df0a310e8 2003-01-16 Daniel Morgan <[email protected]>
* Mono.Data.Db2Client.build: added file for Windows build

svn path=/trunk/mcs/; revision=10588
2003-01-16 19:51:38 +00:00
Rodrigo Moya 854a1cf640 removed comment
svn path=/trunk/mcs/; revision=10587
2003-01-16 19:32:14 +00:00
Rodrigo Moya cbd0a13cc2 2003-01-16 Rodrigo Moya <[email protected]>
* makefile.gnu: added Mono.Data.DB2Client directory.

svn path=/trunk/mcs/; revision=10586
2003-01-16 19:30:56 +00:00
Rodrigo Moya 6be6743775 2003-01-16 Rodrigo Moya <[email protected]>
* 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
2003-01-16 19:28:25 +00:00
Rodrigo Moya 440e3d7fe4 2003-01-16 Rodrigo Moya <[email protected]>
* list: added missing file.

svn path=/trunk/mcs/; revision=10584
2003-01-16 19:26:32 +00:00
Miguel de Icaza 718092ace9 Flush
svn path=/trunk/mono/; revision=10582
2003-01-16 17:06:42 +00:00
Martin Baulig b04f04c2d5 2003-01-16 Martin Baulig <[email protected]>
* 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
2003-01-16 17:06:06 +00:00
Dietmar Maurer f0f16e38a5 2003-01-16 Dietmar Maurer <[email protected]>
* 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
2003-01-16 15:56:52 +00:00
Martin Baulig 3f4feeb0f7 2003-01-16 Martin Baulig <[email protected]>
* 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
2003-01-16 15:38:55 +00:00
Martin Baulig 63278cc96d 2003-01-16 Martin Baulig <[email protected]>
* 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
2003-01-16 15:28:44 +00:00
Martin Baulig 72bfd2bba1 2003-01-16 Martin Baulig <[email protected]>
* debug.c: Use the mono/io-layer functions here instead of gthread.

svn path=/trunk/mono/; revision=10574
2003-01-16 15:25:25 +00:00
Martin Baulig dfa7dcd7d1 2003-01-16 Martin Baulig <[email protected]>
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
2003-01-16 15:23:39 +00:00
Jonathan Pryor 63fae5d61b Fix the multiple-build problem. Again.
svn path=/trunk/mcs/; revision=10572
2003-01-16 14:55:12 +00:00
Gonzalo Paniagua Javier b28a8ab0d9 removed Console.WriteLines
svn path=/trunk/mcs/; revision=10570
2003-01-16 07:22:39 +00:00
Gonzalo Paniagua Javier f398aabf4f 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-01-16 07:18:07 +00:00
Gonzalo Paniagua Javier f066941cc3 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: modified loading of the parent type now that
	Type.GetType is fixed.

svn path=/trunk/mcs/; revision=10568
2003-01-16 07:11:58 +00:00
Gonzalo Paniagua Javier 9dcc700e9b 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-01-16 07:10:20 +00:00
Gonzalo Paniagua Javier ea7591ceb7 2003-01-16 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: fixed attribute reading.

svn path=/trunk/mono/; revision=10564
2003-01-16 04:09:51 +00:00
Gonzalo Paniagua Javier 1da581452c Added assembly to some type names
svn path=/trunk/mono/; revision=10563
2003-01-16 03:48:46 +00:00
Ajay kumar Dwivedi b8d82a392c 2003-01-16 Ajay kumar Dwivedi <[email protected]>
* XmlSerializer.cs: Array serialization for 1D arrays works
	* TypeTranslator: Added for translations`

svn path=/trunk/mcs/; revision=10562
2003-01-16 03:19:14 +00:00
Rodrigo Moya b34b315b1e 2003-01-15 Rodrigo Moya <[email protected]>
Added IBM DB2 provider from cleared <[email protected]>.

svn path=/trunk/mcs/; revision=10560
2003-01-16 02:51:11 +00:00
Marco Ridoni 1b8d03bcec Update by Francesco Delfino
svn path=/trunk/mcs/; revision=10557
2003-01-15 22:56:14 +00:00
Gonzalo Paniagua Javier 30df230ca0 2003-01-15 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-01-15 22:51:57 +00:00
Miguel de Icaza 2bdac9ff23 2003-01-15 Miguel de Icaza <[email protected]>
* 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
2003-01-15 21:54:17 +00:00
Paolo Molaro c2a8895543 Wed Jan 15 16:20:54 CET 2003 Paolo Molaro <[email protected]>
* configure.in: allow MacOSX (from various people).

svn path=/trunk/mono/; revision=10546
2003-01-15 15:44:13 +00:00
Paolo Molaro 1aa25005bd Update to the API change of a while ago.
svn path=/trunk/mono/; revision=10545
2003-01-15 15:21:26 +00:00
Paolo Molaro 9d4528e27a Include config.h.
svn path=/trunk/mono/; revision=10544
2003-01-15 15:20:35 +00:00
Paolo Molaro f18ce1d48f Compilation fix.
svn path=/trunk/mono/; revision=10543
2003-01-15 15:19:40 +00:00
Atsushi Eno 2f30892999 2003-01-16 Atsushi Enomoto <[email protected]>
* updated Mono.System.Xml.csproj. (patch by David B. Bitton)

svn path=/trunk/mcs/; revision=10542
2003-01-15 15:07:46 +00:00
Paolo Molaro e8db8da7ba Wed Jan 15 16:02:34 CET 2003 Paolo Molaro <[email protected]>
Define the correct runtime depending on the availability of the jit
(from Benjamin Reed).

svn path=/trunk/mono/; revision=10541
2003-01-15 15:05:13 +00:00
Paolo Molaro a06259edc8 Wed Jan 15 15:55:40 CET 2003 Paolo Molaro <[email protected]>
* sockets.h, daemon.c, io.c: compilation fixes on MacOSX.

svn path=/trunk/mono/; revision=10540
2003-01-15 14:58:43 +00:00
Nick Drochak 781b70e8f6 2003-01-12 Nick Drochak <[email protected]>
* makefile(s): Only build if source changes. Naive implementation.

svn path=/trunk/mcs/; revision=10539
2003-01-15 08:21:43 +00:00
Duncan Mak 72a70777eb 2003-01-15 Duncan Mak <[email protected]>
* Make it not spam all those warnings. Blocking errors 0108 and also
       0114.

svn path=/trunk/mcs/; revision=10537
2003-01-15 05:53:03 +00:00
Duncan Mak a69df82208 2003-01-14 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Remove the cleanup method now that
       it's no longer in the interface.

svn path=/trunk/mcs/; revision=10533
2003-01-15 04:09:13 +00:00
Jonathan Pryor aa99c2edcc 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
2003-01-15 01:40:46 +00:00
Gaurav Vaish 5cad9df360 2003-01-14 Gaurav Vaish <gvaish_mono AT lycos.com>
* *.cs                   : Update the year in copyright notice.

svn path=/trunk/mcs/; revision=10515
2003-01-14 18:43:13 +00:00
Ville Palo 6d2d918871 2003-01-14 Ville Palo <[email protected]>
* XmlSchemaMapper.cs: Some improvments

svn path=/trunk/mcs/; revision=10505
2003-01-14 16:23:38 +00:00
Ville Palo efbe2a31c0 2003-14-01 Ville Palo <[email protected]>
* DataRelationTest.cs: Added more tests

svn path=/trunk/mcs/; revision=10504
2003-01-14 15:05:56 +00:00
Paolo Molaro c087cba6d5 Tue Jan 14 14:52:52 CET 2003 Paolo Molaro <[email protected]>
* object.c: register the vtable before there is a chance it's
	queried again recursively.

svn path=/trunk/mono/; revision=10503
2003-01-14 13:56:06 +00:00
Dietmar Maurer 547d561ec0 2003-01-14 Dietmar Maurer <[email protected]>
* jit.c (mono_jit_compile_method):  make sure runtime_init is called
	(mono_analyze_stack): make sure runtime_init is called

svn path=/trunk/mono/; revision=10502
2003-01-14 10:57:47 +00:00
Paolo Molaro 04909358f2 Tue Jan 14 10:36:49 CET 2003 Paolo Molaro <[email protected]>
* class.cs, rootcontext.cs: small changes to avoid unnecessary memory
	allocations.

svn path=/trunk/mcs/; revision=10501
2003-01-14 09:40:06 +00:00
Jackson Harper 5f0dc4802f Add cleanup call.
svn path=/trunk/mcs/; revision=10499
2003-01-14 06:36:36 +00:00
Jackson Harper 3349f59a56 Remove cleanup stuff, it has been moved to a better spot.
svn path=/trunk/mcs/; revision=10498
2003-01-14 06:35:26 +00:00
Martin Baulig bc2f767e74 2003-01-14 Martin Baulig <[email protected]>
* debug.c (debugger_update_symbol_file_table): Moved all the
	functionality into debugger_update_symbol_file_table_internal();
	the latter one will be called from the background thread while
	already owning the lock.  This'll allow us to step into
	debugger_update_symbol_file_table() in the debugger and debug it.

svn path=/trunk/mono/; revision=10494
2003-01-14 04:24:38 +00:00
Martin Baulig 012d8753ea 2003-01-14 Martin Baulig <[email protected]>
* Makefile.am: Link against gthread.

	* jit.c: After realizing that mono-mutex doesn't work either
	because it doesn't support recursive mutexes on FreeBSD, rewrote
	the whole thread stuff to use gthread.  This seems to fix this
	weird deadlock in the debugger as well.

svn path=/trunk/mono/; revision=10492
2003-01-14 03:49:04 +00:00
Martin Baulig acb1ad4b9e 2003-01-14 Martin Baulig <[email protected]>
* configure.in (GTHREAD_LIBS, GTHREAD_CFLAGS): Added check for gthread.

svn path=/trunk/mono/; revision=10491
2003-01-14 03:45:33 +00:00
Gonzalo Paniagua Javier d813976707 Fixed the build
svn path=/trunk/mcs/; revision=10490
2003-01-14 02:47:21 +00:00
Ville Palo 4fe82568f8 2003-01-13 Ville Palo <[email protected]>
* XmlDocument.cs: Added CheckName () method to check names validity.

svn path=/trunk/mcs/; revision=10480
2003-01-13 20:27:45 +00:00
Rafael Teixeira 4e0359d11f head -n 2 ChangeLog
svn path=/trunk/mcs/; revision=10479
2003-01-13 20:21:38 +00:00
Miguel de Icaza 52b60d37b1 update
svn path=/trunk/mono/; revision=10477
2003-01-13 19:37:38 +00:00
Miguel de Icaza cc5a32b8f2 Flush
svn path=/trunk/mono/; revision=10476
2003-01-13 19:12:35 +00:00
Marco Ridoni 2dd4763647 Optional parameters support
svn path=/trunk/mcs/; revision=10475
2003-01-13 19:04:40 +00:00
Ville Palo eb83e65c9e 2003-01-13 Ville Palo <[email protected]>
* XmlDataDocumentTest.cs: Added more tests

svn path=/trunk/mcs/; revision=10472
2003-01-13 18:39:48 +00:00
Duncan Mak f998415be5 2003-01-13 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.

* skeleton.cs (cleanpup): Rename to cleanup to make it look more consistent.

* cs-tokenizer.cs (Cleanup): Rename to 'cleanup' to make it more
consistent with other methods.

svn path=/trunk/mcs/; revision=10471
2003-01-13 18:19:02 +00:00
Ville Palo 5bf8673afe 2003-01-13 Ville Palo <[email protected]>
* DataRowCollection.cs: Added IndexOutOfRangeException
	* DataTableCollection.cs: Added OnCollectionChanging and
	OnCollectionChanged events.
	* DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
	* DataTable.cs: Implemented Copy () and Clone () methods.
	* XmlDataLoader.cs: some fixes.
	* XmlSchemaMapper.cs: comments.

svn path=/trunk/mcs/; revision=10470
2003-01-13 18:02:06 +00:00
Ville Palo 4838dd1e7d 2003-01-13 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
	methods.

svn path=/trunk/mcs/; revision=10469
2003-01-13 17:59:08 +00:00
Gaurav Vaish f7708e260d 2003-01-13 Gaurav Vaish <gvaish_mono AT lycos.com>
* Label.cs               : The smallest class on this earth.

svn path=/trunk/mcs/; revision=10464
2003-01-13 16:52:22 +00:00
Ville Palo 8a2f7c2b73 Added new test suite
svn path=/trunk/mcs/; revision=10463
2003-01-13 16:18:54 +00:00
Jackson Harper 51646007b4 Call lexer.Cleanup when the lexer reaches the EOF.
svn path=/trunk/mcs/; revision=10462
2003-01-13 15:52:01 +00:00
Jackson Harper cf7a3205de Add Cleanup method, also fix #region error messages.
svn path=/trunk/mcs/; revision=10461
2003-01-13 15:51:09 +00:00
Gonzalo Paniagua Javier bb854a1d37 updated version
svn path=/trunk/mcs/; revision=10460
2003-01-13 15:44:19 +00:00
Ville Palo b975015b12 2003-13-01 Ville Palo <[email protected]>
* DataRelationTest.cs: Test class for DataRelation

svn path=/trunk/mcs/; revision=10459
2003-01-13 15:16:46 +00:00
Ville Palo a4e1c42dcd 2003-01-13 Ville Palo <[email protected]>
* data_linux_test.args: Added some classes

svn path=/trunk/mcs/; revision=10458
2003-01-13 15:14:41 +00:00
Nick Drochak 8c2eea0b3d 2003-01-13 Nick Drochak <[email protected]>
* DateTimeTest.cs: Use 2003, since that' the year now.  Need to work
	on this test so we don't have it fail each new year.

svn path=/trunk/mcs/; revision=10451
2003-01-13 13:26:10 +00:00
Nick Drochak f7f37fe584 2003-01-13 Nick Drochak <[email protected]>
* XmlNodeTests.cs: MS.NET doesn't throw an exception here.

svn path=/trunk/mcs/; revision=10450
2003-01-13 12:13:47 +00:00
Nick Drochak 44577e9e47 2003-01-13 Nick Drochak <[email protected]>
* MutexTest.cs: Disable some tests that case unhandled exceptions
	on MS.NET.

svn path=/trunk/mcs/; revision=10449
2003-01-13 12:10:47 +00:00
Paolo Molaro c34180e2df Mon Jan 13 11:37:14 CET 2003 Paolo Molaro <[email protected]>
* TypeBuilder.cs, ModuleBuilder.cs: better type name cache.

svn path=/trunk/mcs/; revision=10448
2003-01-13 10:40:04 +00:00
Miguel de Icaza a42443d9ff Oops. Fix, thanks to Sebastien and Dan for noticing
svn path=/trunk/mono/; revision=10447
2003-01-13 04:02:28 +00:00
Miguel de Icaza 5250b2df7d More updates
svn path=/trunk/mono/; revision=10446
2003-01-13 04:00:04 +00:00
Miguel de Icaza 0b1b0d1e17 Flush
svn path=/trunk/mono/; revision=10445
2003-01-13 03:42:21 +00:00
Duncan Mak fa79519688 Comment out the SuSE part for now until we build packages for it.
svn path=/trunk/mono/; revision=10444
2003-01-13 02:56:41 +00:00
Duncan Mak 8c51f5404f Update the webpage
svn path=/trunk/mono/; revision=10443
2003-01-13 02:32:49 +00:00
Rafael Teixeira d58225f757 hope it does not hang
svn path=/trunk/mcs/; revision=10442
2003-01-12 23:37:35 +00:00
Duncan Mak 413b04d360 Bump the version number to 0.18.
svn path=/trunk/mono/; revision=10441
2003-01-12 22:34:59 +00:00
Paolo Molaro db1f8f193e Sun Jan 12 19:58:42 CET 2003 Paolo Molaro <[email protected]>
* attribute.cs: only set GuidAttr to true when we have a
	GuidAttribute.

svn path=/trunk/mcs/; revision=10435
2003-01-12 19:15:31 +00:00
Miguel de Icaza 2a1ea43f4f Flush
svn path=/trunk/mcs/; revision=10434
2003-01-12 19:08:20 +00:00
Miguel de Icaza a4455e3f30 Flush
svn path=/trunk/mono/; revision=10429
2003-01-12 18:27:25 +00:00
Duncan Mak b5ffea4ee2 2003-01-12 Varga Zoltan <[email protected]>
* ArrayList.cs (RemoveRange): Patch for allowing zero-size
	removal at the end of a list. It also cleans up the argument
	checking code so the raised exceptions have the same message as
	under MS.NET.

svn path=/trunk/mcs/; revision=10426
2003-01-12 17:25:00 +00:00
Alp Toker f12bca6432 2003-01-12 Alp Toker <[email protected]>
* exception.c: Typo fix: insinde -> inside

svn path=/trunk/mono/; revision=10425
2003-01-12 17:11:09 +00:00
Gaurav Vaish 8594aa5558 2003-01-12 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileControl.cs       : Stub-ing completed. ;-)
	* ControlPager.cs        : Dummy implementation.

svn path=/trunk/mcs/; revision=10420
2003-01-12 16:25:05 +00:00
Rafael Teixeira f0afb017f7 make test
svn path=/trunk/mcs/; revision=10419
2003-01-12 16:06:14 +00:00
Sebastien Pouliot 314581e888 *** empty log message ***
svn path=/trunk/mono/; revision=10418
2003-01-12 15:58:55 +00:00
Sebastien Pouliot ea6e288bca 2003-01-12 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added MACTripleDES test file.

svn path=/trunk/mcs/; revision=10417
2003-01-12 15:57:45 +00:00
Sebastien Pouliot 1f21c2668b 2003-01-12 Sebastien Pouliot <[email protected]>
* HashAlgorithmTest.cs: Added new test for null streams.
	* MACTripleDESTest.cs: New. Test suite par MAC using 3DES.

svn path=/trunk/mcs/; revision=10416
2003-01-12 15:54:36 +00:00
Sebastien Pouliot 7ec2e18907 2003-01-12 Sebastien Pouliot <[email protected]>
* MACTripleDES.cs: Now working (the problem was with my stream usage
	which was removed for performance reason).
	* TripleDES.cs: Fixed key generation (wasn't called and returned
	null).

svn path=/trunk/mcs/; revision=10415
2003-01-12 15:53:37 +00:00
Gaurav Vaish 1e44ddf80c 2003-01-12 Gaurav Vaish <gvaish_mono AT lycos.com>
* FontInfo.cs            : Implemented.
	* Form.cs                : Initial implementation.
	* Panel.cs               : Initial implementation.
	* MobileControl.cs       : Stubbed all properties.

svn path=/trunk/mcs/; revision=10414
2003-01-12 14:02:20 +00:00
Gonzalo Paniagua Javier db545706f5 2003-01-12 Gonzalo Paniagua Javier <[email protected]>
* StringCollection.cs: fixed range checks in CopyTo.

svn path=/trunk/mcs/; revision=10407
2003-01-12 08:37:20 +00:00
Gonzalo Paniagua Javier 89c6198dab 2003-01-12 Gonzalo Paniagua Javier <[email protected]>
* Exception.cs: changed default message to match MS one.

svn path=/trunk/mcs/; revision=10406
2003-01-12 08:09:12 +00:00
Duncan Mak 59aa23f847 2003-01-13 Duncan Mak <[email protected]>
* Makefile.am (libmonoruntime_la_SOURCES): Change gc.h to
	gc-internal.h.

svn path=/trunk/mono/; revision=10402
2003-01-12 05:38:22 +00:00
Jonathan Pryor c095b052d9 Fix makefile so type-reflector doesn't build when it doesn't need to.
svn path=/trunk/mcs/; revision=10401
2003-01-12 05:31:24 +00:00
Patrik Torstensson fad04e5265 2002-01-12 Patrik Torstensson <[email protected]>
* string-icall.[c|h], icall.c: Added support for CompareOrdinal mode

svn path=/trunk/mono/; revision=10398
2003-01-12 01:35:35 +00:00
Patrik Torstensson 13320bfb6b 2003-01-12 Patrik Torstensson <[email protected]>
* String.cs: Fixed bug with CompareOrdinal

svn path=/trunk/mcs/; revision=10397
2003-01-12 01:30:01 +00:00
Nick Drochak 16ec731a80 2003-01-12 Nick Drochak <[email protected]>
* TestResult.xml: Generated result file. Shouldn't be in CVS.

svn path=/trunk/mcs/; revision=10396
2003-01-12 00:20:56 +00:00
Johannes Roith f157a946e8 fix typo.
svn path=/trunk/mcs/; revision=10395
2003-01-11 23:18:54 +00:00
Martin Baulig 5a9fcf1c4f 2003-01-11 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MONO_SYMBOL_FILE_DYNAMIC_VERSION): Incremented
	this to 20 for the release.

svn path=/trunk/mono/; revision=10373
2003-01-11 13:45:48 +00:00
Jonathan Pryor ead0797e43 Allow greater control of property generation by derived classes (through
PropertyFormat properties).

Fix a bug where the ReflectionNodeFinder wouldn't display the value of static
properties (it was using an invalid instance reference).

svn path=/trunk/mcs/; revision=10372
2003-01-11 04:42:20 +00:00
Patrik Torstensson 4ec4a564e6 2003-01-10 Patrik Torstensson <[email protected]>
* ThreadPool.cs: Temporary removed the usage of monitor thread,
			implemented a model more equal to the MS one.

svn path=/trunk/mcs/; revision=10368
2003-01-11 00:30:58 +00:00
Gonzalo Paniagua Javier b4ff470fda 2003-01-11 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs:
	(ReadOuterXml): use Depth property which return elementDepth, not depth.

svn path=/trunk/mcs/; revision=10367
2003-01-11 00:02:34 +00:00
Gonzalo Paniagua Javier 0305ecc846 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: implements IFormattable.

svn path=/trunk/mcs/; revision=10366
2003-01-10 22:46:54 +00:00
Duncan Mak eb8965458e 2003-01-10 Duncan Mak <[email protected]>
* ArrayList.cs (Insert): Patch from Zoltan
	([email protected]).

svn path=/trunk/mcs/; revision=10363
2003-01-10 21:54:44 +00:00
Duncan Mak 544d9defeb 2003-01-10 Duncan Mak <[email protected]>
* list.unix (CSharpCodeCompiler): Add
	Microsoft.Charp.CSharpCodeCompiler for Sean Kasun.

	* CSharpCodeCompiler.cs:
	* CSharpCodeProvider.cs: Patch from Sean Kasun
	<[email protected]> to implement CSharpCodeCompiler.

	* CompilerErrorCollection.cs:
	* CompilerParameters.cs: Patch from Sean Kasun
	<[email protected]> implementing most of the MonoTODOs in
	CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.

svn path=/trunk/mcs/; revision=10362
2003-01-10 21:38:30 +00:00
Zoltan Varga 7769949627 2003-01-10 Zoltan Varga <[email protected]>
* ILGenerator.cs: Implemented EmitWriteLine(string).

svn path=/trunk/mcs/; revision=10359
2003-01-10 19:33:12 +00:00
Zoltan Varga 79aae4e91e 2003-01-10 Zoltan Varga <[email protected]>
* TypeBuilder.cs (DefineInitializedData): Call DefineNestedType()
	instead of DefineType() so the auxiliary types do not pollute the
	global namespace. This is consistent with the behaviour of MS .NET.

svn path=/trunk/mcs/; revision=10358
2003-01-10 19:29:03 +00:00
Gaurav Vaish 875085a576 2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecific.cs      : Dummy implementation.
	* MobilePage.cs          : GetControlAdapter(MobileControl) - Stubbed.
	* MobileControl.cs       : Adapter        { get; }      - Implemented
	                         : BreakAfter     { get; set; } - Stubbed.
	                         : DeviceSpecific { get; set; } - Stubbed.
	                         : MobilePage     { get; }      - Stubbed.

svn path=/trunk/mcs/; revision=10353
2003-01-10 19:08:56 +00:00
Atsushi Eno 464d99efee 2003-01-11 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : added TestInnerTextAndEvent test.
	  (and many coding style fix.)
	* XmlTextReaderTests.cs : tiny argument order fix for TestAttributeWithEntityReference test.

svn path=/trunk/mcs/; revision=10350
2003-01-10 18:51:31 +00:00
Atsushi Eno ef0e31f171 2003-01-11 Atsushi Enomoto <[email protected]>
* XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
	* XmlTextReader.cs : some fix for ReadOuterXml().

svn path=/trunk/mcs/; revision=10349
2003-01-10 18:50:39 +00:00
Gaurav Vaish e67543ba67 2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
* IObjectListFieldCollection.cs,
	* IPageAdapter.cs,
	* ITemplateable.cs                    : Added interface.
	* ObjectListField.cs                  : Dummy implementation.

svn path=/trunk/mcs/; revision=10344
2003-01-10 17:58:51 +00:00
Gaurav Vaish b76e1498d1 2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItemType.cs,
	* ObjectListViewMode.cs,
	* WmlListFieldType.cs,    // Failed to locate enumeration!
	* Wrapping.cs
	                         : Added enumerations.

svn path=/trunk/mcs/; revision=10343
2003-01-10 17:30:32 +00:00
Dietmar Maurer 3918d71392 2003-01-10 Dietmar Maurer <[email protected]>
* marshal.c (emit_struct_conv): added support for EXPLICIT_LAYOUT

svn path=/trunk/mono/; revision=10341
2003-01-10 17:23:22 +00:00
Dietmar Maurer 0cb993900a more explicit layout related fixes
svn path=/trunk/mono/; revision=10340
2003-01-10 16:40:46 +00:00
Dietmar Maurer fe1f469a15 2003-01-10 Dietmar Maurer <[email protected]>
* marshal.c (emit_struct_conv): added an assertion for EXPLICIT_LAYOUT

svn path=/trunk/mono/; revision=10339
2003-01-10 16:31:27 +00:00
Dietmar Maurer c148129bd9 *** empty log message ***
svn path=/trunk/mono/; revision=10338
2003-01-10 16:19:43 +00:00
Dietmar Maurer 114dcd4c27 2003-01-10 Dietmar Maurer <[email protected]>
* loader.c (mono_method_get_marshal_info): bug fix

	* marshal.c (mono_marshal_get_ptr_to_struct): don't convert
	structures with explicit layout

svn path=/trunk/mono/; revision=10337
2003-01-10 16:18:13 +00:00
Jonathan Pryor b12c11330b Allow GUI front-ends to be used by default.
This allows ``type-reflector.exe'' (no arguments) to open a Gtk# window which
can be later used to open an Assembly.

svn path=/trunk/mcs/; revision=10336
2003-01-10 15:47:21 +00:00
Jonathan Pryor 99f0d27705 Don't require that types be specified on the command line if the displayer
doesn't require them.

For example, it's sensible for a GUI program to load without having any
assembly loaded, so there's no reason for assemblies/types to be specified.

This allows us to do:

    type-reflector --displayer=gtk

And get an empty Gtk# window (which can be later filled by using
File->Open...).

svn path=/trunk/mcs/; revision=10335
2003-01-10 15:08:10 +00:00
Paolo Molaro b2b4e687a2 Fri Jan 10 16:03:30 CET 2003 Paolo Molaro <[email protected]>
* ILGenerator.cs, MethodBuilder.cs, TypeBuilder.cs,
	ConstructorBuilder.cs: some tweaks to reduce memory usage.

svn path=/trunk/mcs/; revision=10334
2003-01-10 15:06:28 +00:00
Paolo Molaro 6ac813aeec Fri Jan 10 15:58:09 CET 2003 Paolo Molaro <[email protected]>
* profiler.c: made the output more readable (and sorted).
	Added caller information for the allocation profiler.

svn path=/trunk/mono/; revision=10333
2003-01-10 15:02:00 +00:00
Dietmar Maurer ce0aeca153 also test isinst
svn path=/trunk/mono/; revision=10332
2003-01-10 14:57:05 +00:00
Dietmar Maurer 79bc748bc3 new test
svn path=/trunk/mono/; revision=10331
2003-01-10 14:32:01 +00:00
Jonathan Pryor b533e9d4d6 Better namespace partitioning. Instead of having all files in the same
namespace, partition into namespaces according to purpose.  For example, all
formatters (CSharp, VB, Default, etc.) are moved to the
Mono.TypeReflector.Formatters namespace.

Similar things were done for finders and displayers.

svn path=/trunk/mcs/; revision=10330
2003-01-10 14:16:07 +00:00
Gonzalo Paniagua Javier 8df50f0a41 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* README.building: New file.
	* makefile.gnu: install README.building file.

svn path=/trunk/mcs/; revision=10329
2003-01-10 09:44:59 +00:00
Gonzalo Paniagua Javier 3ba86a68ad 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: cast to Control if the container does not implement
	INamingContainer.

svn path=/trunk/mcs/; revision=10327
2003-01-10 08:41:11 +00:00
Gonzalo Paniagua Javier 825f31d939 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: keep _lasterror if no context. Attach
	application events *after* modules initialization (if not, User is not
	set when the user handler is called).

	* HttpApplicationFactory.cs: made all methods related to
	AttachEvents static. I will fix OnStart/OnEnd for application and
	session later.

	* HttpRequest.cs: don't initialize cookies twice.

svn path=/trunk/mcs/; revision=10326
2003-01-10 07:57:39 +00:00
Sebastien Pouliot 3dc7aa9132 2003-01-09 Sebastien Pouliot <[email protected]>
* AUTHORS: add myself to class library list

svn path=/trunk/mcs/; revision=10325
2003-01-10 03:04:20 +00:00
Sebastien Pouliot f91bb446ef 2003-01-09 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProvider.cs: Changed methods interacting with
	the runtime as Internal<MethodName>. This will allow to make the
	class Windows-compatible by doing a switch at runtime.

svn path=/trunk/mcs/; revision=10324
2003-01-10 02:33:04 +00:00
Sebastien Pouliot c5b1bb53c4 2003-01-09 Sebastien Pouliot <[email protected]>
* icall.c, rand.c, rand.h: Prepended RNG functions with Internal.

svn path=/trunk/mono/; revision=10323
2003-01-10 02:26:36 +00:00
Gonzalo Paniagua Javier 2bbefc17f4 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: added resource file.

svn path=/trunk/mcs/; revision=10322
2003-01-10 02:12:25 +00:00
Gonzalo Paniagua Javier 57f64df400 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: implemented DoCallBack method.
	* MonoType.cs:
	(GetConstructorImpl): when the flag is BindingFlags.Default, set it to
	Public, Instance.

	NUnit2 tests start moving.

svn path=/trunk/mcs/; revision=10321
2003-01-10 02:11:16 +00:00
Jonathan Pryor 6d1edcc097 Provide a passable, if ugly, solution to the question posted to mono-list and
mono-hackers: how to provide support for what the build platform provides.

For example, if you're on Windows and have System.Windows.Forms but not Gtk#,
the default compile should give you System.Windows.Forms support and console
output.

If you're on Linux with Gtk# and no System.Windows.Forms, you should get Gtk#
support from the default compile.

Next trick: default to the GUI displayer, not the console displayer, if
--displayer isn't specified.  I have no idea how to pull that off...

svn path=/trunk/mcs/; revision=10320
2003-01-10 02:01:30 +00:00
Gonzalo Paniagua Javier 5a26321c22 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: fixed a couple of thinkos related to IsSubclassOf.

svn path=/trunk/mcs/; revision=10319
2003-01-10 01:16:10 +00:00
Gonzalo Paniagua Javier c499ff3b51 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: make it fire the LoadData related events also for controls
	such as ImageButton, whose variable(s) in the query string are of the
	form ctrl_name.x and only fire them once per control.

svn path=/trunk/mcs/; revision=10318
2003-01-10 01:13:49 +00:00
Gonzalo Paniagua Javier 69bb122b82 2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs:
	(ApplyAppPathModifiers): return the root directory for "".

svn path=/trunk/mcs/; revision=10317
2003-01-10 01:11:53 +00:00
Marco Ridoni 0936098eb5 Big New Year patch:
- Exit partly implemented (behaves like 'break' in C#)
- Arrays working (still very buggy and work only if declared
  statically - e.g. Dim MyArray(2,3) - but the plumbing is in place)
- Field and Local declarations have been re-coded in the grammar

svn path=/trunk/mcs/; revision=10316
2003-01-10 00:19:51 +00:00
Jonathan Pryor 55c9ab6a39 Remove dependence upon compiler symbols for GUI support (e.g. HAVE_GUI_GTK,
HAVE_GUI_SWF) by placing this information within type-reflector.exe.config.

This also provides for user-provided formatters/finders/displayers.  They
merely need to write a class and add it to the appropriate section.

svn path=/trunk/mcs/; revision=10315
2003-01-09 23:21:32 +00:00
Gonzalo Paniagua Javier 636ed33ad5 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: fixed bug #36052. Also added checks to avoid trying to
	instantiate an abstract class.

svn path=/trunk/mcs/; revision=10313
2003-01-09 22:34:35 +00:00
Gonzalo Paniagua Javier f726ea6038 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_System_Activator_CreateInstanceInternal. Used
	to get value types.

svn path=/trunk/mono/; revision=10312
2003-01-09 22:32:02 +00:00
Miguel de Icaza d506c0911d Some fixes for jstrike to look at
svn path=/trunk/mcs/; revision=10311
2003-01-09 22:25:56 +00:00
Gonzalo Paniagua Javier 383931b0ac 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* ecore.cs:
	* expression.cs:
	* typemanager.cs: fixes to allow mcs compile corlib with the new
	Type.IsSubclassOf fix.

svn path=/trunk/mcs/; revision=10310
2003-01-09 22:24:40 +00:00
Gonzalo Paniagua Javier 7e2eecd0d0 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* Type.cs:
	(IsSubclassOf): return false when null. Use != instead of Equals.

svn path=/trunk/mcs/; revision=10309
2003-01-09 22:21:52 +00:00
Gaurav Vaish 3b996b920f 2003-01-09 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileControl.cs       : Added some more properties (dummies).
	* Alignment.cs,
	* BooleanOption.cs,
	* CommandFormat.cs,
	* FontSize.cs,
	* FormMethod.cs,
	* ListDecoration.cs,
	* ListSelectType.cs,
	                         : Added enumerations.

svn path=/trunk/mcs/; revision=10307
2003-01-09 18:51:19 +00:00
Paolo Molaro e1072fa87e Thu Jan 9 19:43:11 CET 2003 Paolo Molaro <[email protected]>
* object.c, profiler.h, profiler.c, profiler-private.h:
	Added object allocation profiler.

svn path=/trunk/mono/; revision=10306
2003-01-09 18:46:35 +00:00
Gaurav Vaish 3350778a00 2003-01-09 Gaurav Vaish <gvaish_mono AT lycos.com>
* assemblies.xml     : Needed for Mobile controls enumerations.

svn path=/trunk/mcs/; revision=10305
2003-01-09 18:12:19 +00:00
Paolo Molaro 5feab0a69a Thu Jan 9 16:17:00 CET 2003 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: handle global methods.
	Compress blob entries.

svn path=/trunk/mono/; revision=10304
2003-01-09 15:23:01 +00:00
Paolo Molaro f48ee288b9 Cut&pasted code got the cut before the off-by-one fix.
svn path=/trunk/mono/; revision=10303
2003-01-09 15:18:14 +00:00
Paolo Molaro d845777e9d Thu Jan 9 15:54:53 CET 2003 Paolo Molaro <[email protected]>
* marshal.c: fix compilation.

svn path=/trunk/mono/; revision=10302
2003-01-09 14:57:32 +00:00
Jaime Anguiano Olarra 4eea199abb Fix.
svn path=/trunk/mono/; revision=10301
2003-01-09 14:56:40 +00:00
Dietmar Maurer 621c256867 2003-01-09 Dietmar Maurer <[email protected]>
* loader.c (mono_method_get_marshal_info): impl.

	* metadata.c (mono_metadata_field_info): use mono_metadata_get_marshal_info

svn path=/trunk/mono/; revision=10300
2003-01-09 13:00:53 +00:00
Gonzalo Paniagua Javier 23e5b795c3 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* icall.c: applied fix from Zoltan Varga that fixes Type.IsPrimitive
	for reference types.

svn path=/trunk/mono/; revision=10299
2003-01-09 08:18:56 +00:00
Gonzalo Paniagua Javier 764e2b9db0 2003-01-09 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: fixed IsSubclassOf. Patch from Zoltan Varga.

svn path=/trunk/mcs/; revision=10298
2003-01-09 08:12:04 +00:00
Jonathan Pryor 5bb9f62508 Lots of changes all over the map. See ChangeLog for details.
The biggest change is a System.Windows.Forms front-end.  It doesn't look as
nice (visually) as the Gtk# front-end, but it's better because it works.
Mwa-ha-ha-ha.  Err, sorry.

To be more specific, the Gtk# front-end works, but (at present) it must build
the entire tree at once, during initialization.

The swf front-end doesn't.  When you attempt to expand a node, it's at *that*
point that it looks for sub-nodes, allowing you to use (for example) the
reflection finder (--finder=reflection) and start clicking lots of `+' signs
to get properties of properties of properties...  (Make sure verbose output is
enabled to see what I mean.)

This is the approach I want Gtk# to ultimately follow, as soon as I figure out
how to do that (read: Gtk# allows me to do it cleanly).

svn path=/trunk/mcs/; revision=10297
2003-01-09 02:44:32 +00:00
Miguel de Icaza 784686c87e 2003-01-08 Miguel de Icaza <[email protected]>
* cs-parser.jay (fixed_statement): take a type instead of a
	pointer_type, so we can produce a better error message later.

	* statement.cs (Fixed.Resolve): Flag types that are not pointers
	as an error.

svn path=/trunk/mcs/; revision=10294
2003-01-08 22:38:38 +00:00
Miguel de Icaza e6a5308498 Add new error
svn path=/trunk/mcs/; revision=10293
2003-01-08 22:32:01 +00:00
Miguel de Icaza b3d6aded2a 2003-01-08 Miguel de Icaza <[email protected]>
* statement.cs: First populate the pinned variables, then emit the
	statement, then clear the variables.  Before I was emitting the
	code once for each fixed piece.

svn path=/trunk/mcs/; revision=10291
2003-01-08 21:46:34 +00:00
Miguel de Icaza 7c508a6f59 Improve test
svn path=/trunk/mcs/; revision=10290
2003-01-08 21:40:55 +00:00
Jaime Anguiano Olarra a70b90adb0 Fixed typo.
svn path=/trunk/mono/; revision=10289
2003-01-08 21:08:56 +00:00
Paolo Molaro cec5ae1ae9 Wed Jan 8 20:11:46 CET 2003 Paolo Molaro <[email protected]>
* loader.c: fixed off by one error in loaded parameter names.

svn path=/trunk/mono/; revision=10288
2003-01-08 19:14:35 +00:00
Gaurav Vaish a02ac6a4ad 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* IControlAdapter.cs     : Completed interface.
	* MobileControl.cs       : Initial implementation.
	* MobilePage.cs          : Dummy implementation.

svn path=/trunk/mcs/; revision=10287
2003-01-08 18:58:38 +00:00
Gaurav Vaish 7496998985 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* TODOAttribute.cs         : Added MonoTODO Attribute
	* ChangeLog                : Added file

svn path=/trunk/mcs/; revision=10286
2003-01-08 18:55:19 +00:00
Gaurav Vaish 1bc4619881 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* .cvsignore                             : Ignores local files
	* System.Web.Mobile.build                : The build file

svn path=/trunk/mcs/; revision=10285
2003-01-08 18:23:43 +00:00
Gaurav Vaish a3fc216cd1 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.Mobile,
	* System.Web.UI.MobileControls,
	* System.Web.UI.MobileControls.Adapters  : Added directories

svn path=/trunk/mcs/; revision=10284
2003-01-08 18:10:03 +00:00
Miguel de Icaza c223ac0456 Patch from Piers
svn path=/trunk/mcs/; revision=10283
2003-01-08 18:00:00 +00:00
Dietmar Maurer a29ff00f6e 2003-01-08 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_icall_wrapper): like
	mono_marshal_get_native_wrapper, but simpler and use a MonoMethodSignature
	instead of a MonoMethod.

svn path=/trunk/mono/; revision=10282
2003-01-08 17:38:59 +00:00
Dick Porter 58d5f4b1e1 2003-01-08 Dick Porter <[email protected]>
* Win32Exception.cs (ComponentModel): Added EWOULDBLOCK

svn path=/trunk/mcs/; revision=10281
2003-01-08 15:59:42 +00:00
Dick Porter 605ce25a5d 2003-01-08 Dick Porter <[email protected]>
* sockets.c: Fixed setting blocking mode to true (fixes bug 36388)

svn path=/trunk/mono/; revision=10280
2003-01-08 15:57:30 +00:00
Dietmar Maurer 5effc7c4c8 (x86_unwind_native_frame): disable unnecessary assertion
svn path=/trunk/mono/; revision=10279
2003-01-08 15:39:10 +00:00
Dietmar Maurer 00008d5186 2003-01-08 Dietmar Maurer <[email protected]>
* exception.c (ves_icall_get_frame_info): skip one more frame and also
	MONO_WRAPPER_RUNTIME_INVOKE wrappers

svn path=/trunk/mono/; revision=10278
2003-01-08 12:40:08 +00:00
Martin Baulig 0fbb4f9b23 2003-01-08 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.MergeChild): A break in a
	SWITCH_SECTION does not leave a loop.  Fixes #36155.

svn path=/trunk/mcs/; revision=10277
2003-01-08 11:42:49 +00:00
Martin Baulig f4ba006995 2003-01-08 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.CheckOutParameters): `struct_params'
	lives in the same number space than `param_map'.  Fixes #36154.

svn path=/trunk/mcs/; revision=10276
2003-01-08 11:16:10 +00:00
Gaurav Vaish f779a4dc96 2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.Mobile  : Added new directory

svn path=/trunk/mcs/; revision=10275
2003-01-08 10:27:15 +00:00
Gonzalo Paniagua Javier f72695f958 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: default value for ShowHeaders is true. Fixed style for
	Header and Footer.
	* DataGridColumn.cs: added SetOwner method.
	* DataGridColumnCollection.cs: set the owner of the column when added.

svn path=/trunk/mcs/; revision=10272
2003-01-08 05:57:24 +00:00
Gonzalo Paniagua Javier bdb14f3711 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs:
	(GetPropertyValue): don't try to get the property as indexed

svn path=/trunk/mcs/; revision=10271
2003-01-08 05:55:06 +00:00
Gonzalo Paniagua Javier d16f2f3722 forgot this one
svn path=/trunk/mcs/; revision=10270
2003-01-08 05:53:06 +00:00
Gonzalo Paniagua Javier 5b52c01d8f 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.

svn path=/trunk/mcs/; revision=10269
2003-01-08 05:52:24 +00:00
Gonzalo Paniagua Javier 9297c6d626 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.

svn path=/trunk/mcs/; revision=10268
2003-01-08 05:51:16 +00:00
Gonzalo Paniagua Javier 60789fe78f 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* AspElements.cs: attributes without value lacked a space afterwards.

svn path=/trunk/mcs/; revision=10267
2003-01-08 00:25:42 +00:00
Gonzalo Paniagua Javier 79f64cde76 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.

svn path=/trunk/mcs/; revision=10266
2003-01-07 23:42:27 +00:00
Gonzalo Paniagua Javier f71e7daac7 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* BoundColumn.cs: typo.
	* DataGrid.cs: use 'as' instead of casting. Typo.
	* HyperLinkColumn.cs: call OnColumnChanged when any property change.
	Mono-stylized.

svn path=/trunk/mcs/; revision=10264
2003-01-07 23:21:44 +00:00
Gonzalo Paniagua Javier 3240745d32 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: use TypeDescriptor to get the properties and their
	values.

svn path=/trunk/mcs/; revision=10263
2003-01-07 23:18:02 +00:00
Gonzalo Paniagua Javier a825320f7c 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: use ICustomTypeDescriptor if the component
	implements it. It's done for GetProperties and should be done for the
	rest of methods present in ICustomTypeDescriptor.

svn path=/trunk/mcs/; revision=10262
2003-01-07 23:16:13 +00:00
Gonzalo Paniagua Javier 833088d020 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* list: added System.Data/DataTablePropertyDescriptor.cs
	* System.Data/DataColumnPropertyDescriptor.cs: fixed typo.
	* System.Data/DataViewManagerListItemTypeDescriptor.cs: added new
	internal property to get the DataViewManager and removed TablePD class.
	* System.Data/DataTablePropertyDescriptor.cs: TablePD class is now this
	one as suggested by danmorg.

svn path=/trunk/mcs/; revision=10261
2003-01-07 23:14:02 +00:00
Miguel de Icaza 6caf7d27e4 2003-01-07 Miguel de Icaza <[email protected]>
* cs-parser.jay (constructor_declaration): Set the
	Constructor.ModFlags before probing for it.  This makes the
	compiler report 514, 515 and 132 (the code was there, but got
	broken).

svn path=/trunk/mcs/; revision=10260
2003-01-07 21:10:23 +00:00
Miguel de Icaza ddee62a7a3 Fix test
svn path=/trunk/mcs/; revision=10259
2003-01-07 21:02:30 +00:00
Miguel de Icaza ba145fa703 Add new error
svn path=/trunk/mcs/; revision=10258
2003-01-07 20:40:17 +00:00
Miguel de Icaza 08296f179d 2003-01-07 Miguel de Icaza <[email protected]>
* statement.cs (Goto.Resolve): Set `Returns' to ALWAYS.
	(GotoDefault.Resolve): Set `Returns' to ALWAYS.
	(GotoCase.Resolve): Set `Returns' to ALWAYS. Fixes the test-49 problem on windows

svn path=/trunk/mcs/; revision=10257
2003-01-07 20:23:07 +00:00
Gonzalo Paniagua Javier 90d9c9150b 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: moved code from GetProperties (object) to (Type).

svn path=/trunk/mcs/; revision=10256
2003-01-07 19:09:21 +00:00
Gonzalo Paniagua Javier 5564a7150f 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: functions for columns don't return anything. Fixed
	typo.

svn path=/trunk/mcs/; revision=10255
2003-01-07 19:07:45 +00:00
Atsushi Eno 847f6606b2 2003-01-08 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : bugfix for attributes related to creation of
	  XmlAttribute *node*.

svn path=/trunk/mcs/; revision=10254
2003-01-07 17:39:01 +00:00
Atsushi Eno 739c956f27 2003-01-08 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : test for attribute value bugfix.

svn path=/trunk/mcs/; revision=10253
2003-01-07 17:38:23 +00:00
Paolo Molaro f0d95fe8cf Tue Jan 7 18:32:24 CET 2003 Paolo Molaro <[email protected]>
* enum.cs: create the enum static fields using the enum type.

svn path=/trunk/mcs/; revision=10252
2003-01-07 17:35:23 +00:00
Atsushi Eno 62b6fc8944 2003-01-08 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : test for attribute value bugfix.

svn path=/trunk/mcs/; revision=10251
2003-01-07 16:39:53 +00:00
Atsushi Eno dbbe86f0a0 2003-01-08 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : bugfix for attribute values which have entity
	  references.

svn path=/trunk/mcs/; revision=10250
2003-01-07 16:38:52 +00:00
Dietmar Maurer cc2e1d4b5b 2003-01-07 Dietmar Maurer <[email protected]>
* exception.c (ves_icall_get_frame_info): fix bug 36382

svn path=/trunk/mono/; revision=10249
2003-01-07 16:18:55 +00:00
Gonzalo Paniagua Javier 1c77488486 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* decimal.c: fixed bug #36537.

svn path=/trunk/mono/; revision=10248
2003-01-07 15:51:49 +00:00
Paolo Molaro 9c62305b01 Tue Jan 7 15:15:41 CET 2003 Paolo Molaro <[email protected]>
* jit.c: handle wrapper_data in NEWOBJ/CALL.

svn path=/trunk/mono/; revision=10247
2003-01-07 14:18:48 +00:00
Paolo Molaro d63fd1df4c Mon Jan 6 19:37:59 CET 2003 Paolo Molaro <[email protected]>
* marshal.c: throw a missing method exception if a
	P/Invoke method is not found.

svn path=/trunk/mono/; revision=10246
2003-01-07 14:17:16 +00:00
Dietmar Maurer 448aa3dc72 2003-01-07 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): add check for NULL target in STFLD

svn path=/trunk/mono/; revision=10245
2003-01-07 11:28:25 +00:00
Gaurav Vaish b8e96d3f03 2003-01-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* DataBindingHandler.cs         : Implemented.

svn path=/trunk/mcs/; revision=10244
2003-01-07 08:34:38 +00:00
Gonzalo Paniagua Javier dcbbeb8b65 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* HyperLink.cs: fixes bug #36336.

svn path=/trunk/mcs/; revision=10232
2003-01-07 04:44:22 +00:00
Gonzalo Paniagua Javier 3514aead26 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed IRepeatInfoUser.GetItemStyle.

svn path=/trunk/mcs/; revision=10230
2003-01-07 03:44:47 +00:00
Gonzalo Paniagua Javier ec4ed8f7f2 added XmlDiffLoader.cs
svn path=/trunk/mcs/; revision=10229
2003-01-07 02:25:09 +00:00
Gonzalo Paniagua Javier a64ba556e1 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: add data bound controls to code render function.

svn path=/trunk/mcs/; revision=10228
2003-01-07 01:35:11 +00:00
Gonzalo Paniagua Javier 1ccb7b53e5 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: reworked to allow same prefix for multiple
	controls. You can register 1 assembly plus any number of user controls
	under the same prefix.

	* AspGenerator.cs: don't add duplicate 'using' for the same namespace.
	Hack to allow @Register access to assemblies in other places than bin
	directory.

svn path=/trunk/mcs/; revision=10225
2003-01-07 00:14:04 +00:00
Piers Haken 7f9719631b *** empty log message ***
svn path=/trunk/mcs/; revision=10224
2003-01-07 00:04:53 +00:00
Miguel de Icaza e843f2d74c Flush
svn path=/trunk/mono/; revision=10222
2003-01-06 22:25:17 +00:00
Ville Palo a451bdcd42 2003-01-06 Ville Palo <[email protected]>
* XmlDataLoader.cs: Moved diffgram stuff to new internal class
	XmlDiffLoader.
	* XmlDiffLoader.cs: new class for diffgrams. Added handling of
	diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.

svn path=/trunk/mcs/; revision=10220
2003-01-06 19:08:31 +00:00
Gonzalo Paniagua Javier 1900d8f0a5 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
* MemoryStream.cs: fixed bug #36319.

svn path=/trunk/mcs/; revision=10219
2003-01-06 17:57:49 +00:00
Gonzalo Paniagua Javier cae5963b24 Fixed typo
svn path=/trunk/mcs/; revision=10218
2003-01-06 17:11:07 +00:00
Gonzalo Paniagua Javier f724b1997e 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
* AspElements.cs: added 'codebehind' attribute for page, control and
	application. It's ignored by MS, but allowed. Fixed typo.

svn path=/trunk/mcs/; revision=10217
2003-01-06 17:00:07 +00:00
Gonzalo Paniagua Javier 5338b6acef 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: fixed EnableSesssionState handling.

svn path=/trunk/mcs/; revision=10216
2003-01-06 16:29:36 +00:00
Jackson Harper bc65df29a9 Add REGION flag to #region directives, and add checks to make sure that regions are being poped correctly
svn path=/trunk/mcs/; revision=10215
2003-01-06 16:21:49 +00:00
Gonzalo Paniagua Javier f48010a829 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
* DataView.cs: made dataViewManager internal.
	* DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
	properties of the object, but the values of the columns present in a
	row.

	* DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
	which returns a PropertyDescriptorCollection. Created a new class
	derived from PropertyDescriptor that treats Table as an object whose
	properties are DataRowView.

svn path=/trunk/mcs/; revision=10212
2003-01-06 15:35:19 +00:00
Martin Baulig b28320f23e 2003-01-06 Martin Baulig <[email protected]>
* debug.c (debugger_finished_mutex): Use a recursive mutex here.

svn path=/trunk/mono/; revision=10202
2003-01-06 14:03:43 +00:00
Martin Baulig 95c1a2c5e6 2003-01-06 Martin Baulig <[email protected]>
* debug.c: Correctly handle the `debugger_finished_mutex'; it is
	only unlocked by the pthread_cond_wait() in mono_debugger_wait().

svn path=/trunk/mono/; revision=10199
2003-01-06 13:37:17 +00:00
Piers Haken 614ac1d780 2003-01-06 Piers Haken <[email protected]>
* Tokenizer.cs : various unicode fixes/tidyups.

svn path=/trunk/mcs/; revision=10198
2003-01-06 10:57:32 +00:00
Sebastien Pouliot a3a13dc7cb 2003-01-05 Sebastien Pouliot <[email protected]>
* CryptoAPITransform.cs: Removed all TODO. This class will not be
	used by Mono. MS uses it with <algo>CryptoServiceProvider classes
	to provide a common ICryptoTransform access to CryptoAPI.

svn path=/trunk/mcs/; revision=10197
2003-01-06 03:08:30 +00:00
Sebastien Pouliot 39578cca29 2003-01-05 Sebastien Pouliot <[email protected]>
* unix.args: added COMException.cs in System.Runtime.InteropServices

svn path=/trunk/mcs/; revision=10191
2003-01-06 00:20:41 +00:00
Sebastien Pouliot 6212395019 2003-01-05 Sebastien Pouliot <[email protected]>
* COMException.cs: New. Minimal (incomplete - i'm not using COM)
	implementation because this is thrown when dealing with Software
	Publisher Certificates (SPC) in X509Certificate.

svn path=/trunk/mcs/; revision=10190
2003-01-06 00:19:55 +00:00
Sebastien Pouliot 620189bcbf 2003-01-05 Sebastien Pouliot <[email protected]>
* Hash.cs: Added [Serializable] and ISerializable to class declaration.
	Changed how the hash algorithm are created (now use system default
	implementation). Added some exception handling.

svn path=/trunk/mcs/; revision=10189
2003-01-06 00:18:38 +00:00
Sebastien Pouliot 629d4b8e9c *** empty log message ***
svn path=/trunk/mono/; revision=10184
2003-01-05 21:19:36 +00:00
Gonzalo Paniagua Javier 2c157e3a86 2003-01-05 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: don't generate instance fields for pages/controls
	when the base class specified in the Inherits attribute already has
	them. Closes bug #36262.

svn path=/trunk/mcs/; revision=10167
2003-01-05 17:50:27 +00:00
Miguel de Icaza 873e6ce0a2 Faq updates
svn path=/trunk/mono/; revision=10165
2003-01-05 16:19:43 +00:00
Paolo Molaro 5131a50222 Sun Jan 5 11:57:09 CET 2003 Paolo Molaro <[email protected]>
* icall.c: allow a null this for constructors.

svn path=/trunk/mono/; revision=10164
2003-01-05 10:59:47 +00:00
Jackson Harper ad6cc0a389 Move must_send_finished var declaration out of #if win32 block (this fixes the build on win32)
svn path=/trunk/mono/; revision=10163
2003-01-05 03:16:32 +00:00
Dennis Hayes 7e0c8b4274 rollback
svn path=/trunk/mcs/; revision=10162
2003-01-05 02:40:25 +00:00
Martin Baulig 3cc3d7fd6e 2003-01-05 Martin Baulig <[email protected]>
* debug.c (mono_debugger_jit_exec): Custom version of mono_jit_exec();
	this is used when we're running inside the Mono Debugger
	(mono_debugger_wait): Put the waiting code into a function of its own.

	* mono.c (main): Call mono_debugger_jit_exec() instead of
	mono_jit_exec() if we're running inside the Mono Debugger.

svn path=/trunk/mono/; revision=10160
2003-01-05 00:59:40 +00:00
Martin Baulig de0ca53667 2003-01-05 Martin Baulig <[email protected]>
* debug.h (MonoDebugFormat): Added
	`MONO_DEBUG_FORMAT_MONO_DEBUGGER'; this allows us to check whether
	we're running inside the Mono Debugger prior to the args parsing.

svn path=/trunk/mono/; revision=10159
2003-01-04 23:55:55 +00:00
Ville Palo aad8256f80 2003-01-04 Ville Palo <[email protected]>
* XmlSchemaMapper.cs: Added handling for Constraints, Attributes.

svn path=/trunk/mcs/; revision=10154
2003-01-04 19:45:12 +00:00
Ville Palo 7a2d4a0992 2003-01-04 Ville Palo <[email protected]>
* DataColumn.cs: ExtendedProperties is by default !null-

svn path=/trunk/mcs/; revision=10151
2003-01-04 19:35:20 +00:00
Paolo Molaro 201e873e5d Sat Jan 4 18:28:42 CET 2003 Paolo Molaro <[email protected]>
* icall.c: raise the proper exceptions if the arguments to the
	internal Invoke are incorrect.

svn path=/trunk/mono/; revision=10144
2003-01-04 17:31:37 +00:00
Paolo Molaro 31fd17e8a2 Sat Jan 4 18:26:41 CET 2003 Paolo Molaro <[email protected]>
* MonoMethod.cs: propagate exceptions from the internal invoke
	code that need to be propagated.

svn path=/trunk/mcs/; revision=10143
2003-01-04 17:29:40 +00:00
Paolo Molaro efc8e8c584 Sat Jan 4 18:04:07 CET 2003 Paolo Molaro <[email protected]>
* Binder.cs: throw an exception if the number of arguments
	when invoking a method is incorrect.

svn path=/trunk/mcs/; revision=10141
2003-01-04 17:07:05 +00:00
Gonzalo Paniagua Javier 838b6c5e41 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: fixed bug #36226.

svn path=/trunk/mcs/; revision=10135
2003-01-04 16:51:17 +00:00
Ville Palo e65af8b086 2003-01-04 Ville Palo <[email protected]>
* DataColumnCollection.cs: Add (DataColumn Column) -method didn't
	set column's ordinal.

svn path=/trunk/mcs/; revision=10120
2003-01-04 12:35:29 +00:00
Miguel de Icaza 5b8934a193 Flush
svn path=/trunk/mono/; revision=10115
2003-01-04 05:47:49 +00:00
Gonzalo Paniagua Javier 777e0e5d46 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: added new state to handle default
	authentication.

	* System.Web.Configuration/HttpModulesConfigurationHandler.cs: add
	a default authentication module at the end of the list.

	* System.Web.Configuration/ModuleItem.cs: new constructor.
	* System.Web.Security/DefaultAuthenticationModule.cs: implemented. It
	just create a default unauthenticated user when no one else provided one.
	* System.Web.Security/FormsAuthenticationModule.cs: removed debug output.
	* System.Web.UI/Control.cs:
	(AddedControl): take the children to the same state of the parent.
	(InitRecursive): set the page of the children.
	* System.Web.UI/Page.cs: removed one line (it's done a few lines above).
	* System.Web.UI/UserControl.cs:
	(OnInit): always call InitializeAsUserControl
	(InitializeAsUserControl): sets the page for the control.

svn path=/trunk/mcs/; revision=10114
2003-01-04 04:39:32 +00:00
Martin Baulig 02fbd6d229 2003-01-04 Martin Baulig <[email protected]>
* debug.c (release_symbol_file_table): Only call this if we're
	actually modifying the symbol tables.
	(mono_debug_open): Always set the `mono_debugger_class_init_func'
	for MONO_DEBUG_FORMAT_MONO; this stuff should also go into core dumps.

svn path=/trunk/mono/; revision=10113
2003-01-04 04:21:05 +00:00
Paolo Molaro d3773c8a5d Fri Jan 3 20:18:51 CET 2003 Paolo Molaro <[email protected]>
* MonoType.cs: fixed Namespace property for nested types.

svn path=/trunk/mcs/; revision=10107
2003-01-03 19:22:52 +00:00
Marco Ridoni 9b030eaa82 A few changes to support correct scoping for default constructors
svn path=/trunk/mcs/; revision=10105
2003-01-03 16:55:33 +00:00
Marco Ridoni 1f5f382ffd A few changes to resolve scoping for default constructors
svn path=/trunk/mcs/; revision=10104
2003-01-03 16:53:37 +00:00
Marco Ridoni 914cb0a99d Field declaration modified to better conform to MS'VB.NET grammar
Class declaration modified to better conform to MS'VB.NET grammar
Preliminary support for Array declarations (not working yet)

svn path=/trunk/mcs/; revision=10103
2003-01-03 16:52:22 +00:00
Martin Baulig fca5a4e021 2003-01-03 Martin Baulig <[email protected]>
* debug.c: Disable the mono debugger stuff on Windows.

svn path=/trunk/mono/; revision=10099
2003-01-03 15:47:24 +00:00
Dietmar Maurer e8129d33d0 2003-01-03 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_ptr_to_struct): code cleanups

svn path=/trunk/mono/; revision=10098
2003-01-03 15:46:45 +00:00
Paolo Molaro 0e17974c40 Fri Jan 3 16:18:27 CET 2003 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: create properly typed arrays when returning
	arrays of attributes of a given type.

svn path=/trunk/mcs/; revision=10097
2003-01-03 15:21:29 +00:00
Gonzalo Paniagua Javier d10b5a6587 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* machine.config: added forms authentication module and close forms tag.

svn path=/trunk/mono/; revision=10096
2003-01-03 12:27:25 +00:00
Gonzalo Paniagua Javier 48a31481b3 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: removed hack to get the User.

svn path=/trunk/mcs/; revision=10095
2003-01-03 12:25:20 +00:00
Paolo Molaro b0c6742743 Fri Jan 3 11:10:14 CET 2003 Paolo Molaro <[email protected]>
* MonoType.cs: fixed MemberType property for nested types.

svn path=/trunk/mcs/; revision=10092
2003-01-03 10:12:57 +00:00
Sebastien Pouliot 42f3785d41 2003-01-03 Sebastien Pouliot <[email protected]>
* RC2CryptoServiceProvider.cs: Now about 2 time faster by inlining
	methods and changing to UInt16 (instead of UInt32).

svn path=/trunk/mcs/; revision=10091
2003-01-03 03:27:10 +00:00
Gonzalo Paniagua Javier 2355191fda 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* String.cs: fixed bug #36209.

svn path=/trunk/mcs/; revision=10090
2003-01-03 03:15:40 +00:00
Gonzalo Paniagua Javier 83e5a79086 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: fixed bug #35677.

svn path=/trunk/mcs/; revision=10088
2003-01-03 02:30:54 +00:00
Martin Baulig cdb31069de 2003-01-03 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Increment MONO_SYMBOL_FILE_DYNAMIC_VERSION.

svn path=/trunk/mono/; revision=10084
2003-01-03 02:20:43 +00:00
Martin Baulig b886279b63 2003-01-03 Martin Baulig <[email protected]>
* debug.c (mono_debugger_trampoline_breakpoint_callback): New
	function.  This is called from the breakpoint trampoline to signal
	the debugger and wait until it has reload the symbol tables.

	* trampoline.c (get_breakpoint_trampoline): Call the new
	mono_debugger_trampoline_breakpoint_callback() in the breakpoint
	trampoline just before the breakpoint.

svn path=/trunk/mono/; revision=10083
2003-01-03 02:19:49 +00:00
Gonzalo Paniagua Javier 076eac9fdd Forgot this.
svn path=/trunk/mcs/; revision=10082
2003-01-03 02:06:22 +00:00
Gonzalo Paniagua Javier a6deecb38d 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: fixed bug #36038. Thanks to [email protected] for
	reporting the bug and how to fix it.

svn path=/trunk/mcs/; revision=10081
2003-01-03 02:03:45 +00:00
Gonzalo Paniagua Javier a8405b7892 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed bug #36037.

svn path=/trunk/mcs/; revision=10080
2003-01-03 01:53:08 +00:00
Gonzalo Paniagua Javier 967ca29ff0 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputControl.cs: fixed bug #35673.

svn path=/trunk/mcs/; revision=10079
2003-01-03 00:56:12 +00:00
Gonzalo Paniagua Javier 428eb1b337 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputText.cs: fixed bug #35670.

svn path=/trunk/mcs/; revision=10078
2003-01-03 00:38:48 +00:00
Gonzalo Paniagua Javier 73226678cc fixed the build on windows
svn path=/trunk/mcs/; revision=10077
2003-01-03 00:15:39 +00:00
Marco Ridoni 654c0d002a Fixed a problem with CVS
svn path=/trunk/mcs/; revision=10063
2003-01-02 18:34:12 +00:00
Marco Ridoni fe734b4b38 Some minor changes
svn path=/trunk/mcs/; revision=10062
2003-01-02 18:29:18 +00:00
Paolo Molaro 9df0d00487 Thu Jan 2 19:04:58 CET 2003 Paolo Molaro <[email protected]>
* Binder.cs: In SelectMethod() look for an exact match first.

svn path=/trunk/mcs/; revision=10061
2003-01-02 18:07:42 +00:00
Paolo Molaro 8599b48ed8 Thu Jan 2 18:46:09 CET 2003 Paolo Molaro <[email protected]>
* ModuleBuilder.cs, TypeBuilder.cs: support global fields and methods.

svn path=/trunk/mcs/; revision=10060
2003-01-02 18:06:24 +00:00
Jonathan Pryor a3e3a655fe NodeFormatter.cs: Change error message to use parens instead of braces and
close the parens.  Allows better use of vi's paren-matching functionality in
output, avoids issues with "}}" format specifier in string.Format.

NodeInfo.cs: handle MemberTypes.NestedType, which is returned under .NET for
nested types.  Without this, .NET generates error messages for nested types.

svn path=/trunk/mcs/; revision=10059
2003-01-02 17:58:43 +00:00
Ville Palo 1d5a5d348b 2003-01-02 Ville Palo <[email protected]>
* DataSet.cs:
	* XmlDataLoader.cs: XmlReader closing fixes.
	* XmlSchemaReader.cs: Added support for ref=

svn path=/trunk/mcs/; revision=10058
2003-01-02 17:38:37 +00:00
Sebastien Pouliot 94622644f1 2003-01-02 Sebastien Pouliot <[email protected]>
* RijndaelManaged.cs: Now 7 (encrypt) to 10 (decrypt) times faster
	by removing allocation inside intensively called methods, using pre-
	calculated tables instead of Mult_GF methods and inlining most methods.

svn path=/trunk/mcs/; revision=10052
2003-01-02 05:08:57 +00:00
Jaime Anguiano Olarra a432fe0de1 Process is no longer visible.
svn path=/trunk/mcs/; revision=10047
2003-01-01 21:27:33 +00:00
Rachel Hestilow 8e2be15c61 2003-01-01 Rachel Hestilow <[email protected]>
* MonoField.cs (SetValue): Fix logic typo. Check that obj is
	non-null only for the non-static case.

svn path=/trunk/mcs/; revision=10046
2003-01-01 21:26:39 +00:00
Gonzalo Paniagua Javier c19ac071d6 removed Process.cs
svn path=/trunk/mcs/; revision=10045
2003-01-01 21:09:11 +00:00
Gonzalo Paniagua Javier 2ef8be005e This class is already in System.dll
svn path=/trunk/mcs/; revision=10044
2003-01-01 21:06:51 +00:00
Jaime Anguiano Olarra 980ee60024 Reimplemented the ProcessID property using the Process class.
svn path=/trunk/mcs/; revision=10041
2003-01-01 18:32:22 +00:00
Jaime Anguiano Olarra 15d2979366 Added System.Diagnostics.Process.cs
svn path=/trunk/mcs/; revision=10040
2003-01-01 18:30:45 +00:00
Jaime Anguiano Olarra 25690e339c Added the Process skeleton for Remoting use.
svn path=/trunk/mcs/; revision=10039
2003-01-01 18:30:06 +00:00
Atsushi Eno ae20fcc018 2002-01-02 Atsushi Enomoto <[email protected]>
* SelectNodesTests.cs : added TestAlphabetDigitMixedName.

svn path=/trunk/mcs/; revision=10036
2003-01-01 17:37:42 +00:00
Atsushi Eno 6b073ef5d7 2003-01-02 Atsushi Enomoto <[email protected]>
* Tokenizer.cs : Fixed ParseIdentifier to allow digits.
		(It should be a temporary fix.)

svn path=/trunk/mcs/; revision=10035
2003-01-01 17:34:17 +00:00
Martin Baulig 2e98ca93d0 Removed debugging instruction.
svn path=/trunk/mono/; revision=10034
2003-01-01 17:11:49 +00:00
Ville Palo e60f5b9896 Added XmlSchemaMapper.cs
svn path=/trunk/mcs/; revision=10029
2003-01-01 13:47:54 +00:00
Ville Palo bce9fe8164 2003-01-01 Ville Palo <[email protected]>
* DataSet.cs:
	  - Added XmlReader and XmlWriter Closing.
	  - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
	* XmlSchemaMapper.cs
	  - Much better way IMHO  to map xmlschema than the old one in
	    DataSet.cs. Its, more flexible, cleaner, ...

svn path=/trunk/mcs/; revision=10028
2003-01-01 12:54:37 +00:00
Jonathan Pryor 1ae95f3ec7 Remove some trace messages.
svn path=/trunk/mcs/; revision=10021
2002-12-31 18:49:26 +00:00
Jonathan Pryor 2e3e2d1740 I had a week of no internet access, so I had far too much time on my hands.
When I wasn't recovering from stomach flu, anyway...

All in all, a good Christmas.

Summary:
  - Made tools/makefile.gnu recursive, much like the top-level makefile.gnu.
    This was principally done so that the type-reflector install target could
    install additional files (currently it installs type-reflector.exe and
    type-reflector.exe.config; this may expand in the future).
  - Massive cleanup/improvements to type-reflector

The biggest news is that a Gtk# front-end exists for type-reflector now.  It
is incomplete (due to my learning Gtk# with this program) and needs
improvement, but it works...  Sort of.

It's not enabled by default, as I don't want to require that the
Gtk#/Gnome#/Glade# assemblies be available to build mcs from CVS.

To enable the type-reflector Gtk# front-end, do two things:
  - Rebuild type-reflector: cd tools/type-reflector && make -f makefile.gnu gui
  - When running, specify the --displayer=gtk parameter, e.g.
      type-reflector.exe --displayer=gtk -S .

svn path=/trunk/mcs/; revision=10020
2002-12-31 18:45:12 +00:00
Sebastien Pouliot 8f7ce12d41 2002-12-31 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present
	in SymmetricAlgorithm).
	* DSA.cs: Change ZeroizePrivateKey from protected to internal.
	* DSACryptoServiceProvider.cs: Added some case where we need to check
	for keypairGenerated.
	* RSA.cs: Change ZeroizePrivateKey from protected to internal.
	* RSACryptoServiceProvider.cs: Key were never generated with the default
	(no parameter) constructor. Now checks for keypairGenerated in methods.
	* SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1-
	SignatureDescription to please corcompare (it just call it's ancestor).

svn path=/trunk/mcs/; revision=10019
2002-12-31 17:33:06 +00:00
Martin Baulig 93aaeca08a 2002-12-31 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerSymbolFileTable): Added `global_symfile'
	field to point to the MonoGlobalSymbolTable.

svn path=/trunk/mono/; revision=10013
2002-12-31 10:23:16 +00:00
Martin Baulig d0d6490732 2002-12-31 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Completely rewrote the type section.
	Instead of using individual malloc()ed fields, we use one big
	continuous memory area and offsets into this area.
	See the comments in the source code for details.

svn path=/trunk/mono/; revision=10011
2002-12-31 10:22:43 +00:00
Marco Ridoni 7af9728f5f A small fix to allow compilation under mcs while preserving the Author
attribute

svn path=/trunk/mcs/; revision=10008
2002-12-30 22:37:55 +00:00
Marco Ridoni b431f22584 Fixed a problem occurred when committing last time
svn path=/trunk/mcs/; revision=10007
2002-12-30 22:31:19 +00:00
Sebastien Pouliot d3dadbbd8d 2002-12-30 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Implemented core. Not sure about many details -
	but it run the samples now (#30256).
	* CryptoStreamMode.cs: Added [Serializable] to enum declaration.
	* SymmetricAlgorithm.cs: Made some changes required for CryptoStream
	and to match more closely MS implementation. Also added little
	optimizations in TransformBlock.

svn path=/trunk/mcs/; revision=10006
2002-12-30 21:45:26 +00:00
Marco Ridoni 40d171c197 Select Case is working
svn path=/trunk/mcs/; revision=10005
2002-12-30 20:21:22 +00:00
Marco Ridoni e7609febb3 Minor changes
svn path=/trunk/mcs/; revision=10004
2002-12-30 20:20:22 +00:00
Martin Baulig 78ec56451c 2002-12-30 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoDebugTypeInfo): Renamed to MonoDebugClassInfo.

svn path=/trunk/mono/; revision=10002
2002-12-30 19:58:55 +00:00
Martin Baulig 0c7c6652a7 2002-12-30 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerInfo): Put back `symbol_file_modified'.
	This variable now specifies that the symbol tables have been
	modified after the last notification has been send.  The debugger
	uses this flag to check whether it needs to reload the symbol
	tables or not.
	(debugger_compile_method): Just send a notification to the
	debugger, but don't set the modified flag.  It may or may not be
	set when the debugger gets the notification - depending on whether
	the JIT compilation added a new method to the symbol tables.

svn path=/trunk/mono/; revision=9999
2002-12-30 18:42:35 +00:00
Martin Baulig bc89db47d6 2002-12-30 Martin Baulig <[email protected]>
* debug.c (debugger_compile_method): This is a wrapper around
	mono_compile_method() which always sends a notification to the
	debugger.

svn path=/trunk/mono/; revision=9997
2002-12-30 18:31:32 +00:00
Martin Baulig 60f2732c4b 2002-12-30 Martin Baulig <[email protected]>
* debug.c: Reload the symbol file table before sending the
	notification event to the debugger.
	(MonoDebuggerInfo): Removed `update_symbol_file_table'.

svn path=/trunk/mono/; revision=9995
2002-12-30 18:22:36 +00:00
Martin Baulig 4aa80ca2af 2002-12-31 Martin Baulig <[email protected]>
* debug.c: Propertly lock everything and avoid race conditions.
	(MonoDebuggerInfo): Removed the `symbol_file_modified' again.

svn path=/trunk/mono/; revision=9987
2002-12-30 17:45:56 +00:00
Duncan Mak 58aeae86da 2002-12-31 Duncan Mak <[email protected]>
* debug.c (initialize_debugger_support): Fix build error by
	declaring ret at the top of the function.

svn path=/trunk/mono/; revision=9986
2002-12-30 17:08:02 +00:00
Gonzalo Paniagua Javier 4b10f5831b Changes by Daniel Cazullino.
2002-12-27  Daniel Cazzulino <[email protected]>

	* CacheEntry.cs: several changes. New constants, use of constants
	defined in Cache.cs, modified locks to optimize perf. Fixed property
	sets which weren't using the keyword value to set the new values
	(don't know how this worked before!).

	* Cache.cs: changed singleton implementation to only create the object
	when actually used. Changed Insert overloads to use constants
	defined instead of hard values.

	* ExpiresBuchets: major changes. All locking now uses ReaderWriterLock
	class. Bucket now efectively reuses free indexes from removed items
	to avoid unnecessary expansions. Expansion now uses Array.CopyTo to
	add elements to the new list. Added private Int32Collection to
	handle int indexes efficiently (thanks Shawn Van Ness). See comments
	there.

svn path=/trunk/mcs/; revision=9985
2002-12-30 16:22:37 +00:00
Sebastien Pouliot db0d827424 2002-12-30 Sebastien Pouliot <[email protected]>
* AssemblyNameTest.cs: Added test for FullName (null cultureinfo).

svn path=/trunk/mcs/; revision=9981
2002-12-30 15:27:25 +00:00
Martin Baulig df021b96c7 2002-12-30 Martin Baulig <[email protected]>
* debug.c: When running under the mono debugger, create a special
	debugger thread; always protect the symbol tables with a mutex.

svn path=/trunk/mono/; revision=9980
2002-12-30 15:07:13 +00:00
Martin Baulig d7044e8a8a 2002-12-30 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Include the
	line number table in this data blob instead of using an external
	pointer.

svn path=/trunk/mono/; revision=9979
2002-12-30 15:04:53 +00:00
Daniel Morgan 9ded121123 remove bit-rotted tests
svn path=/trunk/mcs/; revision=9975
2002-12-30 14:48:38 +00:00
Sebastien Pouliot 8482be0aef 2002-12-30 Sebastien Pouliot <[email protected]>
* AssemblyName.cs: Fixed null cultureinfo in FullName (as reported by
	Zoltan).

svn path=/trunk/mcs/; revision=9972
2002-12-30 14:45:18 +00:00
Marco Ridoni 4eea63fd16 Select..Case..Case Else added to grammar definition
Modified Do..Loop and While/Until definitions in grammar

svn path=/trunk/mcs/; revision=9970
2002-12-30 12:21:25 +00:00
Daniel Morgan c30103c5ec 2002-12-30 Daniel Morgan <[email protected]>
* LoginDialog.cs
	* DbProviderCollection.cs
	* DbProvider.cs
	* DataGrid.cs: save as Unix (LF) and format based on
	Mono style

	* SqlEditorSharp.cs: SQL editor will be used in a
	notebook, keep track of that tab.  Also, when text changed,
	update the notebook tab to indicate text changed.  Save as
	Unix (LF) and monostyle format

	* sqlsharpgtk.cs: add a notebook where each tab represents a SQL editor where
	the selected tab could be opend or saved to a file or execute against the
	database.  The full filename of the selected editor tab is displayed in the title
	bar.  The tab gets an asterisk if the user changes the text in that text buffer.
	Add a second notebook for the results to be a DataGrid or a TextView
	to log messages.  Add new menu items for execute and saving to
	a HTML, XML, and CSV (Comma Separated Values) files.  Menu item New brings up a new
	editor tab.  Add menu item New SQL# Window to open a new SQL# window.

svn path=/trunk/mcs/; revision=9969
2002-12-30 08:30:20 +00:00
Miguel de Icaza b51535e43f No-op for install target
svn path=/trunk/mcs/; revision=9968
2002-12-29 19:53:17 +00:00
Miguel de Icaza c4e8361bdf Add missing files to the build
svn path=/trunk/mcs/; revision=9967
2002-12-29 19:52:17 +00:00
Ville Palo 9b5e527bf5 ups, little fix
svn path=/trunk/mcs/; revision=9966
2002-12-29 17:54:48 +00:00
Ville Palo beaeaad347 2002-12-29 Ville Palo <[email protected]>
* XmlDataLoader.cs: Reading diffgrams.

svn path=/trunk/mcs/; revision=9965
2002-12-29 16:16:24 +00:00
Ville Palo 20bf43868e 2002-12-29 Ville Palo <[email protected]>
* DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
	* DataTable.cs: Added ChanginDataColumn () for triggering
	DataColumnChanging event

svn path=/trunk/mcs/; revision=9964
2002-12-29 14:50:14 +00:00
Lluis Sanchez 0792fc1a6d no message
svn path=/trunk/mcs/; revision=9963
2002-12-29 12:36:37 +00:00
Lluis Sanchez b936987419 no message
svn path=/trunk/mcs/; revision=9962
2002-12-29 12:24:45 +00:00
Miguel de Icaza 27ac138a66 2002-12-29 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (get_cmd_arg): Fixups to allow \r to terminate
	the command.   This showed up while compiling the JANET source
	code, which used \r as its only newline separator.

svn path=/trunk/mcs/; revision=9961
2002-12-29 08:18:36 +00:00
Miguel de Icaza 41e8d17219 2002-12-28 Marcus Urban <[email protected]>
* Activator.cs: Since the documentation indicates the method
	either succeeds or throws one of the listed exceptions, we weren't
	expecting that CreateInstance might be returning null.

	For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109

svn path=/trunk/mcs/; revision=9960
2002-12-29 02:15:09 +00:00
Marco Ridoni bc53601431 Properties are working and support typed parameters. An error is
flagged if parameters haven't corresponding types.

svn path=/trunk/mcs/; revision=9959
2002-12-28 23:06:11 +00:00
Sebastien Pouliot f55334e816 2002-12-28 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Changed how the dates are compared. This
	should stop the nunit errors in X509Certificate.

svn path=/trunk/mcs/; revision=9956
2002-12-28 18:30:12 +00:00
Ville Palo a3f73ce252 2002-12-28 Ville Palo <[email protected]>
* DataSet.cs: Indentations to WriteXmlSchema () and one little fix

svn path=/trunk/mcs/; revision=9953
2002-12-28 16:10:35 +00:00
Martin Baulig 1203967cdf 2002-12-28 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Increment MONO_SYMBOL_FILE_DYNAMIC_VERSION.

svn path=/trunk/mono/; revision=9947
2002-12-28 14:25:29 +00:00
Martin Baulig 568d8fcd01 2002-12-28 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerInfo): Added `symbol_file_modified'; it's
	incremented each time one of the symbol tables is modified.

svn path=/trunk/mono/; revision=9946
2002-12-28 14:25:10 +00:00
Ville Palo d720f20fd0 2002-12-28 Ville Palo <[email protected]>
* DataSet.cs: Indentations to WriteXml ()

svn path=/trunk/mcs/; revision=9945
2002-12-28 13:03:27 +00:00
Ville Palo ae78b31e9e 2002-12-28 Ville Palo <[email protected]>
* XmlDocument.cs: XmlTextWriter.Formatting == Indented when
	calling Save () -methods.

svn path=/trunk/mcs/; revision=9944
2002-12-28 12:34:37 +00:00
Lluis Sanchez 41785d5763 no message
svn path=/trunk/mcs/; revision=9943
2002-12-28 11:52:19 +00:00
Lluis Sanchez 5dc1d5b45f Implemented some functions
svn path=/trunk/mcs/; revision=9942
2002-12-28 11:46:36 +00:00
Duncan Mak 58dd6011a8 2002-12-28 Duncan Mak <[email protected]>
* unix.args (ASN1.cs): Sebastien forgot to include this file.

svn path=/trunk/mcs/; revision=9940
2002-12-28 09:21:30 +00:00
Atsushi Eno 797b28bbf8 2002-12-28 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : primitive reading implementation.

svn path=/trunk/mcs/; revision=9939
2002-12-28 05:35:13 +00:00
Sebastien Pouliot da30b9cce8 2002-12-27 Sebastien Pouliot <[email protected]>
* unix.args: added CryptoTools.cs file.

svn path=/trunk/mcs/; revision=9934
2002-12-27 18:36:15 +00:00
Sebastien Pouliot 1d085448a2 2002-12-27 Sebastien Pouliot <[email protected]>
* CryptoTools.cs: New. Shared classes for cryptography. Now
	includes a KeyBuilder to generate symmetric keys and IV.
	* DES.cs: Modified Key validation.
	* DESCryptoServiceProvider.cs: Implemented Key and IV using
	KeyBuilder.
	* RC2CryptoServiceProvider.cs: Implemented Key and IV using
	KeyBuilder (and removed TODO).
	* RijndaelManaged.cs: Implemented Key and IV using KeyBuilder
	(and removed TODO).
	* SHA384Managed.cs: Changed code to remove compiler warning.
	* SHA512Managed.cs: Changed code to remove compiler warning.
	* SymmetricAlgorithm.cs: Removed TODO on IV.
	* TripleDESCryptoServiceProvider.cs: Implemented Key and IV
	using KeyBuilder (and removed TODO).

svn path=/trunk/mcs/; revision=9933
2002-12-27 18:32:44 +00:00
Atsushi Eno 8e23e5f682 2002-12-28 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Test for bugzilla #34743 (whitespace handling)

svn path=/trunk/mcs/; revision=9932
2002-12-27 16:26:25 +00:00
Atsushi Eno 337d2be637 2002-12-28 Atsushi Enomoto <[email protected]>
* XmlElement.cs : quick fix for the incomplete patch of #35308 below.

svn path=/trunk/mcs/; revision=9931
2002-12-27 16:15:10 +00:00
Atsushi Eno 9762d5bab0 2002-12-28 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Test for bugzilla #35308 (default ns output)
	* XmlElementTests.cs : Test for output of attributes with different NS.

svn path=/trunk/mcs/; revision=9930
2002-12-27 15:54:39 +00:00
Atsushi Eno ea63c7d9e2 2002-12-28 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : removed inconsistent line-feed output.
	* XmlElement.cs, XmlTextWriter.cs :
		fixed for bugzilla 35308 (default ns output)
	* XmlWhitespace.cs : limited output only when preserving whitespace.

svn path=/trunk/mcs/; revision=9929
2002-12-27 15:53:53 +00:00
Sebastien Pouliot d5fb889e15 2002-12-27 Sebastien Pouliot <[email protected]>
* ASN1.cs: New. Classes to manipulate Abstract Syntax Notation 1
	structures.
	* cert2spc.cs: New tool to generate Software Publisher Certificate
	(SPC) from a list of X509 certificate and CRL.
	* secutils.cs: Changed copyright notice.
	* makefile: Added cert2spc.exe to Windows build.
	* makefile.gnu: Added cert2spc.exe to Linux build.

svn path=/trunk/mcs/; revision=9928
2002-12-27 15:37:38 +00:00
Sebastien Pouliot 71bac88f6c 2002-12-27 Sebastien Pouliot <[email protected]>
* ASN1.cs: New. Updated ASN1 classes for X509Certificate that can
	now be reused for other tools (like Cert2Spc). Classes are marked
	internal so they cannot be reused from outside corlib (for
	compatibility with MS implementation).
	* X509Certificate.cs: Removed all ASN1 classes from file.

svn path=/trunk/mcs/; revision=9927
2002-12-27 15:26:45 +00:00
Ville Palo e86ff448b8 2002-12-27 Ville Palo <[email protected]>
* list: Added System.Data/XmlDataLoader.cs

svn path=/trunk/mcs/; revision=9924
2002-12-27 14:20:49 +00:00
Ville Palo 89fd33f0a3 2002-12-27 Ville Palo <[email protected]>
* DataSet.cs:
	* XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
	class XmlDataLoader.cs

svn path=/trunk/mcs/; revision=9923
2002-12-27 14:18:27 +00:00
Jeroen Janssen 34b57b5ef2 2002-12-27 Jeroen Janssen <[email protected]>
* fixed url for System.Windows.Forms in the class status

svn path=/trunk/mono/; revision=9916
2002-12-27 10:54:39 +00:00
Sebastien Pouliot dc0e35c21b 2002-12-26 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed the date issue (again). Time was
	converted to local time then ajusted to Pacific time. Now time
	is kept (internally) as UTC and correct (-8) to Pacific when shown.
	Changed Authenticode signature detection and removed debugging code.

svn path=/trunk/mcs/; revision=9914
2002-12-27 00:57:42 +00:00
Ville Palo b7625dd45d 2002-12-26 Ville Palo <[email protected]>
* own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
	* DataSetTest.cs: Added more Xml-tests.

svn path=/trunk/mcs/; revision=9913
2002-12-26 19:09:56 +00:00
Miguel de Icaza 10f375d325 Add SDL.NET bindings, reorganize
svn path=/trunk/mono/; revision=9866
2002-12-24 18:46:41 +00:00
Alejandro Sánchez Acosta 433d12e01a Added cs0208.cs test error.
svn path=/trunk/mcs/; revision=9861
2002-12-24 14:33:51 +00:00
Alejandro Sánchez Acosta ada835f12f Added cs0202.cs test error.
svn path=/trunk/mcs/; revision=9860
2002-12-24 14:23:39 +00:00
Alejandro Sánchez Acosta 451e834b2b Added cs0197 test error.
svn path=/trunk/mcs/; revision=9859
2002-12-24 14:10:16 +00:00
Sebastien Pouliot f91d740dc1 2002-12-23 Sebastien Pouliot <[email protected]>
* AssemblyNameTest.cs: Added test for non-signed assembly (which
	returns an empty array - i.e. not null like an empty assembly).

svn path=/trunk/mcs/; revision=9857
2002-12-24 03:48:49 +00:00
Sebastien Pouliot 926b1a1224 2002-12-23 Sebastien Pouliot <[email protected]>
* AssemblyName.cs: GetPublicKey now return an empty array (not null)
	when an assembly isn't signed with a StrongName (to match MS
	implementation) and null when no assembly is referenced. Also removed
	commented code (no bug reported so it was probably not used).

svn path=/trunk/mcs/; revision=9856
2002-12-24 03:47:27 +00:00
Miguel de Icaza 5d772df810 Also distribute sqlsharp
svn path=/trunk/mono/; revision=9855
2002-12-24 01:43:09 +00:00
Miguel de Icaza 841e1cc7b2 Add secutil to the distribution
svn path=/trunk/mono/; revision=9851
2002-12-23 22:32:58 +00:00
Atsushi Eno 879d8fbdcd 2002-12-24 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
		Implemented XmlTextReader.ReadAttributeValue().
		Added internal ReadAttributeNodeValue().
		Fixed XmlAttribute.InnerXml to use these methods.

	* XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
		Implemented XmlDocument.ReadNode() and removed ConstructDOM().
		Other changes are replacing them.

svn path=/trunk/mcs/; revision=9848
2002-12-23 17:35:55 +00:00
Atsushi Eno a275fb4618 2002-12-24 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs, XmlWhitespaceTests.cs:
		fixed whitespace handling (in relation to Ville's patch).

svn path=/trunk/mcs/; revision=9846
2002-12-23 16:24:38 +00:00
Atsushi Eno 981fe2cef9 2002-12-24 Atsushi Enomoto <[email protected]>
* XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)

svn path=/trunk/mcs/; revision=9845
2002-12-23 16:23:36 +00:00
Alejandro Sánchez Acosta 82828beee5 Added cs0192.cs test file.
svn path=/trunk/mcs/; revision=9842
2002-12-23 13:56:18 +00:00
Alejandro Sánchez Acosta c2b988119c Added cs0170 test error.
svn path=/trunk/mcs/; revision=9841
2002-12-23 12:54:57 +00:00
Alejandro Sánchez Acosta 6aaf27ebc5 Added cs0156 test error.
svn path=/trunk/mcs/; revision=9840
2002-12-23 12:40:24 +00:00
Nick Drochak eb692e0eda 2002-12-23 Nick Drochak <[email protected]>
* System_test.build: Fix build.  Need to link with System.Xml.dll

svn path=/trunk/mcs/; revision=9837
2002-12-23 01:14:01 +00:00
Sebastien Pouliot 7ae7b6a09f 2002-12-22 Sebastien Pouliot <[email protected]>
* secutils.cs: New tool to extract strongname and X509 certificate
	from assembly (or other signed files).
	* makefile: Added secutil.exe to Windows build.
	* makefile.gnu: Added secutil.exe to Linux build.

svn path=/trunk/mcs/; revision=9836
2002-12-22 16:09:46 +00:00
Sebastien Pouliot 46145d061c 2002-12-22 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Completed CreateFromSignedFile. Added a new
	internal constructor so Publisher (and the related classes) can
	create a X509Certificate object which return null dates (for both
	GetEffectiveDateString and GetExpirationDateString methods).

svn path=/trunk/mcs/; revision=9835
2002-12-22 16:08:11 +00:00
Miguel de Icaza fdd9676283 2002-12-22 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.DoResolve): Instead of throwing an
	exception, report error 120 `object reference required'.

	* driver.cs: Add --pause option, used during to measure the size
	of the process as it goes with --timestamp.

svn path=/trunk/mcs/; revision=9833
2002-12-22 06:44:47 +00:00
Miguel de Icaza 686fdaac38 Add another one
svn path=/trunk/mcs/; revision=9832
2002-12-22 06:39:28 +00:00
Tim Coleman 5c0779502a 2002-12-22 Tim Coleman <[email protected]>
* Mono.Data.Tds.Protocol/TdsComm.cs:
                Change GetString to NOT explicitly add a NUL
                to the end of the string since Encoder.GetString ()
                will do that.

svn path=/trunk/mcs/; revision=9831
2002-12-22 06:26:20 +00:00
Rachel Hestilow a226b353f8 2002-12-22 Rachel Hestilow <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Support MONO_TYPE_CHAR
	as a boxed return type.

svn path=/trunk/mono/; revision=9830
2002-12-22 06:14:11 +00:00
Miguel de Icaza 46d978a6af Move configuration information that is used when compiling code that links
to Mono into a define that we can ship in mono.pc

Remove the dependency on config.h from mono/metadata/exception.h

svn path=/trunk/mono/; revision=9829
2002-12-22 05:37:37 +00:00
Miguel de Icaza 390086fddc Add this change as well
svn path=/trunk/mcs/; revision=9827
2002-12-22 04:34:21 +00:00
Jonathan Pryor 182b17c5a6 Initial patch to use Switches to limit the trace messages that are generated.
svn path=/trunk/mcs/; revision=9826
2002-12-22 03:47:57 +00:00
Miguel de Icaza d499df96e0 2002-12-21 Miguel de Icaza <[email protected]>
* appdomain.c
	(ves_icall_System_AppDomainSetup_InitAppDomainSetup): Use
	g_build_filename to properly get separators on the filename created.

svn path=/trunk/mono/; revision=9825
2002-12-22 01:59:57 +00:00
Miguel de Icaza e1645a45a6 Add new test, I forgot to add this a few weeks ago test-178.cs
svn path=/trunk/mcs/; revision=9824
2002-12-21 23:10:15 +00:00
Miguel de Icaza 7a2ae61405 Re-enable code
svn path=/trunk/mcs/; revision=9823
2002-12-21 23:04:23 +00:00
Miguel de Icaza 5e017a3f3f 2002-12-20 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added ObjectIdentity property.
	  Implemented CrateObjRef.
	* RemotingProxy.cs: Added Identity parameter to constructor

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* ServerContextTerminatorSink.cs: Added
	* ServerObjectTerminatorSink.cs: Added
	* StackBuilderSink.cs: Added

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <[email protected]>

	* ObjRef.cs: Implementation now based on methods of RemotingServices.
	* RemotingServices.cs: Remoting information now kept in Identity objects.
	  All methods adapted to work with identities.
	  Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
	  not make a direct call to the object.
	* Identity.cs: added.

svn path=/trunk/mcs/; revision=9822
2002-12-21 23:00:04 +00:00
Miguel de Icaza df53b8e04d Add new field that reflects changes to corlib for remoting
svn path=/trunk/mono/; revision=9821
2002-12-21 22:53:35 +00:00
Ravi Pratap M 39587eadc8 2002-12-21 Ravi Pratap <[email protected]>
* test-171.cs : Fix up since it wasn't working because of some
	array code bug. That is a separate problem ;-)

svn path=/trunk/mcs/; revision=9820
2002-12-21 19:48:56 +00:00
Alejandro Sánchez Acosta 706b7b3304 Added cs0163.cs test error.
svn path=/trunk/mcs/; revision=9819
2002-12-21 19:07:54 +00:00
Alejandro Sánchez Acosta e587984615 Added cs0161.cs test file.
svn path=/trunk/mcs/; revision=9818
2002-12-21 18:59:18 +00:00
Nick Drochak 99a25b98bd 2002-12-21 Nick Drochak <[email protected]>
* all: make tests build and run under nunit2

svn path=/trunk/mcs/; revision=9817
2002-12-21 14:15:43 +00:00
Nick Drochak 166d18cf51 Needed to build test dll
svn path=/trunk/mcs/; revision=9816
2002-12-21 14:13:26 +00:00
Nick Drochak 07b1a51bc6 2002-12-21 Nick Drochak <[email protected]>
* AllTests2.cs: Helper file for unit tests

svn path=/trunk/mcs/; revision=9815
2002-12-21 13:29:25 +00:00
Paolo Molaro 377280f5b5 Fix build breakers.
svn path=/trunk/mcs/; revision=9814
2002-12-21 13:25:30 +00:00
Miguel de Icaza cda63d0706 2002-12-21 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Small fix to the parser: compute the ascii
	number before adding it.

svn path=/trunk/mcs/; revision=9813
2002-12-21 08:17:00 +00:00
Miguel de Icaza 590d1b39e5 Revert
svn path=/trunk/mcs/; revision=9812
2002-12-21 08:06:25 +00:00
Miguel de Icaza 5d13212687 Added files for Lluis.
svn path=/trunk/mcs/; revision=9811
2002-12-21 08:03:06 +00:00
Miguel de Icaza 5821325879 2002-12-21 Miguel de Icaza <[email protected]>
* object.h: Small change, introduce MonoMarshalByRefObject to
	track the layout of that structure in the C# universe as we make
	changes there.

svn path=/trunk/mono/; revision=9810
2002-12-21 07:58:55 +00:00
Ravi Pratap M 29bdfb20ab 2002-12-21 Ravi Pratap <[email protected]>
* ecore.cs (StandardImplicitConversion): When in an unsafe
	context, we allow conversion between void * to any other pointer
	type. This fixes bug #35973.

svn path=/trunk/mcs/; revision=9809
2002-12-21 07:27:52 +00:00
Ravi Pratap M 5d592bb366 2002-12-21 Ravi Pratap <[email protected]>
* test-171.cs : This was mysteriously absent. Add new test in its
	place.

svn path=/trunk/mcs/; revision=9808
2002-12-21 07:25:18 +00:00
Jonathan Pryor 2571837c88 New/Updated test cases. Fixed TraceTest so that it isn't causing test
failures anymore.  Added SwitchesTest (to test switches) and
DiagnosticsConfigurationHandler to test .config file handling.

Issues: while the DiagnosticsConfigurationHandlerTest is reasonably
self-contained, SwitchesTest is not.  To properly test switches, we need a
.exe and a .exe.config file.  The needed .exe.config file that SwitchesTest
depends on is present in `test-config-file', but I'm unsure where to place it
(much less what to name it).

Additionally, SwitchesTest generates test failures at this time, principally
because of the lack of .config file support in the test system.

Finally, makefile.gnu & system_linux_test.args was changed to use the newly
added tests and to reference System.Xml.dll, which is used by
DiagnosticsConfigurationHandlerTest.

svn path=/trunk/mcs/; revision=9807
2002-12-21 03:50:07 +00:00
Jonathan Pryor f69bd81f97 DiagnosticsConfigurationHandler.cs:
Don't assume that optional attributes are always present
  <assert/> can't have any child nodes
  Change in semantics: if the attribute isn't present, GetAttribute()
    returns null, not "".  This allows us to differentiate between an attribute
    not being present and an attribute with an empty value.
  Translate exceptions if a TraceListener type is invalid

ChangeLog: Update for the previous changes I forgot to record

svn path=/trunk/mcs/; revision=9806
2002-12-21 03:38:12 +00:00
Miguel de Icaza 594edb6fd8 Fix from Matt Kunze to add the other Process.Start overloads
svn path=/trunk/mcs/; revision=9800
2002-12-21 00:14:16 +00:00
Atsushi Eno cfd9e478ee 2002-12-21 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs (TestAttributeNamespacesXmlnsXmlns):
		fixed bug in the testcase (in relation to JD Conley's patch).

svn path=/trunk/mcs/; revision=9799
2002-12-20 18:13:32 +00:00
Atsushi Eno f00c428bbe 2002-12-21 Atsushi Enomoto <[email protected]>
* XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
		patch by JD Conley <[email protected]>.
		(Fix for xmlns attribute output.)

svn path=/trunk/mcs/; revision=9798
2002-12-20 18:12:54 +00:00
Gonzalo Paniagua Javier 8e35e3a7b9 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpCookie.cs: send 'expires' in the header.
	* System.Web.Security/FormsAuthenticationModule.cs: remove debug lines.
	* System.Web.UI/BaseParser.cs: a couple of path fixes to make it work
	when the page is not in the root directory.
	* System.Web.Util/UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.

svn path=/trunk/mcs/; revision=9797
2002-12-20 13:49:48 +00:00
Jackson Harper 5ac344ac00 Use Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless outputs are used
svn path=/trunk/mcs/; revision=9795
2002-12-20 09:12:11 +00:00
Jackson Harper 918a74cce2 Copy constructor does not attempt to merge if it recieves a null ref
svn path=/trunk/mcs/; revision=9794
2002-12-20 08:58:03 +00:00
Gonzalo Paniagua Javier fd59368b78 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* regex.cs: fixed little mistake (closes #35860).

svn path=/trunk/mcs/; revision=9793
2002-12-20 08:22:50 +00:00
Gonzalo Paniagua Javier 61402fe1a2 check the _controls is not null
svn path=/trunk/mcs/; revision=9792
2002-12-20 06:50:35 +00:00
Gonzalo Paniagua Javier 9258732319 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* rootcontext.cs: fixed compilation of corlib.

svn path=/trunk/mcs/; revision=9790
2002-12-20 04:07:50 +00:00
Gonzalo Paniagua Javier 64e6cf7460 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* LinkLabel.cs:
	* ListView.cs: fixed the build with csc.

svn path=/trunk/mcs/; revision=9789
2002-12-20 01:38:56 +00:00
Gonzalo Paniagua Javier 51f8013b8a 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
	reporting the bug.

svn path=/trunk/mcs/; revision=9788
2002-12-20 01:16:28 +00:00
Jonathan Pryor 1f73687f90 IndentLevel and IndentSize shouldn't be hardcoded; they should be set to
whatever TraceImpl is using (which in turn may have been set by the .config
file, so we should get the user-specified values in added listeners).

svn path=/trunk/mcs/; revision=9787
2002-12-20 00:04:00 +00:00
Jonathan Pryor 1eb5d4634b * TraceListener.cs: Make sure that indents are initially written. This allows
code that uses Trace.Indent() before a Trace.WriteLine() to be indented
  properly.
* TraceImpl.cs: provide a static constructor to explicitly specify the
  ordering of initialization, in particular the ordering of
  TraceImpl.Listeners and the reading of the .config file (by accessing
  DiagnosticsConfiguration.Settings).  This (hopefully) ensures that the
  Listeners collection is initialized before the .config file is read in, as
  the DiagnosticsConfigurationHandler will directly modify the listeners
  collection.
  The DiagnosticsConfigurationHandler assumes this so that it can <add/> and
  <remove/> trace listeners and set the logfile for the DefaultTraceListener.

svn path=/trunk/mcs/; revision=9786
2002-12-19 23:36:00 +00:00
Miguel de Icaza 63c75e1f0e 2002-12-19 Miguel de Icaza <[email protected]>
* attribute.cs (Attributes.Contains): Add new method.

	* class.cs (MethodCore.LabelParameters): if the parameter is an
	`out' parameter, check that no attribute `[In]' has been passed.

svn path=/trunk/mcs/; revision=9785
2002-12-19 22:31:34 +00:00
Miguel de Icaza 763d5b92a2 update
svn path=/trunk/mono/; revision=9784
2002-12-19 22:08:46 +00:00
Miguel de Icaza 1473503ae7 Fix the test
svn path=/trunk/mcs/; revision=9783
2002-12-19 22:04:24 +00:00
César Natarén df5afd9d37 Added file cs0230.cs
svn path=/trunk/mcs/; revision=9782
2002-12-19 21:56:08 +00:00
Miguel de Icaza 630c4a5800 2002-12-14 Jaroslaw Kowalski <[email protected]>
* decl.cs: Added special case to allow overrides on "protected
	internal" methods

svn path=/trunk/mcs/; revision=9781
2002-12-19 21:21:58 +00:00
César Natarén fbe4a7a52f Added file cs0225.cs
svn path=/trunk/mcs/; revision=9780
2002-12-19 21:09:35 +00:00
Marco Ridoni c545c4f6cc Minor changes
svn path=/trunk/mcs/; revision=9779
2002-12-19 20:57:05 +00:00
Dennis Hayes 6348ceadfe monir tweaks
svn path=/trunk/mcs/; revision=9777
2002-12-19 20:46:21 +00:00
Marco Ridoni 930d8df78d A few fixes to make properties work properly (not totally fixed yet)
svn path=/trunk/mcs/; revision=9776
2002-12-19 20:41:20 +00:00
Ville Palo fd9537549a 2002-12-19 Ville Palo <[email protected]>
* DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema

svn path=/trunk/mcs/; revision=9775
2002-12-19 20:14:13 +00:00
Jaime Anguiano Olarra 694f875483 ApplicationName and AplicationID implemented.
svn path=/trunk/mcs/; revision=9774
2002-12-19 18:37:24 +00:00
Jaime Anguiano Olarra 8fbc5fca48 Added the Gtk# intro page.
svn path=/trunk/mono/; revision=9773
2002-12-19 18:07:57 +00:00
Jaime Anguiano Olarra c6d8f736e3 Added a custom Gtk# introduction.
svn path=/trunk/mono/; revision=9772
2002-12-19 18:02:15 +00:00
Paolo Molaro 2000882245 Thu Dec 19 18:31:54 CET 2002 Paolo Molaro <[email protected]>
* jit.c: fix LDELEMA implementation here as well.

svn path=/trunk/mono/; revision=9771
2002-12-19 17:34:29 +00:00
Gonzalo Paniagua Javier 52218604b0 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* HttpValueCollection.cs: patch from Botjan Vizin
	<[email protected]> that implements ToString (bool).

svn path=/trunk/mcs/; revision=9770
2002-12-19 17:29:27 +00:00
Paolo Molaro fe58460445 Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <[email protected]>
* MonoMethod.cs, ParameterInfo.cs: return a custom attribute
	provider for the return type of a method.

svn path=/trunk/mcs/; revision=9769
2002-12-19 15:46:00 +00:00
Paolo Molaro 0b7186d44d Thu Dec 19 16:23:19 CET 2002 Paolo Molaro <[email protected]>
* object.c: removed assert to allow static fields on interfaces.
	* loader.c: a TypeSpec may be used for any type, not just arrays.

svn path=/trunk/mono/; revision=9768
2002-12-19 15:26:08 +00:00
Paolo Molaro 0ff9d1d988 Thu Dec 19 14:19:42 CET 2002 Paolo Molaro <[email protected]>
* class.c, class.h: added mono_class_array_element_size ().
	Ignore static methods in interfaces.

svn path=/trunk/mono/; revision=9767
2002-12-19 13:22:53 +00:00
Marco Ridoni cda9448ef0 Some minor changes
svn path=/trunk/mcs/; revision=9766
2002-12-19 12:28:03 +00:00
Marco Ridoni 4387ccd8db Invocation.DoResolve was modified to accomodate Properties with
parameters (which still need a bit of work)

svn path=/trunk/mcs/; revision=9765
2002-12-19 12:03:04 +00:00
Gonzalo Paniagua Javier 845496d205 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/AuthConfig.cs: LoginUrl defaults to login.aspx.
	* System.Web.Security/FormsAuthentication.cs: return a null ticket when
	an exception is thrown creating it. Implemented RenewTicketIfOld.

	* System.Web.Security/FormsAuthenticationModule.cs: implemented event
	handlers for AuthenticateRequest and EndRequest.
	* System.Web.Security/FormsAuthenticationTicket.cs: implemented
	SetDates and Clone methods.

svn path=/trunk/mcs/; revision=9764
2002-12-19 05:26:58 +00:00
Gonzalo Paniagua Javier 4c82ee69ae 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed bug #30076.
	* TimeZone.cs: provide the parameter name in a exception.

svn path=/trunk/mcs/; revision=9763
2002-12-19 05:16:32 +00:00
Gonzalo Paniagua Javier 6af1fe9bdf 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: generate code like 'control.XXX = value' also for
	public fields (properties were being handled in that way too).

svn path=/trunk/mcs/; revision=9762
2002-12-19 04:20:28 +00:00
Gonzalo Paniagua Javier c5f048f1c7 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* threads.c: fixed the build under cygwin.

svn path=/trunk/mono/; revision=9761
2002-12-19 02:26:39 +00:00
Gonzalo Paniagua Javier 8543293ad2 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: don't jump over the first element.
	* ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.

	This used to work until i tried to access one attribute of the first
	element and realized that the element was not the expected!
	This change does not affect the configuration handlers that only use
	ChildNodes property on the XmlNode they get as argument.

svn path=/trunk/mcs/; revision=9760
2002-12-19 01:50:06 +00:00
César Natarén c7fa63baee Added file cs0201.cs
svn path=/trunk/mcs/; revision=9759
2002-12-19 01:46:52 +00:00
César Natarén 763b5774f2 Added test for error CS0201.
svn path=/trunk/mcs/; revision=9758
2002-12-19 01:35:45 +00:00
Ravi Pratap M 0cf7fde104 2002-12-18 Ravi Pratap <[email protected]>
* attribute.cs (Attributes.AddAttributeSection): Rename to this
	since it makes much more sense.

	(Attributes.ctor): Don't require a Location parameter.

	* rootcontext.cs (AddGlobalAttributeSection): Rename again.

	* attribute.cs (ApplyAttributes): Remove extra Location parameters
	since we already have that information per attribute.

	* everywhere : make appropriate changes.

	* class.cs (LabelParameters): Write the code which actually
	applies attributes to the return type. We can't do this on the MS
	.NET runtime so we flag a warning in the case an exception is
	thrown.

svn path=/trunk/mcs/; revision=9757
2002-12-19 00:44:23 +00:00
Ravi Pratap M e9e9fb22e2 Add test 176 to the usual suite. Wonder why it wasnt there.
svn path=/trunk/mcs/; revision=9756
2002-12-19 00:39:05 +00:00
Ravi Pratap M 488ca42f3e test-177 goes into NO_PASS for now
svn path=/trunk/mcs/; revision=9755
2002-12-19 00:36:07 +00:00
Ravi Pratap M e324c6452d 2002-12-18 Ravi Pratap <[email protected]>
* test-177.cs : Add. This doesn't pass yet because we don't have
	ReturnTypeCustomAttributes working.

svn path=/trunk/mcs/; revision=9754
2002-12-19 00:35:31 +00:00
Ravi Pratap M 01714dfb49 2002-12-18 Ravi Pratap <[email protected]>
* errors.txt : Update for error # -24.

svn path=/trunk/mcs/; revision=9753
2002-12-19 00:23:25 +00:00
Paolo Molaro a9a7df0439 Thu Dec 19 00:06:57 CET 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: remove duplicated user string entries.

svn path=/trunk/mcs/; revision=9752
2002-12-18 23:09:09 +00:00
Ville Palo d5634eb360 2002-12-18 Ville Palo <[email protected]>
* DataSet.cs: Started to implement ReadXml-methods.

svn path=/trunk/mcs/; revision=9751
2002-12-18 19:48:44 +00:00
Miguel de Icaza c724358425 2002-12-18 Miguel de Icaza <[email protected]>
* const.cs: Handle implicit null conversions here too.

svn path=/trunk/mcs/; revision=9750
2002-12-18 19:32:36 +00:00
Gonzalo Paniagua Javier ce46a3e791 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* configure.in: moved struct tm field tm_gmtoff check before the check
	for timezone global variable. This makes Timezone work for me (debian
	sid, linux, x86, which has both the field and the global variables).

svn path=/trunk/mono/; revision=9749
2002-12-18 19:01:27 +00:00
Paolo Molaro 1c256c7686 Wed Dec 18 18:43:47 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: handle nullref constants. Allocate keys for
	reflection handles with the GC.

svn path=/trunk/mono/; revision=9748
2002-12-18 17:46:17 +00:00
Jonathan Pryor 60d72a0f50 Switches (Boolean & Trace) should be working now. Behavior of user-provided
Switch derived classes should match that of .NET.

Go forth and use Swiches! ;-)

ChangeLog:
  * BooleanSwitch.cs: Complete re-write.  It works now.
  * DefaultTraceListener.cs:
    - Use `const' strings, so I don't worry about copy/paste errors
    - Give `AssertUiEnabled' an actual backing member
  * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
    configuration handler set .config-specified properties on
    DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
    (AutoFlush, IndentSize).
  * Switch.cs: Near complete re-write.  Actually works, and is (should be)
    comformant with .NET behavior.  Changed member names because they were
    confusing me.  (Yes, that doesn't say much about my memory.)
  * TextWriterTraceListener.cs: Append text to already existing files, don't
    overwrite them.
  * TraceImpl.cs:
    - Added private destructor, to ensure no instances are created.
    - Move members declarations to be closer to each other.
  * TraceSwitch.cs: Complete re-write.  It works now.

svn path=/trunk/mcs/; revision=9747
2002-12-18 16:01:09 +00:00
Paolo Molaro 920f482d9c Wed Dec 18 11:42:58 CET 2002 Paolo Molaro <[email protected]>
* jit.c: handle CEE_CONV_OVF_U8_UN like CEE_CONV_OVF_I8_UN.

svn path=/trunk/mono/; revision=9746
2002-12-18 10:45:15 +00:00
Paolo Molaro b6d7af01cf Wed Dec 18 11:36:04 CET 2002 Paolo Molaro <[email protected]>
jit.c: query the thread abort signal from the runtime.

svn path=/trunk/mono/; revision=9745
2002-12-18 10:38:17 +00:00
Paolo Molaro f4c02305c8 Wed Dec 18 11:34:18 CET 2002 Paolo Molaro <[email protected]>
* threads.c, threads.h: added mono_thread_get_abort_signal()
	to get a suitable signal for thread abort.

svn path=/trunk/mono/; revision=9744
2002-12-18 10:37:26 +00:00
Paolo Molaro a7888c627c Wed Dec 18 11:26:18 CET 2002 Paolo Molaro <[email protected]>
* metadata.c: fix handling of ExportedType table.

svn path=/trunk/mono/; revision=9743
2002-12-18 10:28:25 +00:00
Gonzalo Paniagua Javier 3d1ea510c1 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: implemented GetAuthCookie, SetAuthCookie,
	SignOut, FormsCookieName and FormsCookiePath.

svn path=/trunk/mcs/; revision=9742
2002-12-18 03:28:02 +00:00
Dennis Hayes 868857b075 removed some 'extras'
svn path=/trunk/mcs/; revision=9741
2002-12-18 02:52:17 +00:00
Dennis Hayes fedcadcafd more menu implmentation
svn path=/trunk/mcs/; revision=9740
2002-12-18 02:30:02 +00:00
Dennis Hayes d9d9bb6675 updated menutest
svn path=/trunk/mcs/; revision=9739
2002-12-18 02:25:16 +00:00
Dennis Hayes 18ce6facb7 added new api function
svn path=/trunk/mcs/; revision=9738
2002-12-18 02:19:56 +00:00
Gonzalo Paniagua Javier 8e91ed0203 2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: add the context as parameter
	when building the application Type.

	* System.Web/HttpCookie.cs: new internal constructor.
	* System.Web/HttpCookieCollection.cs: new internal method to make a
	cookie expire.

	* System.Web/HttpRequest.cs: MapPath fixes.
	* System.Web/HttpResponse.cs: implemented ApplyAppPathModifier.
	* System.Web/HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
	* System.Web.Compilation/AspGenerator.cs: now it uses the current
	HttpContext when creating user controls. TemplateSourceDirectory is no
	longer a dummy value.

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: set the context which
	will be used to locate the files.

	* System.Web.UI/BaseParser.cs: use MapPath and context to locate files.
	* System.Web.UI/Control.cs: implemented MapPathSecure.
	* System.Web.UI/TemplateControl.cs: use UrlUtils to generate the path.
	* System.Web.UI/TemplateControlParser.cs: use the context and MapPath.
	* System.Web.UI/UserControl.cs: implemented MapPath.
	* System.Web.UI/UserControlParser.cs: added context parameter to
	constructor.
	* System.Web.Util/PathUtil.cs: removed.
	* System.Web.Util/UrlUtils.cs: fixed Combine to handle '~'.

svn path=/trunk/mcs/; revision=9737
2002-12-18 02:17:17 +00:00
Ravi Pratap M 1c4362e658 2002-12-17 Ravi Pratap <[email protected]>
* class.cs (MethodCore.LabelParameters): Remove the extra
	Type [] parameter since it is completely unnecessary. Instead
	pass in the method's attributes so that we can extract
	the "return" attribute.

svn path=/trunk/mcs/; revision=9736
2002-12-17 23:36:20 +00:00
Jonathan Pryor 7187b5f041 Reformat to comply with Mono coding standards.
svn path=/trunk/mcs/; revision=9735
2002-12-17 22:10:50 +00:00
Jonathan Pryor e11681b16e Add <system.diagnostics/> to the available .config file sections.
svn path=/trunk/mono/; revision=9734
2002-12-17 21:50:54 +00:00
Jonathan Pryor b843881827 Implement DiagnosticsConfigurationHandler, so that .config files can contain
<system.diagnostics/> configuration sections.

svn path=/trunk/mcs/; revision=9733
2002-12-17 21:42:08 +00:00
Alejandro Sánchez Acosta a481294ce7 Added new mcs test error cs0154.cs
svn path=/trunk/mcs/; revision=9732
2002-12-17 17:51:26 +00:00
Alejandro Sánchez Acosta ed99b91dda new test sample
svn path=/trunk/mcs/; revision=9731
2002-12-17 17:40:08 +00:00
Alejandro Sánchez Acosta d7bda5dd8f new sample test error cs0138.cs
svn path=/trunk/mcs/; revision=9730
2002-12-17 17:38:41 +00:00
Ville Palo 6e4193fc42 2002-12-17 Ville Palo <[email protected]>
* region.xml:
	* store.xsd: new xmldoment and xmlschema for testing DataSet
	* DataSetTest.cs: Added some Xml-tests.
	* AllTests.cs: Added DataSetTest

svn path=/trunk/mcs/; revision=9729
2002-12-17 16:05:38 +00:00
Marco Ridoni c3572782b7 Properties implemented. Property paramters still don't work.
svn path=/trunk/mcs/; revision=9728
2002-12-17 13:24:41 +00:00
Marco Ridoni 5918028c17 Implemented an overloaded method for EmitTopBlock which is called by
MethodData.Emit and specifies the function name (needed to get the return
value)

svn path=/trunk/mcs/; revision=9727
2002-12-17 13:23:38 +00:00
Miguel de Icaza 8fb465e560 2002-12-17 Miguel de Icaza <[email protected]>
* cs-parser.jay (parse): Use Report.Error to flag errors instead
	of ignoring it and letting the compile continue.

	* typemanager.cs (ChangeType): use an extra argument to return an
	error condition instead of throwing an exception.

svn path=/trunk/mcs/; revision=9726
2002-12-17 09:12:07 +00:00
Gonzalo Paniagua Javier 9096fdf8c0 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: return an empty string in GetControlValidationValue
	when GetValue returned null.

	* CompareValidator.cs: fixed EvaluateIsValid.

	* RegularExpressionValidator.cs: fixed EvaluateIsValid.

svn path=/trunk/mcs/; revision=9725
2002-12-17 07:31:20 +00:00
Gonzalo Paniagua Javier 1cffa9bea3 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: use MapPathSecure to get the path of the document.

svn path=/trunk/mcs/; revision=9724
2002-12-17 04:50:26 +00:00
Gonzalo Paniagua Javier b272797408 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented MapPathSecure.
	* Page.cs: fixed Server property.

svn path=/trunk/mcs/; revision=9723
2002-12-17 04:47:08 +00:00
Gonzalo Paniagua Javier dcfad7ede7 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
	and Decrypt, HashPasswordForStoringInConfigFile and Initialize.

	* FormsAuthenticationTicket.cs: set cookiePath to the default when no
	other provided.

svn path=/trunk/mcs/; revision=9722
2002-12-17 04:44:49 +00:00
Gonzalo Paniagua Javier 48c0213c19 updated list file
svn path=/trunk/mcs/; revision=9721
2002-12-17 04:41:15 +00:00
Gonzalo Paniagua Javier 045bda5f2e 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* AuthConfig.cs:
	* AuthenticationConfigHandler.cs: handler and helper class for
	system.web/authentication configuration section.

	* HttpHandlersSectionHandler.cs: check for null in attributes.

	* MachineKeyConfig.cs:
	* MachineKeyConfigHandler.cs: handler and helper class for
	system.web/machineKey tag.

svn path=/trunk/mcs/; revision=9720
2002-12-17 04:40:13 +00:00
Nick Drochak 5aa72841ea forgot to add this from a while back
svn path=/trunk/mcs/; revision=9719
2002-12-17 04:34:38 +00:00
Gonzalo Paniagua Javier 98dad4b1be 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: hack to create a default user when there's no one.
	Implemented GetConfig (string).

	* HttpRequest.cs: fixes to MapPath (string).

svn path=/trunk/mcs/; revision=9718
2002-12-17 04:28:10 +00:00
Gonzalo Paniagua Javier 49c0d13a3f updated list file
svn path=/trunk/mcs/; revision=9717
2002-12-17 04:23:16 +00:00
Gonzalo Paniagua Javier 9c8a33be2e oops. Typo
svn path=/trunk/mono/; revision=9716
2002-12-17 04:20:48 +00:00
Gonzalo Paniagua Javier eddf7d74d8 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* DataSet.cs: implemented DefaultViewManager and GetList.

	* DataViewManager.cs: a bit of work on IList and ITypedList needed by
	DataList in System.Web.

	* DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
	DataViewManager.

svn path=/trunk/mcs/; revision=9715
2002-12-17 04:19:27 +00:00
Gonzalo Paniagua Javier a880449fbc 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* GenericIdentity.cs: check arguments and fixed IsAuthenticated.

svn path=/trunk/mcs/; revision=9714
2002-12-17 04:15:26 +00:00
Gonzalo Paniagua Javier d81e88dbbc new sections
svn path=/trunk/mono/; revision=9713
2002-12-17 04:13:43 +00:00
Sebastien Pouliot f73e4954e9 2002-12-16 Sebastien Pouliot <[email protected]>
* unix.args: added StrongName.cs, StrongNamePublicKeyBlob.cs
	and StrongNameIdentityPermission.cs files.

svn path=/trunk/mcs/; revision=9712
2002-12-17 04:03:36 +00:00
Sebastien Pouliot 92954a18d3 2002-12-16 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added StrongNamePublicKeyBlob and
	StrongName test files.

svn path=/trunk/mcs/; revision=9711
2002-12-17 04:02:51 +00:00
Sebastien Pouliot 376a1a0908 2002-12-16 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for StrongName.
	* StrongNameTest.cs: New. Test suite for StrongName (complete).

svn path=/trunk/mcs/; revision=9710
2002-12-17 04:02:11 +00:00
Sebastien Pouliot 3f705b0c1e 2002-12-16 Sebastien Pouliot <[email protected]>
* StrongName.cs: New. Implemented.

svn path=/trunk/mcs/; revision=9709
2002-12-17 04:01:11 +00:00
Sebastien Pouliot 6d4d947a18 2002-12-16 Sebastien Pouliot <[email protected]>
AllTests.cs: Added StrongNamePublicKeyBlobTest suite.
	StrongNamePublicKeyBlobTest.cs: New. Test suite for
	StrongNamePublicKeyBlob.

svn path=/trunk/mcs/; revision=9708
2002-12-17 03:59:26 +00:00
Sebastien Pouliot f9a5f1f8bb 2002-12-16 Sebastien Pouliot <[email protected]>
* StrongNamePublicKeyBlob.cs: New. Implemented.
	* StrongNameIdentityPermission.cs. New. Stubbed (required
	for StrongName class).

svn path=/trunk/mcs/; revision=9707
2002-12-17 03:58:11 +00:00
Ville Palo c815067fde 2002-12-16 Ville Palo <[email protected]>
* DataRow.cs
	* DataTable.cs: Fixed NullException (rollback -event)
	* DataSet.cs: WriteXml -method does not anymore write <?xml... row.

svn path=/trunk/mcs/; revision=9706
2002-12-16 18:50:22 +00:00
Ville Palo 53ea503c26 2002-12-16 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: some fixes.

svn path=/trunk/mcs/; revision=9705
2002-12-16 18:43:28 +00:00
Ville Palo 2366f340fd 2002-12-16 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Now rollback works. It means all
	types of transactions works, i guess ;)

svn path=/trunk/mcs/; revision=9704
2002-12-16 18:40:07 +00:00
Miguel de Icaza 5505a96205 Remove file
svn path=/trunk/mono/; revision=9703
2002-12-16 04:51:17 +00:00
Miguel de Icaza c1a1833e3b Add file in this directory
svn path=/trunk/mono/; revision=9702
2002-12-16 04:51:07 +00:00
Miguel de Icaza 9c32fb39a8 Flush
svn path=/trunk/mono/; revision=9701
2002-12-16 04:50:58 +00:00
Sebastien Pouliot a80cb630dd 2002-12-15 Sebastien Pouliot <[email protected]>
* unix.args: added PublisherIdentityPermission.cs,
	Publisher.cs and PublisherMembershipCondition.cs

svn path=/trunk/mcs/; revision=9699
2002-12-16 02:02:44 +00:00
Sebastien Pouliot ece54edd18 2002-12-15 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added Publisher and
	PublisherMembershipCondition test files.

svn path=/trunk/mcs/; revision=9698
2002-12-16 02:01:49 +00:00
Sebastien Pouliot 35c33c2804 2002-12-15 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for Publisher and
	PublisherMembershipCondition.
	* PublisherTest.cs: New. Test suite for Publisher (complete).
	* PublisherMembershipConditionTest.cs: New. Test suite for Publisher
	PublisherMembershipCondition (incomplete).

svn path=/trunk/mcs/; revision=9697
2002-12-16 02:00:52 +00:00
Sebastien Pouliot 389cd4bee6 2002-12-15 Sebastien Pouliot <[email protected]>
* Publisher.cs: New. Implemented.
	* PublisherMembershipCondition.cs: New. X509 related stuff implemented.

svn path=/trunk/mcs/; revision=9696
2002-12-16 01:59:35 +00:00
Sebastien Pouliot a80dd5cb26 2002-12-15 Sebastien Pouliot <[email protected]>
* PublisherIdentityPermission.cs. New. Stubbed (required
	for Publisher class).

svn path=/trunk/mcs/; revision=9695
2002-12-16 01:58:22 +00:00
Eduardo Garcia Cebollero 886f18c732 2002-12-16 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: Some fixes to SMB shares handling, and not compiling
	with csc, mcs compiles it correctly (mcs bug 35652)

svn path=/trunk/mcs/; revision=9694
2002-12-16 00:31:11 +00:00
Eduardo Garcia Cebollero ef43ef882a 2002-12-14 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: Some fixes related to correct some exceptions thrown

2002-12-11  Eduardo Garcia Cebollero <[email protected]>

	* Directory.cs: Some Exceptions added, fixed GetParent(),
	CreateDirectory() should work with unix, native windows and
	windows samba shares. Converted end-lines from dos-mode to unix-mode

2002-12-08  Eduardo Garcia Cebollero <[email protected]>

	* Directory.cs: CreateDirectory  works now with Absolute paths
	too, not only with relative ones.

svn path=/trunk/mcs/; revision=9693
2002-12-15 23:14:30 +00:00
Johannes Roith 63ef7bccd2 add mono basic compiler page
svn path=/trunk/mono/; revision=9692
2002-12-15 23:03:03 +00:00
Miguel de Icaza 4863ad2d71 Flush
svn path=/trunk/mono/; revision=9691
2002-12-15 22:13:00 +00:00
Miguel de Icaza 219c7642e5 Update
svn path=/trunk/mcs/; revision=9690
2002-12-15 22:03:47 +00:00
Miguel de Icaza b839d66b10 Flush
svn path=/trunk/mono/; revision=9689
2002-12-15 20:18:10 +00:00
Sebastien Pouliot 362af3afae 2002-12-15 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Uncommented the GetEffectiveDateString and
	GetExpirationDateString tests. Added a test for ToString(true).

svn path=/trunk/mcs/; revision=9688
2002-12-15 20:18:04 +00:00
Sebastien Pouliot caba817083 2002-12-15 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed the date issue. MS implementation always
	return the local time for Pacific (GMT-8). Added ToString() and changed
	some protected to private to please corcompare.

svn path=/trunk/mcs/; revision=9687
2002-12-15 20:16:44 +00:00
Gonzalo Paniagua Javier 6ff6f22bc2 added ErrorLevel.cs
svn path=/trunk/mcs/; revision=9686
2002-12-15 19:09:49 +00:00
Jackson Harper 33ac496fc8 Moved ErrorLevel enum into its own file
svn path=/trunk/mcs/; revision=9685
2002-12-15 18:02:23 +00:00
Alp Toker ebebc496df 2002-12-15 Alp Toker <[email protected]>
* makefile.gnu: make sure mcs is in PATH, otherwise tell user to read
	INSTALL.txt

svn path=/trunk/mcs/; revision=9679
2002-12-15 16:38:48 +00:00
Nick Drochak a1f1e7e966 2002-12-15 Nick Drochak <[email protected]>
* nunit.build: Don't delete Transform.resources now, we don't generate
	it anymore.

svn path=/trunk/mcs/; revision=9674
2002-12-15 14:37:52 +00:00
Nick Drochak 3f6d1d848c 2002-12-15 Nick Drochak <[email protected]>
* Transform.resources: Add file.  This is technically a generated file,
	but it will never change for us since we get the sources from the nunit
	project anyway.

svn path=/trunk/mcs/; revision=9672
2002-12-15 14:18:48 +00:00
Gonzalo Paniagua Javier acb4421b8b 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: removed type loading hack no longer needed.

svn path=/trunk/mcs/; revision=9668
2002-12-15 12:41:50 +00:00
Ville Palo 8050bf79b1 2002-12-15 Ville Palo <[email protected]>
* DataRow.cs:
	* DataRowCollection.cs: Moved event triggering from DataRow to
	DataRowCollection.

svn path=/trunk/mcs/; revision=9666
2002-12-15 10:32:32 +00:00
Miguel de Icaza e27296d935 Add new test
svn path=/trunk/mcs/; revision=9665
2002-12-15 08:49:32 +00:00
Jonathan Pryor 2891b0badc Allow configuration settings to be removed. Previously, if you tried to
remove a configuration setting, you'd get an exception saying that there was
no factory for it (i.e. it had already been removed).

svn path=/trunk/mcs/; revision=9664
2002-12-15 04:43:37 +00:00
Gonzalo Paniagua Javier 3b9e702ba9 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: try the indexer if the property is not found in
	GetPropertyValue ().

svn path=/trunk/mcs/; revision=9663
2002-12-15 03:54:51 +00:00
Daniel Morgan 58d5c73846 2002-12-14 Daniel Morgan <[email protected]>
* Mono.Data.Tds.Protocol/Tds70.cs: single quotes in SQL string
	need to be escaped as two single quotes

svn path=/trunk/mcs/; revision=9662
2002-12-15 02:27:29 +00:00
Gonzalo Paniagua Javier 2a0582c8bf 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* DefaultTraceListener.cs: now OutputDebugStringW is called from an
	internal call (update your runtime!). No more warnings in linux.

svn path=/trunk/mcs/; revision=9661
2002-12-15 02:19:34 +00:00
Gonzalo Paniagua Javier 0a5f3a447e 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added WriteWindowsDebugString internal call.

svn path=/trunk/mono/; revision=9660
2002-12-15 02:17:59 +00:00
Gonzalo Paniagua Javier d63f33d197 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
* reflection.h: added fields to match C# implementation.

svn path=/trunk/mono/; revision=9659
2002-12-15 02:11:45 +00:00
Daniel Morgan 093db10b18 2002-12-12 Daniel Morgan <[email protected]>
* makefile.gnu
	* win32.make: removed non-existent file from build

svn path=/trunk/mcs/; revision=9658
2002-12-15 01:01:25 +00:00
Daniel Morgan 0199cca9da 2002-12-12 Daniel Morgan <[email protected]>
* makefile.gnu: added file for linux build

	* win32.make: update file for windows build

	* DataGrid.cs: since SetColumnTypes has been fixed in GTK#,
	update its use here

	* sqlsharpgtk.cs: change Console.WriteLine()s to Error()s or
	get rid of the Console.WriteLine()s.  Created new menus Session
	and Command and move some menu items.  Implement new menu items
	File - New, Open, Save, and Save As

	* FileSelectionDialog.cs: added file
	to make it easier to use the FileSelection dialog

	* SqlEditorSharp.cs: added public methods
	LoadFromFile, SaveToFile, and Clear

svn path=/trunk/mcs/; revision=9657
2002-12-15 00:52:59 +00:00
Miguel de Icaza 452cfa4ca5 Flush
svn path=/trunk/mono/; revision=9649
2002-12-14 22:27:19 +00:00
Miguel de Icaza 68a9e6f96d Revert Directory.cs patch until its fixed
svn path=/trunk/mcs/; revision=9645
2002-12-14 19:40:15 +00:00
Ville Palo 78ef9ef5dc Fixed ms warning issue
svn path=/trunk/mcs/; revision=9643
2002-12-14 17:51:29 +00:00
Ville Palo 4ee28e267c 2002-12-14 Ville Palo [email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added three new tests

svn path=/trunk/mcs/; revision=9639
2002-12-14 17:14:37 +00:00
Ville Palo 2a37c57394 2002-12-14 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
	DataSet's datatable is now possible.

svn path=/trunk/mcs/; revision=9638
2002-12-14 17:11:20 +00:00
Gonzalo Paniagua Javier 97064f82ad 2002-12-14 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixed cut & paste error in GetRemoveMethod.

svn path=/trunk/mcs/; revision=9637
2002-12-14 16:33:18 +00:00
Gonzalo Paniagua Javier 8d75eddbf5 2002-12-14 Gonzalo Paniagua Javier <[email protected]>
* icall.c: patch from Jaroslaw Kowalski to fix Environment.MachineName.

svn path=/trunk/mono/; revision=9636
2002-12-14 15:58:28 +00:00
Jaime Anguiano Olarra 07ef78ce07 Fixing versions. Now all it's fine.
svn path=/trunk/mono/; revision=9626
2002-12-13 18:42:41 +00:00
Jaime Anguiano Olarra 9889b5435f Added a pair Q/A. Not much general things the past days.
svn path=/trunk/mono/; revision=9625
2002-12-13 18:21:36 +00:00
Marco Ridoni b26d6e1e11 Implemented For..Next..Step
Implemented Finally clause in Try..Catch

svn path=/trunk/mcs/; revision=9624
2002-12-13 16:30:44 +00:00
Gonzalo Paniagua Javier 31c202887f 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: added support for
	AutoEventWireup attribute in @Page and @Control.

	* System.Web.Compilation/CompilationResult.cs:
	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: store the options.

	* System.Web.UI/Control.cs: added AutoEventWireup internal property.

	* System.Web.UI/Page.cs: removed page events wire up from here.

	* System.Web.UI/TemplateControl.cs: new method WireupAutomaticEvents to
	hook up page and user controls events.

	* System.Web.UI/TemplateControlParser.cs: process the options that are
	applicable once we have the instance of the control.

	* System.Web.UI/TemplateParser.cs: also stores the options.

	* System.Web.UI/UserControl.cs: hook up events before initializing the
	control.

svn path=/trunk/mcs/; revision=9623
2002-12-13 15:57:07 +00:00
Gonzalo Paniagua Javier 4b38835edf 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* DecimalFormatter.cs: fixed bug #35560.

svn path=/trunk/mcs/; revision=9619
2002-12-13 10:05:51 +00:00
Gonzalo Paniagua Javier d7948ad01a 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: fixed bug #35489.

svn path=/trunk/mcs/; revision=9618
2002-12-13 09:46:54 +00:00
Gonzalo Paniagua Javier 72df0c550b 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed header & footer.

svn path=/trunk/mcs/; revision=9617
2002-12-13 09:28:55 +00:00
Miguel de Icaza 85ed858a24 Sorry about this
svn path=/trunk/mcs/; revision=9616
2002-12-13 06:05:38 +00:00
Juli Mallett f05c761b71 2002-12-12 Juli Mallett <[email protected]>
* jit.c: If SIGRTMIN is not defined, fall back to SIGUSR1.

svn path=/trunk/mono/; revision=9613
2002-12-13 03:31:36 +00:00
Juli Mallett 78d1184ee5 2002-12-12 Juli Mallett <[email protected]>
* gc.h, gc-internal.h: Rename header for GC internal calls to
	gc-internal.h from gc.h as to not clash with Boehm GC having its
	header installed as <gc.h> in outside include paths.
	* appdomain.c, gc.c, icall.c, object.c: Account for aforementioned.
	* threads.c: If SIGRTMIN is not defined, fall back to SIGUSR1.

svn path=/trunk/mono/; revision=9612
2002-12-13 03:31:33 +00:00
Miguel de Icaza 38ade84160 2002-12-12 Miguel de Icaza <[email protected]>
* class.cs: Remove some dead code.

	* cs-parser.jay: Estimate the number of methods needed
	(RootContext.MethodCount);

	* cs-tokenizer.cs: Use char arrays for parsing identifiers and
	numbers instead of StringBuilders.

	* support.cs (PtrHashtable): Add constructor with initial size;
	We can now reduce reallocations of the method table.

svn path=/trunk/mcs/; revision=9611
2002-12-13 03:10:37 +00:00
Marco Ridoni 2f34bc1499 Statically declared events (i.e Sub MySub() Handles b1.Click) work (even
if they're probably buggy)
Try..Catch also works. Finally is in the grammat but still soes not work.

svn path=/trunk/mcs/; revision=9599
2002-12-12 23:29:46 +00:00
Gonzalo Paniagua Javier 06bb07d6d0 forgotten in last commit
svn path=/trunk/mcs/; revision=9595
2002-12-12 20:54:30 +00:00
Gonzalo Paniagua Javier 1fd7a5bbd1 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: new method to set bindingContainer value.
	* System.Web.UI/TemplateControl.cs: added controls are not binding
	containers.
	* System.Web.UI.WebControls/DataList.cs: for header and footer don't
	use data source. Instantiate in the DataListItem, not in the DataList.
	databind-template.aspx works now.

svn path=/trunk/mcs/; revision=9594
2002-12-12 20:45:43 +00:00
Ville Palo 31c994a6de Added -r System.Xml.dll
svn path=/trunk/mcs/; revision=9593
2002-12-12 20:42:18 +00:00
Gonzalo Paniagua Javier 76bf457206 forgot this one
svn path=/trunk/mcs/; revision=9592
2002-12-12 20:37:36 +00:00
Juli Mallett 8e85dddebb 2002-12-11 Juli Mallett <[email protected]>
* daemon.c, handles-private.h, handles.c, wapi-private.h:
	Check for an implementation which says it supports
	_POSIX_THREAD_PROCESS_SHARED, rather than just one that
	defines the symbol.  Defined but with a value of -1 still
	means that it is unsupported.

svn path=/trunk/mono/; revision=9591
2002-12-12 10:58:37 +00:00
Marco Ridoni bf76aa56e1 References to Microsoft.VisualBasic.* have been temporarily disabled
System.Drawing in driver.cs is referenced by default (just for now)
Added an extra define (EXTRA_DEFAULT_REFS) in driver.cs to allow default
  referencing of a bigger set of system assemblies. Off by default.

svn path=/trunk/mcs/; revision=9590
2002-12-12 10:53:01 +00:00
Marco Ridoni 4e9468ab1a Modified a check in AddConstructor (a VB.NET constructor is always named
'New')

svn path=/trunk/mcs/; revision=9589
2002-12-12 10:50:46 +00:00
Jackson Harper a4f95a85b1 Comment out UTF8... test (it does not exist)
svn path=/trunk/mcs/; revision=9588
2002-12-12 08:43:17 +00:00
Jackson Harper fc27d088b0 Partially implemented bugreport option, also only allow valid options now
svn path=/trunk/mcs/; revision=9587
2002-12-12 08:33:43 +00:00
Gonzalo Paniagua Javier 40f19f2cdf 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* Encoding.cs: g_get_encoding () returns "ASCII". In Default, when the
	encoding is not found, default to UTF8Unmarked. Removed comment in
	UnixConsoleEncoding, because it's now Default, which gets the
	encoding internally using g_get_encoding ().

svn path=/trunk/mcs/; revision=9584
2002-12-12 04:26:24 +00:00
Gonzalo Paniagua Javier 43d7f24f1c 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.
	* System.Web/HttpRuntime.cs: avoid nulls and exception when getting
	resource format strings.

	* System.Web/StaticFileHandler.cs: added file name to error message.
	* System.Web.Compilation/AspElements.cs: new method Tag.GetElements
	used to parse the inner contents of a tag looking for data binding or
	code render tags.

	New property HtmlControlTag.ParseChildren allows
	differentiation of a couple of HtmlControls that has children as
	properties (namely HtmlTable and HtmlTableRow).

	* System.Web.Compilation/AspGenerator.cs: fixed container semantics to
	match BindingContainer one. Implemented Inherits attribute for page and
	control.

	Support HtmlControls that has ChildrenAsProperties.

	Generate code for data binding functions that matches the semantic of
	Container.

	Handle data bound and code render attribute values.

	Set proper value return for TemplateSourceDirectory. Should be relative
	to appPath.

	* System.Web.Compilation/BaseCompiler.cs: moved CompilerOptions and
	References handling here.

	* System.Web.Compilation/CachingCompiler.cs: copy result of compilation.

	* System.Web.Compilation/CompilationException.cs: simple ToString ()
	implementation.

	* System.Web.Compilation/CompilationResult.cs: implemented CopyFrom and
	ToString.

	* System.Web.Compilation/GlobalAsaxCompiler.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/UserControlCompiler.cs: removed
	CompilerOptions as it's now handled in the base class. Get all the
	types in the generated assembly and look for one that derives from
	the correct Type.

	* System.Web.UI/Control.cs: implemented TemplateSourceDirectory.
	* System.Web.UI/TemplateControl.cs: implemented LoadControl and
	LoadTemplate.

	* System.Web.Util/PathUtil.cs: some path handling methods that are not
	available in Path.

svn path=/trunk/mcs/; revision=9583
2002-12-12 03:20:19 +00:00
Gonzalo Paniagua Javier e09de1116e 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* icall.c: assign minor, build and revision in FillName.

svn path=/trunk/mono/; revision=9580
2002-12-12 01:03:06 +00:00
Miguel de Icaza 8e87f4f56f Add notes
svn path=/trunk/mcs/; revision=9579
2002-12-12 00:22:16 +00:00
Jaime Anguiano Olarra fc38d2816d System.Runtime.Remoting/RemotingConfiguration.cs added to the build.
svn path=/trunk/mcs/; revision=9577
2002-12-11 20:37:58 +00:00
Jaime Anguiano Olarra 71d6ccb2b7 System.Runtime.Remoting.RemotingConfiguration.cs added to the CVS.
svn path=/trunk/mcs/; revision=9576
2002-12-11 20:37:14 +00:00
Jeroen Janssen 93d3ee72e7 2002-12-11 Jeroen Janssen <[email protected]>
* enabled building Mono.Directory.LDAP and
	  System.Design in .build file

svn path=/trunk/mcs/; revision=9574
2002-12-11 18:46:42 +00:00
Jeroen Janssen 23d85fcce6 2002-12-11 Jeroen Janssen <[email protected]>
* removed set for RootDesignerSerializerAttribute.TypeId
	* fixed .build file to include reference to System.dll

svn path=/trunk/mcs/; revision=9573
2002-12-11 18:44:00 +00:00
Jaime Anguiano Olarra 411a88af6b Little fix
svn path=/trunk/mcs/; revision=9572
2002-12-11 18:33:01 +00:00
Jeroen Janssen ae076ef087 2002-12-11 Jeroen Janssen <[email protected]>
* add reference to corlib.dll in order to eliminate [MonoTODO] build error

svn path=/trunk/mcs/; revision=9571
2002-12-11 18:32:10 +00:00
Miguel de Icaza aff2d37425 Update
svn path=/trunk/mono/; revision=9569
2002-12-11 18:00:29 +00:00
Zoltan Varga 384690ac59 * FieldBuilder.cs: added 'handle' field which is needed by some new
code in reflection.c.

svn path=/trunk/mcs/; revision=9566
2002-12-11 17:29:23 +00:00
Zoltan Varga f345a60ef8 * image.h reflection.h reflection.c class.h class.c loader.c object.c:
Added support for running code generated by Reflection.Emit.

svn path=/trunk/mono/; revision=9565
2002-12-11 17:27:56 +00:00
Marco Ridoni eee4f0aa5e A few cosmetic changes: error codes are now reported as BCxxxx instead of
CSxxxx

svn path=/trunk/mcs/; revision=9564
2002-12-11 15:34:47 +00:00
Ville Palo bd8a904eca 2002-12-11 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
	GetElementFromRowElement () -methods. Somefixed and little clean up.

svn path=/trunk/mcs/; revision=9563
2002-12-11 15:25:21 +00:00
Marco Ridoni 963b4479a8 A lot of changes: support for modules, classes, properties, delegates,
parameters passing, namespace import. Preliminary event support.

svn path=/trunk/mcs/; revision=9562
2002-12-11 15:09:05 +00:00
Marco Ridoni 08234aa2b8 Commented out a few lines to solve a problem in member access
svn path=/trunk/mcs/; revision=9561
2002-12-11 15:07:45 +00:00
Marco Ridoni b3d003c0b5 Slight changes to allow compiling under Mono/mcs
svn path=/trunk/mcs/; revision=9560
2002-12-11 15:06:50 +00:00
Marco Ridoni e3ec9e0570 A few test files for classes, modules, delegates, properties, etc. Some of
them require System.Window.Forms

svn path=/trunk/mcs/; revision=9559
2002-12-11 14:53:58 +00:00
Dick Porter afd1f8e068 Fixed some debug messages
svn path=/trunk/mono/; revision=9558
2002-12-11 12:48:05 +00:00
Ravi Pratap M d113def524 2002-12-10 Ravi Pratap <[email protected]>
* attribute.cs (ApplyAttributes): Keep track of the emitted
	attributes on a per-target basis. This fixes bug #35413.

svn path=/trunk/mcs/; revision=9557
2002-12-11 03:25:45 +00:00
Ravi Pratap M 424ef47428 2002-12-10 Ravi Pratap <[email protected]>
* test-102.cs : Improve to catch the case when an attribute
	can be emitted twice for the same program element but with
	different targets.

svn path=/trunk/mcs/; revision=9556
2002-12-11 03:19:24 +00:00
Gonzalo Paniagua Javier e4eba3b888 2002-12-11 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: check for NULL argument in LoadFrom.

svn path=/trunk/mono/; revision=9555
2002-12-11 02:02:32 +00:00
Miguel de Icaza 18377cc045 Add
svn path=/trunk/mcs/; revision=9554
2002-12-11 00:09:18 +00:00
Miguel de Icaza 2cfc9fd1a6 2002-12-10 Miguel de Icaza <[email protected]>
* driver.cs (MainDriver): On rotor encoding 28591 does not exist,
	default to the Windows 1252 encoding.

	(UnixParseOption): Support version, thanks to Alp for the missing
	pointer.

	* AssemblyInfo.cs: Add nice assembly information.

	* cs-tokenizer.cs: Add fix from Felix to the #if/#else handler
	(bug 35169).

	* cs-parser.jay: Allow a trailing comma before the close bracked
	in the attribute_section production.

svn path=/trunk/mcs/; revision=9553
2002-12-10 23:54:06 +00:00
Miguel de Icaza 056d6258c8 Improve test
svn path=/trunk/mcs/; revision=9552
2002-12-10 23:47:42 +00:00
Miguel de Icaza b057401f91 2002-12-10 Miguel de Icaza <[email protected]>
* cs-parser.jay: Allow a trailing comma before the close bracked
	in the attribute_section production.

svn path=/trunk/mcs/; revision=9551
2002-12-10 23:16:47 +00:00
Daniel Morgan c80e9ca5df 2002-12-10 Daniel Morgan <[email protected]>
* doc/oracle: added file which is
	a new web page oracle.html

	* doc/ado-net: clean up and add link
	to oracle.html

	* doc/web/commands
	* doc/web/makefile: added oracle.html

svn path=/trunk/mono/; revision=9549
2002-12-10 23:10:19 +00:00
Miguel de Icaza 8fa2cc52ba Reverted changes, they break the build with our setup.
svn path=/trunk/mcs/; revision=9548
2002-12-10 23:02:59 +00:00
Miguel de Icaza dc2bd0825c Small fixes
svn path=/trunk/mcs/; revision=9547
2002-12-10 22:40:15 +00:00
Miguel de Icaza ebe5f0fecd Simple fix
svn path=/trunk/mcs/; revision=9546
2002-12-10 22:37:29 +00:00
Miguel de Icaza 685f14f961 Improve test
svn path=/trunk/mcs/; revision=9545
2002-12-10 22:34:40 +00:00
Miguel de Icaza 7d6c1a502b 2002-12-10 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): Until I figure out why the
	address of the instance was being taken, I will take this out,

svn path=/trunk/mcs/; revision=9544
2002-12-10 22:31:56 +00:00
Jeroen Janssen deafc750cf 2002-12-10 Jeroen Janssen <[email protected]>
* updated .build file(s) to correctly contain required buildfile
	  attribute for nant

svn path=/trunk/mcs/; revision=9543
2002-12-10 22:08:36 +00:00
Jeroen Janssen a91a4d1e89 2002-12-10 Jeroen Janssen <[email protected]>
* added System.ServiceProcess.build file
	* added ChangeLog file

svn path=/trunk/mcs/; revision=9542
2002-12-10 21:59:33 +00:00
Jeroen Janssen 7f7df1e6e5 2002-12-10 Jeroen Janssen <[email protected]>
* added Mono.Directory.LDAP.build file

svn path=/trunk/mcs/; revision=9541
2002-12-10 21:54:53 +00:00
Jeroen Janssen 46564e3d34 2002-12-10 Jeroen Janssen <[email protected]>
* added ChangeLog
	* fixed MonoTodo compile errors with csc

svn path=/trunk/mcs/; revision=9540
2002-12-10 21:38:35 +00:00
Miguel de Icaza 8fb70a7097 Fix
svn path=/trunk/mcs/; revision=9539
2002-12-10 19:57:08 +00:00
Jaime Anguiano Olarra 5803915c37 The CallContext skeleton.
svn path=/trunk/mcs/; revision=9538
2002-12-10 18:58:33 +00:00
Jaime Anguiano Olarra 45714addb2 *** empty log message ***
svn path=/trunk/mcs/; revision=9537
2002-12-10 18:34:49 +00:00
Jonathan Pryor b42293fb4e Changelog: Update
TestTypes.cs: work around lack of [return:] attribute support in MCS.

svn path=/trunk/mcs/; revision=9536
2002-12-10 18:18:34 +00:00
Daniel Morgan e2f1bdeecf 2002-12-10 Daniel Morgan <[email protected]>
* man/Makefile.am: changed sqlsharpcli.1 to sqlsharp.1

	* man/sqlsharpcli.1: renamed to sqlsharp.1

svn path=/trunk/mono/; revision=9535
2002-12-10 18:15:26 +00:00
Gonzalo Paniagua Javier 8d29a839ff 2002-12-10 Gonzalo Paniagua Javier <[email protected]>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:
	(Disconnect): close the stream and set connected to false.
	(NextResult): check if after DoneProc we have a ColumnMetadata + Row,
	which holds the values for the output parameters and read them.
	(LoadRow): add the values to outputParameters if DoneProc.
	When executing a stored procedure, we execute the procedure and then
	select the parameter values.

	* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs:
	(BuildParameters): check Parameters.

	* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs: added Close () to
	close the stream.

	* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionParameters.cs:
	initialize all the string to be empty.

	* System.Data/System.Data.SqlClient/SqlCommand.cs:
	(CloseReader): don't get the output parameters here.
	(GetOutputParameters): don't skip the stream. The parameters will be
	there.

	* System.Data/System.Data.SqlClient/SqlConnection.cs: don't try to
	execute 'sp_reset_connection'.

	* System.Data/System.Data.SqlClient/SqlDataReader.cs: get the output
	parameters after the end of the results.

svn path=/trunk/mcs/; revision=9534
2002-12-10 18:08:08 +00:00
Dick Porter 21374e28f0 2002-12-10 Dick Porter <[email protected]>
* Monitor.cs:
	* Thread.cs:
	* ThreadPool.cs:
	* Timer.cs:
	* WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
	ms, not Milliseconds.

svn path=/trunk/mcs/; revision=9533
2002-12-10 18:02:55 +00:00
Daniel Morgan 212f3d1ec3 2002-12-10 Daniel Morgan <[email protected]>
* makefile
	* tools/makefile
	* tools/makefile.gnu: change target
	from SqlSharpCli.exe
	to sqlsharp.exe

svn path=/trunk/mcs/; revision=9532
2002-12-10 17:26:24 +00:00
Ville Palo 60d500f43f 2002-12-10 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added new tests
	* System.Xml/region.xml: Changed XmlDocument.

svn path=/trunk/mcs/; revision=9531
2002-12-10 17:19:48 +00:00
Daniel Morgan 24a8b73609 2002-12-10 Daniel Morgan <[email protected]>
* Makefile
	* SqlSharpCli.build: change target
	from SqlSharpCli.exe
	to sqlsharp.exe

	* README: mention how to run SQL#

svn path=/trunk/mcs/; revision=9530
2002-12-10 17:05:42 +00:00
Alp Toker 5e047389dc 2002-12-10 Alp Toker <[email protected]>
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644
        * ilasm/makefile: ditto

svn path=/trunk/mcs/; revision=9529
2002-12-10 16:33:02 +00:00
Alp Toker ac80cad773 2002-12-10 Alp Toker <[email protected]>
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644

svn path=/trunk/mcs/; revision=9528
2002-12-10 16:20:56 +00:00
Dick Porter 385339b14e 2002-12-10 Dick Porter <[email protected]>
* threads.c: WaitHandle fixes from Tum <[email protected]>

svn path=/trunk/mono/; revision=9527
2002-12-10 12:33:46 +00:00
Dick Porter 17948dace8 Don't abort the build if any of the prebuilt assemblies can't be found
svn path=/trunk/mono/; revision=9526
2002-12-10 12:21:41 +00:00
Gaurav Vaish 127cb9906a 2002-09-16 Gaurav Vaish <[email protected]>
* System.Web.UI.Design             : Added directory.

svn path=/trunk/mcs/; revision=9525
2002-12-10 10:04:37 +00:00
Tim Haynes 1064dbd97c Implemented MONO_CFG_DIR environment variable to enable use of different machine.config files
svn path=/trunk/mono/; revision=9524
2002-12-10 09:48:29 +00:00
Gaurav Vaish ea80e51e0e 2002-12-10 Gaurav Vaish <[email protected]>
* AUTHORS: Corrected my email-ID.

svn path=/trunk/mcs/; revision=9516
2002-12-10 04:57:48 +00:00
Ravi Pratap M a949f0ec65 2002-12-09 Ravi Pratap <[email protected]>
* typemanager.cs (AreMultipleAllowed): Take care of the most
	obvious case where attribute type is not in the current assembly -
	stupid me ;-)

svn path=/trunk/mcs/; revision=9515
2002-12-10 04:51:09 +00:00
Dennis Hayes d825bb749c se last entry
svn path=/trunk/mcs/; revision=9514
2002-12-10 03:02:48 +00:00
Dennis Hayes e0fa4d24c4 see last entry
svn path=/trunk/mcs/; revision=9513
2002-12-10 03:02:24 +00:00
Dennis Hayes cb58b2b711 2002-12-9 DennisHayes <[email protected]>
* Form.cs
	* KeysConverter.cs
	* Label.cs
	* LinkArea.cs
	* LinkLabel.cs
	* ListBindingConverter.cs
	* ListBox.cs
	* ListControl.cs
	* ListView.cs
	* ListViewItem.cs
	* ListViewItemConverter.cs
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* NativeWindow.cs
	* NumericUpDown.cs
	* OpacityConverter.cs
	* OSFeature.cs
	* PictureBox.cs
	* PrintControllerWithStatusDialog.cs
	* PrintDialog.cs
	* PrintPreviewControl.cs
	* PropertyManager.cs
	* RadioButton.cs
	* Screen.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* SendKeys.cs
	* SplitterEventArgs.cs
	* StatusBar.cs
	* SystemInformation.cs
	* TextBoxBase.cs
	* ToolBar.cs
	* TrackBar.cs
	* TreeNode.cs
	* TreeNodeCollection.cs
	* TreeNodeConverter.cs
	* TreeView.cs

	* cleanup, fixes, some implmentation

svn path=/trunk/mcs/; revision=9512
2002-12-10 03:01:29 +00:00
Miguel de Icaza 72c08f9073 Flushage
svn path=/trunk/mono/; revision=9511
2002-12-10 01:28:51 +00:00
Miguel de Icaza 11cfcaa8ed Flush
svn path=/trunk/mono/; revision=9510
2002-12-10 01:23:01 +00:00
Miguel de Icaza c41929b248 Flush
svn path=/trunk/mono/; revision=9509
2002-12-10 01:08:00 +00:00
Miguel de Icaza ae86534696 Update web site
svn path=/trunk/mono/; revision=9508
2002-12-09 23:40:34 +00:00
Jaime Anguiano Olarra 230d91760e Updates.
svn path=/trunk/mono/; revision=9503
2002-12-09 22:43:18 +00:00
Miguel de Icaza 8817b5ade4 Flush
svn path=/trunk/mono/; revision=9501
2002-12-09 22:06:54 +00:00
Miguel de Icaza 22eb65b8be update
svn path=/trunk/mono/; revision=9500
2002-12-09 21:49:46 +00:00
Daniel Morgan 1a5e1ba0a5 2002-12-09 Daniel Morgan <[email protected]>
* library.build: add Mono.GetOptions to windows build

	* Mono.GetOptions/Mono.GetOptions.build: add file
	for windows build

svn path=/trunk/mcs/; revision=9499
2002-12-09 21:08:15 +00:00
Jaime Anguiano Olarra f7739f9bf1 For the URL bar.
svn path=/trunk/mono/; revision=9498
2002-12-09 20:39:16 +00:00
Miguel de Icaza 961d3a1514 Update NEWS
svn path=/trunk/mono/; revision=9497
2002-12-09 20:27:13 +00:00
Miguel de Icaza 842499ec02 Update NEWS
svn path=/trunk/mono/; revision=9496
2002-12-09 20:21:30 +00:00
Miguel de Icaza fb4afb54ed Update NEWS
svn path=/trunk/mono/; revision=9495
2002-12-09 20:19:24 +00:00
Miguel de Icaza 7004cfd5d7 update
svn path=/trunk/mono/; revision=9494
2002-12-09 20:08:31 +00:00
Miguel de Icaza 1d8902f810 De-c-sharpicize
svn path=/trunk/mono/; revision=9492
2002-12-09 18:46:51 +00:00
Miguel de Icaza 917887781d Update mono.pc.in
svn path=/trunk/mono/; revision=9491
2002-12-09 18:45:59 +00:00
Gonzalo Paniagua Javier a99224334e 2002-12-09 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: fix buglet when building exe file name.  Handle full
	assembly name (needed after latest changes to AssemblyName).
	* image.c:
	(mono_image_close): free some hashtables.

svn path=/trunk/mono/; revision=9490
2002-12-09 18:36:09 +00:00
Miguel de Icaza c38c598032 Flush
svn path=/trunk/mono/; revision=9489
2002-12-09 18:32:06 +00:00
Miguel de Icaza 981ab84fe7 New release
svn path=/trunk/mono/; revision=9488
2002-12-09 18:22:48 +00:00
Miguel de Icaza edefecba3b Add code for bounds check elimination
svn path=/trunk/mono/; revision=9487
2002-12-09 18:02:02 +00:00
Miguel de Icaza fe731d50f6 Flush
svn path=/trunk/mono/; revision=9485
2002-12-09 18:01:35 +00:00
Miguel de Icaza c65980d98f Flush
svn path=/trunk/mcs/; revision=9485
2002-12-09 18:01:35 +00:00
Miguel de Icaza 0e756f0dc2 Remove the touch from the Makefile
svn path=/trunk/mono/; revision=9484
2002-12-09 17:57:36 +00:00
Ville Palo 61d8042c5d 2002-12-09 Ville Palo <[email protected]>
* DataSet.cs: Little fix to WriteTable () -method
	and DoReadXmlSchema () -method.

svn path=/trunk/mcs/; revision=9483
2002-12-09 15:41:25 +00:00
Nick Drochak cf69ab1329 Add NUnit2 files.
svn path=/trunk/mcs/; revision=9482
2002-12-09 14:45:05 +00:00
Nick Drochak d8a313105c Add Nunit2 files
svn path=/trunk/mcs/; revision=9481
2002-12-09 14:42:20 +00:00
Nick Drochak 8471f6561d Add Nunit2
svn path=/trunk/mcs/; revision=9480
2002-12-09 14:39:22 +00:00
Miguel de Icaza 85d86a6e72 Fix
svn path=/trunk/mcs/; revision=9479
2002-12-09 06:40:49 +00:00
Miguel de Icaza 82206e363c Flush
svn path=/trunk/mono/; revision=9478
2002-12-09 06:01:18 +00:00
Miguel de Icaza 8e5352ea1c Flush
svn path=/trunk/mono/; revision=9477
2002-12-09 05:49:40 +00:00
Miguel de Icaza 5ac95a0f3f Remove old code that compiled SWF.dll
svn path=/trunk/mcs/; revision=9476
2002-12-09 03:54:48 +00:00
Miguel de Icaza 2095b4f9a9 A sample makefile to build this
svn path=/trunk/mcs/; revision=9475
2002-12-09 03:47:56 +00:00
Miguel de Icaza e65177ffda Update makefile with warning
svn path=/trunk/mcs/; revision=9474
2002-12-09 03:46:44 +00:00
Miguel de Icaza 99aaf5ebbc Small placeholder
svn path=/trunk/mcs/; revision=9473
2002-12-09 03:41:14 +00:00
Miguel de Icaza fcf6fc612a Add test
svn path=/trunk/mcs/; revision=9472
2002-12-09 03:40:47 +00:00
Miguel de Icaza 1778549d07 Updated for building
svn path=/trunk/mcs/; revision=9471
2002-12-09 03:39:38 +00:00
Miguel de Icaza fefe0ad995 Revert, this makes things worse
svn path=/trunk/mcs/; revision=9470
2002-12-09 03:32:05 +00:00
Miguel de Icaza d56eac54f5 Build fix
svn path=/trunk/mcs/; revision=9469
2002-12-09 03:29:28 +00:00
Miguel de Icaza 5148ddd413 update
svn path=/trunk/mono/; revision=9468
2002-12-09 03:18:23 +00:00
Miguel de Icaza cd61fde707 Add cvsignore
svn path=/trunk/mcs/; revision=9467
2002-12-09 03:17:20 +00:00
Miguel de Icaza 19dac3cfee Add
svn path=/trunk/mcs/; revision=9466
2002-12-09 03:16:57 +00:00
Miguel de Icaza 116e6d8d2d 2002-12-08 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.DoResolve): First perform lookups on using
	definitions, instead of doing that afterwards.

	Also we use a nice little hack, depending on the constructor, we
	know if we are a "composed" name or a simple name.  Hence, we
	avoid the IndexOf test, and we avoid

	* codegen.cs: Add code to assist in a bug reporter to track down
	the source of a compiler crash.

svn path=/trunk/mcs/; revision=9465
2002-12-09 03:10:33 +00:00
Miguel de Icaza cf5516e90b update readme file, put in toplevel dir
svn path=/trunk/mcs/; revision=9464
2002-12-09 03:01:19 +00:00
Jackson Harper 0af95e9d50 Removed files
svn path=/trunk/mcs/; revision=9463
2002-12-09 02:44:52 +00:00
Jackson Harper 58d0150b57 Removed compiler tests
svn path=/trunk/mcs/; revision=9462
2002-12-09 02:37:39 +00:00
Jackson Harper 89068f865f ChangeLog
svn path=/trunk/mcs/; revision=9461
2002-12-09 02:33:44 +00:00
Jackson Harper 45ea870597 Remove references to soon to be removed Tests
svn path=/trunk/mcs/; revision=9460
2002-12-09 02:32:42 +00:00
Sebastien Pouliot 818439aee2 2002-12-08 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added System.Reflection test suite.
	* corlib_linux_test.args: added System.Reflection test files.

svn path=/trunk/mcs/; revision=9459
2002-12-09 00:18:04 +00:00
Sebastien Pouliot 25d707e7cc 2002-12-08 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for AssemblyName and
	StrongNameKeyPair.
	* AssemblyNameTest.cs: New. Test suite for AssemblyName.
	* StrongNameKeyPairTest.cs: New. Test suite for StrongNameKeyPair.

svn path=/trunk/mcs/; revision=9458
2002-12-09 00:16:12 +00:00
Jonathan Pryor 31414ded0a Almost completely new design.
Instead of having a single type, a TypeDisplayer, responsible for taking in a
System.Type object and spitting out its contents to the screen, we instead
have two policies, finders and formatters, which split up the previous work.

The finders build up an internal tree of nodes for display.

The formatters format each node for output to a display device.

Doing this, I'm hoping to allow a GUI front-end to be created, which would be
impossible to do under the previous arrangement.

See the new file DESIGN for more information.

svn path=/trunk/mcs/; revision=9457
2002-12-08 23:14:33 +00:00
Daniel Morgan 4ce4d96183 2002-12-08 Daniel Morgan <[email protected]>
* list
	* makefile.gnu: added files for linux build

	* System.Data.OracleClient.build: added file
	for windows build

	* .cvsignore: added file for cvs to ignore files

	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient/ociglue.h
	* System.Data.OracleClient/ociglue.c: code clean up
	and	better error handling

svn path=/trunk/mcs/; revision=9456
2002-12-08 23:06:30 +00:00
Gonzalo Paniagua Javier 5f3aa2d0b8 Oops, now I unveiled my secret debugging tricks ;-)
svn path=/trunk/mcs/; revision=9455
2002-12-08 22:17:02 +00:00
Gonzalo Paniagua Javier 62babaf12e 2002-12-08 Gonzalo Paniagua Javier <[email protected]>
* AssemblyName.cs: little fix in FullName.

svn path=/trunk/mcs/; revision=9454
2002-12-08 21:52:24 +00:00
Sebastien Pouliot cec172518b 2002-12-07 Sebastien Pouliot <[email protected]>
* AssemblyName.cs: Added missing methods/interfaces. Fixed some
	code to match the MS Framework.
	* StrongNameKeyPair.cs: Completed the "visible" implementation.
	There must be some internal methods to allow signing with the key.

svn path=/trunk/mcs/; revision=9453
2002-12-08 20:59:17 +00:00
Jackson Harper 964afca1d3 Moved StreamWriter creation into a try block
svn path=/trunk/mcs/; revision=9452
2002-12-08 19:41:45 +00:00
Jackson Harper 383d032602 Source text is now implemented so you can pass strings of C# code to be compiled
svn path=/trunk/mcs/; revision=9451
2002-12-08 19:29:21 +00:00
Radek Doulik bb719876a5 fixed compilation
svn path=/trunk/mcs/; revision=9445
2002-12-08 14:29:27 +00:00
Martin Baulig 09036f0fae 2002-12-08 Martin Baulig <[email protected]>
* handles.c (_wapi_handle_new): Create new non-shared handles with
	an initial refcount of 1, not 0.

svn path=/trunk/mono/; revision=9442
2002-12-08 13:50:17 +00:00
Ravi Pratap M d2ddb6847f 2002-12-07 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.ApplyAttributes) : Keep track of which attribute
	types have been emitted for a given element and flag an error
	if something which does not have AllowMultiple set is used more
	than once.

	* typemanager.cs (RegisterAttributeAllowMultiple): Keep track of
	attribute types and their corresponding AllowMultiple properties

	(AreMultipleAllowed): Check the property for a given type.

	* attribute.cs (Attribute.ApplyAttributes): Register the AllowMultiple
	property in the case we have a TypeContainer.

	(Attributes.AddAttribute): Detect duplicates and just skip on
	adding them. This trivial fix catches a pretty gross error in our
	attribute emission - global attributes were being emitted twice!

	Bugzilla bug #33187 is now fixed.

svn path=/trunk/mcs/; revision=9440
2002-12-08 07:27:54 +00:00
Ravi Pratap M d22c7d62bb 2002-12-07 Ravi Pratap <[email protected]>
* cs0579.cs : Add.

svn path=/trunk/mcs/; revision=9439
2002-12-08 07:23:11 +00:00
Eduardo Garcia Cebollero dd5aa6f429 2002-12-07 Peter Williams <[email protected]>
* Directory.cs: Don't use the uninitialized pathsumm here.
	Don't try and create "" if we're using an absolute path.

svn path=/trunk/mcs/; revision=9438
2002-12-08 04:31:33 +00:00
Jackson Harper 2f54d8339f Fixed typo
svn path=/trunk/mcs/; revision=9436
2002-12-07 22:24:16 +00:00
Miguel de Icaza f021edb9b7 Update
svn path=/trunk/mcs/; revision=9435
2002-12-07 22:18:12 +00:00
Eduardo Garcia Cebollero 60157b421f 2002-12-07 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: Now the creation of a new directory works recursively
	it will make parents as needed.

svn path=/trunk/mcs/; revision=9434
2002-12-07 22:17:18 +00:00
Jackson Harper 35abea5a09 Put CSharpCodeGenerator.cs back in build
svn path=/trunk/mcs/; revision=9433
2002-12-07 22:16:41 +00:00
Jackson Harper 67546b397f Added Cscompmgd to the build
svn path=/trunk/mcs/; revision=9431
2002-12-07 20:38:00 +00:00
Jackson Harper 82326bf814 Added files
svn path=/trunk/mcs/; revision=9430
2002-12-07 20:34:02 +00:00
Jackson Harper 007a1e2db8 Added file
svn path=/trunk/mcs/; revision=9429
2002-12-07 20:31:02 +00:00
Martin Baulig 6f0ce7c4f5 2002-12-07 Martin Baulig <[email protected]>
* Timer.cs: Make it actually work; now it no longer sets your
	application on fire if you use a zero periode and Timer.Change()
	actually works.

svn path=/trunk/mcs/; revision=9426
2002-12-07 19:14:33 +00:00
Jackson Harper 5afedd00eb Moved files
svn path=/trunk/mcs/; revision=9425
2002-12-07 18:57:48 +00:00
Ville Palo a9ce78a4ae Fixed bug reported by Piers Haken
svn path=/trunk/mcs/; revision=9424
2002-12-07 18:57:27 +00:00
Jackson Harper aeb956cd94 Moving these classes to their own assembly
svn path=/trunk/mcs/; revision=9423
2002-12-07 18:52:49 +00:00
Jackson Harper 85e66b7ffc Removed Compiler classes that are being moved to their own assembly
svn path=/trunk/mcs/; revision=9422
2002-12-07 18:49:19 +00:00
Miguel de Icaza f93dbfd76f Update
svn path=/trunk/mcs/; revision=9421
2002-12-07 17:34:17 +00:00
Miguel de Icaza 729f838a52 Update
svn path=/trunk/mcs/; revision=9420
2002-12-07 17:22:45 +00:00
Dennis Hayes 8b221af2ca 2002-12-6 DennisHayes <[email protected]>
* checkin for Alexandre Pigolkine ([email protected])
	* Form.cs
	* Menu.cs
	* MenuItem.cs
	
	* Implmentation

    2002-12-6  DennisHayes <[email protected]>	

	* Control.cs
	* Form.cs
	* MonthCalendar.cs
	* Screen.cs
	* SelectionRange.cs
	* SelectionRangeConverter.cs
	* TabPage.cs
	* TextBox.cs
	* Timer.cs
	* ToolBarButton.cs
	* TrackBar.cs
	* UpDownBase.cs
	* UserControl.cs
	* tooltip.cs

svn path=/trunk/mcs/; revision=9415
2002-12-07 03:15:13 +00:00
Duncan Mak c77b63d3f5 2002-12-06 Duncan Mak <[email protected]>
* UrlAttribute.cs (GetHashCode): Implemented.

	* BaseChannelSinkWithProperties.cs (constructor): Implemented by
	chaining on to the base constructor.

	* BaseChannelObjectWithProperties.cs : Implemented the Count,
	IsFixedSize, IsReadOnly, IsSynchronized, Keys, Properties, SyncRoot,
	Values properties.

	Implemented the Contains and GetEnumerator methods.

	Removed the unnecessary TODO attribute on the constructor, and the Add
	method.


	* Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.

svn path=/trunk/mcs/; revision=9414
2002-12-07 01:43:39 +00:00
Duncan Mak 377cde9806 Add some .cvsignore files.
svn path=/trunk/mcs/; revision=9413
2002-12-07 01:12:10 +00:00
Miguel de Icaza 74179bdc9e 2002-12-06 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (pp_expr): Properly recurse here (use pp_expr
	instead of pp_and).

svn path=/trunk/mcs/; revision=9412
2002-12-07 00:10:16 +00:00
Duncan Mak 405e4c892e 2002-12-06 Duncan Mak <[email protected]>
* makefile.gnu (clean): Remove *.dbg files.

	* Makefile (clean): Remove *.dbg files.

svn path=/trunk/mcs/; revision=9411
2002-12-06 23:53:19 +00:00
Duncan Mak 11c84371af 2002-12-06 Duncan Mak <[email protected]>
* data/Makefile.am (EXTRA_DIST): Add machine.config
	(DISTCLEANFILES): Add config.

svn path=/trunk/mono/; revision=9410
2002-12-06 23:48:20 +00:00
Miguel de Icaza 5f2399e649 2002-12-06 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): I can only use the
	Concat (string, string, string) and Concat (string, string,
	string, string) if the child is actually a concatenation of
	strings.

svn path=/trunk/mcs/; revision=9409
2002-12-06 23:39:37 +00:00
Miguel de Icaza 891f7cbe00 Update
svn path=/trunk/mcs/; revision=9408
2002-12-06 23:34:39 +00:00
Gaurav Vaish 619b396112 2002-12-06 Gaurav Vaish <[email protected]>
* ListControlDataBindingHandler.cs
	                          : Initial implementation.

svn path=/trunk/mcs/; revision=9407
2002-12-06 15:00:59 +00:00
Gaurav Vaish 6410921fe4 2002-12-06 Gaurav Vaish <[email protected]>
* TODOAttribute.cs       : Added file.

svn path=/trunk/mcs/; revision=9406
2002-12-06 14:52:01 +00:00
Gaurav Vaish 97336860b1 2002-10-07 Gaurav Vaish <[email protected]>
* System.Design                    : Added directory.

svn path=/trunk/mcs/; revision=9405
2002-12-06 14:50:30 +00:00
Gaurav Vaish 154d9b1bed 2002-12-06 Gaurav Vaish <[email protected]>
* *.cs                  - Use proper namespace for MonoTODO.

svn path=/trunk/mcs/; revision=9404
2002-12-06 14:47:21 +00:00
Daniel Morgan 0421215931 2002-12-06 Daniel Morgan <[email protected]>
* Mono.Data.PostgreSqlClient/PgSqlCommand.cs: added
	public methods EscapeString() and EscapeByteArray()

	* Mono.Data.PostgreSqlClient/PostgresLibrary.cs: updated
	DllImport functions PQescapeString() and PQescapeBytea()

svn path=/trunk/mcs/; revision=9403
2002-12-06 12:34:22 +00:00
Ville Palo e5897c5f9c 2002-12-06 Ville Palo <[email protected]>
* DataSet.cs: Clean up to reading xmlschema. This looks much better
	now (work better too), but it not working correctly yet.

svn path=/trunk/mcs/; revision=9402
2002-12-06 11:04:48 +00:00
Miguel de Icaza 4bea1529ce web page updates
svn path=/trunk/mono/; revision=9401
2002-12-05 21:04:55 +00:00
Ville Palo 063c428a52 2002-12-05 Ville Palo <[email protected]>
* XmlQualifiedName.cs: Little fix to ToString () -method

svn path=/trunk/mcs/; revision=9400
2002-12-05 20:27:59 +00:00
Miguel de Icaza 38d88c75fb Update the news
svn path=/trunk/mono/; revision=9399
2002-12-05 20:14:29 +00:00
Dietmar Maurer ff42b3d2be 2002-12-05 Dietmar Maurer <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_Abort): we use SIGRTMIN
	instead of SIGUSR1, because SIGUSR1 is used by the pthread implementation
	on some systems (redhat 7.3)

svn path=/trunk/mono/; revision=9398
2002-12-05 17:37:10 +00:00
Gonzalo Paniagua Javier 983823186e 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: avoid sending chunked content for HTTP/1.1.

svn path=/trunk/mcs/; revision=9397
2002-12-05 15:48:26 +00:00
Paolo Molaro 220e1c8131 Use a #define to enable/disable the finalizer thread.
svn path=/trunk/mono/; revision=9396
2002-12-05 15:34:04 +00:00
Paolo Molaro 47ba6ec1fe Thu Dec 5 16:13:40 CET 2002 Paolo Molaro <[email protected]>
* threads.c: delete the critical section of a sync block,
	spotted and fixed by [email protected] (Thong (Tum) Nguyen).

svn path=/trunk/mono/; revision=9395
2002-12-05 15:16:06 +00:00
Daniel Morgan c581052e25 2002-12-05 Daniel Morgan <[email protected]>
* System.Data.OracleClient
	* System.Data.OracleClient/System.Data.OracleClient
	  added directory to mcs/class for the Oracle 8i
	  data provider

	* System.Data.OracleClient/OciGlue.cs
	* System.Data.OracleClient/OracleConnection.cs
	* System.Data.OracleClient/OracleCommand.cs: added
	files for the System.Data.OracleClient.dll assembly

	* System.Data.OracleClient/ociglue.c
	* System.Data.OracleClient/ociglue.h: added
	files for thte System.Data.OracleClient.gluelib.dll
	unmanaged c shared library

	* System.Data.OracleClient/TestOracleClient.cs: test
	the OracleClient data provider for Oracle 8i database

	* ChangeLog: added file

	* README.TXT: added file

	* System.Data.OracleClient/OciGlueLib_MSVC_win32.make:
	added makefile for ociglue shared lib on Win32 platform
	and compiler Visual C++ 7.0

	* System.Data.OracleClient/OciGlueLib_BCC_win32.make:
	added makefile for ociglue shared lib on Win32 platform
	and compiler Borland C++ 5.5

	* MonoOracleClient.csproj
	* MonoOracleClient.csproj.usr
	* MonoOracleClient.sln
	* MonoOracleClient.suo: added Visual Studio 1.0
	project files to build the
	assembly System.Data.OracleClient.dll

svn path=/trunk/mcs/; revision=9394
2002-12-05 13:31:05 +00:00
Paolo Molaro 3c9d52ea31 Thu Dec 5 12:52:52 CET 2002 Paolo Molaro <[email protected]>
* pedump.c, cil-coff.h, monosn.c: add strong name cli header flag.

svn path=/trunk/mono/; revision=9393
2002-12-05 11:58:24 +00:00
Gonzalo Paniagua Javier 2bf3fa058e 2002-12-05 Gonzalo Paniagua Javier <[email protected]>
* appdomain.[ch]: handle the assembly preload event to try loading the
	assemblies using the paths we have in the current domain.

	* assembly.[ch]: created an assembly preload hook that is called to try
	loading the assembly by other means that the ones provided here.

	* domain.c: initialize the domain search path.

	From now on, assemblies (TODO: except corlib and System) are loaded
	according to these rules when using mono_assembly_load ():

		1. It tries to load the assembly from the ApplicationBase
		of the current domain appending .dll and .exe (TODO: have to
		try loading from name/name.dll and name/name.exe).

		2. It tries the search path specified in PrivateBinPath for the
		current domain (if any).

		3. Previous behavior.

svn path=/trunk/mono/; revision=9391
2002-12-05 04:01:10 +00:00
Alejandro Sánchez Acosta 8da262249e Added System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=9389
2002-12-05 01:22:43 +00:00
Alejandro Sánchez Acosta 3f232f1a25 Added some files to System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=9388
2002-12-05 01:22:00 +00:00
Miguel de Icaza 239a93898a Small fix: 2002-12-04 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Small fix, because decimal_digits is used in a
	context where we need a 2-character lookahead.

svn path=/trunk/mcs/; revision=9387
2002-12-05 00:55:04 +00:00
Alejandro Sánchez Acosta 6191eaa6f6 list.unix updated
svn path=/trunk/mcs/; revision=9386
2002-12-05 00:49:46 +00:00
Alejandro Sánchez Acosta 73bd74f429 Added new files to System.ComponentModel.Design
svn path=/trunk/mcs/; revision=9385
2002-12-05 00:48:37 +00:00
Miguel de Icaza a8dcefd2cc Flush
svn path=/trunk/mono/; revision=9384
2002-12-04 23:23:49 +00:00
Miguel de Icaza ecf36aed6d 2002-12-04 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation): Rework so we can keep track
	of interface types all the time, and flag those which were
	implemented by parents as optional.

2002-12-03  Miguel de Icaza  <[email protected]>

	* expression.cs (Binary.ResolveOperator): Use
	String.Concat(string,string,string) or
	String.Concat(string,string,string,string) when possible.

	* typemanager: More helper methods.

svn path=/trunk/mcs/; revision=9383
2002-12-04 21:07:02 +00:00
Atsushi Eno f6ab400919 2002-12-04 Tim Haynes <[email protected]>
* class/System.XML/System.Xml/XmlElement.cs: Made more refined
        checks on attributeNode to fix 32262.

svn path=/trunk/mcs/; revision=9382
2002-12-04 18:58:48 +00:00
Ville Palo b3d77665ad 2002-12-04 Ville Palo <[email protected]>
* DataRow.cs:
	* DataRowCollection.cs: Added some event handlins stuff.
	* DataSet.cs: Some fixes.
	* DataTable.cs: Added event handlers.

svn path=/trunk/mcs/; revision=9381
2002-12-04 18:54:18 +00:00
Ville Palo 6af8eb114e 2002-12-04 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Now this works in both ways,
	DataSet <--> XmlDataDocument.cs at some level at least.

svn path=/trunk/mcs/; revision=9380
2002-12-04 18:40:45 +00:00
Gonzalo Paniagua Javier 632fb93883 2002-12-04 Gonzalo Paniagua Javier <[email protected]>
* TypeBuilder.cs: implemented GetInterfaceMap () when the Type has been
	created.

svn path=/trunk/mcs/; revision=9379
2002-12-04 16:13:24 +00:00
Paolo Molaro 2717a00d3e Wed Dec 4 16:04:28 CET 2002 Paolo Molaro <[email protected]>
* Type.cs: implemented GetInterfaceMap (needs an updated runtime).

svn path=/trunk/mcs/; revision=9378
2002-12-04 15:07:37 +00:00
Paolo Molaro b6e1230501 Wed Dec 4 16:02:25 CET 2002 Paolo Molaro <[email protected]>
* icall.c: implemented GetInterfaceMap() related icall.
	* domain.c, loader.h: load MethodInfo in mono_defaults.

svn path=/trunk/mono/; revision=9377
2002-12-04 15:04:56 +00:00
Paolo Molaro 3771c7ea29 Wed Dec 4 11:02:30 CET 2002 Paolo Molaro <[email protected]>
* gc.c: disable the finalizer thread for now, untill all the issues
	with it are resolved.

svn path=/trunk/mono/; revision=9376
2002-12-04 10:04:40 +00:00
Paolo Molaro 47c7f5aac7 Wed Dec 4 10:44:01 CET 2002 Paolo Molaro <[email protected]>
* string-icalls.c: handle embedded nulls in string ctor when the
	length is specified.

svn path=/trunk/mono/; revision=9375
2002-12-04 09:46:14 +00:00
Dennis Hayes bf7fdf0e50 switched to unix style line terminators
svn path=/trunk/mcs/; revision=9374
2002-12-04 01:35:42 +00:00
Dennis Hayes 540e65ab74 2002-12-3 DennisHayes <[email protected]>
* 140 files changed. replaced throw notimplmenteds with FIXME:s, removed dead code,
	* corrected attributes, minor implmentations

svn path=/trunk/mcs/; revision=9373
2002-12-04 01:32:42 +00:00
Paolo Molaro 37666a68c9 Tue Dec 3 19:32:04 CET 2002 Paolo Molaro <[email protected]>
* pending.cs: remove the bogus return from GetMissingInterfaces()
	(see the 2002-11-06 entry: the mono runtime is now fixed in cvs).

svn path=/trunk/mcs/; revision=9371
2002-12-03 18:34:56 +00:00
Paolo Molaro 8e32eda3ff Tue Dec 3 19:29:20 CET 2002 Paolo Molaro <[email protected]>
* class.c: look for explicit interface implementation in parent
	classes, too.

svn path=/trunk/mono/; revision=9370
2002-12-03 18:31:24 +00:00
Jaime Anguiano Olarra ef029ba358 With these new tests (73-79) we have completed the tests from CS0001 to
CS0100 for the compiler.

svn path=/trunk/mcs/; revision=9369
2002-12-03 17:33:10 +00:00
Jaime Anguiano Olarra c4885b2537 Test for C# Compiler ErrorCS0072. An event can only override another event.
svn path=/trunk/mcs/; revision=9368
2002-12-03 16:38:37 +00:00
César Natarén 835baa2b0f mcs/class: Added assembly directory System.ServiceProcess
svn path=/trunk/mcs/; revision=9367
2002-12-03 16:27:49 +00:00
Jaime Anguiano Olarra 1e0036634e Test for C# Compiler Error CS0071. NOTE: Very strange behavior. See later
Bugzilla report.

svn path=/trunk/mcs/; revision=9366
2002-12-03 14:47:45 +00:00
Dietmar Maurer 988d84bbc4 2002-12-03 Dietmar Maurer <[email protected]>
* gc.c (run_finalize): dont run the finalizer (strange behaviour on rh7.3)

svn path=/trunk/mono/; revision=9365
2002-12-03 12:36:49 +00:00
Paolo Molaro 4557c7c01b Tue Dec 3 12:40:06 CET 2002 Paolo Molaro <[email protected]>
* gc.c: protect handles with a critical section.

svn path=/trunk/mono/; revision=9364
2002-12-03 11:42:09 +00:00
César Natarén 9155f1f268 Added files: PowerBroadcastStatus.cs, ServiceAccount.cs,
ServiceControllerPermissionAccess.cs, ServiceControllerStatus.cs,
ServiceStartMode.cs and ServiceType.cs. All of them are enum
implementations.

svn path=/trunk/mcs/; revision=9363
2002-12-03 06:56:55 +00:00
Gonzalo Paniagua Javier 0e4acd2a0d 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: use Object.Equals (obj, obj) to compare objects to avoid
	nulls. Fixes #34909.

svn path=/trunk/mcs/; revision=9362
2002-12-03 05:52:26 +00:00
Gonzalo Paniagua Javier b7a4b70432 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: DoAssemblyResolve now returns when one of the handlers
	returns a non-null assembly.

svn path=/trunk/mcs/; revision=9361
2002-12-03 00:07:10 +00:00
Gonzalo Paniagua Javier 5221969c9f 2002-12-03 Gonzalo Paniagua Javier <[email protected]>
* MulticastDelegate.cs: make GetInvocationList work for more than 1
	delegate.

svn path=/trunk/mcs/; revision=9360
2002-12-02 23:58:56 +00:00
Gonzalo Paniagua Javier 6b2f09cf8b 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: get the events from the application class,
	fire Application/Session Start/End and add the others as application
	events.

svn path=/trunk/mcs/; revision=9359
2002-12-02 21:39:46 +00:00
Gonzalo Paniagua Javier 8b513e2de8 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* MulticastDelegate.cs: implemented GetInvocationList. I'll check later
	if this is the correct order of invocation.

svn path=/trunk/mcs/; revision=9358
2002-12-02 21:26:11 +00:00
Gonzalo Paniagua Javier cf549ea578 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* EventInfo.cs: implemented (Add|Remove)EventHandler.

svn path=/trunk/mcs/; revision=9357
2002-12-02 20:47:54 +00:00
Jaime Anguiano Olarra 9cc2aa6688 Test for C# Compiler Error CS0069. Interface events can't have add or remove accessors.
svn path=/trunk/mcs/; revision=9356
2002-12-02 17:58:36 +00:00
Atsushi Eno 8e0ac9abb4 2002-12-03 Atsushi Enomoto <[email protected]>
* XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
	* XmlTextWriter.cs (WriteStartElementInternal):
	  fixed when default namespace was specified, all descendants
	  fail to omit the default namespace declarations.
	* XmlAttribute.cs,
	  XmlDocument.cs,
	  XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
	* XmlAttribute.cs,
	  XmlDocumentFragment.cs,
	  XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
	* XmlElement.cs (set_IsEmpty) : implemented
	  (WriteTo) : removed my improper indenting (Writer already done)
	* XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
	  (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
	...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)

svn path=/trunk/mcs/; revision=9355
2002-12-02 17:57:45 +00:00
Jaime Anguiano Olarra a101535df4 Test for C# Compiler Error CS0068. Events can't have initializers inside interfaces.
svn path=/trunk/mcs/; revision=9354
2002-12-02 17:43:03 +00:00
Ville Palo 4a5b2db435 2002-12-02 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs : some fixes and some imlemented
	methods.

svn path=/trunk/mcs/; revision=9353
2002-12-02 17:31:07 +00:00
Jaime Anguiano Olarra 54151eb439 Test for C# Compiler Error CS0067. Event never used.
svn path=/trunk/mcs/; revision=9352
2002-12-02 17:25:27 +00:00
Jaime Anguiano Olarra 7b611a71ba Test for C# Compiler Error CS0061. Inconsistent accessibility. Base interface less accessible than interface.
svn path=/trunk/mcs/; revision=9351
2002-12-02 17:18:14 +00:00
Jaime Anguiano Olarra 283bc9387a Test for C# Compiler ErrorCS0059. Inconsisten accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9350
2002-12-02 17:06:22 +00:00
Dietmar Maurer f0660558d3 2002-12-02 Dietmar Maurer <[email protected]>
* jit.c (mono_analyze_stack): added some additinal checks to verify IL code

svn path=/trunk/mono/; revision=9349
2002-12-02 16:15:33 +00:00
Dick Porter 3530e50251 Don't assume that jay is on the path
svn path=/trunk/mcs/; revision=9348
2002-12-02 16:01:33 +00:00
Gonzalo Paniagua Javier 9051dae43e fixed System.Configuration.Install and readded to the build
svn path=/trunk/mcs/; revision=9347
2002-12-02 15:59:32 +00:00
Gonzalo Paniagua Javier 11d23e0d3e Fixes the build on windows. Someone should check if this is correct.
svn path=/trunk/mcs/; revision=9346
2002-12-02 15:40:19 +00:00
Gonzalo Paniagua Javier 2803cc455a Removed System.Configuration.Install from the build. It does not build.
svn path=/trunk/mcs/; revision=9345
2002-12-02 15:31:59 +00:00
Dietmar Maurer ad589ee02e 2002-12-02 root <[email protected]>
* x86.brg (stmt): POP floating point stack correctly

svn path=/trunk/mono/; revision=9344
2002-12-02 15:29:13 +00:00
Tim Coleman 55236e408f 2002-12-02 Tim Coleman <[email protected]>
* Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
		Really remove this file.

svn path=/trunk/mcs/; revision=9343
2002-12-02 14:41:13 +00:00
Jaime Anguiano Olarra e07434fb04 Added error line.
svn path=/trunk/mcs/; revision=9342
2002-12-02 09:33:36 +00:00
Jaime Anguiano Olarra a8fbe46a6b Test for C# Compiler Error CS0058. Incompatible accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9341
2002-12-02 09:32:45 +00:00
Jaime Anguiano Olarra 530c86572d Test for C# Compiler Error CS0057. Inconsistent compatibility. Parameter type less accessible than operator.
svn path=/trunk/mcs/; revision=9340
2002-12-02 09:31:21 +00:00
Jaime Anguiano Olarra 0de8e9c6a2 Test for C# Compiler Error CS0056. Inconsistent accessibility. Operator return type less accessible than operator.
svn path=/trunk/mcs/; revision=9339
2002-12-02 09:29:05 +00:00
Jaime Anguiano Olarra d6968462ea Test for C# Compiler Error CS0055. Inconsistent accessibility. Parameter type less accessible than indexer.
svn path=/trunk/mcs/; revision=9338
2002-12-02 09:27:26 +00:00
Gonzalo Paniagua Javier cf0db18649 frees memory if it cannot load the specified assembly
svn path=/trunk/mono/; revision=9336
2002-12-02 03:26:58 +00:00
Gonzalo Paniagua Javier cf7d834983 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: changed the signature of internal_from_name. Modified
	the overloads of GetType to use it and check the typeName argument.
	Implemented FindInterfaces.

svn path=/trunk/mcs/; revision=9335
2002-12-02 03:02:23 +00:00
Gonzalo Paniagua Javier b9dbecf5b6 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_type_from_name): it now has throwOnError and ignoreCase
	parameters. If no assembly specified, try getting the type from all
	the assemblies in the current domain, else, load the assembly and get
	the type from it.

svn path=/trunk/mono/; revision=9334
2002-12-02 03:02:09 +00:00
Gonzalo Paniagua Javier 2f5811abf4 2002-12-02 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: avoid duplicated 'using xxx' being added to
	using_clauses. This prevents mcs from issuing and 'ambiguous type' error
	when we get more than one 'using' statement for the same namespace.
	Report a CS0105 warning for it.

svn path=/trunk/mcs/; revision=9333
2002-12-02 02:49:17 +00:00
Dennis Hayes 8b60e685e5 removed extra using ms.win32
svn path=/trunk/mcs/; revision=9332
2002-12-02 02:47:15 +00:00
Dennis Hayes ea635e3bc3 test form with all but one control
svn path=/trunk/mcs/; revision=9331
2002-12-02 02:24:37 +00:00
Dennis Hayes ccc8fa5498 See last log message
svn path=/trunk/mcs/; revision=9330
2002-12-02 02:06:41 +00:00
Dennis Hayes 7fa8f4b49a 2002-11-28 DennisHayes <[email protected]>
* AccessibleObject.cs
	* Application.cs
	* ApplicationContext.cs
	* AxHost.cs
	* Binding.cs
	* BindingContext.cs
	* Button.cs
	* CheckBox.cs
	* CheckedListBox.cs
	* Clipboard.cs
	* ColorDialog.cs
	* ColumnHeader.cs
	* ComboBox.cs
	* CommonDialog.cs
	* ContainerControl.cs
	* ContextMenu.cs
	* Control.cs
	* ControlBindingsCollection.cs
	* ControlPaint.cs
	* CreateParams.cs
	* CurrencyManager.cs
	* Cursor.cs
	* CursorConverter.cs
	* Cursors.cs
	* DataFormats.cs
	* DataGrid.cs
	* DataGridTableStyle.cs
	* DataGridTextBox.cs
	* DataGridTextBoxColumn.cs
	* DataObject.cs
	* ErrorProvider.cs
	* Form.cs

	* removed some throw notimplmented ecexptions
	* Some small implmentaions
	* some dead code removal

svn path=/trunk/mcs/; revision=9329
2002-12-02 02:06:11 +00:00
Dennis Hayes d3ad720458 added SWFTest to sln
svn path=/trunk/mcs/; revision=9328
2002-12-02 01:49:09 +00:00
Tim Coleman 03c6f5334b 2002-12-01 Tim Coleman <[email protected]>
* ChangeLog: Fix a typo.

svn path=/trunk/mcs/; revision=9327
2002-12-02 01:39:19 +00:00
Tim Coleman 20716a48c7 2002-12-01 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs:
		Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
		shift.

svn path=/trunk/mcs/; revision=9326
2002-12-02 01:38:32 +00:00
Tim Coleman caab4e6455 2002-12-01 Tim Coleman <[email protected]>
* Mono.Data.TdsClient/TdsDataReader.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9325
2002-12-02 01:37:12 +00:00
Alejandro Sánchez Acosta fc8cfc0e64 Added new tests.
svn path=/trunk/mcs/; revision=9324
2002-12-01 23:57:15 +00:00
Alejandro Sánchez Acosta ebe6e144bc New mcs errors tests.
svn path=/trunk/mcs/; revision=9323
2002-12-01 21:06:41 +00:00
Tim Coleman ca9d51c80a 2002-12-01 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseDataAdapter.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9322
2002-12-01 19:08:51 +00:00
Tim Coleman 9bae41851d 2002-12-01 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlDataAdapter.cs:
                Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
                shift.

svn path=/trunk/mcs/; revision=9321
2002-12-01 19:07:37 +00:00
Tim Coleman 08e4711f00 2002-12-01 Tim Coleman <[email protected]>
* list:
                Remove more unnecessary files.
        * Mono.Data.Tds.Protocol/TdsDataRow.cs:
        * Mono.Data.Tds.Protocol/TdsDataColumn.cs:
        * Mono.Data.Tds.Protocol/TdsDataColumnCollection.cs:
                New classes
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketControlResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketOutputParam.cs:
        * Mono.Data.Tds.Protocol/TdsPacketResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRowResult.cs:
        * Mono.Data.Tds.Protocol/TdsSchemaInfo.cs:
                Remove obsolete classes
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds42.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
                Change Schema and ColumnValues

svn path=/trunk/mcs/; revision=9320
2002-12-01 19:05:14 +00:00
Jaime Anguiano Olarra fd0b282502 Test for C# Compiler. Incompatible accessibility. Indexer return type less accessible than indexer.
svn path=/trunk/mcs/; revision=9319
2002-12-01 18:58:10 +00:00
Jaime Anguiano Olarra 463d02f06e Test for C# Compiler Error CS0053. Property return type less accessible than property.
svn path=/trunk/mcs/; revision=9318
2002-12-01 18:43:34 +00:00
Jaime Anguiano Olarra 6077aeb835 Added more info.
svn path=/trunk/mcs/; revision=9317
2002-12-01 18:37:36 +00:00
Jaime Anguiano Olarra 65e0aaa006 Test for C# Compiler error CS0052. Field type is less accessible than field.
svn path=/trunk/mcs/; revision=9316
2002-12-01 18:34:30 +00:00
Alejandro Sánchez Acosta 4cfe5cd112 System.Configuration.Install changed.
svn path=/trunk/mcs/; revision=9315
2002-12-01 15:46:43 +00:00
Alejandro Sánchez Acosta da45d14127 Added files to System.Configuration.Install
svn path=/trunk/mcs/; revision=9314
2002-12-01 15:46:09 +00:00
Jaime Anguiano Olarra d5f0e1a8a4 Test for the Error CS0050. Incompatible accessibility. Return type less accessible than method.
svn path=/trunk/mcs/; revision=9313
2002-12-01 13:22:43 +00:00
Jaime Anguiano Olarra 90749b9b58 Sorry I forgot the Line: 10
svn path=/trunk/mcs/; revision=9312
2002-12-01 13:14:47 +00:00
Jaime Anguiano Olarra b6cc22a090 Test for C# Compiler error CS0036. Attribute [In] can't accompany an out parameter.
svn path=/trunk/mcs/; revision=9311
2002-12-01 13:06:28 +00:00
Ville Palo 7f2266911e 2002-12-01 Ville Palo <[email protected]>
* list: Added XmlDataDocument.cs
	* System.Xml/XmlDataDocument.cs: more implementation.

svn path=/trunk/mcs/; revision=9310
2002-12-01 08:41:09 +00:00
Ville Palo fb50c1dc2a System.Data/AcceptRejectRule.cs
System.Data/CommandBehavior.cs
System.Data/CommandType.cs
System.Data/ConnectionState.cs
System.Data/Constraint.cs
System.Data/ConstraintCollection.cs
System.Data/ConstraintException.cs
System.Data/DataCategoryAttribute.cs
System.Data/DataColumn.cs
System.Data/DataColumnChangeEventArgs.cs
System.Data/DataColumnChangeEventHandler.cs
System.Data/DataColumnCollection.cs
System.Data/DataColumnPropertyDescriptor.cs
System.Data/DataException.cs
System.Data/DataRelation.cs
System.Data/DataRelationCollection.cs
System.Data/DataRow.cs
System.Data/DataRowAction.cs
System.Data/DataRowBuilder.cs
System.Data/DataRowChangeEventArgs.cs
System.Data/DataRowChangeEventHandler.cs
System.Data/DataRowCollection.cs
System.Data/DataRowState.cs
System.Data/DataRowVersion.cs
System.Data/DataRowView.cs
System.Data/DataSet.cs
System.Data/DataSysDescriptionAttribute.cs
System.Data/DataTable.cs
System.Data/DataTableCollection.cs
System.Data/DataView.cs
System.Data/DataViewManager.cs
System.Data/DataViewRowState.cs
System.Data/DataViewSetting.cs
System.Data/DataViewSettingCollection.cs
System.Data/DBConcurrencyException.cs
System.Data/DbType.cs
System.Data/DeletedRowInaccessibleException.cs
System.Data/DuplicateNameException.cs
System.Data/EvaluateException.cs
System.Data/FillErrorEventArgs.cs
System.Data/FillErrorEventHandler.cs
System.Data/ForeignKeyConstraint.cs
System.Data/IColumnMapping.cs
System.Data/IColumnMappingCollection.cs
System.Data/IDataAdapter.cs
System.Data/IDataParameter.cs
System.Data/IDataParameterCollection.cs
System.Data/IDataReader.cs
System.Data/IDataRecord.cs
System.Data/IDbCommand.cs
System.Data/IDbConnection.cs
System.Data/IDbDataAdapter.cs
System.Data/IDbDataParameter.cs
System.Data/IDbTransaction.cs
System.Data/InRowChangingEventException.cs
System.Data/InternalDataCollectionBase.cs
System.Data/InvalidConstraintException.cs
System.Data/InvalidExpressionException.cs
System.Data/IsolationLevel.cs
System.Data/ITableMapping.cs
System.Data/ITableMappingCollection.cs
System.Data/Locale.cs
System.Data/MappingType.cs
System.Data/MergeFailedEventArgs.cs
System.Data/MergeFailedEventHandler.cs
System.Data/MissingMappingAction.cs
System.Data/MissingPrimaryKeyException.cs
System.Data/MissingSchemaAction.cs
System.Data/NoNullAllowedException.cs
System.Data/ParameterDirection.cs
System.Data/PropertyAttributes.cs
System.Data/PropertyCollection.cs
System.Data/ReadOnlyException.cs
System.Data/ResDescriptionAttribute.cs
System.Data/RowNotInTableException.cs
System.Data/Rule.cs
System.Data/SchemaType.cs
System.Data/SqlDbType.cs
System.Data/StateChangeEventArgs.cs
System.Data/StateChangeEventHandler.cs
System.Data/StatementType.cs
System.Data/StrongTypingException.cs
System.Data/SyntaxErrorException.cs
System.Data/TODOAttribute.cs
System.Data/TypeDataSetGeneratorException.cs
System.Data/UniqueConstraint.cs
System.Data/UpdateRowSource.cs
System.Data/UpdateStatus.cs
System.Data/VersionNotFoundException.cs
System.Data/XmlReadMode.cs
System.Data/XmlWriteMode.cs
System.Data/XmlConstants.cs
System.Data.Common/DataAdapter.cs
System.Data.Common/DataColumnMapping.cs
System.Data.Common/DataColumnMappingCollection.cs
System.Data.Common/DataTableMapping.cs
System.Data.Common/DataTableMappingCollection.cs
System.Data.Common/DbDataAdapter.cs
System.Data.Common/DbDataPermission.cs
System.Data.Common/DbDataPermissionAttribute.cs
System.Data.Common/DbDataRecord.cs
System.Data.Common/DbEnumerator.cs
System.Data.Common/FieldNameLookup.cs
System.Data.Common/RowUpdatedEventArgs.cs
System.Data.Common/RowUpdatingEventArgs.cs
System.Data.Common/SchemaInfo.cs
System.Data.OleDb/libgda.cs
System.Data.OleDb/OleDbCommand.cs
System.Data.OleDb/OleDbCommandBuilder.cs
System.Data.OleDb/OleDbConnection.cs
System.Data.OleDb/OleDbDataAdapter.cs
System.Data.OleDb/OleDbDataReader.cs
System.Data.OleDb/OleDbError.cs
System.Data.OleDb/OleDbErrorCollection.cs
System.Data.OleDb/OleDbException.cs
System.Data.OleDb/OleDbInfoMessageEventArgs.cs
System.Data.OleDb/OleDbInfoMessageEventHandler.cs
System.Data.OleDb/OleDbLiteral.cs
System.Data.OleDb/OleDbParameter.cs
System.Data.OleDb/OleDbParameterCollection.cs
System.Data.OleDb/OleDbPermission.cs
System.Data.OleDb/OleDbPermissionAttribute.cs
System.Data.OleDb/OleDbRowUpdatedEventArgs.cs
System.Data.OleDb/OleDbRowUpdatedEventHandler.cs
System.Data.OleDb/OleDbRowUpdatingEventArgs.cs
System.Data.OleDb/OleDbRowUpdatingEventHandler.cs
System.Data.OleDb/OleDbSchemaGuid.cs
System.Data.OleDb/OleDbTransaction.cs
System.Data.OleDb/OleDbType.cs
System.Data.SqlTypes/INullable.cs
System.Data.SqlTypes/SqlBinary.cs
System.Data.SqlTypes/SqlBoolean.cs
System.Data.SqlTypes/SqlByte.cs
System.Data.SqlTypes/SqlCompareOptions.cs
System.Data.SqlTypes/SqlDateTime.cs
System.Data.SqlTypes/SqlDecimal.cs
System.Data.SqlTypes/SqlDouble.cs
System.Data.SqlTypes/SqlGuid.cs
System.Data.SqlTypes/SqlInt16.cs
System.Data.SqlTypes/SqlInt32.cs
System.Data.SqlTypes/SqlInt64.cs
System.Data.SqlTypes/SqlMoney.cs
System.Data.SqlTypes/SqlNullValueException.cs
System.Data.SqlTypes/SqlSingle.cs
System.Data.SqlTypes/SqlString.cs
System.Data.SqlTypes/SqlTruncateException.cs
System.Data.SqlTypes/SqlTypeException.cs
System.Data.Odbc/OdbcColumn.cs
System.Data.Odbc/OdbcCommand.cs
System.Data.Odbc/OdbcConnection.cs
System.Data.Odbc/OdbcDataReader.cs
System.Data.Odbc/OdbcError.cs
System.Data.Odbc/OdbcErrorCollection.cs
System.Data.Odbc/OdbcException.cs
System.Data.Odbc/OdbcParameter.cs
System.Data.Odbc/OdbcParameterCollection.cs
System.Data.Odbc/OdbcTransaction.cs
System.Data.Odbc/OdbcType.cs
System.Data.Odbc/libodbc.cs
System.Data.Odbc/OdbcDataAdapter.cs
System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
System.Data.Odbc/OdbcRowUpdatingEventHandler.cs
System.Data.SqlClient/SqlClientPermission.cs
System.Data.SqlClient/SqlClientPermissionAttribute.cs
System.Data.SqlClient/SqlCommand.cs
System.Data.SqlClient/SqlCommandBuilder.cs
System.Data.SqlClient/SqlConnection.cs
System.Data.SqlClient/SqlConnectionPool.cs
System.Data.SqlClient/SqlDataAdapter.cs
System.Data.SqlClient/SqlDataReader.cs
System.Data.SqlClient/SqlError.cs
System.Data.SqlClient/SqlErrorCollection.cs
System.Data.SqlClient/SqlException.cs
System.Data.SqlClient/SqlInfoMessageEventArgs.cs
System.Data.SqlClient/SqlInfoMessageEventHandler.cs
System.Data.SqlClient/SqlParameter.cs
System.Data.SqlClient/SqlParameterCollection.cs
System.Data.SqlClient/SqlParameterConverter.cs
System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
System.Data.SqlClient/SqlTransaction.cs
System.Data.SqlClient/SqlXmlTextReader.cs
System.Xml/XmlDataDocument.cs

svn path=/trunk/mcs/; revision=9309
2002-12-01 08:37:59 +00:00
Jackson Harper 37ab1524ac Removed TODO attribute from abstract members
svn path=/trunk/mcs/; revision=9308
2002-12-01 08:10:48 +00:00
Gonzalo Paniagua Javier 6b9193663b 2002-12-01 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: fixed constructor. Thanks to marcusU for reporting.

svn path=/trunk/mcs/; revision=9307
2002-12-01 07:57:32 +00:00
Jackson Harper c57f10190e Added stub
svn path=/trunk/mcs/; revision=9306
2002-12-01 07:01:58 +00:00
Tim Coleman 3bb0ba83e3 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
	* Mono.Data.Tds.Protocol/TdsMessage.cs:
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
	* Mono.Data.Tds.Protocol/TdsPacketRetStatResult.cs:
		Remove these classes as they are unused.

svn path=/trunk/mcs/; revision=9305
2002-12-01 05:23:57 +00:00
Tim Coleman c2ec4d78b2 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
	* Mono.Data.Tds.Protocol/TdsMessage.cs:
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
		Remove these classes as they are unused.

svn path=/trunk/mcs/; revision=9304
2002-12-01 05:04:26 +00:00
Tim Coleman 69b55fb617 2002-11-30 Tim Coleman <[email protected]>
* list:
		Remove unnecessary files.
	* Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
		Remove this class as it is unused.

svn path=/trunk/mcs/; revision=9303
2002-12-01 04:57:59 +00:00
Alejandro Sánchez Acosta 801cb433f1 Added new files to System.Drawing.Design
svn path=/trunk/mcs/; revision=9302
2002-12-01 01:18:29 +00:00
Dennis Hayes 5d310366ad see last checkin
svn path=/trunk/mcs/; revision=9298
2002-11-30 23:20:13 +00:00
Dennis Hayes d84bb509ac 2002-11-28 DennisHayes <[email protected]>
* In visual studio, I added a SWFTest project to the SWF solution.
	* Using Microsoft's swf.dll, I added one of each possible stock controls to the form.
	* I closed the form (swf design stuff i svery incomplete).
	* I Removed the reference to MS's swf.dll, and added a reference to the SWF project.
	* The result compiles, runs, and can be closed, without crashing in windows.
	* PrintPreviewDialog is the only item (other than crystal reports) on the 
	* standard toolbar that is not included.
	* When run, a standard window comes up, not a dialog/form type window.
	* The form is as small as possible, just a caption bar of minimum width
	* with control bax and min/max box. It can be resized to any size fine.
	* no controls are actualy displayed. they may be of zero size, or it 
	* may be due to the window not being a dialog box, or it may be anything.
	
	* ApplicationContext.cs
	* Button.cs
	* ChangeLog
	* CheckBox.cs
	* CheckedListBox.cs
	* ColorDialog.cs
	* ComboBox.cs
	* ContainerControl.cs
	* Control.cs
	* DataGrid.cs
	* DateTimePicker.cs
	* DomainUpDown.cs
	* ErrorProvider.cs
	* FileDialog.cs
	* FontDialog.cs
	* Form.cs
	* GroupBox.cs
	* HelpProvider.cs
	* HScrollBar.cs
	* ImageList.cs
	* Label.cs
	* LinkLabel.cs
	* ListBox.cs
	* ListControl.cs
	* ListView.cs
	* logfile.txt
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* NativeWindow.cs
	* NotifyIcon.cs
	* NumericUpDown.cs
	* OpenFileDialog.cs
	* PageSetupDialog.cs
	* Panel.cs
	* PictureBox.cs
	* PrintDialog.cs
	* PrintPreviewControl.cs
	* PrintPreviewDialog.cs
	* ProgressBar.cs
	* RadioButton.cs
	* RichTextBox.cs
	* SaveFileDialog.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* Splitter.cs
	* StatusBar.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* TabControl.cs
	* TextBox.cs
	* TextBoxBase.cs
	* Timer.cs
	* ToolBar.cs
	* ToolBarButton.cs
	* tooltip.cs
	* TrackBar.cs
	* TreeNode.cs
	* TreeNodeCollection.cs
	* TreeView.cs
	* UpDownBase.cs
	* UserControl.cs
	* VScrollBar.cs
	* win32Enums.cs
	* win32functions.cs

svn path=/trunk/mcs/; revision=9297
2002-11-30 23:17:45 +00:00
Tim Coleman 0a22ed39c2 2002-11-30 Tim Coleman <[email protected]>
* ChangeLog:
		Forgot to commit.

svn path=/trunk/mcs/; revision=9296
2002-11-30 22:45:57 +00:00
Miguel de Icaza 7079e92de5 More low hanging fruit.
2002-11-30  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs (consume_identifier): use read directly, instead
	of calling getChar/putback, uses internal knowledge of it.

	(xtoken): Reorder tokenizer so most common patterns are checked
	first.  This reduces the compilation time in another 5% (from 8.11s
	average to 7.73s for bootstrapping mcs on my Mobile p4/1.8ghz).

	The parsing time is 22% of the compilation in mcs, and from that
	64% is spent on the tokenization process.

	I tried using a binary search for keywords, but this is slower
	than the hashtable.  Another option would be to do a couple of
	things:

		* Not use a StringBuilder, instead use an array of chars,
		  with a set value.  Notice that this way we could catch
		  the 645 error without having to do it *afterwards*.

		* We could write a hand-parser to avoid the hashtable
		  compares altogether.

	The identifier consumption process takes 37% of the tokenization
	time.  Another 15% is spent on is_number.  56% of the time spent
	on is_number is spent on Int64.Parse:

		* We could probably choose based on the string length to
		  use Int32.Parse or Int64.Parse and avoid all the 64-bit
		  computations.

	Another 3% is spend on wrapping `xtoken' in the `token' function.

svn path=/trunk/mcs/; revision=9295
2002-11-30 22:34:28 +00:00
Tim Coleman 44a30fb5ad 2002-11-30 Tim Coleman <[email protected]>
* list:
	* Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult:
	* Mono.Data.Tds.Protocol/TdsPacketTableNameResult:
		Remove these classes, since they are essentially just
		ArrayLists.
	* Mono.Data.Tds.Protocol/Tds.cs:
	* Mono.Data.Tds.Protocol/Tds42.cs:
	* Mono.Data.Tds.Protocol/Tds50.cs:
	* Mono.Data.Tds.Protocol/Tds70.cs:
		Make ProcessSubPacket return an enum instead of instantiating
		useless classes.  Remove the TdsPacketColumnNamesResult
		and TdsPacketTableNameResult in favour of ArrayLists.
	* Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
		Add a Count property.

svn path=/trunk/mcs/; revision=9294
2002-11-30 21:26:53 +00:00
Gonzalo Paniagua Javier f49cfb6350 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: compile global.asax file if it
	exists.

	* System.Web.Compilation/AspElements.cs: added @Application directive.

	* System.Web.Compilation/AspGenerator.cs: make it work also with
	application files. We currently generate an extra private function.

svn path=/trunk/mcs/; revision=9293
2002-11-30 20:48:55 +00:00
Jaime Anguiano Olarra 280c13ad11 Test for C# Compiler Error CS0035: Ambiguous operator on operand of type foo.
svn path=/trunk/mcs/; revision=9292
2002-11-30 20:09:16 +00:00
Jaime Anguiano Olarra 156cf2e732 2nd Test for Error CS0027. In this case compile complains only of CS0026.
svn path=/trunk/mcs/; revision=9291
2002-11-30 19:15:59 +00:00
Jaime Anguiano Olarra d735632a9e Test for C# Compiler Error CS0027: Tried to used 'this' outside a constructor, method or property.
svn path=/trunk/mcs/; revision=9290
2002-11-30 19:13:45 +00:00
Jaime Anguiano Olarra cb985ccfd9 Test for the C# Compiler Error CS0022: Wrong number of fields in indexer.
svn path=/trunk/mcs/; revision=9289
2002-11-30 18:50:08 +00:00
Gonzalo Paniagua Javier 4b684ce4fb don't cp on windows
svn path=/trunk/mcs/; revision=9288
2002-11-30 18:47:12 +00:00
Jaime Anguiano Olarra e253027f04 Added test for C# Compiler ERROR CS0021
svn path=/trunk/mcs/; revision=9287
2002-11-30 18:39:32 +00:00
Gonzalo Paniagua Javier 33dd8381aa fixed teh build
svn path=/trunk/mcs/; revision=9286
2002-11-30 18:29:25 +00:00
Daniel Morgan 354e91c10d 2002-11-30 Daniel Morgan <[email protected]>
* man/sqlsharpcli.1: added file - a man page
	for SQL# CLI

	* man/Makefile.am: added sqlsharpcli.1 to man_MANS

svn path=/trunk/mono/; revision=9285
2002-11-30 17:41:26 +00:00
Alejandro Sánchez Acosta 1bcd9bc096 list.unix changed.
svn path=/trunk/mcs/; revision=9284
2002-11-30 17:38:12 +00:00
Alejandro Sánchez Acosta 413526db9b Added some classes and interfaces to System.ComponentModel.Design
svn path=/trunk/mcs/; revision=9283
2002-11-30 17:37:00 +00:00
Atsushi Eno cbd55d364b 2002-12-01 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs (TestValueProperty):
		applied patch by David Sheldon

svn path=/trunk/mcs/; revision=9282
2002-11-30 17:36:55 +00:00
Atsushi Eno c93d3354b4 2002-12-01 Atsushi Enomoto <[email protected]>
* XmlNode.cs (RemoveChild):
		bugfixed when XmlNode is Document OwnerDocument is null
	* XmlDeclaration.cs (Value):
		bugfixed regular expression pattern.
	* XmlDocument.cs (CreateNavigator): bugfixed access modifier.

svn path=/trunk/mcs/; revision=9281
2002-11-30 17:22:35 +00:00
Ville Palo f2a6b790f8 2002-11-30 Ville Palo <[email protected]>
* DataRowChangeEventArgs.cs: Implemented Action and Row properties

svn path=/trunk/mcs/; revision=9279
2002-11-30 14:48:33 +00:00
Daniel Morgan 91adbe31fa 2002-11-30 Daniel Morgan <[email protected]>
* README: updated to include directions on
	connecting to a database

svn path=/trunk/mcs/; revision=9278
2002-11-30 14:04:11 +00:00
Daniel Morgan 2aa62eb631 2002-11-30 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: fix dynamically creating DbDataAdapter
	so external providers can display data in the DataGrid too,
	included the use of OdbcDataAdapter for ODBC to use
	a DataGrid,	fix compile errors for a newer Gtk# in cvs

svn path=/trunk/mcs/; revision=9277
2002-11-30 13:15:47 +00:00
Daniel Morgan 2373670aea 2002-11-30 Daniel Morgan <[email protected]>
* README: updated by including help for all the
	SQL# commands with examples

svn path=/trunk/mcs/; revision=9276
2002-11-30 12:50:09 +00:00
Daniel Morgan ae724c45ea 2002-11-30 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: allow the ODBC provider
	to execute a query and save results an XML file
	via the \exexml command

svn path=/trunk/mcs/; revision=9275
2002-11-30 11:16:23 +00:00
Daniel Morgan 31cb0d7741 2002-11-30 Daniel Morgan <[email protected]>
* System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
	needed by OdbcDataAdapter

	* System.Data.Odbc/OdbcDataAdapter.cs
	* System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
	* System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
	* System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
	* System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
	ODBC Data Adapter

	* list: added new files to linux build
	in namespace System.Data.Odbc for the ODBC Data Adapter

	* System.Xml/XmlDataDocument.cs: commented method
	protected internal override XPathNavigator CreateNavigator(XmlNode node)
	because it would not compile on .NET Framework.  Added
	a FIXME comment there

svn path=/trunk/mcs/; revision=9274
2002-11-30 11:06:15 +00:00
Ville Palo 95980a7066 Bug again, sorry :-(
svn path=/trunk/mcs/; revision=9273
2002-11-30 09:28:06 +00:00
Ville Palo 1b0e375bdb 2002-11-30 Ville Palo <[email protected]>
* System.Data/DataRow.cs: Added internal property XmlDataID

svn path=/trunk/mcs/; revision=9272
2002-11-30 08:32:17 +00:00
Daniel Morgan 4602ad24e4 INSTALL was renamed to INSTALL.txt so make install will on Windows
svn path=/trunk/mcs/; revision=9271
2002-11-30 07:00:10 +00:00
Miguel de Icaza b85b52fac7 2002-11-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Handle 0xa0 as whitespace (#34752)

svn path=/trunk/mcs/; revision=9270
2002-11-30 05:58:27 +00:00
Gonzalo Paniagua Javier 478627b31e 2002-11-30 Gonzalo Paniagua Javier <[email protected]>
* marshal.c: applied patch from Aleksey Demakov that fixes
	ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringUni.

svn path=/trunk/mono/; revision=9269
2002-11-30 01:46:16 +00:00
Gonzalo Paniagua Javier 9836c3ed4d updated asp-net page
svn path=/trunk/mono/; revision=9268
2002-11-29 21:14:52 +00:00
Ville Palo ab06077927 2002-11-29 Ville Palo <[email protected]>
* System.Xml/XmlDataDocument.cs: Started to implement.

svn path=/trunk/mcs/; revision=9267
2002-11-29 21:06:20 +00:00
Daniel Morgan e2d30e2d67 2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
	interferred with "make install" on windows

	* makefile: changes to get "make install" work
	on windows

	* class/makefile.gnu: flush

	* ilasm/makefile: updated for windows build

	* monoresgen/makefile: updated for windows build

	* tools/SqlSharp/SqlSharpCli.build: flush

	* winexe.in: add file to be template for executable assemblies
	to be installed on windows via "make install" by providing
	a script that runs mono and the assembly
	like mcs runs mono mcs.exe

svn path=/trunk/mcs/; revision=9266
2002-11-29 20:32:05 +00:00
Ville Palo 6826d9c01b Ups, there was a litle bug
svn path=/trunk/mcs/; revision=9265
2002-11-29 20:20:34 +00:00
Ville Palo d8591b3ef4 2002-11-29 Ville Palo <[email protected]>
* DataSystem.Data.DataTableCollection.cs:
	Removed HashTable. There could be situations where DataTable
	is added to collection before it hava TableName. So using
	HashTable is impossible.

svn path=/trunk/mcs/; revision=9264
2002-11-29 20:13:54 +00:00
Gonzalo Paniagua Javier 043561857c 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
* MarshalByRefObject.cs: undo latest changes. It breaks the build by
	some obscure reasons (try make -f makefile.gnu using a corlib which has
	the modified version).

svn path=/trunk/mcs/; revision=9263
2002-11-29 19:26:11 +00:00
Jaime Anguiano Olarra 0bde16873f Added test for the Error CS3005
svn path=/trunk/mcs/; revision=9261
2002-11-29 17:38:52 +00:00
Gonzalo Paniagua Javier 31b48cf5c8 Patch from dietmar that fixes stack unwinding for functions that call mono_stack_walk
svn path=/trunk/mono/; revision=9260
2002-11-29 16:14:10 +00:00
Jaime Anguiano Olarra 0ab66f70d1 Started InitializeLifetimeService and GetLifetimeService methods implementation.
svn path=/trunk/mcs/; revision=9245
2002-11-29 04:04:57 +00:00
Eduardo Garcia Cebollero 10457edbaa Added A Test Suite for System.Threading.Mutex
svn path=/trunk/mcs/; revision=9244
2002-11-29 03:36:21 +00:00
Gonzalo Paniagua Javier 29e90c5d11 2002-11-29 Gonzalo Paniagua Javier <[email protected]>
* list: added new file.
	* System.Web.Compilation/GlobalAsaxCompiler.cs: compiler for global.asax
	file. If the file exists, it will be compiled into an HttpApplication
	derived class (directly or through a user-provided class).

svn path=/trunk/mcs/; revision=9243
2002-11-29 03:07:50 +00:00
Sebastien Pouliot 17ee63aaa8 2002-11-28 Sebastien Pouliot <[email protected]>
* TODOAttribute.cs: New. Still much to do ;-)
	* XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
	functionnal.
	* XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
	functionnal.

svn path=/trunk/mcs/; revision=9242
2002-11-29 02:43:28 +00:00
Sebastien Pouliot bc38c9ad3b 2002-11-28 Sebastien Pouliot <[email protected]>
* System.Security.build: New. Nant build file for Windows.

svn path=/trunk/mcs/; revision=9241
2002-11-29 02:39:35 +00:00
Sebastien Pouliot 993d45a721 2002-11-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added missing test suites.

svn path=/trunk/mcs/; revision=9240
2002-11-29 02:35:43 +00:00
Sebastien Pouliot fa432124c3 2002-11-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Include System.Security.Cryptography.Xml
	test suites.
	* System.Security_test.build: New. Nant build file for Windows.

svn path=/trunk/mcs/; revision=9239
2002-11-29 02:32:42 +00:00
Jaime Anguiano Olarra ad51ba75f5 Started implementation for the InitializeLifetimeService method.
svn path=/trunk/mcs/; revision=9238
2002-11-29 02:12:02 +00:00
Alejandro Sánchez Acosta 470fbae4e3 Modified System.Drawing.Design
svn path=/trunk/mcs/; revision=9237
2002-11-29 01:39:29 +00:00
Alejandro Sánchez Acosta bcb2fad16d Added some interfaces, delegates and stubs classes to System.Drawing.Design
svn path=/trunk/mcs/; revision=9236
2002-11-29 01:38:49 +00:00
Daniel Morgan 1a2a6b9fb7 2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build

	* tools/makefile.gnu: added new file to built tools and install.
        dist works too.  test is just blank.

svn path=/trunk/mcs/; revision=9235
2002-11-29 01:23:22 +00:00
Alejandro Sánchez Acosta dc0d958bfa Added missed field
svn path=/trunk/mcs/; revision=9234
2002-11-28 23:46:28 +00:00
Jaime Anguiano Olarra 08954c8820 Starting to implement the InitializeLifetimeService method.
svn path=/trunk/mcs/; revision=9230
2002-11-28 20:16:46 +00:00
Gonzalo Paniagua Javier b9a8f63a43 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed get_location.

svn path=/trunk/mono/; revision=9228
2002-11-28 17:26:31 +00:00
Dietmar Maurer 3d006ddbc9 2002-11-28 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_prologue): don't save caller saved
	registers twice.

svn path=/trunk/mono/; revision=9227
2002-11-28 15:42:17 +00:00
Gonzalo Paniagua Javier fda4291ced 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* SoapServices.cs: fix error CS3005.

svn path=/trunk/mcs/; revision=9225
2002-11-28 12:54:50 +00:00
Dietmar Maurer 7579471017 2002-11-28 Dietmar Maurer <[email protected]>
* icall.c: moved MONO_ARCH_SAVE_REGS to the end of the
	declarations to make it work with older gcc.

svn path=/trunk/mono/; revision=9224
2002-11-28 12:45:46 +00:00
Gonzalo Paniagua Javier 60b344a257 2002-11-28 Gonzalo Paniagua Javier <[email protected]>
* RegistryHive.cs: patch from Jackson Harper that fixes compilation.

svn path=/trunk/mcs/; revision=9223
2002-11-28 11:34:10 +00:00
Dietmar Maurer b6bb40164b 2002-11-28 Dietmar Maurer <[email protected]>
* exception.c (x86_unwind_native_frame): support exceptions inside
	native code using gcc generated exception tables (-fexception).

2002-11-19  Dietmar Maurer  <[email protected]>

	* exception.c: include some code from Zoltan Varga, but modified
	it slightly.

svn path=/trunk/mono/; revision=9222
2002-11-28 10:02:07 +00:00
Jackson Harper e64e500050 Added file
svn path=/trunk/mcs/; revision=9221
2002-11-28 08:13:24 +00:00
Jaime Anguiano Olarra 84169e3123 Added Skeleton for the System.Runtime.Remoting.SoapServices class.
svn path=/trunk/mcs/; revision=9220
2002-11-27 21:55:32 +00:00
Miguel de Icaza fc1c3b4669 Fixety fix
svn path=/trunk/mcs/; revision=9219
2002-11-27 21:49:34 +00:00
Dennis Hayes e4a8614d75 cvs.txt
logfile.txt
Registry.cs
RegistryHive.cs
RegistryKey.cs

svn path=/trunk/mcs/; revision=9216
2002-11-27 21:19:41 +00:00
Dennis Hayes 0de438d1bb 2002-11-27 DennisHayes <[email protected]>
* checkin for Alexandre Pigolkine ([email protected]) with minor changes
	
	* Control.cs
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* NativeWindow.cs
	* win32Enums.cs
	* win32functions.cs
	
	* WIN32 implmentation

svn path=/trunk/mcs/; revision=9215
2002-11-27 20:40:32 +00:00
Gonzalo Paniagua Javier b0f4930483 Changed backslash to /
svn path=/trunk/mcs/; revision=9213
2002-11-27 17:21:02 +00:00
Miguel de Icaza ef06c30b63 2002-11-26 Miguel de Icaza <[email protected]>
* typemanager.cs (IsCLRType): New routine to tell whether a type
	is one of the builtin types.

	Maybe it needs to use TypeCodes to be faster.  Maybe we could use
	typecode in more places instead of doing pointer comparissions.
	We could leverage some knowledge about the way the typecodes are
	laid out.

	New code to cache namespaces in assemblies, it is currently not
	invoked, to be used soon.

	* decl.cs (DeclSpace.MakeFQN): Simple optimization.

	* expression.cs (Binary.ResolveOperator): specially handle
	strings, and do not perform user-defined operator overloading for
	built-in types.

svn path=/trunk/mcs/; revision=9212
2002-11-27 17:17:19 +00:00
Miguel de Icaza d2c0a54a6f 2002-11-26 Miguel de Icaza <[email protected]>
* String.cs (Concat): Reduce the number of compares required.

svn path=/trunk/mcs/; revision=9211
2002-11-27 16:56:23 +00:00
Jaime Anguiano Olarra 54ebb8522e Added links to The Mono Tutorial and to The Mono Hispano site.
svn path=/trunk/mono/; revision=9210
2002-11-27 16:39:16 +00:00
Dietmar Maurer 1e15709317 2002-11-27 Dietmar Maurer <[email protected]>
* exception.c: massive code cleanups. The code is still
	architecture dependent, but it should be now possible to reuse the
	complex parts for other architecture.

svn path=/trunk/mono/; revision=9208
2002-11-27 11:00:09 +00:00
Daniel Morgan b770951bd4 makefile.gnu not buidling from topdir makefile.gnu
svn path=/trunk/mcs/; revision=9203
2002-11-27 07:00:37 +00:00
Gonzalo Paniagua Javier 3e90439160 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: fixed target file name and
	generated class name.
	* System.Web.Compilation/BaseCompiler.cs: reference assemblies in
	PrivateBinPath.
	* System.Web.UI/UserControl.cs: fixed SetAttribute.
	* System.Web.UI/UserControlParser.cs: set the correct base type.

svn path=/trunk/mcs/; revision=9202
2002-11-27 04:24:57 +00:00
Daniel Morgan 99ce919394 2002-11-26 Daniel morgan <[email protected]>
* makefile.gnu: add Mono.Data.PostgreSqlClient
	to Linux build

	* library.build: add Mono.Data.PostgreSqlClient
	to Windows build

svn path=/trunk/mcs/; revision=9201
2002-11-27 00:59:44 +00:00
Gonzalo Paniagua Javier de2c6a5fd6 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: provide a default Browser until we detect it.
	* HttpResponse.cs:
	(End): do not close the connection here.
	(Flush (bool)): send the headers when, for example, Redirect () is
	called.

svn path=/trunk/mcs/; revision=9200
2002-11-27 00:56:30 +00:00
Rodrigo Moya 461130991e *** empty log message ***
svn path=/trunk/mcs/; revision=9199
2002-11-27 00:04:49 +00:00
Daniel Morgan 5a0513f456 2002-11-26 Daniel Morgan <[email protected]>
* list: changed the name of the files beginning
	with Sql to PgSql.  Added missing files to linux build.

	* makefile.gnu: added .dll to end of assembly names

	* Mono.Data.PostgreSqlClient: created new directory within
	mcs/class/Mono.Data.PostgreSqlClient

	* copy files from ./*.cs to ./Mono.Data.PostgreSqlClient/*.cs
	on cvs server (thanks to Miguel)

	* remove ./*.cs files

svn path=/trunk/mcs/; revision=9198
2002-11-26 21:08:58 +00:00
Ravi Pratap M cb0cb6bb2c Display usage on wrong invocation instead of blowing up with an exception.
svn path=/trunk/mcs/; revision=9197
2002-11-26 19:07:36 +00:00
Tim Coleman 769a0e50e3 2002-11-26 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient.build:
                Copy dll into Test directory.
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
                Many changes around making PREPAREs work in
                Sybase as well as SQL Server.

svn path=/trunk/mcs/; revision=9195
2002-11-26 06:36:38 +00:00
Tim Coleman 6f27b1101b 2002-11-26 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.build:
        * makefile.gnu
                Add System.EnterpriseServices to build.
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsDataReader.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsParameter.cs:
        * Mono.Data.TdsClient/TdsParameterCollection.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsTypes/TdsDecimal.cs:
                Copied over from the Sybase classes because the
                whole world is changing and I want generic
                TDS to keep up.

svn path=/trunk/mcs/; revision=9194
2002-11-26 06:36:05 +00:00
Tim Coleman db177b4a47 2002-11-26 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlParameterCollection.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Many changes around restructuring of parameter
                information so that the Sybase provider supports
                PREPAREs too.

svn path=/trunk/mcs/; revision=9193
2002-11-26 06:33:28 +00:00
Tim Coleman 8c49050ee0 2002-11-26 Tim Coleman <[email protected]>
* list:
        * Mono.Data.Tds/TdsMetaParameter.cs:
        * Mono.Data.Tds/TdsMetaParameterCollection.cs:
        * Mono.Data.Tds/TdsParameterDirection.cs:
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
        * Mono.Data.Tds.Protocol/TdsColumnType.cs:
        * Mono.Data.Tds.Protocol/TdsComm.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketType.cs:
                Restructuring around making Sybase and SQL Server
                support both work with same interface.  In particular,
                the bulk of parameter work is moved into the meta
                parameter objects from the native objects.  The
                Sybase TDS50 stuff needs intimate access to the parameters.
                This will also allow me to eventually plonk output values
                directly into parameters rather than through the current
                klugey interface.

svn path=/trunk/mcs/; revision=9192
2002-11-26 06:32:44 +00:00
Gonzalo Paniagua Javier be2bff830e 2002-11-26 Gonzalo Paniagua Javier <[email protected]>
* list: added/removed files.

	* System.Web.Compilation/AspGenerator.cs: reworked user control
	compilation. Provide the options as a Hashtable for use in compilation.
	Create the user controls in the private bin path of the domain.

	* System.Web.Compilation/BaseCompiler.cs: base class for the various
	compiler types.

	* System.Web.Compilation/CachingCompiler.cs: actually executes mcs and
	do some poor caching (it will use Cache when finished).

	* System.Web.Compilation/CompilationException.cs: this exception has
	enough information to generate a nice error page.
	* System.Web.Compilation/CompilationResult.cs: used in caching.

	* System.Web.Compilation/PageCompiler.cs: now derives from BaseCompiler

	* System.Web.Compilation/TemplateFactory.cs: no longer needed.

	* System.Web.Compilation/UserControlCompiler.cs: new class used when
	compiling user controls.
	* System.Web.Compilation/WebServiceCompiler.cs: derives from
	BaseCompiler.
	* System.Web.Mail/SmtpMail.cs: i don't wanna see that warning :-).
	* System.Web.UI/TemplateParser.cs: fixed BaseType.
	* System.Web.UI/UserControlParser.cs: helper class to compile user
	controls.

svn path=/trunk/mcs/; revision=9191
2002-11-26 02:52:25 +00:00
Dennis Hayes 1fce2977b3 tweaked win32 defs for regclass and reg windows
svn path=/trunk/mcs/; revision=9190
2002-11-26 02:10:57 +00:00
Ville Palo ef47bde937 2002-11-25 Ville Palo <[email protected]>
* System.Data/DataSet.cs : Started to implement ReadXmlSchema -method

svn path=/trunk/mcs/; revision=9186
2002-11-25 18:42:18 +00:00
Dennis Hayes d25f4f6c2f 2002-11-24 DennisHayes <[email protected]>
* Application.cs
	* Control.cs
	* Form.cs
	* Message.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* win32functions.cs
	* win32Structs.cs
	
	* Fixed added more win32 stuff
	* On windows in Visual studio and runs my test program, but does 
	* not display a window. the window Handle is null, so the size gets set to 0,0.

svn path=/trunk/mcs/; revision=9184
2002-11-25 03:10:32 +00:00
Miguel de Icaza c7b89a3588 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Avoid calling Char.IsDigit which is an
	internalcall as it is a pretty simple operation;  Avoid whenever
	possible to call Char.IsLetter.

svn path=/trunk/mcs/; revision=9183
2002-11-25 02:50:54 +00:00
Miguel de Icaza 103f51e44f Add another book
svn path=/trunk/mono/; revision=9182
2002-11-25 02:50:15 +00:00
Miguel de Icaza 6f4ea52022 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (consume_identifier): Cut by half the number of
	hashtable calls by merging the is_keyword and GetKeyword behavior.

svn path=/trunk/mcs/; revision=9180
2002-11-25 01:40:49 +00:00
Miguel de Icaza d7534b251f 2002-11-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Do not short-circuit, because if we do, we
	report errors (ie, #if false && true would produce an invalid
	directive error);

svn path=/trunk/mcs/; revision=9179
2002-11-25 01:04:31 +00:00
Miguel de Icaza 2871012ef2 Build fix from Francois
svn path=/trunk/mcs/; revision=9177
2002-11-25 00:18:09 +00:00
Miguel de Icaza dbb7154bd0 Add test for 221
svn path=/trunk/mcs/; revision=9176
2002-11-24 23:02:14 +00:00
Martin Baulig 6f4be7c65f 2002-11-24 Martin Baulig <[email protected]>
* test-130.cs: This test did not compile with csc and
	mcs now reports the error as well.  Removed the offending
	line from the test.

svn path=/trunk/mcs/; revision=9175
2002-11-24 21:00:42 +00:00
Martin Baulig 3ff535f358 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (Cast.TryReduce): If we're in checked syntax,
	check constant ranges and report a CS0221.  Fixes #33186.

svn path=/trunk/mcs/; revision=9174
2002-11-24 20:59:21 +00:00
Martin Baulig 1171e69414 2002-11-24 Martin Baulig <[email protected]>
* cs-parser.jay: Make this work for uninitialized variable
	declarations in the `for' initializer.  Fixes #32416.

svn path=/trunk/mcs/; revision=9173
2002-11-24 20:01:01 +00:00
Martin Baulig 4a7fcc46f2 Ooooops, why does this have such a strange side-effect ?
svn path=/trunk/mcs/; revision=9172
2002-11-24 19:48:25 +00:00
Martin Baulig 80358cd040 2002-11-24 Martin Baulig <[email protected]>
* verify-6.cs: New test for bug #32269.

svn path=/trunk/mcs/; revision=9171
2002-11-24 18:30:01 +00:00
Martin Baulig 22e366d1d9 2002-11-24 Martin Baulig <[email protected]>
* ecore.cs (Expression.ConvertExplicit): Make casting from/to
	System.Enum actually work.  Fixes bug #32269, added verify-6.cs.

svn path=/trunk/mcs/; revision=9170
2002-11-24 18:28:25 +00:00
Tim Coleman ccab59f0c8 2002-11-24 Tim Coleman <[email protected]>
* Mono.Data.Tds.Protocol/Tds.cs: Change error/
                message conditions because they were
                reversed (caused wrongful exceptions).

svn path=/trunk/mcs/; revision=9169
2002-11-24 16:46:37 +00:00
Ville Palo 013d711a33 2002-11-24 Ville Palo <[email protected]>
* System.Xml/XmlDataDocumentTest.cs: Added new test suite for
	XmlDataDocument.
	* System.Xml/store.xsd:
	* System.Xml/region.xsd
	* System.Xml/region.xml:
	* System.Xml/2books.xml: Needed by XmlDocumentTest.cs
	* AllTests.cs:
	* data_linux_test.args:Added XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=9167
2002-11-24 15:39:02 +00:00
Martin Baulig cc37680197 2002-11-24 Martin Baulig <[email protected]>
* test-175.cs: New test for bug #30443.

svn path=/trunk/mcs/; revision=9166
2002-11-24 15:37:47 +00:00
Eduardo Garcia Cebollero 7b999e7fbe Added MonoTests.System.Threading.ThreadTest , NUnit test for System.Threading.Thread
svn path=/trunk/mcs/; revision=9165
2002-11-24 15:37:46 +00:00
Martin Baulig 6210271bc2 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (Binary.DoNumericPromotions): Added `check_user_conv'
	argument; if true, we also check for user-defined conversions.
	This is only needed if both arguments are of a user-defined type.
	Fixes #30443, added test-175.cs.
	(Binary.ForceConversion): Pass the location argument to ConvertImplicit.

	* ecore.cs (Expression.ImplicitUserConversionExists): New method.

svn path=/trunk/mcs/; revision=9164
2002-11-24 15:36:21 +00:00
Eduardo Garcia Cebollero df5179c4b7 Added System.Threading suite and inside it, System.Threading.Thread suite
svn path=/trunk/mcs/; revision=9163
2002-11-24 15:31:25 +00:00
Martin Baulig c354f3f27f 2002-11-24 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.GetStoreOpcode): New public static
	function to get the store opcode.
	(Invocation.EmitParams): Call ArrayAccess.GetStoreOpcode() and
	only emit the Ldelema if the store opcode is Stobj.  You must run
	both test-34 and test-167 to test this.  Fixes #34529.

svn path=/trunk/mcs/; revision=9162
2002-11-24 14:11:13 +00:00
Duncan Mak 7702c2b486 2002-11-24 Duncan Mak <[email protected]>
* XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
	Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
	first patch to Mono! ;-)

svn path=/trunk/mcs/; revision=9161
2002-11-24 08:22:01 +00:00
Dennis Hayes dd35c0405c 2002-11-23 DennisHayes <[email protected]>
checked in for 	Francois-Denis Gonthier

	* win32functions.cs
	* win32Structs.cs
	* Menu.cs
	* ScrollableControl.cs
	* MenuItem.cs
	* NativeWindow.cs
	* Form.cs
	* move some more stuff from monostub to c#
	* converted a couple of files to unix style line end
	* some implmementation

svn path=/trunk/mcs/; revision=9160
2002-11-24 04:31:26 +00:00
Martin Baulig 6899a77e6e 2002-11-23 Martin Baulig <[email protected]>
* ecore.cs (Expression.MemberLookup): Added additional
	`qualifier_type' argument which is used when we're being called
	from MemberAccess.DoResolve() and null if we're called from a
	SimpleName lookup.
	(Expression.MemberLookupFailed): New method to report errors; this
	does the CS1540 check and reports the correct error message.

	* typemanager.cs (MemberLookup): Added additional `qualifier_type'
	argument for the CS1540 check and redone the way how we're dealing
	with private members.  See the comment in the source code for details.
	(FilterWithClosure): Reverted this back to revision 1.197; renamed
	`closure_start_type' to `closure_qualifier_type' and check whether
	it's not null.  It was not this filter being broken, it was just
	being called with the wrong arguments.

	* expression.cs (MemberAccess.DoResolve): use MemberLookupFinal()
	and pass it the correct `qualifier_type'; this also does the error
	handling for us.

svn path=/trunk/mcs/; revision=9159
2002-11-23 18:53:28 +00:00
Miguel de Icaza 81ef32569d Add windows.forms back to the build
svn path=/trunk/mcs/; revision=9158
2002-11-23 02:16:50 +00:00
Miguel de Icaza 63e4c8365c Fixety fix the build
svn path=/trunk/mcs/; revision=9157
2002-11-23 02:15:54 +00:00
Dennis Hayes d7ba3b662e backout makefile changes
svn path=/trunk/mcs/; revision=9156
2002-11-23 02:10:47 +00:00
Dennis Hayes ddac57c355 added mising files to makefile
svn path=/trunk/mcs/; revision=9155
2002-11-23 02:00:29 +00:00
Miguel de Icaza 11134d7f47 Improve this test
svn path=/trunk/mcs/; revision=9154
2002-11-22 23:31:13 +00:00
Miguel de Icaza 3210b62b14 2002-11-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitParams): If the we are dealing
	with a non-built-in value type, load its address as well.

	(ArrayCreation): Use a a pretty constant instead
	of the hardcoded value 2.   Use 6 instead of 2 for the number of
	static initializers.

	(ArrayCreation.EmitDynamicInitializers): Peel enumerations,
	because they are not really value types, just glorified integers.

	* driver.cs: Do not append .exe, the CSC compiler does not do it.

svn path=/trunk/mcs/; revision=9153
2002-11-22 23:05:19 +00:00
Miguel de Icaza 8eac21b8b2 Improve test
svn path=/trunk/mcs/; revision=9152
2002-11-22 23:03:53 +00:00
Miguel de Icaza 0cccb65c1b 2002-11-22 Miguel de Icaza <[email protected]>
* ecore.cs: Remove redundant code for enumerations, make them use
	the same code path as everything else, fixes the casting issue
	with enumerations in Windows.Forms.

	* attribute.cs: Do only cast to string if it is a string, the
	validation happens later.

	* typemanager.cs: Temproary hack to avoid a bootstrap issue until
	people upgrade their corlibs.

svn path=/trunk/mcs/; revision=9151
2002-11-22 18:26:10 +00:00
Dietmar Maurer d8cbe11846 2002-11-22 Dietmar Maurer <[email protected]>
* threads.c (TlsGetValue): removed unnecessary mutex

svn path=/trunk/mono/; revision=9150
2002-11-22 13:10:16 +00:00
Daniel Morgan 02fa55d3fb 2002-11-21 Daniel Morgan <[email protected]>
* Mono.Data.Tds.build: added missing file
	for Windows build

svn path=/trunk/mcs/; revision=9149
2002-11-22 04:13:37 +00:00
Dennis Hayes 4030526c9a file added for matt stump
svn path=/trunk/mcs/; revision=9147
2002-11-22 01:56:26 +00:00
Gonzalo Paniagua Javier e1c57a1bdb Added missing TODOAttribute
svn path=/trunk/mcs/; revision=9146
2002-11-21 19:43:57 +00:00
Miguel de Icaza 6d6bd4aef6 Add new test
svn path=/trunk/mcs/; revision=9145
2002-11-21 19:43:13 +00:00
Gonzalo Paniagua Javier fe1d406b8e Added missing file
svn path=/trunk/mcs/; revision=9144
2002-11-21 19:37:53 +00:00
Miguel de Icaza e054e2bf09 1540 is not caught elsewhere
svn path=/trunk/mcs/; revision=9143
2002-11-21 19:32:13 +00:00
Miguel de Icaza 40b61ef472 2002-11-21 Miguel de Icaza <[email protected]>
* typemanager.cs (FilterWithClosure): Commented out the test for
	1540 in typemanager.cs, as it has problems when accessing
	protected methods from a parent class (see test-174.cs).

	Notice that 1540 is still caught elsewhere.

svn path=/trunk/mcs/; revision=9142
2002-11-21 19:31:38 +00:00
Jaime Anguiano Olarra eb79ffe6c7 Fixed error on link to the Mono Keynote presentation at .NET ONE.
svn path=/trunk/mono/; revision=9141
2002-11-21 19:10:17 +00:00
Tim Coleman 5715ac36a5 2002-11-21 Tim Coleman <[email protected]>
* ChangeLog:
	* *.cs:
		These files have been moved to Mono.Data.Tds.Protocol.

svn path=/trunk/mcs/; revision=9140
2002-11-21 18:14:49 +00:00
Miguel de Icaza bc16469907 2002-11-21 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.ValidateGuid): new method.
	(Attribute.Resolve): Use above.

svn path=/trunk/mcs/; revision=9139
2002-11-21 17:26:07 +00:00
Tim Coleman f8512e873f 2002-11-21 Tim Coleman <[email protected]>
* makefile.gnu:
	* System.Data/list:
	* System.Data/makefile.gnu:
	* Mono.Data.SybaseClient/list:
	* Mono.Data.SybaseClient/makefile.gnu:
	* Mono.Data.TdsClient/list:
	* Mono.Data.TdsClient/makefile.gnu:
		Make these compile correctly on linux.

svn path=/trunk/mcs/; revision=9138
2002-11-21 17:22:12 +00:00
Miguel de Icaza 0babd91b5f Added testity test
svn path=/trunk/mcs/; revision=9137
2002-11-21 17:20:05 +00:00
Tim Coleman 2a40a19fa9 Missed committing these.
svn path=/trunk/mcs/; revision=9136
2002-11-21 17:10:32 +00:00
Tim Coleman a287c2115a 2002-11-21 Tim Coleman <[email protected]>
* library.build:
		Add Mono.Data.Tds to build.

svn path=/trunk/mcs/; revision=9135
2002-11-21 17:01:15 +00:00
Tim Coleman 642189f84f 2002-11-21 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.build:
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsConnectionPool.cs:
        * Mono.Data.TdsClient/TdsDataReader.cs:
        * Mono.Data.TdsClient/TdsError.cs:
        * Mono.Data.TdsClient/TdsErrorCollection.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient/TdsParameterCollection.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsTypes/TdsDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9134
2002-11-21 16:59:38 +00:00
Tim Coleman 96a558b003 2002-11-21 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient.build:
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9133
2002-11-21 16:57:36 +00:00
Tim Coleman cdca3a0682 2002-11-21 Tim Coleman <[email protected]>
* makefile.gnu:
		Disable linux system.data builds until it works correctly.

svn path=/trunk/mcs/; revision=9132
2002-11-21 16:55:57 +00:00
Tim Coleman 50793b9078 2002-11-21 Tim Coleman <[email protected]>
* System.Data.build:
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlConnectionPool.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
        * System.Data.SqlTypes/SqlDecimal.cs:
                Modify to accept new Mono.Data.Tds.Protocol
                namespace in Mono.Data.Tds assembly, replacing
                Mono.Data.TdsClient.Internal

svn path=/trunk/mcs/; revision=9131
2002-11-21 16:55:20 +00:00
Tim Coleman 162a4d7cb8 2002-11-21 Tim Coleman <[email protected]>
* list:
        * ChangeLog:
        * Mono.Data.Tds.build:
        * makefile.gnu:
        * Mono.Data.Tds.Protocol/ITds.cs:
        * Mono.Data.Tds.Protocol/Tds.cs:
        * Mono.Data.Tds.Protocol/Tds42.cs:
        * Mono.Data.Tds.Protocol/Tds50.cs:
        * Mono.Data.Tds.Protocol/Tds70.cs:
        * Mono.Data.Tds.Protocol/Tds80.cs:
        * Mono.Data.Tds.Protocol/TdsBigDecimal.cs:
        * Mono.Data.Tds.Protocol/TdsColumnStatus.cs:
        * Mono.Data.Tds.Protocol/TdsColumnType.cs:
        * Mono.Data.Tds.Protocol/TdsComm.cs:
        * Mono.Data.Tds.Protocol/TdsConnectionParameters.cs:
        * Mono.Data.Tds.Protocol/TdsEnvPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsInternalError.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorCollection.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorMessageEventArgs.cs:
        * Mono.Data.Tds.Protocol/TdsInternalErrorMessageEventHandler.cs:
        * Mono.Data.Tds.Protocol/TdsInternalException.cs:
        * Mono.Data.Tds.Protocol/TdsInternalInfoMessageEventArgs.cs:
        * Mono.Data.Tds.Protocol/TdsInternalInfoMessageEventHandler.cs:
        * Mono.Data.Tds.Protocol/TdsMessage.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnInfoResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnNamesResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketColumnOrderResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketControlResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketEndTokenResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketOutputParam.cs:
        * Mono.Data.Tds.Protocol/TdsPacketResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRetStatResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketRowResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketSubType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketTableNameResult.cs:
        * Mono.Data.Tds.Protocol/TdsPacketType.cs:
        * Mono.Data.Tds.Protocol/TdsPacketUnknown.cs:
        * Mono.Data.Tds.Protocol/TdsSchemaInfo.cs:
        * Mono.Data.Tds.Protocol/TdsServerType.cs:
        * Mono.Data.Tds.Protocol/TdsTimeoutException.cs:
        * Mono.Data.Tds.Protocol/TdsVersion.cs:
        * Mono.Data.Tds.Protocol/TODOAttribute.cs:
                New assembly.  The Protocol files came from
                Mono.Data.TdsClient.Internal, and thus their
                protection levels and namespaces have changed.
~

svn path=/trunk/mcs/; revision=9130
2002-11-21 16:53:11 +00:00
Paolo Molaro 5d09843cd7 Build fixes.
svn path=/trunk/mcs/; revision=9129
2002-11-21 15:01:45 +00:00
Paolo Molaro 68c66a9e78 Fix compilation.
svn path=/trunk/mcs/; revision=9128
2002-11-21 14:43:15 +00:00
Gonzalo Paniagua Javier 437bb81e83 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs:
	(Render): call RenderContents (), not base.RenderContents ().

	* DataList.cs: style.

	But I still haven't found what i'm looking for....

svn path=/trunk/mcs/; revision=9127
2002-11-21 04:02:37 +00:00
Gonzalo Paniagua Javier 852f04ce30 Forgot changelog
svn path=/trunk/mcs/; revision=9126
2002-11-21 03:58:27 +00:00
Sebastien Pouliot 7f1f71f141 2002-11-20 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Added suites for very listed files.
	* DataObjectTest.cs: New. Test suite for DataObject.
	* DSAKeyValueTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoNameTest.cs: New. Test suite for KeyInfoName.
	* KeyInfoNodeTest.cs: New. Test suite for KeyInfoNode.
	* KeyInfoRetrievalMethodTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoTest.cs: New. Test suite for KeyInfo.
	* KeyInfoX509DataTest.cs: New. Test suite for KeyInfoX509Data.
	* ReferenceTest.cs: New. Incomplete test suite for Reference.
	* RSAKeyValueTest.cs: New. Test suite for RSAKeyValue.
	* SignatureTest.cs: New. Partial test suite for Signature.
	* SignedInfoTest.cs: New. Partial test suite for SignedInfo.
	* SignedXmlTest.cs: New. Partial test suite for SignedXml.
	* TransformChainTest.cs: New. Test suite for TransformChain.
	* XmlDsigBase64TransformTest.cs: New. Partial test suite for
	XmlDsigBase64Transform
	* XmlDsigXsltTransformTest.cs: New. Partial test suite for
	XmlDsigXsltTransform.

svn path=/trunk/mcs/; revision=9125
2002-11-21 02:30:39 +00:00
Sebastien Pouliot e69a395eda 2002-11-20 Sebastien Pouliot <[email protected]>
* DataObject.cs: New. Complete implementation.
	* DSAKeyValue.cs: New. Complete implementation.
	* KeyInfo.cs: New. Complete implementation.
	* KeyInfoClause.cs: New. Abstract class (complete).
	* KeyInfoName.cs: New. Complete implementation.
	* KeyInfoNode.cs: New. Complete implementation.
	* KeyInfoRetrievalMethod.cs: New. Complete implementation.
	* KeyInfoX509Data.cs: New. Complete implementation.
	* Reference.cs: New. Incomplete implementation.
	* RSAKeyValue.cs: New. Complete implementation.
	* Signature.cs: New. Almost complete implementation - returned
	XML isn't exactly like the MS implementation.
	* SignedInfo.cs: New. Complete except SignatureLength.
	* SignedXml.cs: New. Minimal implementation (only enveloped signatures).
	Still many TODO!
	* Transform.cs: New. Abstract class (complete).
	* TransformChain.cs: New. Complete implementation.
	* XmlDsigBase64Transform.cs: New. Stub + basic logic.
	* XmlDsigC14NTransform.cs: New. Stub + basic logic.
	* XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
	* XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
	* XmlDsigXPathTransform.cs: New. Stub + basic logic.
	* XmlDsigXsltTransform.cs: New. Stub + basic logic.

svn path=/trunk/mcs/; revision=9124
2002-11-21 02:24:23 +00:00
Sebastien Pouliot c1a9681be5 2002-11-20 Sebastien Pouliot <[email protected]>
* RSAPKCS1SignatureDeformatterTest.cs: Removed patch from Nick -
	as it doesn't seems to work on my system and the exception behavior
	isn't logical (only MD5 not SHA1, ...).

svn path=/trunk/mcs/; revision=9123
2002-11-21 00:50:50 +00:00
Sebastien Pouliot a23331712f 2002-11-20 Sebastien Pouliot <[email protected]>
* AsymmetricSignatureDeformatter.cs: Added exception handling in
	VerifySignature (moved from RSAPKCS1SignatureDeformatter).
	* AsymmetricSignatureFormatter.cs: Added exception handling in
	CreateSignature (moved from RSAPKCS1SignatureFormatter).
	* CryptoAPITransform.cs: Removed "= false" assignation from a private
	member (because this created an unwanted "ghost" constructor) and
	modified Dispose declaration.
	* HashAlgorithm.cs: Removed destructor. Disposing unmanaged
	ressources is the responsability of each class (not an abstract class).
	* RSAPKCS1SignatureDeformatter.cs: Removed a VerifySignature method
	which was present in the base class AsymmetricSignatureDeformatter.
	* RSAPKCS1SignatureFormatter.cs: Removed a CreateSignature method
	which was present in the base class AsymmetricSignatureFormatter.
	* SHA1Managed.cs: Removed sealed from class declaration. Removed
	destructor and Dispose method as class is fully managed.
	* ToBase64Transform.cs: Added virtual to property CanReuseTransform.

svn path=/trunk/mcs/; revision=9122
2002-11-21 00:48:32 +00:00
Miguel de Icaza 43ab2e6890 Flush
svn path=/trunk/mono/; revision=9121
2002-11-21 00:15:26 +00:00
Gonzalo Paniagua Javier ced0e65179 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
* BufferedStream.cs: applied patch from <[email protected]> that
	fixes Flush ().

svn path=/trunk/mcs/; revision=9120
2002-11-20 23:26:08 +00:00
Miguel de Icaza 7340a83a0a Update news, am sure am missing stuff
svn path=/trunk/mono/; revision=9119
2002-11-20 23:09:08 +00:00
Alejandro Sánchez Acosta 8d573bf640 IExpando added.
svn path=/trunk/mcs/; revision=9118
2002-11-20 21:20:46 +00:00
Alejandro Sánchez Acosta f80f57938d IClrObjectFactory.cs, IComManagedImportUtil.cs and IComSoapPublisher.cs added.
svn path=/trunk/mcs/; revision=9116
2002-11-20 17:13:46 +00:00
Gonzalo Paniagua Javier e2dc2f131b 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: s/MONO_PATH_PREFIX/MONO_PATH/

	* System.Web.UI/LosFormatter.cs: added DateTime to special types.
	* System.Web.UI.WebControls/Calendar.cs: fixed loading/saving selected
	dates.
	* System.Web.UI.WebControls/SelectedDatesCollection.cs: added internal
	function to get the underlying ArrayList.

	Calendar navigation works again. Selecting dates too.

svn path=/trunk/mcs/; revision=9115
2002-11-20 16:45:13 +00:00
Ville Palo d995a54f11 2002-11-20 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
	decimal.c file. Does not work correctly yet.

svn path=/trunk/mcs/; revision=9114
2002-11-20 16:03:02 +00:00
Paolo Molaro f5ba9fba4b Fixed typo found by Philip Van Hoof <[email protected]>.
svn path=/trunk/mcs/; revision=9113
2002-11-20 15:42:23 +00:00
Nick Drochak 7159ba9f99 2002-11-20 Nick Drochak <[email protected]>
* RegistryKey.cs: Fix typo.

svn path=/trunk/mcs/; revision=9112
2002-11-20 13:47:41 +00:00
Daniel Morgan c099e72017 2002-11-20 Daniel Morgan <[email protected]>
* doc/firebird: updated web page

svn path=/trunk/mono/; revision=9111
2002-11-20 13:32:45 +00:00
Dick Porter 3533747a04 2002-11-20 Dick Porter <[email protected]>
* timed-thread.c (_wapi_timed_thread_attach): Attached threads
	need to store their data structure too.

	* threads.c: Make sure the threading data is initialised wherever
	it is needed

2002-11-20  Dick Porter  <[email protected]>

	* threads.c (mono_thread_init): Set the main thread's handle

svn path=/trunk/mono/; revision=9110
2002-11-20 12:32:40 +00:00
Miguel de Icaza 43d6bbdcab Update
svn path=/trunk/mcs/; revision=9108
2002-11-20 02:41:29 +00:00
Miguel de Icaza 4ab843536c Add new file, used for Windows.Forms compilation
svn path=/trunk/mcs/; revision=9107
2002-11-20 02:41:17 +00:00
Miguel de Icaza 3c5f95b45e 2002-11-19 Miguel de Icaza <[email protected]>
* enum.cs: In FindMembers, perform a recursive lookup for values. (34308)

svn path=/trunk/mcs/; revision=9106
2002-11-20 02:28:21 +00:00
Gonzalo Paniagua Javier 8b332266c8 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* DefaultValueAttribute.cs: the attribute applies to All.

svn path=/trunk/mcs/; revision=9105
2002-11-20 02:16:47 +00:00
Gonzalo Paniagua Javier e9fc3d5e64 added files
svn path=/trunk/mcs/; revision=9104
2002-11-20 02:15:36 +00:00
Gonzalo Paniagua Javier 5d07543d21 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog:
	* ElapsedEventArgs.cs:
	* ElapsedEventHandler.cs:
	* Timer.cs:
	* TimersDescriptionAttribute.cs: New files.

	Don't use timers yet. If you do, your program will never end.

svn path=/trunk/mcs/; revision=9103
2002-11-20 02:14:56 +00:00
Miguel de Icaza 87a169f0b7 2002-11-19 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Remove the special
	handling for enumerations, as we only needed the TypeContainer
	functionality to begin with (this is required for the fix below to
	work for enums that reference constants in a container class for
	example).

	* codegen.cs (EmitContext): Make TypeContainer a DeclSpace.

	* enum.cs (Enum.Define): Use `this' instead of parent, so we have
	a valid TypeBuilder to perform lookups on.o

	* class.cs (InheritableMemberSignatureCompare): Use true in the
	call to GetGetMethod and GetSetMethod, because we are comparing
	the signature, and we need to get the methods *even* if they are
	private.

	(PropertyBase.CheckBase): ditto.

svn path=/trunk/mcs/; revision=9102
2002-11-20 01:53:45 +00:00
Alejandro Sánchez Acosta 5798674508 New Attribute to compile list added
svn path=/trunk/mcs/; revision=9101
2002-11-20 00:39:39 +00:00
Alejandro Sánchez Acosta 2974a0320f ApplicationCrmEnabledAttribute.cs added
svn path=/trunk/mcs/; revision=9100
2002-11-20 00:35:45 +00:00
Mike Kestner 0bcfa9caad 2002-11-19 Mike Kestner <[email protected]>
* data/config.in : added the gtk# dll mapping entries

svn path=/trunk/mono/; revision=9099
2002-11-20 00:12:48 +00:00
Daniel Morgan 25fc0f820b 2002-11-19 Daniel Morgan <[email protected]>
* doc/firebird: updated web page based on input
	from the firebird .net data provider author

svn path=/trunk/mono/; revision=9097
2002-11-19 23:08:00 +00:00
Miguel de Icaza 2e561bb2d3 2002-11-19 Miguel de Icaza <[email protected]>
* statement.cs (Switch.ResolveAndReduce, Block.EmitMeta,
	GotoCase.Resolve): Use Peel on EmpytCasts.

	* ecore.cs (EmptyCast): drop child, add Peel method.

svn path=/trunk/mcs/; revision=9095
2002-11-19 22:32:19 +00:00
Miguel de Icaza 71e4f3fbbf Improve test
svn path=/trunk/mcs/; revision=9094
2002-11-19 22:31:45 +00:00
Tim Coleman 9cf7739389 2002-11-19 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseCommand.cs:
                Fix BuildExec to work.

svn path=/trunk/mcs/; revision=9091
2002-11-19 22:24:18 +00:00
Tim Coleman 1801fbf364 2002-11-19 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketSubType.cs:
                More changes to get Sybase queries working
                properly.

svn path=/trunk/mcs/; revision=9090
2002-11-19 22:22:51 +00:00
Gonzalo Paniagua Javier b5d3540cb7 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
* XmlNode.cs:
	(AppendChild): readded refChild != null condition before throwing
	"cannot insert this node in this position" exception. There's probably
	a better solution. Fixes #34191.
	(RemoveAll): changed following Atsushi instructions.

svn path=/trunk/mcs/; revision=9087
2002-11-19 20:37:12 +00:00
Daniel Morgan a89723d5c8 2002-11-19 Carlos Guzm�n �lvarez <[email protected]>
* DataRow.cs: an object that is equal to null
	should be allowed to be set in this indexer too
	to be like .NET

svn path=/trunk/mcs/; revision=9086
2002-11-19 20:13:15 +00:00
Gonzalo Paniagua Javier 302bcca5e4 Added missing file
svn path=/trunk/mcs/; revision=9085
2002-11-19 16:42:52 +00:00
Gonzalo Paniagua Javier 682eeaee73 Hope this is the last commit of the saga
svn path=/trunk/mcs/; revision=9084
2002-11-19 16:36:55 +00:00
Duncan Mak 8e430d4e44 Kill that extra line, blah.
svn path=/trunk/mcs/; revision=9083
2002-11-19 16:32:03 +00:00
Duncan Mak fbdf22214f 2002-11-19 Duncan Mak <[email protected]>
* DesignerAttribute.cs:
	* EditorAttribute: Style changes. Gonzalo committed the build
	fixes before I did.

svn path=/trunk/mcs/; revision=9082
2002-11-19 16:30:00 +00:00
Gonzalo Paniagua Javier e199546d06 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
* DesignerAttribute.cs:
	* EditorAttribute.cs: fixed the build.

svn path=/trunk/mcs/; revision=9081
2002-11-19 16:14:28 +00:00
Nick Drochak ca72938859 2002-11-20 Nick Drochak <[email protected]>
* library.make: for .response allow white space at the end of
	the line

svn path=/trunk/mcs/; revision=9080
2002-11-19 16:11:06 +00:00
Alejandro Sánchez Acosta a8ca726565 DesignerAttribute fixed: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9079
2002-11-19 16:01:15 +00:00
Miguel de Icaza 669a2aef08 oops, fix
svn path=/trunk/mono/; revision=9078
2002-11-19 14:45:03 +00:00
Miguel de Icaza d314ddca35 oops, fix
svn path=/trunk/mono/; revision=9077
2002-11-19 14:43:59 +00:00
Alejandro Sánchez Acosta 72862d1a5a System.ComponentModel updated: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9076
2002-11-19 14:39:37 +00:00
Alejandro Sánchez Acosta 3385adb409 EditorAtrribute and Designer Attribute added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9075
2002-11-19 14:27:29 +00:00
Alejandro Sánchez Acosta e38d6661e8 System.ComponentModel.DesignerAttribute.cs Added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9074
2002-11-19 14:16:35 +00:00
Alejandro Sánchez Acosta b73274fa2f System.ComponentModel.EditorAttribute.cs Added: Alejandro S�nchez Acosta <[email protected]>
svn path=/trunk/mcs/; revision=9073
2002-11-19 14:15:42 +00:00
Miguel de Icaza f1ad845b48 flush
svn path=/trunk/mono/; revision=9072
2002-11-19 13:22:06 +00:00
Paolo Molaro ada4dfab21 Tue Nov 19 14:15:34 CET 2002 Paolo Molaro <[email protected]>
* gc.c: allow compilation without GC support. Changed to match the
	mono coding style.

svn path=/trunk/mono/; revision=9071
2002-11-19 13:20:12 +00:00
Paolo Molaro 4be3ca2233 Tue Nov 19 13:03:27 CET 2002 Paolo Molaro <[email protected]>
* UTF8Encoding.cs: fix GetByteCount (), too.

svn path=/trunk/mcs/; revision=9070
2002-11-19 12:07:19 +00:00
Paolo Molaro c730cb0d52 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <[email protected]>
* StreamWriter.cs: output the encoding preamble at the start of a
	stream if needed.

svn path=/trunk/mcs/; revision=9069
2002-11-19 12:05:09 +00:00
Miguel de Icaza 0fcd47a575 2002-11-19 Miguel de Icaza <[email protected]>
* UnicodeEncoding.cs: the bytemark should only be used to return
	information in GetPreamble, not to actually encode the information
	on the stream.  That is taken care of by the Stream classes.

	* UTF8Encoding.cs: ditto.

svn path=/trunk/mcs/; revision=9068
2002-11-19 11:18:36 +00:00
Tim Coleman 1a91d768dc 2002-11-18 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlConnection.cs:
                BeginTransaction bug.
        * System.Data.SqlClient/SqlParameter.cs:
                Add some comments to describe what is going on.

svn path=/trunk/mcs/; revision=9067
2002-11-19 07:21:23 +00:00
Tim Coleman 62b1d2071f 2002-11-18 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/TdsComm.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketSubType.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketType.cs:
                Sybase compatibility fixes.

svn path=/trunk/mcs/; revision=9066
2002-11-19 07:18:33 +00:00
Tim Coleman 0d8074546e 2002-11-18 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
                Various changes to overhaul Sybase provider,
                and bring it closer to being in-line with
                the SqlClient.  Can now connect to Sybase DB.

svn path=/trunk/mcs/; revision=9065
2002-11-19 07:15:33 +00:00
Tim Coleman bf8dbc7147 2002-11-18 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
                Add a TODO.
        * System.Data.SqlClient/SqlDataReader.cs:
                Add support to get SQL Types
        * System.Data.SqlClient/SqlParameter.cs:
                Add some comments to describe what is going on.

svn path=/trunk/mcs/; revision=9064
2002-11-19 00:28:49 +00:00
Paolo Molaro 5c9470a6e1 Mon Nov 18 18:41:51 CET 2002 Paolo Molaro <[email protected]>
* gc.c: don't start the finalizer thread if the env var GC_DONT_GC is set.

svn path=/trunk/mono/; revision=9062
2002-11-18 17:45:59 +00:00
Paolo Molaro c65dcb173e Mon Nov 18 17:54:22 CET 2002 Paolo Molaro <[email protected]>
* Activator.cs: throw a MissingMethodException if the default
	constructor is not found in CreateInstance.

svn path=/trunk/mcs/; revision=9061
2002-11-18 16:58:27 +00:00
Paolo Molaro 3c310c3846 Mon Nov 18 17:52:56 CET 2002 Paolo Molaro <[email protected]>
* Assembly.cs: implemented GetManifestResourceStream (Type type,
	* String name).

svn path=/trunk/mcs/; revision=9060
2002-11-18 16:56:38 +00:00
Paolo Molaro 5802708086 Mon Nov 18 16:40:34 CET 2002 Paolo Molaro <[email protected]>
* configure.in, mono/os/gc_wrapper.h: check that the gc headers have
	been installed.

svn path=/trunk/mono/; revision=9059
2002-11-18 15:48:05 +00:00
Paolo Molaro ef768d3054 Mon Nov 18 16:35:22 CET 2002 Paolo Molaro <[email protected]>
* reflection.c: set a public key token on the core assemblies.

svn path=/trunk/mono/; revision=9058
2002-11-18 15:39:31 +00:00
Dick Porter 149bb43784 2002-11-18 Dick Porter <[email protected]>
* threads.c: Split out some thread initialisation so that other
	files can set the start callback function.

	* gc.c: Run finalisers in a separate thread, to avoid stack
	overflow.  Fixes bug 31333.

	* appdomain.c: Set up GC finalisation thread.

	* reflection.c:
	* object.c:
	* domain.c: Use gc.h macros for GC_malloc

svn path=/trunk/mono/; revision=9057
2002-11-18 15:11:25 +00:00
Nick Drochak db77736d70 i2002-11-18 Nick Drochak <[email protected]>
* RSAPKCS1SignatureDeformatterTest.cs: MS .NET throws an exception when
	verifying a bad signature.  Test for that.

svn path=/trunk/mcs/; revision=9056
2002-11-18 13:47:15 +00:00
Paolo Molaro f281e2ac89 Mon Nov 18 13:02:09 CET 2002 Paolo Molaro <[email protected]>
* CultureInfo.cs: implemented Equals and GetHashCode.

svn path=/trunk/mcs/; revision=9055
2002-11-18 12:10:56 +00:00
Dennis Hayes 3102bc9733 removing SWF from build. mcs error need fixing
svn path=/trunk/mcs/; revision=9054
2002-11-18 07:16:32 +00:00
Dennis Hayes d322ee58ea removed comvisible
svn path=/trunk/mcs/; revision=9053
2002-11-18 07:08:21 +00:00
Dennis Hayes 8468985f95 replaced 2 byte eol with 1 byte, unix style
svn path=/trunk/mcs/; revision=9052
2002-11-18 07:05:57 +00:00
Dennis Hayes 4830bfef6b added new win32 stuff to makefile
svn path=/trunk/mcs/; revision=9051
2002-11-18 05:17:00 +00:00
Brian Ritchie d6d12b541c Added Description property to Provider
Modified app.config SectionHandler to read optional Description property
Modified sample code & config files to include Description
Added new FillDataSet overload to DataTools

svn path=/trunk/mcs/; revision=9050
2002-11-18 05:01:58 +00:00
Dennis Hayes bbd84a35ec replaced win32.cs with new win32 code
svn path=/trunk/mcs/; revision=9049
2002-11-18 04:55:44 +00:00
Dennis Hayes 67df1a3942 removing old win32 stuff
svn path=/trunk/mcs/; revision=9048
2002-11-18 04:47:30 +00:00
Dennis Hayes 868f725ee7 2002-11-17 DennisHayes <[email protected]>
* AccessibleObject.cs

	* Removed COMvisible. Docs say yes, but verifer says no

  2002-11-17  DennisHayes <[email protected]>	

	* Application.cs
	* Button.cs
	* Control.cs
	* Form.cs
	* Label.cs
	* ListBox.cs
	* Menu.cs
	* MessageBox.cs
	* NativeWindow.cs
	* PrintPreviewDialog.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* VScrollBar.cs

	* Made changes releated to the new win32 stuff

  2002-11-17  DennisHayes <[email protected]>	
	* Win32Enums.cs
	* Win32Handles.cs
	* Win32Interfaces.cs
	* Win32RegistryUtil.cs
	* Win32Structs.cs

	* Completed merging files from  Carlos Harvey Perez
	* Moved all parts of Win32.cs to these files
	* eliminated Win32.cs.
	*
	* many things moved from win32.cs still commented out.
	* Also needs to be mono styled.

	* Win32.cs - removed

svn path=/trunk/mcs/; revision=9047
2002-11-18 04:46:33 +00:00
Dennis Hayes 16503117ea added new win32 stuff, see next log
svn path=/trunk/mcs/; revision=9046
2002-11-18 04:44:37 +00:00
Jackson Harper 8167fff329 Added copyright
svn path=/trunk/mcs/; revision=9045
2002-11-18 03:07:57 +00:00
Jackson Harper 42e92b1009 Added File
svn path=/trunk/mcs/; revision=9044
2002-11-18 03:06:42 +00:00
Sebastien Pouliot 81e1b170bb *** empty log message ***
svn path=/trunk/mcs/; revision=9037
2002-11-17 21:55:50 +00:00
Sebastien Pouliot b5aca35af8 2002-11-17 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added a common RSA keypair for tests and all RSA
	suites for new tests.
	* RSACryptoServiceProviderTest.cs: Include tests for keygen,
	import/export and signature (no encryption yet).
	* RSAOAEPKeyExchangeDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows (cannot yet compare
	with CryptoAPI/Windows as OAEP isn't available on my system).
	* RSAOAEPKeyExchangeFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.
	* RSAPKCS1KeyExchangeDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
	* RSAPKCS1KeyExchangeFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.
	* RSAPKCS1SignatureDeformatterTest.cs: Compare results with
	pre-generated vectors from Mono/Windows and CryptoAPI/Windows.
	* RSAPKCS1SignatureFormatterTest.cs: Test that the Formatter output
	is compatible with the Deformatter.

svn path=/trunk/mcs/; revision=9036
2002-11-17 21:54:09 +00:00
Sebastien Pouliot a207a19f3b 2002-11-17 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Added full classes name for MapNameToOID.
	* PKCS1.cs: New. Internal class for the various primitives defined
	in PKCS#1 v.2.1.
	* PKCS1MaskGenerationFunction.cs: Modified to use PKCS1.cs.
	* RSA.cs: Added internal class RSAHandler (which implements IHandler
	interface for MiniParser) to import RSA keypairs from XML strings.
	* RSACryptoServiceProvider.cs: Crypto implemented using BigInteger.
	Key generation is VERY LONG.
	* RSAOAEPKeyExchangeDeformatter.cs: Completed using PKCS1. Not sure
	of the results as this is not available in all versions of Windows.
	* RSAOAEPKeyExchangeFormatter.cs: Completed using PKCS1. Not sure
	of the results as this is not available in all versions of Windows.
	* RSAPKCS1KeyExchangeDeformatter.cs: Completed using PKCS1.
	* RSAPKCS1KeyExchangeFormatter.cs: Completed using PKCS1.
	* RSAPKCS1SignatureDeformatter.cs: Completed using PKCS1.
	* RSAPKCS1SignatureFormatter.cs: Completed using PKCS1.

svn path=/trunk/mcs/; revision=9035
2002-11-17 21:49:53 +00:00
Daniel Morgan 7f3e87c346 2002-11-17 Daniel Morgan <[email protected]>
* DataGrid.cs: Redid Clear(). Made GetResolvedDataSource() protected.

	* LoginDialog.cs: if Cancel is clicked, don't set provider

	* sqlsharpgtk.cs: for bottom panel (Output Results) add tool bar button
	to toggle between DataGrid and TextView

svn path=/trunk/mcs/; revision=9033
2002-11-17 20:21:39 +00:00
Sebastien Pouliot 2f884ec9e0 2002-11-17 Sebastien Pouliot <[email protected]>
* unix.args: added missing files from System.Security.Cryptography
	namespace.

svn path=/trunk/mcs/; revision=9032
2002-11-17 18:26:59 +00:00
Sebastien Pouliot fa8fc401f8 2002-11-17 Sebastien Pouliot <[email protected]>
* MiniParser.cs: Added explicit cast in order to compile with mcs.

svn path=/trunk/mcs/; revision=9031
2002-11-17 18:17:33 +00:00
Martin Baulig 1585ebb20e 2002-11-17 Martin Baulig <[email protected]>
* ecore.cs (EmptyCast.Child): New public property.

	* statement.cs (SwitchLabel.ResolveAndReduce): Check whether the
	label resolved to an EmptyCast.  Fixes #34162.
	(GotoCase.Resolve): Likewise.
	(Block.EmitMeta): Likewise.

svn path=/trunk/mcs/; revision=9030
2002-11-17 16:51:14 +00:00
Martin Baulig 4d03d4a538 Added two more testcases.
svn path=/trunk/mcs/; revision=9029
2002-11-17 16:34:42 +00:00
Martin Baulig 698428585e 2002-11-17 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterConversion): Prefer int over
	uint; short over ushort; long over ulong for integer literals.
	Use ImplicitConversionExists instead of StandardConversionExists
	since we also need to check for user-defined implicit conversions.
	Fixes #34165.  Added test-173.cs.

svn path=/trunk/mcs/; revision=9028
2002-11-17 16:32:15 +00:00
Martin Baulig 62e0cd7f83 2002-11-17 Martin Baulig <[email protected]>
* expression.cs (Invocation.BetterConversion): Prefer int over
	uint; short over ushort; long over ulong for integer literals.
	Fixes #34165.  Added test-173.cs.

svn path=/trunk/mcs/; revision=9027
2002-11-17 15:52:13 +00:00
Martin Baulig eaabc5843d 2002-11-17 Martin Baulig <[email protected]>
* README.tests: Whoever added test-167 to test-172
	while I was away, you forgot to add them here.

svn path=/trunk/mcs/; revision=9026
2002-11-17 15:44:34 +00:00
Martin Baulig 6e2cc71e0a 2002-11-17 Martin Baulig <[email protected]>
* test-173.cs: New test for bug #34165.

svn path=/trunk/mcs/; revision=9025
2002-11-17 15:43:48 +00:00
Sebastien Pouliot 2c1416ae74 2002-11-17 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added missing crypto test files.

svn path=/trunk/mcs/; revision=9024
2002-11-17 14:33:49 +00:00
Sebastien Pouliot db91d39fd8 *** empty log message ***
svn path=/trunk/mcs/; revision=9023
2002-11-17 03:46:31 +00:00
Sebastien Pouliot cf5c9be82c 2002-11-16 Sebastien Pouliot <[email protected]>
* corlib_test.build: removed DSATest from exclusions.

svn path=/trunk/mcs/; revision=9022
2002-11-17 03:42:14 +00:00
Sebastien Pouliot 619d5022f2 2002-11-16 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suites for DSASignatureDeformatter,
	DSASignatureFormatter.
	* CryptoConfigTest.cs: Tests new URLs. This test will fail
	if System.Security.dll isn't present (or not yet compiled).
	* DSACryptoServiceProviderTest.cs: New. Key generation (limited
	because it's too slow), Import/Export, Signature and Verification.
	* DSASignatureDeformatterTest.cs: New. Test signature verification.
	* DSASignatureFormatterTest.cs: New. Test signature creation.
	* DSATest.cs: Comment DSA-derived test class as DSA constructor
	is internal. Reworked the test suite.
	* SignatureDescriptionTest.cs: Added tests for
	DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.

svn path=/trunk/mcs/; revision=9021
2002-11-17 03:41:06 +00:00
Sebastien Pouliot 7613418766 2002-11-16 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Added internal class AsymmetricParameters
	(which implements the IReader interface for MiniParser). Corrected
	Dispose declaration.
	* BigInteger.cs: New. Internal class for handling BIG integers for
	asymmetric crypto (both RSA and DSA). Thanks to Chew Keong TAN !
	* CryptoConfig.cs: Added XMLDSIG URLs in CreateFromName.
	Will dynamically load System.Security.dll, when required,
	to return instance of those classes. Also CryptoConfig can now
	create any object (e.g. System.IO.MemoryStream) !
	* DSA.cs: Added internal class DSAHandler (which implements IHandler
	interface for MiniParser) to import DSA keypairs from XML strings.
	* DSACryptoServiceProvider.cs: Crypto fully implemented using
	BigInteger. Key generation (group) is VERY long.
	* MiniParser.cs: New. Minimal XML parser by Sergey Chaban. Used to
	import keypairs in XML strings.
	* SignatureDescription.cs: Removed local CreateFromName (to use
	CryptoConfig - which actually can create anything). Added internal
	classes DSASignatureDescription and RSAPKCS1SHA1SignatureDescription.

svn path=/trunk/mcs/; revision=9020
2002-11-17 03:38:23 +00:00
Daniel Morgan 5c61c18c2d 2002-11-16 Daniel Morgan <[email protected]>
* DataGrid.cs: made this a GTK# widget and
	  removed any references to System.Data

	* DbProvider.cs: added DbDataAdpter class

	* SqlEditorSharp.cs: made this an actual GTK# widget and
	  added a few more SQL keywords

	* sqlsharpgtk.cs: use the GTK# DataGrid for results by
	  using a DbDataAdapter to Fill a DataTable and then
	  data bind that DataTable to the DataGrid

	* win32.make: added DataGrid.cs to build

	* DataGrid.Makefile.win32: removed file

svn path=/trunk/mcs/; revision=9019
2002-11-17 00:44:26 +00:00
Martin Baulig e46d25ace4 2002-11-16 Martin Baulig <[email protected]>
* expression.cs (Binary.EmitBranchable): Eliminate comparisions
	with the `true' and `false' literals.  Fixes #33151.

svn path=/trunk/mcs/; revision=9018
2002-11-16 23:06:39 +00:00
Martin Baulig 5cc99c3edb 2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
	Please update your scripts, the `dist' target will disappear soon.

svn path=/trunk/mcs/; revision=9017
2002-11-16 22:24:34 +00:00
Martin Baulig 1b985f1b04 2002-11-16 Martin Baulig <[email protected]>
* typemanager.cs (RealMemberLookup): Reverted Miguel's patch from
	October 22nd; don't do the cs1540 check for static members.

	* ecore.cs (PropertyExpr.ResolveAccessors): Rewrote this; we're
	now using our own filter here and doing the cs1540 check again.

svn path=/trunk/mcs/; revision=9016
2002-11-16 22:18:08 +00:00
Daniel Morgan 193f77b131 2002-11-16 Daniel Morgan <[email protected]>
* DataGrid.cs
	* DataGrid.Makefile.win32: DataGrid demo based on the
	TreeViewDemo in GTK#.  It works on GTK# Win32.
	Includes the start of data binding for a GTK# widget.
	However, it needs to be generalized into base classes.
	The goal is to make a DataGrid for GTK# to be like
	a ASP.NET DataGrid and Windows.Froms DataGrid.

svn path=/trunk/mcs/; revision=9015
2002-11-16 19:13:10 +00:00
Daniel Morgan 78becabf3d 2002-11-16 Daniel Morgan <[email protected]>
* System.Data/DataView.cs: fix bug
	with DataViewEnumerator causing InvalidOperationException
	on the last item

svn path=/trunk/mcs/; revision=9014
2002-11-16 18:51:45 +00:00
Martin Baulig 5b13ec2c6c 2002-11-16 Martin Baulig <[email protected]>
* support.cs (InternalParameters): Don't crash if we don't have
	any fixed parameters.  Fixes #33532.

svn path=/trunk/mcs/; revision=9013
2002-11-16 17:50:40 +00:00
Martin Baulig f282c09a4f 2002-11-16 Martin Baulig <[email protected]>
* decl.cs (MemberCache.AddMethods): Use BindingFlags.FlattenHierarchy
	when looking up static methods to make this work on Windows.
	Fixes #33773.

svn path=/trunk/mcs/; revision=9012
2002-11-16 17:16:31 +00:00
Martin Baulig 331bcc78dd Added one more testcase.
svn path=/trunk/mcs/; revision=9011
2002-11-16 14:51:10 +00:00
Martin Baulig 57b772fa58 2002-11-16 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.VerifyAssignable): Check whether we have
	a setter rather than using PropertyInfo.CanWrite.

svn path=/trunk/mcs/; revision=9010
2002-11-16 14:49:47 +00:00
Tim Coleman eb63da16dd 2002-11-16 Tim Coleman <[email protected]>
* makefile.gnu:
                Add MONO_PATH_PREFIX so build doesn't
                fail if System.Data has not yet been installed.

svn path=/trunk/mcs/; revision=9006
2002-11-16 07:17:06 +00:00
Tim Coleman 2c610eea56 Fix things that made tests fail from last checkin.
svn path=/trunk/mcs/; revision=9005
2002-11-16 05:45:38 +00:00
Tim Coleman fee93a0e15 forgot to commit changelog.
svn path=/trunk/mcs/; revision=9004
2002-11-16 04:15:41 +00:00
Tim Coleman 348806b401 2002-11-15 Tim Coleman <[email protected]>
* System.Data.Common/DbDataPermission.cs:
        * System.Data.SqlClient/SqlClientPermission.cs:
                Make these agree on the class status page.
        * System.Data.SqlClient/SqlCommand.cs:
                - Fix up handling of GUID and [Var]Binary, and Image types
        * System.Data.SqlClient/SqlParameter.cs:
                - Provide support for conversion between Type,
                  DbType, SqlDbType, and the SQL server type names.
                - Fix up handling of GUID and [Var]Binary types
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Correct all of the Add methods.
        * Test/SqlTest.cs:
                - Add more types to test: unique identifier, binary,
                  image, smalldatetime, money, smallmoney, timestamp

svn path=/trunk/mcs/; revision=9003
2002-11-16 04:14:16 +00:00
Tim Coleman fe47af80e0 2002-11-15 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Add support for UniqueIdentifier (GUID),
                Money types

svn path=/trunk/mcs/; revision=9002
2002-11-16 04:12:16 +00:00
Martin Baulig 1de8c61d48 Ooops, accidentally reverted this one as well.
svn path=/trunk/mcs/; revision=9000
2002-11-15 23:16:10 +00:00
Martin Baulig 923fc8a579 Put this back and made it actually work.
2002-11-14  Martin Baulig  <[email protected]>

	* class.cs (Constructor.Emit): Added the extern/block check.
	Fixes bug #33678.

svn path=/trunk/mcs/; revision=8999
2002-11-15 16:27:51 +00:00
Sebastien Pouliot 55a6430bfb 2002-11-15 Sebastien Pouliot <[email protected]>
* CryptographicUnexpectedOperationException.cs: Forgot it last time!
	* FromBase64Transform.cs: Added missing virtual to CanReuseTransform.
	Changed Dispose().
	* HashAlgorithm.cs: Changed Dispose().
	* MD5CryptoServiceProvider.cs: Added destructor and Dipose(bool).
	* PasswordDeriveBytes.cs: Changed some declaration from
	protected to private.
	* RC2.cs: Added valid keysize check in EffectiveKeySize.
	* RC2CryptoServiceProvider.cs: Overriden EffectiveKeySize to match
	corlib declarations.
	* RSAOAEPKeyExchangeDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAOAEPKeyExchangeFormatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1KeyExchangeDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1KeyExchangeFormatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1SignatureDeformatter.cs: Changed some declaration from
	protected to private.
	* RSAPKCS1SignatureFormatter.cs: Changed some declaration from
	protected to private.
	* SHA1CryptoServiceProvider.cs: Moved SHA1 code to SHA1Internal.
	SHA1CryptoServiceProvider now use SHA1Internal. Added Dispose and
	destructor.
	* SHA1Managed.cs: New. Use SHA1Internal. Same as
	SHA1CryptoServiceProvider but is required for binary compatibility.
	* SHA256Managed.cs: Changed some declaration from protected to private.
	* SHA384Managed.cs: Changed some declaration from protected to private.
	* SHA512Managed.cs: Changed some declaration from protected to private.
	* SymmetricAlgorithm.cs: Added Clear(), changed Dispose() and added
	virtual to Dispose(bool).
	* ToBase64Transform.cs: Added missing virtual to CanReuseTransform.
	Changed Dispose().
	* TripleDESCryptoServiceProvider.cs: Added missing sealed to class
	declaration.

svn path=/trunk/mcs/; revision=8998
2002-11-15 14:39:21 +00:00
Dick Porter 9970685f3c Debugging messages
svn path=/trunk/mono/; revision=8997
2002-11-15 13:49:36 +00:00
Dick Porter 111b021828 2002-11-15 Dick Porter <[email protected]>
* timed-thread.c: Removed unneeded parameters in
	_wapi_timed_thread_attach().

	* threads.c: Renamed AttachThread() to make it not look like
	external API.  Removed unneeded parameters.

2002-11-15  Dick Porter  <[email protected]>

	* threadpool.c:
	* threads.c:
	* appdomain.c: Removed mono_runtime_init_with_attach(),
	mono_thread_create_arg(), and mono_thread_init_with_attach(), by
	merging the extra parameter with the existing function.  Removed
	unneeded code in mono_thread_attach().

2002-11-15  Dick Porter  <[email protected]>

	* jit.c: Pass the attach callback to mono_runtime_init().

2002-11-15  Dick Porter  <[email protected]>

	* interp.c: mono_runtime_init() now has an extra parameter for
	thread attaching.

svn path=/trunk/mono/; revision=8996
2002-11-15 13:41:42 +00:00
Paolo Molaro 0b6d4a6bf9 Fri Nov 15 12:26:48 CET 2002 Paolo Molaro <[email protected]>
* class.cs: back out the last two changes to class.cs, since that
	breaks the compilation of the string internalcall constructors in
	corlib.

svn path=/trunk/mcs/; revision=8995
2002-11-15 11:31:50 +00:00
Nick Drochak b485b6dd73 2002/11/15 Nick Drochak <[email protected]>
* class.cs: Allow acces to block member by subclasses. Fixes build
	breaker.

svn path=/trunk/mcs/; revision=8994
2002-11-15 08:36:46 +00:00
Tim Coleman 280139db99 2002-11-15 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Add support for UniqueIdentifier (GUID)
                types

svn path=/trunk/mcs/; revision=8993
2002-11-15 06:55:50 +00:00
Tim Coleman da76a83b30 2002-11-15 Tim Coleman <[email protected]>
* Test/SqlTest.cs:
                - Add more types to test: unique identifier, binary
                  types.
        * System.Data.SqlClient/SqlParameter.cs:
                - Provide support for conversion between Type,
                  DbType, SqlDbType, and the SQL server type names.
                - Fix up handling of GUID and [Var]Binary types
        * System.Data.SqlClient/SqlCommand.cs:
                - Fix up handling of GUID and [Var]Binary types

svn path=/trunk/mcs/; revision=8992
2002-11-15 06:53:30 +00:00
Daniel Morgan c831770264 2002-11-14 Daniel Morgan <[email protected]>
* System.Data/DataColumnPropertyDescriptor.cs
	* System.Data/DataRowView.cs
	* System.Data/DataView.cs
	* System.Data.Common/DbDataRecord.cs: a little bit more
	implementation for data binding purposes

	* Test/PostgresTest.cs
	* Test/TestSqlDataAdapter.cs
	* Test/TestSqlException.cs
	* TestSqlParameters.cs: fixed test for PostgreSQL's new home
	at Mono.Data.PostgreSqlClient

svn path=/trunk/mcs/; revision=8991
2002-11-14 23:27:34 +00:00
Martin Baulig 6c005235b3 2002-11-14 Martin Baulig <[email protected]>
* class.cs (Constructor.Emit): Added the extern/block check.
	Fixes bug #33678.

svn path=/trunk/mcs/; revision=8990
2002-11-14 23:03:45 +00:00
Martin Baulig e3842000d3 2002-11-14 Martin Baulig <[email protected]>
* test-148.cs: Added some tests from bug #33089.

svn path=/trunk/mcs/; revision=8989
2002-11-14 22:56:51 +00:00
Martin Baulig 2b808a73a4 2002-11-14 Martin Baulig <[email protected]>
* expression.cs (IndexerAccess.DoResolve): Do a DeclaredOnly
	iteration while looking for indexers, this is needed because the
	indexer may have a different name in our base classes.  Fixed the
	error reporting (no indexers at all, not get accessor, no
	overloaded match).  Fixes bug #33089.
	(IndexerAccess.DoResolveLValue): Likewise.

svn path=/trunk/mcs/; revision=8988
2002-11-14 22:55:48 +00:00
Tim Coleman c483cbebff 2002-11-14 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybaseDataReader.cs:
                Change SchemaTable handling

svn path=/trunk/mcs/; revision=8987
2002-11-14 22:00:39 +00:00
Tim Coleman 0f2a4f2e40 2002-11-14 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
                Slight reformatting of Bit values and sql statements
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement RecordsAffected
                Complete SchemaTable
        * System.Data.SqlClient/SqlParameter.cs:
                Propertly support Char/NChar
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Add Close () to the Dispose () method

svn path=/trunk/mcs/; revision=8986
2002-11-14 21:59:53 +00:00
Tim Coleman 18d4a5dd9b 2002-11-14 Tim Coleman <[email protected]>
* list:
        * Mono.Data.TdsClient/TdsType.cs:
                Add this class
        * Mono.Data.TdsClient/TdsDataReader.cs:
                Add GetSchemaTable implementation
        * Mono.Data.TdsClient.Internal/ITds.cs:
                Add RecordsAffected
        * Mono.Data.TdsClient.Internal/Tds.cs:
                Add RecordsAffected
                Fix handling of DateTime, decimal, and float types
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketColumnInfoResult.cs:
        * Mono.Data.TdsClient.Internal/TdsSchemaInfo.cs:
                Change SchemaTable handling
        * Mono.Data.TdsClient.Internal/TdsPacketRowResult.cs:
                Add proper decimal handling

svn path=/trunk/mcs/; revision=8985
2002-11-14 21:58:53 +00:00
Martin Baulig 0a814a73af 2002-11-14 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Make this work for multiple
	indexers.  Fixes the first part of bug #33089.
	(MethodSignature.InheritableMemberSignatureCompare): Added support
	for properties.

svn path=/trunk/mcs/; revision=8984
2002-11-14 21:06:02 +00:00
Jackson Harper 177400c0dd ToString now uses the SecurityElement class, Assembly byte data is cached after the first load
svn path=/trunk/mcs/; revision=8983
2002-11-14 15:04:22 +00:00
Tim Haynes 8e5d94b769 Applied the OpenLink mono_thread_attach patch
svn path=/trunk/mono/; revision=8982
2002-11-14 14:36:37 +00:00
Dietmar Maurer 2f66af5499 2002-11-14 Dietmar Maurer <[email protected]>
* image.c (mono_image_loaded_by_guid): a method to get loaded
	images by guid.
	(load_metadata_ptrs): we store the guid as string.

svn path=/trunk/mono/; revision=8981
2002-11-14 13:05:23 +00:00
Daniel Morgan 78a4392c55 2002-11-14 Daniel Morgan <[email protected]>
* PgSqlConnection.cs: redid connection parameters
	based on SqlClient's SqlConnection

	* PgSqlCommand.cs: redid handling of different
	CommandType of CommandText, StoredProcedure,
	and TableDirect. Got rid of debug messages

svn path=/trunk/mcs/; revision=8980
2002-11-14 12:40:40 +00:00
Jackson Harper 09ad971755 Added more tests
svn path=/trunk/mcs/; revision=8979
2002-11-14 03:37:19 +00:00
Duncan Mak 48455fcb1c 2002-11-13 Duncan Mak <[email protected]>
* XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
	compiling.

svn path=/trunk/mcs/; revision=8977
2002-11-14 00:26:09 +00:00
Tim Coleman 8805707f96 2002-11-13 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/Tds.cs:
                Fix GetStringValue, GetTextValue when handling NULL
                values.

svn path=/trunk/mcs/; revision=8976
2002-11-13 21:34:59 +00:00
Tim Coleman 2c55c80d7c 2002-11-13 Tim Coleman <[email protected]>
* Test/SqlTest.cs:
                New class added for testing SqlClient
        * System.Data.SqlClient/SqlCommand.cs:
                Add handling for SqlDbType.Bit
        * System.Data.SqlClient/SqlConnection.cs:
                Implement Dispose () methods.
                Change ConnectionString setter
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement Dispose () methods.
                Set RecordsAffected to -1 by default. Need to
                set this correctly in the future.
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Implement Dispose () methods.

svn path=/trunk/mcs/; revision=8975
2002-11-13 21:33:39 +00:00
Gonzalo Paniagua Javier c8003f30ce 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* AspElements.cs: added ServerComment class.
	* AspParser.cs: ignore ServerComments tags. Remove server comments when
	in verbatim mode.

	Fixes #33482.

	* PageCompiler.cs: check if the type is already cached before generating
	the C# file.
	* TemplateFactory.cs: if csFile parameter is null, only checks if we
	already have the page compiled.

svn path=/trunk/mcs/; revision=8974
2002-11-13 19:07:23 +00:00
Gonzalo Paniagua Javier b2f020a288 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: only move the remaining chars in Remove.

svn path=/trunk/mcs/; revision=8973
2002-11-13 18:46:19 +00:00
Ravi Pratap M 37be7e701f 2002-11-13 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.Resolve): Catch the
	NullReferenceException and report it since it isn't supposed to
	happen.

svn path=/trunk/mcs/; revision=8972
2002-11-13 17:52:15 +00:00
Tim Coleman d9955231f6 2002-11-13 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                Implement Dispose () methods.

svn path=/trunk/mcs/; revision=8971
2002-11-13 17:32:22 +00:00
Atsushi Eno 50c3bfb8e5 *** empty log message ***
svn path=/trunk/mcs/; revision=8970
2002-11-13 16:36:13 +00:00
Dick Porter 243a8ee50a 2002-11-13 Dick Porter <[email protected]>
* Socket.cs: Only close the socket in one place, ie the Dispose
	method.  Fixes bug 32054.

svn path=/trunk/mcs/; revision=8969
2002-11-13 16:28:01 +00:00
Tim Coleman 1e2a83c388 2002-11-13 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/TdsComm.cs:
                Comment out asynchronous socket connect
                because it doesn't work properly yet on
                Linux.

svn path=/trunk/mcs/; revision=8968
2002-11-13 15:56:51 +00:00
Daniel Morgan 5d89243800 2002-11-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlParameter.cs
	* Mono.Data.MySql/MySqlParameterCollection.cs: added
	simple input parameters support.  AFAIK, MySQL does not
	support parameters, so this is just a search and replace

	* Test/TestParameters.cs: add file to test Parameters

	* Test/TestDataAdapter.cs: add file to test MySqlDataAdapter

	* Mono.Data.MySql.build: added files to windows build

	* list: added files to linux build

	* Mono.Data.MySql/MySql.cs: make sure all
	DllImport attributes
	also have the SuppressUnmanagedCodeSecurity attribute

	* Mono.Data.MySql/MySqlCommand.cs: add support for
	input parameters, don't execute empty queries,
	and support of CommandTypes of StoredProcedure and TableDirect

	* Mono.Data.MySql/MySqlConnection.cs: borrowed Tim Coleman's
	code from SqlConnection to handle connection
	parameters correctly

	* Mono.Data.MySql/MySqlTypes.cs
	* Mono.Data.MySql/MySqlDataReader.cs: started support
	for NULL values.

	* Test/MySqlTest.cs: test for NULL values, stored procedures,
	executing a non-query via ExecuteReader(), new connection
	string functionality, and exception handling

svn path=/trunk/mcs/; revision=8967
2002-11-13 13:14:46 +00:00
Gonzalo Paniagua Javier 373e24c1e6 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: added a few attributes and fixed infinite recursion.

svn path=/trunk/mcs/; revision=8966
2002-11-13 03:31:25 +00:00
Gonzalo Paniagua Javier 8e77bb802d object
svn path=/trunk/mcs/; revision=8965
2002-11-13 00:56:39 +00:00
Gonzalo Paniagua Javier 7c21deddca 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* StringTest.cs: added 1 more check.

svn path=/trunk/mcs/; revision=8964
2002-11-13 00:50:22 +00:00
Gonzalo Paniagua Javier 5efc18dacf 2002-11-13 Gonzalo Paniagua Javier <[email protected]>
* String.cs:
	(Equals (str, str)): use 'as' instead of casting to object.
	(Equals (obj)): check the length of the strings (until now,
	"Hello".Equals ((object) "Hellow World!) was true!).

svn path=/trunk/mcs/; revision=8963
2002-11-13 00:27:01 +00:00
Tim Coleman 6e408491ce Missed commit.
svn path=/trunk/mcs/; revision=8962
2002-11-12 21:54:45 +00:00
Tim Coleman d0561794c0 2002-11-12 Tim Coleman <[email protected]>
* list:
                Remove Mono.Data.TdsClient.Internal/TdsContext.cs

svn path=/trunk/mcs/; revision=8961
2002-11-12 21:53:30 +00:00
Tim Coleman 6166b99fb0 2002-11-12 Tim Coleman <[email protected]>
* ChangeLog: commit changelog

svn path=/trunk/mcs/; revision=8960
2002-11-12 21:52:39 +00:00
Tim Coleman a801529248 2002-11-12 Tim Coleman <[email protected]>
* Mono.Data.TdsClient.Internal/TdsContext.cs:
                Remove this class as it is not being used
        * Mono.Data.TdsClient.Internal/ITds.cs
        * Mono.Data.TdsClient.Internal/Tds.cs
        * Mono.Data.TdsClient.Internal/Tds42.cs
        * Mono.Data.TdsClient.Internal/Tds50.cs
        * Mono.Data.TdsClient.Internal/Tds70.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnInfoResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnNamesResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketColumnOrderResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketControlResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketEndTokenResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketOutputParam.cs
        * Mono.Data.TdsClient.Internal/TdsPacketRetStatResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketRowResult.cs
        * Mono.Data.TdsClient.Internal/TdsPacketUnknown.cs
                Remove references to System.Data

svn path=/trunk/mcs/; revision=8958
2002-11-12 21:51:39 +00:00
Gonzalo Paniagua Javier 6650ebb9d0 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* ListItemCollection.cs: fixed LoadViewState.

svn path=/trunk/mcs/; revision=8957
2002-11-12 20:20:05 +00:00
Gonzalo Paniagua Javier 7fbc12d1a8 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: fixed LoadViewstate.

svn path=/trunk/mcs/; revision=8956
2002-11-12 19:43:10 +00:00
Ville Palo 0f6f0539b8 2002-11-12 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added tests

svn path=/trunk/mcs/; revision=8953
2002-11-12 17:02:27 +00:00
Atsushi Eno 57fc30817d *** empty log message ***
svn path=/trunk/mcs/; revision=8952
2002-11-12 15:58:31 +00:00
Jackson Harper 93be82ffbb Updated changelog
svn path=/trunk/mcs/; revision=8951
2002-11-12 15:54:54 +00:00
Jackson Harper f574be044c Added mapping attribute to MachineFactories
svn path=/trunk/mcs/; revision=8950
2002-11-12 15:54:11 +00:00
Daniel Morgan 451af388d7 2002-11-12 Daniel Morgan <[email protected]>
* doc/oledb
	* doc/odbc
	* doc/mysql
	* doc/sqlite
	* doc/sqlclient
	* doc/tdsclient
	* doc/sybase
	* doc/firebird: added web pages
	for each specific data provider

	* doc/ado-net
	* doc/postgresql: updated web page
	with current status

	* doc/web/commands
	* doc/web/makefile: updated to include

svn path=/trunk/mono/; revision=8949
2002-11-12 15:53:12 +00:00
Miguel de Icaza 358d3c04b2 2002-11-12 Miguel de Icaza <[email protected]>
* expression.cs (Binary.EmitBranchable): Also handle the cases for
	LogicalOr and LogicalAnd that can benefit from recursively
	handling EmitBranchable.  The code now should be nice for Paolo.

svn path=/trunk/mcs/; revision=8948
2002-11-12 15:04:39 +00:00
Tim Coleman f207a8ecd6 2002-11-12 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Complete these classes
        * System.Data.Common/DbDataAdapter.cs:
                Experimental support for FillSchema ()

svn path=/trunk/mcs/; revision=8947
2002-11-12 14:07:46 +00:00
Tim Coleman 010b734f71 2002-11-12 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Experimental support for FillSchema ()

svn path=/trunk/mcs/; revision=8946
2002-11-12 13:47:37 +00:00
Miguel de Icaza 0f88f4566e new test
svn path=/trunk/mcs/; revision=8945
2002-11-12 10:38:51 +00:00
Jackson Harper 8c740cf9b0 Made class sealed
svn path=/trunk/mcs/; revision=8942
2002-11-12 06:43:55 +00:00
Duncan Mak 1f9d4a0af1 Add a missing comma to make it compile.
svn path=/trunk/mcs/; revision=8941
2002-11-12 06:25:49 +00:00
Jackson Harper 1af6c99f1c Fixed date in changelog
svn path=/trunk/mcs/; revision=8940
2002-11-12 06:23:37 +00:00
Jackson Harper a0859744c7 Reordered ErrorLevel enumeration to match MS values
svn path=/trunk/mcs/; revision=8939
2002-11-12 06:22:28 +00:00
Jackson Harper c93668b17d Error levels are now lower case to match MS spec
svn path=/trunk/mcs/; revision=8938
2002-11-12 06:16:02 +00:00
Jackson Harper 908143d3d4 Updating changelog
svn path=/trunk/mcs/; revision=8937
2002-11-12 06:01:58 +00:00
Jackson Harper 55a2538bd9 Added tests for the Microsoft.CSharp.CompilerError class
svn path=/trunk/mcs/; revision=8936
2002-11-12 06:00:21 +00:00
Brian Ritchie ec761b2301 Fixed section loader in sample app.config
svn path=/trunk/mcs/; revision=8935
2002-11-12 05:41:09 +00:00
Brian Ritchie 2ebe31e07f Initial version
svn path=/trunk/mcs/; revision=8934
2002-11-12 05:40:08 +00:00
Gonzalo Paniagua Javier a921870589 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
	Commented out some code until it works.

svn path=/trunk/mcs/; revision=8933
2002-11-12 04:12:20 +00:00
Gonzalo Paniagua Javier 7e995af70a 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: added array serialization support. Disabled binary
	serialization and add some debugging code.

	* StateBag.cs: the length of the list of value can be less than the
	length if the list of keys when remaining values are null.

svn path=/trunk/mcs/; revision=8932
2002-11-12 04:10:15 +00:00
Gonzalo Paniagua Javier afbb369595 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpException.cs: simple error output.

svn path=/trunk/mcs/; revision=8931
2002-11-12 04:06:48 +00:00
Gonzalo Paniagua Javier 7d68ae980d 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: style.
	* HttpException.cs: style.
	* HttpRuntime.cs: only flush the response if there are no errors.
	Otherwise, write an error output.
	* HttpWriter.cs: change Unicode to UTF8.

svn path=/trunk/mcs/; revision=8930
2002-11-12 04:02:01 +00:00
Tim Coleman f85d5ca788 2002-11-11 Tim Coleman <[email protected]>
* ChangeLog:
		Forgot to commit with last changes.

svn path=/trunk/mcs/; revision=8929
2002-11-12 02:08:36 +00:00
Tim Coleman fd3eb796ee 2002-11-11 Tim Coleman <[email protected]>
* list.unix:
        * list:
        * System.ComponentModel/DesignTimeVisibleAttribute.cs:
                Add new class

svn path=/trunk/mcs/; revision=8928
2002-11-12 02:05:34 +00:00
Tim Coleman ee1c3a6682 2002-11-11 Tim Coleman <[email protected]>
* System.Data/ResDescriptionAttribute.cs:
        * list
                New internal class added
        * System.Data/Constraint.cs:
        * System.Data/ConstraintCollection.cs:
        * System.Data/DBConcurrencyException.cs:
        * System.Data/DataColumn.cs:
        * System.Data/DataColumnCollection.cs:
        * System.Data/DataRelation.cs:
        * System.Data/DataRelationCollection.cs:
        * System.Data/DataRow.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataRowBuilder.cs:
        * System.Data/DataRowCollection.cs:
        * System.Data/DataSet.cs:
        * System.Data/DataTable.cs:
        * System.Data/DataTableCollection.cs:
        * System.Data/DataView.cs:
        * System.Data/DataViewManager.cs:
        * System.Data/DataViewSetting.cs:
        * System.Data/DataViewSettingCollection.cs:
        * System.Data/ForeignKeyConstraint.cs:
        * System.Data/ForeignKeyConstraint.cs:
        * System.Data/InternalDataCollectionBase.cs:
        * System.Data/MergeFailedEventArgs.cs:
        * System.Data/StrongTypingException.cs:
        * System.Data/TypeDataSetGeneratorException.cs:
        * System.Data/UniqueConstraint.cs:
        * System.Data.Common/DataAdapter.cs:
        * System.Data.Common/DataColumnMapping.cs:
        * System.Data.Common/DataColumnMappingCollection.cs:
        * System.Data.Common/DataTableMapping.cs:
        * System.Data.Common/DataTableMappingCollection.cs:
        * System.Data.Common/DbDataAdapter.cs:
        * System.Data.Common/DbDataPermission.cs:
        * System.Data.Common/DbDataPermissionAttribute.cs:
        * System.Data.Common/DbEnumerator.cs:
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlCommandBuilder.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlParameter.cs:
                Add missing attributes, methods, properties based on information
                from System.Data class status page on go-mono.com.

svn path=/trunk/mcs/; revision=8927
2002-11-12 01:41:04 +00:00
Gonzalo Paniagua Javier bfdbb8d19b 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: added ItemHeight and DrawMode properties. Fixes the build
	in unix.

svn path=/trunk/mcs/; revision=8926
2002-11-12 01:23:45 +00:00
Gonzalo Paniagua Javier cb5428143b 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
* jit.c: display the domain name in trace output.

svn path=/trunk/mono/; revision=8925
2002-11-11 23:23:45 +00:00
Daniel Morgan ba8c6604fa 2002-11-11 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added new SQL# command \exexml
	to execute a query and put results in an xml file via a
	generic DbDataAdapter and a DataSet.  Added
	Mono.Data.SybaseClient as a provider to use
	via \provider sybase which is easier than SQL# command
	\loadextprovider Mono.Data.SybaseClient Mono.DataSybaseClient.SybaseConnection

svn path=/trunk/mcs/; revision=8924
2002-11-11 21:05:57 +00:00
Dennis Hayes d072aa90fa 2002-10-29 DennisHayes <[email protected]>
* AmbientProperties.cs
	* Application.cs
	* ApplicationContext.cs
	* CheckBox.cs
	* CheckedListBox.cs
	* ColumnHeader.cs
	* ContainerControl.cs
	* ContextMenu.cs
	* Control.cs
	* Cursors.cs
	* HScrollBar.cs
	* ListBox.cs
	* MainMenu.cs
	* Menu.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* PictureBox.cs
	* ScrollableControl.cs
	* ScrollBar.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* VScrollBar.cs
	* Win32.cs

	* minor formating, bug fixes, and implmentation

svn path=/trunk/mcs/; revision=8923
2002-11-11 19:41:27 +00:00
Mark Crichton bb76e0b68b Some debugging stubs.
svn path=/trunk/mono/; revision=8922
2002-11-11 19:13:08 +00:00
Gonzalo Paniagua Javier 33a0d2930f 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: implemented more stuff. It works now.

svn path=/trunk/mcs/; revision=8921
2002-11-11 18:37:18 +00:00
Gonzalo Paniagua Javier f736e972b4 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* error.[ch]: added errno_to_WSA (). It displays a warning and return
	WSASYSCALLFAILURE if there is no error mapping for the given errno,

	* sockets.c: use errno_to_WSA and fixed display of warning for h_errno.

svn path=/trunk/mono/; revision=8920
2002-11-11 18:34:15 +00:00
Gonzalo Paniagua Javier 557bfcd615 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10107 -> WASSYSCALLFAILURE.

svn path=/trunk/mcs/; revision=8919
2002-11-11 18:29:43 +00:00
Dietmar Maurer 743f2e118f 2002-11-11 Dietmar Maurer <[email protected]>
* assembly.c (mono_assembly_open): check the guid of aot compiled lib.

	* metadata.c (mono_guid_to_string): imported method form Zoltan
	Varga (slightly modified)

svn path=/trunk/mono/; revision=8918
2002-11-11 15:31:44 +00:00
Dietmar Maurer a8a58ba6e7 *** empty log message ***
svn path=/trunk/mono/; revision=8917
2002-11-11 13:23:56 +00:00
Ville Palo 92765a602d 2002-11-10 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlString.cs: Now all methods are implemented

svn path=/trunk/mcs/; revision=8916
2002-11-10 17:47:54 +00:00
Ville Palo 5c92934c86 2002-11-10 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlStringTest.cs: Added more tests

svn path=/trunk/mcs/; revision=8915
2002-11-10 17:44:51 +00:00
Tim Coleman 33a56d34d7 2002-10-09 Tim Coleman <[email protected]>
* OleDbDataAdapter.cs:
		Change events to be consistent.  Rodrigo didn't see this
		change.

svn path=/trunk/mcs/; revision=8911
2002-11-10 03:51:15 +00:00
Tim Coleman 92e362c7b2 2002-11-09 Tim Coleman <[email protected]>
* list:
        * System.Data/DataCategoryAttribute.cs:
                Add new attribute based on corcompare

svn path=/trunk/mcs/; revision=8910
2002-11-10 02:52:54 +00:00
Rodrigo Moya 3430bfbe80 2002-11-09 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
	based on the PgSql/SqlClient data adapter classes.

svn path=/trunk/mcs/; revision=8908
2002-11-10 01:17:38 +00:00
Tim Coleman a4d4fbd2f9 2002-11-09 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlErrorCollection.cs:
		Remove ToString ()

svn path=/trunk/mcs/; revision=8907
2002-11-10 00:38:08 +00:00
Tim Coleman 06104bff0c 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal tds classes
        * System.Data.Common/DbDataAdapter.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Change event calling system
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
                Add comments
        * System.Data.SqlClient/SqlCommand.cs:
                Some changes to make consistent with .NET based on Sql server traces
                Implement command timeout
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Make sure that we only build a command if key info found
        * System.Data.SqlClient/SqlConnection.cs:
                Change event calling system
                Some changes to make consistent with .NET based on Sql server traces
                Implement connection timeout
        * System.Data.SqlClient/SqlConnectionPool.cs:
                Implement connection timeout
        * System.Data.SqlClient/SqlError.cs:
                Implement ToString ()
        * System.Data.SqlClient/SqlException.cs:
                Mucho implementation and cleanup
        * System.Data.SqlClient/SqlParameter.cs:
                Implement Clone ()
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Code cleanup
        * System.Data.SqlClient/SqlTransaction.cs:
                Move some of the transaction creation to SqlConnection to be consistent
                with .NET SQL traces

svn path=/trunk/mcs/; revision=8906
2002-11-10 00:36:17 +00:00
Tim Coleman d6c1643676 commit changelog
svn path=/trunk/mcs/; revision=8905
2002-11-10 00:32:12 +00:00
Tim Coleman 2180c63dad commit ChangeLog
svn path=/trunk/mcs/; revision=8904
2002-11-10 00:31:51 +00:00
Tim Coleman 4d31ca066e 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal tds classes
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
                Implement connection timeouts

svn path=/trunk/mcs/; revision=8903
2002-11-10 00:31:13 +00:00
Tim Coleman bd828ab92d 2002-11-09 Tim Coleman <[email protected]>
* list:
                Add new internal classes
        * Mono.Data.TdsClient.Internal/TdsInternalException.cs:
        * Mono.Data.TdsClient.Internal/TdsTimeoutException.cs:
                Add new classes to implement timeouts
        * Mono.DataTdsClient/TdsConnection.cs:
        * Mono.DataTdsClient/TdsConnectionPool.cs:
                Add connection timeout
        * Mono.Data.TdsClient.Internal/ITds.cs:
                Add command timeouts
        * Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/Tds80.cs:
        * Mono.Data.TdsClient.Internal/TdsComm.cs:
                Add command, connection timeouts

svn path=/trunk/mcs/; revision=8902
2002-11-10 00:30:16 +00:00
Jackson Harper a03d8b0b88 ToString() Do not show source file info if there was no source file in the error message
svn path=/trunk/mcs/; revision=8901
2002-11-10 00:08:18 +00:00
Gonzalo Paniagua Javier fd8e96cc6f 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: don't begin the request using ExecuteNextAsync
	(it fails to work on NetServ).

	* HttpWorkerRequest.cs: typo.

svn path=/trunk/mcs/; revision=8900
2002-11-09 18:40:38 +00:00
Nick Drochak 269d191bb3 2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux

svn path=/trunk/mcs/; revision=8899
2002-11-09 14:29:49 +00:00
Johannes Roith 7f73e2891f the mono logo converted to svg
svn path=/trunk/mcs/; revision=8897
2002-11-09 13:45:54 +00:00
Gonzalo Paniagua Javier b224c2482e 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: offset == size == 0 it's ok in Send ().

svn path=/trunk/mcs/; revision=8896
2002-11-09 09:46:27 +00:00
Miguel de Icaza 6c1761430e Flush
svn path=/trunk/mono/; revision=8892
2002-11-08 23:46:39 +00:00
Miguel de Icaza b5616de9b4 Flush
svn path=/trunk/mono/; revision=8890
2002-11-08 19:53:34 +00:00
Tim Coleman 3f9d2e0d6f 2002-11-08 Tim Coleman <[email protected]>
* System.Data/DataRow.cs:
        * System.Data/DataTable.cs:
                Some fix-ups related to the DbDataAdapter to make it work.
        * System.Data.Common/DbDataAdapter.cs:
                Fix the Fill () and Update () methods.  These now work
                fairly well.  Need mucho testing.
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Support table mappings and parameter source versions now.
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Add set accessor for transaction so that SqlTransaction.Commit ()
                will remove itself from the connection.
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Update/Insert/Delete command should be null by default.
        * System.Data.SqlClient/SqlException.cs:
                Remove a TODO attribute
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Properly handle the SqlCommand object

svn path=/trunk/mcs/; revision=8889
2002-11-08 19:13:08 +00:00
Dietmar Maurer 1750d18d3f fix bug #2721
svn path=/trunk/mono/; revision=8887
2002-11-08 17:11:49 +00:00
Ville Palo c132308e02 2002-11-08 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
	implemented.

svn path=/trunk/mcs/; revision=8886
2002-11-08 17:06:07 +00:00
Dietmar Maurer 9c7ffb5054 make exvar_offset signed
svn path=/trunk/mono/; revision=8885
2002-11-08 14:06:49 +00:00
Paolo Molaro c06db227c4 Fri Nov 8 14:53:03 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: account for the exception object being passed to the
	catch handler to calc max_stack.

svn path=/trunk/mcs/; revision=8884
2002-11-08 13:57:06 +00:00
Dietmar Maurer 040038110f added exvar_offset used by the new jit
svn path=/trunk/mono/; revision=8883
2002-11-08 13:17:58 +00:00
Miguel de Icaza 2b98b702fe 2002-11-08 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupType): Added a negative-hit hashtable for
	the Type lookups, as we perform quite a number of lookups on
	non-Types.  This can be removed once we can deterministically tell
	whether we have a type or a namespace in advance.

	But this might require special hacks from our corlib.

	* TODO: updated.

	* ecore.cs (TryImplicitIntConversion): Handle conversions to float
	and double which avoids a conversion from an integer to a double.

svn path=/trunk/mcs/; revision=8882
2002-11-08 08:42:57 +00:00
Miguel de Icaza 15f7c72e72 2002-11-08 Miguel de Icaza <[email protected]>
* expression.cs: tiny optimization, avoid calling IsConstant,
	because it effectively performs the lookup twice.

svn path=/trunk/mcs/; revision=8881
2002-11-08 05:36:14 +00:00
Nick Drochak 89a870bbce 2002/11/08 Nick Drochak <[email protected]>
* SqlSingleTest.cs : Remove debug statement that was breaking the build

svn path=/trunk/mcs/; revision=8880
2002-11-08 03:06:59 +00:00
Gonzalo Paniagua Javier 4d158ac91b 2002-11-08 Gonzalo Paniagua Javier <[email protected]>
* System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
	my comments and do something more appropiate.

svn path=/trunk/mcs/; revision=8879
2002-11-08 01:39:14 +00:00
Gonzalo Paniagua Javier 9fcebba41e 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: insert the loaded assemblies in the domain->assemblies in
	the hook function called when an assembly is loaded.

	* domain.c: Modified file.
	(mono_domain_assembly_load): removed hash table insertion of assemblies.

	Fixes bug #33196.

svn path=/trunk/mono/; revision=8878
2002-11-07 21:21:51 +00:00
Miguel de Icaza 9be497d408 2002-11-07 Miguel de Icaza <[email protected]>
* reflection.c: Map PEFileKind to the value expected by the WinNT
	image loader.

svn path=/trunk/mono/; revision=8877
2002-11-07 20:39:42 +00:00
Ville Palo 9b98e443ab 2002-11-07 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimalTest.cs
	* System.Data.SqlTypes/SqlDoubleTest.cs
	* System.Data.SqlTypes/SqlMoneyTest.cs
	* System.Data.SqlTypes/SqlSingleTest.cs:
	mcs don't understand (currently) correctly what 1e10 means,
	with mcs it must be 1E+10.

svn path=/trunk/mcs/; revision=8874
2002-11-07 15:43:00 +00:00
Ville Palo 3eefaba65e 2002-11-07 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/SqlMoney.cs:
	* System.Data.SqlTypes/SqlSingle.cs:
	* System.Data.SqlTypes/SqlString.cs: Implemented more methods and
	fixed some. SqlBoolean Equals (object value) -method improvements to
	all classes.

svn path=/trunk/mcs/; revision=8873
2002-11-07 15:34:44 +00:00
Gonzalo Paniagua Javier 2fd70229d9 flush
svn path=/trunk/mcs/; revision=8872
2002-11-07 08:38:35 +00:00
Jackson Harper 19fefba6b4 Added Microsoft.CSharp/Compiler.cs to build
svn path=/trunk/mcs/; revision=8871
2002-11-07 08:18:51 +00:00
Jackson Harper 4cbd520923 Added Microsoft.CSharp tests
svn path=/trunk/mcs/; revision=8870
2002-11-07 07:59:53 +00:00
Jackson Harper b2896b4717 Added files
svn path=/trunk/mcs/; revision=8869
2002-11-07 07:28:06 +00:00
Gonzalo Paniagua Javier 2ef79790b0 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlButton.cs: make it do a POST if the button has any ServerClick
	events.

svn path=/trunk/mcs/; revision=8868
2002-11-07 07:23:30 +00:00
Gonzalo Paniagua Javier ff2779b9c0 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return something useful in GetPostBackClientEvent.

svn path=/trunk/mcs/; revision=8867
2002-11-07 07:20:52 +00:00
Gonzalo Paniagua Javier 6cb07a21d6 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* HttpValueCollection.cs: the value may contain trailing '=' as it is
	UrlEncoded. Don't split name=value based on '='.

svn path=/trunk/mcs/; revision=8866
2002-11-07 07:19:23 +00:00
Jackson Harper d41ebb0bfd No longer waits untill mcs is finished running to read output, this should prevent crashes from buffers filling up
svn path=/trunk/mcs/; revision=8865
2002-11-07 07:19:09 +00:00
Tim Coleman ce80d58963 2002-11-07 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Remove NotImplementedException in Dispose
        * System.Data.Common/FieldNameLookup.cs:
                Should be sealed
        * System.Data.SqlClient/SqlCommand.cs:
                Fix CommandText accessor (stack overflow)
                Implement DeriveParameters method
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Implement this class
        * System.Data.SqlClient/SqlConnection.cs:
                Change application name to "Mono SqlClient Data Provider"
        * System.Data.SqlClient/SqlDataReader.cs:
                Add new schema information
        * System.Data.SqlClient/SqlError.cs:
        * System.Data.SqlClient/SqlErrorCollection.cs:
                Remove internal methods, TODO attributes
        * System.Data.SqlClient/SqlParameter.cs:
                Add new internal constructor for DeriveParameters use
        * System.Data.SqlClient/SqlParameterConverter.cs:
                Add missing methods based on class status

svn path=/trunk/mcs/; revision=8864
2002-11-07 06:07:01 +00:00
Miguel de Icaza 4da4911a9f 2002-11-06 Miguel de Icaza <[email protected]>
But a bogus return here to keep the semantics of the old code
	until the Mono runtime is fixed.

svn path=/trunk/mcs/; revision=8863
2002-11-07 00:58:30 +00:00
Miguel de Icaza 9f2be1851f 2002-11-06 Miguel de Icaza <[email protected]>
* pending.cs (GetMissingInterfaces): New method used to remove all
	the interfaces that are already implemented by our parent
	classes from the list of pending methods.

	* interface.cs: Add checks for calls after ResolveTypeExpr.

svn path=/trunk/mcs/; revision=8862
2002-11-07 00:49:16 +00:00
Gonzalo Paniagua Javier 66f65c4774 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8861
2002-11-07 00:24:24 +00:00
Miguel de Icaza cde968e5c4 2002-11-06 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8860
2002-11-07 00:11:05 +00:00
Miguel de Icaza 855eae99ca 2002-11-06 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.

svn path=/trunk/mcs/; revision=8859
2002-11-07 00:09:42 +00:00
Daniel Stodden ae48010ffe * ListDictionary.cs:
- Filled in missing CopyTo()s.
		- No, overwriting an entry should not change the Count <:)

svn path=/trunk/mcs/; revision=8858
2002-11-06 21:23:18 +00:00
Gonzalo Paniagua Javier 846b19aadd removed trailing \
svn path=/trunk/mcs/; revision=8857
2002-11-06 16:05:27 +00:00
Nick Drochak ef139258d5 2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.

svn path=/trunk/mcs/; revision=8856
2002-11-06 16:00:09 +00:00
Nick Drochak 78697a7972 2002-11-07 Nick Drochak <[email protected]>
* list: add System.Data/ColumnDataPropertyDescriptor.cs

svn path=/trunk/mcs/; revision=8855
2002-11-06 15:48:30 +00:00
Gonzalo Paniagua Javier 99ed672e31 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: detect illegal \ at end of pattern. Fixes 31334.

svn path=/trunk/mcs/; revision=8854
2002-11-06 14:34:18 +00:00
Daniel Morgan e96301ccd8 no longer needed
svn path=/trunk/mcs/; revision=8853
2002-11-06 12:40:46 +00:00
Daniel Morgan c381db50a2 2002-11-06 Daniel Morgan <[email protected]>
* DataColumnPropertyDescriptor.cs: added file

	* System.Data/DataRowView.cs: started implementation

	* DataTable.cs: stubbed more interfaces.  Implemented
	IListSource.GetList()

	* DataView.cs: stubbed more interfaces.  Implemented
	some properties and methods: GetEnumerator(),
	ITypedList.GetItemProperties, Item indexer, CopyTo()

svn path=/trunk/mcs/; revision=8852
2002-11-06 12:13:52 +00:00
Jackson Harper c8ee39ab5a Fixed (C) in header
svn path=/trunk/mcs/; revision=8849
2002-11-06 03:34:39 +00:00
Gonzalo Paniagua Javier 104ff83c76 removed echoes
svn path=/trunk/mono/; revision=8848
2002-11-06 03:28:33 +00:00
Jackson Harper 4a2a296c9f Fixed (C) in file header
svn path=/trunk/mcs/; revision=8847
2002-11-06 03:26:01 +00:00
Gonzalo Paniagua Javier bd1ca2e8c7 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* autogen.sh: make it work when MONO_PATH is set and it has more than
	one directory or ends in ":". Also check that the directory added to
	ACLOCAL_FLAGS and PATH exist (aclocal fails if they don't).

svn path=/trunk/mono/; revision=8846
2002-11-06 01:58:53 +00:00
Gonzalo Paniagua Javier 15f43a1b88 2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* rand.c: use /dev/urandom. If it fails to open, use the previous one.
	Read until the buffer is filled completely.

svn path=/trunk/mono/; revision=8845
2002-11-06 01:53:46 +00:00
Gonzalo Paniagua Javier 9c97ce1732 2002-11-05 Gonzalo Paniagua Javier <[email protected]>
* Encoding.cs: unixConsoleEncoding is now the same as Default. Avoid
	locking whenever possible.

svn path=/trunk/mcs/; revision=8844
2002-11-06 00:07:30 +00:00
Gonzalo Paniagua Javier 6d8aaad518 2002-11-05 Gonzalo Paniagua Javier <[email protected]>
* Common/ByteEncoding.cs: fixed buglet in GetString.
	* Common/Manager.cs: the handlers Hashtable and GetType are now case
	insensitive because Normalize may return lower case strings.
	In GetEncoding (string) also look for the name passed without prepending
	any string when the encoding is not found.
	When getting the stream for the resource, if it's null, load the
	internal list of classes. Catch the correct exception.

svn path=/trunk/mcs/; revision=8843
2002-11-05 23:56:45 +00:00
Miguel de Icaza 1e13860b16 2002-11-05 Miguel de Icaza <[email protected]>
* class.cs (Class.Emit): Report warning 67: event not used if the
	warning level is beyond 3.

	* ecore.cs (Expression.ConvertExplicit): Missed a check for expr
	being a NullLiteral.

	* cs-parser.jay: Fix, Gonzalo reverted the order of the rank
	specifiers.

	* class.cs (TypeContainer.GetClassBases): Cover a missing code
	path that might fail if a type can not be resolved.

	* expression.cs (Binary.Emit): Emit unsigned versions of the
	operators.

	* driver.cs: use error 5.

svn path=/trunk/mcs/; revision=8842
2002-11-05 23:30:01 +00:00
Miguel de Icaza 06f2050e3c Add new test
svn path=/trunk/mcs/; revision=8841
2002-11-05 22:02:43 +00:00
Tim Coleman 79d952aaf9 2002-11-05 Tim Coleman <[email protected]>
* library.build
		Add SybaseClient to the win32 build.

svn path=/trunk/mcs/; revision=8840
2002-11-05 17:24:19 +00:00
Gonzalo Paniagua Javier c552c787af little fix
svn path=/trunk/mcs/; revision=8839
2002-11-05 16:54:47 +00:00
Gonzalo Paniagua Javier 55c65e327d added missing files
svn path=/trunk/mcs/; revision=8838
2002-11-05 16:47:50 +00:00
Jackson Harper 0a15ca4f26 Added file
svn path=/trunk/mcs/; revision=8832
2002-11-05 07:22:29 +00:00
Jackson Harper ab2de445f6 Changed FileName property to the correct name 'SourceFile'
svn path=/trunk/mcs/; revision=8831
2002-11-05 07:15:16 +00:00
Tim Coleman 4490682a6e 2002-11-04 Tim Coleman ([email protected])
* SqlCommand.cs:
		Add SchemaOnly behavior

svn path=/trunk/mcs/; revision=8830
2002-11-05 06:00:59 +00:00
Tim Coleman bed021dfe9 2002-11-04 Tim Coleman ([email protected])
* StateChangeEventArgs.cs:
		Implement

svn path=/trunk/mcs/; revision=8829
2002-11-05 05:34:12 +00:00
Tim Coleman 23a3b5a431 2002-11-04 Tim Coleman ([email protected])
* list:
		forgot to add a couple of files.

svn path=/trunk/mcs/; revision=8828
2002-11-05 04:50:11 +00:00
Tim Coleman fc1e8b4f2e 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * Mono.Data.TdsClient/TdsInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient/TdsInfoMessageEventHandler.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalError.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorCollection.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorMessageEventArgs.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalErrorMessageEventHandler.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalInfoMessageEventArgs.cs:
        * Mono.Data.TdsClient.Internal/TdsInternalInfoMessageEventHandler.cs:
                New classes added
        * Mono.Data.TdsClient.Internal/TdsPacketErrorResult.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketErrorResultCollection.cs:
        * Mono.Data.TdsClient.Internal/TdsPacketMessageResult.cs:
                Classes removed
        * Mono.Data.TdsClient/TdsCommand.cs:
        * Mono.Data.TdsClient/TdsConnection.cs:
        * Mono.Data.TdsClient/TdsError.cs:
        * Mono.Data.TdsClient/TdsErrorCollection.cs:
        * Mono.Data.TdsClient/TdsException.cs:
        * Mono.Data.TdsClient/TdsTransaction.cs:
        * Mono.Data.TdsClient/TdsPacketColumnInfoResult.cs:
                More implementation
        * Mono.Data.TdsClient.Internal/ITds.cs:
        * Mono.Data.TdsClient.Internal/Tds.cs:
        * Mono.Data.TdsClient.Internal/Tds42.cs:
        * Mono.Data.TdsClient.Internal/Tds50.cs:
        * Mono.Data.TdsClient.Internal/Tds70.cs:
        * Mono.Data.TdsClient.Internal/Tds80.cs:
                New events added

svn path=/trunk/mcs/; revision=8827
2002-11-05 04:44:47 +00:00
Tim Coleman 0fde1ffffc 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
                Remove error checks in favour of event handlers

svn path=/trunk/mcs/; revision=8826
2002-11-05 04:33:03 +00:00
Tim Coleman fcf980c6cf 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsInternalError
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
                Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
                Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
                Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
        * System.Data.Common/RowUpdatedEventArgs.cs:
        * System.Data.Common/RowUpdatingEventArgs.cs:
                Implement
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlDataReader.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                Remove checks for errors.  These are now handled by events
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlError.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
                Add event handlers and triggers for errors, messages, state change
        * System.Data.SqlClient/SqlParameter.cs:
                Re-add refreshproperties
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
                Implement

svn path=/trunk/mcs/; revision=8825
2002-11-05 04:27:25 +00:00
Dennis Hayes e6d0053af3 updated
svn path=/trunk/mcs/; revision=8824
2002-11-05 02:27:39 +00:00
Gonzalo Paniagua Javier 8282b48178 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: use AppDomainSetup to get the configuration
	file name for the AppDomain.

svn path=/trunk/mcs/; revision=8823
2002-11-04 23:49:25 +00:00
Gonzalo Paniagua Javier ff26ab1d5d oops
svn path=/trunk/mcs/; revision=8822
2002-11-04 20:17:02 +00:00
Gonzalo Paniagua Javier 6c7705774a 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.ComponentModel/ListBindableAttribute.cs: implemented.

svn path=/trunk/mcs/; revision=8821
2002-11-04 20:11:42 +00:00
Tim Coleman b95ab5e7c0 2002-11-04 Tim Coleman <[email protected]>
* System.ComponentModel/RefreshProperties.cs:
        * System.ComponentModel/RefreshPropertiesAttribute.cs:
                Add new classes

svn path=/trunk/mcs/; revision=8820
2002-11-04 20:05:50 +00:00
Tim Coleman a424029393 2002-11-04 Tim Coleman ([email protected])
* SqlCommand.cs:
	* SqlConnection.cs:
	* SqlParameter.cs:
		Remove RefreshProperties attributes that break linux build.

svn path=/trunk/mcs/; revision=8819
2002-11-04 19:50:39 +00:00
Dick Porter b341086f8e Work around missing mcs dir for binaries in the same way as for assemblies.
svn path=/trunk/mono/; revision=8818
2002-11-04 19:50:27 +00:00
Gonzalo Paniagua Javier 60fb228f43 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: implemented GetEvent (name, flags).

svn path=/trunk/mcs/; revision=8817
2002-11-04 19:01:05 +00:00
Gonzalo Paniagua Javier c6d41ee882 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* icall.c: implemented MonoType.InternalGetEvent ().

svn path=/trunk/mono/; revision=8816
2002-11-04 19:00:53 +00:00
Tim Coleman b5f9e8e524 2002-11-04 Tim Coleman ([email protected])
* list :
                Add Mono.Data.TdsClient.Internal.TdsBigDecimal

svn path=/trunk/mcs/; revision=8815
2002-11-04 18:27:41 +00:00
Tim Coleman f1be77be78 2002-11-04 Tim Coleman ([email protected])
* TdsBigDecimal.cs:
                New class added to handle (potentially) large
                decimal values
        * Tds.cs:
                Modified to use TdsBigDecimal instead of
                decimal for transit of (potentially) large
                decimal values

svn path=/trunk/mcs/; revision=8814
2002-11-04 18:24:25 +00:00
Tim Coleman 9efe5974b7 2002-11-04 Tim Coleman <[email protected]>
* list:
                Add Mono.Data.TdsClient.Internal.TdsBigDecimal
                Add System.Data.SqlClient.SqlParameterConverter
                Add System.Data.DataSysDescriptionAttribute
        * System.Data/DataSysDescriptionAttribute.cs:
                New class added
        * System.Data.Common/DbDataPermission.cs:
                Add CreateInstance method
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlError.cs:
                Add Serializable attribute
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlDataAdapter.cs:
        * System.Data.SqlClient/SqlParameter.cs:
                Add some missing property attributes
        * System.Data.SqlClient/SqlCommandBuilder.cs:
                Add some missing property attributes
                Implement properties
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement missing methods
        * System.Data.SqlClient/SqlErrorCollection.cs:
                Implement the properties
        * System.Data.SqlClient/SqlException.cs:
                Remove extra property accessors
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
                Add internal constructor
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Add internal constructor
                Add property attributes
        * System.Data.SqlClient/SqlParameterConverter.cs:
                New internal class added
        * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
        * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
                Remove destructor
        * System.Data.SqlTypes/SqlDecimal.cs:
                Add implicit conversion from TdsBigDecimal to SqlDecimal
        * System.Data.SqlTypes/SqlString.cs:
        * System.Data.SqlTypes/SqlInt16.cs:
        * System.Data.SqlTypes/SqlDateTime.cs:
                Change code to remove compiler warnings

svn path=/trunk/mcs/; revision=8813
2002-11-04 18:23:26 +00:00
Gonzalo Paniagua Javier 1cbc7103a6 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: implemented InitAppDomainSetup. Delayed
	AppDomain.SetupInformation until mono_runtime_exec_main, where we get
	the entry_assembly.

	* assembly.c: base_dir is now an absolute path ending with
	G_DIR_SEPARATOR.

	* icall.c: modified get_location according to the above changes.

	* object.c: init AppDomain.SetupInformation for the default domain after
	we have the entry assembly.

	* domain.c: when unloading a domain, setup = NULL.

svn path=/trunk/mono/; revision=8812
2002-11-04 13:06:01 +00:00
Daniel Morgan 81d4cdd307 2002-11-04 Stuart Caborn <[email protected]>
* list: added System.Data/XmlConstants.cs to
	Linux build

    * System.Data/XmlConstants.cs: added -
	* System.Data/DataTable.cs
	* System.Data/DataSet.cs
	* System.Data/DataColumn.cs
	* System.Data/DataColumnCollection.cs
	* System.Data/DataRelation.cs: modified	-
	Began initial implementation of WriteXml
	and WriteXmlSchema. There is no support for DiffGrams
	yet. In WriteSchema mode, relationships are missing,
	all types are xs:string and the namespacing is not
	working properly. Added support for Ordinals in the
	DataColumnCollection and added support for
	namespaces and prefixes.

svn path=/trunk/mcs/; revision=8811
2002-11-04 12:49:25 +00:00
Daniel Morgan d312896f04 2002-11-04 Daniel Morgan <[email protected]>
* Locale.cs: added missing file.  Build blocker.

svn path=/trunk/mcs/; revision=8810
2002-11-04 10:33:57 +00:00
Dietmar Maurer 88f8be1d73 2002-11-04 Dietmar Maurer <[email protected]>
* marshal.c (emit_ptr_to_str_conv): try to fix bug 29548

svn path=/trunk/mono/; revision=8809
2002-11-04 10:33:13 +00:00
César Natarén fd1adc19c4 Added the "domain" parameter to the mono_domain_assembly_open function example.
svn path=/trunk/mono/; revision=8808
2002-11-04 08:08:13 +00:00
Atsushi Eno 082d1e4f78 *** empty log message ***
svn path=/trunk/mcs/; revision=8807
2002-11-04 03:51:55 +00:00
Sebastien Pouliot 66a6d9b017 2002-11-03 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Include all (1) tests files for X509Certificates.
	* X509CertificateTest.cs: New. Generated tests using some (11 right
	now) X.509 certificates. There is a bigger version (346 certs today)
	to spot new problems (but once spotted they move into this small file).
	GetEffectiveDateString and GetExpirationDateString tests are commented.

svn path=/trunk/mcs/; revision=8806
2002-11-04 03:28:43 +00:00
Sebastien Pouliot f6bd693056 2002-11-03 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Updated some DN cases and some minor time issues.
	GetEffectiveDateString and GetExpirationDateString still don't match
	MS implementation (however they seems, most of the time, to be on par
	with the Windows Certificate Viewer - certmgr.exe).

svn path=/trunk/mcs/; revision=8805
2002-11-04 03:20:56 +00:00
Duncan Mak 1c54369275 Fixed a cut-n-paste error found by tbf.
svn path=/trunk/mcs/; revision=8803
2002-11-03 23:59:31 +00:00
Ville Palo 4bd205478d 2002-11-03 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
	by NUnitConsole_mono.exe

svn path=/trunk/mcs/; revision=8801
2002-11-03 16:37:04 +00:00
Paolo Molaro a9203b540e Sun Nov 3 15:39:28 CET 2002 Paolo Molaro <[email protected]>
* object.h, object.c: introduced mono_object_get_virtual_method ()
	to lookup the method invoked on an object when a callvirt is done on
	a method.
	* icall.c: make MethodInfo::Invoke() always do a virtual call.

svn path=/trunk/mono/; revision=8800
2002-11-03 14:44:22 +00:00
Sebastien Pouliot 13534bb443 2002-11-03 Sebastien Pouliot <[email protected]>
* CryptoAPITransform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.
	* CryptographicException.cs: Added missing protected constructor.
	* CryptographicUnexpectedOperationException.cs: Added missing
	protected constructor.
	* ICryptoTransform.cs: Added missing CanReuseTransform property.
	* FromBase64Transform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.
	* SymmetricAlgorithm.cs: Implement IDisposable.
	* ToBase64Transform.cs: Added missing CanReuseTransform property,
	Clear method, destructor and IDisposable support.

svn path=/trunk/mcs/; revision=8799
2002-11-03 12:40:00 +00:00
Atsushi Eno c58e43d768 *** empty log message ***
svn path=/trunk/mcs/; revision=8798
2002-11-03 11:40:38 +00:00
Tim Coleman 8753691e58 2002-11-03 Tim Coleman ([email protected])
* list :
                Add Mono.Data.TdsTypes
                Add Mono.Data.TdsClient.Locale.cs

svn path=/trunk/mcs/; revision=8797
2002-11-03 06:46:38 +00:00
Tim Coleman b1926bc199 2002-11-03 Tim Coleman ([email protected])
* TdsBinary.cs:
        * TdsBoolean.cs:
        * TdsByte.cs:
        * TdsCompareOptions.cs:
        * TdsDateTime.cs:
        * TdsDecimal.cs:
        * TdsDouble.cs:
        * TdsGuid.cs:
        * TdsInt16.cs:
        * TdsInt32.cs:
        * TdsInt64.cs:
        * TdsMoney.cs:
        * TdsNullValueException.cs:
        * TdsSingle.cs:
        * TdsString.cs:
        * TdsTruncateException.cs:
        * TdsTypeException.cs:
                New classes added for TDS types.
        * ChangeLog
                New ChangeLog added

svn path=/trunk/mcs/; revision=8796
2002-11-03 06:45:36 +00:00
Tim Coleman 9b53d10baf 2002-11-03 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal.TdsColumnStatus
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
                Add more schema information

svn path=/trunk/mcs/; revision=8795
2002-11-03 06:16:28 +00:00
Tim Coleman a5abc6f8cb 2002-11-03 Tim Coleman ([email protected])
* TdsDatareader.cs:
                Add BaseColumnName, rename BaseTableName

svn path=/trunk/mcs/; revision=8794
2002-11-03 06:14:23 +00:00
Tim Coleman e41c0103be 2002-11-03 Tim Coleman ([email protected])
* list :
                Add TdsColumnStatus.cs

svn path=/trunk/mcs/; revision=8793
2002-11-03 06:12:48 +00:00
Tim Coleman c70a38111a 2002-11-03 Tim Coleman ([email protected])
* TdsColumnStatus.cs:
                Newly added to handle column metadata
        * Tds.cs
                Handle table name and column detail results
        * Tds42.cs
        * Tds50.cs
        * Tds70.cs
                rename TableName BaseTableName for consistency
        * TdsPacketSubType.cs:
                We now know what subtype 0xa5 is
        * TdsPacketTableNameResult.cs:
                Add means to store table names
        * TdsSchemaInfo.cs:
                Add new schema information

svn path=/trunk/mcs/; revision=8792
2002-11-03 06:12:19 +00:00
Tim Coleman 17cbe76c5e 2002-11-03 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
        * System.Data.SqlClient/SqlDataReader.cs:
                Get more schema info if available
        * list:
                Add Mono.Data.TdsClient.Internal.TdsColumnStatus

svn path=/trunk/mcs/; revision=8791
2002-11-03 06:07:23 +00:00
Sebastien Pouliot 07b7943125 2002-11-02 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suites for SignatureDescription and
	activated suites for SHA384Managed and SHA512Managed.
	* SignatureDescriptionTest.cs: New. Basic tests (because I don't
	know the context in which the class is used).

svn path=/trunk/mcs/; revision=8790
2002-11-03 03:51:33 +00:00
Sebastien Pouliot 1c9c9b01a1 2002-11-02 Sebastien Pouliot <[email protected]>
* SignatureDescription.cs: Updated class to match unit test results
	* X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
	implementation is now in System.Security.Cryptography.X509Certificates

svn path=/trunk/mcs/; revision=8789
2002-11-03 03:43:57 +00:00
Gonzalo Paniagua Javier f2a7e8bf89 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: changed name of GetType (string, bool, bool) to
	InternalGetType.

svn path=/trunk/mcs/; revision=8788
2002-11-03 02:02:28 +00:00
Gonzalo Paniagua Javier 90c3d84c1e 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: invoke AssemblyLoad and AsemblyResolve events in the
	current domain when loaded an assembly and failed to load it.

	* icall.c: changed ...Assembly_GetType to Assembly_InternalGetType.

svn path=/trunk/mono/; revision=8787
2002-11-03 02:02:11 +00:00
Gonzalo Paniagua Javier 303261649e 2002-11-03 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: implemented a couple of methods called from the runtime
	to fire AssemblyLoad and AssemblyResolve events.

svn path=/trunk/mcs/; revision=8786
2002-11-03 01:51:41 +00:00
Miguel de Icaza c816d90c57 Flush index
svn path=/trunk/mono/; revision=8785
2002-11-02 21:49:02 +00:00
Miguel de Icaza e9ffa94714 More chagnes to get it to build
svn path=/trunk/mcs/; revision=8784
2002-11-02 21:42:04 +00:00
Miguel de Icaza d4dff99517 Improve the natn file
svn path=/trunk/mcs/; revision=8783
2002-11-02 21:41:37 +00:00
Miguel de Icaza 887297e0da Improve the natn file
svn path=/trunk/mcs/; revision=8782
2002-11-02 21:40:28 +00:00
Duncan Mak 783c8b4235 Add a .cvsignore here too.
svn path=/trunk/mcs/; revision=8781
2002-11-02 21:38:51 +00:00
Duncan Mak 84077ff32e Reflect the move from System.Security.Cryptography to System.Security.Cryptography.X509Certificates.
svn path=/trunk/mcs/; revision=8780
2002-11-02 21:35:46 +00:00
Duncan Mak 4f9a434891 This one too.
svn path=/trunk/mcs/; revision=8779
2002-11-02 21:27:27 +00:00
Duncan Mak d653d553dd Adding .cvsignores
svn path=/trunk/mcs/; revision=8778
2002-11-02 21:26:16 +00:00
Miguel de Icaza 90e8d8352a Flush from the Windows Box
svn path=/trunk/mono/; revision=8777
2002-11-02 21:18:56 +00:00
Miguel de Icaza 3cf0247bc2 Flush
svn path=/trunk/mono/; revision=8776
2002-11-02 21:15:54 +00:00
Miguel de Icaza 658c4cf215 Enable it!
svn path=/trunk/mcs/; revision=8775
2002-11-02 21:12:52 +00:00
Miguel de Icaza b16779770d Update
svn path=/trunk/mcs/; revision=8774
2002-11-02 21:11:55 +00:00
Miguel de Icaza 6a4c6314a8 Add stub method
svn path=/trunk/mcs/; revision=8773
2002-11-02 21:11:44 +00:00
Miguel de Icaza 5ae30b2894 Remove old comment
svn path=/trunk/mcs/; revision=8772
2002-11-02 21:11:31 +00:00
Miguel de Icaza fa08e387e7 Flush .cvs
svn path=/trunk/mcs/; revision=8771
2002-11-02 21:09:13 +00:00
Duncan Mak e4abbda5e9 2002-11-02 Duncan Mak <[email protected]>
* list.unix: Added InvalidEnumArgumentException.

	* InvalidEnumArgumentException.cs: Added.

svn path=/trunk/mcs/; revision=8770
2002-11-02 21:07:40 +00:00
Miguel de Icaza aa5a4c39c7 Flush changes to get things compiling on Linux
svn path=/trunk/mcs/; revision=8769
2002-11-02 20:58:58 +00:00
Miguel de Icaza 85c703e233 Commit fixes to build Windows.Forms on Linux
svn path=/trunk/mcs/; revision=8768
2002-11-02 20:38:44 +00:00
Miguel de Icaza 0b24c5b09d Compile fixes
svn path=/trunk/mcs/; revision=8767
2002-11-02 20:38:17 +00:00
Miguel de Icaza d1936b74f6 Update .cvsignore
svn path=/trunk/mcs/; revision=8766
2002-11-02 20:33:52 +00:00
Miguel de Icaza 36d4470eab More fixes
svn path=/trunk/mcs/; revision=8765
2002-11-02 20:32:46 +00:00
Miguel de Icaza 98111e3b30 More fixes
svn path=/trunk/mcs/; revision=8764
2002-11-02 20:32:08 +00:00
Miguel de Icaza 1a10984f9f Add PropertyTabScope
svn path=/trunk/mcs/; revision=8763
2002-11-02 20:29:17 +00:00
Miguel de Icaza 30b1015f75 More typo fixes
svn path=/trunk/mcs/; revision=8762
2002-11-02 20:28:34 +00:00
Miguel de Icaza 181ad70f28 Fix constructor
svn path=/trunk/mcs/; revision=8761
2002-11-02 20:27:54 +00:00
Miguel de Icaza 4e45db1283 Rename the Controllers
svn path=/trunk/mcs/; revision=8760
2002-11-02 20:27:07 +00:00
Miguel de Icaza d199caef84 Added so we can build on Linux
svn path=/trunk/mcs/; revision=8759
2002-11-02 20:13:25 +00:00
Miguel de Icaza 7b2e93e576 Add Accessibility stuff
svn path=/trunk/mcs/; revision=8758
2002-11-02 20:09:52 +00:00
Miguel de Icaza 1364741e52 Update man pages
svn path=/trunk/mono/; revision=8757
2002-11-02 19:45:04 +00:00
Miguel de Icaza 9d4f5ab77b Flush
svn path=/trunk/mono/; revision=8756
2002-11-02 19:38:37 +00:00
Sebastien Pouliot ba5f13c115 2002-11-02 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: REMOVED! Wrong namespace. An almost complete
	implementation is now in System.Security.Cryptography.X509Certificates

svn path=/trunk/mcs/; revision=8755
2002-11-02 19:25:02 +00:00
Sebastien Pouliot 5709fe5723 2002-11-02 Sebastien Pouliot <[email protected]>
* ChangeLog: New. First entry ;-)
	* X509Certificates.cs: New. Almost complete - except
	CryptoAPI link, CreateFromSignedFile and some date issues.

svn path=/trunk/mcs/; revision=8754
2002-11-02 19:08:37 +00:00
Phillip Pearson 3eaf9fc66a * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client
property, which now sets stream to null (it's set by GetStream()).  This
should make GetStream() work on a TcpClient which has had the socket set
by assignment to the Client property, not only one that has been created
by TcpListener.AcceptTcpClient().

svn path=/trunk/mcs/; revision=8753
2002-11-02 12:33:08 +00:00
Phillip Pearson e599345a87 * AllTests.cs: Fixed Lawrence's e-mail address.
svn path=/trunk/mcs/; revision=8752
2002-11-02 12:31:16 +00:00
Ville Palo 4aa8f56392 2002-11-02 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDecimalTest.cs: More tests.

svn path=/trunk/mcs/; revision=8751
2002-11-02 12:28:29 +00:00
Ville Palo 3425fcc3a2 2002-11-02 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDoubleTest.cs: More tests.

svn path=/trunk/mcs/; revision=8750
2002-11-02 12:25:33 +00:00
Tim Coleman 0220434e8d 2002-11-02 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Change to use sp_executesql to run regular text queries.
                Now, sp_executesql for text, sp_execute for prepared,
                and execute for SPs means everything runs a procedure.
        * System.Data.SqlClient/SqlParameter.cs:
                Allow client to set parameter name in Prepare ()
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Implement some methods
        * System.Data.SqlClient/SqlDataReader.cs:
                Since everything is an SP now, we know that when
                we see DoneProc, that we are really done.

svn path=/trunk/mcs/; revision=8749
2002-11-02 07:19:13 +00:00
Tim Coleman 6e4ddf5772 2002-11-01 Tim Coleman ([email protected])
* ChangeLog
		forgot to commit last time.

svn path=/trunk/mcs/; revision=8748
2002-11-02 05:11:29 +00:00
Tim Coleman 8cb6c4ceed 2002-11-01 Tim Coleman ([email protected])
* ITds.cs:
                Add DoneProc property
        * Tds.cs:
                *Lots*.  Some stuff to get binary types
                to work, other stuff to get new prepares
                working.
        * TdsPacketEndTokenResult.cs:
                Add Packetsubtype property
        * TdsPacketRowResult:
                Now implements ICollection and IList.

svn path=/trunk/mcs/; revision=8747
2002-11-02 05:09:45 +00:00
Tim Coleman 1dde77bced 2002-11-01 Tim Coleman ([email protected]) :
* System.Data.Common/DbEnumerator.cs :
                Throw correct exception on Reset ()
                Add ColumnSize to schema table.
        * System.Data.SqlClient/SqlDataReader.cs :
                Add ColumnSize to schema table.
        * System.Data.SqlClient/SqlCommand.cs :
                Change the way that preparing is handled.
                Now uses sp_prepare on the server instead of temp
                stored procedures because it's the Right Thing[tm] to do.
        * System.Data.SqlClient/SqlConnection.cs :
                Store data readers here rather than in command
        * System.Data.SqlClient/SqlDataReader.cs :
                More implementation, including binary types
        * System.Data.SqlClient/SqlParameter.cs :
                Lowercase type name

svn path=/trunk/mcs/; revision=8746
2002-11-02 05:06:21 +00:00
Gonzalo Paniagua Javier a09987fc62 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: simplified a rule and 5 SR conflicts dissapeared.

svn path=/trunk/mcs/; revision=8745
2002-11-02 03:53:19 +00:00
Gonzalo Paniagua Javier 0ea38aa0a2 oops. commited the wrong file.
svn path=/trunk/mcs/; revision=8744
2002-11-02 03:16:56 +00:00
Gonzalo Paniagua Javier 506b4a5f10 2002-11-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpCookie.cs: made GetCookieHeader internal.

	* System.Web/HttpRequest.cs: get cookies from request.

	* System.Web/HttpResponse.cs: send cookies. Implemented
	AddFileDependencies (). Added check for _Writer == null in Flush
	(Patrik ;-). Clear the content if HEAD or SupressContent == true.
	Removed redirect hack used in old server.

	* System.Web.Compilation/AspGenerator.cs: undo one-liner change.

	* System.Web.UI/Page.cs: implemented FileDependecies and made it
	protected.

svn path=/trunk/mcs/; revision=8743
2002-11-02 03:12:31 +00:00
Dennis Hayes 120c054725 stub for picturebox.cs - last unstubbed function in swf
svn path=/trunk/mcs/; revision=8742
2002-11-02 02:16:45 +00:00
Dennis Hayes 1c61ede054 minor changes to last mene classes checkin
svn path=/trunk/mcs/; revision=8741
2002-11-02 02:15:05 +00:00
Daniel Morgan 95aee8b7a2 2002-11-01 Daniel Morgan <[email protected]>
* OleDbDataReader.cs: implemented
	Dispose() and GetEnumerator()

svn path=/trunk/mcs/; revision=8740
2002-11-02 01:29:56 +00:00
Daniel Morgan 052b38690e 2002-11-01 Daniel Morgan <[email protected]>
* OdbcDataReader.cs: - uncommented code, but
	I put a FIXME: according to Brian,
    this does not work on MS .NET
    however, we need it for Mono
    for now. schemaRow.AcceptChanges(),
    - implement IEnumerable.GetEnumerator()

    * libodbc.cs: changed the DllImport from "odbc32.dll"
    to "odbc32"

svn path=/trunk/mcs/; revision=8739
2002-11-02 01:02:32 +00:00
Daniel Morgan 86d879bd84 2002-11-01 Daniel Morgan <[email protected]>
* PgSqlCommand.cs: get rid of warning

	* PgSqlDataReader.cs: implemented GetEnumerator(),
	and Dispose()

svn path=/trunk/mcs/; revision=8738
2002-11-02 00:41:44 +00:00
Sebastien Pouliot b63027a7e3 2002-11-01 Sebastien Pouliot <[email protected]>
* bouncycastle.txt: Bouncy Castle JCE License.
	* SHA384Managed.cs: Hash implementation based on BouncyCastle JCE.
	* SHA512Managed.cs: Hash implementation based on BouncyCastle JCE.

svn path=/trunk/mcs/; revision=8735
2002-11-01 23:24:39 +00:00
Miguel de Icaza 282938add9 Improve test
svn path=/trunk/mcs/; revision=8734
2002-11-01 21:19:25 +00:00
Miguel de Icaza a009337b21 2002-11-01 Miguel de Icaza <[email protected]>
* cs-parser.jay (switch_section): A beautiful patch from Martin
	Baulig that fixed 33094.

svn path=/trunk/mcs/; revision=8733
2002-11-01 21:04:02 +00:00
Daniel Morgan da69fdcb2c 2002-11-01 Daniel Morgan <[email protected]>
* Mono.Data.SqliteClient/SqliteDataReader.cs: redid the
	implementation for GetSchemaTable() and
	implemented IEnumerator IEnumerable.GetEnumerator ()

svn path=/trunk/mcs/; revision=8732
2002-11-01 19:32:32 +00:00
Tim Coleman 47864003f3 2002-11-01 Tim Coleman ([email protected])
* Mono.Data.SybaseClient/Locale.cs:
        * Mono.Data.SybaseClient/SybaseCommand.cs:
        * Mono.Data.SybaseClient/SybaseCommandBuilder.cs:
        * Mono.Data.SybaseClient/SybaseConnection.cs:
        * Mono.Data.SybaseClient/SybaseConnectionPool.cs:
        * Mono.Data.SybaseClient/SybaseDataAdapter.cs:
        * Mono.Data.SybaseClient/SybaseDataReader.cs:
        * Mono.Data.SybaseClient/SybaseError.cs:
        * Mono.Data.SybaseClient/SybaseErrorCollection.cs:
        * Mono.Data.SybaseClient/SybaseException.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseInfoMessageEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseParameter.cs:
        * Mono.Data.SybaseClient/SybaseParameterCollection.cs:
        * Mono.Data.SybaseClient/SybasePermission.cs:
        * Mono.Data.SybaseClient/SybasePermissionAttribute.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatedEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatedEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatingEventArgs.cs:
        * Mono.Data.SybaseClient/SybaseRowUpdatingEventHandler.cs:
        * Mono.Data.SybaseClient/SybaseTransaction.cs:
        * Mono.Data.SybaseClient/SybaseType.cs:
        * Mono.Data.SybaseClient/TODOAttribute.cs:
        * Mono.Data.SybaseTypes/SybaseBinary.cs:
        * Mono.Data.SybaseTypes/SybaseBoolean.cs:
        * Mono.Data.SybaseTypes/SybaseByte.cs:
        * Mono.Data.SybaseTypes/SybaseCompareOptions.cs:
        * Mono.Data.SybaseTypes/SybaseDateTime.cs:
        * Mono.Data.SybaseTypes/SybaseDecimal.cs:
        * Mono.Data.SybaseTypes/SybaseDouble.cs:
        * Mono.Data.SybaseTypes/SybaseGuid.cs:
        * Mono.Data.SybaseTypes/SybaseInt16.cs:
        * Mono.Data.SybaseTypes/SybaseInt32.cs:
        * Mono.Data.SybaseTypes/SybaseInt64.cs:
        * Mono.Data.SybaseTypes/SybaseMoney.cs:
        * Mono.Data.SybaseTypes/SybaseNullValueException.cs:
        * Mono.Data.SybaseTypes/SybaseSingle.cs:
        * Mono.Data.SybaseTypes/SybaseString.cs:
        * Mono.Data.SybaseTypes/SybaseTruncateException.cs:
        * Mono.Data.SybaseTypes/SybaseTypeException.cs:
                New classes added to start this namespace.  These are mostly
                just copies of the SqlClient classes, with changed names and
                namespaces.
        * list:
        * makefile.gnu:
        * Mono.Data.SybaseClient.build:
                New files added to build this assembly
        * ChangeLog:
                New changelog added

svn path=/trunk/mcs/; revision=8731
2002-11-01 17:48:47 +00:00
Tim Coleman caf566cfdb 2002-11-01 Tim Coleman ([email protected]) :
* System.Data.Common/DbEnumerator.cs :
        * System.Data.SqlClient/SqlDataReader.cs :
                Add ColumnSize to schema table.

svn path=/trunk/mcs/; revision=8730
2002-11-01 13:32:37 +00:00
Tim Coleman 80b5819fab *** empty log message ***
svn path=/trunk/mcs/; revision=8729
2002-11-01 13:30:26 +00:00
Daniel Morgan f76a1229b0 2002-11-01 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataAdapter.cs
	* Mono.Data.MySql/MySqlRowUpdatedEventArgs.cs
	* Mono.Data.MySql/MySqlRowUpdatedEventHandler.cs
	* Mono.Data.MySql/MySqlRowUpdatingEventArgs.cs
	* Mono.Data.MySql/MySqlRowUpdatingEventHandler.cs: added new
	 files for the Data Adapter for the MySQL data provider

	* list: added new files to Linux build

	* Mono.Data.MySql/MySqlCommand.cs: implement the
	interfaces correctly and Dispose().  Allow the provider to
	execute multiple queries for a reader

	* Mono.Data.MySql/MySqlTransaction.cs
	* Mono.Data.MySql/MySqlConnection.cs: implement the
	interfaces correctly and Dispose

	* Mono.Data.MySql/MySqlDataReader.cs: implement the
	interfaces correctly and Dispose().  Allow the provider to
	execute multiple queries for a reader.  Implement
	IEnumerable.GetEnumerator() to return a DbEnumerator
	which can be used to do a
	foreach (DbDataRecord rec in myDataReader) { ... }
	and allows a IDataReader to be "data binded" to a DataGrid.
	Thanks goes to Tim Coleman (I copied this from his SqlDataReader).

svn path=/trunk/mcs/; revision=8728
2002-11-01 12:50:15 +00:00
Tim Coleman fea26936fd 2002-10-31 Tim Coleman ([email protected])
* SchemaInfo.cs:
		Sorry, I missed this on the last commit.
		Danmorg fixed it, but this is the copy I had.

svn path=/trunk/mcs/; revision=8725
2002-11-01 04:07:47 +00:00
Daniel Morgan 75a4f966bb 2002-10-31 Daniel Morgan <[email protected]>
* SchemaInfo.cs: added missing properties to fix mcs build

svn path=/trunk/mcs/; revision=8724
2002-11-01 03:35:52 +00:00
Tim Coleman 2e73287c82 2002-10-31 Tim Coleman ([email protected])
* library.build
		re-add TdsClient now that it builds correctly again.

svn path=/trunk/mcs/; revision=8723
2002-11-01 01:47:33 +00:00
Tim Coleman 720dc4c05c 2002-10-31 Tim Coleman ([email protected])
* System.Data.Common/DbDataAdapter.cs :
                Fix handling of nulls
        * System.Data.Common/DbDataRecord.cs :
                Change GetFieldType ()
        * System.Data.Common/DbEnumerator.cs :
                Add new schema information
        * System.Data.Common/FieldNameLookup.cs :
                Change definition of schema
        * System.Data.Common/SchemaInfo.cs :
                Add more information
        * System.Data.SqlClient/SqlDataReader.cs :
                get more schema table data
        * list :
                Add Mono.Data.TdsClient.Internal.TdsSchemaInfo

svn path=/trunk/mcs/; revision=8722
2002-11-01 01:46:51 +00:00
Tim Coleman 9adc532f44 2002-10-31 Tim Coleman ([email protected])
* TdsSchemaInfo.cs:
                Added because I can't really use SchemaInfo
        * ITds.cs:
        * Tds.cs :
        * TdsPacketColumnInfoResult.cs :
                ChangeDefinition of schema
        * Tds42.cs :
        * Tds50.cs :
        * Tds70.cs :
                Add new information to schema

svn path=/trunk/mcs/; revision=8721
2002-11-01 01:40:55 +00:00
Tim Coleman 148b8a1428 2002-10-31 Tim Coleman ([email protected])
* TdsDataReader.cs:
                D'oh!  Now use TdsSchemaInfo because SchemaInfo
                is internal to System.Data.dll

svn path=/trunk/mcs/; revision=8720
2002-11-01 01:37:53 +00:00
Tim Coleman 638acf3874 2002-10-31 Tim Coleman ([email protected])
* list :
                Add TdsSchemaInfo.cs

svn path=/trunk/mcs/; revision=8719
2002-11-01 01:37:15 +00:00
Miguel de Icaza 5d4ffa960e 2002-10-31 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.DoResolveLValue, PropertyExpr.DoResolve):
	Check whether the base is abstract and report an error if so.

	* expression.cs (IndexerAccess.DoResolveLValue,
	IndexerAccess.DoResolve): ditto.

	(Invocation.DoResolve): ditto.

	(Invocation.FullMethodDesc): Improve the report string.

	* statement.cs (Block): Eliminate IsVariableDefined as it is
	basically just a wrapper for GetVariableInfo.

svn path=/trunk/mcs/; revision=8718
2002-10-31 22:52:47 +00:00
Miguel de Icaza 033ff60aa8 Add more
svn path=/trunk/mcs/; revision=8717
2002-10-31 20:47:49 +00:00
Gonzalo Paniagua Javier ba4798337d style
svn path=/trunk/mcs/; revision=8716
2002-10-31 20:28:03 +00:00
Ville Palo c707187466 2002-10-31 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlInt16Test.cs: Litle bugfix

svn path=/trunk/mcs/; revision=8715
2002-10-31 18:51:49 +00:00
Ville Palo 8426049be0 2002-10-31 Ville Palo <[email protected]>
* SqlBinary.cs:
	* SqlBoolean.cs:
	* SqlByte.cs:
	* SqlDecimal.cs:
	* SqlDouble.cs:
	* SqlInt16.cs:
	* SqlInt64.cs:
	* SqlString.cs: Some bugfixes and some TODOs but so much
	work to do.

svn path=/trunk/mcs/; revision=8714
2002-10-31 18:38:58 +00:00
Dick Porter 34f1321379 2002-10-31 Dick Porter <[email protected]>
* icall.c:
	* file-io.h:
	* file-io.c: Return the error status in a parameter, as the
	GetLastError() value has long since been blown away if we try and
	look it up in a subsequent internal call invocation.  Delete the
	GetLastError() internal call, because it's useless.

2002-10-31  Dick Porter  <[email protected]>

	* io.h:
	* io.c: Define and use INVALID_FILE_ATTRIBUTES

2002-10-31  Dick Porter  <[email protected]>

	* Makefile.am: The previous automake-1.6 fix broke automake-1.4 on
	cygwin.  Try again.

svn path=/trunk/mono/; revision=8713
2002-10-31 16:06:49 +00:00
Dick Porter 542709a35c 2002-10-31 Dick Porter <[email protected]>
* FileStream.cs: Fix buffering properly this time.  Also kludge
	around broken pipe errors, treating them as EOF instead of
	throwing an IO exception.

	* MonoIO.cs: Return the error status in a parameter, as the
	GetLastError() value has long since been blown away if we try and
	look it up in a subsequent internal call invocation.

	* Process.cs:
	* Environment.cs:
	* FileSystemInfo.cs:
	* FileInfo.cs:
	* File.cs:
	* Directory.cs: MonoIO methods now have an error parameter

2002-10-31  Dick Porter  <[email protected]>

	* list.unix: Added MonoIO and MonoIOError to the build

svn path=/trunk/mcs/; revision=8712
2002-10-31 15:55:48 +00:00
Dietmar Maurer ac1b23f5c1 2002-10-31 Dietmar Maurer <[email protected]>
* class.[ch]: added cast_class to fix bug 29517

svn path=/trunk/mono/; revision=8711
2002-10-31 15:39:33 +00:00
Tim Coleman 80aa5fdec1 2002-10-31 Tim Coleman ([email protected])
* library.build
		Exclude TdsClient to avoid breaking the build.

svn path=/trunk/mcs/; revision=8710
2002-10-31 13:16:47 +00:00
Tim Coleman 285e282029 * list :
Add System.Data.Common/DbEnumerator.cs
	* System.Data.SqlClient/SqlDataReader.cs:
		Remove SqlDataReaderEnumerator -- use DbEnumerator instead
	* System.Data.Common/DbEnumerator.cs:
		New class added

svn path=/trunk/mcs/; revision=8709
2002-10-31 07:31:32 +00:00
Tim Coleman 59894370e1 2002-10-30 Tim Coleman ([email protected])
* DbDataRecord.cs:
		Added

svn path=/trunk/mcs/; revision=8708
2002-10-31 06:33:26 +00:00
Tim Coleman 5c1e304c05 2002-10-30 Tim Coleman ([email protected])
* TdsDataReader.cs:
                Use SchemaInfo instead of TdsColumnSchema

svn path=/trunk/mcs/; revision=8707
2002-10-31 06:29:23 +00:00
Tim Coleman 6abb56ef36 2002-10-30 Tim Coleman ([email protected])
* list :
                Remove TdsColumnSchema.cs

svn path=/trunk/mcs/; revision=8706
2002-10-31 06:28:09 +00:00
Tim Coleman 8d9bcc3439 2002-10-30 Tim Coleman ([email protected])
* TdsPacketColumnInfoResult.cs:
        * TdsPacketRowResult.cs:
                Uses new SchemaInfo object

svn path=/trunk/mcs/; revision=8705
2002-10-31 06:26:22 +00:00
Tim Coleman 8359686855 2002-10-30 Tim Coleman ([email protected])
* TdsColumnSchema.cs:
                Ditch this in favor of System.Data.Common.SchemaInfo
        * ITds.cs:
                Change ColumnInfo to Schema
        * Tds.cs:
                Uses new SchemaInfo object
                Supports TEXT now.
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
                Uses new SchemaInfo object

svn path=/trunk/mcs/; revision=8704
2002-10-31 06:24:11 +00:00
Tim Coleman 8dfb296b20 2002-10-30 Tim Coleman ([email protected])
* System.Data.Common/FieldNameLookup.cs:
        * System.Data.Common/SchemaInfo.cs:
        * System.Data.SqlClient/SqlXmlTextReader.cs:
                New classes added
        * list :
                Class list changed in build
        * System.Data.SqlClient/SqlCommand.cs:
                Added support for command behaviors
                Refactored a bunch of code
                Implement ExecuteScalar
                Implement ExecuteXmlReader
        * System.Data.SqlClient/SqlConnection.cs:
                Moved CheckForErrors here
        * System.Data.SqlClient/SqlDataAdapter.cs:
                Code reformatting
        * System.Data.SqlClient/SqlDataReader.cs:
                Implement GetEnumerator
                Fix NextResult, Read
                Add SqlDataReaderEnumerator private class
        * System.Data.SqlClient/SqlParameter.cs:
                Move some of the Prepare code from SqlCommand to here
        * System.Data.SqlClient/SqlTransaction.cs:
                Move error checking to SqlConnection

svn path=/trunk/mcs/; revision=8703
2002-10-31 06:20:08 +00:00
Miguel de Icaza 470af9958a 2002-10-31 Miguel de Icaza <[email protected]>
* support.cs (ReflectionParamter.ParameterType): We unwrap the
	type, as we return the actual parameter ref/unref state on a
	different call.

svn path=/trunk/mcs/; revision=8702
2002-10-31 06:02:40 +00:00
Gonzalo Paniagua Javier 7d303a6e51 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* TextReader.cs: implemented ReadBlock ().

svn path=/trunk/mcs/; revision=8701
2002-10-31 04:22:13 +00:00
Gonzalo Paniagua Javier bf84902522 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs: NameValueCollection.Add is now fixed.

svn path=/trunk/mcs/; revision=8700
2002-10-31 04:18:06 +00:00
Gonzalo Paniagua Javier cf112324cd 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: fixed GetRawContent (). Now it only tries
	to read at most ContentLength bytes.

	* System.Web/HttpResponse.cs: now it sends the headers. Added
	X-Powered-By header :-).

	* System.Web/HttpRuntime.cs: fixed typo.

	* System.Web/HttpValueCollection.cs: cosmetic changes.

	* System.Web.UI/Control.cs: save control names instead of the controls
	themselves to the ViewState.

	* System.Web.UI/LosFormatter.cs: added support for serializing unknown
	types. BinaryFormatter does not work so you better don't store anything
	unknown in ViewState.

	* System.Web.UI/Page.cs: GetViewStateString works now using
	LosFormatter. Complete "Control execution lifecycle" by unloading all
	the child controls. Check for null in RaisePostBackEvents.
	LoadPageViewStateFromPersistenceMedium uses LosFormatter too.

	POST works now!

svn path=/trunk/mcs/; revision=8699
2002-10-31 04:08:02 +00:00
Miguel de Icaza d5ff62ada9 2002-10-30 Miguel de Icaza <[email protected]>
* support.cs: Return proper flags REF/OUT fixing the previous
	commit.

	* expression.cs: Reverted last patch, that was wrong.  Is_ref is
	not used to mean `ref' but `ref or out' in ParameterReference

svn path=/trunk/mcs/; revision=8698
2002-10-31 04:02:33 +00:00
Gonzalo Paniagua Javier 94822bae6d return false instead of throwing exception
svn path=/trunk/mcs/; revision=8697
2002-10-31 03:50:45 +00:00
Gonzalo Paniagua Javier 5a6ed913b4 upload this test here
svn path=/trunk/mcs/; revision=8696
2002-10-31 03:46:32 +00:00
Gonzalo Paniagua Javier bd111ff80c 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: removed a few hacks no longer needed.

svn path=/trunk/mcs/; revision=8695
2002-10-31 03:45:07 +00:00
Gonzalo Paniagua Javier 0bd4fc901a 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* NameValueCollection.cs: fixed Add (NameValueCollection).

svn path=/trunk/mcs/; revision=8694
2002-10-31 03:41:05 +00:00
Miguel de Icaza d3917c0684 2002-10-30 Miguel de Icaza <[email protected]>
* expression.cs (ParameterReference.DoResolve, DoResolveLValue):
	Do not use ISBYREF because that is a flag that says that either
	REF or OUT are set, use REF when we mean ref.

svn path=/trunk/mcs/; revision=8692
2002-10-31 03:06:56 +00:00
Gonzalo Paniagua Javier 543335f206 style
svn path=/trunk/mcs/; revision=8691
2002-10-31 03:05:07 +00:00
Miguel de Icaza 84fe65bf68 2002-10-30 Miguel de Icaza <[email protected]>
* delegate.cs (FullDelegateDesc): use ParameterDesc to get the
	full type signature instead of calling TypeManger.CSharpName
	ourselves.

	* support.cs (InternalParameters.ParameterDesc): Do not compare
	directly to the modflags, because REF/OUT will actually be bitsets
	if set.

svn path=/trunk/mcs/; revision=8690
2002-10-31 03:00:23 +00:00
Miguel de Icaza b3faed9f07 2002-10-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Fix bug where floating point values with an

svn path=/trunk/mcs/; revision=8689
2002-10-31 02:26:10 +00:00
Sebastien Pouliot 6d1f161869 2002-10-30 Sebastien Pouliot <[email protected]>
* DSASignatureDeformatter.cs: Fully implemented - however it
	requires a functionnal DSA implementation to work.
	* DSASignatureFormatter.cs: Fully implemented - however it
	requires a functionnal DSA implementation to work.

svn path=/trunk/mcs/; revision=8688
2002-10-31 02:14:39 +00:00
Miguel de Icaza 2e279403ec 2002-10-30 Miguel de Icaza <[email protected]>
* StreamWriter.cs: Ditto for Null stream.

	* BinaryReader.cs: Use Unmarked here too.

svn path=/trunk/mcs/; revision=8687
2002-10-31 01:06:30 +00:00
Miguel de Icaza d9c7c9c7f9 2002-10-30 Miguel de Icaza <[email protected]>
* BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
	is what .NET does.

svn path=/trunk/mcs/; revision=8685
2002-10-31 00:46:20 +00:00
Miguel de Icaza 00c2299b17 2002-10-30 Miguel de Icaza <[email protected]>
* Encoding.cs (UTF8Unmarked): New static property, used to return
	a no-markers UTf8 encoder, used in a few places in the class library.

svn path=/trunk/mcs/; revision=8684
2002-10-31 00:45:59 +00:00
Atsushi Eno 099042bca0 *** empty log message ***
svn path=/trunk/mcs/; revision=8683
2002-10-30 19:41:13 +00:00
Paolo Molaro c0346cdc65 Wed Oct 30 19:37:32 CET 2002 Paolo Molaro <[email protected]>
* marshal.c: create valid IL code in the filter clause:
	the new JIT is less forgiving:-)

svn path=/trunk/mono/; revision=8682
2002-10-30 18:41:41 +00:00
Gonzalo Paniagua Javier 6c9a8afc29 added missing files
svn path=/trunk/mcs/; revision=8681
2002-10-30 15:45:24 +00:00
Jackson Harper d29f13f83c Added class
svn path=/trunk/mcs/; revision=8680
2002-10-30 15:39:25 +00:00
Gonzalo Paniagua Javier fee8fdda16 2002-10-30 Gonzalo Paniagua Javier <[email protected]>
* EventHandlerList.cs: fixed bug #29535.

svn path=/trunk/mcs/; revision=8679
2002-10-30 15:21:46 +00:00
Gonzalo Paniagua Javier 6a3b9fa131 changelog
svn path=/trunk/mcs/; revision=8678
2002-10-30 15:13:51 +00:00
Gonzalo Paniagua Javier d9bfb88359 2002-10-30 Gonzalo Paniagua Javier <[email protected]>
* AllTests.cs:
	* ChangeLog:
	* EventHandlerListTests.cs: new test.

svn path=/trunk/mcs/; revision=8677
2002-10-30 15:10:17 +00:00
Zoltan Varga 441e68fe10 2002-10-29 Zoltan Varga <[email protected]>
* Enum.cs: Added support for whitespaces in Enum:Parse().

svn path=/trunk/mcs/; revision=8676
2002-10-30 10:19:41 +00:00
Miguel de Icaza 90ccde5dfd 2002-10-30 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Fix bug where floating point values with an
	exponent where a sign was missing was ignored.

svn path=/trunk/mcs/; revision=8675
2002-10-30 06:27:55 +00:00
Miguel de Icaza 8f35a05eee 2002-10-30 Miguel de Icaza <[email protected]>
* driver.cs: Allow multiple assemblies to be specified in a single

svn path=/trunk/mcs/; revision=8674
2002-10-30 06:23:47 +00:00
Tim Coleman 0855d9f2ca 2002-10-29 Tim Coleman ([email protected])
* ITds.cs:
                Add OutputParameters collection
        * Tds.cs:
                Much reformatting, added handling for dates,
                fixed handling of output parameters, and a
                whole lot more
        * TdsPacketEndTokenResult.cs:
                Remove incorrect exception
        * TdsPacketType.cs:
                Add Logoff packet type.

svn path=/trunk/mcs/; revision=8671
2002-10-30 04:57:49 +00:00
Tim Coleman e6b40a5d00 2002-10-29 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Added code to handle parameters for queries
        * System.Data.SqlClient/SqlConnection.cs:
                Properly handle resetting SqlConnections
        * System.Data.SqlClient/SqlDataReader.cs:
                Properly handle the case where no results are returned
        * System.Data.SqlClient/SqlParameter.cs:
                Default direction to Input
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Implement GetEnumerator

svn path=/trunk/mcs/; revision=8670
2002-10-30 04:54:11 +00:00
Dennis Hayes 07ba9fb439 start of implmenting menus. checkin for Alexandre Pigolkine ([email protected])
svn path=/trunk/mcs/; revision=8669
2002-10-30 00:52:41 +00:00
Daniel Morgan c1a3b925e2 2002-10-29 Daniel Morgan <[email protected]>
* System.ComponentModel/PropertyDescriptor.cs: added
	missing abstract methods and properties

	* System.ComponentModel/DerivedPropertyDescriptor.cs: implemented
	SetValue and added stubs for missing methods and properties

svn path=/trunk/mcs/; revision=8668
2002-10-29 21:52:54 +00:00
Rodrigo Moya 39c83773cc 2002-10-29 Rodrigo Moya <[email protected]>
* makefile.gnu: added Test directory.

svn path=/trunk/mcs/; revision=8667
2002-10-29 21:19:53 +00:00
Gonzalo Paniagua Javier 4482feab4d 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* DataBinder.cs: implemented Eval and GetIndexedPropertyValue methods.

svn path=/trunk/mcs/; revision=8666
2002-10-29 20:45:43 +00:00
Gonzalo Paniagua Javier 019d94a45f 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* icall.c: removed get_property internal call.

svn path=/trunk/mono/; revision=8665
2002-10-29 20:29:12 +00:00
Gonzalo Paniagua Javier b263b3febc 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: fixed GetProperty (string, Type []) and removed get_property
	internal call. Closes bug #32992.

svn path=/trunk/mcs/; revision=8664
2002-10-29 20:25:29 +00:00
Ville Palo 5c65f4b0dd 2002-10-29 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
	couple of MonoTODOs.

svn path=/trunk/mcs/; revision=8663
2002-10-29 19:47:03 +00:00
Gonzalo Paniagua Javier a570c0a747 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* Exception.cs: display the inner exception, if any, in ToString ().

svn path=/trunk/mcs/; revision=8662
2002-10-29 18:38:38 +00:00
Gonzalo Paniagua Javier 83dbe7ec4a 2002-10-29 Gonzalo Paniagua Javier <[email protected]>
* TargetInvocationException.cs: modified default message.

svn path=/trunk/mcs/; revision=8661
2002-10-29 18:38:22 +00:00
Nick Drochak 7f7b6cba58 2002-10-29 Nick Drochak <[email protected]>
* Hash.cs: Fix build issues.  Add some using statements mostly.

svn path=/trunk/mcs/; revision=8660
2002-10-29 14:04:49 +00:00
Dick Porter 6d893c7a7a Dead chickens and other voodoo to shut automake 1.6 up
svn path=/trunk/mono/; revision=8659
2002-10-29 12:42:09 +00:00
Gaurav Vaish 5a6a273203 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for RepeaterDesigner.
* RepeaterDesigner.CS     : Initial implementation.
* XmlDesigner.cs          : Minor bug fixes.

svn path=/trunk/mcs/; revision=8658
2002-10-29 10:08:58 +00:00
Gaurav Vaish 540b2a68b6 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for XmlDesigner.
* XmlDesigner.cs          : Initial implementation.

svn path=/trunk/mcs/; revision=8657
2002-10-29 09:18:01 +00:00
Gaurav Vaish 13ed549bc5 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Update for PanelDesigner.
* PanelDesigner.cs        : Completed.

svn path=/trunk/mcs/; revision=8656
2002-10-29 09:09:12 +00:00
Gaurav Vaish 603a313e0c 2002-10-29 Gaurav Vaish <[email protected]>
* TODO                    : Updates of what I am doing / have done.
* BaseValidatorDesigner.cs: Completed.

svn path=/trunk/mcs/; revision=8655
2002-10-29 06:40:39 +00:00
Gaurav Vaish adf8e4b7ea 2002-10-29 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : GetDesignTimeDataSource(IEnumerable, int, bool)
                                            - Implemented.

svn path=/trunk/mcs/; revision=8654
2002-10-29 05:29:22 +00:00
Gaurav Vaish 96d1ad3fe6 2002-10-29 Gaurav Vaish <[email protected]>
* ChangeLog -- Correcting the date. ;-)

svn path=/trunk/mcs/; revision=8653
2002-10-29 05:27:23 +00:00
Jackson Harper 1580b7655d FirstMatchCodeGroup.cs, Hash.cs: New classes, somewhat finished
svn path=/trunk/mcs/; revision=8652
2002-10-29 04:51:58 +00:00
Gaurav Vaish dca003cca9 2002-10-28 Gaurav Vaish <[email protected]>
* BaseCompareValidator.cs - Fixed operator bug in
                            Compare(string, string, ...)
* CompareValidator.cs     - EvaluateIsValid()            : Implemented.

svn path=/trunk/mcs/; revision=8651
2002-10-29 04:50:44 +00:00
Jackson Harper 901f90fdb3 Implemented most methods
svn path=/trunk/mcs/; revision=8650
2002-10-29 04:45:11 +00:00
Jackson Harper ec21b822a6 Added class
svn path=/trunk/mcs/; revision=8649
2002-10-29 04:40:59 +00:00
Jackson Harper f18efb92a2 AllMembershipCondition.cs: Made GetHashCode act more like MS version. All AllMembershipCondition instance's will return the same hashcode but this hashcode should still be unique to AllMembershipCondition's.
svn path=/trunk/mcs/; revision=8648
2002-10-29 04:35:31 +00:00
Tim Coleman eaf5a64eb9 2002-10-28 Tim Coleman ([email protected])
* Tds.cs:
	* Tds42.cs:
	* Tds50.cs:
	* Tds70.cs:
	* Tds80.cs:
		Fix the build on windows.

svn path=/trunk/mcs/; revision=8647
2002-10-29 04:05:48 +00:00
Tim Coleman 49323a6ca5 2002-10-28 Tim Coleman ([email protected])
* Tds80.cs:
		Update to be consistent with other classes.  Not used.

svn path=/trunk/mcs/; revision=8646
2002-10-29 03:52:49 +00:00
Tim Coleman 185b20f62e 2002-10-28 Tim Coleman ([email protected])
* Tds.cs:
                Add much handling to get the following types
                working in queries: string, int, decimal
                All sorts of other bug fixing and general
                purpose hackery.
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
                ProcessColumnInfo was abstracted in Tds.cs
                and subclassed, because 7.0 provides the information
                in a different format.
        * TdsColumnSchema.cs:
                Added size, precision, scale
        * TdsComm.cs:
                Fixed GetString because it wasn't working properly
                with TDS 7.0.
        * TdsMessage.cs:
                Change state and severity to byte instead of int
                because that is more consitent.

svn path=/trunk/mcs/; revision=8645
2002-10-29 03:44:43 +00:00
Tim Coleman 7c9b013590 2002-10-28 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlCommand.cs:
                Add some error handling
        * System.Data.SqlClient/SqlDataReader.cs:
                Add some error handling
                Add precision/scale to schema table
        * System.Data.SqlClient/SqlException.cs:
                Generate a SqlException from TDS error
                collection
        * System.Data.SqlClient/SqlTransaction.cs:
                Add some error handling

svn path=/trunk/mcs/; revision=8644
2002-10-29 03:40:49 +00:00
Miguel de Icaza 9513de97dd 2002-10-28 Miguel de Icaza <[email protected]>
* cs-parser.jay: Ugly.  We had to add a multiplicative_expression,
	because identifiers after a parenthesis would end up in this kind
	of production, and we needed to desamiguate it for having casts
	like:

		(UserDefinedType *) xxx

svn path=/trunk/mcs/; revision=8643
2002-10-29 02:55:57 +00:00
Sebastien Pouliot d5da514447 2002-10-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added test suites for SHA256, SHA384 and SHA512
	(last two partly commented until implementation is commited).
	* SHA256Test.cs: New. Generic FIPS180-2 tests for SHA-256.
	* SHA256ManagedTest.cs: New. Implementation tests (inherits
	from SHA256Test).
	* SHA384Test.cs: New. Generic FIPS180-2 tests for SHA-384.
	* SHA384ManagedTest.cs: New. Implementation tests (inherits
	from SHA384Test).
	* SHA512Test.cs: New. Generic FIPS180-2 tests for SHA-512.
	* SHA512ManagedTest.cs: New. Implementation tests (inherits
	from SHA512Test).

svn path=/trunk/mcs/; revision=8642
2002-10-29 02:51:00 +00:00
Sebastien Pouliot 09a10d4caa *** empty log message ***
svn path=/trunk/mcs/; revision=8641
2002-10-29 02:49:43 +00:00
Jackson Harper 4de2729aa5 Added test for Evidence class
svn path=/trunk/mcs/; revision=8640
2002-10-29 02:48:19 +00:00
Dennis Hayes 2c2289cb14 added test file for Alexandre
svn path=/trunk/mcs/; revision=8639
2002-10-29 01:48:45 +00:00
Dennis Hayes e61fa8764b minor changes for Alexandre
svn path=/trunk/mcs/; revision=8638
2002-10-29 01:46:14 +00:00
Miguel de Icaza 388a9792ae Fix build
svn path=/trunk/mcs/; revision=8637
2002-10-28 23:29:01 +00:00
Miguel de Icaza 4e29083c64 Flush
svn path=/trunk/mono/; revision=8636
2002-10-28 21:14:19 +00:00
Miguel de Icaza ff5a77dee6 Flush
svn path=/trunk/mono/; revision=8635
2002-10-28 21:13:23 +00:00
Dennis Hayes 4551be83d6 updated
svn path=/trunk/mcs/; revision=8634
2002-10-28 20:49:55 +00:00
Atsushi Eno 9971d03a5d *** empty log message ***
svn path=/trunk/mcs/; revision=8633
2002-10-28 18:33:34 +00:00
Atsushi Eno d4facf5237 2002-10-29 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : add internal 'IsDefault' property
			    (equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.

svn path=/trunk/mcs/; revision=8632
2002-10-28 18:05:39 +00:00
Atsushi Eno 3eb71a9573 *** empty log message ***
svn path=/trunk/mcs/; revision=8631
2002-10-28 17:55:34 +00:00
Atsushi Eno ff784d30c3 * XmlAttribute.cs : add internal 'IsDefault' property
(equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.
	* XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
		property to enable AppendChild() for this class.
	* XmlTextReader.cs : appended private publicId and systemId fields.

svn path=/trunk/mcs/; revision=8630
2002-10-28 17:51:36 +00:00
Dennis Hayes 8e590adc31 added and implmented
svn path=/trunk/mcs/; revision=8629
2002-10-28 17:43:05 +00:00
Dennis Hayes 41f4af87e6 implmented
svn path=/trunk/mcs/; revision=8628
2002-10-28 17:39:34 +00:00
Dennis Hayes 34ecc1a7e2 more implmentation CE complete on scrollbar and ScrollableControl
svn path=/trunk/mcs/; revision=8627
2002-10-28 17:37:06 +00:00
Dennis Hayes 4e62e11fd1 updated
svn path=/trunk/mcs/; revision=8626
2002-10-28 17:34:18 +00:00
Gonzalo Paniagua Javier dad9057526 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: make it work when the underlying Stream is not
	'seekable'.

svn path=/trunk/mcs/; revision=8625
2002-10-28 17:17:29 +00:00
Atsushi Eno 755b1236a8 * XmlAttribute.cs : add internal 'IsDefault' property
(equals to !Specified)
	* XmlImplementation.cs : added 'internalNameTable' property.
	* XmlDocument.cs :
	    + now allows "" for 'standalone' in CreateXmlDeclaration.
	    + implemented 'Implementation' property and constructor with it.
	    + added logic for appending name table (but still no use)
	    + implemented property 'DocumentType'
	      (but without internalSubset parsing. wait for next update.)
	* XmlNode.cs :
	    + modified AppendChild() and RemoveChild() to support fragment.
	    + modified AppendChild() to remove newChild from its parent
	      when newChild is already in the other place.
	    + modified RemoveChild() to set parentNode null.
	    + modified ConstructDOM() to create DocumentType,
	      and fixed access modifier ('internal protected' to 'internal')
	* XmlLinkedNode.cs : fixed 'NextSibling' to return null
		when its parent is null.
	* XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
		property to enable AppendChild() for this class.
	* XmlTextReader.cs : appended private publicId and systemId fields.

svn path=/trunk/mcs/; revision=8624
2002-10-28 17:15:07 +00:00
Ville Palo ce96ed7b40 2002-10-28 Ville Palo <[email protected]>
* makefile.gnu:
	* data_linux_test.args: Added new files for testing
	* System.Data.SqlTypes/AllTest.cs:
	* System.Data.SqlTypes/SqlDecimalTest.cs
	* System.Data.SqlTypes/SqlMoneyTest.cs: Bugfixes, Now all the
	SqlTypes test suites work.

svn path=/trunk/mcs/; revision=8623
2002-10-28 16:52:57 +00:00
Ville Palo 2e2caf7962 2002-10-28 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlDateTime.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlDecimal.cs:
	* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlGuid.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs:
	* System.Data.SqlTypes/Money.cs:
	* System.Data.SqlTypes/SqlSingle.cs:
	* System.Data.SqlTypes/SqlString.cs:
	* System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
	some other minor fixes. Now all of the test suites work.

svn path=/trunk/mcs/; revision=8622
2002-10-28 16:43:12 +00:00
Duncan Mak 3ecf8b80c5 2002-10-28 Duncan Mak <[email protected]>
* list: added DataGridLinkButton.cs.

svn path=/trunk/mcs/; revision=8621
2002-10-28 14:38:59 +00:00
Gaurav Vaish 72b85ba496 2002-10-28 Gaurav Vaish <[email protected]>
* BoundColumn.cs        - InitializeCell(TableCell, int, ListItemType)
                                              : Implemented.
                        - All Properties      : Now make use of ViewState.

svn path=/trunk/mcs/; revision=8620
2002-10-28 12:02:41 +00:00
Gaurav Vaish a104dc873b 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - Uncomment NotImplementedException.

svn path=/trunk/mcs/; revision=8619
2002-10-28 11:27:57 +00:00
Gaurav Vaish f3fc6f012e 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - Minor changes in TODO comments.

svn path=/trunk/mcs/; revision=8618
2002-10-28 11:11:05 +00:00
Gaurav Vaish 3a8b5a62cb 2002-10-28 Gaurav Vaish <[email protected]>
* BaseValidator.cs      - DetermineRenderUpLevel()       : Uncomment
                          the NotImplementedException being thrown.
* DataGridPagerStyle.cs - Mode { set; }                  : Implemented.
* DataGridLinkButton.cs - Added new class (private)      : Implemented.
* DataGrid.cs           - InitializePager(DataGridItem, int,
                          PagedDataSource)               : Implemented.

svn path=/trunk/mcs/; revision=8617
2002-10-28 11:05:51 +00:00
Rodrigo Moya 5ae39b1746 2002-10-27 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
	GetFillParameters, Update): added overloaded methods.

	* System.Data.OleDb/OleDbCommand.cs:
	* System.Data.OleDb/OleDbDataReader.cs:
	* System.Data.OleDb/OleDbConnection.cs: removed limitation of one
	data adapter at a time. Mono's version can open as many as you want,
	for free.

svn path=/trunk/mcs/; revision=8616
2002-10-28 10:59:37 +00:00
Dietmar Maurer d067dea4ba 2002-10-28 Dietmar Maurer <[email protected]>
* monoburg.c (emit_state): use 16bit values for registers, removed
	reg3 and spilled flag.

svn path=/trunk/mono/; revision=8615
2002-10-28 09:50:49 +00:00
Gaurav Vaish 53c1c5d75c 2002-10-28 Gaurav Vaish <[email protected]>
* DataList.cs          - PrepareControlHierarchy()       : Implemented.

svn path=/trunk/mcs/; revision=8614
2002-10-28 09:40:38 +00:00
Nick Drochak ca590b670e 2002/10/28 Nick Drochak <[email protected]>
* DateAndTimeTest.cs: Make tests pass on Windows with .NET

svn path=/trunk/mcs/; revision=8613
2002-10-28 08:50:49 +00:00
Gaurav Vaish a834749015 2002-10-28 Gaurav Vaish <[email protected]>
* DataSourceHelper.cs       : Fresh implementation. Moved from
                      System.Web.UI.WebControls.DataGrid
                      ::ResolveData(object, string).

svn path=/trunk/mcs/; revision=8612
2002-10-28 07:44:38 +00:00
Gaurav Vaish f70d52a7ca 2002-10-28 Gaurav Vaish <[email protected]>
* DataList.cs          - RenderContents(HtmlTextWriter)  : Implemented.
                       - GetItem(ListItemType, int)      : Removed TODO.
                       - CreateControlHierarchy(bool)    : Implemented.
                       - CreateItem(int, ListItemType)   : Implemented.
                       - CreateItem(int, ListItemType,
                               bool, object)             : Implemented.
                       - InitializeItem(DataItem)        : Implemented.
* DataGrid.cs          - CreateControlHierarchy(bool)    : Bug fix.
                    The ViewState["_!ItemCount"],
                        ViewState["_!DataSource_ItemCount"]
                          are shared by DataList and DataGrid, and hence
                          should share the same name.
                       - ResolveDataSource(object, string)
                             : Removed. Use System.Web.UI.Utils.DataSourceHelper
                               ::GetResolvedDataSource(object, string).

svn path=/trunk/mcs/; revision=8611
2002-10-28 07:43:42 +00:00
Gonzalo Paniagua Javier 062a00f4b0 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: added test target.
	* Test/System.XML_linux_test.args: added XPathNavigatorEvaluateTests.cs
	* Test/makefile.gnu: pass MONO_PATH when running the tests.

svn path=/trunk/mcs/; revision=8610
2002-10-28 03:23:23 +00:00
Gonzalo Paniagua Javier 4d449fc5ad no NUnit tests in this assembly yet
svn path=/trunk/mcs/; revision=8609
2002-10-28 03:17:19 +00:00
Gonzalo Paniagua Javier 00091b8b37 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added missing files from System.Security.Cryptography
	namespace.

	* Test/AllTests.cs: removed System.Threading.AllTests. It does not
	exist.

	* Test/corlib_linux_test.args: added missing tests from s.s.c namespace.

	* Test/makefile.gnu: pass MONO_PATH correctly. Not sure if this does
	anything because mono will load corlib from the installation dir.

	* Test/run_test.sh: NUNIT_MONO_PATH is not used.

svn path=/trunk/mcs/; revision=8608
2002-10-28 03:10:23 +00:00
Dennis Hayes feb2de8d87 updated
svn path=/trunk/mcs/; revision=8607
2002-10-28 00:25:57 +00:00
Gonzalo Paniagua Javier 53a67e95fb Mono.Data.TdsClient.dll does not build on unix. Removing it by now.
svn path=/trunk/mcs/; revision=8606
2002-10-28 00:09:27 +00:00
Dennis Hayes 218b460171 tweaks
svn path=/trunk/mcs/; revision=8605
2002-10-27 23:37:27 +00:00
Dennis Hayes d09d211a3f see last logfile
svn path=/trunk/mcs/; revision=8604
2002-10-27 23:28:08 +00:00
Dennis Hayes 2606c42bcc 2002-10-26 DennisHayes <[email protected]>
* AccessibleObject.cs
	* AssemblyInfo.cs
	* AxHost.cs
	* BaseCollection.cs
	* BindingMemberInfo.cs
	* BindingsCollection.cs
	* ButtonBase.cs
	* ColumnClickEventArgs.cs
	* ComboBox.cs
	* ContainerControl.cs
	* ContentsResizedEventArgs.cs
	* Control.cs
	* ControlEventArgs.cs
	* ConvertEventArgs.cs
	* DateBoldEventArgs.cs
	* DateRangeEventArgs.cs
	* DomainUpDown.cs
	* DragEventArgs.cs
	* DrawItemEventArgs.cs
	* FolderBrowserDialog.cs
	* Form.cs
	* GiveFeedbackEventArgs.cs
	* HelpEventArgs.cs
	* InputLanguageChangedEventArgs.cs
	* InputLanguageChangingEventArgs.cs
	* InvalidateEventArgs.cs
	* ItemChangedEventArgs.cs
	* ItemCheckEventArgs.cs
	* ItemDragEventArgs.cs
	* KeyEventArgs.cs
	* KeyPressEventArgs.cs
	* Keys.cs
	* LabelEditEventArgs.cs
	* LayoutEventArgs.cs
	* LinkClickedEventArgs.cs
	* LinkLabelLinkClickedEventArgs.cs
	* ListControl.cs
	* MeasureItemEventArgs.cs
	* MouseEventArgs.cs
	* NavigateEventArgs.cs
	* NodeLabelEditEventArgs.cs
	* PaintEventArgs.cs
	* PrintPreviewDialog.cs
	* PropertyTabChangedEventArgs.cs
	* PropertyValueChangedEventArgs.cs
	* QueryAccessibilityHelpEventArgs.cs
	* QueryContinueDragEventArgs.cs
	* ScrollEventArgs.cs
	* SelectedGridItemChangedEventArgs.cs
	* SplitterEventArgs.cs
	* StatusBarDrawItemEventArgs.cs
	* StatusBarPanelClickEventArgs.cs
	* System.Windows.Forms.csproj
	* System.Windows.Forms.csproj.user
	* TextBox.cs
	* ToolBarButtonClickEventArgs.cs
	* TreeNodeConverter.cs
	* TreeViewCancelEventArgs.cs
	* UICuesEventArgs.cs
	* UpDownBase.cs
	* UpDownEventArgs.cs
	* VScrollBar.cs

	* Stubs now compliant with .NET 1.1 Beta, except for one that has dependencies.
	* Added FolderBrowserDialog.cs for .NET 1.1 beta compatibility.
	* Completed implmentation of all *Args classes.
	* Updated checkoutlist.
	* Made fixes so this will compile using Visual studio under windows.

svn path=/trunk/mcs/; revision=8603
2002-10-27 23:26:21 +00:00
Dennis Hayes ddbc15a333 Added .sln file for SWF
svn path=/trunk/mcs/; revision=8602
2002-10-27 22:58:53 +00:00
Gonzalo Paniagua Javier 7dce138db8 forgot these 3. WebEncoding.
svn path=/trunk/mcs/; revision=8601
2002-10-27 20:30:19 +00:00
Gonzalo Paniagua Javier 095823b134 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* list: added WebEncoding.cs

	* System.Web/HttpApplication.cs: reenabled a few lines of code
	(ThreadPool already fixed).

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs:
	* System.Web/HttpWriter.cs:
	* System.Web.UI/LosFormatter.cs:
	Use WebEncoding.Encoding.

	* System.Web.Compilation/PageCompiler.cs: tracing.
	* System.Web.Compilation/TemplateFactory.cs: cache compiled types and
	tracing.
	* System.Web.Compilation/WebServiceCompiler.cs: new parameter in
	GetTypeFromsource,
	* System.Web.Configuration/HttpHandlersSectionHandler.cs: more null
	checks.

	* System.Web.UI/Control.cs:
	* System.Web.UI/Page.cs:
	* System.Web.Util/WebTrace.cs: fixed namespace.

	* System.Web.Util/WebEncoding.cs: new class that holds the default
	encoding for System.Web.

svn path=/trunk/mcs/; revision=8599
2002-10-27 19:55:28 +00:00
Zoltan Varga a7e0a23e60 2002-10-25 Zoltan Varga <[email protected]>
* corlib_linux_test.args AllTests.cs: Added beginnings of
	System.Threading testcases.

	* run_test.sh: fixed paths.

svn path=/trunk/mcs/; revision=8598
2002-10-27 18:44:30 +00:00
Zoltan Varga 96419ef08c 2002-10-25 Zoltan Varga <[email protected]>
* Thread.cs: Implement GetDomain() and GetDomainID().

svn path=/trunk/mcs/; revision=8597
2002-10-27 18:40:48 +00:00
Zoltan Varga cba938ef19 2002-10-25 Zoltan Varga <[email protected]>
* appdomain.h domain.c: Added an ID to appdomains.

	* threads.c threads.h icall.c: Implement icall
	Thread:GetDomainID(), and remove unused icall
	CurrentThreadDomain_internal.

svn path=/trunk/mono/; revision=8596
2002-10-27 18:31:05 +00:00
Gonzalo Paniagua Javier f0b26b0540 lalala
svn path=/trunk/mcs/; revision=8595
2002-10-27 13:25:32 +00:00
Gonzalo Paniagua Javier 0c06d75f25 2002-10-27 Gonzalo Paniagua Javier <[email protected]>
* Hashtable.cs: add the key when to the error mesagge when
	'key duplication'.

svn path=/trunk/mcs/; revision=8594
2002-10-27 13:24:31 +00:00
Dennis Hayes 14d2b2fd07 *** empty log message ***
svn path=/trunk/mcs/; revision=8589
2002-10-27 01:15:48 +00:00
Dennis Hayes 01d5e08ae6 2002-10-26 DennisHayes <[email protected]>
* Test and sample programs for SWF.
	* Created dir and started changlog.
	* Miguel will soon move files from SWF that were just moved from WINELIB.

svn path=/trunk/mcs/; revision=8588
2002-10-27 01:03:47 +00:00
Dennis Hayes f7e572fc72 2002-10-26 DennisHayes <[email protected]>
* Added CheckOutFile to SWF one level up from here
	* to keep track of who is working on what.

svn path=/trunk/mcs/; revision=8587
2002-10-27 00:26:09 +00:00
Dennis Hayes 03c22913b5 Added CheckOutList to keep track of who's working on what.
comment added to changelog in SWF

svn path=/trunk/mcs/; revision=8586
2002-10-27 00:20:36 +00:00
Piers Haken 04d50fc445 2002-10-26 Piers Haken <[email protected]>
* XmlNode.cs: add virtual property XPathNodeType
	* XmlAttribute.cs:
	* XmlComment.cs:
	* XmlDocument.cs:
	* XmlElement.cs::
	* XmlProcessingInstruction.cs:
	* XmlSignificantWhitespace.cs:
	* XmlText.cs:
	* XmlWhitespace.cs: implement XPathNodeType property
	* XmlDocumentNavigator.cs: use XPathNodeType property instead of switch

svn path=/trunk/mcs/; revision=8585
2002-10-26 23:06:29 +00:00
Piers Haken 3cac85224b 2002-10-26 Piers Haken <[email protected]>
* XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.

svn path=/trunk/mcs/; revision=8584
2002-10-26 22:27:52 +00:00
Gonzalo Paniagua Javier f7a96763b6 System.Data depends on System.EnterpriseServices
svn path=/trunk/mcs/; revision=8583
2002-10-26 16:03:32 +00:00
Gonzalo Paniagua Javier b2ccb75ca4 forgot this
svn path=/trunk/mcs/; revision=8582
2002-10-26 15:46:45 +00:00
Gonzalo Paniagua Javier d92cb66db8 2002-10-26 Gonzalo Paniagua Javier <[email protected]>
* makefile.trace: used to build System.Web.dll with trace enabled.
	* System.Web.build: added trace and clean targets.

svn path=/trunk/mcs/; revision=8581
2002-10-26 15:46:06 +00:00
Gonzalo Paniagua Javier 7f080f3193 2002-10-26 Gonzalo Paniagua Javier <[email protected]>
* DefaultTraceListener.cs: changed OutputDebugString to
	OutputDebugStringW (no more warnings under windows). Also a few style
	fixes.

svn path=/trunk/mcs/; revision=8580
2002-10-26 15:26:35 +00:00
Gonzalo Paniagua Javier 954165409b added clean target
svn path=/trunk/mcs/; revision=8579
2002-10-26 14:28:35 +00:00
Daniel Morgan 5e599cf949 mysql exception classes forgot to be added cvs
svn path=/trunk/mcs/; revision=8576
2002-10-26 04:56:47 +00:00
Daniel Morgan 0215e451d3 2002-10-26 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlError.cs
	* Mono.Data.MySql/MySqlErrorCollection.cs
	* Mono.Data.MySql/MySqlException.cs: added files for
	MySQL Exceptions

	* Mono.Data.MySql.build: removed excludes for new
	files (thus adding them to the build) on Windows

	* list: added files to build on Linux

	* Mono.Data.MySql/MySqlCommand.cs
	* Mono.Data.MySql/MySqlConnection.cs: modified
	to throw a new MySqlException when a MySqlError occurs

svn path=/trunk/mcs/; revision=8575
2002-10-26 04:49:36 +00:00
Daniel Morgan 466469dc6c 2002-10-26 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: just write to the console
	the Message from the exception, not the entire trace.

svn path=/trunk/mcs/; revision=8574
2002-10-26 04:42:00 +00:00
Daniel Morgan fe20eb1412 2002-10-25 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs: add support for
	SqlClient and TdsClient providers.  Added
	DebugWriteLine() for debugging.  Misc. tweaks

	* LoginDialog.cs
	* SqlEditorSharp.cs: use DebugWriteLine() for
    debug messages

svn path=/trunk/mcs/; revision=8573
2002-10-26 02:37:09 +00:00
Sebastien Pouliot f6468f26c3 2002-10-25 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for PasswordDeriveBytes
	* PasswordDeriveBytesTest.cs: New. Tests against pre-generated vectors -
	only works for short runs (keys < HashSize) not long runs

svn path=/trunk/mcs/; revision=8572
2002-10-26 01:23:36 +00:00
Sebastien Pouliot 38adbc3d23 2002-10-25 Sebastien Pouliot <[email protected]>
* PasswordDeriveBytes.cs: New. PKCS#5 key derivation (PBKDF1) works up to
	HashSize length (but MS support longer keys)

svn path=/trunk/mcs/; revision=8571
2002-10-26 01:14:09 +00:00
Daniel Morgan b15c439e1d 2002-10-25 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added support for
	SqlClient and TdsClient

	* SqlSharpCli.build: added target of "clean"

svn path=/trunk/mcs/; revision=8570
2002-10-25 22:58:25 +00:00
Miguel de Icaza e013f26402 Add validating reader
svn path=/trunk/mcs/; revision=8569
2002-10-25 22:31:42 +00:00
Tim Coleman 6726443d48 2002-10-25 Tim Coleman ([email protected])
* makefile.gnu :
	* library.build :
		Add Mono.Data.TdsClient to the default build

svn path=/trunk/mcs/; revision=8566
2002-10-25 20:18:47 +00:00
Tim Coleman f2e98df324 2002-10-25 Tim Coleman ([email protected])
* TdsDataReader.cs:
		Fix a few compile issues.

svn path=/trunk/mcs/; revision=8565
2002-10-25 20:17:28 +00:00
Tim Coleman 2d0f53e9c9 2002-10-25 Tim Coleman ([email protected])
* PostgresLibrary.cs :
	* PostgresTypes.cs :
		Remove unnecessary files.

svn path=/trunk/mcs/; revision=8564
2002-10-25 20:13:14 +00:00
Tim Coleman 990df43be3 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs :
		Fix compiler warning

svn path=/trunk/mcs/; revision=8563
2002-10-25 19:27:52 +00:00
Tim Coleman ff2e4bd22c 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs:
		Fix more build errors.

svn path=/trunk/mcs/; revision=8562
2002-10-25 19:17:46 +00:00
Daniel Morgan a6add3fd46 2002-10-25 Daniel Morgan <[email protected]>
* all of the files: modified made sure
	  licensing terms were the same
	  for mcs tools being under the GPL license

	* sqlsharpgtk.cs: modified to load Login Dialog
	  to Connect to database.  Create a toolbar and
	  status bar.  When appending text to the output
	  textview, scroll to the end of the text.
	  created login dialog, toolbar, and status bar,
	  and use new SQL editor

	* LoginDialog.cs: added file to be the Login Dialog

	* DbProvider.cs
	* DbProviderCollection.cs: added files for the
	  database provider

	* SqlEditorSharp.cs: added new file to be the
	  SQL Editor written in C# and GTK#.  Replaces
	  the SqlEditor.cs which was only C# bindings to
	  native sqleditor.dll

	* win32.make: add new files to windows build and
	  removed the old native sqleditor.dll as a dependency.

	* SqlEditor.cs: file removed

	* sql-editor-gtk-widget: directory removed

	* sql-editor-gtk-widget/win32.make: file removed

	* sql-editor-gtk-widget/gnome-db-sqleditor.c
	* sql-editor-gtk-widget/gnome-db-sqleditor.h: removed files

svn path=/trunk/mcs/; revision=8561
2002-10-25 19:10:20 +00:00
Tim Coleman 52d3e9e129 2002-10-25 Tim Coleman ([email protected])
* SqlDataReader.cs:
		Missed checking in this file before.

svn path=/trunk/mcs/; revision=8560
2002-10-25 18:49:16 +00:00
Gonzalo Paniagua Javier 40d240ed30 reference System.EnterpriseServices
svn path=/trunk/mcs/; revision=8559
2002-10-25 18:45:12 +00:00
Tim Coleman 61b6881e0a 2002-10-25 Tim Coleman ([email protected])
* Tds.cs:
		Remove unused variables to avoid warnings.

svn path=/trunk/mcs/; revision=8558
2002-10-25 18:02:56 +00:00
Tim Coleman 2a9102ac32 2002-10-25 Tim Coleman ([email protected])
* System.Data.build:
		Fix it so that I can now build SqlClient!

svn path=/trunk/mcs/; revision=8557
2002-10-25 17:57:04 +00:00
Atsushi Eno 71a3beee9e * XmlElement.cs : Fixed bug 32839. InnerXml removes all the children.
svn path=/trunk/mcs/; revision=8556
2002-10-25 16:54:52 +00:00
Tim Coleman e158c5137e 2002-10-25 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8555
2002-10-25 16:17:58 +00:00
Tim Coleman 4f9d0a10e3 2002-10-25 Tim Coleman ([email protected])
* TdsConnection.cs:
        * TdsConnectionPool.cs:
                Use a different locking mechanism for connection
                pools.
                The connection pool now uses a Monitor to have
                exclusive access.
        * TdsDataReader.cs:
                Implement a bit more.

svn path=/trunk/mcs/; revision=8554
2002-10-25 16:17:05 +00:00
Tim Coleman 52c906c88e 2002-10-25 Tim Coleman ([email protected])
* TdsPacketErrorResultCollection.cs:
                New class added for exporting errors
        * ITds.cs:
        * Tds.cs:
        * Tds70.cs:
        * TdsComm.cs:
        * TdsPacketEndTokenResult.cs:
        * TdsPacketRowResult.cs:
                Changes to make SqlClient build.

svn path=/trunk/mcs/; revision=8553
2002-10-25 16:14:54 +00:00
Tim Coleman 73b08bddcf 2002-10-25 Tim Coleman ([email protected])
* System.Data.SqlClient/SqlConnectionPool.cs:
                New class added
        * System.Data.SqlClient/SqlClientPermission.cs:
        * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
        * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
        * System.Data.SqlClient/SqlParameter.cs:
        * System.Data.SqlClient/SqlParameterCollection.cs:
                Code reformatting
        * System.Data.SqlClient/SqlCommand.cs:
        * System.Data.SqlClient/SqlConnection.cs:
        * System.Data.SqlClient/SqlException.cs:
        * System.Data.SqlClient/SqlTransaction.cs:
                New code based on work in TDS Client
        * list:
                New files added for SqlClient, and TdsClient.Internal
        * System.Data.build:
                Added reference to System.EnterpriseServices.dll
                Still leave SqlClient out of build until danmorg
                can fix.

svn path=/trunk/mcs/; revision=8552
2002-10-25 16:11:37 +00:00
Tim Coleman 17e21290e8 2002-10-25 Tim Coleman ([email protected])
* ParmUtil.cs:
		This file is no longer used.

svn path=/trunk/mcs/; revision=8551
2002-10-25 16:00:06 +00:00
Gonzalo Paniagua Javier a182fc63c0 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: recurse to Test directory.

	* Test/makefile.gnu:
	* Test/system_linux_test.args: added System tests to the build.

svn path=/trunk/mcs/; revision=8550
2002-10-25 15:58:16 +00:00
Gonzalo Paniagua Javier 7bc8829800 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: applied fix from Tim Haynes ([email protected]) to
	solve bug #32807. Also modified GetMapping to return the same as MS.

svn path=/trunk/mcs/; revision=8549
2002-10-25 15:09:02 +00:00
Miguel de Icaza 2bc140897a Fix
svn path=/trunk/mono/; revision=8548
2002-10-25 15:08:20 +00:00
Dick Porter 2740738b76 Compile fix
svn path=/trunk/mcs/; revision=8547
2002-10-25 12:40:24 +00:00
Miguel de Icaza 6287dcfee5 update
svn path=/trunk/mono/; revision=8544
2002-10-25 06:12:15 +00:00
Miguel de Icaza 55e0bd0f19 Update
svn path=/trunk/mono/; revision=8543
2002-10-25 06:11:10 +00:00
Gonzalo Paniagua Javier b32ca8a72f 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
	This fixes sending bytes and allows mixing byte with chars.

svn path=/trunk/mcs/; revision=8540
2002-10-25 03:25:45 +00:00
Gonzalo Paniagua Javier bd72f631c9 style
svn path=/trunk/mcs/; revision=8539
2002-10-25 02:26:44 +00:00
Sebastien Pouliot 067aaf6b97 2002-10-24 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProvider.cs: New. Implemented most logic expect crypto stuff.
	* RSAOAEPKeyExchangeDeformatter.cs: New. Stub.
	* RSAOAEPKeyExchangeFormatter.cs: New. Stub.
	* RSAPKCS1KeyExchangeDeformatter.cs: New. Stub.
	* RSAPKCS1KeyExchangeFormatter.cs: New. 98% implemented but still
	require RSA.DecryptValue (not supported in MS .NET Framework)
	* RSAPKCS1SignatureDeformatter.cs: New. Stub.
	* RSAPKCS1SignatureFormatter.cs: New. Stub.

svn path=/trunk/mcs/; revision=8538
2002-10-25 01:52:56 +00:00
Gonzalo Paniagua Javier 1f4f95b3ba 2002-10-25 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: implemented WriteFile methods.
	* MimeTypes.cs: removed duplicated entries.

svn path=/trunk/mcs/; revision=8537
2002-10-25 01:46:05 +00:00
Miguel de Icaza 8d8ed8167e 2002-10-24 Miguel de Icaza <[email protected]>
* typemanager.cs (RealMemberLookup): when we deal with a subclass,
	we should set on the Bindingflags.NonPublic, but not turn on
	private_ok.  private_ok controls whether a Private member is
	returned (this is chekced on the filter routine), while the
	BindingFlags.NonPublic just controls whether private/protected
	will be allowed.   This fixes the problem part of the problem of
	private properties being allowed to be used in derived classes.

	* expression.cs (BaseAccess): Provide an DoResolveLValue method,
	so we can call the children DoResolveLValue method (this will
	properly signal errors on lvalue assignments to base properties)

	* ecore.cs (PropertyExpr.ResolveAccessors): If both setter and
	getter are null, and we have a property info, we know that this
	happened because the lookup failed, so we report an error 122 for
	protection level violation.

	We also silently return if setter and getter are null in the
	resolve functions, this condition only happens if we have flagged
	the error before.  This is the other half of the problem.

svn path=/trunk/mcs/; revision=8536
2002-10-25 01:20:44 +00:00
Miguel de Icaza f6f94c5f47 Add new test
svn path=/trunk/mcs/; revision=8535
2002-10-25 01:20:00 +00:00
Gonzalo Paniagua Javier 7e7604e5af style
svn path=/trunk/mcs/; revision=8534
2002-10-25 00:52:13 +00:00
Miguel de Icaza 48e9d8b95a Add new test csae
svn path=/trunk/mcs/; revision=8532
2002-10-25 00:33:48 +00:00
Miguel de Icaza 1ffa1a1e04 2002-10-24 Miguel de Icaza <[email protected]>
* class.cs: Remove InheritablePropertySignatureCompare from the
	class, as we no longer depend on the property signature to compute
	whether it is possible to implement a method or not.

	The reason is that calling PropertyInfo.GetGetMethod will return
	null (in .NET, in Mono it works, and we should change this), in
	cases where the Get Method does not exist in that particular
	class.

	So this code:

	class X { public virtual int A { get { return 1; } } }
	class Y : X { }
	class Z : Y { public override int A { get { return 2; } } }

	Would fail in Z because the parent (Y) would not have the property
	defined.  So we avoid this completely now (because the alternative
	fix was ugly and slow), and we now depend exclusively on the
	method names.

	(PropertyBase.CheckBase): Use a method-base mechanism to find our
	reference method, instead of using the property.

	* typemanager.cs (GetPropertyGetter, GetPropertySetter): These
	routines are gone now.

svn path=/trunk/mcs/; revision=8531
2002-10-25 00:05:16 +00:00
Gonzalo Paniagua Javier 102a6ffc70 Added WebTrace.cs
svn path=/trunk/mcs/; revision=8530
2002-10-24 23:33:38 +00:00
Miguel de Icaza dea00dfac9 Style
svn path=/trunk/mcs/; revision=8529
2002-10-24 22:03:24 +00:00
Miguel de Icaza e6123a3ed3 2002-10-24 Miguel de Icaza <[email protected]>
* typemanager.cs (GetPropertyGetter, GetPropertySetter): swap the
	names, they were incorrectly named.

svn path=/trunk/mcs/; revision=8528
2002-10-24 21:58:43 +00:00
Gonzalo Paniagua Javier 740c71cc31 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: added options (commented out) to activate tracing.

	* System.Web/HttpResponse.cs: don't throw exception in a couple of
	methods not yet implemented.

	* System.Web.Compilation/AspComponentFoundry.cs: fixed typo.

	* System.Web.Compilation/AspGenerator.cs: don't use FileDependencies
	property of base class.

	* System.Web.Compilation/TemplateFactory.cs: use csc style options.

	* System.Web.UI/Page.cs: set the context in ProcessRequest. Added a
	few trace calls.
	* System.Web.UI/Control.cs: added some trace information.

svn path=/trunk/mcs/; revision=8527
2002-10-24 21:47:31 +00:00
Miguel de Icaza 4d96085282 Flush
svn path=/trunk/mono/; revision=8526
2002-10-24 21:33:12 +00:00
Miguel de Icaza 70ff1ccf2a Flush
svn path=/trunk/mono/; revision=8525
2002-10-24 21:22:37 +00:00
Tim Coleman bea85e6d00 2002-10-24 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8524
2002-10-24 21:02:48 +00:00
Tim Coleman 80dcdebad2 2002-10-24 Tim Coleman ([email protected])
* ITds.cs:
                Added column info, and NextResult/NextRow
                to interface
        * TdsColumnSchema.cs:
                New class added to keep track of column info
        * Tds.cs:
                Many, many changes to get queries working
                for the most part.
        * TdsPacketColumnInfoResult.cs:
        * TdsPacketColumnNamesResult.cs:
                Doesn't use a DataColumnCollection anymore
                Also more complete.
        * TdsPacketRowResult.cs:
                Added Add() method.

svn path=/trunk/mcs/; revision=8523
2002-10-24 21:02:05 +00:00
Tim Coleman eb03b681c2 2002-10-24 Tim Coleman ([email protected])
* TdsDataAdapter.cs:
        * TdsRowUpdatedEventArgs.cs:
        * TdsRowUpdatedEventHandler.cs:
        * TdsRowUpdatingEventArgs.cs:
        * TdsRowUpdatingEventHandler.cs:
                New classes added.
        * TdsCommand.cs:
                Implemented the ExecuteReader ()
                method
        * TdsConnection.cs:
                Added Dispose (), fixed connection parameter bug
        * TdsDataReader.cs:
                Implemented many methods

svn path=/trunk/mcs/; revision=8522
2002-10-24 20:57:17 +00:00
Paolo Molaro 9d49ad4c8f s390 support from Neale Ferguson <[email protected]>.
svn path=/trunk/mono/; revision=8521
2002-10-24 19:27:13 +00:00
Dennis Hayes 7dc88c3013 2002-10-24 DennisHayes <[email protected]>
* AccessibleObject.cs
	* Application.cs
	* AssemblyInfo.cs
	* BaseCollection.cs
	* BindingContext.cs
	* BindingManagerBase.cs
	* BindingsCollection.cs
	* ContainerControl.cs
	* Control.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* InputLanguageCollection.cs
	* Label.cs
	* MessageBox.cs
	* PropertyTabChangedEventArgs.cs
	* ScrollableControl.cs
	* Win32.cs
	* WINELib.csproj
	* WINELib.csproj.user
	* winelib.sln

	* Changes to get winelib version running with more methods uncommented out.
	* Especialy trying to get CE compliance.

svn path=/trunk/mcs/; revision=8520
2002-10-24 18:31:00 +00:00
Atsushi Eno 92b3797c5f * Xmlchar.cs : added IsPubidChar().
* XmlTextReader.cs : added primitive parsing features for DoctypeDecl.

svn path=/trunk/mcs/; revision=8519
2002-10-24 18:26:25 +00:00
Atsushi Eno 0304e69293 * XmlDocumentTests.cs : added TestDocumentWithDoctypeDecl()
svn path=/trunk/mcs/; revision=8518
2002-10-24 18:24:03 +00:00
Miguel de Icaza 9e3be4ebbe Mono coding conventions
svn path=/trunk/mcs/; revision=8517
2002-10-24 16:29:56 +00:00
Miguel de Icaza afe5159388 Small fix
svn path=/trunk/mono/; revision=8516
2002-10-24 16:11:56 +00:00
Jaime Anguiano Olarra 36f283be19 Some updates.
svn path=/trunk/mono/; revision=8515
2002-10-24 16:07:23 +00:00
Gonzalo Paniagua Javier a7eb397e81 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* icall.c: Don't recurse through the base types in GetConstructor.
	Fixes bug #32063.

svn path=/trunk/mono/; revision=8514
2002-10-24 15:58:03 +00:00
Paolo Molaro a93993d3fc Thu Oct 24 16:56:00 CEST 2002 Paolo Molaro <[email protected]>
* mempool.h, mempool.c: added mono_mempool_empty() and
	mono_mempool_stats().

svn path=/trunk/mono/; revision=8513
2002-10-24 15:00:12 +00:00
Ville Palo b6c4affae9 2002-10-24 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlStringTest.cs:
	* System.Data.SqlTypes/SqlDecimalTest.cs: new test suites for
	SqlDecimal and SqlString

svn path=/trunk/mcs/; revision=8512
2002-10-24 13:18:05 +00:00
Nick Drochak b91f637e42 2002-10-24 Nick Drochak <[email protected]>
* System.XML_test.build: remove legacy build of a standalone exe of the
	unit tests
	* XmlDocumentTests.cs: Cannot use a URI with Load().

svn path=/trunk/mcs/; revision=8511
2002-10-24 12:59:22 +00:00
Gonzalo Paniagua Javier a43a8bd5df 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: fixed StackTrace property.

svn path=/trunk/mcs/; revision=8510
2002-10-24 11:42:40 +00:00
Gonzalo Paniagua Javier 436a8e6a80 sleep time is again 500ms
svn path=/trunk/mcs/; revision=8509
2002-10-24 10:34:05 +00:00
Tim Coleman 23632c45c1 2002-10-23 Tim Coleman ([email protected])
* TdsCommand.cs:
                Change ExecuteReader call
        * TdsConnection.cs:
                Much to do with the restructuring
                of the TDS objects and some
                simplification.
        * TdsConnectionPool.cs:
                Some modifications to do with above.
        * TdsTransaction.cs:
                Move calls out of Tds object and
                into here.  Simpler, makes Tds
                object smaller, doesn't change this
                much.

svn path=/trunk/mcs/; revision=8508
2002-10-24 06:33:54 +00:00
Tim Coleman 27e6b691f9 2002-10-23 Tim Coleman ([email protected])
* list:
                Add new files to build
        * Mono.Data.TdsClient.build:
                Exclude Tds70.cs, Tds80.cs, Tds50.cs
                Those should only be included with
                the appropriate providers.

svn path=/trunk/mcs/; revision=8507
2002-10-24 06:31:32 +00:00
Tim Coleman 6161be6ef5 2002-10-23 Tim Coleman ([email protected])
* ITds.cs:
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
        * Tds80.cs:
                New classes added.  Functionality
                is split up because different protocols
                have slight differences.
        * Tds.cs:
                Remove some unnecessary code after
                the above split, and add in a whole
                lot more stuff for completeness.
        * TdsColumnType.cs:
                Fix Int4.  Wrong enum value.
        * TdsComm.cs:
                Move the encoder out of constructor
                because we don't know the charset at
                that point
        * TdsConnectionParameters.cs:
                Small changes
        * TdsPacketEndTokenResult.cs:
                Implement ToString ()

svn path=/trunk/mcs/; revision=8506
2002-10-24 06:30:31 +00:00
Miguel de Icaza 479ba9b0f8 2002-10-24 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Return are more gentle token on failure.

svn path=/trunk/mcs/; revision=8505
2002-10-24 06:10:00 +00:00
Miguel de Icaza 7115b86677 2002-10-24 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation.InterfaceMethod): This routine
	had an out-of-sync index variable, which caused it to remove from
	the list of pending methods the wrong method sometimes.

svn path=/trunk/mcs/; revision=8504
2002-10-24 06:09:23 +00:00
Sebastien Pouliot 8ee72c4e52 2002-10-23 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
	* TripleDESCryptoServiceProvider.cs: Ajusted for CFB.

svn path=/trunk/mcs/; revision=8503
2002-10-24 01:51:44 +00:00
Gonzalo Paniagua Javier c1b56a7e26 forgot this
svn path=/trunk/mcs/; revision=8502
2002-10-24 00:58:00 +00:00
Gonzalo Paniagua Javier 8a9c6577b5 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: applied patch from Tim Haynes
	([email protected])

svn path=/trunk/mcs/; revision=8501
2002-10-24 00:56:40 +00:00
Gonzalo Paniagua Javier 8c92294afd 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
* ThreadPool.cs: now the monitor thread is not sleeping and checking if
	more worker threads needed. It waits on _DataInQueue. If (and only if)
	there's data in the queue it checks if more worker threads needed and
	then sleeps 5 before waiting for queued data again.

svn path=/trunk/mcs/; revision=8500
2002-10-24 00:42:54 +00:00
Gonzalo Paniagua Javier cbf0c14ee0 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReaderTests.cs: fixed TestEntityReferenceInsideText.

svn path=/trunk/mcs/; revision=8499
2002-10-23 23:21:55 +00:00
Gonzalo Paniagua Javier b5fc624405 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: don't increment depth for entity references.

svn path=/trunk/mcs/; revision=8498
2002-10-23 22:42:54 +00:00
Rafael Teixeira 9a50d5213f 2002-10-23 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8497
2002-10-23 18:28:49 +00:00
Miguel de Icaza 6547a11f2c Revert this patch
svn path=/trunk/mcs/; revision=8496
2002-10-23 17:04:47 +00:00
Atsushi Eno 3ffced1659 * XmlDeclaration.cs : Fixed ParseInput() more parse strictly.
(now uses Regex.Match() of Regex const object. )
	* XmlNode.cs : ConstructDOM() now creates XmlDeclaration node.
	* XmlTextReader.cs : ReadProcessingInstruction() now reads
	  XMLDeclaration.

	* XmlWriter.cs : Implemented main of WriteAttributes().
	  TODO: 'defattr' parameter ignored; DTD must be implemented.

svn path=/trunk/mcs/; revision=8495
2002-10-23 16:44:47 +00:00
Atsushi Eno af0c73faa3 * XmlDocumentTests.cs: TestDocumentLoadUromUrl()
* XmlTextWriterTests.cs: TestWriteAttributes()

svn path=/trunk/mcs/; revision=8494
2002-10-23 16:43:36 +00:00
Dick Porter 9e41528ad2 2002-10-23 Dick Porter <[email protected]>
* file-io.c:
	* file-io.h:
	* icall.c: Added MonoIO.GetFileType internal call

svn path=/trunk/mono/; revision=8493
2002-10-23 15:13:10 +00:00
Dick Porter 3207e426e4 2002-10-23 Dick Porter <[email protected]>
* Process.cs: Redirected standard input needs to have AutoFlush set

2002-10-23  Dick Porter  <[email protected]>

	* FileStream.cs: Implemented CanSeek, and used it around all the
	calls to MonoIO.Seek.  Fixed buffering in Read() so that it
	doesn't block forever on short reads.

	* MonoFileType.cs: New enum for GetFileType

	* MonoIO.cs: Added GetFileType

svn path=/trunk/mcs/; revision=8492
2002-10-23 15:12:26 +00:00
Ville Palo f1b03888d8 2002-10-23 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlDouble.cs:
	* System.Data.SqlTypes/SqlSingle.cs: Finished

svn path=/trunk/mcs/; revision=8491
2002-10-23 14:23:09 +00:00
Ville Palo 61b60054dd 2002-10-23 Ville Palo <[email protected]>
* System.Data.SqlTypes/SqlByte.cs:
	* System.Data.SqlTypes/SqlBoolean.cs:
	* System.Data.SqlTypes/SqlInt16.cs:
	* System.Data.SqlTypes/SqlInt32.cs:
	* System.Data.SqlTypes/SqlInt64.cs: Finished.

svn path=/trunk/mcs/; revision=8490
2002-10-23 14:09:49 +00:00
Gonzalo Paniagua Javier 8ff19c5e76 Update asp.net status
svn path=/trunk/mono/; revision=8489
2002-10-23 11:25:09 +00:00
Miguel de Icaza 6a7c9f0b3b Flush
svn path=/trunk/mono/; revision=8487
2002-10-23 05:48:58 +00:00
Sebastien Pouliot 283ee1fc21 2002-10-20 Sebastien Pouliot <[email protected]>
* RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size

svn path=/trunk/mcs/; revision=8486
2002-10-23 03:07:03 +00:00
Miguel de Icaza 4d13319167 2002-10-22 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr): Do not use PropertyInfo.CanRead,
	CanWrite, because those refer to this particular instance of the
	property, and do not take into account the fact that we can
	override single members of a property.

	Constructor requires an EmitContext.  The resolution process does
	not happen here, but we need to compute the accessors before,
	because the resolution does not always happen for properties.

	* typemanager.cs (RealMemberLookup): Set private_ok if we are a
	subclass, before we did not update this flag, but we did update
	bindingflags.

	(GetAccessors): Drop this routine, as it did not work in the
	presence of partially overwritten set/get methods.

	Notice that this broke the cs1540 detection, but that will require
	more thinking.

svn path=/trunk/mcs/; revision=8485
2002-10-23 00:17:33 +00:00
Miguel de Icaza 41fd8089b6 Add new test
svn path=/trunk/mcs/; revision=8483
2002-10-22 23:59:33 +00:00
Gonzalo Paniagua Javier 7e51416080 2002-10-22 Gonzalo Paniagua Javier <[email protected]>
* class.cs:
	* codegen.cs:
	* driver.cs: issue a warning instead of an error if we don't support
	debugging for the platform. Also ignore a couple of errors that may
	arise when trying to write the symbols. Undo my previous patch.

svn path=/trunk/mcs/; revision=8480
2002-10-22 23:10:19 +00:00
Gonzalo Paniagua Javier a02cfa3a39 2002-10-22 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: ignore /debug switch except for Unix platforms.

svn path=/trunk/mcs/; revision=8479
2002-10-22 22:42:53 +00:00
Tim Coleman 6f7db60522 2002-10-22 Tim Coleman ([email protected])
* Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.

svn path=/trunk/mcs/; revision=8477
2002-10-22 20:50:32 +00:00
Tim Coleman 23a668c470 2002-10-22 Tim Coleman ([email protected])
* list:
                Add TODOAttribute in both
                namespaces
                Add TdsConnectionPool

svn path=/trunk/mcs/; revision=8476
2002-10-22 20:49:02 +00:00
Tim Coleman 3c40e83577 2002-10-22 Tim Coleman ([email protected])
* TdsConnectionPool.cs:
                New class added for pooling connections
        * TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation, handling of
                pooled connections and such.
        * TdsConnection.cs:
                Code cleanups, more implementation
                Connection pooling (works!)
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

svn path=/trunk/mcs/; revision=8475
2002-10-22 20:48:13 +00:00
Miguel de Icaza 2bbeb878e2 2002-10-22 Miguel de Icaza <[email protected]>
* configure.in: Also allow the miss-spelled bohem.

svn path=/trunk/mono/; revision=8474
2002-10-22 20:44:25 +00:00
Miguel de Icaza c87eee78f6 2002-10-22 Tim Haynes <[email protected]>
* - Fixed the duplication of xmlns:xx = yy when serializing the
	XML for serialization

	Fixed the unnecessary parsing/serializing when adding assemblies
	for serialization

	Avoided setting the XmlNode.InnerXml property
	(as it's not implemented)

	Fixed the usage/implementation of
	XmlElement.GetElementsByTagName()

svn path=/trunk/mcs/; revision=8473
2002-10-22 19:32:29 +00:00
Tim Coleman 9f90dac5f2 2002-10-22 Tim Coleman ([email protected])
* list:
                Add TODOAttribute in both
                namespaces

svn path=/trunk/mcs/; revision=8472
2002-10-22 16:14:11 +00:00
Tim Coleman 0baa3f57bb 2002-10-22 Tim Coleman ([email protected])
* Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.
        * TdsConnectionParameters.cs:
                Rename Host to DataSource, and
                add Hostname for the local hostname.
        * TdsPacketEndTokenResult.cs:
                Change TODO attribute
        * TODOAttribute.cs:
                New class added

svn path=/trunk/mcs/; revision=8471
2002-10-22 16:12:57 +00:00
Nick Drochak 8224466370 2002-10-23 Nick Drochak <[email protected]>
* DateAndTimeTest.cs: Try to set the culture for these tests and see
	if that helps.  All but one works on my machine.

svn path=/trunk/mcs/; revision=8470
2002-10-22 16:07:33 +00:00
Tim Coleman dec99dd8c4 2002-10-22 Tim Coleman ([email protected])
* TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation
        * TdsConnection.cs:
                Code cleanups, more implementation
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

svn path=/trunk/mcs/; revision=8469
2002-10-22 16:06:50 +00:00
Nick Drochak e851afd42b 2002-10-23 Nick Drochak <[email protected]>
* makefile: Remove mcs2.exe and mcs3.exe on 'make clean'

svn path=/trunk/mcs/; revision=8468
2002-10-22 15:23:44 +00:00
Tim Coleman 366758b92b *** empty log message ***
svn path=/trunk/mcs/; revision=8467
2002-10-22 15:19:49 +00:00
Nick Drochak 2fc4b212e9 2002-10-23 Nick Drochak <[email protected]>
* ConstraintCollectionTest.cs (SetUp): Clear the constraints before
	each test.
	* ConstraintTest.cs: same
	* DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
	aren't

svn path=/trunk/mcs/; revision=8466
2002-10-22 15:17:42 +00:00
Miguel de Icaza 5cb1e23789 Evidence.cs from Jackson Harper
svn path=/trunk/mcs/; revision=8465
2002-10-22 14:40:02 +00:00
Jaime Anguiano Olarra 621a5c5ff2 Some updates.
svn path=/trunk/mono/; revision=8464
2002-10-22 14:19:07 +00:00
Nick Drochak d40a1d14d2 2002-10-22 Nick Drochak <[email protected]>
* DataColumnTest.cs: Remove compiler warnings and use caught exception
	to report useful info.

svn path=/trunk/mcs/; revision=8463
2002-10-22 13:54:27 +00:00
Miguel de Icaza 2574838ce1 2002-10-21 Miguel de Icaza <[email protected]>
* driver.cs: Do not make mcs-debug conditional, so we do not break
	builds that use it.

	* statement.cs (UsageVector.MergeChildren): I would like Martin to
	review this patch.  But basically after all the children variables
	have been merged, the value of "Breaks" was not being set to
	new_breaks for Switch blocks.  I think that it should be set after
	it has executed.  Currently I set this to the value of new_breaks,
	but only if new_breaks is FlowReturn.ALWAYS, which is a bit
	conservative, but I do not understand this code very well.

svn path=/trunk/mcs/; revision=8461
2002-10-22 01:29:26 +00:00
Daniel Morgan 3b22bed26b 2002-10-21 Daniel Morgan <[email protected]>
* sqlsharpgtk.cs
	* SqlEditor.cs: added files for SQL# For GTK#

	* win32.make: added make file to build on Windows

	* sql-editor-gtk-widget: added subdirectory

	* sql-editor-gtk-widget/gnome-db-sqleditor.c
	* sql-editor-gtk-widget/gnome-db-sqleditor.h: added files for
	sql editor gtk+ widget

	* sql-editor-gtk-widget/Win32.make: added make file
	to build gtk+ widget on Windows

svn path=/trunk/mcs/; revision=8460
2002-10-22 00:14:12 +00:00
Tim Coleman 2c6cfb4f92 2002-10-21 Tim Coleman ([email protected])
* Tds.cs
	* TdsComm.cs:
		A whole slew of changes to get logon
		to work (it now works in both TDS 7.0
		and TDS 4.2) ... danmorg can test with
		8.0 if he likes.
		TdsComm has some simplifications too,
		because C# has some features not present
		in the Java implementation.
	* TdsConnectionParameters.cs:
		Change a few default values.
	* TdsMessage.cs:
		Implement this class.

svn path=/trunk/mcs/; revision=8459
2002-10-21 23:32:42 +00:00
Tim Coleman a32d7f3869 2002-10-21 Tim Coleman ([email protected])
* TdsConnection.cs:
		Make sure to set the TDS Version. (This will
		use 4.2)

svn path=/trunk/mcs/; revision=8458
2002-10-21 23:29:04 +00:00
Miguel de Icaza 3c0dff28e5 2002-10-21 Miguel de Icaza <[email protected]>
* X509CertificateCollection.cs (Add): New method.

svn path=/trunk/mcs/; revision=8457
2002-10-21 21:26:01 +00:00
Miguel de Icaza bcb2db7375 Flush
svn path=/trunk/mono/; revision=8456
2002-10-21 21:02:12 +00:00
Miguel de Icaza a69c1bf3d3 Flush
svn path=/trunk/mono/; revision=8455
2002-10-21 21:01:26 +00:00
Mark Crichton 9d788907a3 Added OdbcErrorCollection.cs to list.
svn path=/trunk/mcs/; revision=8452
2002-10-21 19:22:49 +00:00
Miguel de Icaza c49e30ab0e 2002-10-21 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Also allow \r in comments as a line separator.

svn path=/trunk/mcs/; revision=8451
2002-10-21 17:05:50 +00:00
Gonzalo Paniagua Javier 15119aee06 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
	to \n).

svn path=/trunk/mcs/; revision=8450
2002-10-21 17:04:53 +00:00
Brian Ritchie cc810f5abf Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
includes full error text returned by ODBC driver

svn path=/trunk/mcs/; revision=8449
2002-10-21 16:44:14 +00:00
Gonzalo Paniagua Javier 71752a091e 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
	\n (this is what MS does).

svn path=/trunk/mcs/; revision=8448
2002-10-21 16:40:28 +00:00
Ville Palo a37551e704 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlGuidTest.cs: new test suite for SqlGuid.

svn path=/trunk/mcs/; revision=8447
2002-10-21 15:23:20 +00:00
Nick Drochak d571ff0966 2002-10-22 Nick Drochak <[email protected]>
* XmlTextWriterTests.cs: Null is ok when prefix is "xmlns".

svn path=/trunk/mcs/; revision=8446
2002-10-21 15:09:42 +00:00
Nick Drochak 29e2c32959 Fix typo.
svn path=/trunk/mcs/; revision=8445
2002-10-21 14:44:16 +00:00
Rodrigo Moya ef909c1819 2002-10-21 Rodrigo Moya <[email protected]>
* list: removed libodbchelper.cs file, which has been removed.

svn path=/trunk/mcs/; revision=8444
2002-10-21 12:21:47 +00:00
Gonzalo Paniagua Javier 15c8085284 added new files in System.Data.Odbc
svn path=/trunk/mcs/; revision=8443
2002-10-21 12:15:06 +00:00
Gonzalo Paniagua Javier 1ec2adc832 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: added.
	* OdbcError.cs:
	* OdbcException.cs: added dummy implementation for these missing
	classes.

svn path=/trunk/mcs/; revision=8442
2002-10-21 12:14:13 +00:00
Duncan Mak 47c3834149 2002-10-21 Duncan Mak <[email protected]>
* XmlDocument.cs:
	* XmlElement.cs:
	* XmlNode.cs:
	* XmlTextReader.cs: Implementation for XmlNode.InnerXml from
	Atsushi Enomoto <[email protected]>.

	* XmlTextReaderTests.cs:
	* XmlElementTests.cs:
	* XmlDocumentTests.cs: Patches from Atsushi Enomoto
	<[email protected]>.

svn path=/trunk/mcs/; revision=8440
2002-10-21 04:18:43 +00:00
Dennis Hayes f63cc01ee5 2002-10-18 DennisHayes <[email protected]>
* StatusBarPanelAutoSize.cs
	* StatusBarPanelBorderStyle.cs
	* StatusBarPanelClickEventArgs.cs
	* StatusBarPanelClickEventHandler.cs
	* StatusBarPanelStyle.cs
	* TabAlignment.cs
	* ToolBar.cs
	* ToolBarAppearance.cs
	* ToolBarButton.cs
	* ToolBarButtonClickEventArgs.cs
	* ToolBarButtonClickEventHandler.cs
	* ToolBarButtonStyle.cs
	* ToolBarTextAlign.cs
	* Tooltip.cs
	* TreeNode.cs
	* TreeNodeCollection.cs
	* TreeView.cs
	* TreeViewAction.cs
	* TreeViewCancelEventArgs.cs
	* TreeViewCancelEventHandler.cs
	* TreeViewEventArgs.cs
	* TreeViewEventHandler.cs
	* UICues.cs
	* UICuesEventArgs.cs
	* UICuesEventHandler.cs
	* UpDownEventArgs.cs
	* UpDownEventHandler.cs
	* WINELib.csproj
	* WINELib.csproj.user
	* winelib.sln

	* Moved file from SWF need for uncommented code.
	* Include porject file for Visual studio.
	* forgot solution file for visual studio.
	* will break winelib build because some classes that 
	* should be public are not marked as suh, so default to private.
	* resulting in error "visiblity does not match"
	* will fix and check in Tuseday.
	* planed to fix tonight, but am out of time and want to get this cjahecked in.

svn path=/trunk/mcs/; revision=8439
2002-10-21 03:25:38 +00:00
Dennis Hayes 13bfdd8a1b 2002-10-18 DennisHayes <[email protected]>
* PaintEventHandler.cs
	* PropertyTabChangedEventArgs.cs
	* PropertyTabChangedEventHandler.cs
	* PropertyValueChangedEventArgs.cs
	* PropertyValueChangedEventHandler.cs
	* QueryAccessibilityHelpEventArgs.cs
	* QueryAccessibilityHelpEventHandler.cs
	* QueryContinueDragEventArgs.cs
	* QueryContinueDragEventHandler.cs
	* RightToLeft.cs
	* ScrollEventArgs.cs
	* ScrollEventHandler.cs
	* ScrollEventType.cs
	* SelectedGridItemChangedEventArgs.cs
	* SelectedGridItemChangedEventHandler.cs
	* SizeGripStyle.cs
	* SplitterEventArgs.cs
	* SplitterEventHandler.cs
	* StatusBar.cs
	* StatusBarDrawItemEventArgs.cs
	* StatusBarDrawItemEventHandler.cs
	* StatusBarPanel.cs

svn path=/trunk/mcs/; revision=8438
2002-10-21 03:18:32 +00:00
Dennis Hayes 120099cd4b 2002-10-18 DennisHayes <[email protected]>
* KeyPressEventHandler.cs
	* Keys.cs
	* LabelEditEventArgs.cs
	* LabelEditEventHandler.cs
	* LayoutEventArgs.cs
	* LayoutEventHandler.cs
	* LeftRightAlignment.cs
	* LinkArea.cs
	* LinkBehavior.cs
	* LinkClickedEventArgs.cs
	* LinkClickedEventHandler.cs
	* LinkLabel.cs
	* LinkLabelLinkClickedEventArgs.cs
	* LinkLabelLinkClickedEventHandler.cs
	* ListViewAlignment.cs
	* MainMenu.cs
	* MdiLayout.cs
	* MeasureItemEventArgs.cs
	* MeasureItemEventHandler.cs
	* Menu.cs
	* Message.cs
	* MessageBoxButtons.cs
	* MessageBoxDefaultButton.cs
	* MessageBoxIcon.cs
	* MessageBoxOptions.cs
	* MouseButtons.cs
	* MouseEventArgs.cs
	* MouseEventHandler.cs
	* NavigateEventArgs.cs
	* NavigateEventHandler.cs
	* NodeLabelEditEventArgs.cs
	* NodeLabelEditEventHandler.cs
	* PaintEventArgs.cs

svn path=/trunk/mcs/; revision=8437
2002-10-21 03:15:13 +00:00
Dennis Hayes 36f1e17aa4 2002-10-18 DennisHayes <[email protected]>
* HelpEventArgs.cs
	* HelpEventHandler.cs
	* HorizontalAlignment.cs
	* IButtonControl.cs
	* IDataObject.cs
	* ImageList.cs
	* ImageListStreamer.cs
	* ImeMode.cs
	* IMessageFilter.cs
	* InputLanguage.cs
	* InputLanguageChangedEventArgs.cs
	* InputLanguageChangedEventHandler.cs
	* InputLanguageChangingEventArgs.cs
	* InputLanguageChangingEventHandler.cs
	* InputLanguageCollection.cs
	* InvalidateEventArgs.cs
	* InvalidateEventHandler.cs
	* ItemChangedEventArgs.cs
	* ItemChangedEventHandler.cs
	* ItemCheckEventArgs.cs
	* ItemCheckEventHandler.cs
	* ItemDragEventArgs.cs
	* ItemDragEventHandler.cs
	* IWin32Window.cs
	* IWindowTarget.cs
	* KeyEventArgs.cs
	* KeyEventHandler.cs
	* KeyPressEventArgs.cs

svn path=/trunk/mcs/; revision=8436
2002-10-21 03:10:32 +00:00
Dennis Hayes a77a063787 2002-10-18 DennisHayes <[email protected]>
* ConvertEventArgs.cs
	* ConvertEventHandler.cs
	* CreateParams.cs
	* Cursor.cs
	* DateBoldEventArgs.cs
	* DateRangeEventArgs.cs
	* DateRangeEventHandler.cs
	* DialogResult.cs
	* DockStyle.cs
	* DragAction.cs
	* DragDropEffects.cs
	* DragEventArgs.cs
	* DragEventHandler.cs
	* DrawItemState.cs
	* ErrorIconAlignment.cs
	* FlatStyle.cs
	* FormBorderStyle.cs
	* FormStartPosition.cs
	* FormWindowState.cs
	* GiveFeedbackEventArgs.cs
	* GiveFeedbackEventHandler.cs
	* GridItem.cs

svn path=/trunk/mcs/; revision=8435
2002-10-21 03:07:00 +00:00
Dennis Hayes e648a7e8dc 2002-10-18 DennisHayes <[email protected]>
* Application.cs
	* Button.cs
	* ButtonBase.cs
	* changelog
	* ContainerControl.cs
	* Control.cs
	* DrawItemEventArgs.cs
	* DrawItemEventHandler.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* IContainerControl.cs
	* Label.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Win32.cs

	* Added some implmentation. Uncommented some stuff. 
	* About to add files to implment stuff uncommented.

svn path=/trunk/mcs/; revision=8434
2002-10-21 03:02:52 +00:00
Dennis Hayes cc23a0cbdf 2002-10-18 DennisHayes <[email protected]>
* Application.cs
	* Button.cs
	* ButtonBase.cs
	* changelog
	* ContainerControl.cs
	* Control.cs
	* DrawItemEventArgs.cs
	* DrawItemEventHandler.cs
	* Font.cs
	* Form.cs
	* IAccessible.cs
	* IContainerControl.cs
	* Label.cs
	* MenuItem.cs
	* MessageBox.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Win32.cs

	* Added some implmentation. Uncommented some stuff. 
	* About to add files to implment stuff uncommented.

svn path=/trunk/mcs/; revision=8433
2002-10-21 02:47:35 +00:00
Rafael Teixeira d903a9088f 2002-10-20 Rafael Teixeira <[email protected]>
* using Mono.GetOptions preliminar support for response files,
	  changed the makefile target 'test' for use o response file testmbas/filelist

svn path=/trunk/mcs/; revision=8432
2002-10-20 20:20:12 +00:00
Rafael Teixeira 3ccd868861 alpha support for response files
svn path=/trunk/mcs/; revision=8431
2002-10-20 20:06:40 +00:00
Rafael Teixeira 4cfcee786f 2002-10-20 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8430
2002-10-20 19:38:09 +00:00
Brian Ritchie 71d38f2a35 - Transaction Isolation Level is supported
- Fixed TinyInt mapping (Thanks Daniel for finding the bug!)
- ExecuteScalar is supported
- Support CloseConnection CommandBehavior for ExecuteReader
- Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
- Parameter support for all data types (needs further optimization)

svn path=/trunk/mcs/; revision=8429
2002-10-20 19:19:50 +00:00
Miguel de Icaza d21d6de00a Ok, my own attempt, after 3 cvs update failures
svn path=/trunk/mcs/; revision=8428
2002-10-20 18:34:48 +00:00
Rafael Teixeira 3e1d2a9ecf wrap_as doubly defined bug
svn path=/trunk/mcs/; revision=8427
2002-10-20 18:31:03 +00:00
Tim Coleman 51465db123 2002-10-20 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8426
2002-10-20 18:16:26 +00:00
Sebastien Pouliot 3ca847bc92 2002-10-20 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for Rjindael
	* RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.

svn path=/trunk/mcs/; revision=8425
2002-10-20 18:15:47 +00:00
Tim Coleman b5e259bba6 2002-10-20 Tim Coleman ([email protected])
* TdsColumnType.cs:
        * TdsContext.cs:
        * TdsEnvPacketSubType.cs:
        * TdsMessage.cs:
        * TdsPacketColumnInfoResult.cs:
        * TdsPacketColumnNamesResult.cs:
        * TdsPacketColumnOrderResult.cs:
        * TdsPacketControlResult.cs:
        * TdsPacketEndTokenResult.cs:
        * TdsPacketErrorResult.cs:
        * TdsPacketMessageResult.cs:
        * TdsPacketOutputParam.cs:
        * TdsPacketResult.cs:
        * TdsPacketRetStatResult.cs:
        * TdsPacketRowResult.cs:
        * TdsPacketSubType.cs:
        * TdsPacketTableNameResult.cs:
        * TdsPacketUnknown.cs:
                New classes added as part of TDS internal implementation.
        * Tds.cs:
                Some work on receiving and interpreting packages received from
                SQL Server.  Still doesn't work completely.
        * TdsComm.cs:
                Add some methods as part of the ongoing work with Tds.cs
        * TdsConnectionParameters.cs:
                Add default values for Encoding ("iso-8859-1"), Port (1433),
                TDS Version (4.2).

svn path=/trunk/mcs/; revision=8424
2002-10-20 18:15:04 +00:00
Sebastien Pouliot 2472188b6f 2002-10-20 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Added better Dispose support
	* DES.cs: Now only contains the abstract DES class.
	* DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
	from SymmetricTransform) based the old DESCore and DESTransformBase code
	* RC2.cs: Fixed EffectiveKeySize == 0
	* RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
	from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
	* RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
	* TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from
	DESTransform (non-optimal but working :-).

svn path=/trunk/mcs/; revision=8423
2002-10-20 18:11:27 +00:00
Mark Crichton 544903156c Fixed compile blocker. Still missing a Type declaration, and removed a
warning.

svn path=/trunk/mcs/; revision=8422
2002-10-20 17:38:47 +00:00
Tim Coleman d3599c584a *** empty log message ***
svn path=/trunk/mcs/; revision=8421
2002-10-20 16:10:05 +00:00
Nick Drochak df4698c193 2002-10-20 Nick Drochak <[email protected]>
* cfold.cs: Fixed compile blocker.

svn path=/trunk/mcs/; revision=8420
2002-10-20 14:06:39 +00:00
Miguel de Icaza 06d2b50aa3 2002-10-20 Miguel de Icaza <[email protected]>
* driver.cs: I was chekcing the key, not the file.

svn path=/trunk/mcs/; revision=8419
2002-10-20 07:41:46 +00:00
Tim Coleman e96beff775 2002-10-20 Tim Coleman ([email protected])
* TdsConnection.cs:
                Lots of stuff to get this working somewhat.

svn path=/trunk/mcs/; revision=8417
2002-10-20 06:46:11 +00:00
Ravi Pratap M 36f9ceb43f Add to insure ourselves of bug #32218 which btw, I am sure will
never resurface but anyhow ;-)

svn path=/trunk/mcs/; revision=8416
2002-10-20 01:21:02 +00:00
Ravi Pratap M 5df14330dd 2002-10-19 Ravi Pratap <[email protected]>
* ecore.cs (UserDefinedConversion): Get rid of the bogus error
	message that we were generating - we just need to silently return
	a null.

svn path=/trunk/mcs/; revision=8415
2002-10-20 01:16:43 +00:00
Ravi Pratap M a44c529995 *** empty log message ***
svn path=/trunk/mcs/; revision=8414
2002-10-20 01:14:35 +00:00
Miguel de Icaza 32525ae4c8 2002-10-19 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Change my previous commit, as this
	breaks the debugger.  This is a temporary hack, as it seems like
	the compiler is generating events incorrectly to begin with.

svn path=/trunk/mcs/; revision=8413
2002-10-20 00:36:27 +00:00
Tim Coleman e43be9a56d 2002-10-19 Tim Coleman ([email protected])
* list:
		rename internal files

svn path=/trunk/mcs/; revision=8410
2002-10-19 23:14:35 +00:00
Tim Coleman cbd8717731 2002-10-19 Tim Coleman ([email protected])
* list:
                Add new files to build.

svn path=/trunk/mcs/; revision=8409
2002-10-19 23:03:57 +00:00
Tim Coleman fd3837bf20 2002-10-19 Tim Coleman ([email protected])
* TdsDataReader.cs:
        * TdsError.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameter.cs:
        * TdsParameterCollection.cs:
                Added new classes, to get started with this namespace.
                This is pretty much what is needed to do things like
                TdsConnection and so on.
        * TdsCommand.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsCommandInternal class.
        * TdsConnection.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsConnectionInternal class.
        * TdsTransaction.cs:
                De-wrappify this class.  There is no longer a

svn path=/trunk/mcs/; revision=8408
2002-10-19 23:03:15 +00:00
Tim Coleman 4d9158afb8 2002-10-19 Tim Coleman ([email protected])
* TdsCommInternal.cs:
        * TdsConnectionParametersInternal.cs:
        * TdsInternal.cs:
        * TdsPacketTypeInternal.cs:
        * TdsVersionInternal.cs:
                Rename classes, since there will no
                longer be conflicts between these and
                the classes in Mono.Data.TdsClient
        * TdsServerTypeInternal.cs:
                Added "Generic" server type and renamed
                class to TdsServerType

svn path=/trunk/mcs/; revision=8407
2002-10-19 22:59:13 +00:00
Tim Coleman 3d8ae35a82 2002-10-19 Tim Coleman ([email protected])
* TdsTransactionInternal.cs:
	* TdsConnectionInternal.cs:
	* TdsCommandInternal.cs:
		Since these will be exclusively implemented
		in Mono.Data.TdsClient they are no longer needed
		here.  Lotsa luck guys!

svn path=/trunk/mcs/; revision=8406
2002-10-19 22:55:35 +00:00
Tim Coleman 988ef9a81d 2002-10-19 Tim Coleman ([email protected])
* TdsServerType.cs:
	* TdsVersion.cs:
		Remove these files as they will exist in
		Mono.Data.TdsClient.Internal.

svn path=/trunk/mcs/; revision=8405
2002-10-19 22:51:00 +00:00
Miguel de Icaza 208c6e381a 2002-10-19 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Added support for
	"U operator - (E x, E y)"

	* cfold.cs (BinaryFold): Added support for "U operator - (E x, E
	y)".

svn path=/trunk/mcs/; revision=8404
2002-10-19 22:12:36 +00:00
Miguel de Icaza e31738c4a9 Update test
svn path=/trunk/mcs/; revision=8403
2002-10-19 22:06:29 +00:00
Miguel de Icaza 150abfac35 2002-10-19 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): We had a special code path for
	init-only variables, but this path did not take into account that
	there might be also instance readonly variables.  Correct this
	problem.

	This fixes bug 32253

svn path=/trunk/mcs/; revision=8401
2002-10-19 20:21:49 +00:00
Miguel de Icaza c0aacceed3 2002-10-19 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.DoResolve): Catch creation of unsafe
	delegates as well.

svn path=/trunk/mcs/; revision=8399
2002-10-19 19:50:49 +00:00
Miguel de Icaza c2ba6046eb 2002-10-19 Miguel de Icaza <[email protected]>
* driver.cs: Change the extension for modules to `netmodule'

	* cs-parser.jay: Improved slightly the location tracking for
	the debugger symbols.

	* class.cs (Event.Define): Use Modifiers.FieldAttr on the
	modifiers that were specified instead of the hardcoded value
	(FamAndAssem).  This was basically ignoring the static modifier,
	and others.  Fixes 32429.

svn path=/trunk/mcs/; revision=8398
2002-10-19 19:22:53 +00:00
Miguel de Icaza a6fcc2d47a Improve this test to test bug 32429
svn path=/trunk/mcs/; revision=8397
2002-10-19 19:18:56 +00:00
John Sohn 339973ab76 * makefile: removed hard coded path to libmono
svn path=/trunk/mcs/; revision=8396
2002-10-19 17:21:41 +00:00
Sebastien Pouliot d9760c3970 2002-10-19 Sebastien Pouliot <[email protected]>
* corlib_test.build: Removed all excluded cryptographic test code as
	the cyclic dependency was removed (well commented)

svn path=/trunk/mcs/; revision=8395
2002-10-19 16:25:46 +00:00
Sebastien Pouliot dcffcbb2b3 2002-10-19 Sebastien Pouliot <[email protected]>
* AllTests.cs: Renabled most tests after commenting all code causing a
	cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
	until commented code is replaced.
	* SymmetricAlgorithm.cs: New (189) generated test cases for all default
	algorithm implementation, all cipher modes, all padding modes, all key
	sizes, all block sizes, feedback...
	* PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
	tests to check for various exceptions

svn path=/trunk/mcs/; revision=8394
2002-10-19 15:50:12 +00:00
Sebastien Pouliot 98d9a4195b 2002-10-19 Sebastien Pouliot <[email protected]>
* corlib.build: Removed all excluded cryptographic source code as the
	cyclic dependency was removed (well commented)

svn path=/trunk/mcs/; revision=8393
2002-10-19 15:40:37 +00:00
Sebastien Pouliot b443cb3648 2002-10-19 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Added new class SymmetricTransform to avoid
	duplicating CipherMode (currently ECB, CBC) and PaddingMode functionalities
	in every crytographic algorithm implementation.
	* RijndaelManaged.cs: Added the RjindaelTransform class (inherited
	from SymmetricTransform) based the old RijndaelImpl / RijndaelController
	code. Fixed encryption for block size 192, 256, there is still a problem
	decrypting block size 192, 256. Unrolled some loops + littl'optimizations
	* PKCS1MaskGenerationMethod.cs: Removed Array.Reverse in I2OSP to be
	compatible with MS implementation (however we are now failing the PKCS#1
	test vector) + added some more checks (null, overflow, ...)
	* AsymmetricAlgorithm.cs: Commented XMLDocument stuff to end the cyclic
	dependency (corlib->System.Xml->corlib)
	* RSA.cs: Commented FromXmlString stuff to end the cyclic dependency
	* DSA.cs: Commented FromXmlString stuff to end the cyclic dependency
	* RC2.cs: Create using CryptoConfig
	* TripleDES.cs: Marked class public. Added LegalKeySizes and LegalBlockSizes

svn path=/trunk/mcs/; revision=8392
2002-10-19 15:32:57 +00:00
Ville Palo b82e969e07 2002-10-19 Ville Palo <[email protected]>
* System.Data.SqlTypes/AllTest.cs:
	* System.Data.SqlTypes/SqlMoneyTest.cs new test suite for SqlMoney
	* System.Data.SqlTypes/SqlDateTimeTest.cs new test suite for
	SqlDateTime

svn path=/trunk/mcs/; revision=8391
2002-10-19 13:36:36 +00:00
Ville Palo e91636b50d Added test suite for SqlMoney and SqlDateTime
svn path=/trunk/mcs/; revision=8390
2002-10-19 11:21:47 +00:00
Miguel de Icaza 45f6cbba11 2002-10-19 Miguel de Icaza <[email protected]>
* statement.cs (Switch.SimpleSwitchEmit): Simplified the code, and
	fixed a bug in the process (32476)

svn path=/trunk/mcs/; revision=8388
2002-10-19 07:19:41 +00:00
Miguel de Icaza f0509b6222 2002-10-19 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitAssign): Patch from
	[email protected] that fixes bug 31834.3

svn path=/trunk/mcs/; revision=8387
2002-10-19 06:55:41 +00:00
Miguel de Icaza a46ff508fc update
svn path=/trunk/mcs/; revision=8386
2002-10-19 06:46:32 +00:00
Miguel de Icaza 92e42766ac Add new test
svn path=/trunk/mcs/; revision=8385
2002-10-19 06:45:36 +00:00
Miguel de Icaza 8305bbbfe4 Add new test file
svn path=/trunk/mcs/; revision=8384
2002-10-19 06:31:09 +00:00
Rachel Hestilow 6d6aeca7ea 2002-10-19 Rachel Hestilow <[email protected]>
* CSharpCodeProvider.cs
	(GeneratePropertySetValueReferenceExpression): Implement.
	(GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
	if there are any attributes.
	(GenerateProperty): Implement.

svn path=/trunk/mcs/; revision=8383
2002-10-19 06:06:26 +00:00
Rachel Hestilow 1947f1e133 2002-10-19 Rachel Hestilow <[email protected]>
* ColorTranslator.cs (FromHtml): Implement.

svn path=/trunk/mcs/; revision=8382
2002-10-19 06:05:48 +00:00
Daniel Morgan 4d9b69da73 2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net
	* doc/postgresql
	* doc/tds-providers: cleaned up the web pages

	* doc/web/commands: postgresql.html page was mistyped

svn path=/trunk/mono/; revision=8380
2002-10-19 02:08:04 +00:00
Miguel de Icaza 6a65de7e5f Addes test program from Tim
svn path=/trunk/mcs/; revision=8379
2002-10-19 00:08:17 +00:00
Miguel de Icaza d16cdb7b97 Patches from Tim Haynes
svn path=/trunk/mcs/; revision=8378
2002-10-19 00:07:21 +00:00
Miguel de Icaza 387c692a9f Apply patch from Tim Haynes to get SoapFormatter working
svn path=/trunk/mcs/; revision=8377
2002-10-19 00:06:36 +00:00
Duncan Mak 0a40887d3b 2002-10-18 Duncan Mak <[email protected]>
* XmlDocument.cs: Applied a patch by Atsushi Enomoto
	<[email protected]>.

	* XmlDocumentTests.cs: Apply a patch from Atsushi Enomoto
	<[email protected]>.

svn path=/trunk/mcs/; revision=8376
2002-10-19 00:02:38 +00:00
Dennis Hayes 3568c2bd63 2002-10-18 DennisHayes <[email protected]>
* Application.cs
* ContainerControl.cs
* Control.cs
* Form.cs
* Label.cs

* Added //Compact Framework comment to members that belong.
* A CE subset of SWF might not be that difficult to reach. 
* John has already completed *Most* of the CE members in these files.
* 
* also added a couple of members that seem to have not been
  stubbed, hope I did not break the build, unable to test

svn path=/trunk/mcs/; revision=8374
2002-10-18 22:06:39 +00:00
Tim Coleman 6bf6610c11 2002-10-18 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal/TdsCommInternal.cs
                Add
                Mono.Data.TdsClient.Internal/TdsConnectionParametersInternal.cs
                Mono.Data.TdsClient.Internal/TdsInternal.cs

svn path=/trunk/mcs/; revision=8373
2002-10-18 21:05:50 +00:00
Tim Coleman 3ede35a6d4 2002-10-18 Tim Coleman ([email protected])
* TdsConnectionParametersInternal:
        * TdsInternal:
                New classes added
        * TdsConnectionInternal:
                Add some implementation details
                Add new methods, move some functionality to
                TdsInternal
        * TdsCommandInternal:
                Add new methods
        * TdsCommInternal:
                New class, which will handle the low-level
                communication with the database
        * TdsPacketTypeInternal:
                Add new packet type, TdsPacketTypeInternal.None
                which is used when no packet is being constructed.
                The value is 0.

svn path=/trunk/mcs/; revision=8372
2002-10-18 21:04:53 +00:00
Dick Porter 93210b5033 2002-10-18 Dick Porter <[email protected]>
* FileStream.cs: SeekOrigin.End still calculates the offset from
	the end of the file with positive values extending the length.
	Fixes bug 32471.

svn path=/trunk/mcs/; revision=8371
2002-10-18 15:20:50 +00:00
Daniel Morgan ea380d9f67 2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net: updated status of
	the ADO.NET functionality and providers
	and added link to tds-providers.html

	* doc/tds-providers: added file to
	describe the design	and status of
	the SqlClient, SybaseClient, and TdsClient
	ADO.NET providers.

	* doc/web/makefile
	* doc/web/command: added new web page
	tds-providers.html to build of 	www.go-mono.com web site

svn path=/trunk/mono/; revision=8370
2002-10-18 14:52:07 +00:00
Tim Coleman 7f3554422d 2002-10-18 Tim Coleman ([email protected])
* list:
                Add Mono.Data.TdsClient.Internal/TdsCommInternal.cs

svn path=/trunk/mcs/; revision=8369
2002-10-18 14:50:13 +00:00
Tim Coleman dfb9267fc9 2002-10-18 Tim Coleman ([email protected])
* TdsConnectionInternal:
                Add some implementation details
        * TdsCommInternal:
                New class, which will handle the low-level
                communication with the database
        * TdsPacketTypeInternal:
                Add new packet type, TdsPacketTypeInternal.None
                which is used when no packet is being constructed.
                The value is 0.

svn path=/trunk/mcs/; revision=8368
2002-10-18 14:49:02 +00:00
Tim Coleman 379d76fe07 2002-10-17 Tim Coleman ([email protected])
* list:
                Add files from Mono.Data.TdsClient.Internal
        * makefile.gnu:
                Add reference to System.Data.dll.  This is
                fine, just not the reverse.

svn path=/trunk/mcs/; revision=8358
2002-10-17 22:17:56 +00:00
Tim Coleman 057b21b303 *** empty log message ***
svn path=/trunk/mcs/; revision=8357
2002-10-17 22:16:49 +00:00
Duncan Mak a457b961bb 2002-10-17 Duncan Mak <[email protected]>
* CultureInfo.cs (TextInfo): return a TextInfo in the property.

	* TextInfo.cs (ToLower):
	(ToTitleCase): Implemented.

svn path=/trunk/mcs/; revision=8356
2002-10-17 22:04:40 +00:00
Tim Coleman 6c9afdef05 2002-10-17 Tim Coleman ([email protected])
* ChangeLog:
                New changelog added
        * TdsCommandInternal.cs:
        * TdsConnectionInternal.cs:
        * TdsPacketTypeInternal.cs:
        * TdsServerTypeInternal.cs:
        * TdsTransactionInternal.cs:
        * TdsVersionInternal.cs:
                New classes added.  These are the
                internal implementations, meant for
                "wrapping" from other locations.

svn path=/trunk/mcs/; revision=8355
2002-10-17 21:59:43 +00:00
Tim Coleman bfb6772328 2002-10-17 Tim Coleman ([email protected])
* IsolationLevel.cs:
                Removed, as we now use IsolationLevel from System.Data
        * TdsCommand.cs:
        * TdsConnection.cs:
        * TdsTransaction.cs:
                These classes are now just wrappers for the
                Mono.Data.TdsClient.Internal classes.
        * TdsServerType.cs:
                Slight modification

svn path=/trunk/mcs/; revision=8354
2002-10-17 21:56:52 +00:00
Dick Porter 48880e656f 2002-10-17 Dick Porter <[email protected]>
* appdomain.c (mono_runtime_cleanup): Don't signal the async
	delegate semaphore before waiting for all threads to finish,
	because new threads can also call async delegates.  Fixes bug
	32004.

	* threadpool.c (async_invoke_thread): Only wait for 500ms instead
	of 3 seconds, in case another async job is queued.  (This part is
	needed because the bug fix reintroduced the 3s exit lag.)  This
	makes the mono_runtime_shutdown flag superfluous.

svn path=/trunk/mono/; revision=8353
2002-10-17 19:23:00 +00:00
Dietmar Maurer 0a87db2e0f 2002-10-17 Dietmar Maurer <[email protected]>
* monoburg.y: added missing semicolon

svn path=/trunk/mono/; revision=8351
2002-10-17 17:50:47 +00:00
Daniel Morgan fccc5fc44a 2002-10-17 Daniel Morgan <[email protected]>
* doc/web/makefile
	* doc/web/commands:	web page
	postgresql needed to be added

svn path=/trunk/mono/; revision=8350
2002-10-17 16:45:06 +00:00
Daniel Morgan 678daa65dd 2002-10-16 Daniel Morgan <[email protected]>
* Mono.Data.TdsClient.build: added build for windows

	* Test: added directory for tests

	* Mono.Data.TdsClient/TdsVersion.cs: added file for
	enum TdsVersion

	* Mono.Data.TdsClient/TdsConnection.cs: added public
	property TdsVersion so it can be set to
	use TDS version 4.2, 5.0, 7.0, or 8.0.  Also, added
	comments

svn path=/trunk/mcs/; revision=8349
2002-10-17 16:14:38 +00:00
Paolo Molaro 3907b3c970 Thu Oct 17 13:11:39 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: include ehader size in method section headers.
	Really check for suplicated modules entries.

svn path=/trunk/mono/; revision=8348
2002-10-17 11:15:16 +00:00
Tim Coleman 936efdcd19 002-10-16 Tim Coleman ([email protected])
* ChangeLog:
                New ChangeLog
        * IsolationLevel.cs:
        * TdsCommand.cs:
        * TdsConnection.cs:
        * TdsServerType.cs:
        * TdsTransaction.cs:
                Added skeletons to get started.

svn path=/trunk/mcs/; revision=8347
2002-10-17 05:04:57 +00:00
Tim Coleman 20076a2a4a 2002-10-16 Tim Coleman ([email protected])
* ChangeLog:
        * list:
        * makefile.gnu:
                Added new files to start this assembly

svn path=/trunk/mcs/; revision=8346
2002-10-17 05:03:39 +00:00
Miguel de Icaza aa8777e3f1 2002-10-16 Miguel de Icaza <[email protected]>
* Mono.Data.SqliteClient/SqliteCommand.cs: Reworked to return the
	error from SqlLite.

svn path=/trunk/mcs/; revision=8342
2002-10-17 02:16:41 +00:00
Martin Baulig 856876b7fc 2002-10-17 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added back support for locals.

svn path=/trunk/mono/; revision=8337
2002-10-17 00:27:43 +00:00
Martin Baulig 40fa542391 2002-10-17 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): Make this actually work if we don't
	have any lifetime information.

svn path=/trunk/mono/; revision=8336
2002-10-17 00:26:42 +00:00
Daniel Morgan 022ccefc72 2002-10-16 Daniel Morgan <[email protected]>
* TestSqlDataReader.cs: got to work
	with new place for the PostgreSQL provider
	at Mono.Data.PostgreSqlClient.

svn path=/trunk/mcs/; revision=8328
2002-10-16 21:48:04 +00:00
Daniel Morgan 285f3646aa 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: added support for new place
	where the PostgreSQL provider is an external
	provider now.  Commented support for SqlClient and
	cause an error and exception when trying to change to or open a
	connection to the SqlClient provider.

svn path=/trunk/mcs/; revision=8327
2002-10-16 21:40:49 +00:00
Rodrigo Moya 1c6b74e2ad 2002-10-16 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs:
	* System.Data.SqlTypes/SqlBinary.cs: new test suite for SqlBinary, by
	Ville Palo ([email protected]).

svn path=/trunk/mcs/; revision=8326
2002-10-16 21:33:07 +00:00
Daniel Morgan 30a0b9960a 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: remove file
	from this directory because it has been
	moved to
	mcs/tools/SqlSharp

svn path=/trunk/mcs/; revision=8325
2002-10-16 21:06:54 +00:00
Daniel Morgan 016c8298bb 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: SQL query tool moved
	from mcs/class/System.Data/Test
	to mcs/tools/SqlSharp.  Include it in the build
	so people can have a place to test connection strings
	and the ADO.NET providers

svn path=/trunk/mcs/; revision=8324
2002-10-16 20:43:27 +00:00
Daniel Morgan 1befb4e2d5 2002-10-16 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: import from
	mcs/class/System.Data/Test
	by Miguel to
	mcs/tools/SqlSharp

	* unix.args
	* Makefile
	* SqlSharpCli.build: add build files

	* README: add file about SqlSharp

	* ChangeLog: add file for log of changes

svn path=/trunk/mcs/; revision=8323
2002-10-16 20:42:31 +00:00
Daniel Morgan b50724ef73 2002-10-16 Daniel Morgan <[email protected]>
* PostresTest.cs: modified to
	use the new namepace and assembly for PostgreSQL
	provider which is Mono.Data.PostgreSqlClient

svn path=/trunk/mcs/; revision=8322
2002-10-16 19:52:52 +00:00
Daniel Morgan 60f36d10da 2002-10-16 Daniel Morgan <[email protected]>
* ParmUtil.cs
	* PostgresLibrary.cs
	* PostgresTypes.cs
	* SqlClientPermission.cs
	* SqlClientPermissionAttribute.cs
	* SqlCommand.cs
	* SqlCommandBuilder.cs
	* SqlConnection.cs
	* SqlDataAdapter.cs
	* SqlDataReader.cs
	* SqlError.cs
	* SqlErrorCollection.cs
	* SqlException.cs
	* SqlInfoMessageEventArgs.cs
	* SqlInfoMessageEventHandler.cs
	* SqlParameter.cs
	* SqlParameterCollection.cs
	* SqlRowUpdatedEventArgs.cs
	* SqlRowUpdatedEventHandler.cs
	* SqlRowUpdatingEventArgs.cs
	* SqlRowUpdatingEventHandler.cs
	* SqlTransaction.cs: thanks to Miguel, he copied
	files on the mono cvs server
	from mcs/class/System.Data/System.Data.SqlClient
	for the PostgreSQL provider
	to mcs/class/Mono.Data.PostgreSqlClient.
	This frees up
	mcs/class/System.Data/System.Data.SqlClient for
	the Microsoft SQL Server provider.
	Any Mono.Data.PostgreSqlClient/Sql*.cs files
	were copied on the cvs server
	to Mono.Data.PostgreSqlClient/PgSql*.cs files
	and the old Mono.Data.PostgreSqlClient/Sql*.cs
	files were removed.  Copying, renaming, and removing
	was done on the server so we could keep
	the cvs change history.

	* ChangeLog: added this file for logging changes

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

	* library-deps.stamp
	* list
	* makefile.gnu: added for Linux build

	* Locale.cs: added file for Locale.GetText(string);

	* TODOAttribute.cs: added file for [MonoTODO] attribute

svn path=/trunk/mcs/; revision=8321
2002-10-16 19:42:16 +00:00
Tim Coleman da0c092209 2002-10-16 Tim Coleamn <[email protected]>
* list:
        * System.Data.build:
                Exclude compiling of System.Data.SqlClient in
                preparation for overhauls of that system.

svn path=/trunk/mcs/; revision=8320
2002-10-16 19:38:37 +00:00
Daniel Morgan 58ddb8caf1 2002-10-16 Daniel Morgan <[email protected]>
* ParmUtil.cs
	* PostgresLibrary.cs
	* PostgresTypes.cs
	* SqlClientPermission.cs
	* SqlClientPermissionAttribute.cs
	* SqlCommand.cs
	* SqlCommandBuilder.cs
	* SqlConnection.cs
	* SqlDataAdapter.cs
	* SqlDataReader.cs
	* SqlError.cs
	* SqlErrorCollection.cs
	* SqlException.cs
	* SqlInfoMessageEventArgs.cs
	* SqlInfoMessageEventHandler.cs
	* SqlParameter.cs
	* SqlParameterCollection.cs
	* SqlRowUpdatedEventArgs.cs
	* SqlRowUpdatedEventHandler.cs
	* SqlRowUpdatingEventArgs.cs
	* SqlRowUpdatingEventHandler.cs
	* SqlTransaction.cs: thanks to Miguel de Icaza, he
	copied files on the mono cvs server
	from mcs/class/System.Data/System.Data.SqlClient
	for the PostgreSQL provider
	to mcs/class/Mono.Data.PostgreSqlClient.
	This frees up
	mcs/class/System.Data/System.Data.SqlClient for
	the Microsoft SQL Server provider.
	Any Mono.Data.PostgreSqlClient/Sql*.cs files
	were copied on the cvs server
	to Mono.Data.PostgreSqlClient/PgSql*.cs files
	and the old Mono.Data.PostgreSqlClient/Sql*.cs
	files were removed.  Copying, renaming, and removing
	was done on the cvs server so we could keep
	the cvs change history.

svn path=/trunk/mcs/; revision=8318
2002-10-16 17:14:10 +00:00
Miguel de Icaza 1f91970db0 2002-10-16 Miguel de Icaza <[email protected]>
* driver.cs: Report an error if the resource file is not found
	instead of crashing.

svn path=/trunk/mcs/; revision=8317
2002-10-16 15:51:57 +00:00
Nick Drochak e04a0457c6 2002-10-16 Nick Drochak <[email protected]>
* QueueTest.cs: Add test from tetsuo via Vladimir Vukicevic
	([email protected]).

svn path=/trunk/mcs/; revision=8315
2002-10-16 14:52:31 +00:00
Nick Drochak 807460a70a 2002-10-16 Nick Drochak <[email protected]>
* CryptoConfigTest.cs (TestCreateFromName): Disable tests for
	algorithms that aren't in the build yet.

svn path=/trunk/mcs/; revision=8314
2002-10-16 13:55:10 +00:00
Vladimir Vukicevic 0ddeb9b865 * Queue.cs: update new capacity in grow(), preventing queue from
constantly looping over old elements in Dequeue(). Also use
capacity instead of contents.Length in Enqueue().

svn path=/trunk/mcs/; revision=8307
2002-10-16 04:38:01 +00:00
Miguel de Icaza 10b31ca193 2002-10-16 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.EmitAssign): Pass IsBase instead of
	false, like Emit does.

svn path=/trunk/mcs/; revision=8306
2002-10-16 04:33:23 +00:00
Brian Ritchie 145480dbde Modified SQLDescribeCol to work around bug in pinvoke...when doing a ref on a typed enum
svn path=/trunk/mcs/; revision=8304
2002-10-16 04:12:35 +00:00
Gaurav Vaish 4317fc04e2 2002-10-16 Gaurav Vaish <[email protected]>
* winforms - Added <pre> tags for directory layout. Browser does
  not display it properly otherwise.

svn path=/trunk/mono/; revision=8303
2002-10-16 03:59:51 +00:00
Miguel de Icaza c0b50a1a59 Add to the build
svn path=/trunk/mcs/; revision=8302
2002-10-16 03:42:46 +00:00
Daniel Morgan 9276dbc434 2002-10-15 Daniel Morgan <[email protected]>
* System.Data.OleDb/libgda.cs: added more functions
	to platfrom invoke into shared library libgda

	* System.Data.OleDb/OleDbDataReader.cs: implemented
	GetSchemaTable() and GetFieldType()

svn path=/trunk/mcs/; revision=8299
2002-10-15 21:46:11 +00:00
Rodrigo Moya b0b6e21af2 2002-10-15 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/AllTests.cs: added new test.

2002-10-15  Ville Palo <[email protected]>

	* System.Data.SqlTypes/SqlSingleTest.cs: added test suite for
	SqlSingle.

svn path=/trunk/mcs/; revision=8297
2002-10-15 18:18:40 +00:00
Daniel Morgan 3ebc15004a 2002-10-15 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: get it to work with System.Data.OleDb
	on MS .net when connected to Oracle 8i.  Also, get data
	to space correctly when data size is smaller than the
	header size.  If DataType is DateTime, use GetDataTime(),
	otherwise, use GetValue().

svn path=/trunk/mcs/; revision=8296
2002-10-15 17:24:19 +00:00
Nick Drochak cb8ee7adaf 2002-10-16 Nick Drochak <[email protected]>
* Enum.cs (Parse): Then fix the code so that it works too.

svn path=/trunk/mcs/; revision=8295
2002-10-15 15:52:44 +00:00
Nick Drochak a9d0dfc9ec Ignore debug files
svn path=/trunk/mcs/; revision=8293
2002-10-15 15:44:20 +00:00
Nick Drochak 5bf64ccfe2 2002-10-16 Nick Drochak <[email protected]>
* typemanager.cs: Remove unused private member.  Also reported mcs
	bug to report this as a warning like csc.

svn path=/trunk/mcs/; revision=8292
2002-10-15 15:41:30 +00:00
Nick Drochak 0628ee92f1 Ignore more dll's
svn path=/trunk/mcs/; revision=8291
2002-10-15 15:37:53 +00:00
Nick Drochak 38312d5691 Ignore dll's
svn path=/trunk/mcs/; revision=8290
2002-10-15 15:34:34 +00:00
Nick Drochak 453eacd093 2002-10-16 Nick Drochak <[email protected]>
* corlib_test.build: Fix build.  Exclude tests that depend on
	components we are not building into corlib yet.

svn path=/trunk/mcs/; revision=8289
2002-10-15 15:28:24 +00:00
Nick Drochak 544c75429d 2002-10-16 Nick Drochak <[email protected]>
* AllTests.cs: Disable tests that use components were are excluding
	from corlib.
	* SHA1Test.cs: same

svn path=/trunk/mcs/; revision=8288
2002-10-15 15:26:19 +00:00
Nick Drochak 4e5c2dc69a 2002-10-16 Nick Drochak <[email protected]>
* EnumTest.cs: Find out which Assert is causing the error on mono.

svn path=/trunk/mcs/; revision=8287
2002-10-15 15:23:13 +00:00
Nick Drochak d7f6f3d82a 2002-10-15 Nick Drochak <[email protected]>
* Enum.cs (Parse): Use unsigned casts to avoid compiler warnings.

svn path=/trunk/mcs/; revision=8286
2002-10-15 15:03:24 +00:00
Martin Baulig afa52b82c7 Oooops, this was an accident, sorry for the breakage.
svn path=/trunk/mono/; revision=8285
2002-10-15 13:14:27 +00:00
Martin Baulig 1584558454 2002-10-15 Martin Baulig <[email protected]>
* jit.cs (PUSH_TREE): Always set t->cli_addr here.

	* debug.c (generate_line_number): Small fix to make this actually
	work for more complex things.

svn path=/trunk/mono/; revision=8282
2002-10-15 12:08:18 +00:00
Martin Baulig 4959c14001 2002-10-15 Martin Baulig <[email protected]>
* statement.cs (Statement.Emit): Made this a virtual method; emits
	the line number info and calls DoEmit().
	(Statement.DoEmit): New protected abstract method, formerly knows
	as Statement.Emit().

	* codegen.cs (EmitContext.Mark): Check whether we have a symbol writer.

svn path=/trunk/mcs/; revision=8281
2002-10-15 12:04:33 +00:00
Sebastien Pouliot d8ff8ff53d 2002-10-14 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for PKCS1MaskGenerationMethod
	* PKCS1MaskGenerationMethodTest.cs: New. Test work as per PKCS#1 but
	result isn't the same as MS implementation !?! is MS using this class ?

svn path=/trunk/mcs/; revision=8276
2002-10-15 02:47:50 +00:00
Sebastien Pouliot 5b34a1b454 2002-10-14 Sebastien Pouliot <[email protected]>
* PKCS1MaskGenerationMethod.cs: Added [CLSCompliant(false)] to methods using uint

svn path=/trunk/mcs/; revision=8275
2002-10-15 02:38:08 +00:00
Dennis Hayes bc3ac058f5 2002-10-13 DennisHayes <[email protected]>
*Application.cs
	*AxHost.cs
	*ChangeLog
	*CheckedListBox.cs
	*ComboBox.cs
	*CurrencyManager.cs
	*DateTimePicker.cs
	*DomainUpDown.cs
	*FolderBrowserDialog.cs
	*ListBox.cs
	*logfile.txt
	*StatusBarDrawItemEventArgs.cs
	*TabControl.cs
	*TextBox.cs
	*TrackBar.cs
	*UpDownBase.cs

	* Updated to match .NET V1.1 Beta

svn path=/trunk/mcs/; revision=8274
2002-10-15 01:13:47 +00:00
Dennis Hayes 9a0f017e3c 2002-10-14 Dennis Hayes ([email protected])
* Region.cs
	* changed using namespace from Drawing2d to Drawing2D

svn path=/trunk/mcs/; revision=8273
2002-10-15 01:11:09 +00:00
Dennis Hayes 0ed78b0656 *** empty log message ***
svn path=/trunk/mcs/; revision=8272
2002-10-15 01:07:55 +00:00
Dennis Hayes a2158fa226 2002-10-13 DennisHayes <[email protected]>
* Changed namespace from *2d to *2D
	* Changed comment header from system.Drawing to System.Drawing.Drawing2D

svn path=/trunk/mcs/; revision=8271
2002-10-15 01:06:53 +00:00
Dennis Hayes ce9fc09aab 2002-10-13 DennisHayes <[email protected]>
* PrintDocument
	* Added OriginAtMargin for .NET V 1.1 compatablity.

svn path=/trunk/mcs/; revision=8270
2002-10-15 01:03:58 +00:00
Miguel de Icaza 8e611009f4 Applied patch from Gustavo
svn path=/trunk/mcs/; revision=8268
2002-10-15 00:24:33 +00:00
Miguel de Icaza 7264b04933 Flush
svn path=/trunk/mono/; revision=8262
2002-10-14 20:40:56 +00:00
Miguel de Icaza 296c9bfaba Flush
svn path=/trunk/mono/; revision=8256
2002-10-14 18:14:06 +00:00
Sebastien Pouliot 579602906a 2002-10-14 Sebastien Pouliot <[email protected]>
* MD5.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* Rijndael.cs: Create using CryptoConfig. Removed TODO.
	* RSAParameters.cs: Modulus must be serialized. Removed TODO.
	* SHA256.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* SHA384.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* SHA512.cs: Create using CryptoConfig, set HashSizeValue, removed TODO.
	* FromBase64Transform.cs: Removed ToString()
	* ToBase64Transform.cs: Removed ToString()
	* SymmetricAlgorithm.cs: Create using CryptoConfig, set default Mode and
	Padding, added Clear, Dispose
	* TripleDES.cs: New. Abstract class.
	* MaskGenerationMethod.cs: New. Abstract class.
	* PKCS1MaskGenerationMethod.cs: New. Implement PKCS#1 MGF (currently not
	compatible with MS implementation - but not sure the bug is mine!).

svn path=/trunk/mcs/; revision=8254
2002-10-14 18:02:11 +00:00
Rodrigo Moya 2e840d8d47 2002-10-14 Rodrigo Moya <[email protected]>
* list: added missing Odbc files.

svn path=/trunk/mcs/; revision=8251
2002-10-14 16:33:50 +00:00
Martin Baulig c5eeb05054 2002-10-14 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added MONO_TYPE_I, MONO_TYPE_U and
	MONO_TYPE_VOID.

svn path=/trunk/mono/; revision=8242
2002-10-14 11:38:45 +00:00
Martin Baulig 9b35a3e4fe 2002-10-14 Martin Baulig <[email protected]>
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetType): Use
	mono_class_get() instead of looking in the class cache.

svn path=/trunk/mono/; revision=8241
2002-10-14 11:22:35 +00:00
Martin Baulig f9202c17a9 2002-10-14 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
	Append ".config" to the filename, not ".exe.config" since the
	filename already has a ".exe" suffix.

svn path=/trunk/mcs/; revision=8239
2002-10-14 10:04:29 +00:00
Martin Baulig 5e63beb027 2002-10-14 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
	Assembly.Location, not Assembly.FullName to get its filename.

svn path=/trunk/mcs/; revision=8238
2002-10-14 09:51:05 +00:00
Nick Zigarovich bad23e8a29 Make sure XmlTextReader.GetAttribute never returns null.
svn path=/trunk/mcs/; revision=8237
2002-10-14 06:22:08 +00:00
Brian Ritchie d0579aba6b Changed odbc32 to odbc32.dll to support dllmapping in mono
svn path=/trunk/mcs/; revision=8236
2002-10-14 05:28:50 +00:00
Brian Ritchie 77ddaa1106 Added dllmapping for odbc32
svn path=/trunk/mono/; revision=8235
2002-10-14 05:25:43 +00:00
Brian Ritchie 1a3c0abe89 Brian Ritchie
-Updated to support ODBC provider

svn path=/trunk/mcs/; revision=8234
2002-10-14 04:59:34 +00:00
Brian Ritchie f8721edf94 Brian Ritchie
- Added OdbcTransaction Object and moved transaction logic out of connection and into new object.
- Support for DSN-less connection strings
- Fixed OdbcType enum to have correct values
- General cleanup on all objects
- Implemented Cancel in OdbcCommand
- Added DBNull support
- Updated OdbcType enum with values from header files.
- Modified column description code to happen dynamically as a column is accessed
  instead of describing all columns when the query opens
- Works with SqlSharp

Known Issues:
- Transaction Isolation Level isn't handled
- A number of data types are returned as strings instead of native types
- Parameter support is weak -- only supports int types
- ExecuteReader: CommandBehavior isn't implemented
- ExecuteScalar not implemented
- Need better error handling

svn path=/trunk/mcs/; revision=8233
2002-10-14 04:57:06 +00:00
Mark Crichton ef449ee1c8 Even more typos fixed.
svn path=/trunk/mono/; revision=8232
2002-10-14 02:44:26 +00:00
Vladimir Vukicevic 0fef9e9e7f fix dir name
svn path=/trunk/mcs/; revision=8231
2002-10-14 00:34:57 +00:00
Daniel Morgan d14239a8f3 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataReader.cs: change "DataType" in
	schema DataTable to be typeof(Type) instead of
	typeof(string) to make it more like MS.NET

	* Test/MySqlTest.cs: tweaks

svn path=/trunk/mcs/; revision=8230
2002-10-14 00:23:18 +00:00
Daniel Morgan 1810f3436a 2002-10-13 Daniel Morgan <[email protected]>
* System.Data/DataRow.cs: don't throw exception
	if DBNull is false.  Had to do comment this line
	to allow a typeof(Type).

	* System.Data.SqlClient/SqlCommand.cs: the "DataType"
	DataColumn and DataRows in a DataTable for a schema should
	be typeof Type,	not string.  This is to make it
	compatible with MS.NET

	* System.Data.SqlClient/SqlConnection.cs: the
	isolation level should be set before
	beginning the transaction

	* Test/SqlSharpCli.cs: change string to Type for
	"DataType" from a DataRow in a DataTable
	that contains a schema.

svn path=/trunk/mcs/; revision=8229
2002-10-14 00:19:06 +00:00
Daniel Morgan 1dd2506a4a 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: better formatting of output

svn path=/trunk/mcs/; revision=8228
2002-10-13 20:51:22 +00:00
Daniel Morgan e76e7a3106 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlCommand.cs:
	* Mono.Data.MySql/MySqlConnection.cs:
	* Mono.Data.MySql/MySqlDataReader.cs:
	* Mono.Data.MySql/MySqlTypes.cs: modifed -
	handle MySQL types to .NET types and some fixes

svn path=/trunk/mcs/; revision=8227
2002-10-13 20:41:21 +00:00
Martin Baulig 9deb33f261 2002-10-13 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Set version number to 28, include the
	signature in method names.

svn path=/trunk/mono/; revision=8225
2002-10-13 19:33:40 +00:00
Martin Baulig 262a6293b1 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 28.
	(SourceFileEntry): Read the methods when they're needed.
	(MethodSourceEntry): Made this a struct, not a class.

svn path=/trunk/mcs/; revision=8224
2002-10-13 19:32:53 +00:00
Martin Baulig 7f2e3af79a 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 28.
	(SourceFileEntry): Read the methods when they're needed.
	(MethodSourceEntry): Made this a struct, not a class.

svn path=/trunk/mcs/; revision=8223
2002-10-13 19:31:52 +00:00
Sebastien Pouliot 4a996606a4 2002-10-13 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for HashAlgorithm, KeyedHashAlgorithm and
        HMACSHA1
	* HashAlgorithmTest.cs: New. Test for Create and Clear
        * KeyedHashAlgorithmTest.cs: New. Test for Create and key assignation
        * HMACSHA1Test.cs: New. Test vectors from FIPS 198 and RFC2202

svn path=/trunk/mcs/; revision=8222
2002-10-13 18:47:53 +00:00
Sebastien Pouliot 053b98da02 2002-10-13 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it
	inherits ICryptoTransform
	* KeyedHashAlgorithm.cs: New implementation
	* HMACSHA1.cs: New (include a generic HMACAlgorithm as internal class)
	* MACTripleDES.cs: New (missing core implementation on generic MACAlgorithm)
	* CryptoStream.cs: Added limited functionalities to support HMACSHA1

svn path=/trunk/mcs/; revision=8221
2002-10-13 18:38:54 +00:00
Martin Baulig 9220e11189 2002-10-13 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Set version number to 27.

svn path=/trunk/mono/; revision=8219
2002-10-13 16:48:36 +00:00
Martin Baulig 5751f8c72a 2002-10-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 27.  Added a source
	file table which is used to search a method by source file + line number.

svn path=/trunk/mcs/; revision=8217
2002-10-13 16:47:04 +00:00
Daniel Morgan ac5a52054d 2002-10-13 Daniel Morgan <[email protected]>
* doc/adonet: updated status of all providers, added links,
	  and added information
	  about the Mono.Data.SqliteClient provider that
	  Vladimir Vukicevic contributed. Added Brian Ritchie's
	  and Vladimir Vukicevic's email addresses as
	  people to contact about ADO.NET in Mono.
	  Added information about SQL#, configuration tools,
	  and an ADO.NET Multiplexor, etc...

svn path=/trunk/mono/; revision=8216
2002-10-13 15:02:49 +00:00
Daniel Morgan 902f44c9a1 2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
	directory to windows build

svn path=/trunk/mcs/; revision=8215
2002-10-13 12:01:42 +00:00
Daniel Morgan f9cef840ef 2002-10-13 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	- add support for the external Mono.Data.SqliteClient
	ADO.NET provider. All the user has to do is
	"/provider sqlite"
	to load it instead of the usual syntax for loading
	external providers
	"/loadextprovider Mono.Data.SqliteClient Mono.Data.SqliteClient.SqliteConnection".

svn path=/trunk/mcs/; revision=8214
2002-10-13 11:04:01 +00:00
Daniel Morgan 05d8ceb4d5 2002-10-13 Daniel Morgan <[email protected]>
* Test: added new directory to hold
	tests for Mono.Data.SqliteClient

	* Test/SqliteTest.cs: added file
	to test Mono.Data.SqliteClient.

svn path=/trunk/mcs/; revision=8213
2002-10-13 10:53:43 +00:00
Daniel Morgan 4c4c4cfa95 2002-10-13 Daniel Morgan <[email protected]>
* Mono.Data.SqliteClient: add file
	to build on Windows

	* Mono.Data.SqliteClient/SqliteCommand.cs: modified
	added unsafe { } around call to sqlite_exec() which calls
	an unsafe method SqliteCallbackFunction

svn path=/trunk/mcs/; revision=8212
2002-10-13 09:54:21 +00:00
Vladimir Vukicevic dcd385f830 * Mono.Data.SqlClient/SqliteCobmmand.cs, SqliteDataReader.cs,
SqliteParameterCollection.cs, SqliteConnection.cs,
	SqliteParameter.cs: Initial checkin

svn path=/trunk/mcs/; revision=8210
2002-10-13 08:33:15 +00:00
John Sohn 6e0fb50396 * Button.cs:
* Label.cs:
	* Control.cs:
	* Form.cs: fixed location of elements on Form
	* FormTest.cs: changed location of Label and Button on Form

svn path=/trunk/mcs/; revision=8209
2002-10-13 06:48:56 +00:00
Sebastien Pouliot d1753e90d0 2002-10-12 Sebastien Pouliot <[email protected]>
* DSA.cs: changed constructor to public from internal (like MS)
	* HashAlgorithm.cs: Completed ComputeHash methods
	* SHA1.cs: Added HashSizeValue = 160

svn path=/trunk/mcs/; revision=8208
2002-10-13 03:13:08 +00:00
Sebastien Pouliot 42e3890563 2002-10-12 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added suite for RandomNumberGenerator, SHA1 and
        SHA1CryptoServiceProvider
	* RandomNumberGeneratorTest.cs: New. Tests for Create and generic
        random quality tests (FIPS140-2)
	* SHA1Test.cs: New. Tests for Create and generic SHA1 tests (FIPS180-1)
	* SHA1CryptoServiceProviderTest.cs: New. Inherited SHA1Tests tests +
        specific tests

svn path=/trunk/mcs/; revision=8207
2002-10-13 03:05:30 +00:00
John Sohn 6bdc1a4369 * ButtonBase.cs:
* Button.cs:  initial implementation of Button class
	* FormTest.cs: added Button to form
	* makefile: added Button.cs and ButtonBase.cs to makefile

svn path=/trunk/mcs/; revision=8206
2002-10-12 23:08:44 +00:00
Miguel de Icaza 4f7b717a86 2002-10-12 A.Enomoto <[email protected]>
* XmlDocument.cs (ImportNode): Implemented

svn path=/trunk/mcs/; revision=8205
2002-10-12 22:17:24 +00:00
John Sohn 40f69d7379 * Control.cs:
* Label.cs: changed CreateHandle method to use CreateParams property
	* README: added instructions for building and using project
	* makefile: removed monostart.c from makefile
	* monostart.c:
	* test.sh
	* build.sh: no longer used, removed

svn path=/trunk/mcs/; revision=8202
2002-10-12 19:30:39 +00:00
Sebastien Pouliot f309618e5c 2002-10-12 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added Dispose() to HashAlgorithm because it inherits ICryptoTransform

svn path=/trunk/mcs/; revision=8200
2002-10-12 18:24:54 +00:00
Sebastien Pouliot da82e0e5cb 2002-10-12 Sebastien Pouliot <[email protected]>
* ICryptoTransform.cs: Now inherits from IDisposable
	* RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
        * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
        * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
        * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
        * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
        * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform

svn path=/trunk/mcs/; revision=8199
2002-10-12 16:22:31 +00:00
Daniel Morgan 2d2547d0b2 2002-10-12 Daniel Morgan <[email protected]>
* Test/MySqlTest.cs: added file - to do
	  various Tests for the MySql provider

	* Mono.Data.MySql/Field.cs: enum MySqlFieldFlags
	should be unit.  Rename class Field to MySqlMarshalledField
	to represent what it really is.  Redo handling of field Flags.

	* Mono.Data.MySql/MySql.cs: added method AffectedRows() to
	pinvoke	into mysql_affected_rows() so we can know what rows
	were affected by an INSERT, UPDATE, or DELETE SQL statement.

	* Mono.Data.MySql/MySqlCommand.cs: rename
	internal method rowVal() to GetColumnData().  In GetColumnData,
	if IntPtr.Zero, return an empty "" string instead of "NULL".
	Pass command behavior to data reader.

	* Mono.Data.MySql/MySqlDataReader.cs: redo the
	way field meta data and data is structured so
	a schema DataTable can be built.  Implement
	GetSchemaTable() to create a DataTable holding the schema
	of the fields.  Implemented more methods.

	* Mono.Data.MySql/MySqlTypes.cs: added method to
	translate System.Data.DbType to System.Type

	* est/TestMySqlExecuteReader.cs: minor tweaks

svn path=/trunk/mcs/; revision=8198
2002-10-12 11:03:40 +00:00
Daniel Morgan 133b16c231 2002-10-11 Daniel Morgan <[email protected]>
* OdbcTest.cs: added
	for System.Data.Odbc tests.  Modify this
	test as needed...

svn path=/trunk/mcs/; revision=8197
2002-10-12 03:03:00 +00:00
Duncan Mak d3cfe31655 2002-10-11 Duncan Mak <[email protected]>
* CSharpCodeProvider.cs: Fix constructor visibility.

	* unix.args: Added System.Security.Cryptography.CryptoConfig.

	* DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().

svn path=/trunk/mcs/; revision=8196
2002-10-12 02:02:24 +00:00
Sebastien Pouliot d8299b0ed3 2002-10-11 Sebastien Pouliot <[email protected]>
* DES.cs: Create() using CryptoConfig, fix #30256
	* DESCryptoServiceProvider.cs: fix #30256
	* RandomNumberGenerator.cs: uncomment in Create(rng) for CryptoConfig

svn path=/trunk/mcs/; revision=8195
2002-10-12 01:26:11 +00:00
Nick Drochak 216e5bdccc 2002-10-12 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Fix compiler warnings.

svn path=/trunk/mcs/; revision=8194
2002-10-12 01:18:41 +00:00
Miguel de Icaza e85db67a75 2002-10-11 Tim Haynes <[email protected]>
* Type.cs (GetConstructors): Use the correct flags.

svn path=/trunk/mcs/; revision=8181
2002-10-11 21:33:22 +00:00
Martin Baulig e394f332c1 2002-10-11 Martin Baulig <[email protected]>
* gc.c: Don't register/unregister NULL pointers as disappearing links.

svn path=/trunk/mono/; revision=8177
2002-10-11 20:24:11 +00:00
Ravi Pratap M 492d1d3251 2002-10-11 Ravi Pratap <[email protected]>
* CodeMethodInvokeExpression.cs : Fix second constructor so that
	the last argument is params - that is what the docs say.

svn path=/trunk/mcs/; revision=8176
2002-10-11 20:14:38 +00:00
Dick Porter 9f7c6c3b97 Don't try to compile stuff that wants to reference System.Xml, or their
dependencies.

svn path=/trunk/mcs/; revision=8166
2002-10-11 15:07:23 +00:00
Dietmar Maurer 19f1094336 (emit_label_func): make it possible to print operator names in
error messages.

svn path=/trunk/mono/; revision=8165
2002-10-11 13:28:09 +00:00
Dietmar Maurer daace9fe57 2002-10-11 Dietmar Maurer <[email protected]>
* x86.brg (freg): use fprem instead of fprem1

svn path=/trunk/mono/; revision=8164
2002-10-11 12:28:20 +00:00
Daniel Morgan 0c3b244314 2002-10-11 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlTransaction.cs: added to
	  support transactions (BEGIN, COMMIT/ROLLBACK).

	* Mono.Data.MySql.build: included MySqlTransaction
	  in build on Windows

	* list: included MySqlTransaction
	  in build on Linux

	* Mono.Data.MySql/MySql.cs: the mysql thread functions
	  were misnamed and prevented them from being loaded
	  by the mono JIT - my_thread_init() and my_thread_end().
	  Now, threading should work in the MySQL provider and
	  less memory leaks too.

	* Mono.Data.MySql/Test.cs: remove conditional comiliation
	  since everything compiles fine on Mono now

	* Mono.Data.MySql/MySqlCommand.cs: remove Console.WriteLine()

	* Mono.Data.MySql/MySqlConnection.cs: added transaction
	  support, implemented method ChangeDatabase(), implemented
	  property ServerVersion

	* Test/TestMySqlInsert.cs: modified test
	  to handle transactions

svn path=/trunk/mcs/; revision=8163
2002-10-11 10:13:28 +00:00
Dietmar Maurer 85cb289ff1 2002-10-11 Dietmar Maurer <[email protected]>
* monoburg.c (emit_tree_match): omit unnecessary compare

svn path=/trunk/mono/; revision=8162
2002-10-11 09:48:15 +00:00
Miguel de Icaza 608eeea85e 2002-10-11 Miguel de Icaza <[email protected]>
* class.cs: Following the comment from 2002-09-26 to AddMethod, I
	have fixed a remaining problem: not every AddXXXX was adding a
	fully qualified name.

	Now everyone registers a fully qualified name in the DeclSpace as
	being defined instead of the partial name.

	Downsides: we are slower than we need to be due to the excess
	copies and the names being registered this way.

	The reason for this is that we currently depend (on the corlib
	bootstrap for instance) that types are fully qualified, because
	we dump all the types in the namespace, and we should really have
	types inserted into the proper namespace, so we can only store the
	basenames in the defined_names array.

svn path=/trunk/mcs/; revision=8161
2002-10-11 05:16:45 +00:00
Sebastien Pouliot 4ca9f70393 2002-10-10 Sebastien Pouliot <[email protected]>
* DSATest.cs: Added non-abstract DSA class to test To/FromXmlString()
	* RSATest.cs: Added non-abstract RSA class to test To/FromXmlString()
	* AllTests.cs: Added DSATest.cs and RSATest.cs in suite

svn path=/trunk/mcs/; revision=8160
2002-10-11 03:29:23 +00:00
Sebastien Pouliot 22fa9bf079 2002-10-10 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Inherit from IDisposable, common support from XML import
	* DSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
	* RSA.cs: FromXmlString() keypair import, Create() using CryptoConfig
	* DSACryptoServiceProvider.cs: Added Dispose()

svn path=/trunk/mcs/; revision=8159
2002-10-11 03:20:52 +00:00
Miguel de Icaza 91cb44526c Remove doctools, not it lives in monodoc module
svn path=/trunk/mcs/; revision=8152
2002-10-10 22:08:27 +00:00
Miguel de Icaza 4f301f568f Remove doc
svn path=/trunk/mcs/; revision=8151
2002-10-10 22:07:33 +00:00
Miguel de Icaza e82b308bf4 remove docs
svn path=/trunk/mcs/; revision=8150
2002-10-10 21:49:03 +00:00
Miguel de Icaza c54ad75756 Remove docs
svn path=/trunk/mcs/; revision=8149
2002-10-10 21:48:19 +00:00
Rodrigo Moya ea63847eb7 2002-10-10 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlDoubleTest.cs: new test suite for SqlDouble.

svn path=/trunk/mcs/; revision=8147
2002-10-10 20:27:55 +00:00
Martin Baulig bc1c50d429 2002-10-10 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.EmitStoreOpcode): Reverted the patch
	from bug #31834, see the bug report for a testcase which is
	miscompiled.

svn path=/trunk/mcs/; revision=8146
2002-10-10 20:26:32 +00:00
Miguel de Icaza 42c0da3795 Rename
svn path=/trunk/mcs/; revision=8145
2002-10-10 20:07:50 +00:00
Miguel de Icaza a05997224b Rename attributeusage file
svn path=/trunk/mcs/; revision=8144
2002-10-10 20:06:49 +00:00
Miguel de Icaza b501dc6710 We have win binaries now
svn path=/trunk/mono/; revision=8137
2002-10-10 17:21:22 +00:00
Paolo Molaro 973ae7b2ff Thu Oct 10 14:56:51 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c, metadata.h: added helper function to allocate signatures.

svn path=/trunk/mono/; revision=8136
2002-10-10 12:59:52 +00:00
Daniel Morgan 07b2c77b79 2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.

svn path=/trunk/mcs/; revision=8135
2002-10-10 10:33:06 +00:00
Rodrigo Moya a528fc0efc 2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.

svn path=/trunk/mcs/; revision=8134
2002-10-10 10:05:33 +00:00
Rodrigo Moya 85fc1e51a4 2002-10-10 Rodrigo Moya <[email protected]>
* makefile.gnu: added makefile for linux build.

	* list: updated to contain all missing files.

	* Mono.Data.MySql/makefile: removed unneeded makefile.

svn path=/trunk/mcs/; revision=8133
2002-10-10 10:03:57 +00:00
Daniel Morgan 861ea9c609 2002-10-10 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - add support for System.Data.Odbc
	  - created simple reader to display data for those providers
	    which have not implemented GetSchemaTable - UseSimpleReader
	  - allow only providers that support parameters to use them
	    during exection of SQL - UseParameters
	  - add support for postional parameter marker (question mark),
	    the delimted named parameter markers (square brackets) in addition
	    to colon and at parameter markers.  Allow, the parameter marker
	    to be settable.

svn path=/trunk/mcs/; revision=8130
2002-10-10 05:26:28 +00:00
Miguel de Icaza 21dcbaff5f More work
svn path=/trunk/mcs/; revision=8129
2002-10-10 05:10:09 +00:00
Daniel Morgan 9f4c90c68d *** empty log message ***
svn path=/trunk/mono/; revision=8128
2002-10-10 04:07:26 +00:00
Daniel Morgan 5f70f7b839 2002-10-10 Daniel Morgan <[email protected]>
* doc/index: corrected some mistypes

	* doc/adonet: updated the status and plans of all the ADO.NET providers
	  and moved PostgreSQL specific stuff to doc/postgresql

	* doc/postgresql: added new file to detail
	  the status of the PostgreSQL ADO.NET provider
	  and provide test notes for setting it up

svn path=/trunk/mono/; revision=8127
2002-10-10 04:05:26 +00:00
Gonzalo Paniagua Javier 0cdfce96e0 2002-10-10 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs: workaround for a bug in NameValueCollection.
	* ConfigurationSettings.cs: load sections when the parent holds a
	handler for it. Now overriding appSettings values in the app config
	file works (first <remove..> and then <add...).

svn path=/trunk/mcs/; revision=8126
2002-10-10 03:32:29 +00:00
Sebastien Pouliot 19ef8e7c35 2002-10-09 Sebastien Pouliot <[email protected]>
svn path=/trunk/mcs/; revision=8125
2002-10-10 03:21:49 +00:00
Sebastien Pouliot fcc5d5158d Initial version.
svn path=/trunk/mcs/; revision=8124
2002-10-10 02:50:10 +00:00
Daniel Morgan c0cbb53705 2002-10-09 Daniel Morgan <[email protected]>
* data/config.in: add entry for MySQL native shared libraries
	  which are different on Windows and Linux

svn path=/trunk/mono/; revision=8123
2002-10-10 02:37:30 +00:00
Gonzalo Paniagua Javier 27d89dfd8a 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* ConfigHelper.cs:
	* NameValueFileSectionHandler.cs: check that Attributes is not null.

svn path=/trunk/mcs/; revision=8122
2002-10-10 00:40:28 +00:00
Martin Baulig 16d0b059fe 2002-10-10 Martin Baulig <[email protected]>
* verify-1.cs: Added testcase from bug #31470.

svn path=/trunk/mcs/; revision=8121
2002-10-10 00:30:08 +00:00
Martin Baulig 09c830d6b8 2002-10-10 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.Breaks): Removed, we're now using the
	flow analysis code for this.

	* statement.cs (Do, While, For): Tell the flow analysis code about
	infinite loops.
	(FlowBranching.UsageVector): Added support for infinite loops.
	(Block.Resolve): Moved the dead code elimination here and use flow
	analysis to do it.

svn path=/trunk/mcs/; revision=8120
2002-10-10 00:29:31 +00:00
Martin Baulig 2839a77732 Added one more testcase to this bug.
svn path=/trunk/mcs/; revision=8119
2002-10-10 00:07:18 +00:00
Gonzalo Paniagua Javier d53db80c2e Added appSettings
svn path=/trunk/mono/; revision=8118
2002-10-09 23:15:01 +00:00
Miguel de Icaza 88d8b4573d 2002-10-09 Miguel de Icaza <[email protected]>
* class.cs (Field.Define): Catch cycles on struct type
	definitions.

svn path=/trunk/mcs/; revision=8117
2002-10-09 23:06:02 +00:00
Gonzalo Paniagua Javier be0aa76afe Removed unneeded stuff
svn path=/trunk/mono/; revision=8116
2002-10-09 22:53:43 +00:00
Miguel de Icaza 16f8895006 2002-10-09 Miguel de Icaza <[email protected]>
* NameValueFileSectionHandler.cs: For now if a section is not
	present, return null.  Do not know what the real fix is.  Gonzalo
	will have to look at this, but the debugger was crashing as
	appSettings in the machine.config does not exist, but GetConfig
	returns a non-null value when looking it up when you do a
	GetDocumentForSection ("appSettings").

svn path=/trunk/mcs/; revision=8115
2002-10-09 22:37:57 +00:00
Miguel de Icaza 200d15096a tpos
svn path=/trunk/mono/; revision=8114
2002-10-09 22:27:22 +00:00
Martin Baulig ff2d438502 2002-10-10 Martin Baulig <[email protected]>
* verify-5.cs: Added testcase from bug #31541.

svn path=/trunk/mcs/; revision=8113
2002-10-09 22:19:29 +00:00
Miguel de Icaza 3c4e95b96c The news are in
svn path=/trunk/mono/; revision=8112
2002-10-09 22:07:47 +00:00
Miguel de Icaza c37caa93be 2002-10-09 Miguel de Icaza <[email protected]>
* typemanager.cs (IsUnmanagedtype): Do not recursively check
	fields if the fields are static.  We only need to check instance
	fields.

svn path=/trunk/mcs/; revision=8106
2002-10-09 18:29:56 +00:00
Rodrigo Moya c4fb9fb7e8 2002-10-09 Ville Palo ([email protected])
* System.Data.SqlTypes/SqlInt16Test.cs:
	* System.Data.SqlTypes/SqlInt64Test.cs: new test suites.

svn path=/trunk/mcs/; revision=8105
2002-10-09 17:54:00 +00:00
Rodrigo Moya b48adf3e23 Removed wrong System.Data.Odbc directory
svn path=/trunk/mcs/; revision=8104
2002-10-09 17:17:44 +00:00
Rodrigo Moya 2ce1d9ef66 2002-10-09 Rodrigo Moya <[email protected]>
* list: added System.Data.Odbc files.

2002-10-09  Brian Ritchie <[email protected]>

	* System.Data.Odbc/*: added first version of ODBC managed provider.

svn path=/trunk/mcs/; revision=8103
2002-10-09 17:15:22 +00:00
Dietmar Maurer 1fcc80e9ee 2002-10-09 Dietmar Maurer <[email protected]>
* monoburg.c (check_result): emit a warning instead of an error

svn path=/trunk/mono/; revision=8102
2002-10-09 16:15:23 +00:00
Rodrigo Moya 2ac1d0e8d0 2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.

svn path=/trunk/mcs/; revision=8100
2002-10-09 15:11:51 +00:00
Rodrigo Moya b0e9a56f37 2002-10-09 Brian Ritchie <[email protected]>
First version of the System.Data.Odbc managed provider.

svn path=/trunk/mcs/; revision=8099
2002-10-09 15:11:22 +00:00
Nick Drochak 300b2c4c89 2002-10-09 Nick Drochak <[email protected]>
* SortedListTest.cs: Re-enable test for IsSyncronized

svn path=/trunk/mcs/; revision=8098
2002-10-09 14:53:50 +00:00
Daniel Morgan 0613f97cbd 2002-10-09 Daniel Morgan <[email protected]>
* Mono.Data.MySql/MySqlDataReader.cs: added
	  started implementing Reader for MySQL provider

	* Mono.Data.MySql/MySqlTypes.cs: added
	  to hold internal helper methods, enums, structs, classes
	  for handling MySQL data types

	* Test/TestMySqlExecuteReader.cs
	* Test/TestMySqlExecuteScalar.cs: added simple tests
	  for ExecuteScalar() and ExecuteReader() methods
	  in MySqlCommand.  We are able to retrieve data
	  from MySQL now.

	* Mono.Data.MySql.build: took out exclude
      so MySqlExecuteReader.cs will build

    * Mono.Data.MySql/Field.cs: added enum to file
      and added helper methods field flags

    * Mono.Data.MySql/MySqlCommand.cs: started
      implementation of ExecuteScalar nd ExecuteReader methods
      to retrieve data.  Also, added internal method rowVal
      for marshalling field data.

    * Mono.Data.MySql/Test.cs: take out a bunch of
      Console.WriteLines'

svn path=/trunk/mcs/; revision=8097
2002-10-09 13:07:27 +00:00
Miguel de Icaza b72e0fd402 2002-10-09 Miguel de Icaza <[email protected]>
* expression.cs (As.DoResolve): Test for reference type.

svn path=/trunk/mcs/; revision=8095
2002-10-09 05:46:11 +00:00
Miguel de Icaza 70cff6d783 2002-10-09 Miguel de Icaza <[email protected]>
* statement.cs (Using.ResolveExpression): Use
	ConvertImplicitRequired, not ConvertImplicit which reports an
	error on failture
	(Using.ResolveLocalVariableDecls): ditto.

svn path=/trunk/mcs/; revision=8094
2002-10-09 05:37:59 +00:00
Miguel de Icaza a2b4f2c387 2002-10-09 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Report errors in a few
	places where we had to.

svn path=/trunk/mcs/; revision=8093
2002-10-09 05:30:13 +00:00
Miguel de Icaza 045bf2fb02 2002-10-09 Miguel de Icaza <[email protected]>
* typemanager.cs (IsUnmanagedtype): Finish implementation.

svn path=/trunk/mcs/; revision=8092
2002-10-09 05:19:20 +00:00
Miguel de Icaza 013443b0a6 Better if its static
svn path=/trunk/mcs/; revision=8090
2002-10-09 00:47:18 +00:00
Miguel de Icaza a21af59ae0 Typo fix
svn path=/trunk/mono/; revision=8089
2002-10-09 00:45:17 +00:00
Miguel de Icaza 3279cc066e Register call
svn path=/trunk/mono/; revision=8088
2002-10-09 00:32:55 +00:00
Miguel de Icaza 04fb0326a5 New Mono runtime class
svn path=/trunk/mcs/; revision=8087
2002-10-09 00:32:44 +00:00
Miguel de Icaza bc78b9d350 Just for Adam
svn path=/trunk/mcs/; revision=8086
2002-10-09 00:15:42 +00:00
Miguel de Icaza 81e8961184 Flush the bits of love
svn path=/trunk/mcs/; revision=8084
2002-10-08 23:49:55 +00:00
Miguel de Icaza eb94c0679f 2002-10-08 Miguel de Icaza <[email protected]>
* expression.cs: Use StoreFromPtr instead of extracting the type
	and then trying to use Stelem.  Patch is from [email protected]

svn path=/trunk/mcs/; revision=8083
2002-10-08 23:45:46 +00:00
Miguel de Icaza 7aa8056a44 Flush test
svn path=/trunk/mcs/; revision=8082
2002-10-08 23:34:19 +00:00
Miguel de Icaza 28f7f29b6a 2002-10-08 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion): It is possible to assign
	an enumeration value to a System.Enum, but System.Enum is not a
	value type, but an class type, so we need to box.

svn path=/trunk/mcs/; revision=8081
2002-10-08 23:34:09 +00:00
Miguel de Icaza 93d626fb4b 2002-10-08 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ConvertExplicit): One codepath could return
	errors but not flag them.  Fix this.  Fixes #31853

svn path=/trunk/mcs/; revision=8080
2002-10-08 23:22:09 +00:00
Gonzalo Paniagua Javier b0cf876ecb 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: use get_machine_config_path internal call.

svn path=/trunk/mcs/; revision=8077
2002-10-08 23:13:26 +00:00
Gonzalo Paniagua Javier b39bf54752 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
* data/Makefile.am:
	* data/machine.config: install machine.config file.
	* mono/metadata/icall.c: added internal call to get the location of
	machine.config file.

svn path=/trunk/mono/; revision=8076
2002-10-08 23:13:03 +00:00
Miguel de Icaza 2a75e290b2 2002-10-08 Miguel de Icaza <[email protected]>
* parameter.cs (Resolve): Do not allow void as a parameter type.

svn path=/trunk/mcs/; revision=8075
2002-10-08 22:48:12 +00:00
Gonzalo Paniagua Javier 18be21e855 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.

	* System.Web/HttpApplication.cs: fixed type and handle factories when
	creating IHttpHandler for a request.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: made a
	couple of static methods be part of a class used in other handlers.
	* System.Web.Configuration/HttpModulesConfigurationHandler.cs: handler
	for modules.
	* System.Web.Configuration/ModuleItem.cs: added IsMatch method.
	* System.Web.Configuration/ModulesConfiguration.cs: made it similar to
	the handlers class: added Clear, Remove.

	* System.Web.Handlers/ChangeLog: New file.
	* System.Web.Handlers/TraceHandler.cs: stubbed out. This should generate
	the trace page when tracing is enabled.

	* System.Web.SessionState/SessionStateModule.cs: don't throw exception.
	Just for testing the configuration stuff until we implement this.

svn path=/trunk/mcs/; revision=8074
2002-10-08 22:03:56 +00:00
Kristian Rietveld 16e0e0bdc9 Added links to RedHat 8.0 RPMs.
svn path=/trunk/mono/; revision=8070
2002-10-08 16:47:13 +00:00
Miguel de Icaza 2f4860f2a6 Flush
svn path=/trunk/mono/; revision=8069
2002-10-08 16:37:43 +00:00
Miguel de Icaza 6424b4cc64 Update embedded api
svn path=/trunk/mono/; revision=8068
2002-10-08 16:33:47 +00:00
Miguel de Icaza f02271213d Small fix
svn path=/trunk/mono/; revision=8067
2002-10-08 16:33:23 +00:00
Nick Drochak d345b04ddc 2002-10-09 Nick Drochak <[email protected]>
* IntegerFormatter.cs: Suppress insignificant leading zeros

svn path=/trunk/mcs/; revision=8065
2002-10-08 15:34:30 +00:00
Nick Drochak dd2fdc24f3 2002-10-09 Nick Drochak <[email protected]>
* BufferTest.cs: Test for ArgumentExceptions where they should be
	thrown
	* Int32Test.cs: Enable tests for custom format strings.  We do have
	implementation for them now.

svn path=/trunk/mcs/; revision=8064
2002-10-08 15:33:43 +00:00
Miguel de Icaza a7fe62393f Flush for Kris
svn path=/trunk/mcs/; revision=8063
2002-10-08 14:55:53 +00:00
Dick Porter bb0b26f43a 2002-10-08 Dick Porter <[email protected]>
* Socket.cs:
	* NetworkStream.cs: Bounds checking fixes, and better exception
	texts.  Changes by [email protected] (Timothy J. Mills).

svn path=/trunk/mcs/; revision=8062
2002-10-08 14:05:51 +00:00
Martin Baulig 2d68045cbd 2002-10-08 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Ignore classes with a pending init for the
	moment.

svn path=/trunk/mono/; revision=8061
2002-10-08 14:00:40 +00:00
Dietmar Maurer b32a4a7cb0 bug fix for dag_mode
svn path=/trunk/mono/; revision=8059
2002-10-08 07:59:58 +00:00
Duncan Mak 1e43d2a0ef Flush
svn path=/trunk/mcs/; revision=8056
2002-10-08 06:43:11 +00:00
Miguel de Icaza 31f4b7bc81 Flush glade file
svn path=/trunk/mcs/; revision=8055
2002-10-08 06:28:42 +00:00
Gonzalo Paniagua Javier be9ba5624b windoze
svn path=/trunk/mcs/; revision=8054
2002-10-08 04:32:37 +00:00
Gonzalo Paniagua Javier 00cd44e83d 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: use handlers from configuration.
	* System.Web/HttpContext.cs: get handlers from ConfigurationSettings.

	* System.Web.Caching/Cache.cs: little fixes.

	* System.Web.Configuration/HttpHandlerTypeMapper.cs: removed.
	* System.Web.Configuration/HandlerFactoryConfiguration.cs: readded. I
	removed it by mistake.
	* System.Web.Configuration/HandlerItem.cs: only load the type if
	we gotta validate it. Implemented initial IsMatch.
	* System.Web.Configuration/HttpConfigurationContext.cs: New file.
	* System.Web.Configuration/HttpHandlersSectionHandler.cs: validate is
	optional (default true).  Use HttpHandlerTypeMapper.

	* System.Web.UI/SimpleHandlerFactory.cs: new handler for .ashx files.

svn path=/trunk/mcs/; revision=8053
2002-10-08 04:29:52 +00:00
Gonzalo Paniagua Javier c4a0d2615b 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: move the reader for the section to the first
	element.

	* ConfigurationSettings.cs: fixed hierarchical search for a handler.

svn path=/trunk/mcs/; revision=8052
2002-10-08 04:16:31 +00:00
Gonzalo Paniagua Javier 941d4611e3 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: some cleanup. Thanks to Martin Aliger.

svn path=/trunk/mcs/; revision=8051
2002-10-07 18:53:49 +00:00
Gonzalo Paniagua Javier cd0a46ebec 2002-10-07 Gonzalo Paniagua Javier <[email protected]>
* System.Data/ConstraintCollection.cs:
	* System.Data/DataColumnCollection.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/InternalDataCollectionBase.cs: made List internal to fix
	the build with csc. It must be a mcs bug. I will try to get a test case.

svn path=/trunk/mcs/; revision=8050
2002-10-07 18:08:22 +00:00
Gaurav Vaish f639f45e34 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : Dipose(bool)    - Implemented.
                          : GetDesignTimeDataSource(IEnumerable, int, bool)
                                              - Stubbed.
                          : GetDesignTimeDataSource(int, bool)
                                              - Implemented.

svn path=/trunk/mcs/; revision=8049
2002-10-07 10:38:22 +00:00
Paolo Molaro 92d73a5c91 Mon Oct 7 12:25:15 CEST 2002 Paolo Molaro <[email protected]>
* monograph.c: added a --stats command line option to gather
	statistics about the assembly code.

svn path=/trunk/mono/; revision=8048
2002-10-07 10:27:55 +00:00
Dick Porter 820a74e0de 2002-10-07 Dick Porter <[email protected]>
* timefuncs.c:
	* daemon.c: Use a more accurate time source for process start and
	end times.

svn path=/trunk/mono/; revision=8047
2002-10-07 10:21:10 +00:00
Gaurav Vaish 746d56f189 2002-10-07 Gaurav Vaish <[email protected]>
* System.Design.build              : Bug fix. Attribute is "basedir"
                                     and not "bardir".

svn path=/trunk/mcs/; revision=8046
2002-10-07 09:17:55 +00:00
Gaurav Vaish 1f3ff95a30 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListDesigner.cs : Initial implementation.

svn path=/trunk/mcs/; revision=8045
2002-10-07 09:11:21 +00:00
Gaurav Vaish 9d81f5f57e 2002-10-07 Gaurav Vaish <[email protected]>
* TableRowsCollectionEditor.cs
                          : Completed.
* TODO                    : Updated information.

svn path=/trunk/mcs/; revision=8044
2002-10-07 08:23:45 +00:00
Gaurav Vaish cd8608a45f 2002-10-07 Gaurav Vaish <[email protected]>
* BordersPageInternal.cs  : LoadComponent() - Initial implementation.
			: OnClickColorPicker(object, EventArgs),
			: InitializePage()
					- Stubbed.
			: OnBordersChanged(object, EventArgs)
					- Implemented.

svn path=/trunk/mcs/; revision=8043
2002-10-07 07:45:16 +00:00
Gaurav Vaish 20a375f4ae 2002-10-07 Gaurav Vaish <[email protected]>
* BaseDataListPageInternal.cs
                          : ctor()         - Removed call to base.
  	                                             It's by default.
     	                  : HelpKeyword    - Added abstract property.
  	                  : IsDataGridMode - Implemented.
  	                  : ShowHelp(),
  	                  : SupportsHelp(),
  	                  : SetComponent(IComponent),
  	                  : GetBaseControl(),
  	                  : GetBaseDesigner()
  	                                   - Implemented.
* BordersPageInternal.cs  : SetComponent(IComponent)
                                   - Implemented.
   	                  : HelpKeyword { get; },
  	                  : InitializeForm()
  	                                   - Stubbed.
* FormatPageInternal.cs   : HelpKeyword { get; }
                                           - Stubbed.
* GeneralPageDataListInternal.cs
                          : HelpKeyword { get; }
  	                                   - Stubbed.

svn path=/trunk/mcs/; revision=8042
2002-10-07 07:05:00 +00:00
Mark Crichton 9292dd7a2d Fix some minor trampoline nags. Now down to 15 failed tests. Delegate code
still broken, if anyone wants to help fix it.

svn path=/trunk/mono/; revision=8041
2002-10-07 03:36:50 +00:00
Rodrigo Moya 181aa014e3 2002-10-06 Luis Fernandez <[email protected]>
* System.Data/Constraint.cs (AssertConstraint): added overloaded
	method.

	* System.Data/DataColumnCollection.cs: added constraints when needed.

	* System.Data/DataRow.cs: validate UniqueConstraint's.

	* System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
	internal method to validate a given DataRow with respect to the
	DataRowCollection.

	* System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
	new overloaded method.

	* System.Data/UniqueConstraint.cs: added implementation.
	(AseertConstraint): implemented new overloaded method.

svn path=/trunk/mcs/; revision=8039
2002-10-06 19:10:33 +00:00
Rodrigo Moya f4e9ac5cf9 2002-10-06 Luis Fernandez <[email protected]>
* System.Data/Constraint.cs (AssertConstraint): added overloaded
	method.

	* System.Data/DataColumnCollection.cs: added constraints when needed.

	* System.Data/DataRow.cs: validate UniqueConstraint's.

	* System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
	internal method to validate a given DataRow with respect to the
	DataRowCollection.

	* System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
	new overloaded method.

	* System.Data/UniqueConstraint.cs: added implementation.
	(AseertConstraint): implemented new overloaded method.

svn path=/trunk/mcs/; revision=8038
2002-10-06 19:10:14 +00:00
Martin Baulig 74c4e87af4 2002-10-06 Martin Baulig <[email protected]>
* statemenc.cs (FlowBranching.SetParameterAssigned): Don't crash
	if it's a class type and not a struct.  Fixes #31815.

svn path=/trunk/mcs/; revision=8037
2002-10-06 16:57:37 +00:00
Martin Baulig c0e22c9f1d 2002-10-06 Martin Baulig <[email protected]>
* test-164.cs: Added a few more testcases here.

svn path=/trunk/mcs/; revision=8036
2002-10-06 16:37:09 +00:00
Patrik Torstensson cb312fbab0 2002-10-06 Patrik Torstensson <[email protected]>
* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06	Patrik Torstensson <[email protected]>

	* ArrayList.cs: Implemented thread-safe wrappers.
	* Queue.cs: Always return true on IsSync in the thread-safe wrapper.

svn path=/trunk/mcs/; revision=8035
2002-10-06 16:36:37 +00:00
Martin Baulig c4e20f11e6 2002-10-06 Martin Baulig <[email protected]>
* statement.cs: Reworked the flow analysis code a bit to make it
	usable for dead code elimination.

svn path=/trunk/mcs/; revision=8034
2002-10-06 16:36:01 +00:00
Gonzalo Paniagua Javier 775b22f82c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* cs-parser.jay: allow empty source files. Fixes bug #31781.

svn path=/trunk/mcs/; revision=8033
2002-10-06 15:48:29 +00:00
Gonzalo Paniagua Javier ac46f3d303 Fix for bug #31730
svn path=/trunk/mono/; revision=8032
2002-10-06 15:34:34 +00:00
Rafael Teixeira 2033eff6fa Project MonoQLE Link
svn path=/trunk/mono/; revision=8031
2002-10-06 15:06:57 +00:00
Gonzalo Paniagua Javier 597d5d0d0c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Configuration.
	* System.Web.Configuration/HandlerFactoryConfiguration.cs: removed.

	* System.Web.Configuration/HandlerItem.cs: added validation field.

	* System.Web.Configuration/HttpHandlerTypeMapper.cs: holds mappings
	between verbs and wilcards and their associated HandlerItem.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: this one
	processes system.web/httpHandlers section of machine.config file.

svn path=/trunk/mcs/; revision=8030
2002-10-06 03:46:53 +00:00
Gonzalo Paniagua Javier 9f58f3fde4 ChangeLog
svn path=/trunk/mcs/; revision=8029
2002-10-06 03:37:50 +00:00
Gonzalo Paniagua Javier fdf2ccc675 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: reimplemented. It is now able to deliver
	sections to their handlers for processing.

svn path=/trunk/mcs/; revision=8028
2002-10-06 03:37:20 +00:00
Gonzalo Paniagua Javier 42412c749c 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
* XmlDocument.cs: one more Load method implemented.
	* XmlTextReader.cs: Depth now works.

svn path=/trunk/mcs/; revision=8027
2002-10-06 03:32:38 +00:00
Miguel de Icaza b30ff30988 Update sample
svn path=/trunk/mono/; revision=8008
2002-10-05 19:50:44 +00:00
Rafael Teixeira 2adb173c86 2002-10-05 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=8006
2002-10-05 19:45:23 +00:00
Andrew Birkett 3d5524e212 2002-10-05 Andrew Birkett <[email protected]>
* RC2Test.cs: New test.  Only three cases are enabled - the other
	five work fine under mono, but fail under MS corlib, so I've
	commented them out.

	* AllTests.cs: Added RC2Test.

svn path=/trunk/mcs/; revision=8003
2002-10-05 18:33:31 +00:00
Andrew Birkett d437ac1700 2002-10-05 Andrew Birkett <[email protected]>
* corlib_linux_test.args: Added RC2Test

svn path=/trunk/mcs/; revision=8002
2002-10-05 18:32:57 +00:00
Andrew Birkett 598ec44596 2002-10-05 Andrew Birkett <[email protected]>
* RC2CryptoServiceProvider.cs: New implementation
	* RC2.cs: New implementation

svn path=/trunk/mcs/; revision=8001
2002-10-05 18:32:20 +00:00
Andrew Birkett c8f0bf13cc 2002-10-05 Andrew Birkett <[email protected]>
* unix.args: Added System.Security.Cryptography.RC2

svn path=/trunk/mcs/; revision=8000
2002-10-05 18:31:02 +00:00
Miguel de Icaza a4d57c736b Small update
svn path=/trunk/mcs/; revision=7999
2002-10-05 17:10:11 +00:00
Miguel de Icaza 5ca6d18eae Remove old apidocs
svn path=/trunk/mcs/; revision=7998
2002-10-05 17:04:13 +00:00
Miguel de Icaza 7b18fcd0ba Update AUTHORS, which is massively outdated
svn path=/trunk/mcs/; revision=7997
2002-10-05 17:02:56 +00:00
Duncan Mak e69f1dc609 2002-10-04 Duncan Mak <[email protected]>
* main.cs (FileSelectionOk): Fix filename handling.
	(OnQuitActivate): Added, so now we can properly quit from the
	Quit menuitem.

svn path=/trunk/mcs/; revision=7992
2002-10-04 21:37:05 +00:00
Miguel de Icaza 09e02b5455 Also add this
svn path=/trunk/mcs/; revision=7990
2002-10-04 20:46:39 +00:00
Miguel de Icaza f08595d0c5 Add gtk-monodoc UI
svn path=/trunk/mcs/; revision=7989
2002-10-04 20:46:28 +00:00
Miguel de Icaza e3157cfbed 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast.DoResolveType): A quick workaround
	to fix the test 165, will investigate deeper.

svn path=/trunk/mcs/; revision=7984
2002-10-04 15:39:15 +00:00
Martin Baulig 7a67f39830 2002-10-04 Martin Baulig <[email protected]>
* test-154.cs: Added testcase from bug #31546.

svn path=/trunk/mcs/; revision=7983
2002-10-04 15:21:34 +00:00
Martin Baulig 09bd31b3b9 2002-10-04 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Make
	finally blocks actually work.
	(Try.Resolve): We don't need to create a sibling for `finally' if
	there is no finally block.

svn path=/trunk/mcs/; revision=7982
2002-10-04 15:19:02 +00:00
Daniel Morgan 2f9db75fc6 2002-10-04 Daniel Morgan <[email protected]>
* SqlSharpCli.cs: modified
	  - fix compile errors due to mcs has better error checking
	  - fix exection of query with semicolon at end which resulted in an exception
	  - added support for ? postioned parameters
	  - added support for [] delimited named parameters
	  - misc. tidbits

svn path=/trunk/mcs/; revision=7981
2002-10-04 15:13:57 +00:00
Martin Baulig 76dead6320 2002-10-04 Martin Baulig <[email protected]>
* class.cs (Constructor.Define): The default accessibility for a
	non-default constructor is private, not public.

svn path=/trunk/mcs/; revision=7980
2002-10-04 14:50:17 +00:00
Diego Sevilla Ruiz 6d7b23b303 2002-10-04 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Fixed some ugly formatting.

svn path=/trunk/mono/; revision=7979
2002-10-04 09:45:45 +00:00
Miguel de Icaza b334425713 2002-10-04 Miguel de Icaza <[email protected]>
* class.cs (Constructor): Make AllowedModifiers public, add
	EXTERN.

	* cs-parser.jay: Perform the modifiers test here, as the
	constructor for the Constructor class usually receives a zero
	because of the way we create it (first we create, later we
	customize, and we were never checking the modifiers).

svn path=/trunk/mcs/; revision=7978
2002-10-04 06:30:15 +00:00
Miguel de Icaza b30ba5b788 2002-10-04 Miguel de Icaza <[email protected]>
* typemanager.cs (Typemanager.LookupTypeDirect): This new function
	is a version of LookupTypeReflection that includes the type-name
	cache.  This can be used as a fast path for functions that know
	the fully qualified name and are only calling into *.GetType() to
	obtain a composed type.

	This is also used by TypeManager.LookupType during its type
	composition.

	(LookupType): We now also track the real type name, as sometimes
	we can get a quey for the real type name from things like
	ComposedCast.  This fixes bug 31422.

	* expression.cs (ComposedCast.Resolve): Since we are obtaining a
	complete type fullname, it does not have to go through the type
	resolution system to obtain the composed version of the type (for
	obtaining arrays or pointers).

svn path=/trunk/mcs/; revision=7977
2002-10-04 06:06:11 +00:00
Miguel de Icaza ae7d67ba8c 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (Conditional.Emit): Use the EmitBoolExpression to
	generate nicer code, as requested by Paolo.

svn path=/trunk/mcs/; revision=7976
2002-10-04 04:56:37 +00:00
Miguel de Icaza 1e428ed9e7 2002-10-04 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.CheckIndices): Use the patch from
	[email protected] to validate the array initializers.

svn path=/trunk/mcs/; revision=7975
2002-10-04 04:49:26 +00:00
Miguel de Icaza 54492a69af 2002-10-03 Miguel de Icaza <[email protected]>
* class.cs (ConstructorInitializer.Emit): simplify code by using
	Invocation.EmitCall, and at the same time, fix the bugs in calling
	parent constructors that took variable arguments.

svn path=/trunk/mcs/; revision=7973
2002-10-03 22:12:17 +00:00
Miguel de Icaza bcc6a8d002 2002-10-03 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ConvertNumericExplicit,
	Expression.ImplicitNumericConversion): Remove the code that
	manually wrapped decimal (InternalTypeConstructor call is now gone
	as well).

svn path=/trunk/mcs/; revision=7971
2002-10-03 18:36:49 +00:00
Miguel de Icaza 2c1784d8b2 Removed unused variables
svn path=/trunk/mcs/; revision=7970
2002-10-03 17:42:07 +00:00
Miguel de Icaza 5332739807 2002-10-03 Miguel de Icaza <[email protected]>
* expression.cs (Cast.TryReduce): Also handle decimal types when
	trying to perform a constant fold on the type.

	* typemanager.cs (IsUnmanagedtype): Partially implemented.

svn path=/trunk/mcs/; revision=7969
2002-10-03 17:40:04 +00:00
Dick Porter b33a40df69 2002-10-03 Dick Porter <[email protected]>
* TcpClient.cs: NoDelay is a TCP option, not Socket

svn path=/trunk/mcs/; revision=7968
2002-10-03 16:15:01 +00:00
Dick Porter b5a59a3011 2002-10-03 Dick Porter <[email protected]>
* Win32Exception.cs: Added ETIMEDOUT

svn path=/trunk/mcs/; revision=7967
2002-10-03 15:48:43 +00:00
Mark Crichton 91cbdf845f Changes to tramp.c. Pass more tests.
svn path=/trunk/mono/; revision=7966
2002-10-03 15:30:05 +00:00
Gonzalo Paniagua Javier d383884ffa 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: throw an exception if trying to open a directory.
	Thanks to Martin Aliger.

svn path=/trunk/mcs/; revision=7965
2002-10-03 14:33:31 +00:00
Dick Porter 3452e61122 2002-10-03 Dick Porter <[email protected]>
* acconfig.h:
        * configure.in:  Freebsd pthread_t is a pointer

2002-10-03  Dick Porter  <[email protected]>

        * daemon.c:
        * handles.c:
        * threads.c:  Fixes for freebsd.  Make sure that mutex and condition
        creation and deletion happen in the process that owns them, when
        POSIX shared thread objects aren't supported.  This breaks on
        freebsd, as pthread_t is a pointer to data.

2002-10-03  Dick Porter  <[email protected]>

        * threads.c: Freebsd pthread_t is a pointer

svn path=/trunk/mono/; revision=7964
2002-10-03 14:01:29 +00:00
Dietmar Maurer 70de7f6485 2002-10-03 Dietmar Maurer <[email protected]>
* monoburg.c: added new %termprefix mode

svn path=/trunk/mono/; revision=7963
2002-10-03 10:35:30 +00:00
Rodrigo Moya ac43311b4e 2002-10-03 ville <[email protected]>
* System.Data.SqlClient/AllTests.cs:
	* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

svn path=/trunk/mcs/; revision=7962
2002-10-03 09:55:44 +00:00
Rodrigo Moya f3012127ee 2002-10-03 ville <[email protected]>
* System.Data.SqlClient/AllTests.cs:
	* System.Data.SqlClient/SqlByteTest.cs: added SqlByte test suite.

svn path=/trunk/mcs/; revision=7961
2002-10-03 09:46:00 +00:00
Dick Porter eda5cdcdd6 2002-10-03 Dick Porter <[email protected]>
* socket-io.c: Implemented GetHostName_internal

svn path=/trunk/mono/; revision=7960
2002-10-03 09:13:56 +00:00
Dick Porter 2d6dbf76a1 2002-10-03 Dick Porter <[email protected]>
* Dns.cs: Fixed GetHostName()

svn path=/trunk/mcs/; revision=7959
2002-10-03 09:13:34 +00:00
Dietmar Maurer ca12ccb9dd 2002-10-03 Dietmar Maurer <[email protected]>
* jit.c (ves_array_element_address): added check for out of range index
	(mono_analyze_stack): added fix for bug #31654

svn path=/trunk/mono/; revision=7958
2002-10-03 07:41:26 +00:00
Miguel de Icaza 2c21ef19c9 2002-10-03 Miguel de Icaza <[email protected]>
* parameter.cs: Removed ResolveAndDefine, as it was not needed, as
	that only turned off an error report, and did nothing else.

svn path=/trunk/mcs/; revision=7957
2002-10-03 05:45:23 +00:00
Miguel de Icaza 0e99d2af1f Also rename the constructor
svn path=/trunk/mcs/; revision=7956
2002-10-03 05:41:03 +00:00
Miguel de Icaza 3399450cf8 Correct file
svn path=/trunk/mcs/; revision=7955
2002-10-03 05:39:09 +00:00
Miguel de Icaza cdaeb53a26 rename file
svn path=/trunk/mcs/; revision=7954
2002-10-03 05:38:47 +00:00
Gonzalo Paniagua Javier 3dafc5d7a9 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files in System.Configuration.

	* System.Configuration/ConfigHelper.cs: New file. Contains some
	helper functions for getting key-value collections from the config file.

	* System.Configuration/ConfigXmlDocument.cs: wrapper around xml
	elements to provide line number and file name info.
	* System.Configuration/IConfigXmlNode.cs: used in ConfigXmlDocument
	and ConfigurationException.

	* System.Configuration/ConfigurationException.cs: get file name and line
	number from the wrapped XmlNode. Display this info in Message.

	* System.Configuration/NameValueFileSectionHandler.cs: new handler.
	* System.Configuration/DictionarySectionHandler.cs:
	* System.Configuration/NameValueSectionHandler.cs: modified to use the
	helper methods in ConfigHelper.

svn path=/trunk/mcs/; revision=7953
2002-10-03 04:37:54 +00:00
Gonzalo Paniagua Javier 3235c43da9 Added a few \n to the --help output
svn path=/trunk/mcs/; revision=7952
2002-10-03 02:12:28 +00:00
Nick Zigarovich 0e222dc320 Added Makefiles for monodoc and updated the README.
svn path=/trunk/mcs/; revision=7947
2002-10-02 17:58:59 +00:00
Dick Porter 728b4330d0 2002-10-02 Dick Porter <[email protected]>
* shared.c: Use mmap() instead of sysv shm for the shared data.

	* wapi-private.h (_WAPI_HANDLE_VERSION): Reset back to 0, for the
	new system

	* daemon-private.h:
	* daemon.c: mmap()ed regions survive fork, so just pass the
	pointer to _wapi_daemon_main instead of mapping it again.

svn path=/trunk/mono/; revision=7946
2002-10-02 17:00:17 +00:00
Miguel de Icaza 2a36658d5d Update faq
svn path=/trunk/mono/; revision=7944
2002-10-02 16:15:45 +00:00
Miguel de Icaza 258dfff244 2002-10-02 Miguel de Icaza <[email protected]>
* driver.cs: Handle and ignore /fullpaths

svn path=/trunk/mcs/; revision=7943
2002-10-02 16:13:41 +00:00
Miguel de Icaza 692505b29a oops, revert broken patch
svn path=/trunk/mono/; revision=7942
2002-10-02 16:08:20 +00:00
Gonzalo Paniagua Javier eb1afd1400 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: fixes bug #28046.

svn path=/trunk/mcs/; revision=7941
2002-10-02 14:55:11 +00:00
Gonzalo Paniagua Javier f0e585dcb5 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c:
	(mono_config_parse_file): don't leak the text.

svn path=/trunk/mono/; revision=7940
2002-10-02 12:37:53 +00:00
Martin Baulig 332f7885fd 2002-10-02 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for methods.

svn path=/trunk/mono/; revision=7936
2002-10-02 11:39:34 +00:00
Mads Pultz e7dd68d618 Fix for GetHostName. Now relies on native gethostname.
svn path=/trunk/mcs/; revision=7935
2002-10-02 11:14:38 +00:00
Gonzalo Paniagua Javier 714798c14d 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* HttpMethodNotAllowedHandler.cs:
	* HttpRuntime.cs:
	* StaticFileHandler.cs: Modified file.

	* HttpUtility.cs: implemented all missing methods.

svn path=/trunk/mcs/; revision=7934
2002-10-02 04:07:09 +00:00
Gonzalo Paniagua Javier c2b37008ec 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.Configuration/AppSettingsReader.cs: New file.
	* System.Configuration/IConfigurationSystem.cs: New file.

	* System.Configuration/IgnoreSectionHandler.cs:
	* System.Configuration/NameValueSectionHandler.cs:
	* System.Configuration/SingleTagSectionHandler.cs: little fixes.

svn path=/trunk/mcs/; revision=7933
2002-10-02 04:04:58 +00:00
Miguel de Icaza 76d7aa27e3 Flush
svn path=/trunk/mono/; revision=7932
2002-10-02 01:10:27 +00:00
Miguel de Icaza 18cdb430a9 Flush changes
svn path=/trunk/mono/; revision=7931
2002-10-02 00:44:15 +00:00
Duncan Mak 336e8da2a6 More build fixes
svn path=/trunk/mono/; revision=7929
2002-10-02 00:11:58 +00:00
Rodrigo Moya 5d1f26a554 2002-10-01 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbConnection.cs (Open): commented code from
	last commit, which wasn't supposed to be in CVS yet.

svn path=/trunk/mcs/; revision=7924
2002-10-01 23:14:53 +00:00
Duncan Mak 6afb083663 Flush
svn path=/trunk/mono/; revision=7923
2002-10-01 22:24:59 +00:00
nobody 4e4824afab This commit was manufactured by cvs2svn to create branch 'SAVANNAH_CVS'.
svn path=/branches/SAVANNAH_CVS/mcs/; revision=6844
2002-08-21 10:08:33 +00:00
Martin Baulig 7f0542b133 Importing NUnit 1.11.
svn path=/branches/NUNIT/mcs/; revision=2713
2002-02-27 09:38:21 +00:00
nobody 9f187b5dd0 This commit was manufactured by cvs2svn to create branch 'NUNIT'.
svn path=/branches/NUNIT/mcs/; revision=2712
2002-02-27 09:38:18 +00:00
4144 changed files with 309328 additions and 280189 deletions

No files matched your search

+306
View File
@@ -1,3 +1,308 @@
2003-02-17 Daniel Morgan <[email protected]>
* doc/provider-factory: add new web page
about Mono.Data's ProviderFactory
* doc/web/commands
* doc/web/makefile: add provider-factory web page to build
* doc/ado-net
* doc/ibmdb2
* doc/postgresql
* doc/sqlclient
* doc/tdsclient
* doc/sybase
* doc/mysql
* doc/firebird
* doc/oracle
* doc/oledb
* doc/odbc
* doc/sqlite: updated web pages
2003-02-16 Martin Baulig <[email protected]>
* doc/jit-debug-sample
* doc/jit-debug-sample2: Removed.
* doc/jit-debug: Updated.
2003-02-13 Daniel Morgan <[email protected]>
* doc/screenshots
* doc/ado-net
* doc/oracle
* doc/gtk-sharp: update web pages
2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added sample globalization section.
2003-02-12 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added UrlAuthorizationModule and
AuthenticationConfigHandler.
2003-02-11 Tim Coleman <[email protected]>
* data/config.in: Add mapping for Oracle call interface
(OCI) native libraries.
2003-02-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: added check for sys/un.h.
2003-01-29 Daniel Morgan <[email protected]>
* doc/postgresql
* doc/mysql
* doc/ado-net: updates to web pages
* man/sqlsharp.1: update to man page
2003-01-28 Gonzalo Paniagua Javier <[email protected]>
* configure.in: added WIN32_THREADS flag when building under windows.
It seems that the header files of the gc do not always define it when
GC_WIN32_THREADS is defined.
2003-01-26 Daniel Morgan <[email protected]>
* doc/index
* doc/ado-net
* doc/firebird
* doc/ibmdb2
* doc/mysql
* doc/odbc
* doc/oledb
* doc/oracle
* doc/postgresql
* doc/sqlclient
* doc/sqlite
* doc/sybase
* doc/tdsclient: corrections
2003-01-26 Duncan Mak <[email protected]>
* doc/jit-debug: Update the links. Thanks for Andy Oliver for the report.
2003-01-22 Martin Baulig <[email protected]>
* configure.in: Set version number to 0.19.1.
Heads up: I'm going to commit some changes to the debugger
which'll require you to use this new runtime, so if you update the
debugger from CVS, you also need this new runtime.
2003-01-20 Duncan Mak <[email protected]>
* configure.in: Bump the release number to 0.19.
2003-01-19 Daniel Morgan <[email protected]>
* 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
* man/sqlsharp.1: added providers Npgsql and MySQLNet
2003-01-17 Duncan Mak <[email protected]>
* runtime/Makefile.am: Add the new Mono.Data.DB2Client.dll.
2003-01-16 Martin Baulig <[email protected]>
* configure.in (GTHREAD_LIBS, GTHREAD_CFLAGS): Removed the gthread
check again, we're now using the mono/io-layer for this.
Wed Jan 15 16:20:54 CET 2003 Paolo Molaro <[email protected]>
* configure.in: allow MacOSX (from various people).
2003-01-14 Martin Baulig <[email protected]>
* configure.in (GTHREAD_LIBS, GTHREAD_CFLAGS): Added check for gthread.
2002-12-27 Jeroen Janssen <[email protected]>
* fixed url for System.Windows.Forms in the class status
2002-12-18 Gonzalo Paniagua Javier <[email protected]>
* configure.in: moved struct tm field tm_gmtoff check before the check
for timezone global variable. This makes Timezone work for me (debian
sid, linux, x86, which has both the field and the global variables).
2002-12-10 Daniel Morgan <[email protected]>
* doc/oracle: added file which is
a new web page oracle.html
* doc/ado-net: clean up and add link
to oracle.html
* doc/web/commands
* doc/web/makefile: added oracle.html
2002-12-10 Daniel Morgan <[email protected]>
* man/Makefile.am: changed sqlsharpcli.1 to sqlsharp.1
* man/sqlsharpcli.1: renamed to sqlsharp.1
2002-12-09 Tim Haynes <[email protected]>
* mono/jit/jit.c
* mono/metadata/icall.c: added mono_install_get_config_dir() to
utilize the MONO_CFG_DIR environment variable for specifying
different machine.configs.
2002-12-06 Duncan Mak <[email protected]>
* data/Makefile.am (EXTRA_DIST): Add machine.config
(DISTCLEANFILES): Add config.
2002-11-30 Daniel Morgan <[email protected]>
* man/sqlsharpcli.1: added file - a man page
for SQL# CLI
* man/Makefile.am: added sqlsharpcli.1 to man_MANS
2002-11-20 Daniel Morgan <[email protected]>
* doc/firebird: updated web page
2002-11-19 Mike Kestner <[email protected]>
* data/Config.in : added the gtk# dll mapping entries
2002-11-19 Daniel Morgan <[email protected]>
* doc/firebird: updated web page based on input
from the firebird .net data provider author
Mon Nov 18 16:40:34 CET 2002 Paolo Molaro <[email protected]>
* configure.in, mono/os/gc_wrapper.h: check that the gc headers have
been installed.
2002-11-12 Daniel Morgan <[email protected]>
* doc/oledb
* doc/odbc
* doc/mysql
* doc/sqlite
* doc/sqlclient
* doc/tdsclient
* doc/sybase
* doc/firebird: added web pages
for each specific data provider
* doc/ado-net
* doc/postgresql: updated web page
with current status
* doc/web/commands
* doc/web/makefile: updated to include
new web pages
2002-11-06 Gonzalo Paniagua Javier <[email protected]>
* autogen.sh: make it work when MONO_PATH is set and it has more than
one directory or ends in ":". Also check that the directory added to
ACLOCAL_FLAGS and PATH exist (aclocal fails if they don't).
2002-10-22 Miguel de Icaza <[email protected]>
* configure.in: Also allow the miss-spelled bohem.
2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net
* doc/postgresql
* doc/tds-providers: cleaned up the web pages
* doc/web/commands: postgresql.html page was mistyped
2002-10-18 Daniel Morgan <[email protected]>
* doc/ado-net: updated status of
the ADO.NET functionality and providers
and added link to tds-providers.html
* doc/tds-providers: added file to
describe the design and status of
the SqlClient, SybaseClient, and TdsClient
ADO.NET providers.
* doc/web/makefile
* doc/web/command: added new web page
tds-providers.html to build of www.go-mono.com web site
2002-10-17 Daniel Morgan <[email protected]>
* doc/web/makefile
* doc/web/commands: web page
postgresql needed to be added
2002-10-13 Mark Crichton <[email protected]>
* doc/index: Even more spelling errors fixed.
2002-10-13 Daniel Morgan <[email protected]>
* doc/adonet: updated status of all providers, added links,
and added information
about the Mono.Data.SqliteClient provider that
Vladimir Vukicevic contributed. Added Brian Ritchie's
and Vladimir Vukicevic's email addresses as
people to contact about ADO.NET in Mono.
Added information about SQL#, configuration tools,
and an ADO.NET Multiplexor, etc...
2002-10-10 Daniel Morgan <[email protected]>
* doc/index: corrected some mistypes
* doc/adonet: updated the status and plans of all the ADO.NET providers
and moved PostgreSQL specific stuff to doc/postgresql
* doc/postgresql: added new file to detail
the status of the PostgreSQL ADO.NET provider
and provide test notes for setting it up
2002-10-09 Daniel Morgan <[email protected]>
* data/config.in: add entry for MySQL native shared libraries
which are different on Windows and Linux
2002-10-04 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Fixed some ugly formatting.
2002-10-03 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Freebsd pthread_t is a pointer
2002-10-01 Duncan Mak <[email protected]>
* mono/os/Makefile.am: Add gc_wrapper.h.
@@ -634,3 +939,4 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
* NEWS:
+693
View File
@@ -1,3 +1,696 @@
Hello everyone!
The Mono Team introduces the best Mono release so far we have
done. Thanks to everyone who contributed fixes, code, ideas, and bug
reports.
Mono 0.20 has been released, it is available at the usual location:
http://www.go-mono.com/download.html
This is a truly heroic release of Mono. Major architectural
chunks that were missing, or were miss-implemented have been fixed in
this release, and we are very proud of it. Please see the list of
features, because there is no short way of introducing just how good
this release is. A big thanks goes to Piers for setting up a
Tinderbox that monitors problems with the Mono CVS repository.
We released packages for SuSE 8.0, Mandrake 8.2, and various
Red Hat releases. It is also available from Red Carpet on the Mono
channel.
Source code for Mono, MCS, the Mono Debugger, XSP is available as
well from that web page. The sources are:
MCS package (Class Libraries, C# and VB.NET compiler and managed tools):
http://www.go-mono.com/archive/mcs-0.20.tar.gz
Mono package (Runtime engine, JIT compiler):
http://www.go-mono.com/archive/mono-0.20.tar.gz
XSP package (XSP test web server for ASP.NET webforms):
http://www.go-mono.com/archive/xsp-0.3.tar.gz
This release is brought to you by: Alvaro del Castillo, Alan Tam,
Alp Toker, Alejandro Sánchez, Alexandre Pigolkin, Atsushi Enomoto,
Brian Ritchie, Christopher Bockner, Daniel Lopez, Daniel Morgan,
Dennis Hayes, Dick Porter, Dietmar Maurer, Duncan Mak, Gaurav Vaish,
Gonzalo Paniagua, Jackson Harper, Jaime Anguiano, Jeff Stedfast,
Johannes Roith, John Sohn, Jonathan Pryor, "Lee Mallabone, "Lluis
Sanchez, "Marco Ridoni, Mark Crichton, Martin Baulig, Martin Willemoes
Hansen, Miguel de Icaza, Mike Kestner, Nick Drochak, Paolo Molaro,
Patrik Torstensson, Pedro Martinez, Per Arneng, Peter Williams, Petr
Danecek, Piers Haken, Radek Doulik, Rafael Teixeira, Rodrigo Moya,
Sebastien Pouliot, Tim Coleman, Ville Palo, and Zoltan Varga.
They commited 1810 changes to CVS patches in the past 33 days.
* New in this release
* Zoltan and IKVM
Zoltan's patches to run Jeroen's IKVM (the Java VM that
translates JVM bytecodes into .NET bytecodes) are in.
* Remoting.
The remoting team's patches that were held off on the previous
release are here. Lluis and Patrik have done a fantastic job
in getting remoting to work. Many low-level runtime engine
changes, and plenty of work on the class-library stuff.
Lluis has posted a couple of sample applications to the
mailing list, you can try those out.
The new release includes a working BinaryFormatter and
BinaryFormatterSink. It means that together with TcpChannel
it is possible to make remote calls with any type of
parameters and return values, including value types,
MarshalByRefObject types (that are properly
marshalled/unmarshalled), delegates, enums, etc.
RemotingConfiguration is partially implemented. It cannot read
from config files, but manual configuration using the api is
fully working.
Implemented full support for client activated types and for
well known objects (both singleton and single call).
Lease manager fully working (it manages the lifetime of server
objects).
Implemented interception of the new operator, so it is
possible to create a remote object using "new", if the type is
properly registered in RemotingConfiguration.
In Lluis' words: `Basically, 0.20 will have almost all needed
for a distributed application with Remoting'
* New threading semantics, IO-layer
Dick Porter in a couple of weeks has heroically redone much of
the threading support to match the .NET behavior (details are
on the .NET threading book as posted on the Mono site).
He also did a lot of bug fixes in the IO/threading space. The
threading implementation now contains a new and faster Monitor
implementation, as well as a correct Pulse()/Wait()
implementation.
GC thread finalization has been re-enabled. This means that
finalizers will be ran on a separate thread, as done in the
Microsoft.NET Framework. This might expose some bugs on
existing finalizer code.
* Moved to NUnit2
Nick and Gonzalo helped us move to the new NUnit2 platform for
all of our tests. A big applause goes to them.
* Cross Appdomain invocations work now.
ASP.NET and NUnit2 both used cross appdomain invocations, we
have fixed a number of problems, and they are now functional.
The AppDomain fixes and the Remoting fixes have allowed us to
remove a number of hacks in the ASP.NET implementation that
were previously there.
Implemented CrossAppDomainChannel, for calls between domains.
* C# Compiler and Debugging.
When generating debugging information in the compiler (with
-debug, -g or -debug+) the compiler will embed the debugging
information into the resulting executable instead of
generating a separate file. Very nice.
Generating debugging information has also improved vastly
performance-wise, and now it is possible to always use
debugging builds for software development.
A number of bugs were fixed on the compiler as well and
by using the Mono profiler we have reduced the memory
consumption and accelerated the compiler.
Thanks to Jackson, Martin, Paolo and for helping here.
* VB.NET Compiler.
Plenty of new features are included in the compiler in our
path to conformance. See <FIXME:get-url-for-posting> for
details on the status of the compiler, and the pieces missing.
* ILasm and Mono.PEToolkit.
Work on the IL assembler has resumed, but it is not yet ready
for production use. The Mono IL Assembler uses the
Mono.PEToolkit library done by Sergey and Jackson to
manipulate CIL image files.
* Cryptographic work.
Sebastien has provided a cert2spc and secutil tools for
certificate management. This is the first release that ships
an assembly for System.Security
Also a new internal assembly used only on Windows allows Mono
users to use the unmanaged crypto providers.
* System.XML
Atsushi has continued to improve the work on our XML
implementation: fixing bugs and more closely matching the
Microsoft implementation.
* More PowerPC/Alpha support.
Taylor Christopher has contributed more code generation macros
for PPC and Laramie Leavitt for Alpha.
* System.XML.Xsl
Gonzalo continued the implementation of our XSLT transformation
API (custom .NET functions are still missing though). It no
longer uses temporary files to apply transformations. Thanks
to an idea from Zdravko Tashev. Xslt Web controls work as
part of this fix.
* ASP.NET
Gonzalo has cleaned up a lot the code base, and now our test
server supports a --root and --virtual command line options
for better control.
Also, now we generate a much nicer error page on errors. We
are looking for volunteers to improve the default look of this
page.
Authentication is now supported
* Mobile Controls.
Gaurav Vaish continues on his quest to complete the
implementation of the Mobile controls. These controls are
required to run a stock IBuySpy application.
* Class Libraries:
New Mono.Posix class library that contains classes for working
on a Posix systems. Things like Unix domain sockets are here.
* System.Windows.Forms
Alexandre Pigolkine continues to contribute more code to our
Windows.Forms implementation. Currently it only runs on
Windows (or in Linux without GC enabled, due to the
pthread/Wine threading library mismatch. This is being
actively addressed as part of the Wine work due to the
movement to the new thread implementation available in RH 8.1).
* Database providers
Christopher Bockner has updated his DB2 database provider (now
with prepared statement functionality) and Tim Coleman has
continued work on the Oracle database provider (welcome back
Tim!)
* Database code.
Dan Morgan continues to develop core components in System.Data
(and now we welcome Alan Tam to the System.Data core hackers)
The SQL# tool now supports MySQLNet, Npgsql, DB2Client, and
Oracle clients.
* Runtime
mono --profile now performs memory allocation profiling too.
* Runtime fixes.
We now support multi-module with external file reference
assemblies.
The above in English means that we can now run Eiffel.NET code
in Mono.
* Monograph:
More statistics supported now.
* System.Web.Mail
Per has contributed the code for this namespace.
* Bugs
Plenty of bugs were closed.
-------------------------------------------------------------------------
Hello everyone!
We have made a new release of Mono available. Despite the fact
that we just did Mono 0.18, this release is packed with new features.
* Availability.
Mono 0.19 is available in package format from:
http://www.go-mono.com/download.html
We released packages for SuSE 8.0, Mandrake 8.2, Debian and various
Red Hat releases. It is also available from Red Carpet on the Mono
channel.
Source code for Mono, MCS, the Mono Debugger, XSP is available as
well from that web page.
* New in this release
* Remoting news:
Lluis has implemented and documented the Binary formatter
Woohoo! He has done a lot of work as well to support
remoting.
Patrik has also been working heavily on fixing a
number of remoting related bugs and missing features.
Ajay also implemented 1-d array serialization in System.Xml
* New database provider: IBM DB2
Christopher Bockner has contributed a DB2 data
provider for System.Data. We have a very complete
range of data providers.
* System.Web.Mobile
Gaurav has started work on this assembly, this will
allow us to run the unmodified reference ASP.NET
applications that were designed to support Mobile
browsing.
* System.Data and System.XML:
More implementation work on XmlDataDocument from Ville
and plenty of fixes from Atsushi.
* MacOS patches:
Paolo integrated John Duncan's and Benjamin Reed
patches to make Mono run on MacOS X out of the box.
* IsolatedStorage
The initial implementation of it was done by Jonathan
Pryor and included in this release.
* Compilers:
More work on the Mono Visual Basic compiler (it is now
included in the packages).
Plenty of bug fixes from Jackson, Miguel to the C#
compiler.
Patches from Francesco and Daniel to the VB.NET
support runtime.
* Debugger support
Plenty of updates to run the new Mono Debugger from Martin.
* Main missing bits:
Some of everyone's favorite patches or code chunks have not yet
been integrated, hopefully Mono 0.20 will have them:
* Zoltan's patch to run IKVM is not yet on this release
* Some parts of Patrik's remoting code did not make it to the
release either.
* Reggie's MySQL native provider is also missing.
Enjoy!
Miguel.
-------------------------------------------------------------------------
Hello everyone!
We have made a new release of Mono available. Despite the fact
that we just did Mono 0.18, this release is packed with new features.
* Availability.
Mono 0.19 is available in package format from:
http://www.go-mono.com/download.html
We released packages for SuSE 8.0, Mandrake 8.2, Debian and various
Red Hat releases. It is also available from Red Carpet on the Mono
channel.
Source code for Mono, MCS, the Mono Debugger, XSP is available as
well from that web page.
* New in this release
* Remoting news:
Lluis has implemented and documented the Binary formatter
Woohoo! He has done a lot of work as well to support
remoting.
Patrik has also been working heavily on fixing a
number of remoting related bugs and missing features.
Ajay also implemented 1-d array serialization in System.Xml
* New database provider: IBM DB2
Christopher Bockner has contributed a DB2 data
provider for System.Data. We have a very complete
range of data providers.
* System.Web.Mobile
Gaurav has started work on this assembly, this will
allow us to run the unmodified reference ASP.NET
applications that were designed to support Mobile
browsing.
* System.Data and System.XML:
More implementation work on XmlDataDocument from Ville
and plenty of fixes from Atsushi.
* MacOS patches:
Paolo integrated John Duncan's and Benjamin Reed
patches to make Mono run on MacOS X out of the box.
* IsolatedStorage
The initial implementation of it was done by Jonathan
Pryor and included in this release.
* Compilers:
More work on the Mono Visual Basic compiler (it is now
included in the packages).
Plenty of bug fixes from Jackson, Miguel to the C#
compiler.
Patches from Francesco and Daniel to the VB.NET
support runtime.
* Debugger support
Plenty of updates to run the new Mono Debugger from Martin.
* Main missing bits:
Some of everyone's favorite patches or code chunks have not yet
been integrated, hopefully Mono 0.20 will have them:
* Zoltan's patch to run IKVM is not yet on this release
* Some parts of Patrik's remoting code did not make it to the
release either.
* Reggie's MySQL native provider is also missing.
Enjoy!
Miguel.
------------------------------------------------------------------------------
Happy new year!
The Mono team is proud to release Mono 0.18, with plenty of bug
fixes and improvements. If you are a happy 0.17 user, this
release is a happiness extension release. Many bugs in the
runtime, class libraries and C# compiler have been fixed.
Also, our special envoy in Japan has reported that there is
some naming confussion about the naming of Mono, as can be
seen in the following documentary material:
Atsushi Enomoto shows the source of confussion:
http://primates.ximian.com/~duncan/gallery/Duncan-in-Tokyo/DSCN0702
Nick and Duncan echo it:
http://primates.ximian.com/~duncan/gallery/Duncan-in-Tokyo/DSCN0703
* Availability
Mono 0.18 packages and source code is available for download from:
http://www.go-mono.com/download.html
Those using Red Carpet on Linux can install Mono 0.18 from
the Mono channel. The packages have already been pushed for
you.
At release time we have packages for Red Hat 8.0, 7.3,
7.2 and 7.1 and Mandrake 8.2.
* Contributors to this release
This release is brought to you by:
Alejandro Sanchez, Alp Toker, Atsushi Enomoto, Cesar Octavio
Lopez Netaren, Daniel Lopez (mod_mono), Daniel Morgan, Dennis
Hayes, Dick Porter, Dietmar Maurer, Duncan Mak, Eduardo
Garcia, Gaurav Vaish, Gonzalo Paniagua, Jackson Harper, Jaime
Anguiano, Jeroen Janssen, Johannes Roith, Jonathan Pryor, Juli
Mallett, Lluis Sanchez, Marco Ridoni, Martin Baulig, Miguel de
Icaza, Nick Drochak, Paolo Molaro, Patrik Torstensson, Piers
Haken, Rachel Hestilow, Rafael Teixeira, Ravi Pratap,
Sebastian Pouliot, Tim Coleman, Tim Hayes, Ville Palo, Zoltan
Varga.
* New in this release
VB.NET compiler:
Many improvements to the Mono VB.NET compiler.
ASP.NET:
Plenty of bug fixes in ASP.NET. Larger applications
can now be run with it. The authentication system has
been deployed, most changes are from Gonzalo.
We have a modified IBuySpy running (without Xslt)
If you want to run ASP.NET you can run it with either
our XSP proof-of-concept server, or with Daniel's
Apache module that can be fetched from CVS (module
name: mod_apache)
Type Reflector:
A Console, Gtk# and Windows.Forms tool to browse
compiled assemblies and examine the types on it, from
Jonathan Pryor.
Moving to NUnit 2.0
Nick continues the work on moving our test suite to NUnit 2.0
Mobile.Controls:
Gaurav has started work on the Mobile controls, which
are required to run some of the reference applications
in full-mode like IBuySpy.
Remoting:
The remoting infrastructure has got a big boost from
Lluis in this release.
System.Data/XML
Ville has been working on improving our System.Data
classes in the XML assembly.
Crypto:
Plenty of new crypto from Sebastien as well. A new
web page in our site can be used to track this.
http://www.go-mono.com/crypto.html
----------------------------------------------------------------------
Hello!
Version 0.17 of Mono has been released.
There are plenty of new features, bug fixes, new classes,
performance improvements, optimizations and much more
available in this release.
* Stats
2605 cvs commits to the Mono repository since October 1st, an
average of 37 commits per day including weekends.
212 commits to the Mono module.
1438 commits to the MCS module.
* Mono Improvements:
Work has begun to make the runtime run a finalizer thread and
invoke all the finalizers from this thread. This is the same
behavior as Java and the Microsoft runtime, but it is disabled
on this build.
Integrated the s390 work from Neale Ferguson.
Beginning of the work for pre-compiling code (Ahead of time
compilation) for Mono (based on the early work of Zoltan).
New option `--noboundscheck' for benchmark purposes, it
disables array bound checks.
Uses mmap instead of SysV shared memory for the Windows API
emulation layer.
Plenty of bug fixes, improvements and integration with the
upper layer class libraries.
New exception handling code uses the GCC native support for
stack-walking if available and gives big performance boost
(15% on mcs bootstrap).
A lot of the work in the new release of Mono is required for
the Mono Debugger (which will be released separately). The
Mono debugger is interesting, because it can debug both
managed and unmanaged applications, but it only supports the
JITer for debugging.
Dick, Dietmar, Gonzalo, Martin and Paolo were in charge of
most of these changes.
* Compiler improvements:
Many bug fixes as usual, better C# compliancy.
Performance improvements. The new release of the Mono C#
compiler is 37% faster than the previous version (self-compile
is down to 8 seconds). On my P4 1.8Ghz machine, the Mono C#
compiler compiles (342,000 lines per minute).
Thanks to go Ravi and Martin for helping out with the bug
fixing hunt.
* Cryptography and Security classes
Sebastien Pouliot and Andrew Birkett were extremely busy
during the past two months working on the cryptography
classes, many of the crypto providers are now working
Jackson on the other hand helped us with the security
classes, he said about those:
`Writing security classes is the most exciting thing I have
ever done, I can not wait to write more of them'.
* ASP.NET:
We have now moved the code from the XSP server (which was our
test bed for ASP.NET) into the right classes inside
System.Web, and now any web server that was built by using the
System.Web hosting interfaces can be used with Mono.
The sample XSP server still exists, but it is now just a
simple implementation of the WorkerRequest and ApplicationHost
classes and can be used to test drive ASP.NET. A big thanks
goes to Gonzalo who worked on this night and day (mostly
night).
Gaurav keeps helping us with the Web.Design classes, and
improving the existing web controls.
* ADO.NET:
New providers are available in this release. The relentless
System.Data team (Brian, Dan, Rodrigo, Tim and Ville) are
hacking non-stop on the databse code. Improving existing
providers, and new providers.
The new providers on this release:
* Oracle
* MS SQL
* ODBC
* Sybase
* Sqlite (for embedded use).
Many regression tests have been added as well (Ville has been
doing a great job here).
Brian also created a DB provider multiplexor (The ProviderFactory)
Stuart Caborn contributed Writing XML from a DataSet.
Luis Fernandez contributed constraint handling code.
Also there is new a Gtk# GUI tool from Dan that can be used to
try out various providers.
* System.XML:
Atsushi has taken the lead in fixing and plugging the missing
parts of the System.XML namespace, many fixes, many
improvements.
* CodeDom and the C# provider.
Jackson Harper has been helping us with the various interface
classes from the CodeDOM to the C# compiler, in this release
a new assembly joins us: Cscompmgd. It is a simple assembly,
and hence Microsoft decided not to waste an entire "System"
"dot" on it.
* Testing
Nick Drochak has integrated the new NUnit 2.0 system.
* Monograph:
Monograph now has a --stats option to get statistics on
assembly code.
CVS Contributors to this release:
Alejandro Sanchez, Alp Toker, Andrew Birkett, Atsushi Enomoto,
Brian Ritchie, Cesar Octavio Lopez Nataren, Chris Toshok,
Daniel Morgan, Daniel Stodden, Dennis Hayes, Dick Porter,
Diego Sevilla, Dietmar Maurer, Duncan Mak, Eduardo Garcia,
Ettore Perazzoli, Gaurav Vaish, Gonzalo Paniagua, Jackson
Harper, Jaime Anguiano, Johannes Roith, John Sohn, Jonathan
Pryor, Kristian Rietveld, Mads Pultz, Mark Crichton, Martin
Baulig, Martin Willemoes Hansen, Miguel de Icaza, Mike
Kestner, Nick Drochak, Nick Zigarovich, Paolo Molaro, Patrik
Torstensson, Phillip Pearson, Piers Haken, Rachel Hestilow,
Radek Doulik, Rafael Teixeira, Ravi Pratap, Rodrigo Moya,
Sebastien Pouliot, Tim Coleman, Tim Haynes, Ville Palo,
Vladimir Vukicevic, and Zoltan Varga.
(Am sorry, I could not track everyone from the ChangeLog
messages, I apologize in advance for the missing
contributors).
------------------------------------------------------------------------
Hello!
Version 0.16 of Mono has been released! This is mostly a bug
+1
View File
@@ -18,3 +18,4 @@
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
+11 -2
View File
@@ -8,8 +8,17 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
if [ -n "$MONO_PATH" ]; then
ACLOCAL_FLAGS="-I $MONO_PATH/share/aclocal $ACLOCAL_FLAGS"
PATH="$MONO_PATH/bin:$PATH"
# from -> /mono/lib:/another/mono/lib
# to -> /mono /another/mono
for i in `echo ${MONO_PATH} | tr ":" " "`; do
i=`dirname ${i}`
if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
fi
if [ -n "{i}" -a -d "${i}/bin" ]; then
PATH="${i}/bin:$PATH"
fi
done
export PATH
fi
+57 -20
View File
@@ -1,9 +1,18 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.16)
AM_INIT_AUTOMAKE(mono, 0.21)
AM_MAINTAINER_MODE
#
# These are the flags that need to be stored in the mono.pc file for
# compiling code that will embed Mono
#
libmono_cflags=""
libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
case "$host" in
@@ -12,25 +21,41 @@ case "$host" in
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
libdl=
;;
*-*-*bsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
;;
*-*-linux*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT"
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions"
libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
libmono_ldflags="-lpthread"
libdl="-ldl"
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libmono_cflags="-D_REENTRANT"
;;
*-*-darwin*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
libdl=
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
@@ -70,7 +95,7 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
@@ -123,16 +148,20 @@ AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
AC_CHECK_HEADERS(gc.h gc/gc.h)
gc_headers=no
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
gc=auto
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
case "x$gc" in
xboehm|xyes)
xboehm|xbohem|xyes)
if test "x$found_boehm" != "xyes"; then
AC_MSG_ERROR("GC requested but libgc not found!")
fi
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("GC requested but header files not found! You may need to install them by hand.")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
@@ -146,6 +175,9 @@ case "x$gc" in
if test "x$found_boehm" != "xyes"; then
AC_MSG_WARN("Compiling mono without GC.")
else
if test "x$gc_headers" != "xyes"; then
AC_MSG_ERROR("Found libgc but not its header files! You may need to install them by hand.")
fi
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc $libdl"
@@ -360,24 +392,24 @@ if test x$platform_win32 = xno; then
dnl ********************************
dnl *** Checks for timezone stuff **
dnl ********************************
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
AC_TRY_COMPILE([
#include <time.h>
], [
timezone = 1;
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
if test $ac_cv_var_timezone = yes; then
AC_DEFINE(HAVE_TIMEZONE)
], [
struct tm tm;
tm.tm_gmtoff = 1;
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
if test $ac_cv_struct_tm_gmtoff = yes; then
AC_DEFINE(HAVE_TM_GMTOFF)
else
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
AC_TRY_COMPILE([
#include <time.h>
], [
struct tm tm;
tm.tm_gmtoff = 1;
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
if test $ac_cv_struct_tm_gmtoff = yes; then
AC_DEFINE(HAVE_TM_GMTOFF)
], [
timezone = 1;
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
if test $ac_cv_var_timezone = yes; then
AC_DEFINE(HAVE_TIMEZONE)
else
AC_ERROR(unable to find a way to determine timezone)
fi
@@ -469,8 +501,9 @@ i*86-*-*) TARGET=X86; arch_target=x86;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv* | powerpc-*-darwin*) TARGET=POWERPC; arch_target=ppc;;
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
s390-*-linux*) TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no";;
esac
if test ${TARGET} = unknown; then
@@ -490,6 +523,7 @@ AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AM_CONDITIONAL(S390, test x$TARGET = xS390)
LIBC="libc.so.6"
AC_SUBST(LIBC)
@@ -497,6 +531,7 @@ AC_SUBST(LIBC)
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_OUTPUT([
Makefile
@@ -513,7 +548,9 @@ mono/os/unix/Makefile
mono/arch/x86/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/s390/Makefile
mono/arch/arm/Makefile
mono/arch/alpha/Makefile
mono/interpreter/Makefile
mono/tests/Makefile
mono/benchmark/Makefile
+4 -2
View File
@@ -1,8 +1,10 @@
monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in
EXTRA_DIST = config.in machine.config
mono_DATA = config
mono_DATA = config machine.config
DISTCLEANFILES = config
config: config.in Makefile
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
+11
View File
@@ -2,4 +2,15 @@
<dllmap dll="cygwin1.dll" target="@LIBC@" />
<dllmap dll="libc" target="@LIBC@" />
<dllmap dll="libxslt.dll" target="libxslt.so" />
<dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="oci" target="clntsh" />
</configuration>
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
</sectionGroup>
</configSections>
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<!--<user name="gonzalo" password="gonz"/>-->
</credentials>
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<!-- Sample globalization settings
<globalization requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
fileEncoding="iso-8859-1"
culture="en-US"
uiculture="en-US" />
-->
</system.web>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
<!--<clear/> Removes all defined settings -->
</appSettings>
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
</configuration>
+9 -4
View File
@@ -1,7 +1,12 @@
WEB_FILES= \
ado-net c-sharp class-library contact contributing documentation download \
faq gcc-frontend ideas index passport rationale resources \
roadmap runtime status team testing thanks tools porting anoncvs monodoc-xml winforms
WEB_FILES= \
ado-net anoncvs asp-net books ccvs c-sharp class-library contact contributing devel-faq documentation download \
embedded-api faq firebird gcc-frontend hackers ideas index \
java jit-debug languages mailing-lists monodoc-xml mysql odbc \
oledb papers \
passport plans porting postgresql ppc projects rationale \
resources roadmap runtime sqlclient sqlite sybase tdsclient \
tds-providers team status team testing thanks tools \
porting anoncvs monodoc-xml winforms
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

+30
View File
@@ -15,3 +15,33 @@ To publish changes:
cd web
make push
############## Samples
If you want to add a new item in the left menu
you have to edit mono/doc/web/commands and add
the entry there.
For new files you can add something as:
level,entry,path_to_the_file,file.src
ex: 1,COBOL#,cobol.html,cobol.src
If you just want to add a link to the menu:
1,MyEntry,URL
ex: 1,About Linux,http://www.linux.org
To test the results under Linux:
1. Edit mono/doc/web/makefile
Delete all the references to class status
and the deploy/index.rss as well as the
mono.exe commands.
2. make
3. Open your browser and point to the
file:///(YOUR PATH HERE)mono/doc/web/deploy/index.html
+387 -742
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -30,7 +30,7 @@
To update your sources every day, you use this command:
<pre>
export CVSROOT=:pserver:anonymous@reypastor.hispalinux.es:/mono
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
cvs -z3 update -dP mcs mono gtk-sharp
</pre>
@@ -46,7 +46,7 @@
<a name="#mirror">
** Becoming an AnonCVS mirror
To become an AnonCVS mirror, you currently need about 20
To become an AnonCVS mirror, you currently need about 40
megabytes of free disk space and bandwidth that you do not
mind sharing (you probably want enough to spare).
+59 -68
View File
@@ -9,8 +9,11 @@
There is work underway for both systems. The Web Forms
support is more advanced at this point, and various ".aspx"
programs can be run using the Mono runtime and the XSP page
parser.
programs can be run using the Mono runtime (embedded into
either the XSP server or the mod_mono Apache module).
We are now working bug fixing and adding missing features
after making the whole pipeline compatible with MS.
Tim started work on the Web Services. Although we have a
SoapFormatter as part of the remoting infrastructure already
@@ -18,7 +21,55 @@
Web Services support. Work for the supporting class libraries
just started recently.
* Web Forms: The pieces
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
We are currently working on this.
** XSP
This is where initial development of the .aspx/.ascx/.asax compiler
to C# took place. That compiler is now integrated in System.Web classes
mostly under System.Web.Compilation namespace.
We added a new web server that works with mono and MS runtime and is
being used to debug our classes. It resides in xsp/server. A couple of
classes of this new server can be reused/extended to make an apache
module/cgi using mono (MonoWorkerRequest and MonoApplicationHost).
There is also a bunch of .aspx pages to test the server along with
a few user controls under xsp/test.
You can check it out from CVS and run 'make install' to test it.
** Controls
A lot of work has been put in the various classes that
implement the controls (UI.HtmlControls and UI.WebControls),
but they have been coded mostly in the dark, and without being
able to test them in real life: Gaurav and Leen worked very
hard on this namespace.
We can now render all HtmlControls and almost all WebControls.
DataGrid and DataList controls are being finished by Gaurav.
Xml control needs some work on System.Xml related to XSL.
** Extending ASP.NET
Currently you have to reference in your ASP.NET the control
and all of its properties, which works fine if you have a GUI
designer, but is harder for people used to develop using text
editors.
Since we have a parser, we could extend this parser to allow
people to still use ASP.NET controls, using a simpler syntax.
For example people doing blogs and editing their templates
over the web probably do not want to use direct ASP.NET but a
wrapper around it.
* Web Forms: The pieces (historical)
There are a couple of components to the puzzle:
@@ -53,78 +104,18 @@
Duncan got our System.Web assembly to compile.
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
He is now working on finishing HttpRuntime and a few needed
classes.
** XSP
Currently XSP provides the .aspx compiler to C#.
There is also a small web server for testing in module xsp
along with a bunch of .aspx pages to test the server.
The C# code generator is being moved to System.Web.Compilation.
Gonzalo is in charge of the compiler.
** Controls
A lot of work has been put in the various classes that
implement the controls (UI.HtmlControls and UI.WebControls),
but they have been coded mostly in the dark, and without being
able to test them in real life: Gaurav and Leen worked very
hard on this namespace.
We can now render all HtmlControls and almost all WebControls.
DataGrid and DataList controls are being finisehd by Gaurav.
Xml control needs some work on System.Xml related to XSL.
** Extending ASP.NET
Currently you have to reference in your ASP.NET the control
and all of its properties, which works fine if you have a GUI
designer, but is harder for people used to develop using text
editors.
Since we have a parser, we could extend this parser to allow
people to still use ASP.NET controls, using a simpler syntax.
For example people doing blogs and editing their templates
over the web probably do not want to use direct ASP.NET but a
wrapper around it.
** Roadmap
1. The Parser.
2. Get the parser to generate output compatible with ASP.NET.
3. Run the sample output with the real Microsoft runtime
but using our generated page.
4. Run the sample with our classes with the .NET runtime.
5. Run the samples with our classes with the our runtime (without
using HttpRuntime).
6. Finish HttpRuntime.
<b>We are here</b>.
7. Running our sample code with our classes with our runtime.
** How to Help
Testing and fixing HtmlControls, WebControls and validators is an
easy way to help.
In the CVS module XSP you can find the aspx to C# page parser,
a little web server used for testing and a directory containing
sample aspx pages.
In the CVS module XSP you can find a small web server used for
testing and a directory containing sample aspx pages.
You have some documentation under doc directory and in the README
file of each directory. They explain how to test our System.Web.
Testing is really easy!
As the server also works with MS runtime, you can use it to check
what the expected results are.
+5 -1
View File
@@ -19,6 +19,10 @@
A Retargetable C Compiler - Design and Implementation: C. Fraser, David
Hanson
* Threading
.NET Multithreading: Alan L. Dennis (ISBN 1-930110-54-5)
* Reference Manuals
<a
@@ -34,4 +38,4 @@
MIPS Processor supplement</a>
<a href="http://www.sparc.org/standards/V8.pdf">The SPARC Architecture
Manual Version 8</a>
Manual Version 8</a>
+7
View File
@@ -14,6 +14,13 @@
the compiler and various programs are routinely compiled and
ran.
** Slides
Slides for the Mono C# Compiler presentation at .NET ONE are
available <a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">here</a>
in StarOffice format.
** Obtaining MCS
The Mono C# compiler is part of the `mcs' module in the Mono CVS
+56 -20
View File
@@ -1,7 +1,9 @@
* CVS Access
If you are an active Mono developer, you can get a CVS account
that hosts the Mono source code.
that hosts the Mono source code. This web page contains
details about how to use the CVS server as well as the
policies to use it.
If you are not a developer, but want to track the development, please
see the <a href="anoncvs.html">AnonCVS</a> instructions.
@@ -10,6 +12,49 @@
purpose. Please specify if the key was generated with SSH version 1
or version 2.
* Policies
Here are some policies about the use of the Mono CVS server.
** Code License
If you are about to commit code to a module, the code that is
being commited should be released under the same license as
the code that the module has.
Check the license if you are unsure, but it is basically:
class libraries X11; compiler and tools: GPL; runtime: LGPL.
If in doubt, check with the maintainers of the module, or send
mail to [email protected].
** Commiting code.
If you are the maintainer for a piece of code, feel free to
commit code, and delegate the work to others.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
Please do not commit code that would break the compile to the
CVS, because that normally wastes everybody's time. Two things
are important in this step: trying to build your sources and making
sure that you add all the new files before you do a commit.
* Using CVS.
This is a small tutorial for using CVS.
** Generating an SSH key
If you are using SSH version 2, please generate your key using:
<pre>
@@ -34,9 +79,9 @@
ssh-keygen -i -f id_XXX.pub > my_public_key.pub
</pre>
where the file <pre>id_XXX.pub</pre> is your public key file,
normally located under <pre>~/.ssh/</pre> or <pre>~/.ssh2/</pre>.
Send to miguel the <pre>my_public_key.pub</pre> file.
where the file id_XXX.pub is your public key file,
normally located under ~/.ssh/ or ~/.ssh2/.
Send to miguel the my_public_key.pub file.
The *exact* format for this file must be:
@@ -124,7 +169,7 @@
cvs commit file-1.cs file-2.cs
</pre>
** The Mailing List
* The Mailing Lists
To keep track of the various development and changes to the
CVS tree, you can subscribe to the [email protected].
@@ -135,24 +180,15 @@
This will send you an email message every time a change is
made to the CVS repository, together with the information that
the author of the changes submitted.
** Recommendations
Please do not commit code that would break the compile to the
CVS, because that normally wastes everybody's time. Two things
are important in this step: trying to build your sources and making
sure that you add all the new files before you do a commit.
You might also want to track the live changes, subscribe to
the <a
href="mailto:[email protected]">[email protected]</a>
to receive the patches as they are checked into CVS.
** Recommendations
To build the sources, most of the type trying the `make' command
is enough. In some cases (the class libraries) we use nant, so
you need to run nant manually.
Use ChangeLog entries so we can keep textual descriptions of
your work, and use the contents of your ChangeLog file as the
CVS commit message (ie, paste the contents of this into the
editor buffer).
If you are making changes to someone else's code, please make
sure you get in touch with the maintainer of that code before
applying patches. You want to avoid commiting conflicting
work to someone else's code.
+37 -9
View File
@@ -1,17 +1,45 @@
* Status of the various pieces of the class library
You can browse the status of the class library and see who has
registered to work on what parts of the system. These list
work-in-progress components currently.
Classes in Mono are organized by the assembly that they belong to.
Browse the current <a href="class-status/index.html">status</a>.
Here is the status of the different assemblies:
<ul>
<li><a href="http://www.go-mono.com/class-status-corlib.html">corlib</a>: The core library.
<li><a href="http://www.go-mono.com/class-status-System.html">System</a>.
<li><a href="http://www.go-mono.com/class-status-System.Xml.html">System.Xml</a>.
You can also download the XML <a
href="class-status/maintainers.xml">maintainers</a> file that
contains the actual maintainers list.
<li><a
href="http://www.go-mono.com/class-status-System.Data.html">System.Data</a>:
Database access functionality (also check the <a href="ado-net.html">Mono ADO.NET status</a> pages).
You can also download the master <a
href="class-status/class.xml">Class Status XML</a> file.
<li><a href="http://www.go-mono.com/class-status-System.Drawing.html">System.Drawing</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Web.html">System.Web</a>:
ASP.NET classes, also check the <a href="asp-net.html">Mono ASP.NET status pages</a>
<li><a href="http://www.go-mono.com/class-status-System.Web.Services.html">System.Web.Services</a>.
<li><a
href="http://www.go-mono.com/class-status-Microsoft.VisualBasic.html">Microsoft.VisualBasic</a>:
Support runtime for Visual Basic applications
<li><a
href="http://www.go-mono.com/class-status-System.Windows.Forms.html">Windows.Forms</a>:
there is also a <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
list available</a>
<li><a href="http://www.go-mono.com/class-status-System.EnterpriseServices.html">EnterpriseServices</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Runtime.Serialization.Formatters.Soap.html">System.Runtime.Serialization.Formatters.Soap</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Security.html">System.Security</a>:
Xml Signature Security classes, also check the <a href="crypto.html">Cryptography status pages</a>
</ul>
* List of not-implemented classes
+11 -33
View File
@@ -8,53 +8,31 @@
multilingual documentation makes for significant additional text.
With these considerations in mind, Mono will use external XML files
for type documentation, rather than documenting the source inline.
for type documentation, rather than documenting the source
inline. The XML file format used is inspired by the XML format used
to document the ECMA APIs.
Several tools will be created for managing, verifying, generating,
and updating class library documentation, including:
<ul>
<li><a href="#monodoc">MonoDoc - A graphical documentation editor and viewer.</a></li>
<li><a href="#mkmaster">MkMaster - A command line tool to feed stub information to MonoDoc.</a></li>
<li><a href="#aspnet">An ASP.NET documentation editor.</a></li>
<li><a href="#xsltool">An xsl tool to convert monodoc xml to html documentation.</a></li>
<li><a href="#monodoc">monodoc - A graphical documentation viewer.</a></li>
<li>xmllint: a tool used to validate a proper XML document.
</ul>
** XML Documentation Files and Formats
You can download the tools to document Mono from the CVS
repository from module `monodoc'.
*** Monodoc XML
This XML is Mono's documentation format. Documentation and a DTD/Schema
for Monodoc XML is located in cvs and can be found <a href="http://go-mono.org/monodoc.dtd">here</a>.
This XML could be generated by MonoDoc or the ASP.NET client.
More about the XML format <a href="http://go-mono.org/monodoc-xml.html">here</a>.
** Documentation Tools
*** <a name="monodoc">MonoDoc</a>
A graphical documentation editor and viewer. Currently, MonoDoc
consists of a Qt# application and is in heavy development.
*** <a name="mkmaster">MkMaster</a>
This tool creates the Master.xml file that MonoDoc uses as a reference
for documentation generation. This is a reflection engine that is used
to gather metadata from assemblies and create an xml representation.
*** <a name="aspnet">ASP.NET</a>
This tool is planned.
*** <a name="xsltool">An XSL converter</a>
This tool is planned. If someone wants to step forward and adopt this
project, it would be very helpful ;)
A graphical documentation viewer written in Gtk#. In the
future we will have an ASP.NET front-end to present the
documentation on the web as well.
** Status and Roadmap
*** 16, September 2002
A preliminary version of MonoDoc is in Mono's cvs. It is under heavy development.
Once this is complete we will start documenting the API!
** Get Involved
Help us develop Mono's documentation tools! Subscribe to
+43 -11
View File
@@ -1,18 +1,50 @@
* Contributing to the Mono project
There are many ways in which you can help in the Mono project:
Mono has not been completed yet. It is a project under
active development and with a vibrant community. If you are
looking at ways of helping the project, you have come to the
right web page.
<ul>
* <b>Programmers:</b> You can work on a free
implementation of the <a
href="class-library.html">class libraries</a>, the
<a href="runtime.html">runtime engine</a>, <a
href="tools.html">the tools</a>, the <a
href="testing.html">testing framework</a>
There are three different philosophical approaches to helping
the Mono project, the selfish way, the altruistic or the
educational way.
* <b>Writers:</b> You can help us bywriting <a
href="documentation.html">documentation</a>.
</ul>
The <b>selfish</b> way is packed with adventure. You start by
building your own software, and start using the compiler and
tools that come with Mono. Eventually you will run into
missing features, or a bug in the software. Since we ship all
the source code for Mono, you can start tracking down the
problem. Depending on how much time you have to devote to the
problem you could: <a href="http://bugzilla.ximian.com">File a
bug report</a>; track down the problem and provide a better
<a href="http://bugzilla.ximian.com">bug report</a>; fix the
bug and provide a patch (you can <a
href="mailto:[email protected]">post it</a> to the <a
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono
mailing list</a>; or discuss the solution on the mailing
list. Ideally you will also write a <a
href="testing.html">regression test</a> so the bug does not
get re-introduced in the future.
The <b>altruistic</b> is probably the easiest because you get
to pick a piece of Mono that you might want to work on. You
can pick an unfinished <a href="class-library.html">class</a> (from our <a
href="class-status.html">class status page</a>); help with the
<a href="documentation.html">documentation effort</a> (<a
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mailing
list for the documentation effort</a>); fix existing <a
href=http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FRuntime&component=CORLIB&component=misc&component=System&component=System.Web&component=System.XML&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">runtime
bugs</a>; <a
href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">compiler
bugs</a>; help with the <a href="tools.html">tools</a> or
writing <a href="testing.html">tests</a> that help make Mono
more robust or help with the <a
href="http://www.go-mono.com/winforms.html">Winforms
effort</a>.
The <b>educational</b> way is an interesting one, because you
pick a technology you are interested in, and work on that
technology to learn the technology.
Those are just broad things that need to be worked on, but
something that would help tremendously would be to help with
+290
View File
@@ -0,0 +1,290 @@
* Cryptography
In the .NET framework cryptography can be found under a number of
namespaces in several assemblies.
** Assembly: corlib
*** Namespace: <b>System.Security.Cryptography</b>
Thanks to the work of many people this namespace is almost complete.
**** Status
<ul>
* Every classes are present.
* Most classes have their unit tests. Some tests like <code>
SymmetricAlgorithmTest</code> are generated by an external
tool.
</ul>
**** TODO
<ul>
* Support for adding/modifying OID using the
<code>machine.config</code> configuration file (algorithms
are done).
* RNGCryptoServiceProvider is currently only working on Linux.
The current implementation reside in Mono's runtime and use
the <code>/dev/[u]random</code> device (which do not exists
under Windows). A Windows alternative is in the work (see
Mono.Security.Win32 assembly section).
* Keypair persistance for RSA and DSA. This persistance must
somehow be linked with X509 certificate stores (in planning).
* <code>PasswordDeriveBytes.CryptDeriveKey</code> is included
in the BCL to provide compatibility with existing Windows
applications. The main problem is that the key derivation
algorithm can be different for every CSP (Crypto Service
Provider). However for compatibility we should provide an
implementation compatible with the MS CSP (most likely used).
* Analyse the current coverage of the unit tests on the
cryptographic classes and complete the unit tests.
* Optimizations (performance) on most class are possible. Some
have been done using the Community Edition of BoundChecker
(a free VisualStudio addon) - recommanded!
</ul>
**** Notes
<ul>
* All cryptographic algorithms are entirely managed, including
classes named <code>*CryptoServiceProvider</code>, with the
exception of <code>RNGCryptoServiceProvider</code> (which
resides in the runtime).
</ul>
*** Namespace: <b>System.Security.Cryptography.X509Certificates</b>
**** Status
<ul>
* X.509 certificates are parsed using 100% managed code
(using an internal ASN.1 class).
* Software Publisher Certificates (SPC) used by Authenticode
(tm) to sign assemblies are supported (extraction from PE
files) but <b>not</b> validated.
* Tests are generated from a set of existing certificates
(about a dozen) each having different properties. Another
set of certificates (more than 300) are used for a more
complete test (but isn't part of the test suite for size
and time consideration).
</ul>
**** TODO
<ul>
* Authenticode(tm) support is incomplete. We can extract the
certificates from PE files but cannot validate the signature
nor the certificate chain (and we're still missing some trust
anchors). See Tools section for more information.
* Integration with CryptoAPI (on Windows) isn't possible as
long as the <code>X509Certificate(IntPtr)</code> constructor
isn't completed.
</ul>
**** Notes
<ul>
* <b>There's no validation of the certificates</b> done in this
class (this isn't a restriction of Mono!). This means that
certificate signatures and validity dates are <b>never</b>
checked (except when used for Authenticode, i.e.
<code>CreateFromSignedFile</code>).
* The newer X509Certificate class included in Microsoft's Web
Service Enhancement (WSE) is a little better (as it includes
CryptoAPI's validation) when <code>IsCurrent</code> is called.
* Microsoft implementation of <code>X509Certificate</code> is
done by using CryptoAPI (unmanaged). From the exceptions
thrown Authenticode(tm) support is done via COM.
</ul>
<hr>
** Assembly: System.Security
*** Namespace: <b>System.Security.Cryptography.Xml</b>
This namespace implements the <a href="http://www.w3.org/TR/xmldsig-core/">
XML Digital Signature</a> specification from
<a href="http://www.w3.org/">W3C</a>.
**** Status
<ul>
* All classes are present but some (Transforms) are only
stubbed.
* Most classes have their unit tests.
* This assembly is present in CVS but only available when
building using NAnt (i.e. makefile are missing).
</ul>
**** TODO
<ul>
* All the transforms needs to be done. But this requires far
more XML knowledge than crypto. Note: Most tests runs because
the feeded XML is pre-c14n (by hand in the code) before
signing (not because the transforms works). In the short
term <code>libxml2</code> could be used to provide C14N, but
in the long term a fully managed class would be much better.
* Makefile for building under non-Windows operating systems.
</ul>
<hr>
** Assembly: Mono.Security.Win32
This assembly goal is to provide maximum compatibility with CryptoAPI
to application running with Mono's runtime on the Windows operating
system.
<b>This assembly should NEVER be used directly by any application</b>.
The classes should only be used by modifying the <code>machine.config
</code> configuration file (and then only if this increased
compatibility is required by an application).
*** Namespace: Mono.Security.Cryptography
**** Status
<ul>
* A RNGCryptoServiceProvider built on top of CryptoAPI.
* Wrapper classes for unmanaged versions of hash algorithms:
MD2, MD4, MD5 and SHA1 are supported. <b>note</b>: some
algorithms shouldn't be used in new design (MD4 is broken and
MD2 isn't considered safe). They are included to preserve
interoperability with older applications (e.g. some old, but
still valid, X.509 certificates use MD2).
</ul>
**** TODO
<ul>
* Wrapper classes for unmanaged versions of symmetric
encryption algorithms (like DES, TripleDES, RC2 and others
present in default CSP).
* Wrapper classes for unmanaged versions of asymmetric
algorithms (like DSA and RSA) which persist their keypair
into the specified CSP.
</ul>
<hr>
** Assembly: Microsoft.Web.Services
Microsoft Web Service Enhancement (WSE), known as Web Service
Development Kit (WSDK) in it's beta days, is an add-on the .NET
framework that implements WS-Security (and other WS-* specifications).
It also includes improved support for XML Signature (replacing and/or
extending <code>System.Security.Cryptography.Xml</code>) and X509
certificates.
Note: WSE is distributed as an add-on because the WS-Security
specification isn't yet completed by
<a href="http://www.oasis-open.org/committees/wss/">OASIS</a>.
<b>There are some licensing issues to consider before stating to
implement WS-Security. All contributors must sign an agreement with
Microsoft before commiting anything related to WS-Security into CVS.
</b>
*** Namespace: Microsoft.Web.Services.Security
**** Status
<ul>
* Nothing (yet) commited in CVS.
</ul>
*** Namespace: Microsoft.Web.Services.Security.X509
**** Status
<ul>
* Nothing (yet) commited in CVS.
</ul>
**** TODO
<ul>
* We need to define certificate stores (for both users and
machines). These sames stores must be linked with asymmetric
keypairs. This could also be used to store the SPC roots.
</ul>
<hr>
** Other stuff
There are other, not so visible, uses of cryptography both inside and
outside the class library - such as:
<ul>
* SSL/TLS for secure communication (investigation under way).
* Assembly signing (and verification) using StrongNames.
* Assembly signing (and verification) using Authenticode(tm).
</ul>
*** Tools
There are many tools in the .NET framework that indirectly interacts
with some cryptographic classes. Mono will eventually need these tools.
Unless noted the tools should work on any CLR (tested with both Mono
and Microsoft).
**** Status
The following tools are complete:
<ul>
* <code>secutil</code> is a tool to extract certificates and
strongnames from assemblies in a format that can be easily
re-used in source code (C# or VB.NET syntax).
* <code>cert2spc</code> is a tool to transform multiple X.509
certificates and CRLs into a Software Publisher Certificate
(SPC) file - which is a long name for a simple PKCS#7 file.
</ul>
**** TODO
The following tools are still missing or incomplete:
<ul>
* <code>monosn</code> is a clone of the <code>sn</code> to manage
strongnames. This tools is part of the runtime (not the class
library) and as such is written in C and won't run without Mono.
* <code>signcode</code> and <code>chktrust</code> (in progress)
for signing and validating Authenticode(tm) signatures on
assemblies (or any PE file).
* <code>makecert</code> to create X.509 test certificates that
can be used (once transformed in SPC) to sign assemblies.
* Other tools like a, GUI-based, certificate manager...
</ul>
Note that many of the tools requires the class library and/or the
runtime to be ready for them.
<hr>
** How to Help
Complete any of the TODO (and feel good about it ;-).
Add missing unit tests to classes or methods.
Write some documentation on the cryptographic classes for MonkeyGuide
(as I'm not a good writer, at least in English, but you must be a good
reader if you got to this part).
Optimization can also be done on algorithms as crypto is never fast
enough. Just be sure to test every optimization (using the unit test)
carefully - it's so fast to break an algorithm ;-).
Contact Sebastien Pouliot (<a href="mailto:[email protected]">home</a>
, <a href="mailto:[email protected]">work</a>) if you need additional
informations about the status of the cryptographic classes.
<hr>
Last reviewed: February 5, 2003 (post mono 0.19)
+192 -3
View File
@@ -14,13 +14,16 @@
<ul>
* The development tools (compilers, assembler tools,
language reference, design time features).
language reference, design time features): these
live in the `monodoc' CVS module.
* Frequently Asked Question compilations.
* HOWTO documents.
* The Class Libraries
* The Class Libraries (Both the original .NET class
libraries as well as the class libraries produced by
the project).
* Tutorials on Mono and the specifics of running it.
@@ -29,11 +32,197 @@
</ul>
** Class Library documentation
* Class Library documentation
We are moving to a new setup for documenting the class libraries,
and you can read about it <a href="classlib-doc.html">here</a>.
There are two classes of documentation: free documentation for
existing .NET classes and documentation for the classes that
we have developed on top of .NET.
There is a large body of documentation that came from the ECMA
standarization effort that has been checked into CVS. It does
not contain everything Mono and .NET have, so they need to be
updated and augmented.
** Gtk# documentation
We also have a large body of class libraries that are specific
to Mono, for example the documentation for Gtk#.
We have checked in stub documentation for Gtk# into the CVS
repository (on gtk-sharp/doc) and we need volunteers to help
populate the documentation for it. Since Gtk# is a wrapper
for Gtk, plenty of documentation exists in the <a
href="http://developer.gnome.org/doc/API">Gnome developer
site</a>.
To get started:
You need to download Gtk# from the CVS repository. The module
name is `gtk-sharp'. You can obtain a copy from both the CVS
repository or the anonymous CVS repository.
To pull your copy type:
<pre>
cvs co gtk-sharp
</pre>
Documentation lives in gtk-sharp/doc/en. The "en" indicates the
English language, the first one we are targeting. We can later
do translations, but for now we are focusing on a single
language.
In that directory you will find the documentation organized by
namespaces. One directory per namespace. In the directories
you will find one XML file per class that needs to be
documented. The mission is to fill in the data with useful
information. Feel free to grab liberally information from the
Gtk documentation from:
<a href="http://developer.gnome.org/doc/API/">http://developer.gnome.org/doc/API/</a>
Of course, the API does not apply directly. It only applies at
a foundational level, so you can not really just copy and
paste. Summaries, and remarks sections can probably be lifted
with little or no effort.
Gtk# uses properties to represent get/set operations in the C
API, so you can also use some bits from there.
Most of the documentation contains already place holders for
text, we use the internationally approved phrase for this
purpose, `To be added'. So the quest is to remove all of the
"To be added" strings with information with resembles as closely
as possible the toolkit reality.
*** The pieces to be filled.
Summaries are one or two line descriptions of the element
(class, struct, interface, method, field, event, delegate), and
its used to render summary pages. So it has to be short.
The "remarks" section is used to describe in detail the element.
**** Tags.
As you document Gtk# you will have a number of tags that you can
use inside the summary and remarks sections, these are:
<pre>
&lt;para&gt; &lt;/para&gt;
</pre>
Used to separate paragraphs.
<pre>
&lt;paramref name="param_name"/&gt;
</pre>
Used to reference a formal parameter to a function.
<pre>
&lt;see cref="T:SomeTypeName"/&gt;
</pre>
Use this to reference a type, this will include an hyper
link to the page for type SomeTypeName.
For example, to reference "System.Enum", do:
<pre>
&lt;see cref="T:System.Enum"/&gt;
</pre>
<pre>
&lt;see cref="P:SomeTypeName.Property"/&gt;
</pre>
Use this to reference a property, this will include an hyper
link to the page for the property `Property' of type `SomeTypeName'.
For example, to reference the BaseType property in System.Type, do:
<pre>
&lt;see cref="P:System.Type.BaseType"/&gt;
</pre>
<pre>
&lt;see cref="M:SomeTypeName.Method(type,type)"/&gt;
</pre>
Use this to reference a method, this will include an hyper
link to the page for the method `Method' of type `SomeTypeName'.
For example, to reference the ToString method in System.Object, do:
<pre>
&lt;see cref="M:System.Object.ToString()"/&gt;
</pre>
<pre>
&lt;see langword="keyword"/&gt;
</pre>
Use this to link to a keyword in the C# language, for
example to link to `true', do:
<pre>
&lt;see langword="true"/&gt;
</pre>
<pre>
&lt;example&gt; ... &lt;/example&gt;
</pre>
Use example to insert an example. The example can
contain explanatory text and code.
<pre>
&lt;code lang="C#"&gt;.. &lt;/code&gt;
</pre>
Use this to provide a sample C# program, typically used
within the &lt;example&gt; tags.
When providing examples, try to provide a full example,
we would like to be able to have a button to compile and
run samples embedded into the documentation, or pop up
an editor to let the user play with the sample.
You can link to an example like this:
<pre>
&lt;code lang="C#" source="file.cs"&gt; &lt;/code&gt;
</pre>
<pre>
&lt;item&gt;
</pre>
<pre>
&lt;list type="bullet"&gt; &lt;/list&gt;
</pre>
Use this to create lists. Lists contains &lt;item&gt;
elements
<pre>
&lt;list type="table"&gt; &lt;/lits&gt;
&lt;listheader&gt;
&lt;term&gt;YOUR FIRST COLUMN&lt;/term&gt;
&lt;description&gt;YOUR DESCRIPTION&lt;/description&gt;
&lt;/listheader&gt;
</pre>
For two-column tables. Inside use:
<pre>
&lt;item&gt;
&lt;term&gt;First&lt;/term&gt;
&lt;description&gt;First descritpion&lt;/description&gt;
&lt;/item&gt;
&lt;item&gt;
&lt;term&gt;Second&lt;/term&gt;
&lt;description&gt;Second descirption&lt;/description&gt;
&lt;/item&gt;
</pre>
** Words of warning.
A few words of warning and advice for class documentors:
A well-documented API can ease hours of frustration; as Mono
+395 -66
View File
@@ -6,12 +6,351 @@
href="runtime.html">Runtime</a> description for more details
on this part of the project.
The software is also available on the `Mono' channel in <a href="http://www.ximian.com/products/redcarpet/">Red Carpet</a>.
Some useful links: <a
href="http://www.go-mono.org/mono-beginning.html">Resources/Beginning
section</a>, the <a
href="http://www.go-mono.org/faq.html">FAQ</a> and the <a
href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">
Mono Common Problems</a>.
href="http://www.go-mono.org/faq.html">FAQ</a>.
<b>Important</b>: The contributed binaries for Windows
binaries of Mono 0.20 contained a virus. Please read <a
href="virus.html">this</a> if you installed the binary.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.20</b><br>
<a href="archive/mono-0.20">Release notes</a><br>
Jan 20th, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.20.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.20.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
<li><a href="archive/xsp-0.3.tar.gz">XSP web server (0.3)</a>
<li><a href="archive/mono-debugger-0.2.0.tar.gz">Mono Debugger 0.2.0</a> <b><font color="#dd0000">New!</font></b>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.20-1.src.rpm">mono-0.20-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.20-1.i386.rpm">mono-0.20-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.20-1.i386.rpm">mono-devel-0.20-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 7.2/x86</b>
<ul>
<li><a href="archive/redhat-72-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-0.20-1.i386.rpm">mono-0.20-1.i386.rpm</a>
<li><a href="archive/redhat-72-i386/mono-devel-0.20-1.i386.rpm">mono-devel-0.20-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.1/x86</b>
<ul>
<li><a href="archive/redhat-71-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-0.20-1.i386.rpm">mono-0.20-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-devel-0.20-1.i386.rpm">mono-devel-0.20-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.20-1.i586.rpm">mono-0.20-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.20-1.i586.rpm">mono-devel-0.20-1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.20-1.i386.rpm">mono-0.20-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.20-1.i386.rpm">mono-devel-0.20-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.20-1.i386.rpm">mono-0.20-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.20-1.i386.rpm">mono-devel-0.20-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="archive/mono-0.20-stable-win32-2.exe">Mono-Setup</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Debian packages</b>
<ul>
<li><a href="http://www.atoker.com/mono/">Alp's web site</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tr>
</tbody>
</table>
<br>
* Older Releases:
We provide binaries for older releases until we have packages for the new release.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.19</b><br>
<a href="archive/mono-0.19">Release notes</a><br>
Jan 20th, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.19.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.19.tar.gz">Mono Runtime</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.19-1.src.rpm">mono-0.19-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.18</b><br>
<a href="archive/mono-0.18">Release notes</a><br>
Jan 12th, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.18.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.18.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
<li><a href="archive/xsp-0.2.tar.gz">XSP web server</a> <b><font color="#dd0000">New!</font></b>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.18-1.src.rpm">mono-0.18-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.17</b><br>
<a href="archive/mono-0.17">Release notes</a><br>
Dec 9th, 2002.
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.17.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.17.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.17-2.src.rpm">mono-0.17-2.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="archive/mono-0.17-stable.exe">Mono-Setup</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Debian packages</b>
<ul>
<li><a href="http://www.atoker.com/mono/">Alp's web site</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.16</b><br>
<a href="archive/mono-0.16">Release notes</a><br>
Oct 1st, 2002.
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.16.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.16.tar.gz">Mono Runtime</a>
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b>
</td>
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.16-1.src.rpm">mono-0.16-1.src.rpm</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Linux s390</b>
<ul>
<li><a href="archive/s390/glib2-2.0.6-13.s390.rpm">glib2-2.0.6-13.s390.rpm</a>
<li><a href="archive/s390/glib2-devel-2.0.6-13.s390.rpm">glib2-devel-2.0.6-13.s390.rpm</a>
<li><a href="archive/s390/libgc-6.1alpha5-1.s390.rpm">libgc-6.1alpha5-1.s390.rpm</a>
<li><a href="archive/s390/libgc-devel-6.1alpha5-1.s390.rpm">libgc-devel-6.1alpha5-1.s390.rpm</a>
<li><a href="archive/s390/mono-0.16-1.s390.rpm">mono-0.16-1.s390.rpm</a>
<li><a href="archive/s390/mono-devel-0.16-1.s390.rpm">mono-devel-0.16-1.s390.rpm</a>
</ul>
</td>
</tr>
</table>
</td>
</tr>
<tr>
</tr>
</tr>
</tbody>
</table>
<table>
<tbody>
@@ -49,46 +388,6 @@
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Red Hat 7.1/x86</b>
<ul>
<li><a href="archive/redhat-71-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
<li><a href="archive/redhat-71-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<b>Mandrake 8.2/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/libgc-6.1alpha5-1.i586.rpm">libgc-6.1alpha5-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1alpha5-1.i586.rpm">libgc-devel-6.1alpha5-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-0.15-1.i586.rpm">mono-0.15-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.15-1.i586.rpm">mono-devel-0.15-1.i586.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>SuSE 8.0/x86</b>
<ul>
<li><a href="archive/suse-80-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
</ul>
</td>
</tr>
<tr bgcolor="#999999">
<td>
@@ -97,14 +396,6 @@
<li><a href="archive/mono-w32-Aug_28_2002.zip">Mono-w32</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Windows Setup Wizard (NT/2000/XP)</b>
<ul>
<li><a href="http://www.sport-huettn.de/mono/mono-0.15-stable.exe">Mono-Setup</a>
</ul>
</td>
</tr>
<tr bgcolor="#999999">
<td bgcolor="#999999">
<b>Red Hat null-8.0/x86</b>
<ul>
@@ -114,25 +405,10 @@
<li><a href="archive/redhat-null-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
<tr>
<tr bgcolor="#CCCCC">
<td>
<b>Regression Tests</b><br>
</td>
<td>
You can get binaries for the Mono Regression Test
Suite <a href="archive/mono-tests.tar.gz">here</a>
</td>
</tr>
</tbody>
</table>
@@ -157,6 +433,21 @@
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
Hispalinux are updated every six hours.
* Compiling the code
There are a number of ways of compiling Mono
<ul>
<li>From the <a href="#scripts">scripts</A>
<LI><a href="#install">Manually</a> for the first time.
<li>Manually, <a href="#upgrade">while upgrading</a> to CVS
</ul>
(which is an easy way to get the latest CVS information)
<a name="scripts">
* Compiling with scripts
There are scripts to help build mono for both Unix and Windows. Get
@@ -235,6 +526,7 @@
You can change /usr/local to something else if you want.
</ul>
*** On Windows, to install and work on the compiler and the class libraries:
@@ -357,3 +649,40 @@ make install
</ul>
<a name="upgrading">
** Upgrading
To upgrade your Mono installation from CVS, it is very
important that you update your Mono and MCS modules from CVS
at the same time. Failure to do so might result in a
problematic installation as the runtime and the class
libraries will be out of sync.
Run the following commands to update your CVS tree (more
details in <a href="ccvs.html">Cvs and Mono</a> and the <A
href="anoncvs.html">AnonCVS and Mono</a> pages).
<pre>
(cd mono; cvs update -dP .)
(cd mcs; cvs update -dP .)
</pre>
Once you have updated your sources, remove any cached
assemblies or old binaries from the Mono "runtime" directory,
and then compile each component:
<pre>
(cd mono/runtime; rm *exe *dll)
(cd mono; make)
(cd mcs; make)
</pre>
Now you can install the result:
<pre>
(cd mono; make install)
</pre>
Notice that following the above procedure does not require you
to manually install the software in the `mcs' directory, as
the relevant files will be copied by the `mono' makefiles.
+281
View File
@@ -0,0 +1,281 @@
* Embedding the Mono runtime, preliminary version
This document describes how to embed the Mono runtime in your
application, and how to invoke CIL methods from C, and how to
invoke C code from CIL
Slides for Paolo's presentation at .NET ONE on the embedding
API are available here: <a
href="http://primates.ximian.com/~lupus/slides/embed">Hosting the Mono
Runtime</a>. You can also get his <a
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">sample
Mono module for Perl</a>
Authors: Paolo Molaro, Miguel de Icaza.
* Embedding the runtime.
Embedding the runtime consists of various steps:
<ul>
* Compiling and linking the Mono runtime
* Initializing the Mono runtime
* Optionally expose C code to the C#/CIL universe.
</ul>
These are discussed in detail next.
** Compiling and Linking
To embed the runtime, you have to link your code against the
Mono runtime libraries. To do this, you want to pass the
flags returned by pkg-config to your compiler:
<pre>
pkg-config --cflags --libs mono
</pre>
Like this:
<pre>
gcc sample.c `pkg-config --cflags --libs mono`
</pre>
You can separate the compilation flags from the linking flags, for
instance, you can use the following macros in your makefile:
<pre>
CFLAGS=`pkg-config --cflags mono`
LDFLAGS=`pkg-config --libs mono`
</pre>
** Initializing the Mono runtime
To initialize the runtime, call mono_jit_init, like this:
<pre>
MonoDomain *domain;
domain = mono_jit_init ("domain-name");
</pre>
That will return a MonoDomain where your code will be
executed. You can create multiple domains. Each domain is
isolated from the other domains and code in one domain will
not interfere with code in other domains. This is useful if
you want to host different applications in your program.
Then you can load an assembly containing code into the domain:
<pre>
MonoAssembly *assembly;
assembly = mono_domain_assembly_open (domain, "file.dll");
if (!assembly)
error ();
</pre>
In the above example, the contents of `file.dll' will be
loaded into the domain. This only loads the code, but it will
not execute anything yet. You can replace `file.dll' with
another transport file, like `file.exe'
To start executing code, you must invoke a method in the
assembly, or if you have provided a static Main method (an
entry point), you can use the convenience function:
<pre>
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
</pre>
If you want to invoke a different method, look at the
`Invoking Methods in the CIL universe' section later on.
** Shutting down the runtime
To shutdown the Mono runtime, you have to clean up all the
domains that were created, use this function:
<pre>
mono_jit_cleanup (domain);
</pre>
** Applications that use threads.
The Boehm GC system needs to catch your calls to the pthreads
layer, so in each file where you use pthread.h you should
include the <gc/gc.h> file.
* Exposing C code to the CIL universe
The Mono runtime provides two mechanisms to expose C code to
the CIL universe: internal calls and native C code. Internal
calls are tightly integrated with the runtime, and have the
least overhead, as they use the same data types that the
runtime uses.
The other option is to use the Platform Invoke (P/Invoke) to
call C code from the CIL universe, using the standard P/Invoke
mechanisms.
To register an internal call, use this call in the C code:
<pre>
mono_add_internal_call ("Hello::Sample", sample);
</pre>
Now, you need to declare this on the C# side:
<pre>
using System;
using System.Runtime.CompilerServices;
</pre>
<pre>
class Hello {
[MethodImplAttribute(MethodImplOptions.InternalCall)]
extern static string Sample ();
}
</pre>
Since this routine returns a string, here is the C definition:
<pre>
static MonoString*
Sample ()
{
return mono_string_new (mono_domain_get (), "Hello!");
}
</pre>
Notice that we have to return a `MonoString', and we use the
`mono_string_new' API call to obtain this from a string.
* Invoking Methods in the CIL universe
Calling a method in the CIL universe from C requires a number of steps:
<ul>
* Obtaining the MonoMethod handle to the method.
* The method invocation.
</ul>
** Obtaining a MonoMethod
To get a MonoMethod there are several ways.
You can get a MonoClass (the structure representing a type)
using:
<pre>
MonoClass *
mono_class_from_name (MonoImage *image, const char* name_space, const char *name);
</pre>
and then loop in the returned class method array until you get
the one you're looking for. There are examples of such
searches as static functions in several C files in
metadata/*.c: we need to expose one through the API and remove
the duplicates.
The other, simpler, way is to use the functions in
debug-helpers.h: there are examples of their use in monograph,
mint and the jit as well. You basically use a string
description of the method, like:
<pre>
"System.Object:GetHashCode()"
</pre>
and create a MonoMethodDesc out of it with:
<pre>
MonoMethodDesc* mono_method_desc_new (const char *name, gboolean include_namespace);
</pre>
You can then use:
<pre>
MonoMethod* mono_method_desc_search_in_class (MonoMethodDesc *desc, MonoClass *klass);
MonoMethod* mono_method_desc_search_in_image (MonoMethodDesc *desc, MonoImage *image);
</pre>
to search for the method in a class or in an image. You would
tipically do this just once at the start of the program and
store the result for reuse somewhere.
** Invoking a Method
There are two functions to call a managed method:
<pre>
MonoObject*
mono_runtime_invoke (MonoMethod *method, void *obj, void **params,
MonoObject **exc);
and
MonoObject*
mono_runtime_invoke_array (MonoMethod *method, void *obj, MonoArray *params,
MonoObject **exc);
</pre>
obj is the 'this' pointer, it should be NULL for static
methods, a MonoObject* for object instances and a pointer to
the value type for value types.
The params array contains the arguments to the method with the
same convention: MonoObject* pointers for object instances and
pointers to the value type otherwise. The _invoke_array
variant takes a C# object[] as the params argument (MonoArray
*params): in this case the value types are boxed inside the
respective reference representation.
From unmanaged code you'll usually use the
mono_runtime_invoke() variant.
Note that this function doesn't handle virtual methods for
you, it will exec the exact method you pass: we still need to
expose a function to lookup the derived class implementation
of a virtual method (there are examples of this in the code,
though).
You can pass NULL as the exc argument if you don't want to
catch exceptions, otherwise, *exc will be set to the exception
thrown, if any. if an exception is thrown, you can't use the
MonoObject* result from the function.
If the method returns a value type, it is boxed in an object
reference.
We have plans for providing an additional method that returns
an unmanaged->managed thunk like this:
<pre>
void* mono_method_get_unmanaged_thunk (MonoMethod *method);
</pre>
You'll be able to store the returned pointer in a function
pointer with the proper signature and call that directly from
C:
<pre>
typedef gint32 (*GetHashCode) (MonoObject *obj);
GetHashCode func = mono_method_get_unmanaged_thunk (System_Object_GetHashCode_method);
gint32 hashvalue = func (myobject);
</pre>
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
* Samples
See the sample programs in mono/sample/embed for examples of
embedding the Mono runtime in your application.
+129 -23
View File
@@ -3,10 +3,12 @@
<a href="#gnome">Mono and GNOME</a><br>
<a href="#gui">Building GUI applications with Mono</a><br>
<a href="#msft">Mono and Microsoft</a><br>
<a href="#platforms">Mono platforms</a><br>
<a href="#pnpproject">Mono and the Portable.NET Project</a><br>
<a href="#webservices">Web Services</a><br>
<a href="#asp">Mono and ASP.NET</a><br>
<a href="#ado">Mono and ADO.NET</a><br>
<a href="#monodoc">MonoDoc</a><br>
<a href="#devel">Development Tools and Issues</a><br>
<a href="#java">Mono and Java</a><br>
<a href="#extending">Extending Mono</a><br>
@@ -84,10 +86,12 @@ A: Mono contains a number of components useful for building new
Q: Where can I find the specification for these technologies?
A: You can find the work-in-progress documentation from the T3G ECMA
group here:
A: You can find the information here:
<a href="http://www.dotnetexperts.com">http://www.dotnetexperts.com</a>
C# <a href="http://www.ecma.ch/ecma1/STAND/ecma-334.htm">http://www.ecma.ch/ecma1/STAND/ecma-334.htm</a>
CLI <a href="http://www.ecma.ch/ecma1/STAND/ecma-335.htm">http://www.ecma.ch/ecma1/STAND/ecma-335.htm</a>
Q: Will you implement the .NET Framework SDK class libraries?
@@ -118,17 +122,18 @@ Q: When will you ship it?
A: Different parts of Mono will achieve usability at different stages,
once we are comfortable with the compiler, we will release "Mono Core",
which contains everything needed to develop applications with the base
class libraries. This should be available at some point during 2002.
class libraries, this will happen soon and in the meantime you can
download daily snapshots of our work. Also the full ASP.NET support is
close to completion.
Other higher level class libraries (ASP.NET, ADO.NET) will
Other higher level class libraries (ASP.NET, ADO.NET, WinForms) will
be released when they become stable.
Q: What major components will you include in Mono?
A: Hopefully everything that Microsoft ships on their Framework
(ADO.NET, ASP.NET), and
we encourage third party developers to create reusable components that
work on both Mono and Windows.
(ADO.NET, ASP.NET, WinForms), and we encourage third party developers to
create reusable components that work on both Mono and Windows.
Q: How can I contribute?
@@ -310,14 +315,16 @@ A: We do not know, volunteers are working on this, but there is no set
Q: Is Microsoft helping Ximian with this project?
A: No. Ximian CTO Miguel de Icaza had a friendly conversation with
Microsoft software architect David Stutz, but that's about the
extent of the contact. Microsoft is interested in other
implementations of .NET and are willing to help make the ECMA spec
more accurate for this purpose.
A: There is no high level communication between Ximian and Microsoft
at this point, but engineers who work on .NET or the ECMA groups
have been very friendly, and very nice to answer our questions, or
clarify part of the specification for us.
Ximian representatives have also spoken with Sam Ruby at the ECMA
TG3 committee to discuss the same issues.
Microsoft is interested in other implementations of .NET and are
willing to help make the ECMA spec more accurate for this purpose.
Ximian was also invited to participate in the ECMA committee
meetings for C# and the CLI.
Q: Is Microsoft or Corel paying Ximian to do this?
@@ -421,6 +428,44 @@ A: Not yet, but the client side API for authentication is not the problem.
Alliance APIs. The problem is people on the web provider end that might use
this for authentication.
<a name="platforms"></a>
** Mono Platforms
Q: What operating systems does Mono run on?
A: Mono is known to run on Linux, Unix and Windows systems.
Q: What architectures does Mono support?
A: Mono today ships with a Just-in-Time compiler for x86-based
systems. It is tested regularly on Linux, FreeBSD and Windows
(with the XP/NT core).
There is also an interpreter, which is slower that runs on the
s390, SPARC and PowerPC architectures.
Q: Can Mono run on Windows 9x, or ME editions?
A: Mono requires Unicode versions of Win32 APIs to run,
and only a handful of *W functions is supported under Win9x.
There is Microsoft Layer for Unicode that provides implementation
of these APIs on 9x systems.
Unfortunately it uses linker trick for delayed load that is not
supported by ld, so some sort of adapter is necessary.
You will need MSLU and one of the following libs to link Mono to
unicows.dll <a
href="http://mono.eurosoft.od.ua/files/unimono.zip">http://mono.eurosoft.od.ua/files/unimono.zip</a>
or alternatively search the net for "libunicows".
No changes to Mono source code required, the only thing is to make
sure that linker will resolve imports to adapter library instead of
Win32 libs. This is achieved by inserting -lunimono before
-lkerner32/user32 in the linker's specs file.
<a name="pnpproject"></a>
** Mono and Portable.NET
@@ -432,13 +477,20 @@ A: Most of Mono is being written using C#, with only
It is easier to describe what is unique about Mono:
<ul>
<li> A Just-in-Time compiler engine. This is important for
making your applications fast.
<li> A self-hosting C# compiler written in C#, which is clean, easy
to maintain.
<li> Focus on the .NET Framework: we are tracking down the .NET
Framework API definition, as we believe it is the API people
will be most familiar with.
<li> A multi-platform runtime engine: both a JIT engine and an
interpreter exist. The JIT engine runs currently on x86
systems, while the interpreter works on SPARC, StrongARM and
PowerPC systems.
systems, while the interpreter works on SPARC, StrongARM,
s390 and PowerPC systems.
<li> Supports Linux, Windows and Solaris at this point.
@@ -467,8 +519,9 @@ A: Most of Mono is being written using C#, with only
<li> We have a great community of developers, without which Mono
would not be possible.
<li> We will provide an ahead of time compilation mode in the
future.
<li> We are working on an ahead of time compilation mode to
pre-compile code for the target architecture (this is part
of our new code generation effort).
</ul>
<a name="webservices"></a>
@@ -516,12 +569,22 @@ A: Yes. The CLI contains enough information about a class that
Q: Can I serialize my objects to other things other than XML?
A: Yes, although the serializing tools have not yet been planned, and
you would probably have to implement them yourself.
you would probably have to implement them yourself.
Q: Will Mono use ORBit?
A: No. Mono will be using a new implementation of CORBA that isn't still started.
<a name="monodoc"></a>
** MonoDoc
Q: What is MonoDoc?
A: MonoDoc is a graphical documentation editor and viewer. Currently, MonoDoc
consists of a Gtk# application and is in heavy development. There is also a
Qt# version of it.
<a name="devel"></a>
** Development Tools and Issues
@@ -645,6 +708,16 @@ Q: I'm wondering if there are any plans to start using nant to build the
A: Maybe well be doing some sort of automated build process + testing when
the summer finish.
Q: My C code uses the __stdcall which is not availble on Linux, how can I
make the code portable Windows/Unix across platforms?
A: Replace the __stdcall attribute with the STDCALL macro, and include this
in your C code for newer gcc versions:
#ifndef STDCALL
#define STDCALL __attribute__((stdcall))
#endif
<a name="asp">
** Mono and ASP.NET
@@ -690,6 +763,12 @@ A: We are implementing all the classes in Microsoft .NET's System.Data, so
you can be sure that things will work the same in Mono as with the Microsoft
implementation.
Q: Does Mono can to connect to Sybase by using Mono.Data.*?
A: Yes. use Mono.Data.SybaseClient. First of all you have to create a
SybaseConnection, and then, from it, use it as any other
IDbConnection-based class.
<a name="java">
** Mono and Java
@@ -759,6 +838,17 @@ A: Yes. Eto Demerzal has started a Rhino port to C#.
After this is completed, we will begin developing
the JavaScript compiler.
Q: Can Mono or .NET share system classes (loaded from mscore.dll and other
libs) or will it behave like Sun's Java VM?
A: What you can do with mono is to load different applications in their own
application domain: this is a feature of the CLR that allows sandboxing
applications inside a single process space. This is usualy exploited to
compartmentalize different parts of the same app, but it can also be
effectively used to reduce the startup and memory overhead.
Using different appdomains the runtime representation of types and
methods is shared across applications.
<a name="extending"></a>
** Extending Mono
@@ -1016,9 +1106,6 @@ A: We will have to evaluate the licenses for compatibility first,
but as a general rule, we will accept the code under the same
terms of the "container" module.
Q: Is the Mono
<a name="patents"></a>
** Patents
@@ -1114,7 +1201,26 @@ A: If you use mono from cvs, you need to be prepared for changes in the
the right thing (but occasionally you may need to do it the other
way around).
Q: Why are you going for a GtkHtml implementation?
A: GtkHTML is just a lightweight HTML rendering engine that does not
support CSS, so we need it to look decent for those of us that will
be using the documentation in our day-to-day work on Linux. The
Web-based interfaces lack the agility that you get from a native GUI
tool to browse your documentation. Probably later on, we will write
scripts and generate a full documentation set that is web-browsable,
but we need a command-line and GUI tools that we can use natively on
Linux when disconnected from the Web (and that has better
interactions than a web page).
Q: Is there a command-line tool that allows me to access .NET interactively?
A: There are several but one that is free software and uses MCS is the one
Dennis Lu from Rice University is working on; a REPL C# interpreter.
Q: Is it possible to use Visual C++ with Mono?.
A: Well, It's possible to run VC++ generated apps under Mono though.
<a name="problems"></a>
** Mono Common Problems
Executable
+196
View File
@@ -0,0 +1,196 @@
* Firebird and Interbase Data Provider
<ul>
<li>ADO.NET Data Provider for Firebird and Interbase databases</li>
<li>Does not exist in Mono, but is a separate project</li>
<li>The <a href="http://firebird.sourceforge.net/index.php">Firebird Relational Database</a> is
is an independent project which uses source code based on the Interbase source code released
by Borland under the Interbase Public License</li>
<li>Both the Firebird Relational Database and the Firebird .NET Data Provider can be
downloaded from <a href="http://sourceforge.net/projects/firebird/">here</a></li>
<li>The Firebird .NET Data provider has been made
available by Carlos Guzmán Álvarez (aka "Carlos G.A."), who has also made a
number of contributions to the OdbcJdbc code</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Currently, it is able to connect to Firebird and Interbase databases
and execute commands</li>
<li>The new data
provider/driver is written in C# and provides a high-performance native
implementation of the GDS32/API functions. This means that .Net developers
will be able to access Firebird databases without the need of Firebird
client install</li>
<li>In support of the new module, a new mailing list
<a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a> has
been created. Please use this list for any
questions that you may have about the provider</li>
<li>Stuff that works:
<ul>
<li>Currently implemented classes:
<ul>
<li>Connection and Connection Pooling</li>
<li>Command</li>
<li>Transaction</li>
<li>CommandBuilder</li>
<li>DataAdapter</li>
<li>DataReader</li>
<li>Error</li>
<li>ErrorCollection</li>
<li>Exception</li>
<li>Parameter</li>
<li>ParameterCollection</li>
<li>Transaction</li>
</ul>
</li>
</ul>
</li>
</ul>
** Action Plan
<ul>
<li>Bug fixing</li>
<li>Improving API reference documentation</li>
<li>Full testing with Firebird 1.5</li>
<li>Test with Mono ( http://www.go-mono.com )
<ul>
<li>Status : Started</li>
</ul>
</li>
<li>Support for array datatype
<ul>
<li>Status : Started</li>
<li>Comments: See Interbase API reference documentation</li>
<li>Add new file FbArray.cs for array fields management</li>
</ul>
</li>
<li>Support for Stored Procs calls that have returns values
<ul>
<li>Status : Pending.</li>
<li>Comments: Modify the isc_dsql_prepare method of GDS implementation for
allow to return the output parameters.</li>
</ul>
</li>
<li>Implementation of FbClientPermission and FbClientPermissionAttribute
<ul>
<li>Status : Pending</li>
<li>Comments: See if these are really needed for Firebird</li>
</ul>
</li>
<li>Improve Logger implementation
<ul>
<li>Status: Pending</li>
</ul>
</li>
</ul>
** Testing
<ul>
<li>Need a working mono and mcs</li>
<li>Need access to a Firebird Relational Database or you can download
it from <a href="http://firebird.sourceforge.net">here</a></li>
<li>Get the Firebird .NET data provider from here as
<a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a>. Make
sure the Firebird .NET data provider binary assembly FirebirdSql.Data.Firebird.dll is
installed in the same place as the mono class libraries.</li>
<li>Has a ConnectionString format:
<pre>
"Database=databasefile.gdb;User=user;Password=pass;Dialect=3;Server=hostname"
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using FirebirdSql.Data.Firebird;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Database=C:\\PROGRAM FILES\\FIREBIRD\\EXAMPLES\\EMPLOYEE.GDB;" +
"User=SYSDBA;" +
"Password=masterkey;" +
"Dialect=3;" +
"Server=localhost";
IDbConnection dbcon = new FbConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql = "SELECT * FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
object dataValue = myReader.GetValue(0);
string sValue = dataValue.ToString();
Console.WriteLine("Value: " + sValue);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r FirebirdSql.Data.Firebird.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r FirebirdSql.Data.Firebird.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
+4 -6
View File
@@ -1,9 +1,7 @@
* The GCC front-end
The GCC front-end will accept input in a binary file with
codes in the Common Intermediate Language (CIL), and generate
native code.
This will allow pre-compilation and full optimization to take
place before a program is executed.
Jeremy Singer has developed a .NET backend for GCC, his
research work is available <a
href="http://www.cl.cam.ac.uk/~jds31/research/gccnet/">here</a>.
+154
View File
@@ -0,0 +1,154 @@
* Gtk#
<a href="http://gtk-sharp.sourceforge.net">Gtk#</a> (Gtk
sharp) is a set of C# language bindings for the
<a href="http://www.gtk.org">Gtk+</a> toolkit and other
libraries that are part of the
<a href="http://www.gnome.org">GNOME</a> platform .
** API of Gtk#
The API is browsable
<a href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">here</a>
** Where to learn more.
Visit the official site for the <a href="http://gtk-sharp.sourceforge.net">Gtk# Project</a>.
The <a href="http://www.go-mono.org/faq">Mono FAQ</a> has some useful
information too.
** GTK# On Linux
<p>Where to get distributions of GTK# for Linux:
<ul>
<li><a href="http://gtk-sharp.sourceforge.net">RPMs</a></li>
<li><a href="http://www.debianplanet.org/mono/">Debs</a></li>
</ul>
<p>Buidling on Linux:
<ul>
<li>Get GTK# source from <a href="http://gtk-sharp.sourceforge.net">Gtk# Project</a>.</li>
<li>run ./autogen.sh --prefix=my_mono_installation_prefix</li>
<li>make</li>
<li>make install</li>
</ul>
** GTK# On Windows
<p>There is a Windows Installer for GTK# <a href="http://www.sport-huettn.de/mono/gtk-sharp-0.6-stable-2.exe">here</a>.
<p>If you want to build GTK# yourself on Windows:
<p>To build gtk# under windows, you will need the following:
<ul>
<li>cygwin from <a href="http://www.cygwin.com/">here</a> When installing Cygwin via setup.exe,
by default binutils and other tools do not get installed; you have to make
sure to select these items. Just make
sure Base and Development are set to Install.</li>
<li>Mono 0.17 or later from <a href="http://www.go-mono.com/download.html">here</a>
You can use Windows Setup Wizard (NT/2000/XP).</li>
<li>GTK+ 2.0 (and dependencies). You can obtain gtk+ 2.0 by either of the
following:
<ul>
<li>You can get a Windows Installer at:
<a href="http://www.dropline.net/jade/download.html">here</a> </li>
<li>or get the separate binary and dev/lib packages at
at <a href="http://www.gimp.org/~tml/gimp/win32/downloads.html">here</a> </li>
<li>or binary package from Dev-C++ site <a href="http://www.bloodshed.net/dev/packages/gtk.html">here</a> </li>
<li>or get Gtk4Win <a href="http://wingtk.sourceforge.net/index.html">here</a> </li>
<li>or the source at <a href="http://www.gtk.org/">here</a> </li>
</ul>
</li>
<li>binary distriubtion of a current web browser
like Internet Explorer 4.0, Mozilla 1.0, or Netscape 7.0 which
includes things like msvcrt.dll.</li>
<li>Microsoft .NET Framework at
<a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a> </li>
<p>If you are running Windows 95/98/ME, then you will need Unicode support.
Look in
mono-list archives for information about how to get
Mono to work on Windows 9x.
<a href="http://lists.ximian.com/archives/public/mono-list/2002-December/004158.html">here</a>
<p>Environment Variables to set:
<ul>
<li>PATH - set to your mono installation bin and lib path.
For example, my mono installation prefix is:
<pre>
F:/cygwin/home/DanielMorgan/mono/install
</pre>
<p>So, I would set my PATH in the Windows Control Panel as:
<pre>
F:/cygwin/home/DanielMorgan/mono/install/bin;F:/cygwin/home/DanielMorgan/mono/install/lib</li>
</pre>
</li>
<li>LD_LIBRARY_PATH - set to your mono installation lib path</li>
<li>PKG_CONFIG_PATH - set to your mono installation lib/pkgconfig path, such
as,
<pre>
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig</li>
</pre>
<p>If you got the gtk-sharp source, cd to the gtk-sharp directory, type:
<pre>
./autogen.sh --prefix=~/mono/install
</pre>
<p>Set your --prefix= to whatever your mono installation prefix is located.
This will take awhile to go through the ./autogen.sh and ./configure...
<p>After that it finishes succesfully, you run make with the makefile.win32
like:
<pre>
make -f makefile.win32
</pre>
<p>After that finishes succesfully, you can copy to your mono installation lib
path like:
<pre>
cp */*.dll ~/mono/install/lib
</pre>
</ul>
<p>The pkg-config files for
gtk+ 2.0 and dependencies will need to be set correctly if they haven't
already been.
<p>Look in your mono installation/lib/pkgconfig, such as,
<pre>
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig
</pre>
<p>You will find files like: gtk+-2.0.pc
<p>Edit the line that says
<pre>
prefix=something
</pre>
<p>And set it to your mono installation prefix, such as,
<pre>
prefix=F:/cygwin/home/DanielMorgan/mono/install
</pre>
<p>Do this for all the .pc files in that directory. If there are not any, then
you will need to create them. Or get them from somewhere like the dev
packages at
<a href="http://www.gimp.org/~tml/gimp/win32/downloads.html">here</a>
** GTK# On FreeBSD
TODO. Any volunteers?
** GTK# On Solaris
TODO. Any volunteers?
** GTK# On AIX
TODO. Any volunteers?
Executable
+157
View File
@@ -0,0 +1,157 @@
* IBM DB2 Data Provider
<ul>
<li>ADO.NET Data Provider for <a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a></li>
<li>Exists in namespace DB2ClientCS and assembly Mono.Data.DB2Client</li>
<li>The source code exists at mcs/class/Mono.Data.DB2Client</li>
<li>Requires the Call Level Interface to IBM DB2 shared library. This
is db2cli.dll on Windows. The IBM DB2 CLI API is very similar to the ODBC API. If
you take a look at Mono's <a href="http://www.go-mono.com/odbc.html">System.Data.Odbc</a> ODBC provider, you will see the
DllImport's have similiar function names.</li>
<li>IBM DB2 Provider created by Christopher Bockner.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Compiles on Windows and Linux. Works on Windows. Still needs to be tested on Linux.</li>
<li>Able to connect to IBM DB2</li>
<li>Able to execute DML, such as, CREATE TABLE via ExecuteNonQuery()</li>
<li>Christopher says it can retrieve data via the DB2ClientDataReader</li>
</ul>
** Action Plan
<ul>
<li>Still needs work to get it to retrieve data via ExecuteReader() and
use the data reader to read data.</li>
</ul>
** Testing
In order to test.
<ul>
<li>Have working mono and mcs setup</li>
<li>Have access to an IBM DB2 database. If you do not have access, download the
<a href="http://www-3.ibm.com/software/data/db2/">IBM DB2</a> software. There
are versions for Windows, Linux, AIX, and Sun Solaris.</li>
<li>Make sure the assembly Mono.Data.DB2Client.dll was built and installed
where the other class libraries are installed.</li>
<li>If you do not have the source to mcs, get the source from
<a href="http://www.go-mono.com/download">here</a></li>
<li>Has a ConnectionString format like ODBC</li>
<li>Here is a ConnectionString format if you have a DSN setup:
<pre>
"DSN=dataSetName;UID=myuserid;PWD=mypassword"
</pre>
</li>
<li>Here is a ConnectionString format if you do not have a DSN (have not
gotten this to work though, so, I am open to suggestions):
<pre>
"DRIVER={DB2 Driver};SERVER=localhost;DATABASE=test;UID=myuserid;PASSWORD=mypassword"
</pre>
</li>
<li>In mcs/class/Mono.Data.DB2Client/Test/DBConnTest, you will find
a DBConnTest.cs.</li>
<li>To build DBConnTest:
<ul>
<li>On Unix:</li>
<pre>
mcs DBConnTest.cs -r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
<li>On Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe DBConnTest.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
<li>To run it on mono:
<pre>
mono DBConnTest.exe database userid password
</pre>
</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.DB2Client;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"DSN=sample;UID=db2admin;PWD=mypass";
IDbConnection dbcon = new DB2ClientConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"CREATE TABLE mono_db2_test1 ( " +
" testid varchar(2), " +
" testdesc varchar(16) " +
")";
dbcmd.CommandText = sql;
dbcmd.ExecuteNonQuery();
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.DB2Client.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
-5
View File
@@ -56,11 +56,6 @@ TODO=multimedia
<a name="projects">
** Projects
<ul>
TODO=xmlStorage,
* Implement an xmlStorageSystem for the CLI:
<a href="http://www.soapware.org/xmlStorageSystem">
http://www.soapware.org/xmlStorageSystem</a>
TODO=guavac,Java compiler for .NET
* You could take one of the existing Java compilers
+577 -31
View File
@@ -9,8 +9,13 @@
Mono includes: <a href="c-sharp.html">a compiler</a> for the
C# language, a <a href="runtime.html">runtime</a> for the
Common Language Infrastructure (also refered as the CLR) and a
set of <a href="class-library.html">class libraries</a>.
Common Language Infrastructure (also referred as the CLR) and a
set of <a href="class-library.html">class libraries</a>. The
runtime can be <a href="embedded-api.html">embedded</a> into your
application.
Mono has implementations of both <a href="ado-net">ADO.NET</a>
and <a href="asp-net">ASP.NET</a> as part of its distribution.
You can read our <a href="rationale.html">rationale</a> for
this project. If you have questions about the project, please
@@ -20,7 +25,7 @@
You might also want to <a href="download.html">Download the
source</a> for our work so far. Grab a <a
href="snapshots">snapshot</a> of our current work, or <a
href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?hidenonreadable=1&f=u&logsort=date&sortby=file&hideattic=1&cvsroot=Mono">browse
href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?hidenonreadable=1&f=u&logsort=date&sortby=file&hideattic=1&cvsroot=mono">browse
the sources</a>
You might want to <a
@@ -29,6 +34,12 @@
You can contact the team at: <a
href="mailto:[email protected]">[email protected]</a>
In order to follow the process of the project and to learn more
about the team members we have created the <a
href="http://monoevo.sf.net/mwn/index.html">Mono Weekly News letter</a>.
Which archives can be found <a
href="http://monoevo.sf.net/mwn/archives.html">here</a>.
</td>
<td>
<table border=1>
@@ -60,7 +71,7 @@
</td>
<td>
Working:<br>
Linux/x86, Linux/PPC<br>
Linux/x86, Linux/PPC, S390<br>
In progress:<br>
StrongARM, SPARC.
</td>
@@ -70,7 +81,7 @@
<b><a href="class-status.html">Classes</a></b>
</td>
<td>
Corlib is self hosting.
All assemblies compile.
</td>
</tr>
<tr>
@@ -81,18 +92,551 @@
<a href="index.rss"><img src="images/xml.gif"></a>
</td>
</tr>
<tr>
<td>
<a href="screenshots.html">Screenshots</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<h3>Events</h3>
@item Feb 25th, 2003: Mono 0.20 for Windows released; New Apache module released.
<ul>
<li><b><a
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
ONE 2002:</a></b> Come see Paolo, Mike and Miguel from the Mono team at the .NET ONE conference in Frankfurt.</ul>
</ul>
Packages of Mono for Windows have been <a
href="archive/mono-0.20-stable-win32-2.exe">released</a>.
Thanks to Daniel, Johannes and Paolo for setting this up.
Daniel has released a new version of his Mono Apache module that
handles ASP.NET. The code is available at <a
href="http://apacheworld.org/modmono/">here</a>
Nick has posted an update on the progress on our <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/012467.html">regression
tests</a>. We are looking for more tests, and more volunteers to write them.
Also, remember to contribute to the Gtk# documentation effort,
momentum is picking up! See the entry for Feb 18th for more details.
@item Feb, 23rd, 2003: Mono 0.20 released; Gtk# 0.8 released.
Mono 0.20 has been released. Check out the <a
href="archive/mono-0.20">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
There are no major features in this release, mostly bug fixes
and performance improvements.
Gtk# 0.8 has been <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2003-February/001114.html">released</a>
<b>Important</b>: The contributed binaries for Windows
binaries of Mono 0.20 contain a virus. Please read <a
href="virus.html">this</a> if you installed the binary.
@item Feb 18th, 2003: Volunteers to document Gtk#
With the availability of a documentation browser, we are
looking for volunteers to help us complete the documentation
of the Gtk# binding for Mono.
Experience with Gtk is useful, but not mandatory. We have
checked in stubs, and we have instructions, and resources to
how to complete this process <a
href="documentation.html">here</a>. Mail the <a
href="mailto:[email protected]">[email protected]</a>
for further discussion.
@item Feb 14th, 2003: OpenGL# bindings for Mono; Mono Basic updates.
Mark Crichton has completed his OpenGL/GLUT bindings for
Gnome. A screenshot can be seen <a
href="sshots/oglcs.png">here</a>. The bindings are available
on the Mono CVS repository on the module `glgen'. This is a
straight binding to the C API.
Marco has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/011752.html">posted
an update</a> on the current state of the free VB.NET compiler
for Mono.
We are looking for contributors and maintainers to the
JavaScript compiler as well (Janet)
@item Feb 12th, 2003: New assemblies, Gtk# stub documentation, Authenticode, Polish site
Mono now distributes a few new assemblies: Mono.Security.Win32
as a layer to use the crypto functionality on Win32. The
Mono.Posix assembly which contains functionality for taking
advantage of Unix facilities.
A <a href="http://www.go-mono.pl/">Mono site in Poland</a>.
Stubs for the Gtk# documentation have been checked into CVS.
If you want to contribute please read <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/012108.html">this
message</a>
Mono development is moving quickly: Tim and Daniel have been
improving the Oracle database provider and Sebastien Pouliot
has got code signing to work using Authenticode with pure open
source and managed code. Plenty of new VB.NET work from Marco
(compiler) and Daniel (runtime). Also Jackson has resumed
work on the IL assembler and the fully managed library to
generate CIL images (Sergey wrote the first Mono.PEToolkit).
@item Feb 11th, 2003: Mono Weekly News, New assemblies.
<a href="http://monoevo.sourceforge.net/mwn/index.html">Mono
Weekly News</a>: Includes a new interview, software
announcements and the PHP/Mono integration.
@item Feb 5th, 2003: MonoDoc 0.1
A <a
href="http://www.go-mono.com/archive/monodoc-0.1.tar.gz">preliminary
release</a> of the Mono Documentation Browser is now availble.
Release <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/011935.html">notes</a>
@item Jan, 22th, 2003: Mono wins award, OpenLink releases Virtuoso.
Mono won the `Best Open Source Project' award at the Linux
World Expo. A description is <a
href="http://linuxtoday.com/news_story.php3?ltsn=2003-01-23-024-26-OP-EV">here</a>
Open Link has a <a
href="http://biz.yahoo.com/prnews/030123/neth013_1.html">press
release</a> about Virtuoso 3.0: the first commercial product
shipping that uses Mono.
@item Jan, 20th, 2003: Mono 0.19 released; Screenshots page; Gtk# 0.7
Mono 0.19 has been released. Check out the <a
href="archive/mono-0.19">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
There are no major features in this release, mostly bug fixes
and performance improvements.
We have now a new section <a href="screenshots.html">with
screenshots</a> of various Mono applications. You can see
there the new released Debugger, as well as the work in
progress on the documentation browser.
<a href="http://gtk-sharp.sf.net">Gtk# 0.7</a> has been <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/005222.html">released</a>
@item Jan, 19th, 2003: Mono Debugger released.
After six month of extensive development, Martin Baulig has
released the first version of the Mono debugger. The Mono
debugger is written in C# and can debug both managed and
unmanaged applications, support for multiple-threaded
applications and should be relatively easy to port to new
platforms.
Details of the release are available in <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/005192.html">post</a>.
The debugger contains both Gtk# and command line interfaces.
The debugging file format used in Dwarf (its already supported
by our class libraries and the Mono C# compiler; To debug C
applications, you need a recent GCC, or to pass the -gdwarf-2
flag to gcc).
@item Jan, 17th, 2003: DB2 provider, MacOS X
Christopher Bockner has contributed a DB2 System.Data client.
MacOS X support on the runtime has been integrated into the
distribution, and MCS works with it.
Zoltan has managed to get <a
href="http://radio.weblogs.com/0109845/">IKVM</a> (a Java VM
for .NET) to run with Mono. The HelloWorld.class runs with
the Mono runtime.
@item Jan, 13th, 2003: Mono 0.18 released
Mono 0.18 has been released. Check out the <a
href="archive/mono-0.18">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
@item Jan 10th, 2003: Mono Weekly News.
A new issue of the <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/004903.html">Mono
Weekly News</a> has been published.
Check out the <a href="crypto.html">Crypto status</a> page
that Sebastien has put together.
@item Jan 3rd, 2003: Glade#, Code Coverage, Apache, MBas, Debugger.
Rachel has made Glade# use attributes so binding C# widgets to
the designed widgets is now easier than ever. Alp has
improved this to use implicit names as well.
Martin's Mono debugger now has support for multi-thread
debugging. Special feature: breakpoints can be defined in a
per-thread basis now.
Daniel López has checked in his Apache module to integrate
Mono and Mono's ASP.NET support as an Apache module. Gonzalo
has folded his new Mono hosting classes into this module (they
are now shared between XSP and mod_mono). You can get the
mod_apache from CVS (module name: mod_mono).
Mono Basic improvements: Marco has added support for more
statements on the grammar.
Zoltan has <a href="http://www.nexus.hu/vargaz2/">posted</a>
his Code Coverage analysis tool for Mono.
@item Dec 17th, 2002: Mono: Commercial uses.
<a href="http://www.tipic.com">Tipic</a> today <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=tipic_mono">announced</a>
their work on porting their Instant Messaging Server platform
to run on Mono.
<a href="http://www.winfessor.com">Winfessor</a> also <a
href="http://www.winfessor.com/press.asp">announced</a> the
availability of their Jabber SDK to run on Mono.
Also two weeks ago we mentioned <a
href="http://www.openlinksw.com">OpenLink Software's</a> <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">announcement</a>
of their product, also using Mono.
@item Dec 10th, 2002: Gtk# 0.6 released; Mono 0.17 packages for Windows and Debian.
Mike Kestner <a
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003961.html">announced
Gtk# 0.6</a>. This new release includes many new features and
bug fixes, and is the perfect companion to the <a
href="archive/mono-0.17">Mono 0.17</a> release.
Johannes has contributed a Windows-ready package of Mono 0.17,
and its available from our <a
href="download.html">download</a> page.
Alp Toker has <a href="http://www.atoker.com/mono/">Debian packages</a>
@item Dec 9th, 2002: Mono 0.17 has been released
Mono 0.17 has been released. Check out the <a
href="archive/mono-0.17">release notes</a> for a more detailed
list. You can get it <a href="download.html">here</a>.
Many new features as well as plenty of bug fixes. Many new
System.Data providers and a more mature System.Web (ASP.NET)
which can now be hosted in any web server. A simple <a
href="archive/xsp-0.2.tar.gz">test web server</a> to host
asp.net has been released as well.
This version also integrates Neale's s390 port.
This release also includes a new exception handling system
that uses the gcc exception information that vastly improves
our internalcall speed (15% faster mcs compilation times).
@item Dec 8th, 2002: VB.NET, Oracle Provider.
Marco has got the Mono Basic compiler up to speed (support for
classes, modules, expressions, object creation, method
invocation, local variables, and some statements). The
compiler is based on the work from Rafael Teixeira on MCS.
Screenshots: <a
href="http://modgb.sourceforge.net/monobasic_snap.png">in
Windows doing Windows.Forms</a> and in Linux doing <a
href="images/gtk-vb.png">VB with Gtk#</a> (courtesy of Alp).
Daniel Morgan has checked in his Oracle provider to the CVS
repository as well.
@item Nov 27th, 2002: Press release, tutorials, Windows Forms, ADO.NET, Magazine.
<a
href="http://www.business2.com/articles/mag/0,1640,45454,FF.html">The
Penguin Takes Flight</a>: an article written by Erick
Schonfeld appears on the December issue of <a
href="http://www.business2.com/">Business 2.0</a> magazine.
<a href="http://www.openlinksw.com">OpenLink</a> and <a
href="http://www.ximian.com">Ximian</a> made <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">joint
announcement</a> on the plans of OpenLink to ship their <a
href="http://www.openlinksw.com/virtuoso/index.htm">Virtuoso</a>
server on Unix using Mono.
Martin Willemoes's <a href="gnometutorial">GNOME.NET
tutorial</a> is now available from the main Mono site. This
tutorial is a collaborative effort to teach developers how to
use Mono to create Mono applications using <a href="http://gtk-sharp.sf.net">Gtk#</a>
Dennis Hayes has posted and <a
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003800.html">update</a>
on the work to get Windows.Forms working on Mono. There is a
new test application that people can use to test their
controls. If you are interested in working on Windows.Forms,
you can participate in the <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms
mailing list</a>
Brian Ritchie has been working on an ADO.NET <a
href="http://brianritchie.webhop.net/ideas/adocodegen.aspx">data
layer</a> and an <a
href="http://brianritchie.webhop.net/ideas/appserver.aspx">application
server</a> for Mono.
Dan Morgan has checked in his Oracle provider, and Tim Coleman
continues to work on the TDS implementation of the data classes.
The rest of the team has been working on bug fixing in the
runtime, the compiler, and the class libraries. Also,
compilation speed has increased recently by performing a
number of simple optimizations in the compiler.
@item Nov 19th, 2002: Crypto update; Books; Gtk# Datagrid; .NET ONE Slides
Sebastien has got DSA and RSA signatures <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003497.html">working</a>
as well as RSA <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003502.html">encryption</a>.
We now distribute Chew Keong TAN's BigInteger classes.
Brian has contributed a System.Data multiplexor in Mono, it
can be found in the Mono.Data assembly. The details of this
new technology are <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003400.html">here</a>.
It works in Mono and the .NET Framework.
Larry O'Brien has announced the candidate book for <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003500.html">
Thinking in C#</a>. The book is Mono-friendly.
Another book that covers mono (available in German only) is <a
href="http://www.databecker.de/frames.php?PHPSESSD=4948515556575049525459495248485949485348&PHPSESSID=6cc68dbcfbcbacd7b82a984b0700d5d6&t=2">
here</a>.
Dan Morgan has implemented a DataGrid widget for Gtk#, you can
see Windows screenshots for it <a
href="images/GtkSharpDataGridScreenshot.png">here</a> and <a
href="images/SqlSharpGtkScreenshot4.png">here</a>.
Slides from the Mono developers for the .NET ONE conference are available now:
<ul>
<li><a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/DotNetOneKeynote.sxi">
Mono Keynote presentation</a>
<li><a href="http://primates.ximian.com/~lupus/slides/embed/">Hosting the Mono Runtime</a><br>
The simple embedding of Mono in Perl is available <a
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">here</a>
<li><a href="http://primates.ximian.com/~lupus/slides/jit/">The Mono JIT compiler</a>
<li><a href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">
Mono C# Compiler Overview</a>
</ul>
A couple of other presentations from Miguel's trip to Europe
are available <a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/">here</a>
in Open Office file format.
@item Nov 8th, 2002: Mono s390, Database work, new JIT updates.
Neale Ferguson has contributed <a href="download.html">RPM
packages</a> of Mono for the Linux/s390.
Tim Coleman posted an <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003329.html">update</a>
on the improvements in the System.Data
The new JIT engine can run 72 out of our 154 tests for the
virtual machine, and it also got exception support this week.
@item Nov 1st, 2002: TDS, Crypto, Gtk#, Winforms, bug fixes.
Tim's SqlClient is <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003161.html">now
capable</a> of communicating with the Microsoft SQL server
using the TDS protocol. A screenshot showing a sample client
running with <a href="http://gtk-sharp.sf.net">Gtk#</a> on
Windows is shown <a
href="images/SqlSharpGtkSceenshot3.png">here</a>
Sebastien has made all symetric ciphers functional on all
supported modes; All the classes in Security.Cryptography are
present and the X590 certificates are now in too. Jackson has
been working on the Security classes.
Many bug fixes all over the place: class libraries (Dick,
Piers, Ville, Zoltan, Gonzalo, Dan, Atsushi, Nick, Phillip),
compiler, runtime engine. A big thank goes for everyone who
has been providing bug reports for us to track down.
Gaurav has been working on multiple WebControls. Gonzalo migrated
the ASP.NET engine to use POST for interaction.
In the Gtk# land saw the integration of gda, gnome-db and GStreamer
bindings.
Windows.Forms classes now build on Linux and Windows, check
out the status pages for areas of collaboration.
@item Oct 24th, 2002: S390 support, XSP/ASP.NET, Win32 contributors, TDS.
Today Neal Ferguson's support for the IBM S390 was checked
into CVS.
The XSP processor has been fully integrated into the
System.Web assembly, and Gonzalo has finished the hosting
interfaces in Mono. This means that it is possible to embed
ASP.NET with the same APIs used in Windows, and is possible to
easily embed it with Apache for example. The XSP module has
now become a shell for testing the System.Web classes.
We are looking for contributors that know Win32 to contribute
to the Windows.Forms implementation. If you want to help
write some controls using the Win32 API, get in touch with our new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">[email protected]
list</a> mailing list.
Tim's TDS System.Data set of classes can now talk to SQL
servers using the TDS protocol (version 4.2) with
connection pooling. Currently it can connect, run
transactions, update/insert/delete, and read some types. A
data adapter is also coming soon.
@item Oct 21th, 2002: Crypto, Winforms list, Database, GConf, Debugger.
Sebastien Poliot has made a lot of progress, he reports that
DES and TripleDES have been fixed; Rijndael and CFB modes
still have problems in some configurations and some areas that
are not supported by the .NET framework.
Last week we created a new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
list</a> to discuss the Mono Winforms implementation.
Tim has started a full C# implementation of the TDS protocol
and the providers, and Brian continues his work on his ODBC
binding.
Rachel Hestilow has also checked in a binding for GConf. This
binding <a
href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">is
unique</a> in that it uses some features in the CLI to support
complex data types, and allows the user to keep only one
representation of the types instead of two (the master types
is defined in CLI-land). Also Property Editors (<a
href="http://primates.ximian.com/~miguel/shots/gconf-shot.png">shot</a>)
simplify the creation of user interfaces that bind their
configuration to backend keys, following the <a
href="http://developer.gnome.org/projects/gup/hig/1.0/">GNOME
Human Interface Guidelines.</a>
Martin is now on vacation, but before leaving he produced a
number of documents detailing the state of the debugger. The
major missing feature is full support for debugging unmanaged
applications (it requires dwarf-2 handlers for types). We
will do some polishing of the user interface (<a
href="http://primates.ximian.com/~miguel/shots/debugger-4.png">new
shot</a>) to expose the existing and rich functionality to the
users and try to release a preview of the debugger at the same
time as Mono 0.17.
@item Oct 14th, 2002: Crypto, Database work, Debugger, Documentation.
Brian, Daniel and Rodrigo have been busy working on the ODBC
provider for Mono. Daniel posted some <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002755.html">updates</a>.
Brian posted <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002758.html">details
about the ODBC.NET</a> provider.
Also Sebastien Pouliot has been improving the various
cryptographic classes in Mono, something that we had not done
in quite some time. We are looking for a way to handle
big-nums. We need either a managed or unmanaged set of
classes for handling large numbers, and some volunteers to
expose this functionality to C# (Either as an internal
assembly, or as a set of P/Invoke, Internal call wrappers).
Martin has got our debugger to support adding breakpoints at
file/line combos. This was more complex than generic
breakpoints in routines, because these breakpoints are set on
routines that probably have not been JITed just yet. Martin's
focus now is on stabilizing our debugger and aim for a public
release of it.
We have also imported the ECMA documentation into a separate
module, and with the help from Scott Bronson we will have the
necessary XSLT tools to finish our native documentation
browser for Mono. This together with the work from Adam will
be the foundation for the <a href="classlib-doc.html">Mono
Documentation Tools</a>.
@item Oct 9th, 2002: Various Mono updates.
Brian Ritchie, Daniel Morgan, Rodrigo Moya and Ville Palo have
been working on various database providers. The MySQL has
seen a lot of work, and a new ODBC provider is now on CVS and
more extensive regression tests have been checked in.
Dick Porter is our background hero and keeps fixing the
low-level bugs in the portability layer. Now the Mono handle
daemon should be a lot more robust and will no longer leave IPC
regions. Gonzalo Paniagua has initiated the migration of XSP
into the System.Web class libraries now that we have a
complete HttpRuntime implementation. This means that you are
able to embed the ASP.NET processor into any web server you
want. This also includes support for the system-wide
configuration file `machine.config'.
Martin Baulig has been busy with the Mono Debugger, you can see how
it looks <a
href="http://primates.ximian.com/~miguel/debugger-1.png">here</a>
and <a
href="http://primates.ximian.com/~miguel/debugger-2.png">here</a>.
Now local variables and breakpoints are supported, and we are
working on the UI elements to simplify their use (as seen on
the screenshot).
<a href="http://gtk-sharp.sf.net">Gtk#</a> has seen a lot of
activity specially as we start to build larger applications.
Vladimir Vukicevic, Kristian Rietveld, Rachel Hestilow, Mike
Kestner and Miguel de Icaza have been busy improving it.
mPhoto which is a Photo management application for Mono and
Gtk# is seen <a
href="http://primates.ximian.com/~miguel/shots/mphoto-2.jpg">here</a>.
Chris Toshok the man behind LDAP in Evolution continues to
work on the Mono.LDAP# implementation.
Dietmar Maurer and Paolo Molaro are still busy working on our
new optimized JIT/ATC engine and are making great progress.
The code base has been designed to ease the implementation of
more advanced compiler optimizations, and optimizations can be
chosen individually so they can be tuned for a particular
processor, or use profile-based information to improve the
performance.
@item Oct 1st, 2002: Mono 0.16 released; Debugger updates.
Mono 0.16 has been released. Source and RPMs are <a
href="download.html">available</a>. The release notes are <a
href="archive/mono-0.16">here</a>.
Martin's debugger can debug both managed and unmanaged code.
Recently Martin added support for locals, parameters, and
breakpoints on top of the existing infrastructure (his
debugger supported instruction-level and source-code level
single-stepping).
@item Sep 19th, 2002: Mono Survey.
@@ -143,7 +687,7 @@
System.DirectoryServices assembly.
Andrew has also continued with some of the cryptographic
classes implemetation.
classes implementation.
After much public debate, we have chosen a new <a
href="winforms.html">strategy to implement winforms</a>.
@@ -199,6 +743,8 @@
@item Aug 20th, 2002: Remoting work, Resources, SPARC checkins, ADO.NET
<b>San Francisco</b>: August 14th. Linux World Expo.
Mark Crichton has checked in his patches to get the SPARC port
on par with the PPC port.
@@ -298,7 +844,7 @@
an update</a> on the ASP.NET widgets that are still pending. Patrik is back, and he is
working with Gonzalo to streamline the pipeline
Rachel quietly commited to Gtk-Sharp support for marshaling
Rachel quietly committed to Gtk-Sharp support for marshaling
structures (very important for Gtk#). This uses extensively
the new marshaling code that Dietmar added to the runtime.
@@ -341,7 +887,7 @@
@item Jul 20th, 2002: Spanish Mono Tutorial.
A spanish tutorial on using Mono is <a
A Spanish tutorial on using Mono is <a
href="http://mono.es.gnome.org/tutoriales/mono-linux/">here</a>.
Also the <a
href="http://mono.es.gnome.org/tutoriales/mono-puf/">FAQ</a>
@@ -380,7 +926,7 @@
Sergey Chaban has got Gtk# working on Windows, you can see
some screenshots: <a href="sshots/Gtksharp-1.jpg">sample apps</a> and
<a href="sshots/Gtksharp-2.jpg">running with a russian charset</a>.
<a href="sshots/Gtksharp-2.jpg">running with a Russian charset</a>.
@item Jul 16th, 2002
@@ -412,7 +958,7 @@
run the compiler on Linux.
* Martin fixed the remaining bugs in the compiler that stopped it from
compiling the `corlib'. The resuling image still contained errors though.
compiling the `corlib'. The resulting image still contained errors though.
* On July 8th, Radek got the PowerPC port to bootstrap
the C# compiler. This is important, because it exposed
@@ -560,11 +1106,11 @@
bindings, that should simplify application development.
A big thanks goes to Dennis Hayes for getting the
Windows.Forms work together, and commiting so many stubs for Windows.Forms.
Windows.Forms work together, and committing so many stubs for Windows.Forms.
@item Jun 25, 2002
I am updating the Mono site from the Unesco offices in
I am updating the Mono site from the UNESCO offices in
Uruguay, the <a href="http://www.gnome.org/resources/calendar/roadshow/GNOMEenelSur.html">South-America trip</a>
to promote free software is going very well.
@@ -606,7 +1152,7 @@
@item Jun 22, 2002
Mono's ASP.NET has rendered its first page on Linxu for the
Mono's ASP.NET has rendered its first page on Linux for the
first time (Gonzalo and Paolo).
Also, we are getting close to
@@ -730,7 +1276,7 @@
Lawrence has been working really hard in fixing, improving and
polishing the underlying network infrastructure.
The Rafael and Chris have commited the beginning of the
The Rafael and Chris have committed the beginning of the
VisualBasic.NET runtime support to CVS.
Jesus has contributed the beginning of the SoapFormatter
@@ -765,7 +1311,7 @@
This is another milestone for our <a
href="ado-net.html">ADO.NET implementation plans</a>
We have a little surprise for everyone tracking the news on tuesday ;-)
We have a little surprise for everyone tracking the news on Tuesday ;-)
@item May 2nd, 2002
@@ -987,7 +1533,7 @@
We are very close to have a complete self hosting environment now.
Mono is temporarly using the Bohem GC garbage collector while
Mono is temporarily using the Bohem GC garbage collector while
we deploy the more advanced ORP one.
@item Mar 5, 2002
@@ -1105,7 +1651,7 @@
AppDomains have been deployed (Dietmar). Socket work is done
(Dick). Corlib compiled with no refs to mscorlib (Dan). New
comprehensive tests for colib bits (David). Nick is driving the
comprehensive tests for corlib bits (David). Nick is driving the
regression test suite efforts and class library completeness.
New System.Data work (Chris). Bug fixes (Paolo, Duncan, Ravi, Miguel)
@@ -1240,7 +1786,7 @@
here</a>
Last minute breaking news: Paolo got our compiler in Linux to
compile fib.cs, patches are comming tomorrow once we have
compile fib.cs, patches are coming tomorrow once we have
ChangeLog entries.
@item Jan 4, 2002
@@ -1419,7 +1965,7 @@
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2001-November/000013.html">
update</a> on his work on Gtk#.
Ravi commited the initial support for Attributes in the
Ravi committed the initial support for Attributes in the
compiler.
Many HTML Controls from Leen checked into CVS.
@@ -1436,7 +1982,7 @@
<blockquote>
Many clean ups have been going into the class library by Nick Drochak.
Mega patch from Dietmar: he commited the flow analysis code
Mega patch from Dietmar: he committed the flow analysis code
for the JITer.
A lot of work has been going into the WebControls by Gaurav (4
@@ -1446,7 +1992,7 @@
@item Nov 1, 2001
<blockquote>
Ravi commited the caller-side method selection of methods with
Ravi committed the caller-side method selection of methods with
variable length arguments. Now he depends on Miguel finishing
the array handling support.
</blockquote>
@@ -1454,7 +2000,7 @@
@item Oct 27, 2001
<blockquote>
Lots of classes for System.Web from Gaurav were commited this
Lots of classes for System.Web from Gaurav were committed this
morning.
Some large recent developments:
@@ -1463,7 +2009,7 @@
partially integrated (we need to put the internalcalls in
place now and compile and link the decimal code).
Derek Holden commited recently the IntegerFormatter code into
Derek Holden committed recently the IntegerFormatter code into
the CVS, so we got a pretty comprehensive integer formatting
engine that we can finally use all over the place.
@@ -1578,7 +2124,7 @@
<blockquote>
Paolo has written a section on <a href="porting.html">Porting
Mono</a> to othre architectures.
Mono</a> to other architectures.
</blockquote>
@item Sep 18, 2001
@@ -1632,7 +2178,7 @@
<b>.NET Hello World is working under Mono!</b> The latest snapshots
will let you run it.
Hello World consits of 1821 CIL instructions,
Hello World consists of 1821 CIL instructions,
performs 66 subroutine calls and loads 12 classes from the corlib.dll
Good work Mono team!
+30 -173
View File
@@ -1,184 +1,41 @@
* How to debug your C# application with the JIT engine
* Debugging information
To debug a C# application you need to run the JIT in your debugger.
Compile your programs using the `-g' flag in MCS, that will all a special
resource containing debugging information to your executable.
Before you can do anything useful in a debugger, you need a symbol
file which tells your debugger about functions, types, line numbers
and such. Unfortunately, this symbol file needs to be recreated each
time the JIT compiles a new method since it doesn't know anything
about this method (especially not its memory address) before actually
compiling it.
To get stack traces with line number information, you need to run your
program like this:
You have two ways of creating a symbol file:
<b>
mono --debug program.exe
</b>
** Letting the JIT dynamically create the symbol file
Notice that the program will need to be compiled with the -g
flag and that running with --debug will slow down the execution.
This'll give you a symbol file which is suitable for debugging IL byte
code - you won't see your C# source code.
* Mono Debugger
However, this method has the advantage that it works with every assembly,
no matter whether it has been compiled with Mono's C# compiler (MCS) or
with any other compiler. It's currently the only way to debug
<tt>corlib.dll</tt> or any other library which cannot be compiled with
our compiler yet.
The Mono debugger is written in C# and can debug both managed
and unmanaged applications, support for multiple-threaded
applications and should be relatively easy to port to new
platforms.
All that you need is a dump of the IL bytecode for each assembly (including
all assemblies this assembly is referencing). This is done by using the
<tt>monodis</tt> utility:
Details of the release are available in <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/011415.html">post</a>.
The debugger contains both Gtk# and command line interfaces.
The debugging file format used in Dwarf (its already supported
by our class libraries and the Mono C# compiler; To debug C
applications, you need a recent GCC, or to pass the -gdwarf-2
flag to gcc).
<pre>
monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il<br>
monodis /home/export/martin/MONO-LINUX/lib/System.dll > System.il<br>
monodis /home/export/martin/MONO-LINUX/bin/mcs.exe > mcs.il
</pre>
This is normally done automatically, but you can also disable
it and create them by hand. See the <tt>mono</tt> manual page
for details.
Make sure that all the .il files have the same name as their corresponding
assembly and that they're all created in the current directory.
The JIT supports two different debugging file formats:
<ul>
* STABS: This is a very simple debugging format, but it may be the only one
which is supported on your system. It is limited to source files of no more
than 65.535 lines and it's type support is also very limited. You should only
use this if your debugger doesn't support DWARF 2.
To generate STABS output, use the <tt>--debug=stabs</tt> command line argument.
* DWARF 2: The DWARF 2 debugging format is a very powerful debugging format
which can handle source files of arbitrary size and has a highly sophisticated
type support. It's the recommended format unless you need to use STABS because
your debugger doesn't support DWARF 2.
To generate DWARF 2 output, use the <tt>--debug=dwarf</tt> command line argument.
</ul>
You need to regenerate the symbol file each time the JIT compiled a new
method and each time you restart the JIT. You cannot reuse your symbol file
if you start the JIT a second file, not even if you're running the same
application with the same input data a second time.
Regenerating the symbol file is done by calling the JIT's
<tt>mono_debug_make_symbols ()</tt> function from within your debugger and
then reloading the symbol files. This function creates a <tt>filename-dwarf.s</tt>
(or <tt>filename-stabs.s</tt>) assembler input file in the current directory and
an object file in <tt>/tmp/filename.o</tt> - you need to tell your debugger to
add this object file as symbol file.
If you're using the GNU debugger, this is done like this:
<pre>
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
</pre>
You can also write a GDB macro like this:
<pre>
define reload
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file /tmp/mcs.o
add-symbol-file /tmp/Mono.CSharp.Debugger.o
end
</pre>
Then you can just say <tt>reload</tt> to have GDB recreate the symbol file.
There's also an <a href="jit-debug-sample.html">example debugging session</a> using
the GNU debugger.
** Using a symbol file which have been created by the Mono C# compiler
If you compiled your application with Mono's C# compiler (MCS), you can tell it to
create a symbol file which is then processed and rewritten by the JIT engine.
To do this, you must give MCS the <tt>-g</tt> option:
<pre>
$ mcs -g Foo.cs
</pre>
This creates a <tt>Foo-debug.s</tt> assembler input file.
To use this in the JIT, you must first copy it to the target machine (the machine
where you want to run the JIT to debug your application) and run it through the
assembler to produce an object file <tt>Foo-debug.o</tt>. This object file must be
in the current directory.
Then start the JIT in your debugger and give it the <tt>--debug=dwarf-plus</tt> command
line argument.
Each time you call <tt>mono_debug_make_symbols ()</tt> from withing your debugger,
the JIT will read this <tt>Foo-debug.o</tt>, fix some machine dependent things like
memory addresses etc. in it and write it back to disk.
If you're using the GNU debugger, you'll want to use a macro like this:
<pre>
define relocate
call mono_debug_make_symbols ()
add-symbol-file /tmp/corlib.o
add-symbol-file mcs-debug.o
add-symbol-file Mono.CSharp.Debugger-debug.o
end
</pre>
If there is no <tt>assembly-debug.o</tt> file, but an <tt>assembly.il</tt> one, the
JIT will fall back to normal DWARF 2 (in the example above, <tt>corlib.dll</tt> was
compiled with Microsoft's compiler and the JIT is thus using DWARF to debug it).
This debugging method only works if you compiled your assembly with MCS, but it'll
allow you to actually debug your C# source code :-)
Here's an <a href="jit-debug-sample2.html">example debugging session</a> using
the GNU debugger.
** Breakpoints and single stepping
The JIT has a <tt>--break</tt> command line argument to insert a breakpoint at the
beginning of this method. It takes a <tt>Namespace.Class:Method</tt> argument which
is the method. This argument can be given multiple times.
However, once your application is stopped in GDB you may want to insert a breakpoint
the next time the JIT compiles a method. There's a global variable
<tt>mono_debug_insert_breakpoint</tt> which you can modify in your debugger.
If this variable is set to a non-zero value, the JIT's <tt>arch_compile_method</tt>
will insert a breakpoint the next time it is called, ie. at the top of the next
method it compiles. If this value has a positive value, it acts as a counter and is
decremented after inserting the breakpoint - setting it to a negative value will let
the JIT insert the breakpoint each time it compiles a new method.
There's also global variable <tt>mono_debug_last_breakpoint_address</tt> which always
contains the address of the last inserted breakpoint. You may manually override this
address with a <tt>nop</tt> instruction to delete the breakpoint.
For instance, I have a GDB macro called <tt>enter</tt> which I use to enter a method
rather than stepping over it:
<pre>
define enter
set mono_debug_insert_breakpoint = 1
continue
set *mono_debug_last_breakpoint_address = 0x90
relocate
frame
</pre>
Btw. speaking of single stepping - you should use your debuggers <tt>next</tt> command,
not its <tt>step</tt> command for single stepping unless you compiled the JIT without
debugging support. The reason for this is that the JIT creates machine code which contains
calls to JIT methods such as <tt>mono_object_new_wrapper</tt> at places where you don't
expect them - so unless the JIT is compiled at least without line numbers, your debugger
will enter such methods if you use <tt>step</tt> rather than <tt>next</tt>.
The debugger is available now, you can get it from <a
href="http://primates.ximian.com/~martin/debugger/mono-debugger-0.2.0.tar.gz">here</a>
-86
View File
@@ -1,86 +0,0 @@
* A debugging session using a dynamically generated symbol file.
Let's assume we have the following C# application which we want to debug:
<pre>
using System;
public class Foo
{
public struct MyStruct {
int a;
long b;
double c;
}
public static void Main ()
{
Int32 value = 5;
long test = 512;
MyStruct my_struct;
my_struct.a = 5;
my_struct.b = test;
my_struct.c = 23323.5235;
}
}
</pre>
First of all, we need to compile it and create the .il files:
<pre>
$ mcs ./Foo.cs
$ monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il
$ monodis Foo.exe > Foo.il
</pre>
Now we can start the JIT in the debugger:
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --debug=dwarf --break Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf --break Foo:Main ./Foo.exe
0x081e8911 in ?? ()
(gdb) call mono_debug_make_symbols ()
(gdb) add-symbol-file /tmp/Foo.o
Reading symbols from /tmp/Foo.o...done.
Current language: auto; currently c++
(gdb) frame
#0 Foo.Main () at Foo.il:26
26 // method line 2
(gdb) n
Foo.Main () at Foo.il:38
38 IL_0000: ldc.i4.5
(gdb) list
33 .maxstack 2
34 .locals (
35 int32 V_0,
36 int64 V_1,
37 valuetype MyStruct V_2)
38 IL_0000: ldc.i4.5
39 IL_0001: stloc.0
40 IL_0002: ldc.i4 512
41 IL_0007: conv.i8
42 IL_0008: stloc.1
43 IL_0009: ldloca.s 2
44 IL_000b: ldc.i4.5
45 IL_000c: stfld int32 .MyStruct::a
46 IL_0011: ldloca.s 2
47 IL_0013: ldloc.1
48 IL_0014: stfld int64 .MyStruct::b
49 IL_0019: ldloca.s 2
50 IL_001b: ldc.r8 23323.5
51 IL_0024: stfld float64 .MyStruct::c
52 IL_0029: ret
(gdb) until 52
Foo.Main () at Foo.il:53
53 }
(gdb) info locals
V_0 = 5
V_1 = 512
V_2 = {a = 5, b = 512, c = 23323.523499999999}
</pre>
As you see in this example, you need to know IL code to use this debugging method - but
it may be the only way to debug a library.
-70
View File
@@ -1,70 +0,0 @@
* A debugging session using a symbol file which has been created by MCS.
Let's assume we have the following C# application which we want to debug:
<pre>
using System;
public class Foo
{
public struct MyStruct {
int a;
long b;
double c;
}
public static void Main ()
{
Int32 value = 5;
long test = 512;
MyStruct my_struct;
my_struct.a = 5;
my_struct.b = test;
my_struct.c = 23323.5235;
}
}
</pre>
First of all, we need to compile it with MCS, assemble the generated .s file and
create the .il files for all referenced assemblies which were not compiled with MCS:
<pre>
$ mcs -g ./Foo.cs
$ as -o Foo-debug.o Foo-debug.s
$ monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il
</pre>
Now we can start the JIT in the debugger:
<pre>
$ gdb ~/monocvs/mono/mono/jit/mono
(gdb) r --debug=dwarf-plus --break Foo:Main ./Foo.exe
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf-plus --break Foo:Main ./Foo.exe
Program received signal SIGTRAP, Trace/breakpoint trap.
0x081e8681 in ?? ()
(gdb) call mono_debug_make_symbols ()
(gdb) add-symbol-file Foo-debug.o
(gdb) add-symbol-file /tmp/corlib.o
` (gdb) frame
#0 Main () at ./Foo.cs:11
11 public static void Main ()
(gdb) n
Main () at ./Foo.cs:13
13 Int32 value = 5;
(gdb)
14 long test = 512;
(gdb)
17 my_struct.a = 5;
(gdb)
18 my_struct.b = test;
(gdb)
19 my_struct.c = 23323.5235;
(gdb)
20 }
(gdb) info locals
value = 5
test = 512
my_struct = { a = 5, b = 512, c = 23323.5235 }
</pre>
+23 -1
View File
@@ -8,6 +8,14 @@
* <a href="#MonoLogo">MonoLogo</a>
* <a href="#Oberon">Oberon</a>
* <a href="#Forth">Forth</a>
* <a href="#mbas">Mono Basic</a> (Mono's VB.NET compiler)
</ul>
Languages which are known to run, but we have not done a
complete ran of all their regression tests to validate it:
<ul>
* Kylix.NET.
</ul>
Languages we would like to have supported, with links to resources:
@@ -28,8 +36,15 @@
** Java
There is a very interesting project to make a JavaVM for .NET
<a href="http://radio.weblogs.com/0109845/">here</a>
<a href="http://radio.weblogs.com/0109845/">here</a>.
Zoltan has got IKVM to work with Mono.
<a name="PHP">
** PHP
Sterling has code to allow PHP developers to use Mono code, in
his <a href="http://www.php.net/~sterling/mono/">site</a>
<a name="MonoLogo">
** MonoLogo
@@ -40,6 +55,13 @@
hosted in the <a href="ccvs.html">Mono CVS</a> repository
and also available on the <a href="anoncvs.html">AnonCVS</a> mirrors.
<a name="mbas">
** Mono Basic (Mono's VB.NET compiler)
Work has resumed on the Mono Visual Basic compiler (currently
called mbas). It is part of the standard Mono distribution,
but its still an early compiler.
<a name="Oberon">
** Oberon
+24
View File
@@ -71,6 +71,25 @@
in <a href="http://bugzilla.ximian.com">Bugzilla.ximian.com</a>
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms-list</a></b>
</td>
<td>
Used to discuss the Windows.Forms implementatation for Mono using Wine.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">gtk-sharp-list</a></b>
</td>
<td>
Used to discuss the Gtk bindings for Mono (<a href="http://gtk-sharp.sf.net">Gtk#</a>).
</td>
</tr>
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
</table>
Other mailing lists of interest:
@@ -83,6 +102,11 @@
</ul>
</ul>
* Alternative archive site
An alternate site that archives Mono List is available <a
href="http://archive.neotonic.com/archive/mono-list">http://archive.neotonic.com/archive/mono-list</a>
* Google search of the archives
<!-- Google Search with mods -->
+54
View File
@@ -0,0 +1,54 @@
* mbas: Mono's Basic.NET Compiler.
MBAS is a CIL compiler for the Visual Basic language, an extended
version of VisualBasic.NET. It's based on the MCS compiler
and still in heavy development, though many language features are
already supported.
** What works
<ul>
* Classes, Fields and Methods. Properties are still
being worked on.
* Module definition and Sub functionality (TODO: Function's)
* Namespace Import, so can you reference, instantiate
and call external assemblies
* Parameter passing between Sub's. ByVal and ByRef
parameters are being worked on.
* Delegates
* Object creation
* Events - to a limited extent. You can declare a
Class-Field as 'WithEvents' and dynamic events (i.e
AddHandler MyButton.Click, Button1_OnClick). Please
beware: just after committing the code, I discovered
that the handler field in the AddHandler call is
case-sensitive, a remnant of mBas' mcs heritage)
* Statements supported are 'If..Then..Else' ,
'While..End While' and assignment statements. Simple
operators (+, -, *, /, >, <, =) should also
work. Other statements (For..Next, etc.) should be
quite trivial to implement.
</ul>
A lot of this stuff is implemented rebuilding proper expressions and
statements on top of the classes provided by mcs (look at the grammar -
mb-parser.jay - and compare it with cs-parser.jay, if interested).
** TODO-list
At this stage almost every element of the language must be still checked for
conformance to MS'implementation. Help is particularly needed for those areas
I know little of (mcs internals are still quite obscure to me). I'd like to
implement class properties, the missing statements, exception handling,
structures and actual event support (not necessarily in this order). Once we
have all this stuff set up and reasonably bug-free, more work could be done
on helper functions and Object-vars handling.
+2 -5
View File
@@ -11,22 +11,19 @@
For <a href="mono-beginning/t1.html">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/t1.html">Microsoft Windows</a>
For <a href="http://monoevo.sourceforge.net/mono-windows/mono-beginning-windows/t1.html">Microsoft Windows</a>
PDF Format
For <a href="mono-beginning.pdf">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.pdf">Microsoft Windows</a>
XML Source
For <a href="mono-beginning.xml">RPM Linux based systems</a>
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.xml">Microsoft Windows</a>
For <a href="http://monoevo.sourceforge.net/mono-windows/mono-beginning-windows.xml">Microsoft Windows</a>
Currently Hinne is working on a Mono Tools HOWTO. Which will be
+14 -2
View File
@@ -155,8 +155,20 @@ export PKG_CONFIG_PATH
# /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS. We could
# skip this if it would add /usr/include and /usr/lib, but leaving it
# shouldnt break anything.
iconvh=`locate include/iconv.h`
iconvh_dir=`dirname $iconvh`
iconvdirs="/usr/include /usr/local/include"
for i in $iconvdirs
do
if [ -f $i/iconv.h ]; then
iconvh_dir=$i
break
fi
done
if [ -z "$iconvh_dir" ]; then
echo "Can't find iconv headers (looked in $iconvdirs)"
exit -1
fi
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
echo "Adding $iconvh_dir to CPPFLAGS"
Executable
+329
View File
@@ -0,0 +1,329 @@
* MySQL Data Provider
<p>There are two ADO.NET providers in Mono
for a <a href="http://www.mysql.com/">MySQL</a> database:
<ul>
<li><a href="http://sourceforge.net/projects/mysqlnet/">ByteFX.Data.MySQLClient</a>
<ul>
<li>Written in 100% C#</li>
<li>Does not require a client library</li>
<li>Works on Mono and Microsoft .NET</li>
<li>Requires at least Mono 0.18 and MySQLNet 0.65 for it to work on Mono</li>
<li>Works in the SQL# command-line and GTK# GUI version</li>
</ul>
</li>
<li>Mono.Data.MySql (deprecated)
<ul>
<li>Deprecated in favor of ByteFX.Data.MySQLClient
<li>Written in C# and uses
the MySQL C Client Library</li>
<li>Exists in namespace Mono.Data.MySql and assembly Mono.Data.MySql</li>
<li>Works on Windows and Linux via the MySQL client shared library
(libmySQL.dll on Windows and libmysqlclient.so on Linux).</li>
<li>Started by Daniel Morgan using
<a href="http://www.cybercom.net/~zbrad/DotNet/MySql/">C# Bindings to MySQL</a> from <a href="mailto:[email protected]">Brad Merill</a></li>
</ul>
</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
<p><a href="http://www.mysql.com/articles/dotnet/">Exploring MySQL
in the Microsoft .NET Environment</a> is an article
by Mr. Venu who is a MySQL AB developer.</li>
<p>Testing for Mono's Mono.Data.MySql and ByteFX's ByteFX.Data.MySQLClient is below.
** Current Status
Current Status of the MySQL providers:
<ul>
<li>ByteFX.Data.MySQLClient
<ul>
<li>Build and Runs on Microsoft .NET and Mono</li>
<li>Works with SQL# (command-line and GTK# GUI versions)</li>
<li>MySQLCommandBuilder now implemented</li>
<li>Transaction support now implemented (not all table types support this)</li>
<li>GetSchemaTable fixed to not use xsd (for Mono)</li>
<li>Driver is now Mono-compatible</li>
<li>TIME data type now supported</li>
<li>More work to improve Timestamp data type handling</li>
<li>Changed signatures of all classes to match corresponding SqlClient classes</li>
<li>Protocol compression using <a href="http://www.icsharpcode.net/OpenSource/SharpZipLib/default.asp">SharpZipLib</a></li>
<li>Named pipes on Windows now working properly</li>
<li>Work done to improve Timestamp data type handling</li>
<li>Implemented IEnumerable on DataReader so DataGrid would work</li>
<li>Speed increased dramatically by removing bugging network sync code</li>
<li>Driver no longer buffers rows of data (more ADO.Net compliant)</li>
<li>Conversion bugs related to TIMESTAMP and DATETIME fields fixed</li>
</ul>
</li>
<li>Mono.Data.MySql (deprecated)
<ul>
<li>Currently, only works with version 3.23.x of MySQL</li>
<li>can connect</li>
<li>can execute non-queries via ExecuteNonQuery()</li>
<li>can execute aggregates via ExecuteScalar() and retrieve the
single row/single column result</li>
<li>can execute queries and retrieve results using a data reader.</li>
<li>a schema DataTable has been partially
implemented which is returned from GetSchemaTable() in MySqlDataReader.</li>
<li>a DataTable in a DataSet can be filled via a MySqlDataAdapter</li>
<li>The shared client libraries
between windows version and linux are different: windows has libmySQL.dll
while linux has libmysqlclient.so. This is handled by the
file etc/mono/config which is mapped by the mono runtime in knowing
which native shared library to load. In cvs, this file is mono/config.in and
can be modified with a text editor.</li>
<li>Works in the SQL# command-line and GTK# GUI version</li>
</ul>
</li>
</ul>
** Action plan
The current plan for the MySQL data providers:
<ul>
<li>ByteFX.Data.MySQLClient
<ul>
<li>Testing and fixes</li>
<li>Implement missing features</li>
<li>Only fixes for bugs to build and run MySQLClient on Mono
will be accepted in mono-cvs. Most bugs and any new features will
go into sourceforge cvs. Anytime there is a release of MySQLClient,
the source code will be copied from sourceforge cvs to mono-cvs</li>
<li>Releases of MySQLClient are determined by Reggie Burnett and releases
of Mono are determined by Miguel de Icaza</li>
<li>Implement any missing features or fix any bugs in Mono to get new
features all of MySQLClient to work on Mono</li>
</ul>
</li>
<li>Mono.Data.MySql (deprecated)
<ul>
<li>Testing and bug fixes</li>
<li>Mono.Data.MySql is deprecated and therefore maybe removed
at a later date. It will stay in Mono for now because other
programs maybe using it now.</li>
</ul>
</li>
</ul>
** Testing for MySQLNet provider (ByteFX.Data.MySQLClient)
<ul>
<li>Have access to a MySQL database or download it from
<ul>
<li><a href="http://www.mysql.com/downloads/index.html">MySQL AB</a></li>
</ul>
</li>
<li>MySQLNet can be gotten from <a href="http://sourceforge.net/projects/mysqlnet/">here</a> and the
binary assembly ByteFX.Data.dll needs to be installed
in the same place as the mono class libraries.</li>
<li>MySQLNet requires <a href="http://www.icsharpcode.net/OpenSource/SharpZipLib/default.asp">SharpZipLib</a> which is
a Zip Library written in 100% C#. This is used for compression/decompression of data
sent/received over the network. The SharpZipLib binary assembly SharpZipLib.dll should
be installed in the same place as the mono class libraries.</li>
<li>Has a ConnectionString format:
<pre>
"Server=hostname;" +
"Database=database;" +
"User ID=username;" +
"Password=password"
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using ByteFX.Data.MySQLClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=test;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new MySQLConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r ByteFX.Data.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r ByteFX.Data.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
** Testing for Mono's MySQL provider (Mono.Data.MySql)
<ul>
<li>Have access to a MySQL database or download it from
<ul>
<li><a href="http://www.mysql.com/downloads/index.html">MySQL AB</a></li>
</ul>
</li>
<li>Take a look at MySqlTest.cs in mcs/class/Mono.Data.MySql/Test</li>
<li>On Linux, you may need to make a symbolic link from libmySQL.dll to libmysqlclient.dll</li>
<li>Has a ConnectionString format:
<pre>
"Server=hostname;Database=database;User ID=username;Password=password"
(or)
"Host=hostname;Dbname=database;User=username;Passwd=password"
</pre>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.MySql;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=test;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new MySqlConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs \
-r System.Data.dll \
-r Mono.Data.MySql.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll \
-r Mono.Data.MySql.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
Executable
+218
View File
@@ -0,0 +1,218 @@
* ODBC Data Provider
<ul>
<li>ADO.NET Data Provider for Data Sources
that have <a href="http://www.microsoft.com/data/odbc/">ODBC</a> support.</li>
<li>Exists in namespace System.Data.Odbc and assembly System.Data</li>
<li>Works on Windows and Linux. Should have no problems working on UNIX too.</li>
<li>Works on Windows via the native Windows odbc32.dll</li>
<li>Works on Linux via:
<ul>
<li><a href="http://www.unixodbc.org/">unixODBC</a> which has
commercial support
from <a href="http://www.easysoft.com/">Easysoft</a></li>
<li><a href="http://www.iodbc.org/">iODBC</a> which has
commercial support
from <a href="http://oplweb.openlinksw.com:8080/download/">OpenLink Software</a></li>
</ul>
<li>List of unixODBC <a href="http://www.unixodbc.org/drivers.html">drivers</a>
<li>List of <a href="http://ourworld.compuserve.com/homepages/Ken_North/odbcvend.htm">ODBC Vendors</a>
<li>ODBC can connect to various databases which has an ODBC driver installed:
<ul>
<li><a href="http://www.mysql.com/">MySQL</a></li>
<li><a href="http://www.postgresql.org/">PostgreSQL</a></li>
<li><a href="http://www.oracle.com/">Oracle</a></li>
<li><a href="http://www.borland.com/products/downloads/download_interbase.html">Interbase</a></li>
<li><a href="http://www.sybase.com/downloads">Sybase</a> (
via <a href="http://www.freetds.org/">FreeTDS</a> on UNIX)</li>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a> (
via <a href="http://www.freetds.org/">FreeTDS</a> on UNIX)</li>
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a></li>
<li><a href="http://www.microsoft.com/office/access/default.asp">MS Access</a>
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a> on UNIX)</li>
</ul>
<li>ODBC Provider created by Brian Ritchie.</li>
<li>Does not support trusted connections</li>
</ul>
** Current Status
<ul>
<li>Can Connect on:
<ul>
<li>Windows via native Windows odbc32.dll</a></li>
<li>Linux via:
<ul>
<li>unixODBC's libodbc.so</li>
<li>iODBC's libiodbc.so</li>
</ul>
</li>
</ul>
</li>
<li>Various databases have been tested using their
ODBC drivers: MySQL, PostgreSQL, Oracle, IBM DB2, and Microsoft SQL Server</li>
<li>Can execute non-query commands via ExecuteNonQuery of a OdbcCommand</li>
<li>Can execute aggreates and retrieve a single row single column result via
ExecuteScalar of a OdbcCommand</li>
<li>Can execute queries via ExecuteReader of a OdbcCommand and
retrieve results using an OdbcDataReader</li>
<li>Can get a DataTable containing schema info via GetSchemaTable() in a OdbcDataReader</li>
<li>Can Fill a DataTable in a DataSet via an OdbcDataAdapter</li>
<li>Works in SQL#, but Column names don't show up correctly.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Action Plan
<ul>
<li>Fixing bugs
<li>Testing with other setups
</ul>
** Testing ODBC provider with IBM DB2 Universal Database
<ul>
<li>You need a working mono and mcs</li>
<li>For Unix, you will need unixODBC or iODBC installed</li>
<li>Have acess to a <a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a> or
you can download from IBM</li>
<li>Read these web pages about Unix, ODBC, and IBM DB2
<ul>
<li><a href="http://www.unixodbc.com/doc/db2.html">unixODBC web page about IBM DB2</a></li>
<li><a href="http://www-3.ibm.com/software/data/db2/udb/ad/v8/cli/t0010406">IBM web page about unixODBC and DB2</a></li>
</ul>
</li>
<li>The ODBC provider is similar to the <a href="http://www.go-mono.com/ibmdb2.html">IBM DB2</a> provider.</li>
</ul>
** Testing ODBC provider with MySQL
<p>You can test Mono's ODBC provider System.Data.Odbc with the MySQL ODBC driver MyODBC
<p><ul>
<li>Take a look at OdbcTest.cs in mcs/class/System.Data/Test</li>
<li>Here is a ConnectionString format if you have a DSN setup:
<pre>
"DSN=dataSetName;UID=myuserid;PWD=mypassword"
</pre>
</li>
<li>Here is a ConnectionString format if you do not have a DSN (have not
gotten this to work though):
<pre>
"DRIVER={MySQL ODBC 3.51 Driver};" +
"SERVER=localhost;DATABASE=test;" +
"UID=myuserid;PASSWORD=mypassword;" +
"OPTION=3";
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.Odbc;
public class Test
{
public static void Main(string[] args)
{
// have an ODBC DSN setup named MYSQLDSN
// that accesses a MySQL database via
// MyODBC driver for ODBC with a
// hostname of localhost and database test
string connectionString =
"DSN=MYSQLDSN;" +
"UID=myuserid;" +
"PWD=mypassword";
IDbConnection dbcon;
dbcon.Open();
dbcon = new OdbcConnection(connectionString);
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
Executable
+153
View File
@@ -0,0 +1,153 @@
* OLE DB Provider
<ul>
<li> Provides a OleDb-like provider for Mono
using <a href="http://www.gnome-db.org/">GDA</a> as the data access layer.</li>
<li> Exists in namespace System.Data.OleDb and assembly System.Data</li>
<li>Created by Rodrigo Moya</li>
<li>LibGDA has providers for:</li>
<ul>
<li><a href="http://www.mysql.com/">MySQL</a></li>
<li><a href="http://www.postgresql.org/">PostgreSQL</a></li>
<li>XML</li>
<li>ODBC (via <a href="http://www.unixodbc.org/">unixODBC</a>)</li>
<li><a href="http://www.oracle.com/">Oracle</a></li>
<li><a href="http://www.borland.com/products/downloads/download_interbase.html">Interbase</a></li>
<li><a href="http://www.sybase.com/downloads">Sybase</a> and
<a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a> (
via <a href="http://www.freetds.org/">FreeTDS</a>)</li>
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a></li>
<li><a href="http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a></li>
<li><a href="http://www.microsoft.com/office/access/default.asp">MS Access</a></li>
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a>)</li>
</ul>
</li>
<li>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>The OleDb provider is working with libgda (an OLE-DB/ADO data access for Unix).
The C-Sharp bindings to libgda currently work - meaning they can compile, run,
and you can connect to a
PostgreSQL database via libgda via the C-Sharp bindings to libgda.</li>
<li>Basic
functionality (execution of commands, data retrieval, transactions, etc) are
now working.</li>
<li>An inital implementation of GetSchemaTable() for
the OleDbDataReader has been checked into cvs. GetSchemaTable() isn't correct for OleDb,
but the foundation is there.</li>
</ul>
** Action Plan
<ul>
<li>Current focus is on filling up the missing pieces (Data adapters
mainly) and schema support.</li>
<li>We need help building libgda on Windows though. libgda
builds find on linux though.</li>
<li>Need to make the OleDb provider compatible with the OleDb provider in Microsoft .NET</li>
</ul>
** Testing OleDb with libgda's PostgreSQL provider
<ul>
<li>Requires a working mono and mcs</li>
<li>Requires Linux because the OleDb provider uses libgda and libgda only
works on Linux.</li>
<li>Connection String format: "Provider=providerName;...". providerName is the
name of the Provider you use, such as, PostgreSQL, MySQL, etc. The elipsis ...
means that the connection parameters are dependent upon the provider being used and
are passed to libgda for connecting. Such paramters, can be: Database, User ID, Password,
Server, etc...</li>
<li>See the test TestOleDb.cs found at mcs/class/System.Data/System.Data.OleDb</li>
<li>C# Example for Mono's System.Data.OleDb:
<pre>
using System;
using System.Data;
using System.Data.OleDb;
public class Test
{
public static void Main(string[] args)
{
// there is a libgda PostgreSQL provider
string connectionString =
"Provider=PostgreSQL;" +
"Addr=127.0.0.1;" +
"Database=test;" +
"User ID=postgres;" +
"Password=fun2db";
IDbConnection dbcon;
dbcon = new OleDbConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
Executable
+184
View File
@@ -0,0 +1,184 @@
* Oracle Data Provider
<ul>
<li>ADO.NET Data Provider for <a href="http://www.oracle.com/">Oracle</a> databases</li>
<li>Exists in namespace System.Data.OracleClient and assembly System.Data.OracleClient</li>
<li>Works on Windows and Linux</li>
<li>Works with Oracle 8i</li>
<li>Untested, but should work with Oracle 9i</li>
<li>Uses the Oracle CLI (Call Level Interface) which is a C library (API) for the Oracle Client
software</li>
<li>Internally, the OracleClient provider has OCI abstracted to an object-oriented programming model</li>
<li>Created by Daniel Morgan and Tim Coleman</li>
<li>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>OracleConnection can connect and disconnect to an Oracle 8i database on
Windows and Linux via OCI (Oracle Call-level Interface)</li>
<li>No longer uses a glue library (a library between the System.Data.OracleClient.dll
assembly and the oci library). In Current Mono cvs, System.Data.OracleClient
directly platform invokes into the oci library thanks to Tim Coleman.</li>
<li>Can have multiple connections with different transactions where each transaction is
separated from the others, so a rollback or commit in one transaction
does not affect the other.</li>
<li>Can execute simple DML SQL statements, such as,
INSERT a row into the EMP table via the OracleCommand's ExecuteNonQuery method</li>
<li>The System.Data.OracleClient.dll assembly can be built with mcs/mono via
the makefile.gnu for System.Data.OracleClient or csc/.net via the
System.Data.OracleClient.build nant build file.</li>
<li>Can retrieve data via ExecuteReader and OracleDataReader. Currently,
supports character, numeric, some date data types. ExecuteScalar
also works.</li>
<li>Simple input parameters (character and numeric data) can now
be used in SQL queries. Output parameters do not yet work.</li>
<li>OracleException and Error handling exists now.</li>
<li>Message handling needs to be added for non-critical messages
received from Oracle</li>
<li>Handling of various data types need to be added.</li>
<li>Data Adapter exists, and a DataSet can be filled using it. The
Data Adapter is abstract enough that it should work as expected.</li>
<li>Lots of missing functionality and bugs.</li>
<li>Works with SQL# command-line and GTK# versions in cvs. Only works with
simple character data though. SQL# For GTK# can only show the results to
the TextView because the Data Adapter is not yet available</li>
</ul>
** Action Plan
<ul>
<li>Be able to retrieve results via a data reader (WORKING)</li>
<li>Parameters support (IN PROGRESS)</li>
<li>transactions (WORKING)</li>
<li>Stored Procedures, Functions, and Packages support</li>
<li>Be able to fill a DataTable in a DataSet via a data adapter (IN PROGRESS)</li>
<li>Support for Oracle 8i and 9i (UNKNOWN)</li>
<li>Support LOBs</li>
<li>Support all the data types</li>
<li>Implement Connection pooling</li>
<li>Security</li>
</ul>
** Testing System.Data.OracleClient
<ul>
<li>Have a working mono and mcs</li>
<li>Have access to an Oracle 8i database or download it from
<a href="http://www.oracle.com/">Oracle</a>. If you are connecting
remotely to an Oracle database, you need the Oracle client software.
Registration to the <a href="http://technet.oracle.com/">Oracle Technology Network</a> is free. If installing on Linux,
I suggest you do a lot of searching to see how others installed Oracle on Linux.</li>
<li>Make sure System.Data.OracleClient.dll assembly is built, if not, go
into System.Data.OracleClient and do a make -f makefile.gnu (on Linux) or
../../nant/NAnt.exe (on Windows using Cygwin).</li>
<li>Take a look at TestOracleClient.cs found at mcs/class/System.Data.OracleClient/Test</li>
<li>The Data Source is an Oracle TNSNAME</li>
<li>Has a connection string format:
<pre>
"Data Source=tnsname;User ID=userid;Password=password"
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.OracleClient;
public class Test
{
public static void Main (string[] args)
{
string connectionString =
"Data Source=testdb;" +
"User ID=scott;" +
"Password=tiger;";
IDbConnection dbcon;
dbcon = new OracleConnection (connectionString);
dbcon.Open ();
IDbCommand dbcmd = dbcon.CreateCommand ();
string sql = "SELECT ename, job FROM scott.emp";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader ();
while (reader.Read ()) {
string employeeName = reader["ename"];
string job = reader["job"];
Console.WriteLine ("Employee Name: {0} Job: {1}",
employeeName, job);
}
// clean up
reader.Close ();
reader = null;
dbcmd.CommandText = sql;
dbcmd.ExecuteNonQuery ();
dbcmd.Dispose ();
dbcmd = null;
dbcon.Close ();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r System.Data.OracleClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r System.Data.OracleClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
+34
View File
@@ -0,0 +1,34 @@
* International sites
<ul>
<li><a href="http://mono.es.gnome.org">Mono
Hispano</a>: The spanish-speaking community of Mono
developers and users. They have quite a number of
unique documents and tutorials.
<li><a href="http://www.go-mono.pl">Mono Poland</a>:
Mono site for polish users.
</ul>
* User sites
<ul>
<li>Alp Toker's <a
href="http://www.atoker.com/mono/">site</a>: He is an
active Mono developer (gsirc, platano) and produces
very nice Debian packages of Mono.
<li>Brian Ritchie's <a
href="http://www12.brinkster.com/brianr/">site</a>:
Brian is a contributor to Mono's class library (ODBC
provider and the database multiplexing assembly), and
has built an application server for .NET and Mono.
His site contains news, software, as well as his
weblog.
</ul>
+5
View File
@@ -100,6 +100,11 @@
available, means that trojans or worms could be built
into the products by malicious engineers.
Various government officials in non-US countries also
have a policy that no state sensitive information can
be held by foreign companies in foreign soil. A natural
matter of national security to some.
* <b>Security:</b> With a centralized system like
Passport, imagine the repercussions of a malicious
hacker gaining access to the Passport database.
+578
View File
@@ -0,0 +1,578 @@
* PostgreSQL Data Provider
There are two ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a> in Mono:
<ul>
<li><a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a>
<ul>
<li>a .NET Managed Data Provider for PostgreSQL
<li>Written in 100% C#</li>
<li>does not require a client library</li>
<li>works on Mono and Microsoft .NET</li>
<li>created by Francisco Figueiredo jr. and has many developers working on it
<li>works in the SQL# (command-line and GTK# GUI versions)</li>
<li>in namespace Npgsql and assembly Npgsql and is found in mcs
at mcs/class/Npgsql</li>
</ul>
</li>
<li>Mono.Data.PostgreSQL (deprecated)
<ul>
<li>Deprecated in favor of Npgsql</li>
<li>Exists in namespace Mono.Data.PostgreSql and assembly Mono.Data.PostgreSql</li>
<li>Is a Mono Data Provider for the <a href="http://www.postgresql.org/">PostgreSQL</a>
client/server database management system.</li>
<li>Written in C# and has C# bindings to the PostgreSQL C Client library pq.dll on Windows
and libpq.so on Linux.</li>
</ul>
</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
Below, see separate Testing sections for Npgsql and Mono.Data.PostgreSqlClient.
** Current Status
<ul>
<li>Npgsql
<ul>
<li>Builds and Runs on both Microsoft .NET and Mono.</li>
<li>Works using SQL# (command-line and GTK# versions)</li>
<li>You can send insert, update, delete queries
through NpgsqlCommand.ExecuteNonQuery() method.</li>
<li>You can send queries like, select count(*) from table, select version()
with NpgsqlCommand.ExecuteScalar() method.</li>
<li>There is logging support. (Thanks Dave Page)
To use it, place code like that in your program:</li>
<pre>
// Enable logging.
NpgsqlEventLog.Level = LogLevel.Debug; // LogLevel.
NpgsqlEventLog.LogName = "NpgsqlTests.LogFile"; // LogFile.
</pre>
<li>You can use Npgsql with Mono (Thanks Kristis Makris). It is not working perfectly.</li>
<li>There is a winforms test suite (Thanks Dave Page).</li>
<li>Clearer code in NpgsqlConnection removing *magic* numbers and constants. (Thanks Kristis Makris)</li>
<li>Better support of ODBC-like ConnectionString in NpgsqlConnection (Thanks Dave Page)</li>
<li>Thanks Ulrich Sprick for all discussion and ideas.</li>
</ul>
</li>
<li>Mono.Data.PostgreSQL status
<ul>
<li>Deprecated in favor of Npgsql</li>
<li>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
DELETE SQL commands using the ExecuteNonQuery method in PgSqlCommand.</li>
<li>We can execute multiple queries and do a NextResult() in PgSqlDataReader()
to get the next result set.</li>
<li>We are also able to do simple aggregate functions,
ie, count(), sum(), min(), and max()
in a simple SELECT SQL query using the ExecuteScalar() now.</li>
<li>We are also able to retrieve data with a simple SELECT SQL query
using ExecuteReader() which returns a PgSqlDataReader. We are able to
use GetSchemaTable() to get the meta data about the table columns.
We are able to Read() to get each row from the result set.</li>
<li>We are able to get
String data (char, character, text, varchar), Int16 (smallint),
Int32 (integer), Int64 (bigint), DateTime (time, date, timestamp),
Boolean (boolean), Single (float), and Double (double).
More data types will come later. Note, the types that do work still
need thorough testing.</li>
<li>Rows that are returned which contain columns that are NULL are handled now.
The PgSqlDataReader method IsDBNull() needs to be called to determine
if a field IS NULL before trying to read data from that field.</li>
<li>Calling PostgreSQL stored procedures works. It does not work perfectly.
It may not
even work to specification - yet. If you want to test it yourself, look at
TestSqlDataReader.cs or PostgresTest.cs in
mcs/class/System.Data/Test.</li>
<li>Below, I have some sample code you can
use to call a PostgreSQL stored procedure named "version". This stored
procedure returns a string containing the PostgreSQL server version. Notice
the CommandType is StoredProcedure and the method ExecuteScalar() is called.</li>
<li>ExecuteScalar() is a lightweight method in class PgSqlCommand that only returns
one row and one column as one object - even if there is more than row or column.</li>
<li>We have the beginnings of Parameters support PostgreSQL. Only
Input Parameters are currently supported. Output, Input/Output,
and Return parameters still need to be done.</li>
<li>A lot of Exceptions need to be thrown for various exceptions. However,
PgSqlException, PgSqlErrorCollection, and PgSqlError have been partially
implemented.</li>
<li>Tim Coleman and Rodrigo Moya got the beginnings of the
PgSqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
the PgSqlDataAdapter can Fill() relational data into a DataTable in a DataSet.
See the test mcs/class/System.Data/Test/TestSqlDataAdapter.cs to see it in action.</li>
<li>Works in the SQL# command-line version
and the GTK# version on Linux. It only works in SQL# command-line version
on Windows.</li>
</ul>
</li>
</ul>
** Action Plan
<ul>
<li>More testing and fixing bugs</li>
<li>Better error handling</li>
<li>More Data Types to use</li>
<li>Any features for Npgsql should be implemented in Npgsql's main cvs repository at
gborg.postgresql.org. Most bugs should be fixed in gborg.postgresql.org's cvs.
Only bugs neccessary for building and running of Npgsql on Mono can be done in Mono cvs,
but once applied they should be sent to Npgsql's mailing list
at gborg.postgresql.org for inclusion into cvs there. Whenever there is
a release of Npgsql (determined by Francisco Figueiredo jr. or a release
of Mono (determined by Miguel de Icaza), then the Npgsql source
in gborg.postgresql.org's cvs will be used to update the Npgsql source in
Mono's cvs.
</li>
<li>Mono.Data.PostgreSqlClient even though deprecated can still
accept bug fixes. This is because other areas, such as, ASP.NET examples
may still use this provider.</li>
<li>Add any missing functionality to Npgsql. If this funtionality works on
.NET but not on Mono, implement the missing features or fix the bugs in Mono</li>
<li>Npgsql has replaced Mono.Data.PostgreSqlClient as the provider of
choice to use. However, Mono.Data.PostgreSqlClient will remain in a
deprecated state until nobody uses it anymore - then it can be removed</li>
<li>Implement more of PostgreSQL 7.3 features in Npgsql</li>
</ul>
** Testing Mono.Data.PostgreSqlClient
<ul>
* <p>In order to test Mono.Data.PostgreSqlClient, you will need to have
access to a remote PostgreSQL DBMS, or you will have to install
one locally. PostgreSQL was the first ADO.NET provider created in Mono.
<p>Why use PostgreSQL? Because it is free software, has a client
library that is easy to use, PostgreSQL is easy to install on
Unix and Windows (using the Cygwin install program), not difficult to setup after
installation, and it runs under: Linux,
Windows (via cygwin and ipc-daemon), Unix, and
others. This allowed us to create the
System.Data functionality in Mono much quicker.
<p>If you plan on using a remote PostgreSQL DBMS Server,
than you will need to have the PostgreSQL client software on your
local computer that includes libpq.so (pq.dll on Windows).
<p>The System.Data tests use this connection string to connect
to the PostgreSQL database named "test" at host "localhost" as
user "postgres".
<pre>
"Server=localhost;Database=test;User ID=postgres;Password=fun2db"
(or)
"host=localhost;dbname=test;user=postgres;password=fun2db"
</pre>
</ul>
<p>Installation instructions for PostgreSQL DBMS:
<b>On Unix</b>
<ul>
* Read the PostgreSQL Installation Instructions
at \usr\doc\postgresql-x.x.x\html\installation.html
* Depending on your Unix system,
PostgreSQL maybe already installed, a database user 'postgres' created,
a linux user 'postgres' created and initdb ran. Or maybe not.
<pre>
su
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
initdb -D /usr/local/pgsql/data
postmaster -i -D /usr/local/pgsql/data
createdb test
psql test
</pre>
* Make sure you have a database user named postgres. It is best to install
the PostgreSQL DBMS under linux user postgres. When you run the postmaster,
run it under the user postgres as well. If this was not done, then you
will need to create a user named postgres for the System.Data tests.
* If you already installed PostgeSQL and you do not have a database
user named postgres, then you can create user postgres using psql:
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
* The postmaster must be run with -i option.
* In the /usr/local/pgsql/data/pg_hba.conf file, you need
to have the AUTH_TYPE set to md5. You can read more on this at
/usr/doc/postgresql-7.2.1/html/client-authentication.html
or wherever your
PostgreSQL html docs are located. See the 2nd line below,
host 127.0.0.1 has an AUTH_TYPE md5 in pg_hba.conf.
<pre>
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
local all trust
host all 127.0.0.1 255.255.255.255 md5
</pre>
* If you can not find your PostgreSQL documentation locally or you
did not install it, then you
can get it <a href="http://www.postgresql.org/idocs/">here</a>.
</ul>
<b>On Windows</b>
<ul>
* Use the <a href="http://www.cygwin.com/">Cygwin</a> installer to
install the PostgreSQL DBMS. It is
found in the database category.
* <p>Read the file postgres-x.x.README at /usr/doc/Cygwin and read
the requirements to install PostgreSQL. Those requirements
are included with cygwin except cygipc. A default installtion
of cygwin does not install everything you will need, so on the
safe side, just include everything when installing cygwin.
* <p>The -x.x in postgres-x.x is the version of your PostgreSQL DBMS.
* <p>Once Cygwin has installed the PostgreSQL DBMS on your computer,
read the file FAQ_MSWIN which is available
in /usr/doc/postgres-x.x
* <p>Important notes from this file are:
<ul>
<p><b>2.</b> - Install the latest <a href="http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html">CygIPC</a> package.
Cygwin includes a utility bunzip2 which can be used to unzip it. Now, change to
the root directory by
typing "cd /" then
you can use "tar xvf cygipc.xxx.tar" to untar it
in the root directory in cygwin.
<p>The cygipc package contains the support to run ipc-daemon
that you will need
to run before you can
run the PostgreSQL DBMS Server daemon (postmaster) or run
initdb which initializes the PostgreSQL database.
<p><b>3.</b> The Cygwin bin directory has to be placed in
the path before the Windows program directories,
for example, C:\cygwin\bin
<p><b>My own note.</b> In the Windows control panel, I set
the environment variables PATH to my cygwin /usr/local/bin,
/usr/bin, and /bin. I also set my LD_LIBRARY_PATH to
/usr/local/lib and /usr/lib. For example:
<p>
<pre>
PATH=c:\cygwin\usr\local\bin;c:\cygwin\usr\bin;c:\cygwin\bin;
LD_LIBRARY_PATH=c:\cygwin\usr\local\lib;c:\cygwin\usr\lib;
</pre>
<p><b>4.</b> Start the ipc-daemon that came with the cygipc
package. There
are two ways to do this: run it from the command line as:
<p>
<pre>
ipc-daemon &
</pre>
<p>or you can set it up as a Windows service. See the
file cygrunsrv.README at /usr/doc/Cygwin on how to do this
for ipc-daemon and postmaster. Note the
troubleshooting section at the end of
the cygrunsrv.README file.
<p>To install ipc-daemon as a service,
you just have to run
<p>
<pre>
ipc-daemon --install-as-service' (--remove-as-service)
</pre>
<p>and then run
<pre>
net start ipc-daemon
</pre>
</ul>
<p>Read the installation.html file
at /usr/doc/postgresql-x.x/html/installation.html
<p>You will see in this file that you will need to
run the following commands:
<p>
<pre>
mkdir /usr/local/pgsql/data
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
createdb test
psql test
</pre>
<p>When you need to connect to the database,
you will need ipc-daemon and postmaster running. Start ipc-daemon
before any of the command above. If you restart your computer, you
need to start ipc-daemon and postmaster either manually or as a
service.
<p>psql is a command-line PostgreSQL client tool to
enter and run SQL commands and queries.
<p>If there is no database user named postgres, create a user named
postgres with the following SQL command in the client tool psql:
<p>
<pre>
psql test
create user postgres with password 'fun2db';
</pre>
<p>The only reason I say this is so you can easily use the System.Data tests
without having to change the database, userid, etc.
</ul>
<p>In the path mcs/class/System.Data/Test
there is a test for Mono.Data.PostgreSqlClient named
PostgreTest.cs. Thanks goes to Gonzalo for creating the original
PostgreSQL test.
<p>
To compile the PostgresTest.cs program, do:
<p>
<pre>
mcs PostgresTest.cs \
-r System.Data.dll \
-r Mono.Data.PostgreSqlClient.dll
</pre>
<p>If there are compile errors, such as, can not convert IDbConnection
to PgSqlConnection, then you need to run mcs like:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
PostgresTest.cs \
-r System.Data.dll \
-r Mono.Data.PostgreSqlClient.dll
</pre>
<p>
To run using mint, do:
<p>
<pre>
mint PostgresTest.exe
</pre>
<p>
To run using mono, do:
<pre>
mono PostgresTest.exe
</pre>
<p>C# Example for Mono.Data.PostgreSqlClient:
<pre>
using System;
using System.Data;
using Mono.Data.PostgreSqlClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=test;" +
"User ID=postgres;" +
"Password=fun2db;";
IDbConnection dbcon;
dbcon = new PgConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname" +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.PostgreSqlClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.PostgreSqlClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
** Testing Npgsql
<ul>
<li>Have a working mono and mcs</li>
<li>Get <a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a>
and make sure the binary assembly Npgsql.dll is installed in the same place that the
mono class libraries are located.
<li>Read the Testing notes for Mono.Data.PostgreSqlClient too
<li>C# Example for Npgsql:
<pre>
using System;
using System.Data;
using Npgsql;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=test;" +
"User ID=postgres;" +
"Password=fun2db;";
IDbConnection dbcon;
dbcon.Open();
dbcon = new NpgsqlConnection(connectionString);
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Npgsql.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Npgsql.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
+156
View File
@@ -0,0 +1,156 @@
* Provider Factory
<p>Brian Ritchie contributed a Provider Factory and Data Tools for Mono ADO.NET<br>
which gives us a foundation for abstract data provider access within Mono
** Here are the deails:
<ul>
<li>The Provider information is seperate from the connection string information.<br>
This allows the list of providers to be stored in the machine.config file.</li>
<li>Provider and ProviderCollection objects are available to access <br>
the list of providers and modify them at runtime.</li>
<li>The ProviderFactory object is used to create new connections, commands,<br>
dataadapters, parameters, etc.</li>
</ul>
** Overview of the ProviderFactory object model:
<ul>
<li><b>ProviderFactory</b>: used to create new Connections, Commands,<br>
DataAdapters, or Commands. All objects are returned using <br>
the provider interfaces such as IDbConnection, IDbCommand,<br>
IDbDataAdapter, or IDataParamter</li>
<li><b>DataTools</b>: static methods for doing <br>
common tasks like filling a DataSet <br>
with the contents of a select statement.</li>
<li><b>ProviderCollection</b>: list of providers configured <br>
in the system. Initially loaded from app.config, but can <br>
be modified at run-time.</li>
<li><b>Provider</b>: represents a given provider (factory) <br>
and holds information needed to <br>
create the types.</li>
<li><b>ProviderSectionHandler</b>: works behind the <br>
scenes to load the list of <br>
providers from the app.config into a ProviderCollection.</li>
</ul>
** C# source code samples for creating a connection:
<pre>
// Create connection using enhanced connection string
// The factory attribute specifies which provider
// to use. The factory attribute is parsed out, the
// object is created, and then the rest of the
// connection string is passed into the provider. The
// providers are defined in
// the app.config (or machine.config).
IDbConnection conn;
string connectionString =
"factory=System.Data.SqlClient;" +
"server=speedy;database=pubs;uid=sa";
conn = ProviderFactory.CreateConnection(connectionString);
// Create connection specifying provider
// and standard connection string
IDbConnection conn;
string provider = "System.Data.SqlClient";
string connectionString = "server=speedy;database=pubs;uid=sa";
conn = ProviderFactory.CreateConnection(provider,connectionString);
// Create connection using connection string stored
// in app.config under &lt;appSettings&gt;
IDbConnection conn;
string appSetting = "PubsConnStr";
conn = ProviderFactory.CreateConnectionFromConfig(appSetting);
</pre>
<p>C# Sample for Creating a DataAdapter and filling a DataSet.
<pre>
// Create Connection
IDbConnection conn =
ProviderFactory.CreateConnectionFromConfig("PubsConnStr");
// Select command
IDbCommand cmd=conn.CreateCommand();
cmd.Text="select * from author";
// Data Adapter
DataSet ds=new DataSet();
IDbDataAdapter adapter=ProviderFactory.CreateDataAdapter(cmd);
adapter.Fill(ds, "Table1");
</pre>
<p>Creating a DataAdapter and filling a DataSet. <br>
The super lazy method for people like me.
<pre>
// Create Connection
IDbConnection conn =
ProviderFactory.CreateConnectionFromConfig("TdsPubsConnStr");
// Data Adapter
DataSet ds=DataTools.FillDataSet(conn, "select * from author");
</pre>
<p>Here's some sample code on displaying a list <br>
of configured ADO.NET providers:
<pre>
Console.WriteLine("Configured Providers:");
foreach (Provider p in ProviderFactory.Providers)
Console.WriteLine(p.Description);
</pre>
<p>A Super lazy overload to the FillDataSet method (in <br>
DataTools.cs) that will fill a dataset in one line of code.
<pre>
DataSet ds=DataTools.FillDataSet("PubsConnStr", "select * from authors");
</pre>
** About Configuration Files
<p>Information about <a href="http://msdn.microsoft.com/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp?frame=true">app.config</a> files
can be found at <a href="http://msdn.microsoft.com/">MSDN</a>.
<p>See the mcs/class/Mono.Data/app.config for sample configuration file in<br>
mcs source. Basically, if your application is named blah.exe, <br>
you would create an app.config file named blah.exe.config
<p>Here's a sample app.config file showing the provider <br>
declarations along with sample connection strings:
<pre>
&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;
&lt;configSections&gt;
&lt;sectionGroup name="mono.data"&gt;
&lt;section name="providers" type="Mono.Data.ProviderSectionHandler,Mono.Data" /&gt;
&lt;/sectionGroup&gt;
&lt;/configSections&gt;
&lt;appSettings&gt;
&lt;add key="PubsConnStr" value="factory=System.Data.SqlClient;server=speedy;database=pubs;uid=sa;pwd=" /&gt;
&lt;/appSettings&gt;
&lt;mono.data&gt;
&lt;providers&gt;
&lt;provider name="System.Data.SqlClient" connection="System.Data.SqlClient.SqlConnection" adapter="System.Data.SqlClient.SqlDataAdapter" assembly="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt;
&lt;provider name="System.Data.OleDb" connection="System.Data.OleDb.OleDbConnection" adapter="System.Data.OleDb.OleDbDataAdapter" assembly="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt;
&lt;provider name="System.Data.Odbc" connection="System.Data.Odbc.OdbcConnection" adapter="System.Data.OleDb.OdbcDataAdapter" assembly="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt;
&lt;provider name="Mono.Data.TdsClient" connection="Mono.Data.TdsClient.TdsConnection" adapter="Mono.Data.TdsClient.TdsDataAdapter" assembly="Mono.Data.TdsClient" /&gt;
&lt;provider name="Mono.Data.MySql" connection="Mono.Data.MySql.MySqlConnection" adapter="Mono.Data.MySql.MySqlDataAdapter" assembly="Mono.Data.MySql" /&gt;
&lt;provider name="Mono.Data.PostgreSqlClient" connection="Mono.Data.PostgreSqlClient.PgSqlConnection" adapter="Mono.Data.PostgreSqlClient.PgSqlDataAdapter" assembly="Mono.Data.PostgreSqlClient" /&gt;
&lt;provider name="Mono.Data.SqliteClient" connection="Mono.Data.SqliteClient.SqliteConnection" adapter="Mono.Data.SqliteClient.SqliteDataAdapter" assembly="Mono.Data.SqliteClient" /&gt;
&lt;provider name="Mono.Data.SybaseClient" connection="Mono.Data.SybaseClient.SybaseConnection" adapter="Mono.Data.SybaseClient.SybaseDataAdapter" assembly="Mono.Data.SybaseClient" /&gt;
&lt;/providers&gt;
&lt;/mono.data&gt;
&lt;/configuration&gt;
</pre>
+62 -22
View File
@@ -11,9 +11,13 @@
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
The Microsoft .NET Framework 1.0 can be downloaded <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
The Microsoft .NET Framework 1.0 can be downloaded <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
New methods that are not documented in 1.0, are documented <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
New methods that are not documented in 1.0, are documented <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
The changes between .NET 1.0 and .NET 1.1 are available <a href="http://www.csharphelp.com/archives2/archive406.html">here</a>
** IRC
@@ -22,6 +26,14 @@
** Mono related sites.
The Mono Tutorial:
<a href="http://http://go-mono.com/gnometutorial/">GNOME.NET Tutorial</a>
and other useful tutorials (Gtk#, Glade#, Embeded, etc) (in Spanish) at
<a href="http://mono.es.gnome.org">The Mono Hispano site</a>.
Sergey's web page on Mono resources:
<a href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>
@@ -45,6 +57,14 @@
href="http://www.foundstone.com/pdf/dotnet-security-framework.pdf">.NET
security architecture</a>.
** Development Tools
A tool to compare two assemblies:
<ul>
<li><a href="http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=winchurn">http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=winchurn</a>
</ul>
** Presentations
Currently the <a href="Presentations/O-Reilly">O'Reilly</a>
@@ -103,31 +123,53 @@
There are a number of related projects to Mono:
<li><b>Development tools</b></li>
<ul>
* <a
href="http://qtcsharp.sourceforge.net">Qt#:</a>
C# bindings for the Qt toolkit.
* <a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
Develop:</a> an IDE for the C# language written in C#.
* <a
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
Plugin for C#</a>
* <a
href="http://janet-js.sourceforge.net/">Janet:</a>
an implemention of ECMAScript (the standarized
version of JavaScript) in C#
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
testing framework for .NET classes.
* <a
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
creating online documentation you can browse for your own classes.
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
testing framework for .NET classes.
</ul>
<li><b>Class Libraries</b></li>
<ul>
* <a href="http://9mm.com/~ogl/sdldotnet/">SDL for
.NET:</a> Bindings for the popular SDL graphics library.
* C# bindings for OpenGL and SDL are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
* <a
href="http://qtcsharp.sourceforge.net">Qt#:</a>
C# bindings for the Qt toolkit.
* <a
href="http://codigolivre.org.br/projects/monoqle">Project MonoQLE:</a> a C# Message Queue Server.
Sorry only in portuguese, for now.
</ul>
<li><b>Programming languages:</b></li>
<ul>
* <a
href="http://janet-js.sourceforge.net/">Janet:</a>
an implemention of ECMAScript (the standarized
version of JavaScript) in C#
</ul>
<li><b>Other projects</b></li>
<ul>
* <a
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
Plugin for C#</a>
* <a href="http://www.kaffe.org">Kaffe:</a> A popular
Free Software JIT engine for Java.
@@ -135,15 +177,13 @@
* <a href="http://www.intel.com/research/mrl/orp">ORP:</a> A research
JIT/VM/GC system from Intel.
* C# bindings for OpenGL and SDL are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
* A Free (GFDL) tutorial on C# in Spanish with examples, slides, and extras (under development). Get it <a href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
* A Free (GFDL) tutorial on C# in Spanish with
examples, slides, and extras (under development). Get it <a
href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
</ul>
** GNOME Documentation
+17 -47
View File
@@ -17,49 +17,21 @@
</ul>
Currently we are using the Bohem conservative garbage
collector, but we working on incorporating the ORP GC engine.
collector.
** Executing MSIL/CIL images
The Mono runtime can be used as a stand-alone process, or it
can be <a href="embedded-api">embedded into applications</a> (see
the documentation in mono/samples/embed for more details).
The code will load an executable and map the references to
external assemblies to our own version of the assemblies on
Linux.
Embedding the Mono runtime allows applications to be extended
in C# while reusing all of the existing C and C++ code.
Our roadmap looks like this, this has been updated as of
<b>Dec 18, 2001</b>:
Paolo Molaro did a presentation on the current JIT engine and
the new JIT engine. You can find his <a
href="http://primates.ximian.com/~lupus/slides/jit/">slides
here</a>
<ul>
* Milestone 1: <b>Done</b> Fully read and parse all CIL byte-codes
and metadata tokens (ie, a disassembler).
* Milestone 2: <b>Done</b> Complete an interpreter for CIL byte
codes. This interpreter can be used temporarly to
run CIL byte code on a system where no JIT is
available.
* Milestone 3: <b>Done</b>Define an <i>lburg</i>-like
instruction selector for the JITer for Intel.
* Milestone 4: <b>Done</b> Implement JITer. This is where our
current efforts are focused on, the JITer currently runs
all of the code we have tested on it. The major limitation
is that our class libraries are not complete, and hence not
every application can be ran.
* Milestone 5: Port of the JITer to non IA32 systems.
</ul>
A setup similar to the Kaffe JIT engine will be used to
layout the code to support non-IA32 architectures. Our work
will be focused on getting a IA32 version running first.
The JIT engine works on Linux and Win32, although you
will need to install the CygWin32 development tools to get a
Unix-like compilation environment (mostly we use GNU make in
a few of the makefiles).
** JIT Engine (<b>updated, July 8th, 2002</b>)
** Current JIT Engine (<b>updated, July 8th, 2002</b>)
The JIT engine uses a code-generator generator approach for
compilation. Given the properties of CIL byte codes, we can
@@ -102,15 +74,13 @@
</ul>
** Future plans
** New JIT engine.
We are evaluating the future directions for the JIT engine:
both from our needs (optimizations like inlining, better register allocation,
instruction scheduling, and porting to other CPUs).
We have not yet decided how we will evolve the JIT engine. We
might just upgrade our current architecture, and provide optimizations as
an extra layer.
We are working on a new JIT engine. The new JIT engine
focuses on portability and in two intermediate representations
that simplify the development of optimizations. This together
with the Ahead-of-Time compilation will allow developers to
deploy applications that match the speed of natively compiled code.
** Garbage Collection
+141
View File
@@ -0,0 +1,141 @@
* Screenshots
** Mono Debugger
Some shots of the <a href="jit-debug.html">Mono Debugger</a>
<table border=1>
<tr>
<td>
<a href="images/Screenshot-Debugger-1.png"><img src="images/Screenshot-Debugger-1-thumb.png"></a>
</td>
</tr>
<tr>
Debugger showing the source code view.
</tr>
</table>
<table>
<tr>
<td>
<a href="images/Screenshot-Debugger-2.png"><img src="images/Screenshot-Debugger-2-thumb.png"></a>
</td>
</tr>
<tr>
Debugger showing the CPU view.
</tr>
</table>
** Mono Documentation Browser
The Mono Documentation Browser is available from <a
href="anoncvs.html">CVS</a>, module `monodoc'.
<table border=1>
<tr>
<td>
<a href="images/Screenshot-B2.png"><img src="images/Screenshot-B2-thumb.png"></a>
</td>
</tr>
<tr>
Mono Documentation Browser rendering a method description.
</tr>
</table>
<table>
<tr>
<td>
<a href="images/Screenshot-MethodSummary.png"><img src="images/Screenshot-MethodSummary-thumb.png"></a>
</td>
</tr>
<tr>
Mono Documentation Browser rendering the class method summary
</tr>
</table>
** Mono Basic
The Mono Basic compiler ships with the Mono distribution.
<table border=1>
<tr>
<td>
<a href="images/gtk-vb.png"><img src="images/gtk-vb-thumb.png"></a>
</td>
</tr>
<tr>
Mono Basic running a sample Gtk# application.
</tr>
</table>
** Platano Media Player
Alp's <a href="http://www.atoker.com/platano/">Platano</a>
Media Player is written with Gtk# (with GStreamer support):
<table border=1>
<tr>
<td>
<img src="images/platano_s.png"></a>
</td>
</tr>
<tr>
Platano startup.
</tr>
</table>
<table>
<tr>
<td>
<img src="images/platano-playing_s.png">
</td>
</tr>
<tr>
Platano playing the <a
href="http://developer.ximian.com/projects/third_party/codemonkey/index.html">Code
Monkey At Work</a> video.
</tr>
</table>
** GSIRC
Alp's <a href="http://www.atoker.com/gsirc/">GSIRC</a>
Gtk-Sharp IRC written with Gtk#
<table border=1>
<tr>
<td>
<a href="http://go-mono.com/images/gsirc-0.2a_overview.jpg"><img src="images/gsirc-0.2a_overview-thumb.jpg"></a>
</td>
</tr>
<tr>
GSIRC is shown with the preferences dialog and chatting on some channels (rooms).
</tr>
</table>
** SQL# For GTK#
Daniel Morgan's SQL query tool that runs on Mono on Linux and Windows. It is
written in C# and allows you to connect to various Mono ADO.NET providers and
enter SQL commands.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/sqlsharp.png"></a>
</td>
</tr>
<tr>
SQL# For GTK# is shown retrieving data from a Microsoft SQL Server 2000 database.
</tr>
</table>
** SkyNET
SkyNET is written in C# and uses GTK# for displaying a star chart.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/skynet.png"></a>
</td>
</tr>
</table>
Executable
+214
View File
@@ -0,0 +1,214 @@
* Microsoft SQL Server Provider
<ul>
<li>ADO.NET Provider for Microsoft SQL Server 7/2000 databases</li>
<li>Exists in namespace System.Data.SqlClient and assembly System.Data</li>
<li>Created by Tim Coleman</li>
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.</li>
<li>Implemented in 100% C#</li>
<li>Is similar to the Mono.Data.TdsClient and Mono.Data.SybaseClient providers.</li>
<li>Requires the assembly Mono.Data.Tds.dll which implements the TDS protocol in 100% C#.</li>
<li>Uses TDS Protocol Version 7.0</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Able to connect to Microsoft SQL Server 7/2000 databases</li>
<li>Connection pooling works.</li>
<li>Stored Procedures work</li>
<li>Parameters work.</li>
<li>Prepare works.</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a SqlCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SqlCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SqlDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SqlDataReader</li>
<li>XML can be read via ExecuteXmlReader in a SqlCommand.</li>
<li>Data can be filled in a DataTable in a DataSet via a SqlDataAdapter</li>
<li>Uses TDS Protocol Version 7.0</li>
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a></li>
<li>Works in the SQL# command-line and GTK# GUI version</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now</li>
<li>Needs more testing</li>
<li>Would like to figure out how to connect via Trusted_Connection or Integrated Security</li>
<li>Start work on TDS Protocol Version 8.0 support</li>
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Microsoft SQL Server database
or either download it:
<ul>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a></li>
</ul>
</li>
<li>If using Microsoft SQL Server 2000, make sure
you are using at least Service Pack 3 for Microsoft SQL Server 2000. If using
MSDE 2000, make sure you have the special Service Pack 3 for MSDE 2000.</li>
<li>For those that only have MSDE installed. You can change the authentication mode
from Windows Only Authentication to SQL Server and Windows Authentications (also knows as Mixed-mode authentication)
via the <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q322336&sd=tech#4">registry</a></li>. It is
the LoginMode you need to change. By default,
MSDE is installed with Windows Only Authentication. For SqlClient to work with MSDE, you will
need to change the setting.</a>
<li>If using MSDE, you might need to create a new user with password. Give
this user access to various databases in this MSDE instance. Also, for each
database, give this new user at least SELECT access to the various tables you want
to retrieve data from.</li>
<li>If you have Enterprise Manager, you can easily change the authentication mode
for both MSDE and Microsoft SQL Server. To change the authentication mode in
Enterprise Mananger, select the instance, right-click on it, and select properites.
The SQL Server properties dialog for that instance will pop up. Choose the Security
tab. Change the authentication from Windows Only to SQL Server and Windows. If
the instance of your database does not show up in Enterprise Manager, Register first
by selecting the Action menu and choosing New SQL Server Registration.</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Mono's SqlClient does not support trusted connections
nor integrated security. You can not use this when connecting. You need
to explicitly use a User ID and Password
authenticated by SQL Server.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used three ways:
<table border=1>
<tr>
<td><b>Server Definition</b></td> <td><b>Example</b></td>
</tr>
<tr>
<td>hostname</td> <td>Server=MYHOST</td>
</tr>
<tr>
<td>hostname,port</td> <td>Server=MYHOST,1433</td>
</tr>
<tr>
<td>hostname\\instance</td> <td>Server=MYHOST\\NETSDK</td>
</tr>
</table>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.SqlClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new SqlConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs -r System.Data.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
Executable
+143
View File
@@ -0,0 +1,143 @@
* SQL Lite Data Provider
<ul>
<li>ADO.NET Data Provider for
the <a href"http://www.hwaci.com/sw/sqlite/">SQL Lite</a> which
is an embeddable SQL database engine</li>
<li>From the SQL Lite web page: SQLite is a C library that
implements an embeddable SQL database engine. Programs that link with
the SQLite library can have SQL database access without
running a separate RDBMS process. The distribution
comes with a standalone command-line access program (sqlite) that
can be used to administer an SQLite database and which serves
as an example of how to use the SQLite library. SQLite is not a client library
used to connect to a big database server. SQLite is the server. The SQLite
library reads and writes directly to and from the database files on disk.</li>
<li>SQL Lite can be downloaded
from <a href"http://www.hwaci.com/sw/sqlite/download.html">here</a>.
binaries exist for Linux and Windows. sqlite.dll on Windows
and sqlite.so on Linux. The source code is available too.</li>
<li>Exists in namespace and assembly Mono.Data.SqliteClient</li>
<li>Created by Vladimir Vukicevic so he could have a database of
thumbnail images for mPhoto. mPhoto is GUI application
for cataloging images. mPhoto runs on Mono
and uses <a href="http:www.go-mono.com/gtk-sharp.html">GTK#</a> for its GUI.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Able to connect, execute commands, and retrieve data...</li>
<li>Works in mPhoto by providing access to a SQL Lite database to store images.</li>
</ul>
** Action Plan
<ul>
<li>Create a DataAdapter for SQL Lite named SqliteDataAdapter that can be used to
Fill a DataTable in a DataSet</li>
<li>Get the method GetSchemaTable() in class SqliteDataReader to return a DataTable
that works</li>
</ul>
** Testing
<ul>
<li>Have a working mcs and mono</li>
<li>Make sure Mono.Data.SqliteClient.dll was built and is installed
in the same place as the mono class libraries.</li>
<li>If you do not have <a href"http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a>,
download it. There are binaries for Windows and Linux.</li>
<li>There is a test named SqliteTest.cs found at mcs/class/Mono.Data.SqliteTest/Test</li>
<li>Has a connection string format of "URI=file:some/path". For example,
the connection string "URI=file:SqliteTest.db" will use the database file
named SqliteTest.db, if it does not exist, the file will be created.</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.SqliteClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString = "URI=file:SqliteTest.db";
IDbConnection dbcon;
dbcon = new MySQLConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader[0];
string LastName = reader[1];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.SqliteClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll \
-r Mono.Data.SqliteClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
Executable
+155
View File
@@ -0,0 +1,155 @@
* Sybase Data Provider
<ul>
<li>ADO.NET Provider for Sybase SQL Server databases</li>
<li>Exists in namespace Mono.Data.SybaseClient and assembly Mono.Data.SybaseClient</li>
<li>Created by Tim Coleman</li>
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.</li>
<li>Implemented in 100% C#</li>
<li>Is similar to the Mono.Data.TdsClient and System.Data.SqlClient providers.</li>
<li>Requires the assembly Mono.Data.Tds.dll which implements the TDS protocol in 100% C#.</li>
<li>Uses TDS Protocol Version 5.0</li>
<li>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Able to connect to Sybase databases</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a SybaseCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SybaseCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SybaseDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SybaseDataReader</li>
<li>Data can be filled in a DataTable in a DataSet via a SybaseDataAdapter</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now.
<li>Needs more testing...
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Sybase database
or either download it:
<ul>
<li><a href="http://www.sybase.com/downloads">Sybase</a></li>
</ul>
</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used two ways:
<ul>
<li>hostname - "Server=MYHOST"</li>
<li>hostname,port - "Server=MYHOST,1533"</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.SybaseClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new SybaseConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.SybaseClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.SybaseClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
+164
View File
@@ -0,0 +1,164 @@
* Design of the Microsoft SQL Server, Sybase, and TDS Data Providers in Mono
<ul>
* After much discussion among the Mono ADO.NET developers,
we have come up with the design of implementing a Sybase, Microsoft
SQL Server, and TDS Generic ADO.NET providers. These providers have
been created and are actively developed by Tim Coleman.
* Since Sybase and Microsoft SQL Server databases both
use the TDS protocol for data access, and other implementations
of TDS (FreeTDS and jTDS) have included support for multiple
versions of the TDS, we have decided to do the same.
* The TdsClient ADO.NET provider will be Mono's first provider
written completely in C# without any dependencies except
the usual suspects: corlib.dll, System.dll, and System.Xml.dll.
</ul>
* New ADO.NET Providers
<p>There will be three ADO.NET providers that will use TDS.
<ol>
<li><p>Mono.Data.SybaseClient namepace and assembly will
hold the ADO.NET provider for Sybase SQL Server database.
This provider uses TDS version 5.0 which
can only be used with Sybase databases.
<li><p>System.Data.SqlClient namespace and System.Data assembly
will hold the ADO.NET provider
for Microsoft SQL Server 7.0/2000 databases. This provider is to be
compatible with SqlClient in Microsoft .NET and uses TDS version 7.0
which only supports Microsoft SQL Server 7.0/2000.
There is TDS version 8.0
which we will need to support as well, but it is used for
Microsoft SQL Server 2000 databases.
<li><p>Mono.Data.TdsClient namespace and assembly is a generic
provider for older TDS databases. This provider will default to
using TDS version 4.2 which can be used by older Sybase and
Microsoft SQL Server databases.
</ol>
* Building The New Providers
<p> All three providers will use common internal code
at Mono.Data.TdsClient.Internal. Any classes in
Mono.Data.TdsClient.Internal will have the internal
keyword and will be built with the assembly of that provider.
<ol>
<li><p>SqlClient will build its assembly System.Data using files
from System.Data, System.Data.SqlClient, System.Data.SqlTypes,
System.Data.Common, and Mono.Data.TdsClient.Internal.
<p>SqlClient
will only reference the usual
suspects: corlib.dll, System.dll, and System.Xml.dll. SqlClient will be
a wrapper around TdsClient.Internal, but provide specific functionality to
Microsoft SQL Server 7.0/2000 databases.
<p>SqlClient build example:
<pre>
mcs -target:library -out:System.Data.dll \
System.Data.SqlClient/*.cs \
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs \
[any other classes in System.Data assembly...] \
-r corlib.dll -r System.dll -r System.Xml.dll
</pre>
<li><p>SybaseClient will build its assembly Mono.Data.SybaseClient using
files from Mono.Data.SybaseClient and Mono.Data.TdsClient.Internal.
SybaseClient will reference
the usual suspects plus System.Data.dll SybaseClient will
be a wrapper around TdsClient.Internal, but provide specific
functionality to Sybase.
<p>SybaseClient build example:
<pre>
mcs -target:library -out:Mono.Data.SybaseClient.dll \
Mono.Data.SybaseClient\*.cs \
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
</pre>
<li><p>TdsClient will build its assembly Mono.Data.TdsClient
using files from Mono.Data.TdsClient
and Mono.Data.TdsClient.Internal. TdsClient will reference the
usual suspects plus System.Data.dll TdsClient is a wrapper
provider around TdsClient.Internal used for generic
unit tests. TdsClient will a wrapper around TdsClient.Internal
as a generic TDS provider
and allow TDS configuration options not exposed in SqlClient
nor SybaseClient, such as, TdsVersion will be exposed in TdsClient
but not in SqlClient nor SybaseClient.
<p>TdsClient build example:
<pre>
mcs -target:library -out:Mono.Data.TdsClient.dll \
Mono.Data.TdsClient\*.cs \
Mono.Data.TdsClient.Internal\*.cs \
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
</pre>
</ol>
* Classes in Mono.Data.TdsClient.Internal will:
<ul>
<li>use the internal keyword to prevent exposing these classes
to the System.Data.dll assembly.
<li> implement the ADO.NET interfaces just like any other ADO.NET provider, such as,
IDbConnection, IDbCommand, IDataReader, IDataRecord, IDataAdapter, etc...
<li> be sealed just like other providers
<li> provide features to be directly used by the SqlClient and SybaseClient
providers, such
as, setting the default TDS version: SqlClient to 7.0 and SybaseClient
to 5.0 and TdsClient to 4.2.
<li> be written completely in C# or IL assembly language (if need be).
<li> implement the TDS protocol version 4.2, 5.0, 7.0, and 8.0. This
is where most of the
work will take place.
<li> be an internal ADO.NET provider to the public ADO.NET providers:
System.Data.SqlClient, Mono.Data.SybaseClient, and Mono.Data.TdsClient.
</ul>
* Implementation Details of the TDS Protocol
<ul>
* will be implemented in pure C# from scratch
* will reside in Mono.Data.TdsClient.Internal
* will use FreeTDS and jTDS as rerferences.
</ul>
* More Information
<ul>
* <a href="http://www.freetds.org/">FreeTDS</a> is C API that implements
the TDS protocol. Has libraries for tds, ctlib, and dblib. It builds
and runs on Windows, Linux, and other platforms. FreeTDS provides
data access to Microsoft SQL Server and Sybase databases.
* <a href="http://jtds.sf.net/">jTDS</a> is a 100% Java JDBC provider
for Microsoft SQL Server and Sybase databases.
* <a href="http://www.freetds.org/tds.html">TDS Protocol</a>
</ul>
* Contribute
<p>Anybody willing to help? If so,
contact any of the people working on the ADO.NET support
in Mono: Rodrigo Moya, Tim Coleman, Daniel Morgan, Brian Ritchie,
Vladimir Vukicevic, Ville Palo, Franklin Wise, and others.
Executable
+159
View File
@@ -0,0 +1,159 @@
* TDS Generic Provider
<ul>
<li>ADO.NET Provider for older Sybase and Microsoft SQL Server databases</li>
<li>Exists in namespace Mono.Data.TdsClient and assembly Mono.Data.TdsClient</li>
<li>Created by Tim Coleman</li>
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.</li>
<li>Implemented in 100% C#</li>
<li>Is similar to the Mono.Data.SybaseClient and System.Data.SqlClient providers.</li>
<li>Requires the assembly Mono.Data.Tds.dll which implements the TDS protocol in 100% C#.</li>
<li>Uses TDS Protocol Version 4.2 by default</li>
<li>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Only builds on Windows currently due to mcs does not support modules and mcs
has problems with code that is internal.</li>
<li>Able to connect to Microsoft SQL Server and Sybase databases</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a TdsCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a TdsCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via TdsDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a TdsDataReader</li>
<li>Data can be filled in a DataTable in a DataSet via a TdsDataAdapter</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now.</li>
<li>TODO</li>
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Sybase or Microsoft SQL Server database
or either download it:
<ul>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a></li>
<li><a href="http://www.sybase.com/downloads">Sybase</a></li>
</ul>
</li>
<li>If using Microsoft SQL Server 2000, make sure
you are using at least Service Pack 3 for Microsoft SQL Server 2000</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used two ways:
<ul>
<li>hostname - "Server=MYHOST"</li>
<li>hostname,port - "Server=MYHOST,1533"</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.TdsClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new TdsConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
// clean up
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.TdsClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.TdsClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
+144 -4
View File
@@ -9,13 +9,153 @@
** Class Library Tests
All classes in Mono libraries should have comprehensive unit test
suites to go with them. Unit testing is a software engineering
methodology that makes it easier to build correct code. Every
suites to go with them. Unit testing is a software engineering
methodology that makes it easier to build correct code. Every
method in every class should have a set of tests to verify
that they work correctly. Mono also needs a testing framework
that they work correctly. Mono also needs a testing framework
to make it easy to write and run lots of tests.
Try <a href="http://nunit.sourceforge.net">NUnit</a>
** Getting started
If you are new to writing NUnit tests, there is a template you may use
to help get started. The file is:
<b>mcs/class/doc/TemplateTest.cs</b>
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the [text] markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
is a small one that might help.
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each
assembly. In each assembly there is a Test directory,
e.g. mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly,
e.g. mcs/class/corlib/Test/Sytem. Put your new test file in
the appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see
examples in the AllTests.cs file, so just copy and paste
inside there.
Once all of that is done, you can do a 'make test' from the top mcs
directory. Your test class will be automagically included in the
build and the tests will be run along with all the others.
* Tips on writing Unit tests.
You should look at the NUnit documentation, as it is a
fantastic product, and includes fantastic documentation, but
here are some tips for those of you who are already reading
this web page.
** Provide an unique error message for Assert()
Include an unique message for each Assert() so that when the assert
fails, it is trivial to locate the failing one. Otherwise, it may be
difficult to determine which part of the test is failing. A good way
to ensure unique messages is to use something like #A01, #A02 etc.
Ok:
<pre>
AssertEquals("array match", compare[0], i1[0]);
AssertEquals("array match", compare[1], i1[1]);
AssertEquals("array match", compare[2], i1[2]);
AssertEquals("array match", compare[3], i1[3]);
</pre>
Excellent:
<pre>
AssertEquals("#A01", compare[0], i1[0]);
AssertEquals("#A02", compare[1], i1[1]);
AssertEquals("#A03", compare[2], i1[2]);
AssertEquals("#A04", compare[3], i1[3]);
</pre>
Once you used such a number in an Assert(), don't change it later on -
people might use it it identify the test in bug reports or in mailing
lists.
** Use AssertEquals() to compare things, not Assert().
Do not compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Ok:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Excellent:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
** Constructors
When writing your testcase, please make sure to provide a constructor
which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
** Namespace
Please keep the namespace within each test directory consistent - all
tests which are referenced in the same AllTests.cs must be in the same
namespace. Of course you can use subnamespaces as you like -
especially for subdirectories of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests" and you
have a subdirectory called "System", you can put all the tests in that
dir into namespace "MonoTests.System".
** Test your test with the Microsoft runtime
If possible, try to run your testsuite with the Microsoft runtime on
Windows and make sure all tests in it pass. This is especially
important if you're writing a totally new testcase - without this
check you can never be sure that your testcase contains no bugs ....
Don't worry if you're writing your test on Linux, other people can
test it for you on Windows.
Sometimes you may discover that a test doesn't show the expected
result when run with the Microsoft runtime - either because there is a
bug in their runtime or something is misleading or wrong in their
documentation. In this case, please put a detailed description of the
problem to mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time to help
them fix their documentation and runtime.
** Unit tests.
Why do unit testing? It becomes simple to run automated tests
for the whole library. Unit tests are a safety net - you can
+39 -20
View File
@@ -1,22 +1,17 @@
0,Home,index.html,index.src
1,FAQ,faq.html,faq.src
1,News archive,http://monoevo.sf.net/mwn/archives.html
1,Screenshots,screenshots.html,screenshots.src
1,Other sites,other.html,other.src
0,Mono,rationale.html,rationale.src
1,Runtime,runtime.html,runtime.src
2,Embedding,embedded-api.html,embedded-api.src
1,Classes,class-library.html,class-library.src
1,Gtk#,http://gtk-sharp.sourceforge.net
1,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
2,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
2,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
2,Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
2,Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
2,Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
2,Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
2,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
2,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
2,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
2,Formatters.Soap,class-status-System.Runtime.Serialization.Formatters.Soap.html,class-status-System.Runtime.Serialization.Formatters.Soap.src,cm/cormissing.css,cm/cormissing.js
1,Gtk#,gtk-sharp.html,gtk-sharp.src
1,ASP.NET,asp-net.html,asp-net.src
1,ADO.NET,ado-net.html,ado-net.src
1,C# Compiler,c-sharp.html,c-sharp.src
1,Status,status.html,status.src
1,VB Compiler,mbas.html,mbas.src
0,Download,download.html,download.src
1,CVS access,ccvs.html,ccvs.src
1,AnonCVS access,anoncvs.html,anoncvs.src
@@ -30,11 +25,6 @@
1,Porting,porting.html,porting.src
2,PowerPC,ppc.html,ppc.src
1,HOWTO,mono-contribution-howto.html,mono-contribution-howto.src
0,Plans,plans.html,plans.src
1,ADO.NET,ado-net.html,ado-net.src
1,ASP.NET,asp-net.html,asp-net.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
0,Resources,resources.html,resources.src
1,Beginning,mono-beginning.html,mono-beginning.src
1,Mailing Lists,mailing-lists.html,mailing-lists.src
@@ -44,6 +34,35 @@
1,Papers,papers.html,papers.src
1,Languages,languages.html,languages.src
1,Debugging,jit-debug.html,jit-debug.src
2,Example 1,jit-debug-sample.html,jit-debug-sample.src
2,Example 2,jit-debug-sample2.html,jit-debug-sample2.src
0,Plans,plans.html,plans.src
1,ADO.NET,ado-net.html,ado-net.src
2,ProviderFactory,provider-factory.html,provider-factory.src
2,Firebird Interbase,firebird.html,firebird.src
2,IBM DB2,ibmdb2.html,ibmdb2.src
2,Microsft SQL Server,sqlclient.html,sqlclient.src
2,MySQL,mysql.html,mysql.src
2,ODBC,odbc.html,odbc.src
2,OLE DB,oledb.html,oledb.src
2,Oracle,oracle.html,oracle.src
2,PostgreSQL,postgresql.html,postgresql.src
2,SQL Lite,sqlite.html,sqlite.src
2,Sybase,sybase.html,sybase.src
2,TDS Generic,tdsclient.html,tdsclient.src
1,Crypto,crypto.html,crypto.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
0,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
1,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
1,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
1,Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
1,Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
1,Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
1,Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
1,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
1,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
1,Windows.Forms,class-status-System.Windows.Forms.html,class-status-System.Windows.Forms.src,cm/cormissing.css,cm/cormissing.js
1,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
1,Formatters.Soap,class-status-System.Runtime.Serialization.Formatters.Soap.html,class-status-System.Runtime.Serialization.Formatters.Soap.src,cm/cormissing.css,cm/cormissing.js
1,Cscompmgd,class-status-Cscompmgd.html,class-status-Cscompmgd.src,cm/cormissing.css,cm/cormissing.js
1,System.Security,class-status-System.Security.html,class-status-System.Security.src,cm/cormissing.css,cm/cormissing.js
0,Contact,contact.html,contact.src
+70 -50
View File
@@ -3,57 +3,77 @@ CSC=csc
CORCOMPARE=../../../mcs/tools/corcompare
OBJECTS= \
deploy/ado-net.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/books.html \
deploy/contributing.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-status-Microsoft.VisualBasic.html \
deploy/class-status-System.EnterpriseServices.html \
OBJECTS= \
deploy/ado-net.html \
deploy/provider-factory.html \
deploy/mysql.html \
deploy/odbc.html \
deploy/oledb.html \
deploy/oracle.html \
deploy/postgresql.html \
deploy/sqlclient.html \
deploy/sqlite.html \
deploy/sybase.html \
deploy/tdsclient.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/books.html \
deploy/contributing.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/crypto.html \
deploy/embedded-api.html \
deploy/faq.html \
deploy/firebird.html \
deploy/gcc-frontend.html \
deploy/gtk-sharp.html \
deploy/hackers.html \
deploy/ideas.html \
deploy/ibmdb2.html \
deploy/index.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/languages.html \
deploy/mailing-lists.html \
deploy/mbas.html \
deploy/mono-beginning.html \
deploy/mono-contribution-howto.html \
deploy/monodoc-xml.html \
deploy/other.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/ppc.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/screenshots.html \
deploy/status.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-status-Microsoft.VisualBasic.html \
deploy/class-status-System.EnterpriseServices.html \
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html \
deploy/class-library.html \
deploy/classlib-doc.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/faq.html \
deploy/gcc-frontend.html \
deploy/hackers.html \
deploy/index.html \
deploy/ideas.html \
deploy/java.html \
deploy/jit-debug.html \
deploy/jit-debug-sample.html \
deploy/jit-debug-sample2.html \
deploy/languages.html \
deploy/mailing-lists.html \
deploy/mono-beginning.html \
deploy/mono-contribution-howto.html \
deploy/monodoc-xml.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/ppc.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/status.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html
deploy/class-status-System.Security.html \
deploy/class-status-System.Windows.Forms.html \
deploy/class-status-Cscompmgd.html \
deploy/class-library.html \
deploy/classlib-doc.html
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
+1 -1
View File
@@ -26,7 +26,7 @@ while (<COMMANDS>) {
$menu .= "<tr><td valign=\"top\" class=\"navi" . $command[0];
$menu .= "\"><a class=\"navi" . $command[0];
$menu .= "\"";
$menu .= "HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
$menu .= " HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
}
}
close COMMANDS;
+2 -1
View File
@@ -2,12 +2,13 @@
<html>
<head>
<title>#TITLE#</title>
<link rel="icon" href="../MonoIcon.png" type="image/png">
<!-- background-image: url("images/bgsquares.gif"); -->
<style type="text/css">
<!--
body { font-family: "trebuchet ms", lucida, verdana, helvetica;
background-attachment: fixed; }
}
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
font-size: 14px; }
+31 -9
View File
@@ -4,11 +4,10 @@
Win32 API, we will be using <a
href="http://www.winehq.com">WineLib</a> on Unix systems to
emulate the Win32 API.
Although the original plans were to use Gtk on X and Cocoa on
MacOS X, it would be very hard to emulate the event model in
which some Winforms applications depend, and it would be very
hard to implement the Wndproc method.
This means that those who want to contribute to the effort can
develop and test classes today using Windows and P/Invoke
calls to Win32 and we will then just run the result on Unix.
In terms of integrating visually with the desktop, we are
hoping to contribute to the Wine project an mechanism to make
@@ -23,10 +22,23 @@
* Contributing
The Winforms effort is being coordinated by <a
href="mailto:[email protected]">Dennis Hayes</a>. If you are
interested in helping out with this effort, get in touch with
him.
The Winforms effort is being coordinated in the <a
href="mailto:[email protected]:.com">[email protected]</a>.
If you are interested in helping out with this effort,
subscribe to it by sending an email message to <a
href="mailto:[email protected]:.com">[email protected]</a>.
If you want to help, you can start by writing a control and
testing it with Windows today (or you can also try to build
the existing library on Linux, but this is a bit more
complicated).
See the file mcs/class/System.Windows.Forms/CheckOutList for
details on who is working on which class.
Please read the README document in the
System.Windows.Forms/WINElib directory for details about how
to build the Windows.Forms support for Mono.
* System.Drawing
@@ -71,6 +83,7 @@
* Directory Layout
<pre>
System.Drawing (assembly directory)
System.Drawing.Blah
Common code for "Blah"
@@ -85,6 +98,7 @@
WineLIB
System.Drawing.Blah
Win32 ports of "System.Drawing.Blah"
</pre>
Notice that there is a proof of concept Gtk-backend for
Windows.Forms, but nobody is working on it, and for the
@@ -96,3 +110,11 @@
can accept either libart-like rendering operations and
X11-like rendering operations. This complicates matters, but
I am not sure. Someone needs to investigate this.
* Historical
Although the original plans were to use Gtk on X and Cocoa on
MacOS X, it would be very hard to emulate the event model in
which some Winforms applications depend, and it would be very
hard to implement the Wndproc method.
+16 -1
View File
@@ -55,7 +55,7 @@
MonoAssembly *assembly;
assembly = mono_domain_assembly_open ("file.dll");
assembly = mono_domain_assembly_open (domain, "file.dll");
if (!assembly)
error ();
@@ -80,6 +80,12 @@
mono_jit_cleanup (domain);
** Applications that use threads.
The Boehm GC system needs to catch your calls to the pthreads
layer, so in each file where you use pthread.h you should
include the <gc/gc.h> file.
* Exposing C code to the CIL universe
The Mono runtime provides two mechanisms to expose C code to
@@ -219,6 +225,15 @@
It may not be possible to manage exceptions in that case,
though. I need to think more about it.
** Threading issues
If your application creates threads on its own, and you want them to
be able to call code into the CIL universe with Mono, you have to
register the thread with Mono before issuing the call.
To do so, call the mono_thread_attach() function before you execute
any managed code from the thread
* Samples
See the sample programs inmono/sample/embed for examples of
+38
View File
@@ -68,3 +68,41 @@ code.
catch handler: receives the exception object in ECX. They store that
object into a local variable, so that rethrow can access the object.
gcc support for Exceptions
==========================
gcc supports exceptions in files compiled with the -fexception option. gcc
generates DWARF exceptions tables in that case, so it is possible to unwind the
stack. The method to read those exception tables is contained in libgcc.a, and
in newer versions of glibc (glibc 2.2.5 for example), and it is called
__frame_state_for(). Another usable glibc function is backtrace_symbols() which
returns the function name corresponding to a code address.
We dynamically check if those features are available using g_module_symbol(),
and we use them only when available. If not available we use the LMF as
fallback.
Using gcc exception information prevents us from saving the LMF at each native
call, so this is a way to speed up native calls. This is especially valuable
for internal calls, because we can make sure that all internal calls are
compiled with -fexceptions (we compile the whole mono runtime with that
option).
All native function are able to call function without exception tables, and so
we are unable to restore all caller saved registers if an exception is raised
in such function. Well, its possible if the previous function already saves all
registers. So we only omit the the LMF if a function has an exception table
able to restore all caller saved registers.
One problem is that gcc almost never saves all caller saved registers, because
it is just unnecessary in normal situations. But there is a trick forcing gcc
to save all register, we just need to call __builtin_unwind_init() at the
beginning of a function. That way gcc generates code to save all caller saved
register on the stack.
+1 -1
View File
@@ -1,4 +1,4 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1
EXTRA_DIST = $(man_MANS)
+42
View File
@@ -0,0 +1,42 @@
.\"
.\" cert2spc manual page.
.\" Copyright 2002, 2003 Motus Technologies
.\" Author:
.\" Sebastien Pouliot ([email protected])
.\"
.TH Mono "cert2spc"
.SH NAME
cert2spc \- Transform multiple X.509 certificates to a Software
Publisher Certificate
.SH SYNOPSIS
.PP
.B cert2spc certificate|crl [certificate|crl ...] outputfile.spc
.SH DESCRIPTION
Combine a list of X.509 certificates or X.509 CRL (Certificate
Revocation List) into a Software Publisher Certificate (PKCS#7
file). The SPC file is required for signing a PE file (like an
assembly) using signcode.
.SH PARAMETERS
.TP
.I "certificate"
One (or more) X.509 certificate to add (space separated).
.TP
.I "crl"
One (or more) X.509 CRL to add (space separated).
.TP
.I "output.spc"
Software Publisher Certificate to output. If the specified file
exists it will be overwritten.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2002, 2003 Motus Technologies.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR makecert(1), signcode(1)
+12 -5
View File
@@ -59,7 +59,11 @@ or can be used by methods that have been tagged with the Conditional
attribute.
.TP
.I \-debug, \-debug+, \-g
Generate debugging information.
Generate debugging information. The debugging information is stored
in a file with the extension .dbg (if you install system wide
assemblies, you need to install this file as well). To get stack
traces with debugging information, you need to invoke the mono runtime
with the `--debug' flag.
.TP
.I \-debug-
Do not generate debugging information.
@@ -102,12 +106,12 @@ Names the output file to be generated.
.I \-\-parse
Used for benchmarking. The compiler will only parse its input files.
.TP
.I /resource:RESOURCE[,ID]
.I -resource:RESOURCE[,ID]
Embeds to the given resource file. The optional ID can be used to
give a different name to the resource. If not specified, the resource
name will be the file name.
.TP
.I /linkresource:RESOURCE[,ID]
.I -linkresource:RESOURCE[,ID]
Links to the specified RESOURCE. The optional ID can be used to give
a name to the linked resource.
.TP
@@ -137,11 +141,14 @@ Treat warnings as errors.
Sets the warning level. 0 is the lowest warning level, and 4 is the
highest. The default is 2.
.TP
.I -r:ASSEMBLY, \-r ASSEMBLY
Reference the named assembly. Use this to use classes from the named
.I -r:ASSEMBLY1[,ASSEMBLY2], \-r ASSEMBLY1[,ASSEMBLY2]
Reference the named assemblies. Use this to use classes from the named
assembly in your program. The assembly will be loaded from either the
system directory where all the assemblies live, or from the path
explicitly given with the -L option.
.PP
You can also use a semicolon to separate the assemblies instead of a
comma.
.TP
.I \-v
Debugging. Turns on verbose yacc parsing.
+7 -1
View File
@@ -42,6 +42,7 @@ specified in the MONO_CONFIG environment variable, if set.
.TP
.I "--noinline"
Disables the code inliner.
.TP
.SH DEBUGGING OPTIONS
The following options are used to debug, or perfomance test the JIT
compiler:
@@ -67,7 +68,7 @@ the method will be compiled a thousand times.
The following options are used to debug a JITed application. They're
only useful when running the JIT in a debugger:
.TP
.I "--debug=[format]"
.I "--debug"
Writes out debug information in the given format or in the default format.
See DEBUGGING FORMATS for details.
.TP
@@ -135,6 +136,11 @@ Provides a search path to mono and mint where to look for library files.
Directories are separated by the platform path separator (colons on unix). Example:
.B /home/username/lib:/usr/local/mono/lib
.PP
.TP
.I "MONO_DISABLE_SHM"
If this variable is set, it disables the Windows I/O Emulation layer,
and handles (files, events, mutexes, pipes) will not be shared across
processes. This option is only available on Unix.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
+45
View File
@@ -0,0 +1,45 @@
.\"
.\" secutil manual page.
.\" Copyright 2002, 2003 Motus Technologies
.\" Author:
.\" Sebastien Pouliot ([email protected])
.\"
.TH Mono "secutil"
.SH NAME
secutil \- Extract X.509 certificates and strongnames from assemblies.
.SH SYNOPSIS
.PP
.B secutil [options] filename
.SH DESCRIPTION
Extract X.509 certificates and strongnames from assemblies in a
format that can be easily re-used in source code (C# or VB.NET syntax).
.SH OPTIONS
.TP
.I "-s assembly", "-strongname assembly"
Display strongname informations about the assembly.
.TP
.I "-x assembly", "-x509certificate assembly"
Display the X509 Authenticode certificate for the assembly.
.TP
.I "-a", "-array"
Display data in a decimal array (default).
.TP
.I "-v", "-vbmode"
Display data in a VisualBasic friendly format.
.TP
.I "-c", "-cmode"
Display data in a C/C++/C# friendly format (default).
.TP
.I "-help", "-h", "-?"
Display help about this tool.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2002, 2003 Motus Technologies.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR sn(1), signcode(1)
Executable
+480
View File
@@ -0,0 +1,480 @@
.TH sqlsharp 1 "10 December 2002"
.SH NAME
sqlsharp \- Mono SQL# command-line SQL Query tool
.SH SYNOPSIS
.B sqlsharp
[\-f filename] [\-o filename] [\-s]
.SH DESCRIPTION
sqlsharp is the Mono SQL# tool used for entering SQL queries
to a database using Mono ADO.NET providers.
.PP
.SH OPTIONS
The following options are supported:
.TP
.I "-f filename"
Output file to load SQL# commands from.
.TP
.I "-o filename"
Output file to send results.
.TP
.I "-s"
Silent mode.
.PP
.SH HOW TO USE
The SQL# tool accepts commands via its command line interface. Commands
begin with a backslash followed by the command name.
.PP
Example:
.nf
\\open
.fi
.PP
Basically, there are five commands a user should know:
\\provider, \\connectionstring, \\open, \\quit, and \\help
.PP
To connect to a database, you need to do the following:
.PP
1. set your data provider via \\provider
.PP
.nf
Example:
SQL# \\provider mysql
.fi
.PP
2. set your connection string via \\connectionstring
.PP
.nf
Example:
SQL# \\connectionstring Database=test
.fi
.PP
3. open a connection to the database via \\open
.PP
.nf
Example:
SQL# \\open
.fi
.PP
.SH CONNECTION AND PROVIDER COMMANDS
These commands are used to setup the provider,
connection string, and open/close the database connnection
.TP
.I "ConnectionString"
Sets the Connection String
.nf
Example:
SQL# \\ConnectionString Database=testdb
For more examples, see section CONNECTION STRING EXAMPLES.
.fi
.TP
.I "Provider"
Sets the Provider of the Data Source. For list of Providers, see section PROVIDERS.
.nf
Example: to set the provider for MySQL:
SQL# \\provider mysql
Note: if you need to load an external provider in SQL#,
see the SQL# command \\loadextprovider
.fi
.TP
.I "LoadExtProvider"
ASSEMBLY CLASS to load an external provider. Use the complete name
of its assembly and its Connection class.
.nf
Example: to load the MySQL provider Mono.Data.MySql
SQL# \\loadextprovider Mono.Data.MySql Mono.Data.MySql.MySqlConnection
.fi
.TP
.I "Open"
Opens a connection to the database
.nf
Example:
SQL# \\open
.fi
.TP
.I "Close"
Closes the connection to the database
.nf
Example:
SQL# \\close
.fi
.TP
.I "Default"
show default variables, such as, Provider and ConnectionString.
.nf
Example:
SQL# \\defaults
.fi
.TP
.I "Q"
Quit
.nf
Example:
SQL# \\q
.fi
.SH SQL EXECUTION COMMANDS
Commands to execute SQL statements
.PP
.TR
.I "e"
execute SQL query (SELECT)
.nf
Example: to execute a query
SQL# SELECT * FROM EMPLOYEE
SQL# \\e
Note: to get \\e to automatically work after entering a query, put a
semicolon ; at the end of the query.
Example: to enter and exectue query at the same time
SQL# SELECT * FROM EMPLOYEE;
.fi
.TP
.I "exenonquery"
execute a SQL non query (not a SELECT)
.nf
Example: to insert a row into a table:
SQL# INSERT INTO SOMETABLE (COL1, COL2) VALUES('ABC','DEF')
SQL# \\exenonquery
Note: this can be used for those providers that are new and do not have
the ability to execute queries yet.
.fi
.TP
.I "exescalar"
execute SQL to get a single row and single column.
.nf
Example: to execute a Maxium aggregate
SQL# SELECT MAX(grade) FROM class
SQL# \\exescalar
.fi
.TP
.I "exexml"
FILENAME to execute SQL and save output to XML file
.nf
Example:
SQL# SELECT fname, lname, hire_date FROM employee
SQL# \\exexml employee.xml
Note: this depends on DataAdapter, DataTable, and DataSet
to be working properly
.fi
.TP
.SH FILE COMMANDS
Commands for importing commands from file to SQL# and vice versa
.TP
.I "f"
FILENAME to read a batch of SQL# commands from file
.nf
Example:
SQL# \\f batch.sql#
Note: the SQL# commands are interpreted as they are read. If there is
any SQL statements, the are executed.
.fi
.TP
.I "o"
FILENAME to write result of commands executed to file.
.nf
Example:
SQL# \\o result.txt
.fi
.TP
.I "load"
FILENAME to load from file SQL commands into SQL buffer.
.nf
Example:
SQL# \\load commands.sql
.fi
.TP
.I "save"
FILENAME to save SQL commands from SQL buffer to file.
.nf
Example:
SQL# \\save commands.sql
.fi
.SH GENERAL PURPOSE COMMANDS
General commands to use.
.TP
.I "h"
show help (all commands).
.nf
Example:
SQL# \\h
.fi
.TP
.I "s"
TRUE, FALSE to silent messages.
.nf
Example 1:
SQL# \\s true
Example 2:
SQL# \\s false
.fi
.TP
.I "r"
reset or clear the query buffer.
.nf
Example:
SQL# \\r
.fi
.TP
.I "print"
show what's in the SQL buffer now.
.nf
Example:
SQL# \\print
.fi
SH VARIABLES WHICH CAN BE USED AS PARAMETERS
Commands to set variables which can be used as Parameters in an SQL statement. If the
SQL contains any parameters, the parameter does not have a variable set, the
user will be prompted for the value for each missing parameter.
.TP
.I "set"
NAME VALUE to set an internal variable.
.nf
Example:
SQL# \\set sFirstName John
.fi
.TP
.I "unset"
NAME to remove an internal variable.
.nf
Example:
SQL# \\unset sFirstName
.fi
.TP
.I "variable"
NAME to display the value of an internal variable.
.nf
Example:
SQL# \\variable sFirstName
.fi
.SH PROVIDER SUPPORT OPTIONS
Enable or Disble support for a particular provider option
.TP
.I "UseParameters"
TRUE,FALSE to use parameters when executing SQL which
use the variables that were set.
.PP
If this option is true, the SQL
contains parameters, and for each parameter
which does not have a SQL# variable set, the
user will be prompted to enter the value
For that parameter.
.nf
Example:
SQL# \\useparameter true
.fi
.PP
Default: false
.TP
.I "UseSimpleReader"
TRUE,FALSE to use simple reader when displaying results.
.nf
Example:
SQL# \\usesimplereader true
.fi
.PP
Default: false. Mostly, this is dependent on the provider. If the provider
does not have enough of IDataReader implemented to have
the normal reader working, then the simple reader can be used.
Providers like SqlClient, MySQL, and PostgreSQL have this
ption defaulting to true.
.PP
.SH PROVIDERS
.nf
PROVIDER NAME NAMESPACE ASSEMBLY
Internal
--------
OleDb OLE DB System.Data.OleDb System.Data
SqlClient MS SQL 7/2000 System.Data.SqlClient System.Data
Odbc ODBC System.Data.Odbc System.Data
External to System.Data
-----------------------
MySql MySQL Mono.Data.MySql Mono.Data.MySql
Sqlite SQL Lite Mono.Data.SqliteClient Mono.Data.SqliteClient
Sybase Sybase Mono.Data.SybaseClient Mono.Data.SybaseClient
Tds TDS Generic Mono.Data.TdsClient Mono.Data.TdsClient
PostgreSql M PostgreSQL Mono.Data.PostgreSqlClient Mono.Data.PostgreSqlClient
DB2 IBM DB2 Mono.Data.DB2Client Mono.Data.DB2Client
Oracle Oracle 8i System.Data.OracleClient System.Data.OracleClient
External to Mono
----------------
Npgsql NetPostgreSQL Npgsql Npgsql
MySQLNet ByteFX MySQL ByteFX.Data.MySQL ByteFX.Data
.fi
.SH CONNECTION STRING SAMPLES
Example connection strings for various providers to be used via the
command \\ConnectionString
.nf
Example of usage:
\\connectionstring Database=testdb
Connection String examples:
Microsoft SQL Server via System.Data.SqlClient
or Mono.Data.TdsClient provider:
Server=DANPC;Database=pubs;User ID=saPassword=
PostgreSQL via Mono.Data.PostgreSqlClient provider:
host=localhost;dbname=test;user=postgres;pass=fun2db
or
Server=localhost;Database=test;User ID=postgres;Password=fun2db
MySQL via Mono.Data.MySql provider:
Server=localhost;Database=test;User ID=mysql;Password=
ODBC via System.Data.Odbc provider using
a DSN named "MSSQLDSN" I set up
in the Windows control panel's ODBC Data Sources
which connects to Microsoft SQL Server 2000:
DSN=MSSQLDSN;UID=danmorg;PWD=freetds
SQL Lite via Mono.Data.SqliteClient
provider which connects to the
database file SqliteTest.db; if not found,
the file is created:
URI=file:SqliteTest.db
OLE DB via System.Data.OleDb provider
which connects to a PostgreSQL database:
Provider=PostgreSQL;Addr=127.0.0.1;Database=rodrigo
Oracle via System.Data.OracleClient
Data Source=testdb;User ID=scott;Password=tiger
IBM DB2 Universal Database via Mono.Data.DB2Client
DSN=sample;User ID=db2admin;Password=mysecret
Npgsql (.NET PostgreSQL) from
http://gborg.postgresql.org/project/npgsql/projdisplay.php
Server=localhost;Database=test;User ID=postgres;Password=fun2db
MySQLNet (ByteFX MySQL) from
http://sourceforge.net/projects/mysqlnet/
Server=localhost;Database=test;User ID=mysql;Password=
.fi
.SH TRACING SUPPORT
No support for tracing right now.
.SH AUTHORS
The Mono SQL# Tool was written
.nf
by Daniel Morgan <[email protected]>
.fi
.PP
.SH LICENSE
The Mono SQL# Tool is released under the terms of the GNU GPL.
Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian or Daniel Morgan.
.SH BUGS
To report bugs in the compiler, you can use `bug-buddy', or you can
file bug reports in our bug tracking system:
.nf
http://bugzilla.ximian.com.
.fi
.PP
.SH MAILING LISTS
For details, visit:
.nf
http://mail.ximian.com/mailman/mono-list
.fi
.SH WEB SITE
For details, visit:
.nf
http://www.go-mono.com
.fi
.PP
.SH SEE ALSO
mono(1), mint(1)
+4 -1
View File
@@ -1,10 +1,11 @@
C# Compiler:
Miguel de Icaza ([email protected])
Ravi Pratap ([email protected])
Martin Baulig ([email protected])
Class Libraries:
Patrik Torstensson <[email protected]>
Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish <gvaish[email protected]>
Jeff Stedfast ([email protected])
Joe Shaw ([email protected])
Miguel de Icaza ([email protected])
@@ -14,3 +15,5 @@ Class Libraries:
Bob Smith ([email protected])
John Barnette ([email protected])
Daniel Morgan <[email protected]>
Sebastien Pouliot <[email protected]>
Per Arneng <[email protected]>
+131 -16
View File
@@ -1,3 +1,118 @@
2003-02-16 Martin Baulig <[email protected]>
* docs/compiler: Added a few works about the new `Location' code.
2003-02-15 Nick Drochak <[email protected]>
* makefile.gnu: Add testcorlib target to run just the corlib unit tests.
2003-02-10 Nick Drochak <[email protected]>
* makefile: Add testcorlib target to run just the corlib unit tests.
2003-01-16 Nick Drochak <[email protected]>
* makefile.gnu: Add corlib target to just build that.
2003-01-14 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Remove the cleanup method now that
it's no longer in the interface.
2003-01-13 Duncan Mak <[email protected]>
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.
2003-01-10 Gonzalo Paniagua Javier <[email protected]>
* README.building: New file.
* makefile.gnu: install README.building file.
2003-01-09 Sebastien Pouliot <[email protected]>
* AUTHORS: add myself to class library list
2002-12-15 Alp Toker <[email protected]>
* makefile.gnu: make sure mcs is in PATH, otherwise tell user to read
INSTALL.txt
2002-12-10 Daniel Morgan <[email protected]>
* makefile
* tools/makefile
* tools/makefile.gnu: change target
from SqlSharpCli.exe
to sqlsharp.exe
2002-12-10 Alp Toker <[email protected]>
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644
* ilasm/makefile: ditto
2002-12-10 Gaurav Vaish <[email protected]>
* AUTHORS: Corrected my email-ID.
2002-11-29 Daniel Morgan <[email protected]>
* INSTALL: renamed to INSTALL.txt because INSTALL
interferred with "make install" on windows
* makefile: changes to get "make install" work
on windows
* class/makefile.gnu: flush
* ilasm/makefile: updated for windows build
* monoresgen/makefile: updated for windows build
* tools/SqlSharp/SqlSharpCli.build: flush
* winexe.in: add file to be template for executable assemblies
to be installed on windows via "make install" by providing
a script that runs mono and the assembly
like mcs runs mono mcs.exe
2002-11-28 Daniel Morgan <[email protected]>
* makefile.gnu: added tools directory to linux build
* tools/makefile.gnu: added new file to built tools and install.
dist works too. test is just blank.
2002-11-16 Martin Baulig <[email protected]>
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
Please update your scripts, the `dist' target will disappear soon.
2002-11-09 Nick Drochak <[email protected]>
* makefile: have test target be smart about windows/linux
2002-11-07 Nick Drochak <[email protected]>
* makefile: for the clean target, handle linux and windows differently.
2002-10-13 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.SqliteClient
directory to windows build
2002-10-10 Daniel Morgan <[email protected]>
* class/library.build: added Mono.Data.MySql directory to windows build.
2002-10-10 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
2002-10-09 Rodrigo Moya <[email protected]>
* class/makefile.gnu: added System.Data.Odbc directory.
2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
@@ -107,20 +222,20 @@
* makefile (linux): Abandon the build if any of the subdir makes fail
2002-03-07 Nick Drochak <[email protected]>
* makefile: Change order of build so corlib is built before nunit since
Nunit needs corlib now.
2002-02-14 Nick Drochak <[email protected]>
* makefile: Build mcs/doctools too when one does 'make'
2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
and running tests
2002-01-20 Nick Drochak <[email protected]>
2002-03-07 Nick Drochak <[email protected]>
* makefile: Change order of build so corlib is built before nunit since
Nunit needs corlib now.
2002-02-14 Nick Drochak <[email protected]>
* makefile: Build mcs/doctools too when one does 'make'
2002-01-20 Nick Drochak <[email protected]>
* on the 'test' target, make sure NUnit is built first before building
and running tests
2002-01-20 Nick Drochak <[email protected]>
* add nunit directory to the list of dirs to build in
-53
View File
@@ -1,53 +0,0 @@
Basic Installation
==================
The Mono project has developed mono, an x86-specific CL JIT compiler and
mint, a portable CLI interpreter. The build process of each of these
depends on nothing more than a C compiler, glib2 and libgc.
However, to provide a working runtime environment, these programs must
be supplemented by corlib, a CLR assembly to which they are closely
tied. This package provides the C# sources for corlib as well as some
additional assemblies and mcs, the Mono C# compiler.
To build this package, you must already have a C# compiler installed.
Build instructions for *NIX and Microsoft Windows follow.
Building mcs on *NIX
====================
mcs provides a set of makefiles which make it easy to build and install
mcs on *NIX systems like Linux or FreeBSD where mcs is already
installed.
To build the compiler and class libraries, run:
make -f makefile.gnu
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/.
To install them, run the following, where prefix identifies where you
want the files installed:
make -f makefile.gnu install prefix=/usr/local
If you are tracking Mono's development, you may sometimes need to share
the compiled libraries with others. If you want to produce an easily
distributable tarball, run:
make -f makefile.gnu dist
Building mcs on Windows
=======================
It is also possible to build mcs on Windows using the Microsoft .NET
framework. This may be convenient if you do not have access to a working
mcs setup. To build the compiler and class libraries, run:
make
The libraries will be placed in the directory class/lib/ and the mcs
compiler executable in mcs/. They can then be copied to /usr/lib and
/usr/bin or wherever desired on the target system.
+15
View File
@@ -21,6 +21,21 @@ Layout:
tests/
Sample tests
docs/
Some notes on the compiler and the class libraries.
nant/
A copy of nant source code, used during the build process
on Windows.
tools/
Various small development tools: CorCompare used to compare
two assemblies for differences in the API; TypeReflector is
a tool used to introspect types from assemblies from the
command line; MonoStyle helps you keep your code indendented
with the Mono programming style.
Thanks a lot to Sergey Chaban for his help during the development of
the C# compiler.
+33
View File
@@ -0,0 +1,33 @@
[1] Building mono + mcs from CVS on *NIX. The Easy Way (tm)
-------------------------------------------------------------
1. Get mono and mcs from CVS (http://www.go-mono.com/download.html)
2. Use the script to build mono (mono/doc/mono-build.sh).
3. Copy the dlls and mcs.exe from the latest monocharge tarball
(http://www.gnome-db.org/~gonzalo/mono/) to /where/you/installed/mono/lib and
..../bin respectively.
[2] Keeping the stuff up to date
----------------------------------
Once you have followed the above steps, do these ones to keep your installation
up to date:
1. In mcs directory,
cvs -z3 update -Pd
make -f makefile.gnu
2. Use the mono-build.sh script to update, rebuild and install mono from CVS.
Doing a cvs update of mono/doc/mono-build.sh file is also a good idea.
3. In mcs directory:
make -f makefile.gnu install prefix=/prefix/of/your/installation/path
4. In case of troubles (ie, unable to compile mcs/* sources) go to [1].
-Gonzalo
+566
View File
@@ -0,0 +1,566 @@
<?xml version="1.0" standalone="yes"?>
<svg width="600" height="523">
<path style="fill:#feffff" d="M600 0 L600 523 L0 523 L0 0 L600 0 z"/>
<path style="fill:#606060" d="M142 40 C142.2 41.18 140.7 41.02 140 41 C139.8 39.82 141.3 39.98 142 40 z"/>
<path style="fill:#0" d="M442 40 C441.8 41.18 443.3 41.02 444 41 L446 41 L447 42 L450 43 L451 44 L456 49 L457 50 L457 51 L458 52 L458 53 L459 54 L459 56 L459 58 L459 358 L459 360 L459 361 L458 362 L455 368 L454 369 L453 370 L452 371 L450 372 L449 373 L448 373 L447 374 L446 374 C445.3 374 443.8 373.8 444 375 L441 375 L153 374 L154 373 L157 369 L158 368 L159 367 L161 364 L162 363 L163 362 L165 359 L166 358 L167 357 L170 353 L171 352 L172 351 L174 348 L175 347 L176 346 L179 342 L180 341 L181 340 L183 337 L184 336 L185 335 L188 331 L189 330 L190 329 L192 326 L193 325 L194 324 L197 320 L198 319 L199 318 L201 315 L202 314 L203 313 L206 309 L207 308 L208 307 L210 304 L211 303 L212 302 L215 298 L216 297 L217 296 L219 293 L220 292 L221 291 C221.3 289.7 222.7 288.7 224 289 L225 290 L227 290 L228 291 L229 291 L230 292 L231 292 L232 293 L234 293 L235 294 L236 294 L237 295 L238 295 L239 296 L241 296 L242 297 L243 297 L244 298 L245 298 L246 299 L248 299 L249 300 L250 300 L251 301 L252 301 L253 302 L255 302 L256 303 L257 303 L258 304 L259 304 L260 305 L264 306 L265 307 L266 307 L267 308 L271 309 L272 310 L273 310 L274 311 L278 312 L279 313 L280 313 L281 314 L285 315 L286 316 L287 316 L288 317 L292 318 L293 319 L294 319 L295 320 L299 321 L300 322 L301 322 L302 323 L306 324 L307 325 L308 325 L309 326 L313 327 L314 328 L315 328 L316 329 L317 329 L318 330 L320 330 L321 331 L322 331 L323 332 L324 332 L325 333 L327 333 L328 334 L329 334 L330 335 L331 335 L332 336 L334 336 L335 337 L336 337 L337 338 L338 338 L339 339 L341 339 L342 340 L343 340 L344 341 L345 341 L346 342 L348 342 L349 343 L350 343 L351 344 L352 344 L353 345 L355 345 L356 346 L357 346 L358 347 L359 347 L360 348 C361.6 348.3 363.7 347.9 364 346 L365 345 L366 343 L367 342 L367 341 L368 340 L373 329 L374 328 L374 327 L375 326 L375 325 L376 324 L376 323 L377 322 L377 320 L378 319 L378 318 L379 317 L380 313 L381 312 L381 311 L382 310 L382 308 L383 307 L384 303 L385 302 L380 298 L379 297 L378 297 L377 296 L373 294 L372 293 L369 291 L368 290 L366 289 L365 288 L364 287 L361 285 L360 284 L359 283 L345 269 L344 268 L343 267 L342 266 L340 263 L339 262 L337 259 L336 258 L331 250 L330 249 L329 247 L328 246 L328 245 L327 244 L324 238 L324 237 L327 240 L328 241 L330 244 L331 245 L332 246 L333 247 L337 252 L338 253 L339 254 L340 255 L341 256 L342 257 L343 258 L344 259 L345 260 L346 261 L347 262 L348 263 L349 264 L355 269 L356 270 L357 271 L358 272 L362 275 L363 276 L366 278 L367 279 L368 280 L370 281 L371 282 L372 283 L374 284 L375 285 L377 286 L378 287 L380 288 L381 289 L383 290 L384 291 L386 292 C385.8 293.3 388.2 293.3 388 292 L388 291 C389.2 291.2 389 289.7 389 289 L389 287 C390.2 287.2 390 285.7 390 285 L390 282 C391.2 282.2 391 280.7 391 280 L391 277 C392.6 276.9 391.8 274.9 392 274 L392 272 L393 267 L393 242 L392 237 L392 233 L391 229 L391 227 L391 225 C391 224.3 391.2 222.8 390 223 L390 220 C390 219.3 390.2 217.8 389 218 L389 215 C389 214.3 389.2 212.8 388 213 L388 211 C388 210.3 388.2 208.8 387 209 L387 207 C387 206.3 387.2 204.8 386 205 L386 204 C386 203.3 386.2 201.8 385 202 L385 200 C385 199.3 385.2 197.8 384 198 L384 197 C384 196.3 384.2 194.8 383 195 L383 193 L382 192 L382 190 L381 189 L381 187 L380 186 L380 185 L379 184 L379 182 L378 181 L377 180 L376 179 L368 177 L367 176 L365 176 C365.2 174.8 363.7 175 363 175 L362 175 C362.2 173.8 360.7 174 360 174 L358 174 L357 173 L356 173 C356.2 171.8 354.7 172 354 172 L349 171 L348 170 L346 170 C346.2 168.8 344.7 169 344 169 L343 169 L344 168 L347 168 C346.8 169.2 348.3 169 349 169 L351 169 C350.8 170.2 352.3 170 353 170 L357 170 C356.8 171.2 358.3 171 359 171 L360 171 C360.1 172.6 362.1 171.8 363 172 L367 172 C366.8 173.2 368.3 173 369 173 L373 173 C373.1 174.6 375.1 173.8 376 174 L378 174 L382 175 C385.8 174.6 391.3 176.6 393 172 L394 171 L394 169 L395 165 L395 159 L394 154 L394 151 C393.8 150.1 394.6 148.1 393 148 L393 145 L393 143 C393 142.3 393.2 140.8 392 141 L391 134 C391 133.3 391.2 131.8 390 132 L390 131 C390 130.3 390.2 128.8 389 129 L389 127 C389 126.3 389.2 124.8 388 125 L388 124 C388 123.3 388.2 121.8 387 122 L387 120 C387 119.3 387.2 117.8 386 118 L386 117 C386 116.3 386.2 114.8 385 115 L385 114 C385 113.3 385.2 111.8 384 112 L383 108 L382 107 L382 106 L381 105 L381 104 L380 103 L379 100 L378 99 L378 98 L377 97 L375 95 L374 94 L372 93 L371 92 L367 91 L366 90 L364 90 L363 89 L361 89 L360 88 L358 88 C358.2 86.82 356.7 86.98 356 87 L355 87 C355.2 85.82 353.7 85.98 353 86 L351 86 C351.2 84.82 349.7 84.98 349 85 L346 85 C346.2 83.82 344.7 83.98 344 84 L341 84 C341.2 82.82 339.7 82.98 339 83 L336 83 C336.2 81.82 334.7 81.98 334 82 L331 82 C331.2 80.82 329.7 80.98 329 81 L326 81 C325.9 79.41 323.9 80.19 323 80 L319 80 C318.9 78.41 316.9 79.19 316 79 L312 79 C311.9 77.41 309.9 78.19 309 78 L302 78 L297 77 L294 77 C293.9 75.41 291.9 76.19 291 76 L285 76 L281 76 L275 75 L264 76 L254 76 L250 77 L248 77 L246 77 C245.3 76.98 243.8 76.82 244 78 L242 78 C241.3 77.98 239.8 77.82 240 79 L238 79 C237.3 78.98 235.8 78.82 236 80 Line truncated
<path style="fill:#585858" d="M444 41 C443.3 41.02 441.8 41.18 442 40 C442.7 39.98 444.2 39.82 444 41 z"/>
<path style="fill:#606060" d="M138 41 L137 42 L138 41 z"/>
<path style="fill:#606060" d="M447 42 L446 41 L447 42 z"/>
<path style="fill:#606060" d="M136 42 L135 43 L136 42 z"/>
<path style="fill:#909090" d="M134 43 L133 44 L134 43 z"/>
<path style="fill:#808080" d="M451 44 L450 43 L451 44 z"/>
<path style="fill:#606060" d="M129 48 L128 49 L129 48 z"/>
<path style="fill:#909090" d="M457 50 L456 49 L457 50 z"/>
<path style="fill:#808080" d="M127 51 L126 52 L127 51 z"/>
<path style="fill:#606060" d="M458 52 L457 51 L458 52 z"/>
<path style="fill:#787878" d="M126 53 C126 53.66 126.2 55.15 125 55 C125 54.34 124.8 52.85 126 53 z"/>
<path style="fill:#909090" d="M459 54 L458 53 L459 54 z"/>
<path style="fill:#9a9b9b" d="M125 56 L125 59 L124 59 C124.2 58.05 123.4 56.06 125 56 z"/>
<path style="fill:#909090" d="M460 58 L459 58 L459 56 C460.2 55.85 460 57.34 460 58 z"/>
<path style="fill:#404040" d="M460 58 L460 358 L459 358 L459 58 L460 58 z"/>
<path style="fill:#404040" d="M125 59 L126 171 L124 59 L125 59 z"/>
<path style="fill:#7d7d7d" d="M275 75 L275 76 L264 76 L275 75 z"/>
<path style="fill:#3a3b3b" d="M281 76 L275 76 L275 75 L281 76 z"/>
<path style="fill:#686868" d="M254 76 L250 77 L254 76 z"/>
<path style="fill:#a2a3a3" d="M291 76 L291 77 L285 76 L291 76 z"/>
<path style="fill:#4a4b4b" d="M294 77 L291 77 L291 76 C291.9 76.19 293.9 75.41 294 77 z"/>
<path style="fill:#585858" d="M246 77 L246 78 L244 78 C243.8 76.82 245.3 76.98 246 77 z"/>
<path style="fill:#a8a8a8" d="M248 77 C248.2 78.18 246.7 78.02 246 78 L246 77 L248 77 z"/>
<path style="fill:#a0a0a0" d="M302 78 L297 77 L302 78 z"/>
<path style="fill:#707070" d="M242 78 C242.2 79.18 240.7 79.02 240 79 C239.8 77.82 241.3 77.98 242 78 z"/>
<path style="fill:#606060" d="M312 79 C311.1 78.81 309.1 79.59 309 78 C309.9 78.19 311.9 77.41 312 79 z"/>
<path style="fill:#707070" d="M238 79 C238.2 80.18 236.7 80.02 236 80 C235.8 78.82 237.3 78.98 238 79 z"/>
<path style="fill:#656565" d="M319 80 C318.1 79.81 316.1 80.59 316 79 C316.9 79.19 318.9 78.41 319 80 z"/>
<path style="fill:#787878" d="M235 80 C235.2 81.18 233.7 81.02 233 81 C232.8 79.82 234.3 79.98 235 80 z"/>
<path style="fill:#606060" d="M326 81 C325.1 80.81 323.1 81.59 323 80 C323.9 80.19 325.9 79.41 326 81 z"/>
<path style="fill:#a0a0a0" d="M232 81 L231 82 L232 81 z"/>
<path style="fill:#707070" d="M331 82 C330.3 82.02 328.8 82.18 329 81 C329.7 80.98 331.2 80.82 331 82 z"/>
<path style="fill:#606060" d="M229 82 L228 83 L229 82 z"/>
<path style="fill:#909090" d="M336 83 C335.3 83.02 333.8 83.18 334 82 C334.7 81.98 336.2 81.82 336 83 z"/>
<path style="fill:#686868" d="M195 84 L191 83 L195 84 z"/>
<path style="fill:#808080" d="M227 83 L226 84 L227 83 z"/>
<path style="fill:#989898" d="M341 84 C340.3 84.02 338.8 84.18 339 83 C339.7 82.98 341.2 82.82 341 84 z"/>
<path style="fill:#606060" d="M203 85 L199 84 L203 85 z"/>
<path style="fill:#888888" d="M346 85 C345.3 85.02 343.8 85.18 344 84 C344.7 83.98 346.2 83.82 346 85 z"/>
<path style="fill:#5c5c5c" d="M211 86 L207 85 L211 86 z"/>
<path style="fill:#585858" d="M229 86 C228.3 86.02 226.8 86.18 227 85 C227.7 84.98 229.2 84.82 229 86 z"/>
<path style="fill:#606060" d="M351 86 C350.3 86.02 348.8 86.18 349 85 C349.7 84.98 351.2 84.82 351 86 z"/>
<path style="fill:#989898" d="M217 87 L213 86 L217 87 z"/>
<path style="fill:#a8a8a8" d="M236 87 C235.3 87.02 233.8 87.18 234 86 C234.7 85.98 236.2 85.82 236 87 z"/>
<path style="fill:#606060" d="M355 87 C354.3 87.02 352.8 87.18 353 86 C353.7 85.98 355.2 85.82 355 87 z"/>
<path style="fill:#a0a0a0" d="M183 87 L182 88 L183 87 z"/>
<path style="fill:#909090" d="M225 88 L221 87 L225 88 z"/>
<path style="fill:#686868" d="M240 88 C239.3 88.02 237.8 88.18 238 87 C238.7 86.98 240.2 86.82 240 88 z"/>
<path style="fill:#909090" d="M358 88 C357.3 88.02 355.8 88.18 356 87 C356.7 86.98 358.2 86.82 358 88 z"/>
<path style="fill:#909090" d="M182 88 L181 89 L182 88 z"/>
<path style="fill:#a0a0a0" d="M232 89 C231.1 88.81 229.1 89.59 229 88 C229.9 88.19 231.9 87.41 232 89 z"/>
<path style="fill:#606060" d="M245 89 C244.3 89.02 242.8 89.18 243 88 C243.7 87.98 245.2 87.82 245 89 z"/>
<path style="fill:#909090" d="M361 89 L360 88 L361 89 z"/>
<path style="fill:#606060" d="M181 89 L180 90 L181 89 z"/>
<path style="fill:#686868" d="M242 90 L238 89 L242 90 z"/>
<path style="fill:#6e6e6e" d="M252 90 C251.3 89.98 249.8 89.82 250 91 L246 90 C246.7 90.02 248.2 90.18 248 89 L252 90 z"/>
<path style="fill:#a0a0a0" d="M364 90 L363 89 L364 90 z"/>
<path style="fill:#0c0c0c" d="M252 90 L254 90 L254 91 L250 91 C249.8 89.82 251.3 89.98 252 90 z"/>
<path style="fill:#505050" d="M260 91 L260 92 L254 91 L254 90 L260 91 z"/>
<path style="fill:#909090" d="M367 91 L366 90 L367 91 z"/>
<path style="fill:#989898" d="M260 92 L260 91 L266.8 92.25 C265.8 93.41 260.9 93.72 260 92 z"/>
<path style="fill:#606060" d="M372 93 L371 92 L372 93 z"/>
<path style="fill:#808080" d="M178 93 L177 94 L178 93 z"/>
<path style="fill:#909090" d="M375 95 L374 94 L375 95 z"/>
<path style="fill:#909090" d="M176 96 L175 97 L176 96 z"/>
<path style="fill:#707070" d="M378 98 L377 97 L378 98 z"/>
<path style="fill:#707070" d="M174 99 L173 100 L174 99 z"/>
<path style="fill:#a0a0a0" d="M379 100 L378 99 L379 100 z"/>
<path style="fill:#808080" d="M173 101 L172 102 L173 101 z"/>
<path style="fill:#808080" d="M172 103 L171 104 L172 103 z"/>
<path style="fill:#a0a0a0" d="M381 104 L380 103 L381 104 z"/>
<path style="fill:#606060" d="M171 105 L170 106 L171 105 z"/>
<path style="fill:#808080" d="M382 106 L381 105 L382 106 z"/>
<path style="fill:#606060" d="M383 108 L382 107 L383 108 z"/>
<path style="fill:#989898" d="M170 108 C170 108.7 170.2 110.2 169 110 C169 109.3 168.8 107.8 170 108 z"/>
<path style="fill:#a5a5a5" d="M169 112 L169 121 C167.3 119.3 167.3 113.7 169 112 z"/>
<path style="fill:#787878" d="M385 114 C383.8 114.2 384 112.7 384 112 C385.2 111.8 385 113.3 385 114 z"/>
<path style="fill:#787878" d="M386 117 C384.8 117.2 385 115.7 385 115 C386.2 114.8 386 116.3 386 117 z"/>
<path style="fill:#787878" d="M387 120 C385.8 120.2 386 118.7 386 118 C387.2 117.8 387 119.3 387 120 z"/>
<path style="fill:#b0b0b0" d="M388 124 C386.8 124.2 387 122.7 387 122 C388.2 121.8 388 123.3 388 124 z"/>
<path style="fill:#a0a0a0" d="M170 124 L169 123 L170 124 z"/>
<path style="fill:#888888" d="M389 127 C387.8 127.2 388 125.7 388 125 C389.2 124.8 389 126.3 389 127 z"/>
<path style="fill:#606060" d="M171 127 L170 126 L171 127 z"/>
<path style="fill:#606060" d="M172 129 L171 128 L172 129 z"/>
<path style="fill:#a0a0a0" d="M390 131 C388.8 131.2 389 129.7 389 129 C390.2 128.8 390 130.3 390 131 z"/>
<path style="fill:#808080" d="M174 132 L173 131 L174 132 z"/>
<path style="fill:#606060" d="M391 134 C389.8 134.2 390 132.7 390 132 C391.2 131.8 391 133.3 391 134 z"/>
<path style="fill:#707070" d="M177 136 L176 135 L177 136 z"/>
<path style="fill:#a0a0a0" d="M178 137 L177 136 L178 137 z"/>
<path style="fill:#a0a0a0" d="M179 138 L178 137 L179 138 z"/>
<path style="fill:#a0a0a0" d="M180 139 L179 138 L180 139 z"/>
<path style="fill:#a0a0a0" d="M181 140 L180 139 L181 140 z"/>
<path style="fill:#a0a0a0" d="M182 141 L181 140 L182 141 z"/>
<path style="fill:#a0a0a0" d="M183 142 L182 141 L183 142 z"/>
<path style="fill:#585858" d="M393 143 L392 143 L392 141 C393.2 140.8 393 142.3 393 143 z"/>
<path style="fill:#909090" d="M184 143 L183 142 L184 143 z"/>
<path style="fill:#606060" d="M185 144 L184 143 L185 144 z"/>
<path style="fill:#b0b0b0" d="M393 143 L393 145 C391.8 145.2 392 143.7 392 143 L393 143 z"/>
<path style="fill:#a0a0a0" d="M189 147 L188 146 L189 147 z"/>
<path style="fill:#606060" d="M190 148 L189 147 L190 148 z"/>
<path style="fill:#a0a0a0" d="M394 151 C392.4 150.9 393.2 148.9 393 148 C394.6 148.1 393.8 150.1 394 151 z"/>
<path style="fill:#808080" d="M193 150 L192 149 L193 150 z"/>
<path style="fill:#808080" d="M196 152 L195 151 L196 152 z"/>
<path style="fill:#808080" d="M188 154 C188.2 155.2 186.7 155 186 155 C185.8 153.8 187.3 154 188 154 z"/>
<path style="fill:#909090" d="M193 155 L192 154 L193 155 z"/>
<path style="fill:#696a6a" d="M395 159 L394 159 L394 154 L395 159 z"/>
<path style="fill:#b0b0b0" d="M185 155 C185.2 156.2 183.7 156 183 156 C182.8 154.8 184.3 155 185 155 z"/>
<path style="fill:#606060" d="M196 156 L195 155 L196 156 z"/>
<path style="fill:#888888" d="M181 156 C181.2 157.2 179.7 157 179 157 C178.8 155.8 180.3 156 181 156 z"/>
<path style="fill:#808080" d="M198 157 L197 156 L198 157 z"/>
<path style="fill:#707070" d="M177 157 C177.2 158.2 175.7 158 175 158 C174.8 156.8 176.3 157 177 157 z"/>
<path style="fill:#a0a0a0" d="M200 158 L199 157 L200 158 z"/>
<path style="fill:#909090" d="M174 158 C174.2 159.2 172.7 159 172 159 C171.8 157.8 173.3 158 174 158 z"/>
<path style="fill:#606060" d="M203 159 L202 158 L203 159 z"/>
<path style="fill:#606060" d="M209 159 L208 158 L209 159 z"/>
<path style="fill:#787878" d="M170 159 C170.2 160.2 168.7 160 168 160 C167.8 158.8 169.3 159 170 159 z"/>
<path style="fill:#a0a0a0" d="M205 160 L204 159 L205 160 z"/>
<path style="fill:#606060" d="M211 160 L210 159 L211 160 z"/>
<path style="fill:#b8b8b8" d="M395 159 L395 165 L394 165 L394 159 L395 159 z"/>
<path style="fill:#a8a8a8" d="M167 160 C167.2 161.2 165.7 161 165 161 C164.8 159.8 166.3 160 167 160 z"/>
<path style="fill:#606060" d="M208 161 L207 160 L208 161 z"/>
<path style="fill:#606060" d="M213 161 L212 160 L213 161 z"/>
<path style="fill:#808080" d="M163 161 C163.2 162.2 161.7 162 161 162 C160.8 160.8 162.3 161 163 161 z"/>
<path style="fill:#808080" d="M210 162 L209 161 L210 162 z"/>
<path style="fill:#606060" d="M215 162 L214 161 L215 162 z"/>
<path style="fill:#b0b0b0" d="M160 162 C160.2 163.2 158.7 163 158 163 C157.8 161.8 159.3 162 160 162 z"/>
<path style="fill:#606060" d="M217 163 L216 162 L217 163 z"/>
<path style="fill:#909090" d="M156 163 C156.2 164.2 154.7 164 154 164 C153.8 162.8 155.3 163 156 163 z"/>
<path style="fill:#707070" d="M215 164 L214 163 L215 164 z"/>
<path style="fill:#2e2f2f" d="M226 167 L226 168 L222 167 L221 166 L217 165 L217 164 L218 163 L226 167 z"/>
<path style="fill:#707070" d="M152 164 C152.2 165.2 150.7 165 150 165 C149.8 163.8 151.3 164 152 164 z"/>
<path style="fill:#a0a0a0" d="M217 164 L217 165 L216 164 L217 164 z"/>
<path style="fill:#989898" d="M149 165 C149.2 166.2 147.7 166 147 166 C146.8 164.8 148.3 165 149 165 z"/>
<path style="fill:#929393" d="M336 166 L336 167 C331.1 167.2 332.8 162.9 336 166 z"/>
<path style="fill:#686868" d="M395 165 L394 169 L394 165 L395 165 z"/>
<path style="fill:#808080" d="M145 166 C145.2 167.2 143.7 167 143 167 C142.8 165.8 144.3 166 145 166 z"/>
<path style="fill:#909090" d="M222 167 L221 166 L222 167 z"/>
<path style="fill:#525353" d="M344 168 L343 169 L336 167 L336 166 L344 168 z"/>
<path style="fill:#606060" d="M141 167 C141.2 168.2 139.7 168 139 168 C138.8 166.8 140.3 167 141 167 z"/>
<path style="fill:#808080" d="M227 168 L227 169 L226 168 L226 167 L227 168 z"/>
<path style="fill:#888888" d="M138 168 C138.2 169.2 136.7 169 136 169 C135.8 167.8 137.3 168 138 168 z"/>
<path style="fill:#202020" d="M228 168 L228 169 L227 169 L227 168 L228 168 z"/>
<path style="fill:#7c7c7c" d="M231 170 C230.1 169.8 228.1 170.6 228 169 L228 168 L231 170 z"/>
<path style="fill:#989898" d="M349 169 C348.3 169 346.8 169.2 347 168 C347.7 168 349.2 167.8 349 169 z"/>
<path style="fill:#707070" d="M134 169 C134.2 170.2 132.7 170 132 170 C131.8 168.8 133.3 169 134 169 z"/>
<path style="fill:#808080" d="M346 170 C345.3 170 343.8 170.2 344 169 C344.7 169 346.2 168.8 346 170 z"/>
<path style="fill:#686868" d="M353 170 C352.3 170 350.8 170.2 351 169 C351.7 169 353.2 168.8 353 170 z"/>
<path style="fill:#909090" d="M131 170 C131.2 171.2 129.7 171 129 171 C128.8 169.8 130.3 170 131 170 z"/>
<path style="fill:#808080" d="M231 170 C234.2 169.3 231.7 172.5 231 170 z"/>
<path style="fill:#606060" d="M349 171 L348 170 L349 171 z"/>
<path style="fill:#a8a8a8" d="M359 171 C358.3 171 356.8 171.2 357 170 C357.7 170 359.2 169.8 359 171 z"/>
<path style="fill:#5a5b5b" d="M363 172 C362.1 171.8 360.1 172.6 360 171 C360.9 171.2 362.9 170.4 363 172 z"/>
<path style="fill:#606060" d="M394 171 L393 172 L394 171 z"/>
<path style="fill:#505050" d="M356 173 C355.3 173 353.8 173.2 354 172 C354.7 172 356.2 171.8 356 173 z"/>
<path style="fill:#989898" d="M369 173 C368.3 173 366.8 173.2 367 172 C367.7 172 369.2 171.8 369 173 z"/>
<path style="fill:#909090" d="M358 174 L357 173 L358 174 z"/>
<path style="fill:#a5a5a5" d="M376 174 C375.1 173.8 373.1 174.6 373 173 C373.9 173.2 375.9 172.4 376 174 z"/>
<path style="fill:#707070" d="M362 175 C361.3 175 359.8 175.2 360 174 C360.7 174 362.2 173.8 362 175 z"/>
<path style="fill:#646464" d="M382 175 L378 174 L382 175 z"/>
<path style="fill:#787878" d="M365 176 C364.3 176 362.8 176.2 363 175 C363.7 175 365.2 174.8 365 176 z"/>
<path style="fill:#606060" d="M368 177 L367 176 L368 177 z"/>
<path style="fill:#909090" d="M377 180 L376 179 L377 180 z"/>
<path style="fill:#707070" d="M379 182 L378 181 L379 182 z"/>
<path style="fill:#a0a0a0" d="M380 185 L379 184 L380 185 z"/>
<path style="fill:#606060" d="M381 187 L380 186 L381 187 z"/>
<path style="fill:#707070" d="M382 190 L381 189 L382 190 z"/>
<path style="fill:#707070" d="M383 193 L382 192 L383 193 z"/>
<path style="fill:#909090" d="M384 197 C382.8 197.2 383 195.7 383 195 C384.2 194.8 384 196.3 384 197 z"/>
<path style="fill:#787878" d="M385 200 C383.8 200.2 384 198.7 384 198 C385.2 197.8 385 199.3 385 200 z"/>
<path style="fill:#a0a0a0" d="M386 204 C384.8 204.2 385 202.7 385 202 C386.2 201.8 386 203.3 386 204 z"/>
<path style="fill:#707070" d="M387 207 C385.8 207.2 386 205.7 386 205 C387.2 204.8 387 206.3 387 207 z"/>
<path style="fill:#707070" d="M388 211 C386.8 211.2 387 209.7 387 209 C388.2 208.8 388 210.3 388 211 z"/>
<path style="fill:#606060" d="M389 215 C387.8 215.2 388 213.7 388 213 C389.2 212.8 389 214.3 389 215 z"/>
<path style="fill:#686868" d="M390 220 C388.8 220.2 389 218.7 389 218 C390.2 217.8 390 219.3 390 220 z"/>
<path style="fill:#585858" d="M391 225 L390 225 L390 223 C391.2 222.8 391 224.3 391 225 z"/>
<path style="fill:#a8a8a8" d="M391 225 L391 227 C389.8 227.2 390 225.7 390 225 L391 225 z"/>
<path style="fill:#707070" d="M392 233 L391 229 L392 233 z"/>
<path style="fill:#909090" d="M324 236 L323 236 C320.3 234.8 323.9 233.2 324 236 z"/>
<path style="fill:#202020" d="M324 236 L324 237 L323 237 L323 236 L324 236 z"/>
<path style="fill:#a0a0a0" d="M324 237 L324 238 L323 237 L324 237 z"/>
<path style="fill:#666666" d="M393 242 L392 237 L393 242 z"/>
<path style="fill:#a0a0a0" d="M328 241 L327 240 L328 241 z"/>
<path style="fill:#707070" d="M328 245 L327 244 L328 245 z"/>
<path style="fill:#606060" d="M331 245 L330 244 L331 245 z"/>
<path style="fill:#909090" d="M332 246 L331 245 L332 246 z"/>
<path style="fill:#909090" d="M329 247 L328 246 L329 247 z"/>
<path style="fill:#a0a0a0" d="M333 247 L332 246 L333 247 z"/>
<path style="fill:#707070" d="M331 250 L330 249 L331 250 z"/>
<path style="fill:#606060" d="M338 253 L337 252 L338 253 z"/>
<path style="fill:#606060" d="M339 254 L338 253 L339 254 z"/>
<path style="fill:#606060" d="M340 255 L339 254 L340 255 z"/>
<path style="fill:#606060" d="M341 256 L340 255 L341 256 z"/>
<path style="fill:#606060" d="M342 257 L341 256 L342 257 z"/>
<path style="fill:#606060" d="M343 258 L342 257 L343 258 z"/>
<path style="fill:#707070" d="M337 259 L336 258 L337 259 z"/>
<path style="fill:#606060" d="M344 259 L343 258 L344 259 z"/>
<path style="fill:#606060" d="M345 260 L344 259 L345 260 z"/>
<path style="fill:#606060" d="M346 261 L345 260 L346 261 z"/>
<path style="fill:#606060" d="M347 262 L346 261 L347 262 z"/>
<path style="fill:#707070" d="M340 263 L339 262 L340 263 z"/>
<path style="fill:#606060" d="M348 263 L347 262 L348 263 z"/>
<path style="fill:#606060" d="M349 264 L348 263 L349 264 z"/>
<path style="fill:#a0a0a0" d="M343 267 L342 266 L343 267 z"/>
<path style="fill:#808080" d="M344 268 L343 267 L344 268 z"/>
<path style="fill:#636363" d="M393 267 L392 272 L393 267 z"/>
<path style="fill:#606060" d="M345 269 L344 268 L345 269 z"/>
<path style="fill:#a0a0a0" d="M356 270 L355 269 L356 270 z"/>
<path style="fill:#909090" d="M357 271 L356 270 L357 271 z"/>
<path style="fill:#606060" d="M358 272 L357 271 L358 272 z"/>
<path style="fill:#a0a0a0" d="M392 274 C391.8 274.9 392.6 276.9 391 277 C391.2 276.1 390.4 274.1 392 274 z"/>
<path style="fill:#808080" d="M363 276 L362 275 L363 276 z"/>
<path style="fill:#a0a0a0" d="M367 279 L366 278 L367 279 z"/>
<path style="fill:#606060" d="M368 280 L367 279 L368 280 z"/>
<path style="fill:#a8a8a8" d="M391 280 C391 280.7 391.2 282.2 390 282 C390 281.3 389.8 279.8 391 280 z"/>
<path style="fill:#a0a0a0" d="M371 282 L370 281 L371 282 z"/>
<path style="fill:#606060" d="M372 283 L371 282 L372 283 z"/>
<path style="fill:#606060" d="M360 284 L359 283 L360 284 z"/>
<path style="fill:#a0a0a0" d="M361 285 L360 284 L361 285 z"/>
<path style="fill:#808080" d="M375 285 L374 284 L375 285 z"/>
<path style="fill:#909090" d="M390 285 C390 285.7 390.2 287.2 389 287 C389 286.3 388.8 284.8 390 285 z"/>
<path style="fill:#909090" d="M378 287 L377 286 L378 287 z"/>
<path style="fill:#606060" d="M365 288 L364 287 L365 288 z"/>
<path style="fill:#909090" d="M366 289 L365 288 L366 289 z"/>
<path style="fill:#909090" d="M381 289 L380 288 L381 289 z"/>
<path style="fill:#606060" d="M225 290 L224 289 L225 290 z"/>
<path style="fill:#808080" d="M389 289 C389 289.7 389.2 291.2 388 291 C388 290.3 387.8 288.8 389 289 z"/>
<path style="fill:#a0a0a0" d="M228 291 L227 290 L228 291 z"/>
<path style="fill:#606060" d="M369 291 L368 290 L369 291 z"/>
<path style="fill:#808080" d="M384 291 L383 290 L384 291 z"/>
<path style="fill:#606060" d="M221 291 L220 292 L221 291 z"/>
<path style="fill:#808080" d="M230 292 L229 291 L230 292 z"/>
<path style="fill:#a0a0a0" d="M220 292 L219 293 L220 292 z"/>
<path style="fill:#606060" d="M232 293 L231 292 L232 293 z"/>
<path style="fill:#606060" d="M388 292 C388.2 293.3 385.8 293.3 386 292 L388 292 z"/>
<path style="fill:#a0a0a0" d="M235 294 L234 293 L235 294 z"/>
<path style="fill:#a0a0a0" d="M373 294 L372 293 L373 294 z"/>
<path style="fill:#808080" d="M237 295 L236 294 L237 295 z"/>
<path style="fill:#606060" d="M239 296 L238 295 L239 296 z"/>
<path style="fill:#606060" d="M217 296 L216 297 L217 296 z"/>
<path style="fill:#a0a0a0" d="M242 297 L241 296 L242 297 z"/>
<path style="fill:#808080" d="M378 297 L377 296 L378 297 z"/>
<path style="fill:#909090" d="M216 297 L215 298 L216 297 z"/>
<path style="fill:#808080" d="M244 298 L243 297 L244 298 z"/>
<path style="fill:#606060" d="M380 298 L379 297 L380 298 z"/>
<path style="fill:#606060" d="M246 299 L245 298 L246 299 z"/>
<path style="fill:#a0a0a0" d="M249 300 L248 299 L249 300 z"/>
<path style="fill:#808080" d="M251 301 L250 300 L251 301 z"/>
<path style="fill:#606060" d="M253 302 L252 301 L253 302 z"/>
<path style="fill:#707070" d="M212 302 L211 303 L212 302 z"/>
<path style="fill:#a0a0a0" d="M256 303 L255 302 L256 303 z"/>
<path style="fill:#808080" d="M385 302 L384 303 L385 302 z"/>
<path style="fill:#a0a0a0" d="M211 303 L210 304 L211 303 z"/>
<path style="fill:#808080" d="M258 304 L257 303 L258 304 z"/>
<path style="fill:#606060" d="M260 305 L259 304 L260 305 z"/>
<path style="fill:#909090" d="M265 307 L264 306 L265 307 z"/>
<path style="fill:#606060" d="M208 307 L207 308 L208 307 z"/>
<path style="fill:#606060" d="M267 308 L266 307 L267 308 z"/>
<path style="fill:#909090" d="M383 307 L382 308 L383 307 z"/>
<path style="fill:#909090" d="M207 308 L206 309 L207 308 z"/>
<path style="fill:#909090" d="M272 310 L271 309 L272 310 z"/>
<path style="fill:#606060" d="M274 311 L273 310 L274 311 z"/>
<path style="fill:#606060" d="M382 310 L381 311 L382 310 z"/>
<path style="fill:#909090" d="M279 313 L278 312 L279 313 z"/>
<path style="fill:#909090" d="M381 312 L380 313 L381 312 z"/>
<path style="fill:#707070" d="M203 313 L202 314 L203 313 z"/>
<path style="fill:#606060" d="M281 314 L280 313 L281 314 z"/>
<path style="fill:#a0a0a0" d="M202 314 L201 315 L202 314 z"/>
<path style="fill:#a0a0a0" d="M286 316 L285 315 L286 316 z"/>
<path style="fill:#707070" d="M288 317 L287 316 L288 317 z"/>
<path style="fill:#707070" d="M379 317 L378 318 L379 317 z"/>
<path style="fill:#606060" d="M199 318 L198 319 L199 318 z"/>
<path style="fill:#a0a0a0" d="M293 319 L292 318 L293 319 z"/>
<path style="fill:#909090" d="M198 319 L197 320 L198 319 z"/>
<path style="fill:#707070" d="M295 320 L294 319 L295 320 z"/>
<path style="fill:#a0a0a0" d="M378 319 L377 320 L378 319 z"/>
<path style="fill:#a0a0a0" d="M300 322 L299 321 L300 322 z"/>
<path style="fill:#707070" d="M302 323 L301 322 L302 323 z"/>
<path style="fill:#606060" d="M377 322 L376 323 L377 322 z"/>
<path style="fill:#707070" d="M194 324 L193 325 L194 324 z"/>
<path style="fill:#a0a0a0" d="M307 325 L306 324 L307 325 z"/>
<path style="fill:#707070" d="M376 324 L375 325 L376 324 z"/>
<path style="fill:#a0a0a0" d="M193 325 L192 326 L193 325 z"/>
<path style="fill:#707070" d="M309 326 L308 325 L309 326 z"/>
<path style="fill:#808080" d="M375 326 L374 327 L375 326 z"/>
<path style="fill:#a0a0a0" d="M314 328 L313 327 L314 328 z"/>
<path style="fill:#808080" d="M316 329 L315 328 L316 329 z"/>
<path style="fill:#a0a0a0" d="M374 328 L373 329 L374 328 z"/>
<path style="fill:#606060" d="M190 329 L189 330 L190 329 z"/>
<path style="fill:#606060" d="M318 330 L317 329 L318 330 z"/>
<path style="fill:#909090" d="M189 330 L188 331 L189 330 z"/>
<path style="fill:#a0a0a0" d="M321 331 L320 330 L321 331 z"/>
<path style="fill:#808080" d="M323 332 L322 331 L323 332 z"/>
<path style="fill:#606060" d="M325 333 L324 332 L325 333 z"/>
<path style="fill:#a0a0a0" d="M328 334 L327 333 L328 334 z"/>
<path style="fill:#808080" d="M330 335 L329 334 L330 335 z"/>
<path style="fill:#707070" d="M185 335 L184 336 L185 335 z"/>
<path style="fill:#606060" d="M332 336 L331 335 L332 336 z"/>
<path style="fill:#a0a0a0" d="M184 336 L183 337 L184 336 z"/>
<path style="fill:#a0a0a0" d="M335 337 L334 336 L335 337 z"/>
<path style="fill:#808080" d="M337 338 L336 337 L337 338 z"/>
<path style="fill:#606060" d="M339 339 L338 338 L339 339 z"/>
<path style="fill:#a0a0a0" d="M342 340 L341 339 L342 340 z"/>
<path style="fill:#606060" d="M181 340 L180 341 L181 340 z"/>
<path style="fill:#808080" d="M344 341 L343 340 L344 341 z"/>
<path style="fill:#a0a0a0" d="M368 340 L367 341 L368 340 z"/>
<path style="fill:#a0a0a0" d="M180 341 L179 342 L180 341 z"/>
<path style="fill:#606060" d="M346 342 L345 341 L346 342 z"/>
<path style="fill:#a0a0a0" d="M349 343 L348 342 L349 343 z"/>
<path style="fill:#707070" d="M367 342 L366 343 L367 342 z"/>
<path style="fill:#808080" d="M351 344 L350 343 L351 344 z"/>
<path style="fill:#606060" d="M353 345 L352 344 L353 345 z"/>
<path style="fill:#a0a0a0" d="M356 346 L355 345 L356 346 z"/>
<path style="fill:#808080" d="M365 345 L364 346 L365 345 z"/>
<path style="fill:#808080" d="M176 346 L175 347 L176 346 z"/>
<path style="fill:#808080" d="M358 347 L357 346 L358 347 z"/>
<path style="fill:#a0a0a0" d="M175 347 L174 348 L175 347 z"/>
<path style="fill:#606060" d="M360 348 L359 347 L360 348 z"/>
<path style="fill:#606060" d="M172 351 L171 352 L172 351 z"/>
<path style="fill:#a0a0a0" d="M171 352 L170 353 L171 352 z"/>
<path style="fill:#808080" d="M167 357 L166 358 L167 357 z"/>
<path style="fill:#a0a0a0" d="M166 358 L165 359 L166 358 z"/>
<path style="fill:#a8a8a8" d="M460 358 C460 358.7 460.2 360.2 459 360 L459 358 L460 358 z"/>
<path style="fill:#606060" d="M459 361 L458 362 L459 361 z"/>
<path style="fill:#606060" d="M163 362 L162 363 L163 362 z"/>
<path style="fill:#a0a0a0" d="M162 363 L161 364 L162 363 z"/>
<path style="fill:#606060" d="M159 367 L158 368 L159 367 z"/>
<path style="fill:#808080" d="M158 368 L157 369 L158 368 z"/>
<path style="fill:#a0a0a0" d="M455 368 L454 369 L455 368 z"/>
<path style="fill:#808080" d="M454 369 L453 370 L454 369 z"/>
<path style="fill:#a0a0a0" d="M453 370 L452 371 L453 370 z"/>
<path style="fill:#707070" d="M450 372 L449 373 L450 372 z"/>
<path style="fill:#606060" d="M154 373 L153 374 L154 373 z"/>
<path style="fill:#606060" d="M448 373 L447 374 L448 373 z"/>
<path style="fill:#808080" d="M153 374 L441 375 C347.2 376 242.5 378 153 374 z"/>
<path style="fill:#787878" d="M446 374 C446.2 375.2 444.7 375 444 375 C443.8 373.8 445.3 374 446 374 z"/>
<path style="fill:#404040" d="M462 387 L462 388 L452 388 L462 387 z"/>
<path style="fill:#909090" d="M462 389 L462 388 L462 387 C463.3 386.8 463.3 389.2 462 389 z"/>
<path style="fill:#0d0e0e" d="M467 389 L468 390 L468 392 L469 393 L469 395 L470 396 L470 397 L471 399 L471 400 L469 400 L469 399 L468 398 L468 396 L467 395 L467 392 C463.7 387.1 465.4 397.8 465 400 L464 400 C464.1 396.7 462.8 382.8 467 389 z"/>
<path style="fill:#080808" d="M476 387 L475 400 L474 392 L473 391 L473 389 L474 388 C473.8 386.8 475.3 387 476 387 z"/>
<path style="fill:#868686" d="M475 400 L476 387 C477.4 389.3 478.4 401.9 475 400 z"/>
<path style="fill:#0" d="M462 388 L462 389 L459 389 L458 400 L457 400 L456 389 L452 388 L462 388 z"/>
<path style="fill:#909090" d="M474 388 L473 389 L474 388 z"/>
<path style="fill:#404040" d="M457 400 L456 400 L456 389 L457 400 z"/>
<path style="fill:#c0c0c0" d="M459 389 L458 400 L459 389 z"/>
<path style="fill:#909090" d="M468 390 L467 389 L468 390 z"/>
<path style="fill:#3b3c3c" d="M467 392 L466 400 L465 400 C465.4 397.8 463.7 387.1 467 392 z"/>
<path style="fill:#2c2c2c" d="M473 391 L474 392 L473 394 L473 396 L472 397 L472 399 L471 399 L470 397 L473 391 z"/>
<path style="fill:#7e7e7e" d="M475 400 L473 394 L474 392 L475 400 z"/>
<path style="fill:#909090" d="M469 393 L468 392 L469 393 z"/>
<path style="fill:#909090" d="M468 396 L467 395 L468 396 z"/>
<path style="fill:#909090" d="M470 396 L469 395 L470 396 z"/>
<path style="fill:#909090" d="M473 396 L472 397 L473 396 z"/>
<path style="fill:#888888" d="M166 397 C166.2 398.2 164.7 398 164 398 C163.8 396.8 165.3 397 166 397 z"/>
<path style="fill:#0" d="M175 397 C174.8 398.2 176.3 398 177 398 L179 398 L180 399 L183 400 L184 401 L185 402 L186 403 L187 404 L188 406 C187.6 407.1 189.4 407.1 189 406 L190 405 L191 404 L192 403 L195 401 L196 400 L202 398 C202.7 398 204.2 398.2 204 397 L211 397 C211.1 398.6 213.1 397.8 214 398 L217 398 L218 399 L219 399 L220 400 L222 401 L223 402 L224 403 L225 405 L226 406 L226 407 L227 408 L227 409 C227 409.7 226.8 411.2 228 411 L228 414 L228 457 L206.3 456.8 L206 421 C206 420.3 206.2 418.8 205 419 L204 417 L203 416 L202 416 L201 415 L196 415 L195 416 C193.5 416.7 191.7 418.1 192 420 L191 421 L191 422 L190 457 L168 457 L168 421 C168 420.3 168.2 418.8 167 419 L166 417 L165 416 C163 414.4 160.4 415.1 158 415 L157 416 L154 419 L153 420 L153 421 C151.8 420.8 152 422.3 152 423 L152 457 L130 457 L130 399 L150 399 C150.1 400.8 149.1 408.1 152 405 L153 404 L154 403 L155 402 L157 401 L158 400 L164 398 C164.7 398 166.2 398.2 166 397 L175 397 z"/>
<path style="fill:#707070" d="M177 398 C176.3 398 174.8 398.2 175 397 C175.7 397 177.2 396.8 177 398 z"/>
<path style="fill:#808080" d="M204 397 C204.2 398.2 202.7 398 202 398 C201.8 396.8 203.3 397 204 397 z"/>
<path style="fill:#4a4b4b" d="M214 398 C213.1 397.8 211.1 398.6 211 397 C211.9 397.2 213.9 396.4 214 398 z"/>
<path style="fill:#696a6a" d="M269 397 L264 398 L269 397 z"/>
<path style="fill:#010101" d="M276 397 L280 398 L282 398 L284 398 C283.8 399.2 285.3 399 286 399 L287 399 L288 400 L290 400 L291 401 L296 404 L297 405 L298 406 L299 407 L300 408 L303 413 L304 414 L304 416 L305 417 L305 419 C305 419.7 304.8 421.2 306 421 L306 424 L306 432 L306 434 C304.8 433.8 305 435.3 305 436 L305 438 L304 439 L304 441 L303 442 L300 447 L299 448 L298 449 L297 450 L296 451 L293 453 L292 454 L291 454 L290 455 L289 455 L288 456 L282 457 C281.1 457.2 279.1 456.4 279 458 L276 458 L269 458 L265 458 C265.2 456.8 263.7 457 263 457 L261 457 C261.2 455.8 259.7 456 259 456 L258 456 L257 455 L252 453 L251 452 L245 446 L244 445 L243 443 L242 442 L242 441 L241 440 L241 439 C241 438.3 241.2 436.8 240 437 L240 435 C240 434.3 240.2 432.8 239 433 L239 423 C240.2 423.2 240 421.7 240 421 L240 419 C241.2 419.2 241 417.7 241 417 C241.3 414 243.4 411.5 245 409 L246 408 L249 405 L250 404 L251 403 L253 402 L254 401 L255 401 L256 400 L257 400 L258 399 L260 399 C260.7 399 262.2 399.2 262 398 L264 398 L269 397 L276 397 z"/>
<path style="fill:#545454" d="M280 397 L280 398 L276 397 L280 397 z"/>
<path style="fill:#b0b0b0" d="M282 398 L280 398 L280 397 C280.7 397 282.2 396.8 282 398 z"/>
<path style="fill:#909090" d="M354 397 C354.2 398.2 352.7 398 352 398 C351.8 396.8 353.3 397 354 397 z"/>
<path style="fill:#0" d="M364 397 C363.8 398.2 365.3 398 366 398 L367 398 L368 399 L369 399 L370 400 L372 401 L373 402 L374 403 L375 404 L377 409 C377 409.7 376.8 411.2 378 411 L378 412 L378 416 L378 457 L356.3 456.8 L356 421 C356 420.3 356.2 418.8 355 419 L355 418 L354 417 L353 416 C350.4 414.5 346.6 414.5 344 416 L343 417 L342 418 L341 419 L341 420 C339.8 419.8 340 421.3 340 422 L340 423 L339 457 L317 457 L317 399 L338 399 L339 406 L340 405 L341 404 L342 403 L345 401 L346 400 L347 400 L348 399 L349 399 L350 398 L352 398 C352.7 398 354.2 398.2 354 397 L364 397 z"/>
<path style="fill:#b0b0b0" d="M366 398 C365.3 398 363.8 398.2 364 397 C364.7 397 366.2 396.8 366 398 z"/>
<path style="fill:#696a6a" d="M419 397 L414 398 L419 397 z"/>
<path style="fill:#010101" d="M426 397 L431 398 L434 398 C433.8 399.2 435.3 399 436 399 L437 399 L438 400 L440 400 L441 401 L446 404 L447 405 L448 406 L449 407 L450 408 L453 413 L454 414 L454 416 L455 417 L455 418 C455 418.7 454.8 420.2 456 420 L456 426 L456 432 L456 435 C454.8 434.8 455 436.3 455 437 L455 438 C453.8 437.8 454 439.3 454 440 L454 441 L453 442 L450 447 L449 448 L448 449 L447 450 L446 451 L445 452 L443 453 L442 454 L441 454 L440 455 L439 455 L438 456 L437 456 C436.3 456 434.8 455.8 435 457 L432 457 C431.1 457.2 429.1 456.4 429 458 L426 458 L419 458 L415 458 C415.2 456.8 413.7 457 413 457 L411 457 C411.2 455.8 409.7 456 409 456 L408 456 L407 455 L402 453 L401 452 L395 446 L394 445 L393 443 L392 442 L392 441 L391 440 L391 438 L390 437 L390 434 L389 430 L389 423 C390.2 423.2 390 421.7 390 421 L390 419 C391.2 419.2 391 417.7 391 417 L391 416 L392 415 L393 412 L394 411 L395 409 L396 408 L397 407 L398 406 L399 405 L400 404 L401 403 L403 402 L404 401 L405 401 L406 400 L407 400 C407.7 400 409.2 400.2 409 399 L410 399 C410.7 399 412.2 399.2 412 398 L414 398 L419 397 L426 397 z"/>
<path style="fill:#606060" d="M431 398 L426 397 L431 398 z"/>
<path style="fill:#808181" d="M130 398 L130 399 L130 457 C128.3 438.7 128.3 416.3 130 398 z"/>
<path style="fill:#404040" d="M150 398 L150 399 L130 399 L130 398 L150 398 z"/>
<path style="fill:#878787" d="M152 405 C149.1 408.1 150.1 400.8 150 399 L150 398 L152 405 z"/>
<path style="fill:#606060" d="M180 399 L179 398 L180 399 z"/>
<path style="fill:#909090" d="M218 399 L217 398 L218 399 z"/>
<path style="fill:#787878" d="M262 398 C262.2 399.2 260.7 399 260 399 C259.8 397.8 261.3 398 262 398 z"/>
<path style="fill:#909090" d="M286 399 C285.3 399 283.8 399.2 284 398 C284.7 398 286.2 397.8 286 399 z"/>
<path style="fill:#c0c0c0" d="M317 398 L317 399 L317 457 C315.3 438.7 315.3 416.3 317 398 z"/>
<path style="fill:#404040" d="M338 399 L317 399 L317 398 L338 399 z"/>
<path style="fill:#707070" d="M350 398 L349 399 L350 398 z"/>
<path style="fill:#808080" d="M368 399 L367 398 L368 399 z"/>
<path style="fill:#787878" d="M412 398 C412.2 399.2 410.7 399 410 399 C409.8 397.8 411.3 398 412 398 z"/>
<path style="fill:#909090" d="M436 399 C435.3 399 433.8 399.2 434 398 C434.7 398 436.2 397.8 436 399 z"/>
<path style="fill:#a0a0a0" d="M469 399 L468 398 L469 399 z"/>
<path style="fill:#808080" d="M220 400 L219 399 L220 400 z"/>
<path style="fill:#a0a0a0" d="M258 399 L257 400 L258 399 z"/>
<path style="fill:#606060" d="M288 400 L287 399 L288 400 z"/>
<path style="fill:#606060" d="M348 399 L347 400 L348 399 z"/>
<path style="fill:#707070" d="M370 400 L369 399 L370 400 z"/>
<path style="fill:#787878" d="M409 399 C409.2 400.2 407.7 400 407 400 C406.8 398.8 408.3 399 409 399 z"/>
<path style="fill:#606060" d="M438 400 L437 399 L438 400 z"/>
<path style="fill:#a0a0a0" d="M472 399 L471 400 L471 399 L472 399 z"/>
<path style="fill:#707070" d="M158 400 L157 401 L158 400 z"/>
<path style="fill:#a0a0a0" d="M184 401 L183 400 L184 401 z"/>
<path style="fill:#808080" d="M196 400 L195 401 L196 400 z"/>
<path style="fill:#808080" d="M256 400 L255 401 L256 400 z"/>
<path style="fill:#a0a0a0" d="M291 401 L290 400 L291 401 z"/>
<path style="fill:#808080" d="M346 400 L345 401 L346 400 z"/>
<path style="fill:#808080" d="M406 400 L405 401 L406 400 z"/>
<path style="fill:#a0a0a0" d="M441 401 L440 400 L441 401 z"/>
<path style="fill:#909090" d="M457 400 L458 400 C458.2 401.3 455.8 401.3 456 400 L457 400 z"/>
<path style="fill:#909090" d="M465 400 L466 400 C466.2 401.3 463.8 401.3 464 400 L465 400 z"/>
<path style="fill:#909090" d="M471 400 C471.2 401.3 468.8 401.3 469 400 L471 400 z"/>
<path style="fill:#808080" d="M185 402 L184 401 L185 402 z"/>
<path style="fill:#a0a0a0" d="M223 402 L222 401 L223 402 z"/>
<path style="fill:#909090" d="M254 401 L253 402 L254 401 z"/>
<path style="fill:#a0a0a0" d="M373 402 L372 401 L373 402 z"/>
<path style="fill:#a0a0a0" d="M404 401 L403 402 L404 401 z"/>
<path style="fill:#a0a0a0" d="M155 402 L154 403 L155 402 z"/>
<path style="fill:#808080" d="M186 403 L185 402 L186 403 z"/>
<path style="fill:#a0a0a0" d="M224 403 L223 402 L224 403 z"/>
<path style="fill:#808080" d="M374 403 L373 402 L374 403 z"/>
<path style="fill:#a0a0a0" d="M154 403 L153 404 L154 403 z"/>
<path style="fill:#a0a0a0" d="M187 404 L186 403 L187 404 z"/>
<path style="fill:#a0a0a0" d="M192 403 L191 404 L192 403 z"/>
<path style="fill:#909090" d="M251 403 L250 404 L251 403 z"/>
<path style="fill:#a0a0a0" d="M342 403 L341 404 L342 403 z"/>
<path style="fill:#a0a0a0" d="M375 404 L374 403 L375 404 z"/>
<path style="fill:#a0a0a0" d="M401 403 L400 404 L401 403 z"/>
<path style="fill:#a0a0a0" d="M153 404 L152 405 L153 404 z"/>
<path style="fill:#a0a0a0" d="M191 404 L190 405 L191 404 z"/>
<path style="fill:#606060" d="M250 404 L249 405 L250 404 z"/>
<path style="fill:#a0a0a0" d="M297 405 L296 404 L297 405 z"/>
<path style="fill:#a0a0a0" d="M341 404 L340 405 L341 404 z"/>
<path style="fill:#606060" d="M400 404 L399 405 L400 404 z"/>
<path style="fill:#909090" d="M447 405 L446 404 L447 405 z"/>
<path style="fill:#a0a0a0" d="M190 405 L189 406 L190 405 z"/>
<path style="fill:#606060" d="M226 406 L225 405 L226 406 z"/>
<path style="fill:#808080" d="M298 406 L297 405 L298 406 z"/>
<path style="fill:#a0a0a0" d="M340 405 L339 406 L340 405 z"/>
<path style="fill:#606060" d="M399 405 L398 406 L399 405 z"/>
<path style="fill:#606060" d="M448 406 L447 405 L448 406 z"/>
<path style="fill:#606060" d="M189 406 C189.4 407.1 187.6 407.1 188 406 L189 406 z"/>
<path style="fill:#808080" d="M299 407 L298 406 L299 407 z"/>
<path style="fill:#606060" d="M398 406 L397 407 L398 406 z"/>
<path style="fill:#606060" d="M449 407 L448 406 L449 407 z"/>
<path style="fill:#606060" d="M227 408 L226 407 L227 408 z"/>
<path style="fill:#a0a0a0" d="M300 408 L299 407 L300 408 z"/>
<path style="fill:#606060" d="M397 407 L396 408 L397 407 z"/>
<path style="fill:#909090" d="M450 408 L449 407 L450 408 z"/>
<path style="fill:#707070" d="M246 408 L245 409 L246 408 z"/>
<path style="fill:#808080" d="M396 408 L395 409 L396 408 z"/>
<path style="fill:#787878" d="M228 411 C226.8 411.2 227 409.7 227 409 C228.2 408.8 228 410.3 228 411 z"/>
<path style="fill:#686868" d="M378 411 C376.8 411.2 377 409.7 377 409 C378.2 408.8 378 410.3 378 411 z"/>
<path style="fill:#606060" d="M394 411 L393 412 L394 411 z"/>
<path style="fill:#909090" d="M379 416 L378 416 L378 412 L379 416 z"/>
<path style="fill:#606060" d="M269 413 L268 414 L269 413 z"/>
<path style="fill:#fdfefe" d="M276 413 L277 414 L278 414 L279 415 L280 416 L281 417 L282 419 C282 419.7 281.8 421.2 283 421 L283 423 L283 432 L283 435 L282 436 L282 437 L281 438 L278 441 L277 442 L276 442 L270 442 L268 442 L267 441 L265 439 L264 438 L263 435 L262 434 L262 431 L262 425 L262 422 C263.2 422.2 263 420.7 263 420 L263 419 L264 418 L268 414 L269 413 L276 413 z"/>
<path style="fill:#a0a0a0" d="M277 414 L276 413 L277 414 z"/>
<path style="fill:#a0a0a0" d="M304 414 L303 413 L304 414 z"/>
<path style="fill:#606060" d="M419 413 L418 414 L419 413 z"/>
<path style="fill:#fdfdfd" d="M426 413 L427 414 L428 414 L429 415 L430 416 L431 417 L432 418 L432 419 L433 420 L433 423 L433 432 L433 435 L432 436 L431 439 L430 440 L429 441 L426 442 L425 443 L421 443 C421.2 441.8 419.7 442 419 442 L417 441 L416 440 L415 439 L414 438 L413 435 C413 434.3 413.2 432.8 412 433 L412 423 C413.2 423.2 413 421.7 413 421 L413 419 L414 418 L418 414 L419 413 L426 413 z"/>
<path style="fill:#a0a0a0" d="M427 414 L426 413 L427 414 z"/>
<path style="fill:#a0a0a0" d="M454 414 L453 413 L454 414 z"/>
<path style="fill:#434343" d="M228 457 L228 414 C229.7 427 229.7 444 228 457 z"/>
<path style="fill:#808080" d="M279 415 L278 414 L279 415 z"/>
<path style="fill:#909090" d="M429 415 L428 414 L429 415 z"/>
<path style="fill:#a0a0a0" d="M158 415 L157 416 L158 415 z"/>
<path style="fill:#606060" d="M196 415 L195 416 L196 415 z"/>
<path style="fill:#a0a0a0" d="M202 416 L201 415 L202 416 z"/>
<path style="fill:#a0a0a0" d="M280 416 L279 415 L280 416 z"/>
<path style="fill:#606060" d="M392 415 L391 416 L392 415 z"/>
<path style="fill:#606060" d="M166 417 L165 416 L166 417 z"/>
<path style="fill:#606060" d="M204 417 L203 416 L204 417 z"/>
<path style="fill:#a0a0a0" d="M281 417 L280 416 L281 417 z"/>
<path style="fill:#606060" d="M305 417 L304 416 L305 417 z"/>
<path style="fill:#a0a0a0" d="M344 416 L343 417 L344 416 z"/>
<path style="fill:#808080" d="M354 417 L353 416 L354 417 z"/>
<path style="fill:#404040" d="M379 416 L378 457 L378 416 L379 416 z"/>
<path style="fill:#a0a0a0" d="M431 417 L430 416 L431 417 z"/>
<path style="fill:#606060" d="M455 417 L454 416 L455 417 z"/>
<path style="fill:#686868" d="M241 417 C241 417.7 241.2 419.2 240 419 C240 418.3 239.8 416.8 241 417 z"/>
<path style="fill:#a0a0a0" d="M343 417 L342 418 L343 417 z"/>
<path style="fill:#707070" d="M355 418 L354 417 L355 418 z"/>
<path style="fill:#787878" d="M391 417 C391 417.7 391.2 419.2 390 419 C390 418.3 389.8 416.8 391 417 z"/>
<path style="fill:#707070" d="M432 418 L431 417 L432 418 z"/>
<path style="fill:#808080" d="M264 418 L263 419 L264 418 z"/>
<path style="fill:#808080" d="M342 418 L341 419 L342 418 z"/>
<path style="fill:#606060" d="M414 418 L413 419 L414 418 z"/>
<path style="fill:#989898" d="M456 420 C454.8 420.2 455 418.7 455 418 C456.2 417.8 456 419.3 456 420 z"/>
<path style="fill:#808080" d="M154 419 L153 420 L154 419 z"/>
<path style="fill:#686868" d="M168 421 L167 421 L167 419 C168.2 418.8 168 420.3 168 421 z"/>
<path style="fill:#989898" d="M206 421 C204.8 421.2 205 419.7 205 419 C206.2 418.8 206 420.3 206 421 z"/>
<path style="fill:#888888" d="M283 421 C281.8 421.2 282 419.7 282 419 C283.2 418.8 283 420.3 283 421 z"/>
<path style="fill:#686868" d="M306 421 C304.8 421.2 305 419.7 305 419 C306.2 418.8 306 420.3 306 421 z"/>
<path style="fill:#888888" d="M356 421 C354.8 421.2 355 419.7 355 419 C356.2 418.8 356 420.3 356 421 z"/>
<path style="fill:#606060" d="M433 420 L432 419 L433 420 z"/>
<path style="fill:#a0a0a0" d="M192 420 L191 421 L192 420 z"/>
<path style="fill:#707070" d="M263 420 C263 420.7 263.2 422.2 262 422 C262 421.3 261.8 419.8 263 420 z"/>
<path style="fill:#989898" d="M341 420 C341 420.7 341.2 422.2 340 422 C340 421.3 339.8 419.8 341 420 z"/>
<path style="fill:#606060" d="M153 421 L153 423 L152 423 C152 422.3 151.8 420.8 153 421 z"/>
<path style="fill:#bfc0c0" d="M168 421 L168 457 L167 421 L168 421 z"/>
<path style="fill:#707070" d="M240 421 C240 421.7 240.2 423.2 239 423 C239 422.3 238.8 420.8 240 421 z"/>
<path style="fill:#909090" d="M390 421 C390 421.7 390.2 423.2 389 423 C389 422.3 388.8 420.8 390 421 z"/>
<path style="fill:#a0a0a0" d="M413 421 C413 421.7 413.2 423.2 412 423 C412 422.3 411.8 420.8 413 421 z"/>
<path style="fill:#7c7c7c" d="M191 422 L190 457 L191 422 z"/>
<path style="fill:#bfbfbf" d="M153 423 L152 457 L152 423 L153 423 z"/>
<path style="fill:#888989" d="M283 432 L283 423 C284.7 424.7 284.7 430.3 283 432 z"/>
<path style="fill:#7c7d7d" d="M340 423 L339 457 L340 423 z"/>
<path style="fill:#a1a2a2" d="M433 432 L433 423 C434.7 424.7 434.7 430.3 433 432 z"/>
<path style="fill:#c4c4c4" d="M306 432 L306 424 C307.6 425.3 307.6 430.7 306 432 z"/>
<path style="fill:#404040" d="M262 425 L262 431 C260.4 430.3 260.4 425.7 262 425 z"/>
<path style="fill:#a0a0a0" d="M456 432 L456 426 C457.6 426.7 457.6 431.3 456 432 z"/>
<path style="fill:#585858" d="M390 434 L389 430 L390 434 z"/>
<path style="fill:#909090" d="M240 435 C238.8 435.2 239 433.7 239 433 C240.2 432.8 240 434.3 240 435 z"/>
<path style="fill:#808080" d="M413 435 C411.8 435.2 412 433.7 412 433 C413.2 432.8 413 434.3 413 435 z"/>
<path style="fill:#707070" d="M263 435 L262 434 L263 435 z"/>
<path style="fill:#707070" d="M306 434 C306 434.7 306.2 436.2 305 436 C305 435.3 304.8 433.8 306 434 z"/>
<path style="fill:#909090" d="M283 435 L282 436 L283 435 z"/>
<path style="fill:#a0a0a0" d="M433 435 L432 436 L433 435 z"/>
<path style="fill:#989898" d="M456 435 C456 435.7 456.2 437.2 455 437 C455 436.3 454.8 434.8 456 435 z"/>
<path style="fill:#888888" d="M241 439 C239.8 439.2 240 437.7 240 437 C241.2 436.8 241 438.3 241 439 z"/>
<path style="fill:#a0a0a0" d="M282 437 L281 438 L282 437 z"/>
<path style="fill:#707070" d="M391 438 L390 437 L391 438 z"/>
<path style="fill:#909090" d="M265 439 L264 438 L265 439 z"/>
<path style="fill:#606060" d="M305 438 L304 439 L305 438 z"/>
<path style="fill:#909090" d="M415 439 L414 438 L415 439 z"/>
<path style="fill:#888888" d="M455 438 C455 438.7 455.2 440.2 454 440 C454 439.3 453.8 437.8 455 438 z"/>
<path style="fill:#a0a0a0" d="M416 440 L415 439 L416 440 z"/>
<path style="fill:#606060" d="M431 439 L430 440 L431 439 z"/>
<path style="fill:#808080" d="M242 441 L241 440 L242 441 z"/>
<path style="fill:#a0a0a0" d="M392 441 L391 440 L392 441 z"/>
<path style="fill:#a0a0a0" d="M417 441 L416 440 L417 441 z"/>
<path style="fill:#606060" d="M430 440 L429 441 L430 440 z"/>
<path style="fill:#606060" d="M268 442 L267 441 L268 442 z"/>
<path style="fill:#a0a0a0" d="M278 441 L277 442 L278 441 z"/>
<path style="fill:#a0a0a0" d="M304 441 L303 442 L304 441 z"/>
<path style="fill:#a0a0a0" d="M454 441 L453 442 L454 441 z"/>
<path style="fill:#808080" d="M243 443 L242 442 L243 443 z"/>
<path style="fill:#aaabab" d="M276 442 C275.3 443.6 270.7 443.6 270 442 L276 442 z"/>
<path style="fill:#909090" d="M393 443 L392 442 L393 443 z"/>
<path style="fill:#707070" d="M421 443 C420.3 443 418.8 443.2 419 442 C419.7 442 421.2 441.8 421 443 z"/>
<path style="fill:#808080" d="M426 442 L425 443 L426 442 z"/>
<path style="fill:#707070" d="M245 446 L244 445 L245 446 z"/>
<path style="fill:#707070" d="M395 446 L394 445 L395 446 z"/>
<path style="fill:#a0a0a0" d="M300 447 L299 448 L300 447 z"/>
<path style="fill:#909090" d="M450 447 L449 448 L450 447 z"/>
<path style="fill:#707070" d="M299 448 L298 449 L299 448 z"/>
<path style="fill:#606060" d="M449 448 L448 449 L449 448 z"/>
<path style="fill:#606060" d="M298 449 L297 450 L298 449 z"/>
<path style="fill:#606060" d="M448 449 L447 450 L448 449 z"/>
<path style="fill:#a0a0a0" d="M297 450 L296 451 L297 450 z"/>
<path style="fill:#808080" d="M447 450 L446 451 L447 450 z"/>
<path style="fill:#a0a0a0" d="M446 451 L445 452 L446 451 z"/>
<path style="fill:#909090" d="M252 453 L251 452 L252 453 z"/>
<path style="fill:#909090" d="M402 453 L401 452 L402 453 z"/>
<path style="fill:#a0a0a0" d="M293 453 L292 454 L293 453 z"/>
<path style="fill:#909090" d="M443 453 L442 454 L443 453 z"/>
<path style="fill:#808080" d="M291 454 L290 455 L291 454 z"/>
<path style="fill:#808080" d="M441 454 L440 455 L441 454 z"/>
<path style="fill:#606060" d="M258 456 L257 455 L258 456 z"/>
<path style="fill:#a0a0a0" d="M289 455 L288 456 L289 455 z"/>
<path style="fill:#606060" d="M408 456 L407 455 L408 456 z"/>
<path style="fill:#909090" d="M439 455 L438 456 L439 455 z"/>
<path style="fill:#787878" d="M261 457 C260.3 457 258.8 457.2 259 456 C259.7 456 261.2 455.8 261 457 z"/>
<path style="fill:#808080" d="M411 457 C410.3 457 408.8 457.2 409 456 C409.7 456 411.2 455.8 411 457 z"/>
<path style="fill:#a8a8a8" d="M437 456 C437.2 457.2 435.7 457 435 457 C434.8 455.8 436.3 456 437 456 z"/>
<path style="fill:#888888" d="M265 458 C264.3 458 262.8 458.2 263 457 C263.7 457 265.2 456.8 265 458 z"/>
<path style="fill:#606060" d="M282 457 C281.9 458.6 279.9 457.8 279 458 C279.1 456.4 281.1 457.2 282 457 z"/>
<path style="fill:#888888" d="M415 458 C414.3 458 412.8 458.2 413 457 C413.7 457 415.2 456.8 415 458 z"/>
<path style="fill:#606060" d="M432 457 C431.9 458.6 429.9 457.8 429 458 C429.1 456.4 431.1 457.2 432 457 z"/>
<path style="fill:#c2c2c2" d="M276 458 C275 459.6 270 459.6 269 458 L276 458 z"/>
<path style="fill:#c2c2c2" d="M426 458 C425 459.6 420 459.6 419 458 L426 458 z"/>
</svg>

After

Width:  |  Height:  |  Size: 52 KiB

+3
View File
@@ -0,0 +1,3 @@
.makefrag
.response
library-deps.stamp
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Accessibility.dll -->
<project name="System" default="build">
<property name="debug" value="false"/>
<target name="build">
<mkdir dir="../lib"/>
<csc target="library" output="../lib/Accessibility.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<arg value="/lib:../lib/"/>
<!-- cor compare dies with these currently -->
<!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
<!--arg value="/r:corlib.dll"/-->
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
</csc>
<copy file="../lib/Accessibility.dll" tofile="Test/Accessibility.dll"/>
<!-- TODO: missing tests & buildfile
<nant basedir="Test" target="build"/>
-->
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<nant basedir="Test" target="clean"/>
<delete file="../lib/Accessibility.dll" failonerror="false"/>
</target>
</project>
@@ -0,0 +1,3 @@
.makefrag
.response
library-deps.stamp
@@ -0,0 +1,35 @@
//
// IAccessible.cs: Interface for accessible elements
//
// What a horrible interface.
//
namespace Accessibility {
public interface IAccessible {
void accDoDefaultAction (object childID);
object accHitTest (int xLeft, int yTop);
void accLocation (out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID);
object accNavigate(int navDir, object childID);
void accSelect(int flagsSelect, object childID);
object get_accChild(object childID);
string get_accDefaultAction(object childID);
string get_accDescription(object childID);
string get_accHelp(object childID);
int get_accHelpTopic(out string pszHelpFile,object childID);
string get_accKeyboardShortcut(object childID);
string get_accName(object childID);
object get_accRole(object childID);
object get_accState(object childID);
string get_accValue(object childID);
void set_accName(object childID, string newName);
void set_accValue(object childID, string newValue);
int accChildCount { get; }
object accFocus { get; }
object accParent { get;}
object accSelection { get; }
}
}
@@ -0,0 +1,3 @@
interface IAccessibleHandler {
// Opaque for now.
}
+3
View File
@@ -0,0 +1,3 @@
2002-12-10 Jeroen Janssen <[email protected]>
* updated .build file to correctly build with Nant
+2
View File
@@ -0,0 +1,2 @@
Accessibility/IAccessible.cs
Accessibility/IAccessibleHandler.cs
+16
View File
@@ -0,0 +1,16 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Accessibility.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+83
View File
@@ -0,0 +1,83 @@
2003-02-22 Martin Baulig <[email protected]>
* library.make: Pass `MCS_FLAGS' to MCS.
2003-02-15 Zoltan Varga <[email protected]>
* makefile.gnu (test): do not install .dbg files since mcs no longer
generates them.
2003-02-13 Tim Coleman <[email protected]>
* makefile.gnu: Add System.Data.OracleClient to linux build.
2003-02-10 Nick Drochak <[email protected]>
* library.build:
* makefile: add testcorlib target to run unit tests just for corlib.
2003-02-05 Sebastien Pouliot <[email protected]>
* library.build: added Mono.Security.Win32 to build, test and
clean. There's no makefile.gnu for this assembly as it is
specific to Win32.
2003-01-23 Nick Drochak <[email protected]>
* makefile: install the .dbg files too so the debugger can use them.
2003-01-17 Sebastien Pouliot <[email protected]>
* library.build: added System.Security to build, test and clean.
There's no makefile.gnu yet for this assembly.
2003-01-16 Rodrigo Moya <[email protected]>
* makefile.gnu: added Mono.Data.DB2Client directory.
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.Mobile : Added new directory
2002-12-11 Jeroen Janssen <[email protected]>
* enabled building Mono.Directory.LDAP and
System.Design in .build file
2002-12-10 Jeroen Janssen <[email protected]>
* updated .build file(s) to correctly contain required buildfile
attribute for nant
2002-12-09 Daniel Morgan <[email protected]>
* library.build: add Mono.GetOptions to windows build
* Mono.GetOptions/Mono.GetOptions.build: add file
for windows build
2002-12-08 Radek Doulik <[email protected]>
* makefile.gnu (DIRS): place System.Data before Mono.GetOptions,
Mono.GetOptions references System.Data
2002-12-07 Jackson Harper <[email protected]>
* library.build: Added Cscompmgd to the build
2002-12-02 Cesar Octavio Lopez Nataren <[email protected]>
* mcs/class: Added assembly directory System.ServiceProcess
2002-11-26 Daniel morgan <[email protected]>
* makefile.gnu: add Mono.Data.PostgreSqlClient
to Linux build
* library.build: add Mono.Data.PostgreSqlClient
to Windows build
2002-11-20 Nick Drochak <[email protected]>
* library.make: for .response allow white space at the end of
the line
+3
View File
@@ -0,0 +1,3 @@
.response
.makefrag
library-deps.stamp
+3
View File
@@ -0,0 +1,3 @@
2002-12-07 Jackson Harper <[email protected]>
* Cscompmgd.build: Added file
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Cscompmgd.dll -->
<project name="Cscompmgd" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/Cscompmgd.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/unsafe"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
<includes name="../lib/System.dll"/>
</references>
</csc>
</target>
<target name="clean">
<delete file="../lib/Cscompmgd.dll" failonerror="false"/>
</target>
</project>
@@ -0,0 +1,60 @@
2003-02-23 Jackson Harper <[email protected]>
* CompilerError.cs: Use fields not properties, and remove unneeded finalizer
2002-12-15 Jackson Harper <[email protected]>
* CompilerError.cs ErrorLevel.cs: Moved ErrorLevel enum into its own file
2002-12-12 Jackson Harper <[email protected]>
* Compiler.cs: Partially implemented bugreport option, also only allow valid options now
2002-12-07 Jackson Harper <[email protected]>
* Compiler.cs: Moved StreamWriter creation into a try block
2002-12-07 Jackson Harper <[email protected]>
* Compiler.cs: Source text is now implemented so you can pass strings of C# code to be compiled
2002-12-07 Jackson Harper <[email protected]>
* TODOAttribute.cs: Added file
2002-12-07 Jackson Harper <[email protected]>
* Compiler.cs CompilerError.cs: Moved file
2002-11-11 Jackson Harper <[email protected]>
* CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
2002-11-11 Jackson Harper <[email protected]>
* CompilerError.cs: Error levels are now lower case to match MS spec
2002-11-9 Jackson Harper <[email protected]>
* CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
2002-11-6 Jackson Harper <[email protected]>
* Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
crashes from buffers filling up.
2002-11-4 Jackson Harper <[email protected]>
* Compiler.cs CompilerError.cs: Fixed (C) in header
2002-11-4 Jackson Harper <[email protected]>
* Compiler.cs: Added file
2002-11-4 Jackson Harper <[email protected]>
* CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
2002-10-30 Jackson Harper <[email protected]>
* CompilerError.cs: Added class
@@ -0,0 +1,266 @@
// Microsoft.CSharp.Compiler
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2002 Jackson Harper, All rights reserved.
//
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace Microsoft.CSharp {
public class Compiler {
public Compiler()
{
}
[MonoTODO("Have not implemented bugreports")]
public static CompilerError[] Compile(string[] sourceTexts,
string[] sourceTextNames, string target, string[] imports,
IDictionary options)
{
VerifyArgs (sourceTexts, sourceTextNames, target);
string[] temp_cs_files;
CompilerError[] errors;
string bugreport_path = null;
StreamWriter bug_report = null;
temp_cs_files = CreateCsFiles (sourceTexts, sourceTextNames);
if (options != null)
bugreport_path = (string)options["bugreport"];
if (bugreport_path != null) {
bug_report = CreateBugReport (sourceTexts, sourceTextNames, bugreport_path);
}
try {
errors = CompileFiles (temp_cs_files, target, imports, options, bug_report);
} catch {
throw;
} finally {
foreach (string temp_file in temp_cs_files) {
FileInfo file = new FileInfo (temp_file);
file.Delete ();
}
if (bug_report != null)
bug_report.Close ();
}
return errors;
}
//
// Private Methods
//
private static CompilerError[] CompileFiles (string[] cs_files,
string target, string[] imports, IDictionary options, StreamWriter bug_report)
{
ArrayList error_list = new ArrayList ();
Process mcs = new Process ();
string mcs_output;
string[] mcs_output_lines;
mcs.StartInfo.FileName = "mcs";
mcs.StartInfo.Arguments = BuildArgs (cs_files,
target, imports, options);
mcs.StartInfo.CreateNoWindow = true;
mcs.StartInfo.UseShellExecute = false;
mcs.StartInfo.RedirectStandardOutput = true;
try {
mcs.Start ();
mcs_output = mcs.StandardOutput.ReadToEnd();
mcs.WaitForExit ();
} finally {
mcs.Close ();
}
mcs_output_lines = mcs_output.Split (
System.Environment.NewLine.ToCharArray ());
foreach (string error_line in mcs_output_lines) {
CompilerError error = CreateErrorFromString (error_line);
if (null != error)
error_list.Add (error);
}
if (bug_report != null) {
bug_report.WriteLine ("### Compiler Output");
bug_report.Write (mcs_output);
}
return (CompilerError[])error_list.ToArray (typeof(CompilerError));
}
/// <summary>
/// Converts an error string into a CompilerError object
/// Return null if the line was not an error string
/// </summary>
private static CompilerError CreateErrorFromString(string error_string)
{
CompilerError error = new CompilerError();
Regex reg = new Regex (@"^((?<file>.*)\((?<line>\d*)(,(?<column>\d*))?\)\s){0,}(?<level>\w+)\sCS(?<number>\d*):\s(?<message>.*)",
RegexOptions.Compiled | RegexOptions.ExplicitCapture);
Match match = reg.Match (error_string);
if (!match.Success)
return null;
if (String.Empty != match.Result ("${file}"))
error.SourceFile = match.Result ("${file}");
if (String.Empty != match.Result ("${line}"))
error.SourceLine = Int32.Parse (match.Result ("${line}"));
if (String.Empty != match.Result ("${column}"))
error.SourceColumn = Int32.Parse (match.Result ("${column}"));
error.ErrorLevel = (ErrorLevel)Enum.Parse (typeof(ErrorLevel),
match.Result ("${level}"), true);
error.ErrorNumber = Int32.Parse (match.Result ("${number}"));
error.ErrorMessage = match.Result ("${message}");
return error;
}
private static string[] CreateCsFiles (string[] source_text, string[] source_name)
{
ArrayList temp_file_list = new ArrayList ();
for (int i=0; i<source_text.Length; i++) {
string temp_path = Path.GetTempFileName ();
StreamWriter writer = null;
try {
writer = new StreamWriter (temp_path);
writer.WriteLine (String.Format ("#line 1 \"{0}\"",
source_name[i]));
writer.Write (source_text[i]);
} catch {
} finally {
if (writer != null)
writer.Close ();
}
temp_file_list.Add (temp_path);
}
return (string[])temp_file_list.ToArray (typeof(string));
}
private static string BuildArgs(string[] source_files,
string target, string[] imports, IDictionary options)
{
StringBuilder args = new StringBuilder ();
args.AppendFormat ("/out:{0} ", target);
if (null != imports) {
foreach (string import in imports)
args.AppendFormat ("/r:{0} ", import);
}
if (null != options) {
foreach (object option in options.Keys) {
object value = options[option];
if (!ValidOption ((string)option))
continue;
args.AppendFormat ("{0} ", OptionString (option,value));
}
}
foreach (string source in source_files)
args.AppendFormat ("{0} ", source);
return args.ToString ();
}
private static string OptionString(object option, object value)
{
if (null != value)
return String.Format ("/{0}:{1}", option, value);
return String.Format("/{0}", option);
}
private static void VerifyArgs (string[] sourceTexts,
string[] sourceTextNames, string target)
{
if (null == sourceTexts)
throw new ArgumentNullException ("sourceTexts");
if (null == sourceTextNames)
throw new ArgumentNullException ("sourceTextNames");
if (null == target)
throw new ArgumentNullException ("target");
if (sourceTexts.Length <= 0 || sourceTextNames.Length <= 0)
throw new IndexOutOfRangeException ();
}
private static StreamWriter CreateBugReport (string[] source_texts,
string[] source_names, string path)
{
StreamWriter bug_report = null;
try {
bug_report = new StreamWriter (path);
bug_report.WriteLine ("### C# Compiler Defect Report," +
" created {0}", DateTime.Now);
// Compiler Version
// Runtime
// Operating System
// Username
for (int i=0; i<source_texts.Length; i++) {
bug_report.WriteLine ("### Source file: '{0}'",
source_names[i]);
bug_report.Write (source_texts[i]);
}
} catch {
if (bug_report != null)
bug_report.Close ();
throw;
}
return bug_report;
}
private static bool ValidOption (string option)
{
switch (option) {
case "addmodule":
case "baseaddress":
case "checked":
case "d":
case "debug":
case "doc":
case "filealign":
case "incr":
case "lib":
case "linkres":
case "m":
case "nostdlib":
case "nowarn":
case "o":
case "r":
case "res":
case "target":
case "unsafe":
case "w":
case "warnaserror":
case "win32icon":
case "win32res":
return true;
}
return false;
}
}
}
@@ -0,0 +1,68 @@
// Microsoft.CSharp.CompilerError
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2002 Jackson Harper, All rights reserved.
//
using System;
using System.Text;
namespace Microsoft.CSharp {
public class CompilerError {
public ErrorLevel ErrorLevel;
public string ErrorMessage;
public string SourceFile;
public int ErrorNumber;
public int SourceColumn;
public int SourceLine;
public CompilerError ()
{
ErrorLevel = ErrorLevel.None;
ErrorMessage = String.Empty;
SourceFile = String.Empty;
ErrorNumber = 0;
SourceColumn = 0;
SourceLine = 0;
}
//
// Public Methods
//
/// <summary>
/// Error message in form:
/// filename(line,column): AAAAA CSXXX: message
/// </summary>
public override string ToString()
{
StringBuilder builder = new StringBuilder ();
if (String.Empty != SourceFile)
builder.AppendFormat ("{0}({1},{2}) ",
SourceFile, SourceLine, SourceColumn);
builder.AppendFormat ("{0} CS{1}: {2}",
ErrorLevelString, ErrorNumber, ErrorMessage);
return builder.ToString ();
}
//
// Private Properties
//
private string ErrorLevelString {
get {
if (ErrorLevel.FatalError == ErrorLevel)
return "Error Fatal";
return ErrorLevel.ToString ().ToLower ();
}
}
}
}
@@ -0,0 +1,17 @@
// Microsoft.CSharp.ErrorLevel
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2002 Jackson Harper, All rights reserved.
//
namespace Microsoft.CSharp {
public enum ErrorLevel {
None,
Warning,
Error,
FatalError,
}
}
@@ -0,0 +1,33 @@
//
// TODOAttribute.cs
//
// Author:
// Ravi Pratap ([email protected])
//
// (C) Ximian, Inc. http://www.ximian.com
//
using System;
namespace Microsoft.CSharp {
/// <summary>
/// The TODO attribute is used to flag all incomplete bits in our class libraries
/// </summary>
///
/// <remarks>
/// Use this to decorate any element which you think is not complete
/// </remarks>
[AttributeUsage (AttributeTargets.All)]
internal class MonoTODOAttribute : Attribute {
string comment;
public MonoTODOAttribute ()
{}
public MonoTODOAttribute (string comment)
{
this.comment = comment;
}
}
}
+4
View File
@@ -0,0 +1,4 @@
Microsoft.CSharp/Compiler.cs
Microsoft.CSharp/CompilerError.cs
Microsoft.CSharp/ErrorLevel.cs
Microsoft.CSharp/TODOAttribute.cs
+15
View File
@@ -0,0 +1,15 @@
topdir = ../..
TEST_DIR= Test
LIBRARY = $(topdir)/class/lib/Cscompmgd.dll
LIB_LIST = list.unix
LIB_FLAGS = -r corlib -r System
SOURCES_INCLUDE=*.cs
SOURCES_EXCLUDE=\
./Test*
export MONO_PATH_PREFIX = $(topdir)/class/lib:
include $(topdir)/class/library.make
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
+1 -1
View File
@@ -306,7 +306,7 @@ public abstract class ByteEncoding : Encoding
char[] cvt = toChars;
while(count-- > 0)
{
s.Append(cvt[(int)(bytes[posn])]);
s.Append(cvt[(int)(bytes[posn++])]);
}
return s.ToString();
}
+10 -4
View File
@@ -51,7 +51,8 @@ public class Manager
// Constructor.
private Manager()
{
handlers = new Hashtable();
handlers = new Hashtable (CaseInsensitiveHashCodeProvider.Default,
CaseInsensitiveComparer.Default);
active = new Hashtable(16);
assemblies = new Hashtable(8);
LoadClassList();
@@ -105,7 +106,11 @@ public class Manager
name = Normalize(name);
// Try to find a class called "ENCname".
return (Instantiate("ENC" + name) as Encoding);
Encoding e = Instantiate ("ENC" + name) as Encoding;
if (e == null)
e = Instantiate (name) as Encoding;
return e;
}
// List of hex digits for use by "GetCulture".
@@ -210,7 +215,7 @@ public class Manager
}
// Look for the class within the region-specific assembly.
type = assembly.GetType(region + "." + name);
type = assembly.GetType(region + "." + name, false, true);
if(type == null)
{
return null;
@@ -267,10 +272,11 @@ public class Manager
.GetFile("I18N-handlers.def");
if(stream == null)
{
LoadInternalClasses();
return;
}
}
catch(FileNotFoundException)
catch(FileLoadException)
{
// The file does not exist, or the runtime engine
// refuses to implement the necessary semantics.
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
+4
View File
@@ -0,0 +1,4 @@
list
.makefrag
.response
library-deps.stamp
Loaded 100 of 4144 files, more files were not shown because too many files have changed in this diff. Show more