Compare commits

...
6187 Commits
Author SHA1 Message Date
nobody 4a048a798c This commit was manufactured by cvs2svn to create tag 'MCS_0_25'.
svn path=/tags/MCS_0_25/mcs/; revision=15656
2003-06-26 14:15:25 +00:00
Paolo Molaro e900dcab23 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <[email protected]>
* FloatingPointFormatter.cs: use dec_len2 as default precision.

svn path=/trunk/mcs/; revision=15655
2003-06-26 14:15:25 +00:00
Paolo Molaro 15ed41cd9e Try to fix the mess for platforms where the included libgc doesn't compile.
svn path=/trunk/mono/; revision=15653
2003-06-26 13:29:46 +00:00
Paolo Molaro 6ce9805a33 Thu Jun 26 12:13:25 CEST 2003 Paolo Molaro <[email protected]>
* class.c: leak fix.

svn path=/trunk/mono/; revision=15652
2003-06-26 10:23:34 +00:00
Miguel de Icaza 2b82be2fbf Arghhhh
svn path=/trunk/mono/; revision=15650
2003-06-26 05:17:30 +00:00
Miguel de Icaza 88a54b5437 Flush
svn path=/trunk/mono/; revision=15648
2003-06-26 05:01:42 +00:00
Miguel de Icaza f5f3e5302d Port 22 instead of 2200
svn path=/trunk/mono/; revision=15646
2003-06-26 03:50:17 +00:00
Miguel de Icaza 7f3023d5fd Flush
svn path=/trunk/mono/; revision=15645
2003-06-26 03:48:14 +00:00
Gonzalo Paniagua Javier 1b462e1ef9 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: close the socket and connection when disposing.
	* WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
	when creating instances.

	* HttpWebRequest.cs:
	* HttpWebResponse.cs:
	* FileWebRequest.cs: support serialization.

	* FileWebResponse.cs: support serialization and fixed dispose checks.

	* FileWebRequestCreator.cs:
	* HttpRequestCreator.cs: added internal .ctor.

svn path=/trunk/mcs/; revision=15644
2003-06-26 02:03:38 +00:00
Lluis Sanchez 438c7d60cb * SerializationInfo.cs: Fixed bug #44955
svn path=/trunk/mcs/; revision=15643
2003-06-25 23:39:41 +00:00
Lluis Sanchez 4217258761 * ObjRef.cs: Fixed bug #43187, based on the patch by Jean-Marc Andre
svn path=/trunk/mcs/; revision=15642
2003-06-25 23:21:32 +00:00
Lluis Sanchez 1c7df13cd0 * Hashtable.cs: Fixed bug when serializing and deserializing
a hashtable from which one element has been deleted. The Object instance
	  used as a removed marker is not detected as a such, since the
	  serializer creates a different instace.

svn path=/trunk/mcs/; revision=15641
2003-06-25 22:52:04 +00:00
Lluis Sanchez 4aba471e92 * Object.cs: Object must have the Serializable attribute.
* DateTime.cs: Fixed _DoParse() so it correctly applies the utc offset
	  to the resulting date. Also fixed _ToString so now correctly formates the
	  UTC offset.

svn path=/trunk/mcs/; revision=15640
2003-06-25 22:47:21 +00:00
Jean-Marc Andre 8f1e2b2402 2003-06-25: Jean-Marc Andr�� ([email protected])
SoapFormatter, SoapReader: SerializationBinder support added

svn path=/trunk/mcs/; revision=15637
2003-06-25 20:23:41 +00:00
Atsushi Eno 80f8dc00d4 2003-06-25 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
	  as non-empty, and XmlElement's IsEmpty is designed as such.
	  Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor
	  doctype node.
	* XmlNode.cs : Fixed XPathNodeType. It should throw an exception
	  instead of returning undefined enum value.
	  Modified some code comments.
	* XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement()
	  when XmlReader's node is not at empty element or at EndElement.
	  Fixed XmlDeclaration's standalone check.

svn path=/trunk/mcs/; revision=15632
2003-06-25 17:31:57 +00:00
Dick Porter 47504ddaa6 2003-06-25 Dick Porter <[email protected]>
* WaitHandle.cs: Default handle value should be InvalidHandle, not
	Zero.

svn path=/trunk/mcs/; revision=15631
2003-06-25 17:04:15 +00:00
Dick Porter cd564de135 2003-06-25 Dick Porter <[email protected]>
* threadpool.c (mono_thread_pool_add): Don't set up a finaliser
	for the async object, the WaitHandle object will close the handle.
	Fixes bug 45321.

svn path=/trunk/mono/; revision=15630
2003-06-25 17:01:16 +00:00
Paolo Molaro e1b494c5c0 Wed Jun 25 18:12:29 CEST 2003 Paolo Molaro <[email protected]>
* class.c: in mono_array_class_get (), lookup from the hash with the
	same type we insert: this works around a bug in
	mono_metadata_type_hash() with SZARRAY and fixes a leak reported by
	lluis. The real fix will have to wait for after the release.

svn path=/trunk/mono/; revision=15629
2003-06-25 16:25:38 +00:00
Dietmar Maurer 6f4b0325d8 another test
svn path=/trunk/mono/; revision=15628
2003-06-25 16:09:56 +00:00
Nick Drochak ba23f7bf2b 2003-06-25 Nick Drochak <[email protected]>
* DateTimeTest.cs: Custom format string uses January of current Year.

svn path=/trunk/mcs/; revision=15627
2003-06-25 15:44:45 +00:00
Nick Drochak b0b0231d30 2003-06-25 Nick Drochak <[email protected]>
* DateTimeTest.cs: Re-enable test because bug #30030 is fixed.

svn path=/trunk/mcs/; revision=15626
2003-06-25 15:11:43 +00:00
Nick Drochak 09e6f5477b 2003-06-25 Nick Drochak <[email protected]>
* ByteTest.cs: Culture settings can affect where it puts the '%'.

svn path=/trunk/mcs/; revision=15624
2003-06-25 14:49:11 +00:00
Paolo Molaro 06a578bc8d FP control word enum.
svn path=/trunk/mono/; revision=15623
2003-06-25 13:18:00 +00:00
Paolo Molaro d37e8bc26f Wed Jun 25 13:19:25 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini.h, mini.x86.c, mini-ppc.c: added facility so that
	arch code can setup the cpu for CLR execution, if needed.
	We use it on x86 to set the precision of FP operations.

svn path=/trunk/mono/; revision=15622
2003-06-25 11:29:33 +00:00
Paolo Molaro d42cc408b5 Wed Jun 25 13:14:41 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: fix memory leak when getting type members.

svn path=/trunk/mono/; revision=15621
2003-06-25 11:23:47 +00:00
Miguel de Icaza 3117c69256 2003-06-24 Miguel de Icaza <[email protected]>
* cs-parser.jay: Applied patch from Jackson that adds support for
	extern and unsafe modifiers to destructor declarations.

svn path=/trunk/mcs/; revision=15616
2003-06-24 23:25:44 +00:00
Gonzalo Paniagua Javier de4b36fff1 Forgot these
svn path=/trunk/mcs/; revision=15615
2003-06-24 20:45:33 +00:00
Gonzalo Paniagua Javier d7c7c9ca73 2003-06-23 Andreas Nahr <[email protected]>
* DesignerAttribute.cs: Fixed AttributeUsage, implementation errors,
	better Hashcode generation
	* EditorAttribute.cs: Fixed AttributeUsage, implementation errors,
	better Hashcode generation
	* LicenseContext.cs: Added and implemented missing property
	* ListBindableAttribute.cs: Simplified implementation, removed
	unneccessary data.
	* ReadOnlyAttribute.cs: Better Hashcode generation
	* RunInstallerAttribute.cs: Better Hashcode generation, more robust
	Equals check.

	* LicenseProviderAttribute.cs: Fixed AttributeUsage, indentation
	* ProvidePropertyAttribute.cs: Fixed AttributeUsage
	* ToolboxItemFilterAttribute.cs: Fixed AttributeUsage

	* MarshalByValueComponent.cs:
	* IContainer.cs:
	* IComponent.cs: Added missing attribute(s)

svn path=/trunk/mcs/; revision=15614
2003-06-24 20:37:44 +00:00
Lluis Sanchez 1f3f6af70a * HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be called
before asyncWrite.SetCompleted, to make sure that the waiting thread
	  does not start to send more information before SendRequestHeaders has
	  finished.

svn path=/trunk/mcs/; revision=15612
2003-06-24 16:35:57 +00:00
Lluis Sanchez 282c082c7d * XmlTypeMapElementInfo.cs: no need to compare nesting level in Equals.
* XmlReflectionImporter.cs: Changed nullable default. Assign member's namespace to an
	  array if the namespace is not specified in XmlArrayItemAttribute.

svn path=/trunk/mcs/; revision=15611
2003-06-24 16:28:14 +00:00
Aleksey Ryabchuk b815e6e4e9 * TreeNode.cs
* TreeNodeCollection.cs
	* TreeView.cs : more implementation added

svn path=/trunk/mcs/; revision=15609
2003-06-24 15:29:33 +00:00
Dietmar Maurer a31e6113cf increase length of localloc
svn path=/trunk/mono/; revision=15603
2003-06-24 08:40:22 +00:00
Nick Drochak e09ec3d431 2002-06-24 Nick Drochak <[email protected]>
* BasicOperationsTest.cs: Make test pass on .NET 1.1.

svn path=/trunk/mcs/; revision=15602
2003-06-24 05:06:48 +00:00
Miguel de Icaza 0f6db8c661 2003-06-24 Miguel de Icaza <[email protected]>
* expression.cs: Report error 21 if the user is trying to index a
	System.Array.

svn path=/trunk/mcs/; revision=15601
2003-06-24 04:33:19 +00:00
Miguel de Icaza 9208ad6917 Add another test
svn path=/trunk/mcs/; revision=15600
2003-06-24 04:32:48 +00:00
Miguel de Icaza 9002bba3b7 2003-06-24 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.Emit): Only call EmitFieldInitializers
	if we do not have a ": this ()" constructor initializer.  Fixes 45149

svn path=/trunk/mcs/; revision=15599
2003-06-24 04:16:55 +00:00
Miguel de Icaza 449faf136d update
svn path=/trunk/mcs/; revision=15598
2003-06-24 04:15:26 +00:00
Miguel de Icaza 98803e2a38 Add new test
svn path=/trunk/mcs/; revision=15597
2003-06-24 04:14:27 +00:00
Miguel de Icaza b7163f498c Flush
svn path=/trunk/mono/; revision=15594
2003-06-24 01:34:01 +00:00
Alexandre Pigolkine 815b68f252 bpp check in JPEGCodec
svn path=/trunk/mcs/; revision=15592
2003-06-23 23:51:24 +00:00
Alexandre Pigolkine 51964d6e93 pixel format check added, Jpeg encoder implemented
svn path=/trunk/mcs/; revision=15591
2003-06-23 23:39:57 +00:00
Gonzalo Paniagua Javier 33d2a980d3 implementation and fixes by Andreas Nahr.
svn path=/trunk/mcs/; revision=15582
2003-06-23 16:31:41 +00:00
Paolo Molaro 5917a7a177 Mon Jun 23 16:12:48 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: added more pubtoken special cases.

svn path=/trunk/mono/; revision=15577
2003-06-23 14:21:41 +00:00
Nick Drochak c03913b09d use correct bug #
svn path=/trunk/mcs/; revision=15576
2003-06-23 14:16:40 +00:00
Nick Drochak d4df3795ad 2003-06-23 Nick Drochak <[email protected]>
* ConvertTest.cs: Ignore and report bug in bugzilla #45066.

svn path=/trunk/mcs/; revision=15574
2003-06-23 14:14:37 +00:00
Paolo Molaro 9ea9d4c132 Test for bug#44294.
svn path=/trunk/mono/; revision=15571
2003-06-23 13:58:26 +00:00
Paolo Molaro d3c476489a Mon Jun 23 15:29:06 CEST 2003 Paolo Molaro <[email protected]>
* class.c: handle field offset correctly when class size
	is set (bug# 45182, partially from a patch by [email protected] (Jerome Laban)).

svn path=/trunk/mono/; revision=15570
2003-06-23 13:39:00 +00:00
Miguel de Icaza f3ae42b5f5 2003-06-14 Miguel de Icaza <[email protected]>
* namespace.cs: Add some information to reduce FAQs.

2003-06-13  Miguel de Icaza  <[email protected]>

	* cfold.cs (BinaryFold): BitwiseAnd, BitwiseOr: handle other
	underlying enumeration types.  Fixes #43915.

	* expression.cs: Treat ushort/short as legal values to be used in
	bitwise operations.

svn path=/trunk/mcs/; revision=15569
2003-06-23 12:38:53 +00:00
Gonzalo Paniagua Javier e885d25b85 2003-06-23 Gonzalo Paniagua Javier <[email protected]>
* System.ComponentModel/IExtenderProvider.cs: mono-stylized.
	* System.ComponentModel/IComNativeDescriptorHandler.cs:
	* System.ComponentModel/SyntaxCheck.cs: new files from Andreas Nahr.

svn path=/trunk/mcs/; revision=15567
2003-06-23 12:06:08 +00:00
Nick Drochak 9674fba1f6 2003-06-23 Nick Drochak <[email protected]>
* TimeZoneTest.cs: Make pass when on Tokyo Standard Time.

svn path=/trunk/mcs/; revision=15566
2003-06-23 07:11:34 +00:00
Nick Drochak 3fd73179b9 2003-06-23 Nick Drochak <[email protected]>
* MACTripleDESTest.cs: Adjust for .NET 1.1.

svn path=/trunk/mcs/; revision=15565
2003-06-23 07:02:56 +00:00
Nick Drochak 1fd297c00e 2003-06-23 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Put it back the way it was, doesn't work on
	.NET, and it works fine on both if you cd to the proper dir before
	running these tests.

svn path=/trunk/mcs/; revision=15564
2003-06-23 07:00:57 +00:00
Nick Drochak d90a65fa89 2003-06-23 Nick Drochak <[email protected]>
* DecimalTest.cs: Make pass on .NET 1.1
	* MarshalByRefObjectTest.cs: Avoid port conflict with other tests.
	* SingleFormatterTest.cs: Ignore user overridden settings.

svn path=/trunk/mcs/; revision=15563
2003-06-23 06:23:25 +00:00
Sebastien Pouliot 98c69f2f0e 2003-06-22 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).
	* RSACryptoServiceProvider.cs: Added UseMachineKeyStore property (1.1).

svn path=/trunk/mcs/; revision=15562
2003-06-23 02:43:47 +00:00
Nick Drochak a7944b1891 2003-06-23 Nick Drochak <[email protected]>
* DateTimeTest.cs (TestOA): Compare DateTime values instead of strings
	to avoid "culture shock".  Made a new AssertEquals() that is more
	DateTime-friedly.

svn path=/trunk/mcs/; revision=15561
2003-06-23 02:37:55 +00:00
Alexandre Pigolkine ff1068bd5d font1.cs added
svn path=/trunk/mcs/; revision=15560
2003-06-22 21:26:39 +00:00
Alexandre Pigolkine d7a3e42f0b reordered, IDesignerHost.cs removed, new files added
svn path=/trunk/mcs/; revision=15559
2003-06-22 21:19:39 +00:00
Alexandre Pigolkine 37f6c4e6c7 DrawString implementation
svn path=/trunk/mcs/; revision=15558
2003-06-22 21:17:11 +00:00
Alexandre Pigolkine 78122da70f implementation added
svn path=/trunk/mcs/; revision=15557
2003-06-22 21:13:37 +00:00
Alexandre Pigolkine 7588178e02 file added
svn path=/trunk/mcs/; revision=15556
2003-06-22 21:11:13 +00:00
Alexandre Pigolkine e051b63bf0 calls to implementation added
svn path=/trunk/mcs/; revision=15555
2003-06-22 21:06:17 +00:00
Alexandre Pigolkine 78a8d6a17d first version
svn path=/trunk/mcs/; revision=15554
2003-06-22 21:04:19 +00:00
Alexandre Pigolkine b93dd1c0b7 switch to unix line terminators
svn path=/trunk/mcs/; revision=15553
2003-06-22 20:57:28 +00:00
Lluis Sanchez 2c5e9239d6 * WebConnectionStream.cs: Only increment pendingReads if an asynchronous read
is really needed.

svn path=/trunk/mcs/; revision=15552
2003-06-22 19:49:26 +00:00
Ben Maurer 8b0dafca9e 2003-06-20 Ben Maurer <[email protected]>
* NameTable.cs: Now uses a custom hashtable to implement. As a
	result, when Get (char[], int, int) is called, a string is only
	allocated if it is actually a new entry.
	(StrEqArray) Compares a string and a char[]
	(AddEntry) Adds a new entry to the hashtable
	(Entry) Represents a hashtable entry.

svn path=/trunk/mcs/; revision=15551
2003-06-22 18:32:39 +00:00
Rafael Teixeira 50edb7f71f trying to make it buildable and useable in linux
svn path=/trunk/mcs/; revision=15547
2003-06-22 14:39:16 +00:00
Lluis Sanchez 8b44cd634e * unix.args: added System.Runtime.Remoting/SoapServices.cs
svn path=/trunk/mcs/; revision=15546
2003-06-22 12:21:40 +00:00
Piers Haken 2ec292aacc make build platform agnostic
svn path=/trunk/mono/; revision=15545
2003-06-22 00:35:11 +00:00
Piers Haken b669c0546d new tool for performaing XSL tranformations
svn path=/trunk/mono/; revision=15544
2003-06-21 23:56:06 +00:00
Alexandre Pigolkine 9c62770cf5 checkin for Andreas Nahr <[email protected]>
svn path=/trunk/mcs/; revision=15543
2003-06-21 20:09:16 +00:00
Alexandre Pigolkine 7b1339aba0 checkin for Andreas Nahr <[email protected]>, see ChangeLog for details
svn path=/trunk/mcs/; revision=15541
2003-06-21 18:38:39 +00:00
Alexandre Pigolkine 74a7bb59f0 checkin for Andreas Nahr <[email protected]>, see ChangeLog for details
svn path=/trunk/mcs/; revision=15538
2003-06-21 17:39:54 +00:00
Alexandre Pigolkine f78c078d21 switch to unix line terminators
svn path=/trunk/mcs/; revision=15537
2003-06-21 16:50:32 +00:00
Gonzalo Paniagua Javier ae5983eb06 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
* HttpWebClientProtocol.cs: handle cookies if the request is a
	HttpWebRequest. It gets the cookies set in the response and sends them
	on subsequent requests.

	* SoapHttpClientProtocol.cs:
	(GetWebRequest): just calls the base method.
	(SendRequest): set the method here.
	(Invoke): call GetWebResponse instead of request.GetResponse.

	* WebClientProtocol.cs:
	(GetWebRequest): set some properties of the request.
	(GetWebResponse): if we get a WebException containing a response, return
	that as the response and ignore the exception.
	(GetWebResponse (req, async)): only call EndGetResponse.

svn path=/trunk/mcs/; revision=15536
2003-06-21 15:42:13 +00:00
Gonzalo Paniagua Javier 89a8bd709d 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
* ThreadPool.cs: correctly create a TimeSpan with provided the number of
	milliseconds.

	* WaitHandle.cs: fixes for WaitAny/All and TimeSpan.

svn path=/trunk/mcs/; revision=15535
2003-06-21 15:14:35 +00:00
Lluis Sanchez b0af2afe98 * unix.args: added HttpHelper.cs,HttpServer.cs,HttpThread.cs.
svn path=/trunk/mcs/; revision=15534
2003-06-21 12:49:59 +00:00
Lluis Sanchez eaac7d7745 * HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
HttpServerChannel.cs, HttpThread.cs: added new implementation of the HttpChannel
	  by Ahmad Tantawy, Ahmad Kadry and Hussein Mehanna.

svn path=/trunk/mcs/; revision=15533
2003-06-21 12:49:23 +00:00
Atsushi Eno ce15139a53 2003-06-21 Atsushi Enomoto <[email protected]>
* XslTransform.cs : Fixed Transform (string, string) not to call
	  File.OpenWrite() that *appends* (not truncates) existing files.

svn path=/trunk/mcs/; revision=15532
2003-06-21 11:44:27 +00:00
Miguel de Icaza 74a525c78a Message
svn path=/trunk/mono/; revision=15531
2003-06-21 11:35:09 +00:00
Atsushi Eno c97844a111 2003-06-21 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
	  to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.

svn path=/trunk/mcs/; revision=15530
2003-06-21 07:22:57 +00:00
Alexandre Pigolkine 4f2d344f18 files added
svn path=/trunk/mcs/; revision=15529
2003-06-20 23:53:32 +00:00
Alexandre Pigolkine 144947e356 implementation added
svn path=/trunk/mcs/; revision=15528
2003-06-20 23:52:21 +00:00
Alexandre Pigolkine a547e00d1d properties added
svn path=/trunk/mcs/; revision=15527
2003-06-20 23:51:46 +00:00
Alexandre Pigolkine 74ea6e1302 first version
svn path=/trunk/mcs/; revision=15526
2003-06-20 23:49:00 +00:00
Alexandre Pigolkine 3ecae23ddb switch to unix line terminators
svn path=/trunk/mcs/; revision=15525
2003-06-20 23:42:15 +00:00
Atsushi Eno 7d140166d1 2003-06-20 Atsushi Enomoto <[email protected]>
* XmlInputStream.cs : quick fix for public ctor() BaseURI bug.

svn path=/trunk/mcs/; revision=15522
2003-06-20 19:12:57 +00:00
Martin Baulig b4cc1077d0 2003-06-20 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerSymbolFile): Added `MonoImage
	*image' field.

svn path=/trunk/mono/; revision=15520
2003-06-20 17:52:10 +00:00
Ben Maurer 3a76435d6d 2003-06-20 Ben Maurer <[email protected]>
* XmlTextReader.cs: Reduces memory allocation when the reader is
	not queried for some values.

svn path=/trunk/mcs/; revision=15518
2003-06-20 17:30:51 +00:00
Martin Baulig 60b1cf45cb 2003-06-20 Martin Baulig <[email protected]>
* image.h, mono-debug-debugger.h: Fixed compiler warnings.

svn path=/trunk/mono/; revision=15514
2003-06-20 16:40:27 +00:00
Martin Baulig dcad492367 2003-06-20 Martin Baulig <[email protected]>
* mono-debug.h (MONO_DEBUG_VAR_ADDRESS_MODE_STACK): Removed.  We
	just distinguish between variables in registers and variables at
	an offset relative to a register.

svn path=/trunk/mono/; revision=15509
2003-06-20 16:08:21 +00:00
Gonzalo Paniagua Javier b6f95ecdae 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed bug #43823.

svn path=/trunk/mcs/; revision=15508
2003-06-20 13:59:51 +00:00
Gonzalo Paniagua Javier c8c7a12b23 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: fixed bug #44894.

svn path=/trunk/mcs/; revision=15507
2003-06-20 13:07:15 +00:00
Gonzalo Paniagua Javier c3029f11d9 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* icall.c: #ifdef out latest changes until mcs is fixed.

svn path=/trunk/mono/; revision=15506
2003-06-20 12:32:38 +00:00
Gonzalo Paniagua Javier 0067ecca7b 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollection.cs: prevent duplication headers used niternally.

svn path=/trunk/mcs/; revision=15505
2003-06-20 11:35:53 +00:00
Nick Drochak 8b636962f4 2003-06-20 Nick Drochak <[email protected]>
* SortedListTest.cs: Make it pass on .NET 1.1.

svn path=/trunk/mcs/; revision=15504
2003-06-20 03:41:17 +00:00
Atsushi Eno 4ddc13eced 2003-06-20 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.

svn path=/trunk/mcs/; revision=15503
2003-06-19 20:00:43 +00:00
Atsushi Eno 3270f0aa90 2003-06-20 Atsushi Enomoto <[email protected]>
* System.XML_linux_test.args: added XmlUrlResolverTests.cs.
	* makefile.gnu: added reference to System.dll.

svn path=/trunk/mcs/; revision=15502
2003-06-19 20:00:03 +00:00
Atsushi Eno c9c12ba955 2003-06-20 Atsushi Enomoto <[email protected]>
* added XmlUrlResolverTests.cs.

svn path=/trunk/mcs/; revision=15501
2003-06-19 19:59:22 +00:00
Nick Drochak c4d0222e25 2003-06-19 Nick Drochak <[email protected]>
* StrongName.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15499
2003-06-19 15:10:56 +00:00
Nick Drochak 7f029090c2 Flush
svn path=/trunk/mcs/; revision=15498
2003-06-19 15:06:19 +00:00
Nick Drochak 8de34d0d61 2003-06-19 Nick Drochak <[email protected]>
* MakeCert.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15497
2003-06-19 15:06:01 +00:00
Nick Drochak d167326386 2003-06-19 Nick Drochak <[email protected]>
* DSAKeyValue.cs:
	* RSAKeyValue.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15496
2003-06-19 15:05:03 +00:00
Nick Drochak b1d5159de3 2003-06-19 Nick Drochak <[email protected]>
* CryptoConvert.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15495
2003-06-19 15:02:15 +00:00
Nick Drochak e4f5a1f684 2003-06-19 Nick Drochak <[email protected]>
* PrivateKey.cs: Work around for mcs? bug 45127.

svn path=/trunk/mcs/; revision=15494
2003-06-19 15:00:56 +00:00
Paolo Molaro b68c7ddfb6 Thu Jun 19 11:03:42 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: return members in metadata order.

svn path=/trunk/mono/; revision=15492
2003-06-19 09:12:38 +00:00
Nick Drochak ed33ec778b 2003-06-19 Nick Drochak <[email protected]>
* ArrayTest.cs: Cleanup unused bits. Also get tests passing on .NET 1.1
	All tests pass here now.

svn path=/trunk/mcs/; revision=15491
2003-06-19 03:51:04 +00:00
Nick Drochak 58ae2da515 2003-06-19 Nick Drochak <[email protected]>
* RemotingServicesTest.cs: Lazy fix/workaround for "can't reuse
	channel" errors. Tests now pass.

	* RemotingConfigurationTest.cs: Don't rely on test order, and wrap some
	.NET 1.1 stuff.

svn path=/trunk/mcs/; revision=15490
2003-06-19 03:41:49 +00:00
Ben Maurer ef440e6c3a FINALLY!
2003-06-16  Ben Maurer <[email protected]>
        * XmlUrlResolver.cs: really fixed #44231

svn path=/trunk/mcs/; revision=15489
2003-06-19 00:22:50 +00:00
Paolo Molaro e7fd0ecfe0 Wed Jun 18 19:22:22 CEST 2003 Paolo Molaro <[email protected]>
* Enum.cs: fix race in cache (bug#41841).

svn path=/trunk/mcs/; revision=15486
2003-06-18 17:31:23 +00:00
Paolo Molaro 1d610f87f5 Wed Jun 18 19:08:40 CEST 2003 Paolo Molaro <[email protected]>
* io.c: never add write permission for group or others in
	SetFileAttributes ().

svn path=/trunk/mono/; revision=15485
2003-06-18 17:19:23 +00:00
Paolo Molaro ebdbaf3aa8 Wed Jun 18 18:52:11 CEST 2003 Paolo Molaro <[email protected]>
* FloatingPointFormatter.cs: if the precision is not specified, use
	the default precision for the data type.

svn path=/trunk/mcs/; revision=15484
2003-06-18 17:01:24 +00:00
Paolo Molaro 749d541fb4 Wed Jun 18 18:11:30 CEST 2003 Paolo Molaro <[email protected]>
* Array.cs: throw ArgumentOutOfRangeException in Copy if needed
	(patch by [email protected] (Thong (Tum) Nguyen)).

svn path=/trunk/mcs/; revision=15483
2003-06-18 16:20:25 +00:00
Nick Drochak 454914821d 2003-06-18 Nick Drochak <[email protected]>
* FileSystemInfoTest.cs: Simplify a bit.

svn path=/trunk/mcs/; revision=15482
2003-06-18 15:06:10 +00:00
Nick Drochak a2ea144248 2003-06-18 Nick Drochak <[email protected]>
* FileSystemInfo.cs: Refresh cache when changeing file times.

svn path=/trunk/mcs/; revision=15481
2003-06-18 15:04:28 +00:00
Dick Porter 7987a6c7d6 Cygwin build fix
svn path=/trunk/mono/; revision=15480
2003-06-18 14:18:56 +00:00
Paolo Molaro 0329cf4876 Wed Jun 18 15:26:58 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: avoid infinite loop in GetTimeZoneData.

svn path=/trunk/mono/; revision=15479
2003-06-18 13:36:16 +00:00
Zoltan Varga 20f28369f6 2003-06-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Wrap NET 1.1 methods with #if NET_1_1.

svn path=/trunk/mcs/; revision=15473
2003-06-18 12:12:27 +00:00
Paolo Molaro ecc1a0e42a Wed Jun 18 12:49:54 CEST 2003 Paolo Molaro <[email protected]>
* Marshal.cs: implemented Prelink with icalls.

svn path=/trunk/mcs/; revision=15472
2003-06-18 10:58:44 +00:00
Paolo Molaro ad2ed82064 Wed Jun 18 12:47:43 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: added Marshal.Prelink/All icalls.

svn path=/trunk/mono/; revision=15471
2003-06-18 10:56:53 +00:00
Paolo Molaro dcc5d9ed8b Wed Jun 18 12:17:48 CEST 2003 Paolo Molaro <[email protected]>
* object.c, object.h: fix warnings and do some overflow checking
	when creating arrays.

svn path=/trunk/mono/; revision=15470
2003-06-18 10:30:25 +00:00
Nick Drochak e4bdec4b6a 2003-06-18 Nick Drochak <[email protected]>
* FileSystemInfoTest.cs: Works on .NET 1.1 now. If these values are
	different on 1.0 then we need to wrap with a #if NET_1_1.

svn path=/trunk/mcs/; revision=15469
2003-06-18 03:09:41 +00:00
Nick Drochak 1996506e82 2003-06-18 Nick Drochak <[email protected]>
* ArrayTest.cs: Add .NET 1.1 overload test, and fix build problem.

svn path=/trunk/mcs/; revision=15468
2003-06-18 03:06:05 +00:00
Alexandre Pigolkine 6492840010 small fix
svn path=/trunk/mcs/; revision=15467
2003-06-17 22:48:20 +00:00
Alexandre Pigolkine 6e7d3adab4 new file in list.unix
svn path=/trunk/mcs/; revision=15466
2003-06-17 22:46:41 +00:00
Alexandre Pigolkine d1e597b11b calls to implementation
svn path=/trunk/mcs/; revision=15465
2003-06-17 22:45:49 +00:00
Alexandre Pigolkine 6a7f4adcf7 implementation added
svn path=/trunk/mcs/; revision=15464
2003-06-17 22:44:56 +00:00
Alexandre Pigolkine d399f95a2a demo application added
svn path=/trunk/mcs/; revision=15463
2003-06-17 22:37:11 +00:00
Paolo Molaro 89e8c86969 Tue Jun 17 19:02:55 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: disable some optimizations if we can guess they'll cost too
	much for a given method.

svn path=/trunk/mono/; revision=15461
2003-06-17 17:11:55 +00:00
Lluis Sanchez f213541b82 * XmlReflectionImporter.cs: Reset internal tables for each ImportMembersMapping call.
* XmlSerializationReader.cs: GetXsiType(): use current reader.namespaceUri if namespace
	  is not specified in the xsi attribute.
	* XmlSerializationReaderInterpreter.cs: Fixed bug when reading an empty array from an empty element.
	* XmlSerializationWriterInterpreter.cs: Added null value check when writting an array.

svn path=/trunk/mcs/; revision=15459
2003-06-17 15:27:01 +00:00
Dick Porter 9ee715e269 2003-06-17 Dick Porter <[email protected]>
* io.c (SetFileAttributes): Implement the ReadOnly attribute, and
	ignore the unsupported ones ("fixes" bug 44977).

2003-06-17  Dick Porter  <[email protected]>

	* file-io.h:
	* file-io.c: File attributes need to be tweaked slightly when
	passed from the managed to the w32 world.

svn path=/trunk/mono/; revision=15458
2003-06-17 14:50:30 +00:00
Lluis Sanchez cb125b6483 * mics.c: fix bug in _wapi_calc_timeout. It gave wrong values for
high ms values (there was an overflow).

svn path=/trunk/mono/; revision=15457
2003-06-17 14:44:46 +00:00
Zoltan Varga ec4b84c3f4 2003-06-17 Zoltan Varga <[email protected]>
* mini.h mini.c: Rework last patch based on suggestions by Paolo.

svn path=/trunk/mono/; revision=15456
2003-06-17 14:18:04 +00:00
Zoltan Varga 2862aef58d 2003-06-17 Zoltan Varga <[email protected]>
* profiler.h profiler-private.h profiler.c: Rework last patch
	based on suggestion by Paolo.

svn path=/trunk/mono/; revision=15455
2003-06-17 14:16:04 +00:00
Rafael Teixeira adca663368 oops
svn path=/trunk/mcs/; revision=15452
2003-06-17 13:41:28 +00:00
Gaurav Vaish 558432237c 2003-06-17 Gaurav Vaish <gvaish_mono AT lycos.com>
* ChangeLog: Updated the date of action...

svn path=/trunk/mcs/; revision=15451
2003-06-17 12:29:03 +00:00
Gaurav Vaish 889b7a4712 2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs : A little more implementation.
* HtmlMobileTextWriter.cs,
* MultiPartWriter.cs,
* MobileTextWriter.cs   : Dummy implementation.
* MobileControl.cs      : Now implements IAttributeAccessor.
                          -- Commented out.

svn path=/trunk/mcs/; revision=15450
2003-06-17 12:26:17 +00:00
Zoltan Varga 4ad670959b 2003-06-17 Zoltan Varga <[email protected]>
* mini.h mini.c mini-x86.c: Added instruction level coverage
	info collection support.

svn path=/trunk/mono/; revision=15449
2003-06-17 11:56:07 +00:00
Zoltan Varga fb185c0c6e 2003-06-17 Zoltan Varga <[email protected]>
* profiler.h profiler-private.h profiler.c: Added infrastructure for
	instruction level coverage data collection.
	* profiler.h profiler.c (: Added new callback function which can be
	used by the profiler to limit which functions should have coverage
	instrumentation.
	* profiler.c (mono_profiler_load): Call g_module_build_path to
	generate the file name of the profiler library.

svn path=/trunk/mono/; revision=15448
2003-06-17 11:41:53 +00:00
Zoltan Varga ed8e576ceb 2003-06-17 Zoltan Varga <[email protected]>
* system.h (struct _WapiSystemInfo ): Fix warnings when using gcc-3.3.

svn path=/trunk/mono/; revision=15447
2003-06-17 11:33:24 +00:00
Lluis Sanchez 338698bd27 * ConfigurationSettings.cs: Avoid chicken-egg problem when reading machine.config.
Cannot use an uri to read mechine.config because web request module handelrs are
	  defined in machine.config.

svn path=/trunk/mcs/; revision=15446
2003-06-16 22:25:36 +00:00
Duncan Mak d3d5e4d825 Miguel forgot to commit this before leaving for Dublin.
svn path=/trunk/mono/; revision=15445
2003-06-16 20:57:57 +00:00
Lluis Sanchez f7f7a8627e added System.Xml.Serialization/XmlTypeMapMemberNamespaces.cs
svn path=/trunk/mcs/; revision=15444
2003-06-16 20:12:04 +00:00
Rafael Teixeira ba86e2775c 2003-06-16 Rafael Teixeira <[email protected]>
* OptionDetails.cs :
		- Now handles correctly options specifiying maxOccurs != 1 (that was preventing mbas from being useable)
		- Now indicates if option parsing consumed a parameter or not (also checks if it is available first)
		- Now multivalued options can either be given as many pairs option/parameter and also as a pair option/comma-separated-list, and both
			Example: -r System.Data -r System.Xml  or /r System.Data,System.Xml
		- Now it is more lax in the form matching: -r /r -reference --reference /reference are valid for a ('r',"reference") option
	* Options.cs : new BreakSingleDashManyLettersIntoManyOptions field to make more GNUish parsing of single letter options.
			Makes -zxf become -z -x -f if set to true

svn path=/trunk/mcs/; revision=15443
2003-06-16 19:41:53 +00:00
Paolo Molaro 4b013a5ae1 Updates and fixes.
svn path=/trunk/mono/; revision=15442
2003-06-16 17:26:21 +00:00
Atsushi Eno c196e56b6e 2003-06-16 Atsushi Enomoto <[email protected]>
* XmlSerializationReader.cs : Synchronous fix with
	  XmlElement.GetAttribute(name, ns) fix for GetNullAttr().
	* added XmlTypeMapMemberNamespace.cs.
	* XmlReflectionImporter,
	  XmlSerializationReaderInterpreter.cs,
	  XmlSerializationWriterInterpreter.cs,
	  XmlTypeMapping.cs : support for XmlNamespaceDeclarationAttribute.

svn path=/trunk/mcs/; revision=15441
2003-06-16 17:15:55 +00:00
Atsushi Eno c1afba2caf 2003-06-16 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases
	  this method set current node null.
	* XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
	  String.Empty instead of null (expected value).
	* XmlTextReader.cs,
	  XmlUrlResolver.cs,
	  XmlInputStream.cs : fixed BaseURI problem (bug #44231).

svn path=/trunk/mcs/; revision=15440
2003-06-16 16:57:39 +00:00
Paolo Molaro b3afdb840e Mon Jun 16 18:21:26 CEST 2003 Paolo Molaro <[email protected]>
* mono-cov.c: coverage profiler.

svn path=/trunk/mono/; revision=15439
2003-06-16 16:31:08 +00:00
Paolo Molaro 7c83ee8de2 Mon Jun 16 18:13:29 CEST 2003 Paolo Molaro <[email protected]>
* driver.c, mini-ppc.c, mini-x86.c, mini.c, mini.h: the coverage stuff
	is now implemented in the profiling API. Get rid of a couple of
	unnecessary global variables.

svn path=/trunk/mono/; revision=15438
2003-06-16 16:25:58 +00:00
Paolo Molaro 186988ad99 Mon Jun 16 18:11:13 CEST 2003 Paolo Molaro <[email protected]>
* profiler.c, profiler.h, profiler-private.h: added basic block
	coverage profiling API.

svn path=/trunk/mono/; revision=15437
2003-06-16 16:20:55 +00:00
Tim Coleman 9c37a664fd 2003-06-16 Tim Coleman <[email protected]>
* System.Data.Common/DbDataAdapter.cs:
                Add the DataTable to the result set even if it contains
                no rows.  Based on report by Krieg Andreas.

svn path=/trunk/mcs/; revision=15436
2003-06-16 14:50:57 +00:00
Nick Drochak d30d8f7499 2003-06-16 Nick Drochak <[email protected]>
* ResourceReaderTest.cs: Help tests find input files.

svn path=/trunk/mcs/; revision=15435
2003-06-16 14:33:32 +00:00
Jackson Harper 4bb7dbaa16 * get.c: Fix modopt and modreq
svn path=/trunk/mono/; revision=15434
2003-06-16 13:38:04 +00:00
Sebastien Pouliot c8e7a90ddb 2003-06-15 Sebastien Pouliot <[email protected]>
* RSAManaged.cs: Now includes CRT (Chinese Remainder Theorem)
	optimization when using the private key (DecryptValue). This
	cut more than 5 seconds of nunit on my system (out of 14 sec
	for complete asymmetric tests). Thanks to Ben Maurer for help!

svn path=/trunk/mcs/; revision=15431
2003-06-16 01:10:18 +00:00
Alexandre Pigolkine 52df633060 fix to build with NAnt
svn path=/trunk/mcs/; revision=15430
2003-06-15 20:50:12 +00:00
Atsushi Eno f43b79af01 2003-06-16 Atsushi Enomoto <[email protected]>
* added nested-dtd-test.xml, nested-dtd-test.dtd, nested-included.dtd.

svn path=/trunk/mcs/; revision=15428
2003-06-15 18:40:59 +00:00
Atsushi Eno ccea621d22 2003-06-16 Atsushi Enomoto <[email protected]>
* added XmlCharTests.cs(separated XmlChar tests from XmlTextReaderTests)
	* XmlTextReaderTests.cs : added ExternalDocument() which will result
	  in BaseURI test and DTD parameter entity test.

svn path=/trunk/mcs/; revision=15427
2003-06-15 18:32:40 +00:00
Jackson Harper 2f31510739 * CodeGen.cs: Fix buglet in cache name creating (I will claim this
was a typo).

svn path=/trunk/mcs/; revision=15426
2003-06-15 18:21:08 +00:00
Atsushi Eno 0e0c9d2c03 2003-06-16 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : EmptyElementWithTwoAttributes() is now
	  EmptyElementWithAttributes() and was added namespaced attribute tests.
	* XmlTextWriterTests.cs : added WriteWhitespace().

svn path=/trunk/mcs/; revision=15425
2003-06-15 18:09:46 +00:00
Atsushi Eno b5e6098670 2003-06-16 Atsushi Enomoto <[email protected]>
* XmlSerializationWriter.cs : some QName handling fix.

svn path=/trunk/mcs/; revision=15424
2003-06-15 17:42:41 +00:00
Zoltan Varga a3b158593e 2003-06-15 Zoltan Varga <[email protected]>
* EventBuilder.cs: Add argument checking to methods.

svn path=/trunk/mcs/; revision=15422
2003-06-15 15:40:02 +00:00
Zoltan Varga 69c12a2338 2003-06-15 Zoltan Varga <[email protected]>
* corlib_test.args: Added EventBuilderTest.cs.

svn path=/trunk/mcs/; revision=15421
2003-06-15 15:23:24 +00:00
Zoltan Varga 3a15928c20 2003-06-15 Zoltan Varga <[email protected]>
* EventBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=15420
2003-06-15 15:22:28 +00:00
Zoltan Varga 61562c125c 2003-06-15 Zoltan Varga <[email protected]>
* EventInfo.cs: Implement IsSpecialName.

svn path=/trunk/mcs/; revision=15419
2003-06-15 15:21:15 +00:00
Zoltan Varga 1234687ce1 2003-06-15 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_create_runtime_class): Add support
	for events in dynamically generated code.

svn path=/trunk/mono/; revision=15418
2003-06-15 15:12:57 +00:00
Zoltan Varga 05dfa47f8c 2003-06-15 Zoltan Varga <[email protected]>
* corlib_test.args: Added PropertyBuilderTest.cs.

svn path=/trunk/mcs/; revision=15417
2003-06-15 13:28:51 +00:00
Zoltan Varga e9d079a8ff 2003-06-15 Zoltan Varga <[email protected]>
* PropertyBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=15416
2003-06-15 13:27:34 +00:00
Zoltan Varga da09ce129c 2003-06-15 Zoltan Varga <[email protected]>
* gc.c: Start GCHandle indexes from 1, since 0 means the handle is
	not allocated.

svn path=/trunk/mono/; revision=15415
2003-06-15 13:13:09 +00:00
Nick Drochak fcc53981cf 2003-06-15 Nick Drochak <[email protected]>
* basic-long.cs: tests for negative values for bigmul, and unsigned.
	* cpu-g4.md: add op_bigmul and op_bigmul_un
	* cpu_pentium.md: add op_bigmul_un
	* inssel-long32.brg: add rule for unsigned bigmul
	* mini-ops.h: define OP_BIGMUL_UN
	* mini-x86.c: THE BUG: handle (un)signed properly
	* mini.c: choose unsigned opcode if needed.
	This set of patches fixes bug #44291

svn path=/trunk/mono/; revision=15414
2003-06-15 12:59:07 +00:00
Jackson Harper 431ded441e * CodeGen.cs: When creating nested types cache their names using
the parent/type method but emit their short name.

svn path=/trunk/mcs/; revision=15413
2003-06-15 07:49:31 +00:00
Atsushi Eno 0f270e7736 2003-06-15 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : this [name] and this [name, ns] (and
	  GetAttribute() methods in turn) returns null instead of String.Empty.
	* XmlTextWriter.cs : WriteStartAttribute() should try to use specified
	  prefix before auto-generating prefixes.
	  Implemented WriteBase64().

svn path=/trunk/mcs/; revision=15412
2003-06-15 04:15:36 +00:00
Sebastien Pouliot 5cb44614c0 2003-06-15 Sebastien Pouliot <[email protected]>
* corrected error in makefile (cp over gcertview.exe.config)
	and forgot to update ChangeLog

svn path=/trunk/mcs/; revision=15411
2003-06-15 04:08:29 +00:00
Sebastien Pouliot 8ad23cc8c8 2003-06-15 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore generated files (remove with make clean).
	* CertificateFormatter.cs: Commented 2 lines as it didn't compile
	with MCS (but did compile with CSC).
	* gcertview.cs: Change app.ico (non-existing) to mono.bmp (16x16).
	* gcertview.exe.config: New. Configuration file for gcertview (same
	as certview.exe.config except it reference gcertview.exe instead of
	certview.exe).
	* makefile: Updated for linux by Ben Maurer.

svn path=/trunk/mcs/; revision=15410
2003-06-15 03:46:31 +00:00
Alexandre Pigolkine 3751bfd7ed ilasm can compile this
svn path=/trunk/mcs/; revision=15409
2003-06-15 01:03:49 +00:00
Jackson Harper 56a13a2710 * ILParser.jay: Add set imagebase, subsystem, and corflags.
svn path=/trunk/mcs/; revision=15408
2003-06-15 00:57:48 +00:00
Jackson Harper d4fcf82d7b * ILTables.cs: Add imagebase keyword.
svn path=/trunk/mcs/; revision=15407
2003-06-15 00:56:06 +00:00
Jackson Harper 33c9ed2cc7 * CodeGen.cs: Add methods for setting corflags, subsystem, and corflags.
svn path=/trunk/mcs/; revision=15406
2003-06-15 00:54:17 +00:00
Alexandre Pigolkine 307c3ec75d example added
svn path=/trunk/mcs/; revision=15405
2003-06-15 00:39:36 +00:00
Alexandre Pigolkine 3458f9a3e9 cdeclCallbacks for libjpeg
svn path=/trunk/mcs/; revision=15404
2003-06-15 00:27:44 +00:00
Alexandre Pigolkine 69f6149288 files added, --unsafe flag, cdecl delegates
svn path=/trunk/mcs/; revision=15403
2003-06-15 00:19:16 +00:00
Jackson Harper 69d09b735c * ILParser.jay: Implement custom modified types.
svn path=/trunk/mcs/; revision=15402
2003-06-15 00:17:23 +00:00
Jackson Harper f054f6bf88 * ITypeRef.cs, PeapiTypeRef.cs, TypeRef.cs: Quick hack for custom
modified types.

svn path=/trunk/mcs/; revision=15401
2003-06-15 00:15:58 +00:00
Alexandre Pigolkine 59c1dc04d7 image painting, InternalImageInfo, image read/write
svn path=/trunk/mcs/; revision=15400
2003-06-15 00:14:37 +00:00
Alexandre Pigolkine 8a6e147a06 InternalImageInfo support
svn path=/trunk/mcs/; revision=15399
2003-06-15 00:13:17 +00:00
Alexandre Pigolkine cb912e1618 support of InternalImageInfo, image loading
svn path=/trunk/mcs/; revision=15398
2003-06-15 00:12:33 +00:00
Alexandre Pigolkine 9890b57fb1 properties uncommented
svn path=/trunk/mcs/; revision=15397
2003-06-15 00:11:40 +00:00
Alexandre Pigolkine 43148fc5c5 implementation added, see ChangeLog
svn path=/trunk/mcs/; revision=15396
2003-06-15 00:10:47 +00:00
Alexandre Pigolkine d150f157be first version of codecs
svn path=/trunk/mcs/; revision=15395
2003-06-15 00:06:47 +00:00
Alexandre Pigolkine a47e80ab7d switch to unix line terminators
svn path=/trunk/mcs/; revision=15394
2003-06-15 00:00:01 +00:00
Sebastien Pouliot a48b96aecd 2003-06-14 Sebastien Pouliot <[email protected]>
* list.unix. Added SubjectAltNameExtension.cs

svn path=/trunk/mcs/; revision=15393
2003-06-14 21:43:57 +00:00
Sebastien Pouliot fa6b9d2cb7 2003-06-14 Sebastien Pouliot <[email protected]>
* SubjectAltNameExtension.cs: New. Added for certview.

svn path=/trunk/mcs/; revision=15392
2003-06-14 21:41:58 +00:00
Sebastien Pouliot 2a276c19ad 2003-06-14 Sebastien Pouliot <[email protected]>
* mono.bmp: New. 16x16 bitmap for Mono::
	* mono.ico: New. 32x32 windows icon for Mono::
	* v1.bmp: New. 16x16 bitmap for X.509 v1 properties/extensions.
	* v2.bmp: New. 16x16 bitmap for X.509 v2 properties/extensions.
	* v3.bmp: New. 16x16 bitmap for X.509 v3 properties/extensions.
	* v3critical.bmp: New. 16x16 bitmap for X.509 v3 critical extensions.
	* wax-seal.png: New. Bitmap for valid certificate.
	* wax-seal-broken.png: Bitmap for invalid certificate.

svn path=/trunk/mcs/; revision=15391
2003-06-14 21:08:08 +00:00
Sebastien Pouliot ef17df7a3b 2003-06-14 Sebastien Pouliot <[email protected]>
* CertificateViewer.cs: New. SFW-based certificate viewer.
	* CertificateViewer.resx: New. SWF Resource file.
	* CertificateFormatter.cs: New. Not GUI specific.
	* certview.exe.config: New. Configuration file for certview.
	* certview.glade: New. GUI for GTK#.
	* certview.gladep: New. Project file for GLADE.
	* gcertview.cs: New. GTK#-based certificate viewer.
	* makefile: New. makefile for both SWF and GTK# viewers.
	* X509ExtensionsHandler.cs: Configuration file parser.

svn path=/trunk/mcs/; revision=15390
2003-06-14 21:06:44 +00:00
Paolo Molaro d0058bc691 Sat Jun 14 19:01:32 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: when getting timezone info, return reasonable values if we
	can't get the actual data.

svn path=/trunk/mono/; revision=15384
2003-06-14 17:11:16 +00:00
Lluis Sanchez 5fbb899cb0 * Methods.cs: Added information about headers in MethodStubInfo. Added cache of serializers
in TypeStubInfo so serializers for headers they can be shared by several methods.
	* SoapClientMessage.cs: Headers added in the constructor.
	* SoapMessage.cs: Added header list initialization.
	* SoapHttpClientProtocol.cs: Added support soap headers.

svn path=/trunk/mcs/; revision=15382
2003-06-14 14:38:01 +00:00
Dick Porter 2a312f5b60 2003-06-14 Dick Porter <[email protected]>
* threads.c (start_wrapper): Remove the reference to the thread
	object in the TLS data, so the thread object can be finalized.
	This won't be reached if the thread threw an uncaught exception,
	so those thread handles will stay referenced :-( (This is due to
	missing support for scanning thread-specific data in the Boehm GC
	- the io-layer keeps a GC-visible hash of pointers to TLS data.)

svn path=/trunk/mono/; revision=15381
2003-06-14 14:27:42 +00:00
Dick Porter d4e303578e Make print_method_from_ip() print the pointer it's looking up, to make
later matching up of the output with the stack trace easier.

svn path=/trunk/mono/; revision=15380
2003-06-14 14:19:23 +00:00
Gonzalo Paniagua Javier 5f56352dc6 2003-06-14 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: if CookieContainer has not been set, make HttpWebResponse ignore
	Set-Cookie* headers.

	* HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if CookieContainer have
	been provided to the request.

svn path=/trunk/mcs/; revision=15379
2003-06-14 13:22:53 +00:00
Paolo Molaro 608e73439a Sat Jun 14 13:16:17 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: ensure streams and tables are first allocated with
	ALLOC_ATOMIC (GC_realloc uses plain GC_malloc otherwise).

svn path=/trunk/mono/; revision=15378
2003-06-14 11:26:34 +00:00
Paolo Molaro a70c4462b8 Sat Jun 14 13:13:20 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: fixed GetElementType for byrefs (bug# 44792).

svn path=/trunk/mono/; revision=15377
2003-06-14 11:22:11 +00:00
Duncan Mak 275bf30f56 Fixes the enumerator for SortedList.
2003-06-13  Herve Poussineau  <[email protected]>

	* SortedList.cs: Can enumerate on DictionaryEntries, not only on
	keys on values. Enumerate by default on DictionaryEntries.

2003-06-14  Duncan Mak  <[email protected]>

	* SortedListTest.cs
	(TestIndexer):
	(TestEnumerator): Incorporated these two tests from Philippe
	Lavoie <[email protected]>.

svn path=/trunk/mcs/; revision=15376
2003-06-14 04:37:26 +00:00
Lluis Sanchez 3e3e0841a4 * XmlSerializationReader.cs: Fixed error message.
* XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
	  Thanks to Atsushi!
	* XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.

svn path=/trunk/mcs/; revision=15375
2003-06-13 22:30:24 +00:00
Zoltan Varga 22201010eb 2003-06-13 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_create_runtime_class): Add support for
	properties to dynamically created classes.
	* reflection.c: Fix a few places where non-MonoObjects were inserted
	into the tokens hashtable.

svn path=/trunk/mono/; revision=15371
2003-06-13 17:48:23 +00:00
Atsushi Eno 3bbfd8747a 2003-06-13 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : LookupNamespace () has refered invalid current
	  node for attributes. Modified to use private "document" property.

svn path=/trunk/mcs/; revision=15370
2003-06-13 17:33:41 +00:00
Paolo Molaro 2ed2d98966 Fri Jun 13 19:10:55 CEST 2003 Paolo Molaro <[email protected]>
* object.c: some support to handle out of memory exceptions.

svn path=/trunk/mono/; revision=15369
2003-06-13 17:19:18 +00:00
Lluis Sanchez 028bb2c2ca * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
* XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
	* XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
	* XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.

svn path=/trunk/mcs/; revision=15368
2003-06-13 16:09:27 +00:00
Gonzalo Paniagua Javier f67c16ea74 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/AuthenticationManager.cs: get the list of authentication
	modules from the configuration files. Added Clear and fixed Unregister.

	* System.Net/BasicClient.cs: fully implemented.

	* System.Net/HttpWebRequest.cs: added support for Basic authentication
	when credentials are set.

	* System.Net/NetworkCredential.cs: fixed GetCredential.

	* System.Net.Configuration/NetAuthenticationModuleHandler.cs: register
	the modules using AuthenticationManager.

svn path=/trunk/mcs/; revision=15367
2003-06-13 16:01:42 +00:00
Lluis Sanchez 1b17c3d245 * Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
* SoapHttpClientProtocol.cs: Added support for faults.

svn path=/trunk/mcs/; revision=15366
2003-06-13 15:30:58 +00:00
Paolo Molaro 0cfcc5a0f3 missing.
svn path=/trunk/mono/; revision=15365
2003-06-13 10:14:26 +00:00
Lluis Sanchez 014e3c71b3 * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
* SoapReflectionImporter.cs: tiny fix.
	* XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
	  XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
	* XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
	* XmlSerializationWriter.cs: implemented WriteSerializable ().

svn path=/trunk/mcs/; revision=15364
2003-06-13 09:48:24 +00:00
Dietmar Maurer d366069d59 2003-06-13 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): improved to handle all kinds of
	conditional branches.

svn path=/trunk/mono/; revision=15363
2003-06-13 09:22:52 +00:00
Duncan Mak d6e894bb6b Fixes to various System.Collections class, with test cases included.
svn path=/trunk/mcs/; revision=15361
2003-06-13 08:40:21 +00:00
César Natarén 9925f72c0d I forgot to write and commit my ChangeLog entry from monday's changes.
svn path=/trunk/mcs/; revision=15358
2003-06-13 06:21:49 +00:00
Sebastien Pouliot 4dce7be6f7 2003-06-11 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
	* Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.

svn path=/trunk/mcs/; revision=15357
2003-06-13 03:32:30 +00:00
Gonzalo Paniagua Javier 7944c86a9e 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: *really* take care of requestSent to prevent
	sending the same request twice.
	* WebAsyncResult.cs: don't close the handle. Just Reset.
	* WebConnectionStream.cs: removed unneeded line.

svn path=/trunk/mcs/; revision=15354
2003-06-12 22:27:09 +00:00
Duncan Mak 1efe22b539 Fix the attribution.
svn path=/trunk/mcs/; revision=15353
2003-06-12 20:23:06 +00:00
Duncan Mak feeb2fccae 2003-06-12 Duncan Mak <[email protected]>
* UserPreferenceChangedEventArgs.cs
	* UserPreferenceChangingEventArgs.cs
	(Category): Fixed typo. Patch from A. Nahr.
	([email protected]>.

svn path=/trunk/mcs/; revision=15352
2003-06-12 20:16:26 +00:00
Gonzalo Paniagua Javier 020dbe1c8f 2003-06-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: use InternalClose when we are not going to send the
	rest of the request stream because of an error after sending the
	headers.

	* WebConnection.cs: check for completion after setting the response.
	Enable reading in NextRead.

	* WebConnectionStream.cs: re-fixed the count for partially buffered
	reads. If the network stream returns 0 bytes, we're done.

svn path=/trunk/mcs/; revision=15351
2003-06-12 20:00:09 +00:00
Lluis Sanchez 2abcd5c4c8 * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
* XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
	  XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
	  XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
	* XmlSerializationWriter.cs: small fix.

svn path=/trunk/mcs/; revision=15350
2003-06-12 19:34:16 +00:00
Atsushi Eno 790a5e224d 2003-06-13 Atsushi Enomoto <[email protected]>
* XSD2Class.cs: several changes.

svn path=/trunk/mcs/; revision=15349
2003-06-12 18:47:31 +00:00
Aleksey Ryabchuk dd87de0a39 create context menu using CreatePopupMenu function
svn path=/trunk/mcs/; revision=15347
2003-06-12 16:40:16 +00:00
Dietmar Maurer 4dc97a8698 bug fix
svn path=/trunk/mono/; revision=15346
2003-06-12 16:33:38 +00:00
Aleksey Ryabchuk 442d94c24a started impl. of TreeView control
svn path=/trunk/mcs/; revision=15345
2003-06-12 16:28:47 +00:00
Aleksey Ryabchuk 013b9219e9 * Control.cs : don't do anything if Anchor is set to default value
* SystemInformation.cs : return some system metrics
	* UserControl.cs : default size impl.

svn path=/trunk/mcs/; revision=15344
2003-06-12 14:48:33 +00:00
Dietmar Maurer 3c83adc0d4 2003-06-12 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): support reference
	return types

svn path=/trunk/mono/; revision=15343
2003-06-12 14:00:20 +00:00
Paolo Molaro 5de925a9f3 Wed Jun 11 18:32:51 CEST 2003 Paolo Molaro <[email protected]>
* object.h, object.c: more portability stuff from Bernie Solomon.
	Unexport mono_object_allocate(). Added mono_object_unbox ().
	Set exitcode when an unhandled exception is thrown.

svn path=/trunk/mono/; revision=15338
2003-06-12 10:11:46 +00:00
Zoltan Varga fd0306326e 2003-06-12 Zoltan Varga <[email protected]>
* FileStreamTest.cs: New tests for recently fixed bugs.

svn path=/trunk/mcs/; revision=15337
2003-06-12 08:43:33 +00:00
Zoltan Varga f2ba9b477a 2003-06-11 Zoltan Varga <[email protected]>
* FileStream.cs: Fix errors in previous checkins:
	(Write): Only take the shortcut route if the data is longer than the
	buffer length.
	(Write): Flush the buffer before writing out the new data
	(Write): Flush the buffer after writing out a segment since otherwise
	we will go into an infinite loop.
	(FlushBuffer): Remove my last change since it was clearly wrong.
	(Seek): Run FlushBuffer () after the in-buffer seek optimization.
	(Seek): Only use the in-buffer optimization if the buffer is not
	empty.
	(Length): Call FlushBuffer () since buffer data might change the size
	of the stream.

svn path=/trunk/mcs/; revision=15336
2003-06-12 08:35:22 +00:00
Sebastien Pouliot 4006f91139 2003-06-11 Sebastien Pouliot <[email protected]>
* AllTests2.cs: Converted tests to NUnit2 format.
	* RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
	* RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
	* RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
	* RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
	* RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.

svn path=/trunk/mcs/; revision=15334
2003-06-12 02:03:46 +00:00
Francisco Figueiredo Jr. ec58312e9c 2003-06-11 Francisco Figueiredo Jr. <[email protected]>
* CommandTests.cs: Changed code to use parameter names starting with ':'. Added test for empty query.
	* DataReaderTests.cs: Added test for parameter names overlap. Added test for nonexistent parameter name.

svn path=/trunk/mcs/; revision=15333
2003-06-12 01:53:57 +00:00
Francisco Figueiredo Jr. 89ef9bd263 2003-06-11 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlCommand.cs: Fixed parameter replace bug when parameter names overlap. Thanks Ishpal Singh. Cleaned up the code.
	* NpgsqlDataReader.cs: Fixed NPE bug when handling queries which doesn't return anything.
	* NpgsqlParameter.cs: Added code to format parameter names to start with ':'.
	* NpgsqlParameterCollection.cs: Added code to format parameter names to start with ':'.

svn path=/trunk/mcs/; revision=15332
2003-06-12 01:49:20 +00:00
Sebastien Pouliot dc83d01c5e 2003-06-11 Sebastien Pouliot <[email protected]>
* crypto: Updated crypto status

svn path=/trunk/mono/; revision=15331
2003-06-12 01:33:25 +00:00
Sebastien Pouliot 71f2c5b03e 2003-06-11 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Refactored from orginal by splitting
	much core functionalities into DSAManaged.
	* RSACryptoServiceProvider.cs: Refactored from orginal by splitting
	much core functionalities into RSAManaged.
	* RSAPKCS1SignatureDeformatter.cs: Updated to use the new PKCS#1 API.
	Now works with any hash algorithm (which OID is defined in machine.config)
	* RSAPKCS1SignatureFormatter.cs: Updated to use the new PKCS#1 API.
	Now works with any hash algorithm (which OID is defined in machine.config)

svn path=/trunk/mcs/; revision=15330
2003-06-12 01:22:06 +00:00
Sebastien Pouliot 22fac787cf 2003-06-11 Sebastien Pouliot <[email protected]>
* unix.args: added Mono.Security.Cryptography/DSAManaged.cs and
	RSAManaged.cs

svn path=/trunk/mcs/; revision=15329
2003-06-12 01:14:03 +00:00
Sebastien Pouliot 11c7b2cc21 2003-06-11 Sebastien Pouliot <[email protected]>
* DSAManaged.cs: Refactored from DSACryptoServiceProvider.cs. Cannot
	be reused outside [ms]corlib because DSA constructor is internal :-(

	* PKCS1.cs: Now support any hash algorithm when encoding PKCS 1.5
	(i.e. not limited to pre-calculated values for known hashes). Some
	other API changes to ease the use of other hash algorithms.

	* RSAManaged.cs: Refactored from RSACryptoServiceProvider.cs. This
	class is required for custom PKCS#1 padding in SSL (which is not
	possible using RSACryptoServiceProvider).

svn path=/trunk/mcs/; revision=15328
2003-06-12 01:09:04 +00:00
Sebastien Pouliot d824e3aed9 2003-06-11 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Added Clear to zeroize big integers and code to allow
	compares with null (because operators == and != are re-defined). Note:
	The class may still leak some private info in temp arrays (thanks Ben).

svn path=/trunk/mcs/; revision=15327
2003-06-12 00:35:48 +00:00
Lluis Sanchez 421c4a18e2 * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
Added support for DefaultValueAttribute.
	* XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
	  the value of an enum.
	* XmlTypeMapMember.cs: Added DefaultValue attribute.
	* XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
	  integer values.

svn path=/trunk/mcs/; revision=15326
2003-06-11 23:16:11 +00:00
Gonzalo Paniagua Javier 435ec337a7 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
	special headers *after* the others.

svn path=/trunk/mcs/; revision=15325
2003-06-11 20:48:43 +00:00
Tim Coleman c781795b3f 2003-06-11 Tim Coleman <[email protected]>
* SybaseConnection.cs:
                Make connection parameter parsing "more correct"
                and throw appropriate exceptions, similar to MS SqlClient
        * SybaseBinary.cs:
        * SybaseBoolean.cs:
        * SybaseByte.cs:
        * SybaseDateTime.cs:
        * SybaseDecimal.cs:
        * SybaseDouble.cs:
        * SybaseMoney.cs:
        * SybaseString.cs:
                Mass import of code from SqlClient to make this behave
                better.

svn path=/trunk/mcs/; revision=15324
2003-06-11 18:22:02 +00:00
Dick Porter 786185f8f6 Simple script to print a stack trace and also look up all the managed
frames

svn path=/trunk/mono/; revision=15320
2003-06-11 17:02:46 +00:00
Aleksey Ryabchuk 07d8828f50 * ContextMenu.cs : SourceControl, Show method
* Control.cs : ContextMenu, CanSelect, force parent to perform layout when Dock property changes
	* GroupBox.cs
	* Label.cs
	* Panel.cs
	* PictureBox.cs
	* Splitter.cs
	* ProgressBar.cs : remove Selectable style
	* RadioButton.cs : set TextAlign to MiddleLeft by default
	* tooltip.cs : override Dispose method
	* win32Enums.cs
	* win32functions.cs : flags and function for context menu

svn path=/trunk/mcs/; revision=15319
2003-06-11 16:36:24 +00:00
Paolo Molaro 1ca5dab777 Wed Jun 11 18:01:06 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini.h, jit-icalls.c: speedup emulation of opcodes that
	don't raise exceptions.

svn path=/trunk/mono/; revision=15317
2003-06-11 16:12:19 +00:00
Miguel de Icaza a9972b269f Add markup
svn path=/trunk/mono/; revision=15303
2003-06-11 14:39:58 +00:00
Lluis Sanchez 9ac28c5b9b * XmlSerializationReader.cs: Minor fix.
svn path=/trunk/mcs/; revision=15302
2003-06-11 13:53:43 +00:00
Lluis Sanchez 4c174fcaa1 * XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
svn path=/trunk/mcs/; revision=15301
2003-06-11 13:38:56 +00:00
Miguel de Icaza 667e000bf0 Flush
svn path=/trunk/mono/; revision=15300
2003-06-11 13:37:48 +00:00
Dick Porter d424a7866d 2003-06-11 Dick Porter <[email protected]>
* shared.c: Fix shared directory creation.  Patch from
	Pablo Baena <[email protected]>

svn path=/trunk/mono/; revision=15299
2003-06-11 12:39:20 +00:00
Dietmar Maurer cdf995e83c 2003-06-11 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): use custom
	marshaler for return types.

svn path=/trunk/mono/; revision=15296
2003-06-11 09:59:09 +00:00
Gonzalo Paniagua Javier 786993a318 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: don't throw nullref when the return type for a property
	is specified and the property doesn't have a get accessor.

svn path=/trunk/mcs/; revision=15293
2003-06-11 00:00:36 +00:00
Duncan Mak 0d0224aa93 2003-06-10 Duncan Mak <[email protected]>
* Array.cs (CreateInstance): Fixed a typo. It should throw
	ArgumentNullException instead of ArgumentException.

svn path=/trunk/mcs/; revision=15292
2003-06-10 22:56:27 +00:00
Gonzalo Paniagua Javier 224ee0e213 2003-06-11 Gonzalo Paniagua Javier <[email protected]>
* HashtableTest.cs: removed duplicate tests and unneeded inner class.

svn path=/trunk/mcs/; revision=15291
2003-06-10 22:42:04 +00:00
Ben Maurer 4b6d1164eb Change back the copyright. I guess I should not look for a carrear as a lawyer ;-)
svn path=/trunk/mcs/; revision=15290
2003-06-10 22:37:50 +00:00
Lluis Sanchez f8c86e3500 * Methods.cs: removed handler for UnknownNode event
svn path=/trunk/mcs/; revision=15289
2003-06-10 18:31:05 +00:00
Lluis Sanchez 64f5b2fde7 * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
* XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
	* XmlCustomFormatter.cs: small fixes.
	* XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
	* XmlSerializationWriter.cs: Implemented TopLevelElement().
	  WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
	  WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
	* XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
	  root elements.

svn path=/trunk/mcs/; revision=15288
2003-06-10 18:30:32 +00:00
Lluis Sanchez a3e2c2fc98 * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
generated, and a namespace declaration must be added.
	* XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/

svn path=/trunk/mcs/; revision=15287
2003-06-10 18:13:55 +00:00
Paolo Molaro 3541f6416c Tue Jun 10 19:00:31 CEST 2003 Paolo Molaro <[email protected]>
* tramp-x86.c, tramp-ppc.c, debug-mini.c: move arch-specific code
	to arch-specific files.

svn path=/trunk/mono/; revision=15285
2003-06-10 17:09:45 +00:00
Dick Porter 7cbf993629 2003-06-10 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Check for struct ip_mreq if struct ip_mreqn isn't
	available.

2003-06-10  Dick Porter  <[email protected]>

	* socket-io.c: Don't assume that one of struct ip_mreqn or struct
	ip_mreq is available

2003-06-10  Dick Porter  <[email protected]>

	* atomic.c: Delete the useless compile warning

svn path=/trunk/mono/; revision=15284
2003-06-10 17:02:25 +00:00
Nick Drochak 3f2ec8f426 2003-06-11 Nick Drochak <[email protected]>
* Added Paolo's comments about CVS commits and changing code.
	Also reorganized it a bit. Hopefully this is a more logical ordering.

svn path=/trunk/mono/; revision=15283
2003-06-10 16:44:00 +00:00
Aleksey Ryabchuk d38f9ee9b6 * Conrols.cs : Disposing property, Dispose method
* Cursor.cs  : Show, Hide, Copy cursor
	* NativeWindow.cs : destructor

svn path=/trunk/mcs/; revision=15282
2003-06-10 16:17:41 +00:00
Paolo Molaro 200f68ef8c Tue Jun 10 17:35:03 CEST 2003 Paolo Molaro <[email protected]>
* debug-mono-symfile.c, marshal.c, metadata.c, monitor.c,
	mono-debug-debugger.c, mono-debug.c, process.c: portability fixes
	by Bernie Solomon <[email protected]>.

svn path=/trunk/mono/; revision=15281
2003-06-10 15:45:18 +00:00
Martin Baulig 6da9c5e8d3 Removed the debugger download link from Mono 0.24 since that debugger version doesn't work with Mono 0.24.
svn path=/trunk/mono/; revision=15280
2003-06-10 14:59:15 +00:00
Zoltan Varga cb5190e4b3 2003-06-10 Zoltan Varga <[email protected]>
* gc.c (mono_gc_init): Avoid error message on shutdown when
	GC_DONT_GC=1 is used.

svn path=/trunk/mono/; revision=15275
2003-06-10 13:06:09 +00:00
Dick Porter 6102b277d7 Build fix
svn path=/trunk/mono/; revision=15274
2003-06-10 12:02:06 +00:00
Zoltan Varga 576b6ce714 2003-06-10 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Module_GetGuidInternal):
	New icall to return the GUID of a module.

svn path=/trunk/mono/; revision=15273
2003-06-10 09:57:22 +00:00
Zoltan Varga 18a937ddee 2003-06-10 Zoltan Varga <[email protected]>
* Module.cs (Mono_GetGuid): New method to return the GUID of the
	module.

svn path=/trunk/mcs/; revision=15272
2003-06-10 09:55:48 +00:00
Zoltan Varga 3f5732eb75 2003-06-10 Zoltan Varga <[email protected]>
* XmlDocumentTests.cs: New test for null prefix and namespaceURI in
	CreateAttribute.

svn path=/trunk/mcs/; revision=15271
2003-06-10 09:52:57 +00:00
Zoltan Varga 5221236602 2003-06-10 Zoltan Varga <[email protected]>
* MonoSymbolFile.cs: Fix off-by-one error.

svn path=/trunk/mcs/; revision=15270
2003-06-10 09:51:09 +00:00
Zoltan Varga b1658fb138 2003-06-10 Zoltan Varga <[email protected]>
* XmlAttribute.cs: Accept a null prefix or namespaceURI.

svn path=/trunk/mcs/; revision=15269
2003-06-10 09:49:55 +00:00
Ville Palo 40284bfc2e 2003-06-10 Ville Palo <[email protected]>
* DateTimeTest.cs: more tests.

svn path=/trunk/mcs/; revision=15268
2003-06-10 09:49:41 +00:00
Zoltan Varga 14a03257ac 2003-06-10 Zoltan Varga <[email protected]>
* configure.in: Define HAVE_GC_GCJ_MALLOC for included libgc.

svn path=/trunk/mono/; revision=15267
2003-06-10 09:46:36 +00:00
Martin Baulig cac115908e 2003-06-10 Martin Baulig <[email protected]>
* configure.in: Fall back to boehm if we don't have a libgc
	subdirectory.

svn path=/trunk/mono/; revision=15266
2003-06-10 09:22:25 +00:00
Martin Baulig 2fd258752e 2003-06-10 Martin Baulig <[email protected]>
* configure.in: Make the libgc stuff actually work; we now create
	a shared libmonogc.so when using the included libgc.

svn path=/trunk/mono/; revision=15264
2003-06-10 08:36:20 +00:00
Duncan Mak 55448b57e3 2003-06-10 Duncan Mak <[email protected]>
* XmlDocumentNavigator.cs (GetNode): Make it implement
	IHasXmlNode.

        Hopefully I fixed the space/tab thing. Let's just all use
        spaces, it's just easier....

svn path=/trunk/mcs/; revision=15262
2003-06-10 06:07:01 +00:00
Nick Drochak 67ee24855f 2003-06-10 Nick Drochak <[email protected]>
* StackFrameTest.cs: More cleanups.  Now *all* tests pass.

svn path=/trunk/mcs/; revision=15261
2003-06-10 04:05:11 +00:00
Nick Drochak 0236bf7697 2003-06-10 Nick Drochak <[email protected]>
* StactFrameTest.cs: Cleanups.  Now tests pass.

svn path=/trunk/mcs/; revision=15260
2003-06-10 03:47:57 +00:00
Duncan Mak 9c0efe87a7 2003-06-09 Duncan Mak <[email protected]>
* ArrayTest.cs:
	(TestCreateInstance2):
	(TestLastIndexOf4):
	(TestLastIndexOf5):
	(MoreSort10): Added 4 new tests.

svn path=/trunk/mcs/; revision=15259
2003-06-10 03:09:31 +00:00
Gonzalo Paniagua Javier 690c7e98cb Really fix partial reads.
svn path=/trunk/mcs/; revision=15258
2003-06-10 02:48:11 +00:00
Nick Drochak 075c1ff713 2003-06-10 Nick Drochak <[email protected]>
* ArrayTest.cs: Cleanup some unused bits.

svn path=/trunk/mcs/; revision=15257
2003-06-10 02:44:07 +00:00
Gonzalo Paniagua Javier e384067e38 2003-06-10 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: when the read is partially filled from the
	initial buffer, add those bytes too. Thanks to Lluis for debugging this.

svn path=/trunk/mcs/; revision=15256
2003-06-10 01:08:18 +00:00
Sebastien Pouliot f032ef7fc5 2003-06-09 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Now support OID in machine.config.
	* DSACryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
	* KeySizes.cs: Changed USE_VERSION_1_0 for NET_1_0.
	* MD5CryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
	* RNGCryptoServiceProvider.cs: Changed USE_VERSION_

svn path=/trunk/mcs/; revision=15255
2003-06-10 00:47:37 +00:00
Paolo Molaro 679c5f13d3 Disable libgc here, too.
svn path=/trunk/mono/; revision=15254
2003-06-09 21:53:19 +00:00
Paolo Molaro 9354d51bbf Disable included libgc completely untils it's fixed.
svn path=/trunk/mono/; revision=15253
2003-06-09 21:42:26 +00:00
Gonzalo Paniagua Javier 346bb452a5 2003-06-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: added ExpectContinue property.
	* WebConnection.cs: allow 100 Continue to be delayed after waiting for
	it.

svn path=/trunk/mcs/; revision=15252
2003-06-09 19:59:08 +00:00
Paolo Molaro e157e59ca5 Mon Jun 9 20:21:47 CEST 2003 Paolo Molaro <[email protected]>
* cpu-pentium.md, mini-x86.c: fix (well, actually implement) OP_TAN
	and OP_ATAN (fixes bug#44293).

svn path=/trunk/mono/; revision=15251
2003-06-09 18:30:48 +00:00
Paolo Molaro 3090710ed7 Small updates.
svn path=/trunk/mono/; revision=15250
2003-06-09 18:28:54 +00:00
Gonzalo Paniagua Javier 0f11ceba7f Added webRequesModules configuration. Thanks to Lluis for pointing this out
svn path=/trunk/mono/; revision=15249
2003-06-09 18:10:18 +00:00
Paolo Molaro ac3283997b Mon Jun 9 19:33:51 CEST 2003 Paolo Molaro <[email protected]>
* class.c: ensure instance size always includes the parent's size
	even whem class size is set explicitly (fixes bug#44294).

svn path=/trunk/mono/; revision=15248
2003-06-09 17:43:50 +00:00
Paolo Molaro f523e9fa81 Mon Jun 9 19:00:56 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am, mini-x86.c: rename cpu description array to
	pentium_desc, since some compilers define the 'pentium' preprocessor
	symbol.

svn path=/trunk/mono/; revision=15247
2003-06-09 17:10:48 +00:00
Dick Porter bd3b07be68 2003-06-09 Dick Porter <[email protected]>
* daemon.c: Lookup env as a string array.  Fixes bug 44289.  Also
	make setting the process handle value in the environment actually
	work.

	* processes.c: Pretty up the process name, if it happens to be
	"mono" such as when another mono process forks "mono foo.exe"

svn path=/trunk/mono/; revision=15246
2003-06-09 17:01:42 +00:00
Aleksey Ryabchuk d8192cb9f4 * Control.cs : Cursor property, handle WM_SETCURSOR
* Cursor.cs : started implementation
	* Cursors.cs : load system cursor types
	* win32functions.cs : DestroyCursor function

svn path=/trunk/mcs/; revision=15245
2003-06-09 16:22:45 +00:00
Paolo Molaro bac76e8acf Go back to the external libgc until this is properly tested.
svn path=/trunk/mono/; revision=15244
2003-06-09 14:50:31 +00:00
Miguel de Icaza bceb317a25 Small touch ups
svn path=/trunk/mono/; revision=15243
2003-06-09 13:50:36 +00:00
Aleksey Ryabchuk bec8f85309 fixed typo, implementation added
svn path=/trunk/mcs/; revision=15242
2003-06-09 13:34:53 +00:00
Paolo Molaro 368ff35e3f jit/Makefile is no more.
svn path=/trunk/mono/; revision=15241
2003-06-09 13:00:26 +00:00
Ville Palo 43fa96bc77 2003-06-09 Ville Palo <[email protected]>
* FileStream.cs:
	- removed unusefull bugfix (DirectoryNotFoundException)
	- Flush before seek.

svn path=/trunk/mcs/; revision=15240
2003-06-09 10:03:25 +00:00
Aleksey Ryabchuk 1c4ae8642c fixed issues breaking the build
svn path=/trunk/mcs/; revision=15239
2003-06-09 09:21:08 +00:00
Ville Palo db08db8d36 2003-06-09 Ville Palo <[email protected]>
* FileStream.cs: Check buffer size before append/read -exceptios

svn path=/trunk/mcs/; revision=15238
2003-06-09 08:50:20 +00:00
Ville Palo 9e610b8307 2003-06-09 Ville Palo <[email protected]>
* FileStream.cs: Check DirectoryNotFound before FileNotFound.

svn path=/trunk/mcs/; revision=15237
2003-06-09 08:02:51 +00:00
Dennis Hayes c28ee0df3f 2003-06-09 Dennis Hayes <[email protected]>
for Gopal V <[email protected]>
	* MonthCalendar.cs
	* AxHost.cs
	Fixed overrides

svn path=/trunk/mcs/; revision=15236
2003-06-09 07:38:51 +00:00
César Natarén 50d2c06985 Added SymbolTable and IdentificationTable
svn path=/trunk/mcs/; revision=15235
2003-06-09 07:29:50 +00:00
César Natarén 3190c90684 Added Semantic Analyzer stub
svn path=/trunk/mcs/; revision=15234
2003-06-09 07:22:11 +00:00
César Natarén 37a2fdee77 Added some new files to unix.args (see ChangeLog entry)
svn path=/trunk/mcs/; revision=15233
2003-06-09 07:02:40 +00:00
Ville Palo 3441fc4647 2003-06-09 Ville Palo <[email protected]>
* FileStream.cs: Does not anymore flush while writing

svn path=/trunk/mcs/; revision=15232
2003-06-09 06:48:35 +00:00
César Natarén 1bf8e84b1b Added FormalParameterList class
svn path=/trunk/mcs/; revision=15231
2003-06-09 06:43:23 +00:00
César Natarén 55b9909312 Added VariableStatement class
svn path=/trunk/mcs/; revision=15230
2003-06-09 06:41:01 +00:00
César Natarén 0b890a96b1 Added Statement class (logical representation of an Ecmascript statement
svn path=/trunk/mcs/; revision=15229
2003-06-09 06:39:09 +00:00
Duncan Mak f692ce2584 2003-06-09 Duncan Mak <[email protected]>
* Array.cs: Revert the last revert. I fixed it.

	Here's a lesson: only commit the patches that you're absolutely
	sure about. See, I committed 3 changes below, the Sort change
	being the last one, and I was the least confident with it. But I
	committed them all anyway. Big mistake.

	So here we go again:

	(Sort): Put a try-catch block around qsort, and wrap whatever
	Exception we get into a InvalidOperationException.

svn path=/trunk/mcs/; revision=15228
2003-06-09 06:37:54 +00:00
César Natarén 8bc1ed2a11 Added VariableDeclaration AST representation
svn path=/trunk/mcs/; revision=15227
2003-06-09 06:35:19 +00:00
César Natarén f4a57ec95d Added Visitor interface
svn path=/trunk/mcs/; revision=15226
2003-06-09 06:32:36 +00:00
César Natarén 6b3597b01d reflect changes on grammar file
svn path=/trunk/mcs/; revision=15225
2003-06-09 06:26:57 +00:00
César Natarén 577eec116d Added some instructions to build the AST of a program (for testing).
svn path=/trunk/mcs/; revision=15224
2003-06-09 06:25:58 +00:00
César Natarén 0fc3c3646b Added AST support for program, source_element, statement, variable_statement, variable_declaration (and dependencies), function_declaration (and dependencies)
svn path=/trunk/mcs/; revision=15223
2003-06-09 06:19:42 +00:00
César Natarén 85ff9b8757 Added abstract Visit method, for Semantic Analysis
svn path=/trunk/mcs/; revision=15222
2003-06-09 06:16:16 +00:00
César Natarén c2b3a9580a Added Visit method, for Semantic Analysis
svn path=/trunk/mcs/; revision=15221
2003-06-09 06:13:59 +00:00
César Natarén 67980e7881 header style correction
svn path=/trunk/mcs/; revision=15220
2003-06-09 06:08:04 +00:00
César Natarén 10868c5080 added Visit method for Semantic Analysis
svn path=/trunk/mcs/; revision=15219
2003-06-09 06:06:45 +00:00
César Natarén 602a38a684 added initial support for Semantic Analysis
svn path=/trunk/mcs/; revision=15218
2003-06-09 06:03:45 +00:00
César Natarén d215be3d88 added initial support for Semantic Analysis
svn path=/trunk/mcs/; revision=15217
2003-06-09 05:45:10 +00:00
Jackson Harper 234536090b * EventDef.cs: Only add one method for addon, fire, other, and
removeon

svn path=/trunk/mcs/; revision=15216
2003-06-09 02:58:45 +00:00
Jackson Harper 7e981be113 * Array.cs: Revert last patch, it broke some other functionality.
svn path=/trunk/mcs/; revision=15215
2003-06-09 02:07:52 +00:00
Jackson Harper 913d435af0 * AssemblyInfo.cs: Bump version number up (way up) lots of
features have been implemented since last version.

svn path=/trunk/mcs/; revision=15214
2003-06-09 01:28:59 +00:00
Jackson Harper 3764edd976 Another test.
svn path=/trunk/mcs/; revision=15213
2003-06-09 01:26:11 +00:00
Jackson Harper 68c8a3615d * ILParser.jay: Implement properties
svn path=/trunk/mcs/; revision=15212
2003-06-09 01:25:21 +00:00
Jackson Harper fc5943ad95 Add property def to build
svn path=/trunk/mcs/; revision=15211
2003-06-09 01:23:45 +00:00
Jackson Harper 1286fc2f4b * TypeDef.cs: Add properties to types.
* PropertyDef.cs: New file - Implementation of a type property feature

svn path=/trunk/mcs/; revision=15210
2003-06-09 01:23:12 +00:00
Duncan Mak 2e57f3eafd 2003-06-08 Duncan Mak <[email protected]>
* Array.cs: Throw more exceptions. This fixes the errors we see
	from the Rotor testsuite.

	(CreateInstance): Throw ArgumentNullException when the input are
	null. Throw ArgumentOutOfRangeException when bounds + length is
	greater than Int32.MaxValue.
	(LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
	the valid range of indices of array.
	(Sort): Throw InvalidOperationException when comparer is null and
	none of the elements in keys implements IComparable.

svn path=/trunk/mcs/; revision=15209
2003-06-09 01:13:29 +00:00
Ben Maurer d53b17791a Oops, wrong format.
svn path=/trunk/mcs/; revision=15208
2003-06-09 00:43:28 +00:00
Ben Maurer 9102ceb52e 2003-06-08 Ben Maurer <[email protected]>
* StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
	a few Rotor bugs.
	* ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
	checking
We are now passing 37% of the System.Collections.* tests that were failing!

svn path=/trunk/mcs/; revision=15207
2003-06-09 00:41:39 +00:00
Jackson Harper dde324a12b * TypeDef.cs: Fix silly null reference bug.
svn path=/trunk/mcs/; revision=15206
2003-06-08 23:32:35 +00:00
Jackson Harper bf98018d1b More tests
svn path=/trunk/mcs/; revision=15205
2003-06-08 23:25:34 +00:00
Jackson Harper 646c03ac77 * ILParser.jay: Add generic type parameters to types. Implement events.
svn path=/trunk/mcs/; revision=15204
2003-06-08 23:23:57 +00:00
Jackson Harper baba1e8abc Add eventdefs and feature attrs to build
svn path=/trunk/mcs/; revision=15203
2003-06-08 23:23:13 +00:00
Jackson Harper 4006fc1cf9 * EventDef.cs: New file - An event definition.
* FeatureAttr.cs: New file - Attributes for features (events and
	properties)
	* MethodRef.cs: Only resolve methods once.
	* TypeDef.cs: Allow Events to be added to types. Also add
	functionality to add generic type parameters to types. The
	actually emission of these type parameters is commented out untill
	I commit my patches to PEAPI and work out the syntax of constraints.

svn path=/trunk/mcs/; revision=15202
2003-06-08 23:22:26 +00:00
Martin Baulig 4295c22ac5 Ooops, this was wrong since we already include libgc.la in libmonoutils.la.
svn path=/trunk/mono/; revision=15190
2003-06-08 20:26:50 +00:00
Martin Baulig 90000ff951 2003-06-08 Martin Baulig <[email protected]>
* configure.in: Tell libgc's configure about our threads library.

svn path=/trunk/mono/; revision=15186
2003-06-08 20:10:01 +00:00
Martin Baulig 5e2afe9a5f 2003-06-08 Martin Baulig <[email protected]>
* libgc/: Integrate the libgc module here.

	[Note: A simple `cvs update' won't work this time; you either need
	to re-checkout the `mono' module or manually move the `libgc'
	module here.]

	* configure.in (--with-gc): Added `included' option to use the
	included libgc.  This is now also the default.
	(LIBGC_CFLAGS, LIBGC_LIBS): Put the libgc stuff here and AC_SUBST it.
	(INCLUDED_LIBGC): New automake conditional.
	(USE_INCLUDED_LIBGC): #define this if appropriate.

	* autogen.sh: Run libgc/autogen.sh.

	* Makefile.am (SUBDIRS): Added libgc.

svn path=/trunk/mono/; revision=15185
2003-06-08 19:54:30 +00:00
Duncan Mak 6f98282e4c (CreateInstance): Throw a TypeLoadException if the
Length of the input array 'lengths' is greater than 255 so that we
won't see the g_assert that is in mono_array_class_get in class.c.

svn path=/trunk/mcs/; revision=15183
2003-06-08 19:25:55 +00:00
Ville Palo 8782c126a7 2003-06-08 Ville Palo <[email protected]>
* BinaryWriterTest.cs:
	* BinaryReaderTest.cs:
	* DirectoryTest.cs:
	* FileTest.cs: now works with ms.net, clean ups, nunit2, ...

svn path=/trunk/mcs/; revision=15182
2003-06-08 15:59:52 +00:00
Gonzalo Paniagua Javier f8dbb61730 This compiled ok with mcs. Preparing bugreport.
svn path=/trunk/mcs/; revision=15181
2003-06-08 13:53:02 +00:00
Gonzalo Paniagua Javier ddf5ef623a 2003-06-08 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
	is known not to respond to that.

	* ServicePoint.cs: added SendContinue property.

	* WebConnection.cs: only wait 2 seconds for a continue reply. If it
	timeouts, set SendContinue to false and proceeed sending data.

	* WebConnectionStream.cs: if 100-continue is not received and instead we
	get a 417 or anything else, don't send the data.

	* WebClient.cs: implemented all missing properties and methods except
	UploadFile.

svn path=/trunk/mcs/; revision=15180
2003-06-08 13:47:28 +00:00
Ben Maurer 3710444b29 2003-06-07 Ben Maurer <[email protected]>
* Stack.cs: Contains (null) works correctly. We never have the
	array sized less than 16, so that the doubling logic works no
	matter what. The enumerator is IClonable, like in ms. The
	Enumerator correctly throws an exception if Current is called
	before the enumerator is started. We now pass all the Rotor tests
	for this file!

svn path=/trunk/mcs/; revision=15179
2003-06-07 18:55:38 +00:00
Ben Maurer 54c4ccfe2c 2003-06-07 Ben Maurer <[email protected]>
* Stack.cs: Contains (null) works correctly.
	* StackTest.cs: Added test for Contains (null)

svn path=/trunk/mcs/; revision=15177
2003-06-07 17:07:25 +00:00
Marco Ridoni 4de5b76427 - ReDim() was added
- Throw was added
- Multi-line statements partly implemented (still choking on some constructs)
- Fixed line continuation character ('_')
- Fixed Mod operator
- New runtime conversion (String -> CharArray) supported
- Array declaration code was completely rewritten to allow for expressions
  to be used in a declaration
- Many sparse grammar fixes
- Started work to make the resolver case-insensitive (partially working)

svn path=/trunk/mcs/; revision=15176
2003-06-07 13:31:19 +00:00
Gonzalo Paniagua Javier 56e8733931 2003-06-07 Gonzalo Paniagua Javier <[email protected]>
* Stack.cs: fixed Clone ().

svn path=/trunk/mcs/; revision=15175
2003-06-07 12:25:45 +00:00
Alexandre Pigolkine bfc2dcfe7e DockStyle.None & AnchorStyles
svn path=/trunk/mcs/; revision=15174
2003-06-07 07:44:39 +00:00
Alexandre Pigolkine d520d70774 sample added
svn path=/trunk/mcs/; revision=15171
2003-06-06 22:02:48 +00:00
Alexandre Pigolkine 42e50e9a98 stubs for Save functions
svn path=/trunk/mcs/; revision=15170
2003-06-06 21:59:11 +00:00
Alexandre Pigolkine 02d890a4ee declare Save functions
svn path=/trunk/mcs/; revision=15169
2003-06-06 21:58:22 +00:00
Alexandre Pigolkine 5d870cfcdd call implementation
svn path=/trunk/mcs/; revision=15168
2003-06-06 21:57:12 +00:00
Alexandre Pigolkine 6b39f27b81 files added
svn path=/trunk/mcs/; revision=15167
2003-06-06 21:54:52 +00:00
Alexandre Pigolkine 83f385bf61 first version
svn path=/trunk/mcs/; revision=15166
2003-06-06 21:49:59 +00:00
Paolo Molaro b798d40ba0 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <[email protected]>
* mono-logger.h, mono-logger.c, Makefile.am: added
	selective logging code by Jerome Laban <[email protected]>.

svn path=/trunk/mono/; revision=15162
2003-06-06 17:22:19 +00:00
Aleksey Ryabchuk 33bdbad4cb started implementation of scrollbar classes
svn path=/trunk/mcs/; revision=15161
2003-06-06 16:18:01 +00:00
Gonzalo Paniagua Javier ca0ecfd1a2 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added files.

	* System.Net/FileWebRequestCreator.cs: splitted from WebRequest.
	* System.Net/HttpRequestCreator.cs: splitted fromWebRequest.
	* System.Net/WebRequest.cs: added methods that are used by the new
	configuration handler to set prefix/type name requests creators.

	* System.Net.Configuration/WebRequestModuleHandler.cs: handles
	system.net/webRequestModules configuration section.

svn path=/trunk/mcs/; revision=15160
2003-06-06 16:15:21 +00:00
Dietmar Maurer e5492b0828 2003-05-28 Dietmar Maurer <[email protected]>
* mini.c (mini_select_instructions): add explicit branch if the
	following block is not the false target of a conditional branch -
	we need this with any optimization that reorder or remove bblocks

	* mini.c (optimize_branches): bug fixes

svn path=/trunk/mono/; revision=15159
2003-06-06 15:20:31 +00:00
Aleksey Ryabchuk eb48d7bb85 * Form.cs : MaximumSize, MinimumSize, TopMost were implemented, small fixes and improvements
* win32Structs.cs: WINDOWPOS structure

svn path=/trunk/mcs/; revision=15158
2003-06-06 15:09:27 +00:00
Dietmar Maurer b277d2897d 2003-06-06 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): inline static readonly fields

	* ssa.c (fold_tree): start cfold support for long (very simple
	cases only)

	* cfold.c (mono_constant_fold_inst): opt. CEE_CONV_I8 (OP_ICONST)

svn path=/trunk/mono/; revision=15157
2003-06-06 13:05:31 +00:00
Gonzalo Paniagua Javier c285b7f200 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
* WaitHandle.cs: checks and exceptions.

svn path=/trunk/mcs/; revision=15155
2003-06-06 10:13:32 +00:00
Paolo Molaro c3f20d0650 Fri Jun 6 11:41:18 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg: fixed memcpy (bug #44219).

svn path=/trunk/mono/; revision=15153
2003-06-06 09:49:59 +00:00
Gonzalo Paniagua Javier 73699ceef6 csc complained about this
svn path=/trunk/mcs/; revision=15152
2003-06-06 08:22:31 +00:00
Gonzalo Paniagua Javier 7b3d025036 added authentionModules and defaultProxy sections
svn path=/trunk/mono/; revision=15151
2003-06-06 07:00:57 +00:00
Gonzalo Paniagua Javier 217d1621f7 Crap. Forgot to restore the original timeout value. I knew it was gonna happen.
svn path=/trunk/mcs/; revision=15150
2003-06-06 06:58:56 +00:00
Gonzalo Paniagua Javier cc8432099d Reworked HttpWebRequest and related classes.
svn path=/trunk/mcs/; revision=15149
2003-06-06 06:57:36 +00:00
Duncan Mak 63e8dbfc22 (Requires): Add libxml2 and libxslt dependency on
the package.

svn path=/trunk/mono/; revision=15143
2003-06-06 03:16:13 +00:00
Dick Porter eae652e79a 2003-06-05 Dick Porter <[email protected]>
* driver.c: Set the glib log levels to not abort if g_message
	recurses.

	g_set_prgname() has to happen before mini_init() so that the
	process handle gets the info.

svn path=/trunk/mono/; revision=15139
2003-06-05 21:03:19 +00:00
Dick Porter 8794a5fe0b 2003-06-05 Dick Porter <[email protected]>
* hps.c:
	* shmdel.c:
	* scratch.c: Update to new api

svn path=/trunk/mono/; revision=15138
2003-06-05 21:02:47 +00:00
Dick Porter a577324eef 2003-06-05 Dick Porter <[email protected]>
* processes.c (process_set_current): Don't do an expensive handle
	search at application startup, check the environment to see if the
	process handle has already been created.

	* io.c: Don't do an expensive handle search when creating stdin,
	stdout and stderr handles, just create them all the first time one
	is requested.

	* wapi-private.h:
	* shared.c:
	* shared.h:
	* handles.c:
	* handles-private.h:
	* daemon-messages.h:
	* daemon-private.h:
	* daemon.c: Support for "unlimited" number of handles and scratch
	data.

	Speed up application startup by passing process handle in the
	environment, rather than let the app scan all handles (which gets
	really slow when there are more than a few thousand to check.)

	Initialise some structs passed to syscalls, noticed by valgrind.

svn path=/trunk/mono/; revision=15137
2003-06-05 21:02:19 +00:00
Paolo Molaro e26abc51cf duh.
svn path=/trunk/mono/; revision=15136
2003-06-05 19:49:16 +00:00
Paolo Molaro a6698ddec4 Thu Jun 5 20:18:55 CEST 2003 Paolo Molaro <[email protected]>
* AssemblyBuilder.cs: implemented DefineResource ().

svn path=/trunk/mcs/; revision=15135
2003-06-05 18:26:59 +00:00
Paolo Molaro 01f9704eac Thu Jun 5 20:11:29 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: add intrins to the default optimizations to get wider
	exposure.

svn path=/trunk/mono/; revision=15134
2003-06-05 18:19:45 +00:00
Lluis Sanchez 72630f1d6f * added System.Xml.Serialization/ReflectionHelper.cs to list.unix
svn path=/trunk/mcs/; revision=15133
2003-06-05 18:19:18 +00:00
Lluis Sanchez 634e8a23dd * Methods.cs: added support for encoded format
svn path=/trunk/mcs/; revision=15132
2003-06-05 18:18:50 +00:00
Lluis Sanchez 117b91daf9 * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
a call to LookupPrefix ("pref") when still writting attributes should
	  return "ns", and it didn't.

svn path=/trunk/mcs/; revision=15131
2003-06-05 18:18:05 +00:00
Lluis Sanchez 8e18d03529 * SoapReflectionImporter.cs: implemented.
* TypeTranslator.cs: added IsPrimitive() method
	* TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
	  used by that one. Also added Format property, that can be literal or encoded.
	* XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
	* XmlReflectionMember.cs: added constructor that accepts SoapAttributes
	* XmlSerializationReader.cs: implemented many methods needed to support encoded format.
	* XmlSerializationReaderInterpreter.cs: added support for encoded format.
	* XmlSerializationWriter.cs: added support for encoded format.
	* XmlSerializationWriterInterpreter.cs: added support for encoded format.
	* XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
	* XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
	  and a map is needed for them).
	* XmlTypeMapMemberElement.cs: small fixes.
	* XmlTypeMapping.cs: added some properties and methods needed to support encoded format
	* ReflectionHelper.cs: added. Has some methods shared by the reflection importers.

svn path=/trunk/mcs/; revision=15130
2003-06-05 18:17:28 +00:00
Paolo Molaro c19e0bae31 Bare-bones sample loadable profiler.
svn path=/trunk/mono/; revision=15129
2003-06-05 18:08:01 +00:00
Paolo Molaro 20693e93ea Thu Jun 5 19:51:49 CEST 2003 Paolo Molaro <[email protected]>
* profiler.h, profiler.c: made the simple profiler thread-safe,
	get more accurate timing info. Allow the loading of an
	externally-developed profiler module.

svn path=/trunk/mono/; revision=15128
2003-06-05 18:05:21 +00:00
Aleksey Ryabchuk e9550df38d * Form.cs : ControlBox, HelpButton, MaximizeBox, MinimizeBox, maximumSize
* win32Structs.cs: MINMAXINFO structure

svn path=/trunk/mcs/; revision=15127
2003-06-05 16:44:50 +00:00
Nick Drochak fc97537458 2003-06-05 Nick Drochak <[email protected]>
* UTF8Encoding.cs: Cleanups according to class status page

svn path=/trunk/mcs/; revision=15126
2003-06-05 14:41:13 +00:00
Nick Drochak b5cbfa23ff 2003-06-05 Nick Drochak <[email protected]>
* UnitySerializataionHolder.cs: Cleanups according to class status page

svn path=/trunk/mcs/; revision=15125
2003-06-05 14:36:29 +00:00
Dietmar Maurer c87f4891e1 (mono_marshal_get_native_wrapper): better string marshaling support.
svn path=/trunk/mono/; revision=15124
2003-06-05 14:29:30 +00:00
Dietmar Maurer a04209646d add pinvoke14.cs
svn path=/trunk/mono/; revision=15123
2003-06-05 13:34:28 +00:00
Dietmar Maurer 4928bfbf65 2003-06-05 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): improved
	class/byref arguments.

svn path=/trunk/mono/; revision=15122
2003-06-05 13:24:27 +00:00
Paolo Molaro 1873ba3824 Thu Jun 5 12:36:34 CEST 2003 Paolo Molaro <[email protected]>
* OpCode.cs: implemented Equals/GetHashCode.

svn path=/trunk/mcs/; revision=15119
2003-06-05 10:45:01 +00:00
Dietmar Maurer b62f3cf956 more tests
svn path=/trunk/mono/; revision=15118
2003-06-05 10:19:08 +00:00
Jackson Harper 71680c9655 * ILParser.jay: Assembly and module names may have dashes in them
(like gtk-sharp.dll).

svn path=/trunk/mcs/; revision=15116
2003-06-05 03:32:27 +00:00
Ben Maurer 74c9dc4554 2003-06-04 Ben Maurer <[email protected]>
* DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
	failures

svn path=/trunk/mcs/; revision=15112
2003-06-04 22:29:05 +00:00
Philip Van Hoof b0619189f3 StatusBar control
svn path=/trunk/mcs/; revision=15111
2003-06-04 18:56:22 +00:00
Philip Van Hoof 9eb37f9a80 Added a comment
svn path=/trunk/mcs/; revision=15110
2003-06-04 18:42:46 +00:00
Philip Van Hoof 85b0d30464 Prepared everything to start working on the StatusBar-control in SWF/Gtk/
svn path=/trunk/mcs/; revision=15109
2003-06-04 18:37:12 +00:00
Dietmar Maurer 19a56434b9 (mono_arch_output_basic_block): fix bug 43499
svn path=/trunk/mono/; revision=15108
2003-06-04 17:58:49 +00:00
Paolo Molaro 6108278ba1 Wed Jun 4 19:47:57 CEST 2003 Paolo Molaro <[email protected]>
* mini.h: some large basic blocks will overflow a 16-bit
	integers for symbolic registers.

svn path=/trunk/mono/; revision=15107
2003-06-04 17:56:52 +00:00
Aleksey Ryabchuk 74c9c777f9 KeyPreview, ShowInTaskBar implemented
svn path=/trunk/mcs/; revision=15106
2003-06-04 16:46:37 +00:00
Paolo Molaro ea2cf5a3d0 Wed Jun 4 18:01:22 CEST 2003 Paolo Molaro <[email protected]>
* class.c: ensure .pack and .size are handled correctly and
	simplified layout of static fields.

svn path=/trunk/mono/; revision=15105
2003-06-04 16:10:59 +00:00
Dietmar Maurer 86b380613d 2003-06-04 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): revert previous fprem changes.

svn path=/trunk/mono/; revision=15104
2003-06-04 15:22:31 +00:00
Paolo Molaro 57259eb6e3 Wed Jun 4 16:59:39 CEST 2003 Paolo Molaro <[email protected]>
* ArgIterator.cs, TypedReference.cs, RuntimeArgumentHandle.cs,
	RuntimeTypeHandle.cs: implemented the needed stuff to handle
	vararg calls.

svn path=/trunk/mcs/; revision=15103
2003-06-04 15:11:22 +00:00
Paolo Molaro e22ec8f4bb Yet another exclude.
svn path=/trunk/mcs/; revision=15102
2003-06-04 15:10:39 +00:00
Dietmar Maurer 0d4b3b6f53 2003-06-04 Dietmar Maurer <[email protected]>
* appdomain.c
	(ves_icall_System_AppDomainSetup_InitAppDomainSetup): fix for bug 42934

svn path=/trunk/mono/; revision=15101
2003-06-04 13:10:54 +00:00
Paolo Molaro 57a542d037 Wed Jun 4 13:19:04 CEST 2003 Paolo Molaro <[email protected]>
* delegate.cs: transfer custom attributes for paramenters from
	the delegate declaration to Invoke and BeginInvoke.

svn path=/trunk/mcs/; revision=15099
2003-06-04 11:28:42 +00:00
Paolo Molaro 8981edd419 Wed Jun 4 13:13:52 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: kill duplicated definition of mono_debug_format.

svn path=/trunk/mono/; revision=15098
2003-06-04 11:22:46 +00:00
Paolo Molaro 0195c8d1e0 Wed Jun 4 13:09:51 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c, arrays.cs: fixed register allocation bug.

svn path=/trunk/mono/; revision=15097
2003-06-04 11:18:33 +00:00
Dietmar Maurer 5a55bb5e3b 2003-06-04 Dietmar Maurer <[email protected]>
* loader.c (mono_lookup_pinvoke_call): look for modules in the
	current directory (fix bug 44008)

svn path=/trunk/mono/; revision=15096
2003-06-04 10:38:21 +00:00
Dietmar Maurer d8932f802f 2003-06-04 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): use IEEE compatible fprem1

	* mini.c (mini_get_opcode_for_method): inline IEEERemainder

svn path=/trunk/mono/; revision=15095
2003-06-04 09:57:47 +00:00
Gonzalo Paniagua Javier 96b1d5d21c 2003-06-04 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: nullify the array in Clear ().
	* Queue.cs: nullify the array in Dequeue ().
	* Stack.cs: nullify the array in Pop ().

svn path=/trunk/mcs/; revision=15094
2003-06-04 09:01:10 +00:00
Gonzalo Paniagua Javier 1a453b2403 Fixed compilation of sample
svn path=/trunk/mono/; revision=15093
2003-06-04 04:14:52 +00:00
Gonzalo Paniagua Javier 9249edf9bb 2003-06-04 Gonzalo Paniagua Javier <[email protected]>
* mini.c:
	(print_method_from_ip): also print source location information if
	available.

svn path=/trunk/mono/; revision=15091
2003-06-04 01:44:51 +00:00
Ville Palo 940ba904d5 2003-06-03 Ville Palo <[email protected]>
* SqlBinary.cs: Changed one SqlTypeException --> IndexOutOfRange
	* SqlMoney.cs: checkings

svn path=/trunk/mcs/; revision=15090
2003-06-03 18:42:43 +00:00
Atsushi Eno 72d640f0cb 2003-06-04 Atsushi Enomoto <[email protected]>
* (temporarily) added XSD2Class.cs.

svn path=/trunk/mcs/; revision=15089
2003-06-03 18:33:03 +00:00
Dietmar Maurer 98bbb89ac6 new test
svn path=/trunk/mono/; revision=15088
2003-06-03 17:06:49 +00:00
Dietmar Maurer 416964aeb4 (mono_delegate_to_ftnptr): consider marshalling specifications
svn path=/trunk/mono/; revision=15087
2003-06-03 14:25:13 +00:00
Dietmar Maurer 6ea4de67e6 2003-06-03 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): started support for
	custom marshalers.

svn path=/trunk/mono/; revision=15086
2003-06-03 11:31:00 +00:00
Paolo Molaro 0e2fac458f Fixlet.
svn path=/trunk/mono/; revision=15085
2003-06-03 09:32:26 +00:00
Paolo Molaro 33ff71f264 Tue Jun 3 11:17:02 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: emit custom marshal info.

svn path=/trunk/mono/; revision=15084
2003-06-03 09:27:33 +00:00
Paolo Molaro f57a1d467a Tue Jun 3 11:14:51 CEST 2003 Paolo Molaro <[email protected]>
* ILGenerator.cs, OpCode.cs: optimize opcode space usage.

svn path=/trunk/mcs/; revision=15083
2003-06-03 09:23:48 +00:00
Paolo Molaro 845568cc86 Tue Jun 3 11:13:22 CEST 2003 Paolo Molaro <[email protected]>
* UnmanagedMarshal.cs: add ability to define custom attributes (the MS
	runtime doesn't support this).

svn path=/trunk/mcs/; revision=15082
2003-06-03 09:22:39 +00:00
Paolo Molaro 28a4f2fe00 Tue Jun 3 11:11:08 CEST 2003 Paolo Molaro <[email protected]>
* attribute.cs: handle custom marshalers and emit marshal info
	for fields, too.

svn path=/trunk/mcs/; revision=15081
2003-06-03 09:20:19 +00:00
Dennis Hayes fd4eb782a0 see last msg
svn path=/trunk/mcs/; revision=15080
2003-06-03 03:20:31 +00:00
Dennis Hayes 07b6e08058 Cosmetic issues with member signitures
commented out things that should be inhereted
	un-commented things that now have their dependaces at least stubbed.

	* AccessibleObject.cs
	* AccessibleStates.cs
	* Application.cs
	* AxHost.cs
	* BindingContext.cs
	* BindingMemberInfo.cs
	* BindingsCollection.cs
	* Button.cs
	* ButtonBase.cs
	* ComboBox.cs
	* ContainerControl.cs
	* cvs.txt
	* DataGrid.cs
	* FormBorderStyle.cs
	* GridItem.cs
	* GridItemCollection.cs
	* Help.cs
	* HelpEventHandler.cs
	* HelpProvider.cs
	* ImageList.cs
	* InputLanguageChangingEventArgs.cs
	* InputLanguageCollection.cs
	* LinkArea.cs
	* ListBindingConverter.cs
	* ListBox.cs
	* ListControl.cs
	* ListView.cs
	* ListViewItem.cs
	* ListViewItemConverter.cs
	* MenuItem.cs
	* Message.cs
	* MessageBox.cs
	* MonthCalendar.cs
	* ScrollableControl.cs

svn path=/trunk/mcs/; revision=15079
2003-06-03 03:19:41 +00:00
Sebastien Pouliot 5f2325ca06 2003-06-02 Sebastien Pouliot <[email protected]>
* RandomTest.cs: Added a test to compare Mono's random streams with
	MS implementation (framework and Rotor). Converted to NUnit2 format.

svn path=/trunk/mcs/; revision=15078
2003-06-03 01:41:11 +00:00
Sebastien Pouliot e56091f5ad 2003-06-02 Sebastien Pouliot <[email protected]>
* Random.cs: New implementation based on Knuth ran3 to fix #43597.
	See http://www.library.cornell.edu/nr/bookcpdf/c7-1.pdf. Commited
	for Ben Maurer after review and testing.

svn path=/trunk/mcs/; revision=15077
2003-06-03 01:40:35 +00:00
Sebastien Pouliot 25624320ca 2003-06-02 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Implements X509Certificate(IntPtr)
	constructor for compatibility with CryptoAPI.

svn path=/trunk/mcs/; revision=15076
2003-06-03 00:48:22 +00:00
Sebastien Pouliot 72aa4bf29f 2003-06-02 Sebastien Pouliot <[email protected]>
* KeyInfoRetrievalMethodTest.cs: Changed RetrievalElement to
	RetrievalMethod to match W3C specification and framework 1.1.

svn path=/trunk/mcs/; revision=15075
2003-06-03 00:36:47 +00:00
Ben Maurer d143b05664 2003-06-02 Ben Maurer <[email protected]>
* Queue.cs: Added argument checking in constructors according to
	specs. Also changed default size to 32 as required by the specs.

svn path=/trunk/mcs/; revision=15074
2003-06-02 23:42:37 +00:00
Alexandre Pigolkine 54d1de0fa0 change to ContainsFocus/Focused properties
svn path=/trunk/mcs/; revision=15073
2003-06-02 19:50:53 +00:00
Gonzalo Paniagua Javier 0d4db04781 2003-06-02 Gonzalo Paniagua Javier <[email protected]>
* NativeEventCalls.cs: added CloseEvent_intenal.
	* WaitHandle.cs: call CloseEvent_internal when disposing.

svn path=/trunk/mcs/; revision=15072
2003-06-02 19:07:52 +00:00
Gonzalo Paniagua Javier 426d7ca171 2003-06-02 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added CloseEvent_internal.
	* object.c: free the GError.
	* threads.[ch]:
	(ves_icall_System_Threading_Events_CloseEvent_internal): new internal
	call.

svn path=/trunk/mono/; revision=15071
2003-06-02 19:07:09 +00:00
Nick Drochak 0d13cab5ce 2003-06-02 Nick Drochak <[email protected]>
* FileInfo.cs (MoveTo): Throw exceptions when dest exists, and check
	for null too.

svn path=/trunk/mcs/; revision=15070
2003-06-02 14:18:03 +00:00
Ville Palo d6ca05d52a 2003-06-02 Ville Palo <[email protected]>
* All files except SqlGuidTest.cs: Now works fine on ms.net 1.1

svn path=/trunk/mcs/; revision=15069
2003-06-02 10:53:01 +00:00
Dietmar Maurer c62b3dc646 2003-06-02 Dietmar Maurer <[email protected]>
* mini.c (mono_find_block_region): bug fix in region code
	(mini_method_compile): enable removing unreachable code again, but
	only in methods without exception clauses.

svn path=/trunk/mono/; revision=15068
2003-06-02 09:49:09 +00:00
Ville Palo fa887396f8 2003-06-02 Ville Palo <[email protected]>
* SqlStringTest.cs: exception tests to nunit2

svn path=/trunk/mcs/; revision=15067
2003-06-02 09:02:17 +00:00
Ville Palo 8405692d8b 2003-06-02 Ville Palo <[email protected]>
* SqlString.cs: implementes less than and greater than operators.
	Added some checks to ctor.

svn path=/trunk/mcs/; revision=15066
2003-06-02 07:26:48 +00:00
Ville Palo ed57a89be1 2003-06-02 Ville Palo <[email protected]>
* SqlStringTest.cs: added one exception test. And some exception tests
	to nunit2

svn path=/trunk/mcs/; revision=15065
2003-06-02 07:22:20 +00:00
Atsushi Eno f8f3f154d2 2003-06-02 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
	* XmlConvert.cs : fixed VerifyNCName() to check correctly.

svn path=/trunk/mcs/; revision=15064
2003-06-02 03:02:55 +00:00
Pedro Martínez Juliá 4cad5a4c71 2003-06-01 Pedro Mart�nez Juli� <[email protected]>
* DoubleFormatterTest.cs: added the last changes from the author of
    this test (Patrick Kalkman <[email protected]>).

    * SingleFormatterTest.cs: added the first release of this test from
    the same author: Patrick Kalkman <[email protected]>.

svn path=/trunk/mcs/; revision=15063
2003-06-01 18:45:38 +00:00
Miguel de Icaza 7f9dc7bfb9 Ref system.xml
svn path=/trunk/mcs/; revision=15060
2003-06-01 18:00:58 +00:00
Francisco Figueiredo Jr. 8ac35044a9 2003-06-01 Francisco Figueiredo Jr. <[email protected]>
* Added new tests for time, date datatypes and Listen/Notify support.

svn path=/trunk/mcs/; revision=15059
2003-06-01 16:23:59 +00:00
Francisco Figueiredo Jr. 8a9afd8df9 2003-06-01 Francisco Figueiredo Jr. <[email protected]>
* Added NpgsqlNotificationEventArgs file to build list.

svn path=/trunk/mcs/; revision=15058
2003-06-01 16:20:56 +00:00
Francisco Figueiredo Jr. 391f3eba94 2003-06-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlNotificationEventArgs.cs: Initial import

svn path=/trunk/mcs/; revision=15057
2003-06-01 16:17:28 +00:00
Francisco Figueiredo Jr. eba23112b5 2003-06-01 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for date and time datatypes. Changed timestamp parsing code.

svn path=/trunk/mcs/; revision=15055
2003-06-01 16:14:26 +00:00
Joel Basson dd197b432d small cleanup of MenuItem.cs
svn path=/trunk/mcs/; revision=15054
2003-06-01 16:12:24 +00:00
Francisco Figueiredo Jr. 4707a3eadb 2003-06-01 Francisco Figueiredo Jr <[email protected]>
* NpgsqlCommand.cs NpgsqlConnection.cs NpgsqlMediator.cs NpgsqlState.cs: Added Listen/Notify support. Thanks Wojtek Wierzbicki.

svn path=/trunk/mcs/; revision=15053
2003-06-01 16:10:06 +00:00
Joshua Tauberer 6710d25d5c 2003-06-01 Joshua Tauberer <[email protected]>
* XslTransform.cs: Cache extension object delegates
        between calls to Transform.

svn path=/trunk/mcs/; revision=15051
2003-06-01 15:39:08 +00:00
Ville Palo 3d754c63ca 2003-06-01 Ville Palo <[email protected]>
* SqlStringTest.cs: one exception test to nunit2

svn path=/trunk/mcs/; revision=15048
2003-06-01 13:17:02 +00:00
Ville Palo f2501ffb9b 2003-06-01 Ville Palo <[email protected]>
* SqlString.cs: added null checking

svn path=/trunk/mcs/; revision=15047
2003-06-01 13:06:26 +00:00
Zoltan Varga e9caa789c2 2003-06-01 Zoltan Varga <[email protected]>
* loader.c (mono_method_get_signature): Add support for dynamic
	assemblies.

svn path=/trunk/mono/; revision=15046
2003-06-01 11:17:20 +00:00
Jackson Harper 180731f2f2 * ILParser.jay: Set assembly names. When looking up types in the
form [assembly]name first check if the assembly is this
	assembly. Implement scope_blocks, and implement scope block form
	exception handling.

svn path=/trunk/mcs/; revision=15045
2003-06-01 07:02:34 +00:00
Jackson Harper 009f9f7544 * CodeGen.cs: Allow this assembly name to be set.
* HandlerBlock.cs: Make label fields public so they can be
	accessed in a TryBlocks constructor.
	* MethodDef.cs: Allow random labels to be inserted at the current
	position. These are use for scope blocks.
	* TryBlock.cs: New constructor takes from and to labels as a HandlerBlock

svn path=/trunk/mcs/; revision=15044
2003-06-01 06:53:24 +00:00
Miguel de Icaza ad4eb580a7 We now do the call correctly (thanks to Lluis input on the namespace issue) to Google,
but my response serializer still can not cope with the <return> feature of the RPC
model.

2003-06-01  Miguel de Icaza  <[email protected]>

	* Methods.cs (MethodStubInfo): If creating an RPC call, pass an
	optional XmlElementAttribute with the namespace set to null;  Use
	this on each element of the request and response serializers.

	(MakeRequestSerializer, MakeResponseSerializer): Use the empty
	element for the return values.

	* SoapRpcMethodAttribute.cs: Drop the default name on the
	SoapRpcMethodAttribute, it was incorrectly given a default name.

svn path=/trunk/mcs/; revision=15043
2003-06-01 06:36:12 +00:00
Miguel de Icaza f709954efc 2003-06-01 Miguel de Icaza <[email protected]>
* XmlSerializationReader.cs (UnknownAttribute, UnknownNode,
	UnknownElement): Add line number information.

svn path=/trunk/mcs/; revision=15042
2003-06-01 06:09:28 +00:00
Atsushi Eno 2b885bd987 2003-06-01 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added DocumentWithProcessingInstruction().

svn path=/trunk/mcs/; revision=15041
2003-06-01 05:58:05 +00:00
Atsushi Eno 5364030666 2003-06-01 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : added VerifyNCName().

svn path=/trunk/mcs/; revision=15040
2003-06-01 05:57:26 +00:00
Atsushi Eno 30cfd0b479 2003-06-01 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Compute document node one time.
	  MoveToFirstChild() should move to PIs and comments.

svn path=/trunk/mcs/; revision=15039
2003-06-01 05:56:49 +00:00
Joel Basson c15622c571 Added Click event to menus
svn path=/trunk/mcs/; revision=15038
2003-06-01 03:02:11 +00:00
Piers Haken c8d8830004 more error filters
svn path=/trunk/mcs/; revision=15037
2003-05-31 23:31:21 +00:00
Ben Maurer 2ff510738e 2003-05-31 Ben Maurer <[email protected]>
* BitArray.cs: Rewrote, as it was failing most of the Rotor
	tests. It now passes them 100%. Also fixes bug #43667.

svn path=/trunk/mcs/; revision=15036
2003-05-31 22:08:45 +00:00
Miguel de Icaza 14b9548f8a update
svn path=/trunk/mcs/; revision=15035
2003-05-31 19:13:17 +00:00
Miguel de Icaza 89902bf34a The gethostname fix
svn path=/trunk/mcs/; revision=15034
2003-05-31 19:13:00 +00:00
Jackson Harper 007fcee3b8 * ILParser.jay: Use type instead of params for calli signatures.
svn path=/trunk/mcs/; revision=15033
2003-05-31 19:03:00 +00:00
Gonzalo Paniagua Javier 69859026e2 small update
svn path=/trunk/mono/; revision=15032
2003-05-31 18:58:38 +00:00
Miguel de Icaza c8b1ca793c Add nice link
svn path=/trunk/mono/; revision=15031
2003-05-31 18:35:27 +00:00
Jackson Harper d3b1e7e2d3 more tests
svn path=/trunk/mcs/; revision=15030
2003-05-31 18:26:30 +00:00
Miguel de Icaza 73536f1916 Add nice link
svn path=/trunk/mono/; revision=15029
2003-05-31 18:16:20 +00:00
Jackson Harper 2d62b2137b misc diff tests, proper tests to come soon.
svn path=/trunk/mcs/; revision=15028
2003-05-31 17:57:39 +00:00
Jackson Harper 038700cf8c * ILParser.jay: When looking up types first check to see if this
is actually a primitive object type (System.String,
	System.Object). Add custom attributes to types. Handle the il
	keyword the exact same way as cil. Add ellipsises to param and sig
	lists. Add an optional name to typelists, this is just parsed it
	is not implemented properly. Add custom attributes to
	methods. Implement custom types (just methodrefs to ctors).

svn path=/trunk/mcs/; revision=15027
2003-05-31 17:54:53 +00:00
Jackson Harper f92497855a Add custom attributes to build.
svn path=/trunk/mcs/; revision=15026
2003-05-31 17:54:10 +00:00
Jackson Harper 5e099e6c27 * CustomAttr.cs: New file - Custom attributes
* InstrTable.cs: Add stelem.r4 and stelem.r8 instructions. Add
	. tail to unaligned modifier.
	* LdtokenInstr.cs: Add type tokens.
	* MethodDef.cs: Fix IsVararg, add method to add custom attributes,
	emitting custom attributes when writing code, allow for Ellipsises
	in param lists, add coma between args in signatures.
	* ParamDef.cs: Add the Ellipsis pseudo param
	* PrimitiveTypeRef.cs: System.String and System.Object can be
	referenced without an [mscorlib] assembly prefix.
	* TypeDef.cs: Add Custom attributes.

svn path=/trunk/mcs/; revision=15025
2003-05-31 17:53:45 +00:00
Jackson Harper 5fb2801ac1 * ILTables.cs: Add refany keyword which is just an alias for typedref.
svn path=/trunk/mcs/; revision=15024
2003-05-31 17:14:21 +00:00
Philip Van Hoof d18cab9739 Color fixes
svn path=/trunk/mcs/; revision=15023
2003-05-31 17:07:24 +00:00
Philip Van Hoof 59b57c8e2e Fore -BackColor fixes
svn path=/trunk/mcs/; revision=15022
2003-05-31 17:05:44 +00:00
Philip Van Hoof c6456499db Color demo
svn path=/trunk/mcs/; revision=15021
2003-05-31 17:04:10 +00:00
Jackson Harper 9b10796541 * PEAPI.cs: Initial work on implementing custom
attributes. Attributes can now be added to ClassDefs and
	MethodDefs. Still need to implement for other metadata elements.
	Added the stele.r4 and stelem.r8 instructions, this should also
	shift the stelem.ref instruction to the proper value (0xA2)

svn path=/trunk/mcs/; revision=15020
2003-05-31 16:49:50 +00:00
Paolo Molaro c9a1454cf8 Sat May 31 15:22:07 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: fixed bug #43905.

svn path=/trunk/mono/; revision=15018
2003-05-31 13:31:18 +00:00
Paolo Molaro befb14c947 Sat May 31 12:21:21 CEST 2003 Paolo Molaro <[email protected]>
* System.Resources/ResXResourceReader.cs: get simple reading and error
	checks working.

svn path=/trunk/mcs/; revision=15017
2003-05-31 10:30:52 +00:00
Gonzalo Paniagua Javier aae4dddbe3 2003-05-31 Gonzalo Paniagua Javier <[email protected]>
* RegisteredWaitHandle.cs: check that the callback is not null before
	invoking.

	* ThreadPool.cs: fixed timeout -> TimeSpan conversions (closes bug
	#43963). Queue the item before setting the handle. If there's a timeout,
	avoid trying to Dequeue, getting the exception et al, just continue the
	loop.

svn path=/trunk/mcs/; revision=15016
2003-05-31 02:34:28 +00:00
Miguel de Icaza d40e781521 First set of attempts to do RPC, but I need to prefix the method name only,
not the parameters.   So still confused.  Only needed for Google

2003-05-30  Miguel de Icaza  <[email protected]>

	* Methods.cs (MethodStubInfo): Start support for RPC style as well
	as Literal style.  Take an object instead of a
	SoapDocumentMethodAttribute, and allow the value to be also a
	SoapRpcMethodAttribute.  Pull data from both.

	Kill SoapBindingUse, we only use this during validation.

	Turn out Google uses RPC/Literal, and its a good demo.

svn path=/trunk/mcs/; revision=15014
2003-05-31 00:47:21 +00:00
Miguel de Icaza 98a9809816 2003-05-30 Miguel de Icaza <[email protected]>
* Methods.cs (MakeResponseSerializer): OneWay is not the only
	condition to catch;  Also void return types are not required to
	have a response.

	(MakeRequestSerializer): InParameters *might* be ref parameters,
	deal with that here too.

	Add some debugging code for tracking down missing implementation
	details in serialization creation.

svn path=/trunk/mcs/; revision=15013
2003-05-30 20:08:41 +00:00
Miguel de Icaza 5fdf41d47c 2003-05-30 Miguel de Icaza <[email protected]>
* HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
	InternalServerError (500)

svn path=/trunk/mcs/; revision=15012
2003-05-30 20:07:54 +00:00
Miguel de Icaza c668eb05ea 2003-05-30 Miguel de Icaza <[email protected]>
* Methods.cs (MakeResponseSerializer): DUH.  Use the
	ResponseName/ResponseNamespace for the member import, not the
	RequestName and RequestNamespace.  The bugs of cut-and-paste.

svn path=/trunk/mcs/; revision=15011
2003-05-30 19:03:12 +00:00
Miguel de Icaza 7c59f4adac maybe this is part of the problem
svn path=/trunk/mcs/; revision=15010
2003-05-30 18:20:31 +00:00
Paolo Molaro e2c4c2cc56 Fri May 30 18:40:24 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini-ops.h, cpu-pentium.md, inssel.brg, mini-x86.c, mini.h:
	Implemented arglist opcode and handling of TypedReference type.
	Fixed x86 call convention when a structure is returned.
	Minimal support for calling static vararg methods.

svn path=/trunk/mono/; revision=15009
2003-05-30 17:05:32 +00:00
Dietmar Maurer aa40d2dc7b disable the previous patch
svn path=/trunk/mono/; revision=15008
2003-05-30 16:25:38 +00:00
Aleksey Ryabchuk 9c067d4b35 * GroupBox.cs : take BackColor into account
svn path=/trunk/mcs/; revision=15007
2003-05-30 13:51:24 +00:00
Zoltan Varga 954d3c50b6 2003-05-30 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Implement DefineTypeInitializer.

svn path=/trunk/mcs/; revision=15006
2003-05-30 13:40:12 +00:00
Paolo Molaro 09e6cb1cff Fri May 30 12:56:29 CEST 2003 Paolo Molaro <[email protected]>
* class.c, domain.c, icall.c, metadata.h, object.h: support for
	handling TypedReference and ArgIterator.
	* loader.c, loader.h: added function to get signature at call site.

svn path=/trunk/mono/; revision=15005
2003-05-30 11:09:00 +00:00
Dietmar Maurer 297f8236e3 2003-05-30 Dietmar Maurer <[email protected]>
* mini.c (mini_method_compile):  always remove unreachable code,
	because the code in them may be inconsistent  (access to dead
	variables for example).

svn path=/trunk/mono/; revision=15004
2003-05-30 09:13:26 +00:00
Miguel de Icaza a3508aac7a Thanks to Lluis' work on the XmlSerializer it is now possible to perform
a Soap invocation.

The result is still not handled though.

2003-05-29  Miguel de Icaza  <[email protected]>

	* SoapHttpClientProtocol.cs (CreateMessage): Kill.  Move
	functionality to Invoke.

	(Invoke): Use new TypeStubInfo/MethodStubInfo instead.

	* SoapClientMessage.cs: Drop old mechanism, use MethodStubInfo instead.

	* Methods.cs: New file.  Contains the managed for TypeStubs and
	MethodInfoStubs.

	A MethodInfoStub contains the serializers we use for the SOAP
	request.

	* SoapClientMessage.cs: Drop parameters from the clientmessage, it
	does not belong here.  Drop oneway, we canextract that from the
	SoapDocumentMethodAttribute class that we pass.

svn path=/trunk/mcs/; revision=15003
2003-05-30 04:32:14 +00:00
Miguel de Icaza a7c9af9a14 2003-05-30 Miguel de Icaza <[email protected]>
* XmlReader.cs (ReadStartElement): Improve error message.

svn path=/trunk/mcs/; revision=15001
2003-05-30 04:16:52 +00:00
Miguel de Icaza bd2c60b6ed 2003-05-29 Miguel de Icaza <[email protected]>
* HttpWebRequest.cs (Close): Move the code that accumulates the
	output to Close from Flush.  Flush could have been called in the
	middle of the processing, and would have generated invalid results
	(which it did).

svn path=/trunk/mcs/; revision=15000
2003-05-30 02:45:46 +00:00
Sebastien Pouliot 9b1dc34f42 2003-05-29 Sebastien Pouliot <[email protected]>
* PKCS1MaskGenerationMethodTest.cs: Added [Ignore] to vector test
	(as it's result isn't valid on both framework 1.0 and 1.1).
	* RSAPKCS1SignatureDeformatter.cs: Splitting the test for NUnit2
	cloned the previous error into many more tests. Hopefully fixed.

svn path=/trunk/mcs/; revision=14999
2003-05-30 01:43:17 +00:00
Lluis Sanchez ac9dfbe8c5 * TypeData.cs, TypeTranslator.cs: Renamed some properties.
* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
	* XmlMapping.cs: Added internal property.
	* XmlMemberMapping.cs, XmlMembersMapping.cs: Implemented.
	* XmlReflectionImporter.cs: Implemented importing of XmlMembersMapping. Several fixes.
	* XmlReflectionMember.cs: XmlAttributes are now created by default
	* XmlSerializationReader.cs, XmlSerializationWriter.cs: Several fixes.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs, XmlSerializer.cs:
	  Implemented support for XmlMembersMapping.
	* XmlTypeMapping.cs: Property ObjectMap moved to XmlMapping.

svn path=/trunk/mcs/; revision=14997
2003-05-29 20:14:18 +00:00
Miguel de Icaza 839a0fe5ca Add licenses
svn path=/trunk/mcs/; revision=14995
2003-05-29 16:06:30 +00:00
Nick Drochak 85a7b2a87e 2003-05-29 Nick Drochak <[email protected]>
* BinaryReaderTest.cs: fix my oversight
	* BinaryWriterTest.cs: cleanups
	* BufferedStreamTest.cs: cleanups
	* DirectoryInfoTest.cs: cleanups
	* DirectoryTest.cs: cleanups
	* FileStreamTest.cs: cleanups

svn path=/trunk/mcs/; revision=14994
2003-05-29 15:09:51 +00:00
Nick Drochak f3c7e8d029 2003-05-29 Nick Drochak <[email protected]>
* ms_run_test.sh: added .NET verion of helper script

svn path=/trunk/mcs/; revision=14993
2003-05-29 15:05:36 +00:00
Nick Drochak 0bea9169f8 2003-05-29 Nick Drochak <[email protected]>
* makefile.gnu: turn on debug since it works again.

svn path=/trunk/mcs/; revision=14992
2003-05-29 13:29:10 +00:00
Dick Porter 3731e020b6 Updated URL
svn path=/trunk/mono/; revision=14991
2003-05-29 12:28:05 +00:00
Paolo Molaro 47e7b594aa Thu May 29 12:52:40 CEST 2003 Paolo Molaro <[email protected]>
* opcode.def, cil-opcodes.xml: fix opcode entries.

svn path=/trunk/mono/; revision=14990
2003-05-29 11:02:35 +00:00
Paolo Molaro 7393a68a27 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <[email protected]>
* dump.c, get.c: misc fixes.

svn path=/trunk/mono/; revision=14989
2003-05-29 10:30:30 +00:00
Paolo Molaro d672847f87 Thu May 29 11:44:49 CEST 2003 Paolo Molaro <[email protected]>
* driver.c, debug-mini.c: warning fixes.

svn path=/trunk/mono/; revision=14988
2003-05-29 09:53:39 +00:00
Paolo Molaro 6d1d55b332 Thu May 29 11:34:55 CEST 2003 Paolo Molaro <[email protected]>
* metadata.c, metadata.h, private.h, tokentype.h, loader.c: make more
	data readonly. Buglets and warning fixes. Some MethodSpec support.

svn path=/trunk/mono/; revision=14987
2003-05-29 09:46:04 +00:00
Miguel de Icaza 1d8eb38926 Add my scratch pad for web services notes
svn path=/trunk/mcs/; revision=14986
2003-05-29 05:39:03 +00:00
Miguel de Icaza cffe10d6e1 2003-05-28 Miguel de Icaza <[email protected]>
* LogicalMethodInfo.cs (Create): Implement begin/end method
	pairing.
	(Name): Implement.
	(EndMethodInfo): Always return end_method_info.

svn path=/trunk/mcs/; revision=14985
2003-05-29 03:24:48 +00:00
Gonzalo Paniagua Javier bb8ed7f2b7 2003-05-29 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed delegate type for SortCommand.

svn path=/trunk/mcs/; revision=14984
2003-05-29 03:00:05 +00:00
Ben Maurer 94dd863e28 2003-05-28 Ben Maurer <[email protected]>
* Array.cs: Added better argument checking to Array.Sort () (approved by Gonzalo)
	* DBNull.cs: Made the conversions throw like they do in MS.

svn path=/trunk/mcs/; revision=14983
2003-05-29 02:32:38 +00:00
Sebastien Pouliot 0ae922c7dd 2003-05-28 Sebastien Pouliot <[email protected]>
* RSAPKCS1SignatureDeformatter.cs: Fixed (well I hope so) a test
	which doesn't throw the same exception under 1.1. Also converted
	the tests to NUnit2 format.

svn path=/trunk/mcs/; revision=14982
2003-05-29 01:10:57 +00:00
Gonzalo Paniagua Javier 0435b11abc mmm, mcs does not compile this. csc does.
svn path=/trunk/mcs/; revision=14981
2003-05-29 00:56:08 +00:00
Gonzalo Paniagua Javier ac95d72a76 2003-05-29 Gonzalo Paniagua Javier <[email protected]>
* ArrayTest.cs: added more tests for bug 43783.

svn path=/trunk/mcs/; revision=14980
2003-05-29 00:53:45 +00:00
Philip Van Hoof 256a982d04 Added System.Data t AssemblyInfo.cs in the makefile
svn path=/trunk/mcs/; revision=14979
2003-05-29 00:37:23 +00:00
Lluis Sanchez 2ce77c20e0 * TypeData.cs, TypeTranslator.cs: Added support for enums. Added method for translating
from xml type to clr type.
	* XmlCustomFormatter.cs: Fixed bug in serialization of chars. Support for byte[].
	* XmlReflectionMember.cs: Added default constructor.
	* XmlSerializationReader.cs: Implemented ReadTypedPrimitive(), ToByteArrayBase64().
	* XmlSerializationWriter.cs: Several fixes.
	* XmlSerializationReaderInterpreter.cs, XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
	  XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs, XmlTypeMapping.cs:
	  Added support for enums. Added support for XmlElement and XmlNode.
	  Support for XmlAnyAttributeAttribute and XmlAnyElementAttribute. Many fixes.

svn path=/trunk/mcs/; revision=14977
2003-05-28 22:30:06 +00:00
Philip Van Hoof 6ef1e77c55 Added setters of ForeColor and BackColor
svn path=/trunk/mcs/; revision=14976
2003-05-28 22:21:48 +00:00
Lluis Sanchez 5584fe9d90 * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
position, since MoveToNextAttribute may be called after it.
	  SetProperties(): attributes do not "inherit" the namespace.
	* XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.

svn path=/trunk/mcs/; revision=14975
2003-05-28 22:13:28 +00:00
Aleksey Ryabchuk adc477939f * Control.cs : helper method getParentForm
* Form.cs : ActiveForm , FormBorderStyle implemented
	* GroupBox.cs : some chages in drawing code, don't register another window class
	* FormBorderStyle.cs : fixed typo
	* win32functions.cs : UpdateWindowExStyle added, new prototypes for GetActiveWindow, GetForegroundWindow

svn path=/trunk/mcs/; revision=14974
2003-05-28 16:13:10 +00:00
Jean-Marc Andre f20708b9cf 2003-05-28 Jean-Marc Andre <[email protected]>
ServeurFault.cs:  finishing implementation
	SoapFault.cs:  finishing implementation
	SoapMessage.cs:  finishing implementation

svn path=/trunk/mcs/; revision=14973
2003-05-28 15:45:18 +00:00
Nick Drochak dfada10b44 2003-05-29 Nick Drochak <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileStreamTest.cs:
	* FileSystemInfoTest.cs: Stop throwing exceptions on windows, and sub-
	class from Assertion for brevity.

svn path=/trunk/mcs/; revision=14972
2003-05-28 15:39:52 +00:00
Gonzalo Paniagua Javier 88d8e975a1 added entry for Joshua's changes
svn path=/trunk/mcs/; revision=14971
2003-05-28 14:59:09 +00:00
Gonzalo Paniagua Javier 2d4cd7c975 2003-05-28 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: fixed NullReferenceExceptions after the last
	change (which, btw, should have included a ChangeLog entry).

svn path=/trunk/mcs/; revision=14970
2003-05-28 14:55:46 +00:00
Ville Palo 1ea805478b 2003-05-28 Ville Palo <[email protected]>
* XmlDataDocumentTest.cs: fixed some tests. Now works better on ms.net

svn path=/trunk/mcs/; revision=14969
2003-05-28 12:47:12 +00:00
Dick Porter 76bbbeaf0d Build fix
svn path=/trunk/mcs/; revision=14968
2003-05-28 12:16:15 +00:00
Aleksey Ryabchuk d9db64bfda changed to use base implementation of CreateParams
svn path=/trunk/mcs/; revision=14967
2003-05-28 10:39:55 +00:00
Aleksey Ryabchuk ad116f2c28 include PictureBox.cs to the build
svn path=/trunk/mcs/; revision=14966
2003-05-28 09:59:10 +00:00
Ville Palo db1425a690 2003-05-28 Ville Palo <[email protected]>
* SqlMoney.cs: little fixes and clean ups

svn path=/trunk/mcs/; revision=14965
2003-05-28 09:55:35 +00:00
Paolo Molaro 17611d6385 Wed May 28 11:19:15 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am, jit.h, mini.h: install header for embedding mono.

svn path=/trunk/mono/; revision=14964
2003-05-28 09:33:15 +00:00
Ville Palo 91a2b57741 2003-05-28 Ville Palo <[email protected]>
* SqlInt16.cs: more checked fixes.
	* SqlInt64.cs: checked fixes.
	* SqlSingle.cs: checked fixes.

svn path=/trunk/mcs/; revision=14963
2003-05-28 09:20:11 +00:00
Ville Palo 537929587c 2003-05-28 Ville Palo <[email protected]>
* SqlInt16.cs: little fixes.

svn path=/trunk/mcs/; revision=14962
2003-05-28 08:10:33 +00:00
Ville Palo 4f7e50b2a5 2003-05-28 Ville Palo <[email protected]>
* SqlDouble.cs: Some fixes. Mostly infinity checks
	* SqlSingle.cs: tiny fixes.
	* SqlInt64.cs: checked fix.

svn path=/trunk/mcs/; revision=14961
2003-05-28 07:51:40 +00:00
Hector E. Gomez Morales c7db5d2857 *makefile.gnu: Added anonymous.cs to the compiler sources.
svn path=/trunk/mcs/; revision=14960
2003-05-28 07:45:09 +00:00
Ville Palo 4f4a7506d1 2003-05-28 Ville Palo <[email protected]>
* ChangeLog: Added this.
	* SqlByte.cs: Fixed checked parts

svn path=/trunk/mcs/; revision=14959
2003-05-28 07:06:18 +00:00
Miguel de Icaza 435926b249 update todo
svn path=/trunk/mcs/; revision=14958
2003-05-28 05:23:07 +00:00
Miguel de Icaza f80306044f 2003-05-28 Miguel de Icaza <[email protected]>
* iterators.cs: Change the name of the proxy class to include two
	underscores.

svn path=/trunk/mcs/; revision=14957
2003-05-28 05:09:55 +00:00
Miguel de Icaza de115999a9 2003-05-28 Miguel de Icaza <[email protected]>
* cs-parser.jay: Update grammar to include anonymous methods.

	* anonymous.cs: new file.

svn path=/trunk/mcs/; revision=14956
2003-05-28 05:00:13 +00:00
Ben Maurer c91f2d0cb5 2003-05-27 Ben Maurer <[email protected]>
* XslTransform.cs: unsafe classes need unsafe!

svn path=/trunk/mcs/; revision=14954
2003-05-28 01:45:40 +00:00
Jean-Marc Andre dbed9ccc44 2003-05-27 Jean-Marc Andre <[email protected]>
Bugs fixed
	Preparing the SoapFormatter for remoting

svn path=/trunk/mcs/; revision=14952
2003-05-28 00:25:04 +00:00
Joshua Tauberer 54d44a9ba1 2003-05-27 Joshua Tauberer <[email protected]>
* XslTransform.cs: Initial support for extension objects.
                Known issues:
                        Extension method signatures must match exactly to the
                        types of parameters that the method is called with from the stylesheet.
                        Node set parameters are converted to an ArrayList of strings.
        * makefule.gnu: Added -unsafe flag, required by the above stuff.
        * System.XML.build: Added /unsafe flag.  Hope this is the right place.

svn path=/trunk/mcs/; revision=14951
2003-05-28 00:23:51 +00:00
Philip Van Hoof 907d738c8b Small code-formatting changes to the Demo2.cs
svn path=/trunk/mcs/; revision=14950
2003-05-27 22:16:53 +00:00
Philip Van Hoof 32b3bbe886 *** empty log message ***
svn path=/trunk/mcs/; revision=14949
2003-05-27 22:13:09 +00:00
Philip Van Hoof dd63b887f6 Little changes to the demo-application
svn path=/trunk/mcs/; revision=14948
2003-05-27 21:39:12 +00:00
Philip Van Hoof 545fb516c1 Proof-demo that the scrollbar works
svn path=/trunk/mcs/; revision=14947
2003-05-27 21:36:03 +00:00
Philip Van Hoof 04576706da Event fix
svn path=/trunk/mcs/; revision=14946
2003-05-27 21:30:44 +00:00
Miguel de Icaza 968c2830f9 2003-05-27 Miguel de Icaza <[email protected]>
* class.cs (Field.Define): Add missing test for pointers and
	safety.

svn path=/trunk/mcs/; revision=14945
2003-05-27 21:03:55 +00:00
Ravi Pratap M a413ef7e77 2003-05-27 Ravi Pratap <[email protected]>
* expression.cs (ArrayAccess.GetStoreOpCode): For System.IntPtr,
	we use the stobj opcode.

	(ArrayCreation.EmitDynamicInitializers): Revert Miguel's patch
	since it wasn't the correct fix.

	It still is puzzling that we are required to use stobj for IntPtr
	which seems to be a ValueType.

svn path=/trunk/mcs/; revision=14944
2003-05-27 20:01:56 +00:00
Ravi Pratap M b95b5744f3 2003-05-27 Ravi Pratap <[email protected]>
* test-45.cs : Enable code which tests IntPtr array
	initialization. This automatically serves as a test case for bug
	#36030.

	Improve test.

svn path=/trunk/mcs/; revision=14943
2003-05-27 20:01:34 +00:00
Philip Van Hoof c0b131dd3d Changed - Event of the ScrollBar Control
svn path=/trunk/mcs/; revision=14942
2003-05-27 19:23:13 +00:00
Philip Van Hoof f30a7591c0 Added a small sample to test a single widget
svn path=/trunk/mcs/; revision=14941
2003-05-27 19:10:55 +00:00
Philip Van Hoof 62135fe319 Added widget: VScrollBar
svn path=/trunk/mcs/; revision=14940
2003-05-27 18:59:51 +00:00
Philip Van Hoof cc0bd4631e Added widgets: ScrollBar, HScrollBar, VScrollBar
Code reflow of the demo.cs-file
Added a HScrollBar and a VScrollBar to the demo.cs-file

svn path=/trunk/mcs/; revision=14939
2003-05-27 18:58:48 +00:00
Paolo Molaro 16caf992e8 Tue May 27 17:56:12 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: thread-static fields are registered in mono_class_vtable(),
	so ensure the function is called before checking for them.

svn path=/trunk/mono/; revision=14937
2003-05-27 16:05:11 +00:00
Aleksey Ryabchuk 6bac16d87e * Control.cs : implemented GetChildIndex, BringToFront, UpdateZOrder, update z-order when recreating handle,
* win32Strcuts.cs
	* win32Enums.cs : use ansi CharSet for tooltips

svn path=/trunk/mcs/; revision=14936
2003-05-27 15:28:59 +00:00
Nick Drochak bcd9847a67 2003-05-28 Nick Drochak <[email protected]>
* MethodBuilderTest: correct order of expected and actual values.

svn path=/trunk/mcs/; revision=14935
2003-05-27 15:26:34 +00:00
Lluis Sanchez 2638575dba * BinaryReader.cs: underlaying stream don't need to be seekable to use PeekChar.
svn path=/trunk/mcs/; revision=14934
2003-05-27 15:04:43 +00:00
Paolo Molaro 2aa5d4912d Tue May 27 16:34:39 CEST 2003 Paolo Molaro <[email protected]>
* class.h, class.c, object.c: remove relative numbering support.

svn path=/trunk/mono/; revision=14933
2003-05-27 14:52:27 +00:00
Paolo Molaro 292801ba4a Tue May 27 16:36:41 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: don't use relative numbering stuff.

svn path=/trunk/mono/; revision=14932
2003-05-27 14:45:41 +00:00
Aleksey Ryabchuk d4bb2d4d08 * Contols.cs : changes to SetVisibleCore, Invalidate (bool) is implemented
* NativeWindow.cs : don't use CS_VREDRAW and CS_HREDRAW flags
	* ImageList.cs
	* ImageListStreamer.cs : small fixes
	* TabControl.cs
	* TabPage.cs : image list support was added

svn path=/trunk/mcs/; revision=14931
2003-05-27 12:26:20 +00:00
Dietmar Maurer aaabd3e03d 2003-05-27 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): fix for bug 43586

svn path=/trunk/mono/; revision=14930
2003-05-27 12:12:53 +00:00
Paolo Molaro 4783b1c05a Farewell, mono jit,
warts and all it has been fun.
mini stole your heart.

svn path=/trunk/mono/; revision=14929
2003-05-27 10:57:03 +00:00
Paolo Molaro 91bc790088 Tue May 27 12:18:44 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: update for mono_class_vtable() changes.

svn path=/trunk/mono/; revision=14928
2003-05-27 10:27:29 +00:00
Aleksey Ryabchuk e5a29143c2 Added missing Serializable attributes, fixed field names
svn path=/trunk/mcs/; revision=14927
2003-05-27 10:14:11 +00:00
Dietmar Maurer 7a261a2298 2003-05-27 Dietmar Maurer <[email protected]>
* jit-icalls.c (mono_llmult_ovf): added an additional check for
	overflow (fixes Bug #43639)

svn path=/trunk/mono/; revision=14926
2003-05-27 10:09:26 +00:00
Paolo Molaro 906cf81b7e Tue May 27 11:33:53 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, objects.cs: allow the use of stobj for primitive types.

svn path=/trunk/mono/; revision=14925
2003-05-27 09:42:44 +00:00
Paolo Molaro 2516457aec Tue May 27 10:33:53 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: be less strict about argument checking until we support
	running the verifier.

svn path=/trunk/mono/; revision=14924
2003-05-27 08:42:44 +00:00
Miguel de Icaza d8fa0cd6ab 2003-05-26 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Consider using aliases
	during regtular simple name resolution.   Now, the trick is that
	instead of returning for processing the simplename, we do a
	TypeManager.LookupType (ie, a rooted lookup as opposed to a
	contextual lookup type).   If a match is found, return that, if
	not, return for further composition.

	This fixes long-standing 30485.

svn path=/trunk/mcs/; revision=14916
2003-05-27 01:12:47 +00:00
Miguel de Icaza d90b6829ee Improve the using-alias test to include the sample from Zoltan (IKVM)
svn path=/trunk/mcs/; revision=14915
2003-05-27 01:12:15 +00:00
Sebastien Pouliot 70d5a29a29 2003-05-26 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Commented some tests in Certificate13 (the
	DSA certificate without any key parameters) because MS implementation
	cannot use the X509Certificate(X509Certificate) to instance it.

svn path=/trunk/mcs/; revision=14914
2003-05-27 01:07:45 +00:00
Nick Drochak 48e2b2a3bf 2003-05-27 Nick Drochak <[email protected]>
* basic-long.cs: tests for (ulong)int * (ulong)int also
	* mini.c: use the same trick for (ulong)int * (ulong)int

svn path=/trunk/mono/; revision=14910
2003-05-26 22:43:34 +00:00
Miguel de Icaza 7923990716 A better fix: do not kill the code, just ifdef it out
2003-05-26  Miguel de Icaza  <[email protected]>

	* marshal.c (mono_marshal_get_native_wrapper): For now, do not
	free the string, until we get a chance to fix Gtk#

svn path=/trunk/mono/; revision=14909
2003-05-26 22:33:54 +00:00
Gonzalo Paniagua Javier 342c2d1c7f 2003-05-27 Gonzalo Paniagua Javier <[email protected]>
* marshal.c: revert last patch.

svn path=/trunk/mono/; revision=14908
2003-05-26 22:26:02 +00:00
Nick Drochak 64c8427a92 2003-05-27 Nick Drochak <[email protected]>
* basic-long.cs: add regression test for (long)int * (long)int
	* cpu-pentium.md: add op_bigmul specification
	* inssel-long32.brg: add OP_BIGMUL rule
	* mini-ops.h: add OP_BIGMUL
	* mini-x86.c: register allocator: handle case where src1 needs to be
	in EAX.
	* mini.c: substitute special BIGMUL opcode in the tree for
	(long)int * (long)int

svn path=/trunk/mono/; revision=14907
2003-05-26 21:59:11 +00:00
Joel Basson 2cdbb8f847 A small addition to Demo2.cs
svn path=/trunk/mcs/; revision=14906
2003-05-26 21:49:38 +00:00
Miguel de Icaza 643dd9343f Improve test
svn path=/trunk/mcs/; revision=14905
2003-05-26 21:35:00 +00:00
Miguel de Icaza 4ada58ec15 2003-05-26 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.EmitDynamicInitializers): When

svn path=/trunk/mcs/; revision=14904
2003-05-26 21:30:14 +00:00
Miguel de Icaza f7e8ab83cf Improved version
svn path=/trunk/mcs/; revision=14903
2003-05-26 21:24:59 +00:00
Ben Maurer 27ccae5025 2003-05-26 Ben Maurer <[email protected]>
* DataViewTest.cs: Added new test from
        Patrick Kalkman
	* data_linux_test.args: Updated for new test in System.Data

svn path=/trunk/mcs/; revision=14902
2003-05-26 21:22:36 +00:00
Alexandre Pigolkine 72d5e44a4c small fix
svn path=/trunk/mcs/; revision=14901
2003-05-26 20:47:00 +00:00
Alexandre Pigolkine 6e0f133877 analyse environment variable/machine.config for implementation, PixelFormat property, ctor calls
svn path=/trunk/mcs/; revision=14900
2003-05-26 20:29:38 +00:00
Philip Van Hoof 0c0fb7391d Added a .cvsignore-file for SWF/Gtk
svn path=/trunk/mcs/; revision=14899
2003-05-26 19:59:51 +00:00
Miguel de Icaza 8e08696464 Improve test
svn path=/trunk/mcs/; revision=14898
2003-05-26 19:00:21 +00:00
Miguel de Icaza c311b54fa9 2003-05-26 Miguel de Icaza <[email protected]>
* expression.cs (IndexerAccess.Emit, IndexerAccess.EmitAssign):
	Pass `is_base_indexer' to Invocation.EmitCall instead of false.
	Because if we are a BaseIndexerAccess that value will be true.
	Fixes 43643.

svn path=/trunk/mcs/; revision=14897
2003-05-26 18:58:43 +00:00
Miguel de Icaza 66502e8421 2003-05-26 Miguel de Icaza <[email protected]>
* statement.cs (GotoCase.Resolve): Return after reporting an
	error, do not attempt to continue.

svn path=/trunk/mcs/; revision=14896
2003-05-26 18:50:22 +00:00
Miguel de Icaza c57f13b699 2003-05-26 Miguel de Icaza <[email protected]>
* expression.cs (PointerArithmetic.Emit): If our operand is a
	long, convert our constants to match the operand before
	multiplying.  Convert to I type before adding.   Fixes 43670.

svn path=/trunk/mcs/; revision=14895
2003-05-26 18:46:48 +00:00
Miguel de Icaza 5fcaed7422 Improve test
svn path=/trunk/mcs/; revision=14894
2003-05-26 18:45:46 +00:00
Paolo Molaro a0f943e703 Mon May 26 20:21:52 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: updates for new mono_class_vtable() not calling
	the type constructor anymore.

svn path=/trunk/mono/; revision=14893
2003-05-26 18:31:27 +00:00
Paolo Molaro a7ba98e8f3 Mon May 26 20:20:13 CEST 2003 Paolo Molaro <[email protected]>
* jit-icalls.c: call the type ctor on field access if needed.

svn path=/trunk/mono/; revision=14892
2003-05-26 18:29:13 +00:00
Atsushi Eno 5ca10162aa 2003-05-27 Atsushi Enomoto <[email protected]>
* NameTable.cs : Add() sets the given name string interned.
	* XmlParserContext.cs : added internal PushScope() and PopScope() to
	  hold stacks of xml:base, xml:lang and xml:space.
	* XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
	  property for stacked attributes). Renamed Initialize() to Initialize-
	  Context(). Modified to use XmlParserContext.PushScope()/PopScope().

svn path=/trunk/mcs/; revision=14891
2003-05-26 17:59:08 +00:00
Miguel de Icaza c399f70311 Update faq
svn path=/trunk/mono/; revision=14890
2003-05-26 17:44:33 +00:00
Dietmar Maurer b793c5e4cc 2003-05-26 Dietmar Maurer <[email protected]>
* graph.c (cfg_emit_one_loop_level): loop over all blocks. use
	colors to show exception handler blocks.

svn path=/trunk/mono/; revision=14889
2003-05-26 16:53:40 +00:00
Aleksey Ryabchuk 3278a0e202 * ImageListStreamer.cs: added deserialization code
* win32functions.cs : added some prototypes required for ImageList impl.
	* win32strcuts.cs : added new structs, switched to CharSet.Ansi for TCITEM struct
	* win32Enums.cs : use ansi messages for tab control

svn path=/trunk/mcs/; revision=14888
2003-05-26 16:14:23 +00:00
Paolo Molaro 1b2f2407f7 Missing conv.ovf.i8.
svn path=/trunk/mono/; revision=14887
2003-05-26 15:37:35 +00:00
Lluis Sanchez 49193cc3db * XmlReader.cs: Little fix to WriteAttributeString()
svn path=/trunk/mcs/; revision=14886
2003-05-26 14:54:14 +00:00
Lluis Sanchez c287de26ba * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
	  XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added

svn path=/trunk/mcs/; revision=14885
2003-05-26 14:35:16 +00:00
Lluis Sanchez 63d68c4130 * TypeData.cs, TypeTranslator.cs: Implemented some methods.
* XmlCustomFormatter.cs: Added formatting methods.
	* XmlReflectionImporter.cs, XmlSerializer.cs: New implementation.
	* XmlReflectionMember.cs: Added new constructor.
	* XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods.
	* XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs
	  XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs
	  XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added

svn path=/trunk/mcs/; revision=14884
2003-05-26 14:34:44 +00:00
Paolo Molaro 122c748e35 Mon May 26 15:21:21 CEST 2003 Paolo Molaro <[email protected]>
* mini-ops.h, mini.c, inssel.brg, exceptions.cs: validate arguments passed
	to a method (including results of ldelema, bug#43207).

svn path=/trunk/mono/; revision=14883
2003-05-26 14:25:45 +00:00
Dietmar Maurer 16df612ff8 2003-05-26 Dietmar Maurer <[email protected]>
* inssel-x86.brg (OP_OUTARG_VT): dont push zero sized structures
	(fix for pinvoke7.cs).

svn path=/trunk/mono/; revision=14882
2003-05-26 13:26:44 +00:00
Paolo Molaro da402a52a0 missing.
svn path=/trunk/mono/; revision=14881
2003-05-26 13:15:16 +00:00
Paolo Molaro da756b6eff Mon May 26 12:11:53 CEST 2003 Paolo Molaro <[email protected]>
* mini.h, mini.c: ensure correct initialization order for types that
	require it. Prepare for lazy compilation of jit icall wrappers.
	Provide a name for opcode emulation to reduce unneeded mallocing.

svn path=/trunk/mono/; revision=14880
2003-05-26 10:24:16 +00:00
Paolo Molaro e952d46d0f Mon May 26 12:10:35 CEST 2003 Paolo Molaro <[email protected]>
* object.h, object.c: separate vtable creation from type
	initialization. Make running the .cctor thread safe.

svn path=/trunk/mono/; revision=14879
2003-05-26 10:24:08 +00:00
Dietmar Maurer 87b40f0226 2003-05-26 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): free string return values.

svn path=/trunk/mono/; revision=14878
2003-05-26 10:03:08 +00:00
Paolo Molaro 42869dc750 One more class init order test case (to test when inlining is involved).
svn path=/trunk/mono/; revision=14877
2003-05-26 09:50:20 +00:00
Sebastien Pouliot 6383ee3cb3 2003-05-25 Sebastien Pouliot <[email protected]>
* XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
	to match framework 1.1 (this was a bug in framework 1.0).

svn path=/trunk/mcs/; revision=14876
2003-05-26 01:40:35 +00:00
Joel Basson 7d0843f59e small update to demo.cs
svn path=/trunk/mcs/; revision=14872
2003-05-25 21:19:37 +00:00
Joel Basson fcf9af31a8 2003-05-25 Joel Basson <[email protected]>
* PictureBoxSizeMode.cs
* Added relevent functions to PictureBox.cs
* Updated demo.cs

svn path=/trunk/mcs/; revision=14871
2003-05-25 21:04:21 +00:00
Jackson Harper f96d77c780 * ILParser.jay: Pass call conv to methoref constructors. Add the
ELLIPSIS to type_lists, this is for vararg methods

svn path=/trunk/mcs/; revision=14870
2003-05-25 20:08:49 +00:00
Jackson Harper 3a1afe8c2d * CodeGen.cs: Add method to resolve global vararg methods.
* ExternMethodRef.cs: Resolve vararg methods
	* GlobalMethodRef.cs: Set calling conventions, add vararg methods
	* MethodDef.cs: Set calling conventions, add vararg methods
	* MethodRef.cs: Set calling conventions, add vararg methods
	* TypeDef.cs: Resolve vararg methods
	* TypeRef.cs: Add Ellipsis pseudo type, this should never really
	be used as a type, but is stored in arrays with other types. Pass
	call convs to methodref constructor.

svn path=/trunk/mcs/; revision=14869
2003-05-25 20:08:19 +00:00
Miguel de Icaza fa1f0b3644 Fix link
svn path=/trunk/mono/; revision=14868
2003-05-25 19:57:40 +00:00
Jackson Harper 733e2ea360 * PEAPI.cs: Create a list of vararg signatures and add them all to
tables. this allows more then one vararg signature to be created
	per method.

svn path=/trunk/mcs/; revision=14867
2003-05-25 18:58:33 +00:00
Philip Van Hoof c266b967bd Shortcut fixes in MenuItem.cs
svn path=/trunk/mcs/; revision=14866
2003-05-25 17:47:28 +00:00
Philip Van Hoof ab8b618b4d More Shortcut-types added
svn path=/trunk/mcs/; revision=14865
2003-05-25 17:41:38 +00:00
Philip Van Hoof 5da301ecc8 More Shortcut-types added
svn path=/trunk/mcs/; revision=14864
2003-05-25 17:30:30 +00:00
Philip Van Hoof c9db396299 Shortcut helper class
svn path=/trunk/mcs/; revision=14863
2003-05-25 17:07:20 +00:00
Joel Basson 4f307969a8 2003-05-25 Joel Basson <[email protected]>
* Shortcut.cs

svn path=/trunk/mcs/; revision=14861
2003-05-25 13:26:10 +00:00
Miguel de Icaza 76e50a6470 Update
svn path=/trunk/mono/; revision=14860
2003-05-25 13:13:23 +00:00
Francisco Figueiredo Jr. 8bcac6b7eb 2003-05-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when processing 0 rows queries.

svn path=/trunk/mcs/; revision=14859
2003-05-25 03:51:45 +00:00
Francisco Figueiredo Jr. 055b2abeea 2003-05-25 Francisco Figueiredo Jr. <[email protected]>
* Importacao inicial dos testes unitarios para NUnit 2.0

svn path=/trunk/mcs/; revision=14858
2003-05-25 03:42:54 +00:00
Francisco Figueiredo Jr. d75b805ec9 2003-05-25 Francisco Figueiredo Jr. <[email protected]>
* Fixed an invalid index exception when processing 0 rows queries.

svn path=/trunk/mcs/; revision=14857
2003-05-25 03:38:05 +00:00
Joel Basson b1b6871ca3 2003-05-25 Joel Basson <[email protected]>
* Added Shortcut and Checked property to MenuItem.cs
* Updated Demo2.cs to demonstrate new properties

svn path=/trunk/mcs/; revision=14856
2003-05-25 01:17:25 +00:00
Philip Van Hoof 438a6e93a8 Changed my E-mail adres in the ChangeLog-file
svn path=/trunk/mcs/; revision=14855
2003-05-25 00:35:00 +00:00
Philip Van Hoof 6d4f94b510 Changed my email adres in the ChangeLog-file
svn path=/trunk/mcs/; revision=14854
2003-05-25 00:34:09 +00:00
Jackson Harper 49632f675f * CatchBlock.cs: Remove typo causing to labels to be the same as
from labels.
	* FaultBlock.cs: Remove typo causing to labels to be the same as
	from labels.
	* FilterBlock.cs: Remove typo causing to labels to be the same as
	from labels.
	* MethodDef.cs: Allow for multiple labels to point to the same
	line. ie:
	END_BLOCK:
	PASS:
	do stuff

svn path=/trunk/mcs/; revision=14853
2003-05-24 18:25:08 +00:00
Philip Van Hoof 9c0a4ec07b Menu fixes
svn path=/trunk/mcs/; revision=14852
2003-05-24 17:00:59 +00:00
Pedro Martínez Juliá df40bc1b3e 2003-05-24 Philip Van Hoof <[email protected]>
* Math.cs: Add the MS.NET 1.1 methods (BigMul, DivRem, DivRem).

svn path=/trunk/mcs/; revision=14851
2003-05-24 15:38:17 +00:00
Philip Van Hoof b52d820f9b Added Demo2.exe to the makefile
svn path=/trunk/mcs/; revision=14850
2003-05-24 15:34:00 +00:00
Joel Basson 92a430bf6d *** empty log message ***
svn path=/trunk/mcs/; revision=14849
2003-05-24 15:29:49 +00:00
Philip Van Hoof 4988c71412 Commented something that has not yet been implemented in gtk-sharp
svn path=/trunk/mcs/; revision=14848
2003-05-24 15:23:38 +00:00
Philip Van Hoof 083b5c22c5 updated the demo application
svn path=/trunk/mcs/; revision=14847
2003-05-24 15:22:56 +00:00
Philip Van Hoof 5526bfdcc7 TextBoxBase.cs fixes by Philip Van Hoof and Menu fixes By Joel
svn path=/trunk/mcs/; revision=14846
2003-05-24 15:20:56 +00:00
Joel Basson e7f5c90645 *** empty log message ***
svn path=/trunk/mcs/; revision=14845
2003-05-24 15:13:33 +00:00
Joel Basson 8084361f36 *** empty log message ***
svn path=/trunk/mcs/; revision=14844
2003-05-24 15:05:52 +00:00
Joel Basson 55a17580fc 2003-05-24 Joel Basson <[email protected]>
* MainMenu.cs
* MenuItems.cs
* Some more work done to MessageBox.cs

svn path=/trunk/mcs/; revision=14843
2003-05-24 14:58:25 +00:00
Miguel de Icaza f8250b2369 Update
svn path=/trunk/mono/; revision=14842
2003-05-24 14:30:11 +00:00
Jackson Harper dab45bedf0 * ILParser.jay: Remove top secret debugging code.
svn path=/trunk/mcs/; revision=14841
2003-05-24 07:00:51 +00:00
Marco Ridoni c21aafc850 Variables defned in Catch blocks are now correctly typed
svn path=/trunk/mcs/; revision=14839
2003-05-23 23:05:18 +00:00
Marco Ridoni e281dd824d Some runtime conversion fixes
svn path=/trunk/mcs/; revision=14838
2003-05-23 23:03:22 +00:00
Atsushi Eno 7ff3fe6a23 2003-05-24 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
	  XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
	  XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
	  XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
	  Reverted the recent accessibility mistake (5/16).
	* XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
	  from XmlNode to XmlDocument.

svn path=/trunk/mcs/; revision=14836
2003-05-23 16:38:07 +00:00
Aleksey Ryabchuk 8efe1dfbd0 small changes
svn path=/trunk/mcs/; revision=14835
2003-05-23 16:20:51 +00:00
Paolo Molaro ad392424e4 Fri May 23 16:08:54 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c: better register restoring code and profiling
	support for tail calls.

svn path=/trunk/mono/; revision=14834
2003-05-23 14:17:34 +00:00
Paolo Molaro 175d4b589d Fri May 23 15:30:53 CEST 2003 Paolo Molaro <[email protected]>
* mini.h, driver.c: prepare for leaf methods optimization.

svn path=/trunk/mono/; revision=14833
2003-05-23 13:39:27 +00:00
Paolo Molaro 655d235a8e Fri May 23 15:28:32 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: get targets of branches before converting a method.

svn path=/trunk/mono/; revision=14832
2003-05-23 13:38:12 +00:00
Aleksey Ryabchuk a8d06898e1 Added missing Serializable attributes, deserialization constructors etc.
svn path=/trunk/mcs/; revision=14831
2003-05-23 11:30:56 +00:00
Zoltan Varga ab011f278f 2003-05-23 Zoltan Varga <[email protected]>
* Dns.cs (GetHostByAddress): Return the local host when called with
	IF_ANY.

svn path=/trunk/mcs/; revision=14830
2003-05-23 11:07:21 +00:00
Dietmar Maurer 8a6339ae53 2003-05-23 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): added some experimental code (disbaled)

svn path=/trunk/mono/; revision=14829
2003-05-23 08:08:21 +00:00
Jackson Harper 4e35d8ab8a * ILParser.jay: Implement label form structured exception handling.
svn path=/trunk/mcs/; revision=14828
2003-05-23 07:29:15 +00:00
Jackson Harper 47ab229522 add new files to build.
svn path=/trunk/mcs/; revision=14827
2003-05-23 07:27:23 +00:00
Jackson Harper d67093c906 * CatchBlock.cs: New file - Initial implementation of a catch
block
	* FaultBlock.cs: New file - Initial implementation of a fault
	block
	* FilterBlock.cs: New file - Initial implementation of a filter
	block
	* FinallyBlock.cs: New file - Initial implementation of a finally
	block
	* HandlerBlock.cs: New file - A handler block is the block
	assosciated with a SEH clause
	* ISehClause: New file - Interface that structured exception
	handling clauses must implement.
	* TryBlock.cs: New file - Initial implementation only supports
	label form SEH. This TryBlock is added to a method as an
	instruction out of convenience, tryblock is not an instruction.

svn path=/trunk/mcs/; revision=14826
2003-05-23 07:26:42 +00:00
Jackson Harper 519afc81e8 * ILTokenizer.cs: When building instructions allow the '.' char so
complex instructions like conv.ovf.u.un can be created.

svn path=/trunk/mcs/; revision=14825
2003-05-23 04:56:47 +00:00
Jackson Harper d203f47029 * InstrTable.cs: Add unsigned conversion instructions.
svn path=/trunk/mcs/; revision=14824
2003-05-23 04:50:18 +00:00
Jackson Harper c1718e4676 * ILParser.jay: Comment out K_IMF and K_NAN these are not used in
the grammar.

svn path=/trunk/mcs/; revision=14823
2003-05-23 04:05:29 +00:00
Jackson Harper 3c9a713840 * ILTables.cs: Comment out nan and inf keywords, these are not
referenced in the grammar. need to check if these keywords work on
	MS ilasm.
	* NumberHelper.cs: Parse numbers as Unsigned then cast to long
	otherwise an overflow exception is thrown. (is this a classlib bug?)

svn path=/trunk/mcs/; revision=14822
2003-05-23 04:02:21 +00:00
Ben Maurer 5450b55618 2003-05-22 Ben Maurer <[email protected]>
StringWriterTest.cs: Added tests from bug #43431 (by Ian MacLean).

svn path=/trunk/mcs/; revision=14821
2003-05-23 03:48:43 +00:00
Gonzalo Paniagua Javier 9f88f4eefb 2003-05-23 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: fixed bug #42631.

svn path=/trunk/mcs/; revision=14820
2003-05-23 02:29:57 +00:00
Gonzalo Paniagua Javier 319381dcf4 forgot this one
svn path=/trunk/mcs/; revision=14808
2003-05-22 18:05:08 +00:00
Gonzalo Paniagua Javier 1bdb5e794c Copy the signature file to ../lib
svn path=/trunk/mcs/; revision=14807
2003-05-22 17:44:20 +00:00
Gonzalo Paniagua Javier 84f53f2c6d 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed the build under windows.

svn path=/trunk/mcs/; revision=14806
2003-05-22 17:40:52 +00:00
Dietmar Maurer a5ee113652 2003-05-22 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): fix branch to branch optimization

svn path=/trunk/mono/; revision=14805
2003-05-22 16:56:30 +00:00
Dietmar Maurer 99ea65fc97 *** empty log message ***
svn path=/trunk/mono/; revision=14804
2003-05-22 16:11:51 +00:00
Dietmar Maurer 9bc145b02b 2003-05-22 Dietmar Maurer <[email protected]>
* exceptions-x86.c (mono_arch_handle_exception): bug fix.

	* more docu

svn path=/trunk/mono/; revision=14803
2003-05-22 16:04:53 +00:00
Nick Drochak f4656c2d26 2003-05-22 Nick Drochak <[email protected]>
* ArrayTest.cs: Add conditional compile for 1.1

svn path=/trunk/mcs/; revision=14802
2003-05-22 15:50:04 +00:00
Dietmar Maurer e546140b86 *** empty log message ***
svn path=/trunk/mono/; revision=14801
2003-05-22 15:10:10 +00:00
Nick Drochak 8f495974eb 2003-05-22 Nick Drochak <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: Forgot nunit v2 TestFixture attribute

svn path=/trunk/mcs/; revision=14800
2003-05-22 14:59:09 +00:00
Dietmar Maurer c2e395049f added infos about exception handling
svn path=/trunk/mono/; revision=14799
2003-05-22 14:48:41 +00:00
Dietmar Maurer 5964ed275a update
svn path=/trunk/mono/; revision=14798
2003-05-22 14:22:54 +00:00
Dietmar Maurer e7bb3eb619 only add START_HANDLER for finally/filter clauses
svn path=/trunk/mono/; revision=14797
2003-05-22 14:01:42 +00:00
Dietmar Maurer d816fc03a7 2003-05-22 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): cleanup up exception code

	* inssel-x86.brg: added OP_START_HANDLER, CEE_ENDFINALLY, OP_ENDFILTER

	* mini-x86.c (mono_arch_allocate_vars): only reserve space for lmf
	if needed.

svn path=/trunk/mono/; revision=14796
2003-05-22 12:18:54 +00:00
Zoltan Varga 9490d3d5c7 2003-05-22 Zoltan Varga <[email protected]>
* File.cs (Move): Allow moving of directories.
	Fix 'destination is a directory' test.

svn path=/trunk/mcs/; revision=14795
2003-05-22 11:46:09 +00:00
Zoltan Varga f1de5fa45c 2003-05-22 Zoltan Varga <[email protected]>
* FileTest.cs: Added tests for moving directories.

svn path=/trunk/mcs/; revision=14794
2003-05-22 11:43:16 +00:00
Gonzalo Paniagua Javier 7247844c56 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
* CachingCompiler.cs: fixed bug #43477.

svn path=/trunk/mcs/; revision=14793
2003-05-22 11:20:20 +00:00
Jackson Harper 32f3f06c4f * ILParser.jay: Add ldc.r4 to INSTR_R int also fix cast to double.
svn path=/trunk/mcs/; revision=14792
2003-05-22 05:33:26 +00:00
Jackson Harper 0712073981 * ILParser.jay: When converting from int32 to int64 do an exact
bit conversion, not a numerical conversion.

svn path=/trunk/mcs/; revision=14791
2003-05-22 03:42:07 +00:00
Jackson Harper 6193279a28 * InstrTable.cs: ldc.i8 is a TOKEN_I8 and should be given the
MiscToken.ldc_i8 value.

svn path=/trunk/mcs/; revision=14790
2003-05-22 02:25:03 +00:00
Jackson Harper b5ef900768 * ILParser.jay: INT_I8s are not int instructions, currently the
only INT_I8 instruction is ldc.i8 so this new code does more
	checks then needed but is written in anticipation of some new long
	instructions being found. Implement signature instructions, token
	instructions, and signatures. Convert INT32s masquerading as
	INT64s to Int64.

svn path=/trunk/mcs/; revision=14789
2003-05-22 02:22:46 +00:00
Jackson Harper 996b71b661 Add new instructions to build
svn path=/trunk/mcs/; revision=14788
2003-05-22 02:17:11 +00:00
Jackson Harper b0a25a0cda * CalliInstr.cs: New file - The calli instruction
* Ldtoken.cs: New file - The ldtoken instruction
	* InstrTable.cs: ldc.i8 is a TOKEN_I8 and should be given the
	MiscToken.ldc_i8 value.

svn path=/trunk/mcs/; revision=14787
2003-05-22 02:16:44 +00:00
Francisco Figueiredo Jr. 038977978f Synchronized files from gborg repository
svn path=/trunk/mcs/; revision=14786
2003-05-22 02:00:49 +00:00
Francisco Figueiredo Jr. 95e123dcdd Synchronized files from gborg repository
svn path=/trunk/mcs/; revision=14785
2003-05-22 01:54:17 +00:00
Francisco Figueiredo Jr. ecaa0244fc Added key for strong name assembly.
svn path=/trunk/mcs/; revision=14784
2003-05-22 01:48:06 +00:00
John Luke de6d7a5cce add myself
svn path=/trunk/mono/; revision=14783
2003-05-22 01:47:25 +00:00
Francisco Figueiredo Jr. 4f7ebed335 Updated Npgsql version
svn path=/trunk/mcs/; revision=14782
2003-05-22 01:30:47 +00:00
Gonzalo Paniagua Javier bb14252e09 2003-05-22 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs:
	* AspTokenizer.cs: fixed bugs #43206 and #43371.

svn path=/trunk/mcs/; revision=14781
2003-05-21 23:27:12 +00:00
Ben Maurer 6591828e4c 2003-05-21 Ben Maurer <[email protected]>
StringWriter.cs: Fixed bug #43379 "Missing WebException.Response
	property."

svn path=/trunk/mcs/; revision=14780
2003-05-21 23:04:17 +00:00
Ben Maurer faf781c2e1 2003-05-21 Ben Maurer <[email protected]>
* StringWriter.cs: Fixed bug #43431: "StringWriter
	.ctor(CultureInfo) does not create a new StringBuilder ()"

svn path=/trunk/mcs/; revision=14779
2003-05-21 22:11:17 +00:00
Miguel de Icaza 5dae90ef21 Flush
svn path=/trunk/mono/; revision=14778
2003-05-21 21:45:34 +00:00
Dietmar Maurer aefc542ff8 2003-05-21 Dietmar Maurer <[email protected]>
* loader.c (mono_get_method): consider calling convention

svn path=/trunk/mono/; revision=14774
2003-05-21 19:08:19 +00:00
Ravi Pratap M a58b293978 2003-05-14 Ravi Pratap <[email protected]>
* enum.cs (ImplicitConversionExists) : Rename to
	ImplicitEnumConversionExists to remove ambiguity.

	* ecore.cs (NullCast): New type of cast expression class which
	basically is very similar to EmptyCast with the difference being
	it still is a constant since it is used only to cast a null to
	something else
	(eg. (string) null)

	* convert.cs (ImplicitReferenceConversion): When casting a null
	literal, we return a NullCast.

	* literal.cs (NullLiteralTyped): Remove - I don't see why this
	should be around anymore.

	The renaming (reported was slightly wrong). Corrections:

	ConvertImplicitStandard -> ImplicitConversionStandard
	ConvertExplicitStandard -> ExplicitConversionStandard

	* expression.cs (StaticCallExpr.MakeSimpleCall): Resolve arguments
	before passing them in !

	* convert.cs (ImplicitConversionStandard): When comparing for
	equal expr and target types, ensure that expr is not a
	NullLiteral.

	In general, we must not be checking (expr_type ==
	target_type) in the top level conversion methods
	(ImplicitConversion, ExplicitConversion etc). This checking is
	done in the methods that they delegate to.

svn path=/trunk/mcs/; revision=14773
2003-05-21 18:55:34 +00:00
Ravi Pratap M 23643a122c 2003-05-17 Ravi Pratap <[email protected]>
* test-194.cs: New test for bug #39108

	* README.tests : Update accordingly.

	* makefile : Add new test.

svn path=/trunk/mcs/; revision=14772
2003-05-21 18:43:53 +00:00
Paolo Molaro c2369aad9f Enable JIT build on PPC.
svn path=/trunk/mono/; revision=14770
2003-05-21 17:58:02 +00:00
Paolo Molaro 9e1ca2996e Some fixes and more complete support.
svn path=/trunk/mono/; revision=14769
2003-05-21 17:57:05 +00:00
Paolo Molaro 76dec3b1e5 Wrong prototype...
svn path=/trunk/mono/; revision=14768
2003-05-21 17:27:44 +00:00
Paolo Molaro 851db1da49 Function to flush the icache (empty for x86).
svn path=/trunk/mono/; revision=14767
2003-05-21 17:25:23 +00:00
Paolo Molaro 00898a74e0 Use instructions that set the carry/borrow if needed.
svn path=/trunk/mono/; revision=14766
2003-05-21 17:23:35 +00:00
Paolo Molaro f985427860 Use otool to disassemble on macosx.
svn path=/trunk/mono/; revision=14765
2003-05-21 17:22:27 +00:00
Paolo Molaro b73e79be35 Two ppc-specific instructions.
svn path=/trunk/mono/; revision=14764
2003-05-21 17:21:14 +00:00
Paolo Molaro 1987130f48 Some PPC WIP.
svn path=/trunk/mono/; revision=14763
2003-05-21 17:16:18 +00:00
Aleksey Ryabchuk 4e3d50c17b some new implementation was added
svn path=/trunk/mcs/; revision=14762
2003-05-21 16:22:51 +00:00
Dietmar Maurer eafd0b00fd 2003-05-21 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): call handle_loaded_temps before inlining.
	enable use of interface variables again.

svn path=/trunk/mono/; revision=14761
2003-05-21 14:21:05 +00:00
Zoltan Varga 2b5281083b 2003-05-21 Zoltan Varga <[email protected]>
* corlib_test.args: Added ModuleTest.cs and ModuleBuilderTest.cs

svn path=/trunk/mcs/; revision=14760
2003-05-21 13:30:02 +00:00
Zoltan Varga 170e3afb99 2003-05-21 Zoltan Varga <[email protected]>
* ModuleTest.cs: New file.

svn path=/trunk/mcs/; revision=14759
2003-05-21 13:29:23 +00:00
Zoltan Varga f443d83d90 2003-05-21 Zoltan Varga <[email protected]>
* ModuleBuilderTest.cs: New file.

svn path=/trunk/mcs/; revision=14758
2003-05-21 13:28:46 +00:00
Dietmar Maurer 608af00120 2003-05-21 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_get_allocatable_int_vars): dont allocate
	I1 to registers because there is no simply way to sign extend 8bit
	quantities in caller saved registers on x86.

	* inssel-float.brg: set costs of some rules to 2 so
	that monobure always select the arch. specific ones if supplied,
	regardless of the order we pass the files to monoburg.

svn path=/trunk/mono/; revision=14757
2003-05-21 12:45:22 +00:00
Paolo Molaro 94c74c2919 Don't install genmdesc.
svn path=/trunk/mono/; revision=14756
2003-05-21 11:55:53 +00:00
Zoltan Varga a97c9d002b 2003-05-21 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Module_GetGlobalType): New icall
	to return the invisible global type for a module.

	* reflection.c (mono_image_build_metadata): Emit global fields too.

svn path=/trunk/mono/; revision=14755
2003-05-21 11:31:58 +00:00
Zoltan Varga bada8fd193 2003-05-21 Zoltan Varga <[email protected]>
* Module.cs: Implement GetField and its friends.

svn path=/trunk/mcs/; revision=14754
2003-05-21 11:30:34 +00:00
Zoltan Varga 9a2a2063a1 2003-05-21 Zoltan Varga <[email protected]>
* reflection.c (mono_image_build_metadata): Emit global fields too.

svn path=/trunk/mono/; revision=14753
2003-05-21 10:33:32 +00:00
Zoltan Varga 723bfb79f6 2003-05-21 Zoltan Varga <[email protected]>
* ModuleBuilder.cs:
	- Implement DefineInitializedData in terms of DefineUninitializedData
	- Name the types of global fields $ArrayType$<len> to cut back on the
	number of types created
	- Add argument checking

svn path=/trunk/mcs/; revision=14752
2003-05-21 10:29:30 +00:00
Aleksey Ryabchuk 216aa0a887 fixed some issues causing problems when running SWF on Linux
svn path=/trunk/mcs/; revision=14751
2003-05-21 10:15:23 +00:00
Gaurav Vaish de6245596d 2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs : Partial implementation.
* HtmlFormAdapter.cs    : Initial implementation.
* HtmlPageAdapter.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=14749
2003-05-21 06:17:03 +00:00
Miguel de Icaza 41ffe597a5 Ooops, do not force this on everyone
svn path=/trunk/mcs/; revision=14748
2003-05-21 00:36:41 +00:00
Miguel de Icaza d518db9455 For now, do not reference the Shell, but Mono should be changed to not warn
svn path=/trunk/mcs/; revision=14747
2003-05-21 00:29:25 +00:00
Miguel de Icaza 67b157bc4a Change casing
svn path=/trunk/mcs/; revision=14746
2003-05-21 00:13:40 +00:00
Miguel de Icaza 712b7abcad Flush
svn path=/trunk/mono/; revision=14745
2003-05-20 23:56:44 +00:00
Miguel de Icaza c84fba9ca3 Flush
svn path=/trunk/mono/; revision=14744
2003-05-20 23:53:42 +00:00
Miguel de Icaza 93636941d5 Flush
svn path=/trunk/mono/; revision=14743
2003-05-20 23:40:20 +00:00
Pedro Martínez Juliá 750d91afa1 2003-05-21 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Take care with the explicit precision
    and round the number to that precision.

    * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).

    * SingleFormatter.cs: Adapt to the two level precision (7 - 8).

svn path=/trunk/mcs/; revision=14742
2003-05-20 23:16:41 +00:00
Daniel Morgan e8629311df update my location and email
svn path=/trunk/mono/; revision=14741
2003-05-20 23:10:12 +00:00
Miguel de Icaza 7e53f8dfc8 Update with more tests
svn path=/trunk/mcs/; revision=14740
2003-05-20 22:20:38 +00:00
Miguel de Icaza e05f252b59 Add new tests
svn path=/trunk/mcs/; revision=14739
2003-05-20 22:09:03 +00:00
Miguel de Icaza b4a3f27b45 Add DoubleFormatterTest
svn path=/trunk/mcs/; revision=14738
2003-05-20 22:05:28 +00:00
Miguel de Icaza be1d1032f0 Remap gtkhtml-3.0 to a version with .so.1
svn path=/trunk/mono/; revision=14737
2003-05-20 22:03:25 +00:00
Miguel de Icaza 46c4f62656 Add UnicodeEncodingTest.cs from Patrick Kalkman
svn path=/trunk/mcs/; revision=14736
2003-05-20 21:44:42 +00:00
Miguel de Icaza 5d8c2faca4 Add DecimalFormatterTest.cs from Patrick Kalkman
svn path=/trunk/mcs/; revision=14735
2003-05-20 21:43:31 +00:00
Peter Williams e7b987bc15 2003-05-20 Peter Williams <[email protected]>
* loader.c (mono_lookup_internal_call): Add a few newlines.

svn path=/trunk/mono/; revision=14734
2003-05-20 21:19:47 +00:00
Miguel de Icaza 1c88e7e5b2 2003-05-20 Philip Van Hoof <[email protected]>
* DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
	Implemented.

svn path=/trunk/mcs/; revision=14733
2003-05-20 21:07:58 +00:00
Peter Williams 4fef0fcc65 2003-05-16 Peter Williams <[email protected]>
* main.c (print_skel_dir): New function called when jay is
	passed '-p'; prints the directory where the default skeleton
	files are installed ($(prefix)/share/jay).

	* makefile (CFLAGS): Add a -DSKEL_DIRECTORY to support
	print_skel_dir.

	* jay.1: Document the -p parameter.

svn path=/trunk/mcs/; revision=14732
2003-05-20 21:06:47 +00:00
Paolo Molaro 825682bfc9 Automake-fu to easily add more jit ports.
svn path=/trunk/mono/; revision=14731
2003-05-20 19:21:21 +00:00
Paolo Molaro 8e147f4b57 Define a symbol for arch that have the jit ported.
svn path=/trunk/mono/; revision=14730
2003-05-20 19:20:16 +00:00
Miguel de Icaza e00a3a7788 2003-05-20 Miguel de Icaza <[email protected]>
* convert.cs: Move Error_CannotConvertType,
	ImplicitReferenceConversion, ImplicitReferenceConversionExists,
	ImplicitNumericConversion, ImplicitConversionExists,
	ImplicitUserConversionExists, StandardConversionExists,
	FindMostEncompassedType, FindMostSpecificSource,
	FindMostSpecificTarget, ImplicitUserConversion,
	ExplicitUserConversion, GetConversionOperators,
	UserDefinedConversion, ConvertImplicit, ConvertImplicitStandard,
	TryImplicitIntConversion, Error_CannotConvertImplicit,
	ConvertImplicitRequired, ConvertNumericExplicit,
	ExplicitReferenceConversionExists, ConvertReferenceExplicit,
	ConvertExplicit, ConvertExplicitStandard from the ecore.cs into
	its own file.

	Perform the following renames:

	StandardConversionExists -> ImplicitStandardConversionExists
	ConvertImplicit -> ImplicitConversion
        ConvertImplicitStandard -> ImplicitStandardConversion
        TryImplicitIntConversion -> ImplicitIntConversion
        ConvertImplicitRequired -> ImplicitConversionRequired
        ConvertNumericExplicit -> ExplicitNumericConversion
        ConvertReferenceExplicit -> ExplicitReferenceConversion
        ConvertExplicit -> ExplicitConversion
        ConvertExplicitStandard -> ExplicitStandardConversion

svn path=/trunk/mcs/; revision=14729
2003-05-20 18:40:44 +00:00
Miguel de Icaza e555cf53ab Add missing field
svn path=/trunk/mono/; revision=14728
2003-05-20 17:34:15 +00:00
Aleksey Ryabchuk 3d1cab7074 * FileDialog.cs : more implementation added
* win32Enums.cs : added some error codes  for common dialogs
	* win32functions.cs : added prototype for CommDlgExtendedError

svn path=/trunk/mcs/; revision=14727
2003-05-20 16:32:37 +00:00
Zoltan Varga d7f9021110 2003-05-20 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_lookup_dynamic_token): Intern dynamic
	literal strings.

	* appdomain.c (set_domain_search_path): Recalculate search path when
	AppDomainSetup.PrivateBinPath changes.

	* object.c (mono_class_compute_gc_descriptor): It turns out some
	parts of the class libs (like System.Thread) holds pointers to
	GC_MALLOC()-d memory in IntPtrs, which is wrong. The workaround is
	to treat native int a pointer type here.

svn path=/trunk/mono/; revision=14726
2003-05-20 16:21:28 +00:00
Paolo Molaro 5d223fcd22 Tue May 20 17:19:14 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini-x86.c: since the magic trampoline for jumps
	can't patch the code directly, we do it as soon as the
	method gets compiled.

svn path=/trunk/mono/; revision=14725
2003-05-20 15:28:32 +00:00
Paolo Molaro 16adfe22c8 Tue May 20 17:18:16 CEST 2003 Paolo Molaro <[email protected]>
* appdomain.h, domain.c: add hashtable for jump target resolution.

svn path=/trunk/mono/; revision=14724
2003-05-20 15:26:35 +00:00
Paolo Molaro 0546faa7b4 Tail recursion test case.
svn path=/trunk/mono/; revision=14723
2003-05-20 14:23:47 +00:00
Paolo Molaro 6d00cb6ea6 Tue May 20 16:02:52 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c, mini.h: introduce a new patching method
	to support CEE_JMP and tail calls.
	* mini.c: obey tail.call. Don't precompile methods target
	of CEE_JMP.
	* tramp-x86.c: new trampoline code to handle methods
	reached through a jump.

svn path=/trunk/mono/; revision=14722
2003-05-20 14:20:31 +00:00
Dick Porter 930e432283 2003-05-20 Dick Porter <[email protected]>
* io.c (FindFirstFile): Include . files in the glob.  Fixes bug
	43229.

svn path=/trunk/mono/; revision=14721
2003-05-20 12:14:14 +00:00
Dietmar Maurer 83741724e0 2003-05-20 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_get_allocatable_int_vars): allocate 8/16
	bit values to registers

svn path=/trunk/mono/; revision=14720
2003-05-20 10:44:31 +00:00
Zoltan Varga f498c22f40 2003-05-20 Zoltan Varga <[email protected]>
* AppDomainSetup.cs: Added new field which is used to notify the
	runtime that the search path has changed.

svn path=/trunk/mcs/; revision=14719
2003-05-20 10:33:21 +00:00
Zoltan Varga 553513d370 2003-05-20 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: More tests.

svn path=/trunk/mcs/; revision=14718
2003-05-20 10:29:41 +00:00
Zoltan Varga 559cc6ec9f 2003-05-20 Zoltan Varga <[email protected]>
* Assembly.cs (GetManifestResourceStream): Moved handling of
	linked resources into managed code using the newly implemented
	GetManifestResourceInfo () method.

svn path=/trunk/mcs/; revision=14717
2003-05-20 10:27:51 +00:00
Nick Drochak aed9b02192 2003/05/20 Nick Drochak <[email protected]>
* FileTest.cs:
	* StreamReaderTest.cs:
	* StreamWriterTest.cs: Workaround for process holding on to directory
	that prevented cleanup and deletion.

svn path=/trunk/mcs/; revision=14715
2003-05-20 05:29:20 +00:00
Atsushi Eno c0645bd71d 2003-05-20 Atsushi Enomoto <[email protected]>
* added DeserializeTests.cs and XmlAttributesTest.cs

svn path=/trunk/mcs/; revision=14714
2003-05-20 03:54:35 +00:00
Jackson Harper 9756ef10f5 * Driver.cs: Exit with 1 return code when no arguments are supplied.
svn path=/trunk/mcs/; revision=14713
2003-05-20 03:50:40 +00:00
Jackson Harper 7346fea630 * Driver.cs: Add command switch to delete output files created if
there is an error.

svn path=/trunk/mcs/; revision=14711
2003-05-19 23:05:58 +00:00
Jackson Harper 8f9f0a479c * ILParser.jay: Same as below but with float64 ()
svn path=/trunk/mcs/; revision=14710
2003-05-19 22:14:18 +00:00
Jackson Harper 74bace4ec0 * ILParser.jay: When the float32 (0xFFFFFF) syntax is used the hex
value represents the exact byte value of a float NOT an integer
	value that is converted to a float.

svn path=/trunk/mcs/; revision=14708
2003-05-19 18:38:37 +00:00
Jackson Harper 6fdad4010f * Driver.cs: Print error exception when compilation fails.
svn path=/trunk/mcs/; revision=14707
2003-05-19 18:34:15 +00:00
Zoltan Varga eb75d3f356 2003-05-19 Zoltan Varga <[email protected]>
* ConstructorBuilder.cs MethodBuilder.cs: Remove unnecessary MonoTODO
	attributes.

	* TypeBuilder.cs: "Implement" various methods not supported under
	MS.NET.

	* AssemblyBuilder.cs: Implement GetDynamicModule. "Implement" various
	methods not supported under MS.NET.

svn path=/trunk/mcs/; revision=14706
2003-05-19 17:24:20 +00:00
Zoltan Varga bef0980eee 2003-05-19 Zoltan Varga <[email protected]>
* AssemblyBuilderTest.cs: More tests.

svn path=/trunk/mcs/; revision=14705
2003-05-19 16:40:24 +00:00
Zoltan Varga 19f21d2775 2003-05-19 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Implement GetDynamicModule. "Implement" various
	methods not supported under MS.NET.

svn path=/trunk/mcs/; revision=14704
2003-05-19 16:35:09 +00:00
Aleksey Ryabchuk 44a9556933 more implementation added
svn path=/trunk/mcs/; revision=14703
2003-05-19 16:20:54 +00:00
Dietmar Maurer 965fb782bf disable the intvar code because it breaks mcs compilation
svn path=/trunk/mono/; revision=14702
2003-05-19 15:47:50 +00:00
Ville Palo 6ba538c2ea 2003-05-19 Ville Palo <[email protected]>
* DirectoryTest.cs: Added tests for GetDirectories() and
	GetFiles ()

svn path=/trunk/mcs/; revision=14701
2003-05-19 14:41:21 +00:00
Dick Porter 6ed9b99e65 2003-05-19 Dick Porter <[email protected]>
* jit.c:
	* configure.in: Netbsd build fix by [email protected].

svn path=/trunk/mono/; revision=14700
2003-05-19 13:58:08 +00:00
Dick Porter 23ead4f8f4 2003-05-19 Dick Porter <[email protected]>
* threads.c: Set the new thread's stack size to 2M.  Fix needed
	for BSD, reported by Martin Dvorak <[email protected]>

svn path=/trunk/mono/; revision=14699
2003-05-19 13:48:05 +00:00
Zoltan Varga 0934a02332 Missing file from last checkin.
svn path=/trunk/mcs/; revision=14697
2003-05-19 12:28:03 +00:00
Zoltan Varga 04881a6d10 2003-05-19 Zoltan Varga <[email protected]>
* reflection.h reflection.c icall.c: Added new icalls
	GetManifestResourceInfoInternal, GetModulesInternal and support
	infrastructure.

svn path=/trunk/mono/; revision=14696
2003-05-19 12:23:52 +00:00
Zoltan Varga bbf72c64b8 2003-05-19 Zoltan Varga <[email protected]>
* Module.cs: Implemented IsResource.

	* Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
	GetModule, GetLoadedModules methods.
	* Assembly.cs (GetManifestResourceStream): Added support for
	resources in extern assemblies.

	CORLIB OUT-OF-SYNC WARNING!

svn path=/trunk/mcs/; revision=14695
2003-05-19 12:23:27 +00:00
Zoltan Varga 78cf96d137 2003-05-19 Zoltan Varga <[email protected]>
* FileStreamTest.cs: New test for FileStream.Seek() bug.

svn path=/trunk/mcs/; revision=14694
2003-05-19 12:05:59 +00:00
Zoltan Varga 8e15532f3c 2003-05-11 Zoltan Varga <[email protected]>
* FileStream.cs (FlushBuffer): After a flush, the buffer should be
	advanced by buf_offset bytes, not buf_length bytes.

svn path=/trunk/mcs/; revision=14693
2003-05-19 12:02:10 +00:00
Dietmar Maurer 45d2b4cffa 2003-05-19 Dietmar Maurer <[email protected]>
* mini.c (mono_compile_get_interface_var): share interface
	variables if possible.

svn path=/trunk/mono/; revision=14692
2003-05-19 10:33:01 +00:00
Paolo Molaro de705e73e7 Mon May 19 09:07:45 CEST 2003 Paolo Molaro <[email protected]>
* Monitor.cs: removed test_owner, the check is already done in the
	icall.

svn path=/trunk/mcs/; revision=14690
2003-05-19 07:16:29 +00:00
Martin Baulig 1e5acd9078 2003-05-19 Martin Baulig <[email protected]>
* statement.cs (TypeInfo.StructInfo): Made this type protected.
	(TypeInfo): Added support for structs having structs as fields.

	* ecore.cs (FieldExpr): Implement IVariable.
	(FieldExpr.DoResolve): Call VariableInfo.GetSubStruct() to get the
	VariableInfo for the field.

svn path=/trunk/mcs/; revision=14686
2003-05-19 01:05:57 +00:00
Jackson Harper 79c9348aa2 * Driver.cs: Return an error code if any errors occur during
compiling. Also print a success or error message.

svn path=/trunk/mcs/; revision=14685
2003-05-19 00:59:15 +00:00
Martin Baulig 55ce465556 Added another testcase.
svn path=/trunk/mcs/; revision=14684
2003-05-19 00:59:11 +00:00
Jackson Harper 75aa535622 * ILParser.jay: Use new methods for converting types to
classrefs. Expand grammar for locals.

svn path=/trunk/mcs/; revision=14683
2003-05-19 00:50:48 +00:00
Jackson Harper 21a2e74f99 * ExternMethodRef.cs: Accept and add calling conventions. Add
methods using array methods if owners are arrays, resolve methods
	named <init> as .ctor.
	* ExternTable.cs: Add method to get value classes.
	* ExternTypeRef.cs: Add AsClassRef method, GetMethodRef now takes
	calling conventions.
	* IClassRef.cs: GetMethodRef now takes calling conventions
	* ITypeRef.cs: Add IsArray IsRef and AsClassRef methods
	* MethodRef.cs: Change <init> to .ctor
	* PeapiTypeRef.cs: This class is no longer an ITypeRef because it
	cannot be converted to a IClassRef. Add IsArray and IsRef, use new
	Class::GetArray* methods to convert to arrays.
	* PrimitiveTypeRef.cs: Add method to convert to an IClassRef
	* TypeRef.cs: Add IsArray and IsRef, add method to convert to
	IClassRef. GetMethodRef now takes calling conventions

svn path=/trunk/mcs/; revision=14682
2003-05-19 00:50:16 +00:00
Martin Baulig 20f57c9a07 Ooops, put back test-15, that was an accident.
svn path=/trunk/mcs/; revision=14681
2003-05-19 00:23:13 +00:00
Jackson Harper 2434602c3a * PEAPI.cs: Add methods to allow methods to be added to arrays.
svn path=/trunk/mcs/; revision=14680
2003-05-19 00:19:20 +00:00
Martin Baulig 1772a12cd2 2003-05-19 Martin Baulig <[email protected]>
* test-162.cs: Added testcases for structs containing other
	structs as fields.  Bug #42597.

svn path=/trunk/mcs/; revision=14679
2003-05-19 00:10:39 +00:00
Martin Baulig 35dda65fc1 2003-05-18 Martin Baulig <[email protected]>
* test-154.cs: Added the contents of test-189.cs as a new testcase
	to this test.

	* test-189.cs: Removed, let's keep the flow analysis tests in one
	single test file.

svn path=/trunk/mcs/; revision=14678
2003-05-19 00:10:24 +00:00
Jackson Harper d3dd211147 * ILParser.jay: Convert cast integers to floats.
svn path=/trunk/mcs/; revision=14677
2003-05-18 23:33:22 +00:00
Jackson Harper 6bfa16ab4c * ILTokenizer.cs: If toen.token does not create a keyword return
the first token as an id, not a keyword ie (add.exe should return
	"ID period ID" not "ADD period ID"

svn path=/trunk/mcs/; revision=14676
2003-05-18 23:27:28 +00:00
Martin Baulig ab602ff16e 2003-05-18 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for bug #41657.

svn path=/trunk/mcs/; revision=14675
2003-05-18 21:16:51 +00:00
Martin Baulig 153d55acac 2003-05-18 Martin Baulig <[email protected]>
* test-154.cs: Added the contents of test-189.cs as a new testcase
	to this test.

	* test-189.cs: Removed, let's keep the flow analysis tests in one
	single test file.

svn path=/trunk/mcs/; revision=14674
2003-05-18 21:14:45 +00:00
Martin Baulig 416ab32ade 2003-05-18 Martin Baulig <[email protected]>
* expression.cs (This.DoResolve): Report a CS0027 if we're
	emitting a field initializer.

svn path=/trunk/mcs/; revision=14672
2003-05-18 19:16:34 +00:00
Martin Baulig 724786e3a5 2003-05-18 Martin Baulig <[email protected]>
* expression.cs (This.ResolveBase): New public function.
	(This.DoResolve): Check for CS0188.

	* codegen.cs (EmitContext.This): Just call This.ResolveBase(), not
	This.Resolve().

	* ecore.cs (MethodGroupExpr.DoResolve): Set the
	`instance_expression' to null if we don't have any non-static
	methods.

svn path=/trunk/mcs/; revision=14671
2003-05-18 19:04:26 +00:00
Martin Baulig fd39b4c920 2003-05-18 Martin Baulig <[email protected]>
* error-3.cs: Added testcase for CS0188.

svn path=/trunk/mcs/; revision=14670
2003-05-18 18:49:41 +00:00
Lluis Sanchez 3defd1bb27 * XmlQualifiedName.cs : Fixed bug in equality operator.
svn path=/trunk/mcs/; revision=14669
2003-05-18 18:16:18 +00:00
Ben Maurer 219fafa72b 2003-05-18 Ben Maurer <[email protected]>
* *.cs Cleaned up tests to work around bug that prevented
	System.IO from seeing directories starting with '.'

svn path=/trunk/mcs/; revision=14668
2003-05-18 18:10:01 +00:00
Atsushi Eno 51448d9e0d 2003-05-19 Atsushi Enomoto <[email protected]>
* RelaxngReader.cs :
	  + Now skips immaterial content correctly.
	  + Removed MoveToContent().
	  + Trimming attribute values and names.
	  + Fixed ReadNameClassChoice(), ReadNameClassExcept(),
	    ReadPatternExcept (). They require one or more contents.
	  + QName resolver fix.
	  + ReadListPattern() failed to read actual content.
	* RelaxngValidatingReader.cs :
	  + Fixed incorrect error message.
	  + Fixed incorrect attribute namespace handling.
	* RngGrammar.cs : Some simplification stuff fix.
	  Support for illegal recursion check.
	* RngNameClass.cs : fixed RngNsName ctor() (argument not passed).
	* RngPattern.cs : fixed ParentRef.Compile() (was treated same as Ref).

svn path=/trunk/mcs/; revision=14667
2003-05-18 17:53:15 +00:00
Atsushi Eno 13fd0e3b1d 2003-05-19 Atsushi Enomoto <[email protected]>
* RdpPattern.cs : Some method name capitalization.
	  Fixed RdpInterleave.StartTagOpenDeriv() which is logically incorrect.

svn path=/trunk/mcs/; revision=14666
2003-05-18 17:52:12 +00:00
Martin Baulig 6ea722d4d8 2003-05-18 Martin Baulig <[email protected]>
* error-4.cs: Renamed to cs1502-2.cs.

svn path=/trunk/mcs/; revision=14665
2003-05-18 17:47:02 +00:00
Martin Baulig 0e3afebbef Oooops, of course, we expect a CS0165 here.
svn path=/trunk/mcs/; revision=14664
2003-05-18 17:35:35 +00:00
Martin Baulig 2aae2352ff 2003-05-18 Martin Baulig <[email protected]>
* makefile: Ignore CS0162 and CS0169.

svn path=/trunk/mcs/; revision=14663
2003-05-18 17:33:18 +00:00
Martin Baulig 4594ec5108 Added another testcase.
svn path=/trunk/mcs/; revision=14662
2003-05-18 17:32:24 +00:00
Martin Baulig e00c69f957 2003-05-18 Martin Baulig <[email protected]>
Reworked the way how local variables and parameters are handled by
	the flow analysis code.

	* statement.cs (TypeInfo, VariableMap): New public classes.
	(VariableInfo): New public class.  This is now responsible for
	checking whether a variable has been assigned.  It is used for
	parameters and local variables.
	(Block.EmitMeta): Take the InternalParameters as argument; compute
	the layout of the flow vectors here.
	(Block.LocalMap, Block.ParameterMap): New public properties.
	(FlowBranching): The .ctor doesn't get the InternalParameters
	anymore since Block.EmitMeta() now computes the layout of the flow
	vector.
	(MyStructInfo): This class is now known as `StructInfo' and nested
	in `TypeInfo'; we don't access this directly anymore.

	* ecore.cs (IVariable): Added `VariableInfo VariableInfo'
	property and removed IsAssigned(), IsFieldAssigned(),
	SetAssigned() and SetFieldAssigned(); we now call them on the
	VariableInfo so we don't need to duplicate this code everywhere.

	* expression.cs (ParameterReference): Added `Block block' argument
	to the .ctor.
	(LocalVariableReference, ParameterReference, This): The new
	VariableInfo class is now responsible for all the definite
	assignment stuff.

	* codegen.cs (EmitContext.IsVariableAssigned, SetVariableAssigned,
	IsParameterAssigned, SetParameterAssigned): Removed.

svn path=/trunk/mcs/; revision=14661
2003-05-18 17:30:05 +00:00
Atsushi Eno 45d32bf07c 2003-05-18 Atsushi Enomoto <[email protected]>
* XmlSerializerTests.cs : fixed some AssertEquals() argument orders.
	  and replaced some Assert() with AssertEquals().
	  Applied USE_VERSION_1_1 to TestConstructor().

svn path=/trunk/mcs/; revision=14660
2003-05-18 17:08:01 +00:00
Martin Baulig e51510233e 2003-05-18 Martin Baulig <[email protected]>
* AssemblyBuilder.cs (corlib_void_type): New internal field.
	(SetCorlibTypeBuilders): Added overloaded version which takes 4
	arguments to set the `corlib_void_type'.

	* TypeBuilder.cs: Use `pmodule.assemblyb.corlib_void_type' instead
	of `typeof (void)' to make this work when compiling corlib.

svn path=/trunk/mcs/; revision=14659
2003-05-18 14:33:00 +00:00
Martin Baulig 34603b5c26 2003-05-18 Martin Baulig <[email protected]>
* typemanager.cs (InitCoreTypes): Try calling
	SetCorlibTypeBuilders() with 4 args; if that fails, fall back to
	the 3-args-version.  Corlib now also needs our `void_type'.
	(GetMethod): Added overloaded version which takes an optional
	`bool report_errors' to allow lookups of optional methods.

svn path=/trunk/mcs/; revision=14658
2003-05-18 14:30:40 +00:00
Atsushi Eno 1d6b0bbb13 2003-05-18 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : added FlushDoesnTCloseTag() and
	  WriteWhitespaceCloseTag() (patch by Jonathan Hogg).
	  added more tests to AttributeWriteAttributeString().
	* XmlAttributeTests.cs : SetInnerTextAndXml() rewrite.

svn path=/trunk/mcs/; revision=14657
2003-05-18 07:36:51 +00:00
Atsushi Eno bcadf3a21e 2003-05-18 Atsushi Enomoto <[email protected]>
* added XmlSecureResolver.cs to list.unix.

svn path=/trunk/mcs/; revision=14656
2003-05-18 07:30:36 +00:00
Atsushi Eno c80e582449 2003-05-18 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
	  any open attributes or elements. WriteWhitespace() checks state and
	  closes start tag.  Fixed WriteStringInternal() to replace CR/LF chars
	  when it is called inside attribute value.
	* XmlException.cs : added .NET 1.1 .ctor.
	* added XmlSecureResolver.cs (only stubbing).
	* XmlAttribute.cs : set_InnerXml() should remove children.
	* XmlAttribute.cs,
	  XmlElement.cs,
	  XmlDocumentFragment.cs,
	  XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
	* XmlNode.cs : RemoveAll() should also remove all attributes.
	* XmlTextRader.cs : .ctor() for attribute value reader should add
	  quotations at initialization, since it requires quote chars.
	* XmlWriter.cs : WriteAttributeString() more correct xmlns check.

svn path=/trunk/mcs/; revision=14655
2003-05-18 07:30:05 +00:00
Pedro Martínez Juliá 6b4fb6fdce 2003-05-18 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Fixed NullReferenceException bug I've
    introduced the last change I've done.

svn path=/trunk/mcs/; revision=14654
2003-05-18 06:55:39 +00:00
Ben Maurer 35d836e034 2003-05-17 Ben Maurer <[email protected]>
* CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}.
	Marked GenerateEvent as MonoTODO.

svn path=/trunk/mcs/; revision=14653
2003-05-17 23:08:29 +00:00
Ben Maurer 8bfe592d25 2003-05-17 Ben Maurer <[email protected]>
* Array.cs Fixed SyncRoot to behave like MS (return this). Removed
	MonoTODO from SyncRoot (because fixed) and IsSynchronized (it was
	behaving correctly).

svn path=/trunk/mcs/; revision=14652
2003-05-17 22:48:10 +00:00
Pedro Martínez Juliá 8a69f4f8cd 2003-05-17 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Fixed little format mismatches.

svn path=/trunk/mcs/; revision=14651
2003-05-17 17:57:10 +00:00
Marco Ridoni cee05dc859 Compiler directives now are not case-sensitive
svn path=/trunk/mcs/; revision=14650
2003-05-17 15:41:41 +00:00
Sebastien Pouliot 3b1287bfe3 2003-05-16 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Added DSA certificate without any key
	parameters (shared group is available in the issuer certificate).

svn path=/trunk/mcs/; revision=14642
2003-05-16 23:22:44 +00:00
Sebastien Pouliot 239cb6f4b8 2003-05-16 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Added support for "really" NULL key parameters
	(i.e. not ASN.1	encoded NULL).

svn path=/trunk/mcs/; revision=14641
2003-05-16 23:22:08 +00:00
Martin Baulig b2318d5e9f 2003-05-16 Martin Baulig <[email protected]>
* debug-mini.c (mono_init_debugger): New function to initialize
	the debugger.  This is not in the debugger since it needs to
	access some of mini's internals.

svn path=/trunk/mono/; revision=14637
2003-05-16 21:20:19 +00:00
Martin Baulig b10713f352 Reverted this:
2003-05-04  Martin Baulig  <[email protected]>

	* Makefile.am: Install mini.h, regalloc.h and mini-ops.h.

svn path=/trunk/mono/; revision=14636
2003-05-16 21:13:21 +00:00
Peter Williams c8a5cb4235 2003-05-16 Peter Williams <[email protected]>
* makefile (install): Call the install in makefile.gnu

	* makefile.gnu (install): Actually install jay and its skeleton
	files. (and docs, and manpage...)

svn path=/trunk/mcs/; revision=14635
2003-05-16 18:58:59 +00:00
Pedro Martínez Juliá 460c19371b 2003-05-16 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Fixed "-0" result emited.

svn path=/trunk/mcs/; revision=14633
2003-05-16 18:03:50 +00:00
Aleksey Ryabchuk cf1f786935 * CommonDialog.cs
* FileDialog.cs
	* win32Enums.cs
	* win32functions.cs : started impl. of OpenFile dialog

svn path=/trunk/mcs/; revision=14632
2003-05-16 16:17:40 +00:00
Dietmar Maurer d447d6cf9c 2003-05-16 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): inlining fixes/cleanups

svn path=/trunk/mono/; revision=14631
2003-05-16 14:42:53 +00:00
Aleksey Ryabchuk b9fe8b7043 * DomainUpDown.cs : changes to OnTextBoxKeyDown
* UpDownBase.cs : added impl. to BackColor and BackgroundImage

svn path=/trunk/mcs/; revision=14630
2003-05-16 13:38:29 +00:00
Dick Porter 7e502bc936 2003-05-16 Dick Porter <[email protected]>
* TempFileCollection.cs: Implement

svn path=/trunk/mcs/; revision=14629
2003-05-16 12:15:07 +00:00
Dick Porter 9da1dc86f5 2003-05-16 Dick Porter <[email protected]>
* XmlSerializerTests.cs: Test what happens when nulls are passed
	to the constructor

svn path=/trunk/mcs/; revision=14628
2003-05-16 12:07:26 +00:00
Dick Porter 88fba9d239 2003-05-16 Dick Porter <[email protected]>
* Socket.cs: Use Mono.Posix.UnixEndPoint if its available

svn path=/trunk/mcs/; revision=14627
2003-05-16 12:03:57 +00:00
Dick Porter fbc3d50964 2003-05-16 Dick Porter <[email protected]>
* UnixEndPoint.cs: New property to get and set the filename, like
	the IPEndPoint has for the IP address.  Also implement ToString().

svn path=/trunk/mcs/; revision=14626
2003-05-16 11:59:26 +00:00
Dick Porter 3797edd7df 2003-05-16 Dick Porter <[email protected]>
* MonoIO.cs: Implement GetTempPath

svn path=/trunk/mcs/; revision=14625
2003-05-16 11:56:32 +00:00
Dick Porter e25baab849 2003-05-16 Dick Porter <[email protected]>
* io.h:
	* io.c: Implement GetTempPath()

2003-05-16  Dick Porter  <[email protected]>

	* icall.c:
	* file-io.h:
	* file-io.c: Implement System.IO.MonoIO::GetTempPath

svn path=/trunk/mono/; revision=14624
2003-05-16 11:52:43 +00:00
Dick Porter ebcd0ffed1 2003-05-16 Dick Porter <[email protected]>
* processes.c (CreateProcess): Set some error codes

svn path=/trunk/mono/; revision=14623
2003-05-16 11:49:04 +00:00
Paolo Molaro bdf9314bc8 Fri May 16 13:27:23 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini-opts.h, inssel.brg: inline small memcpy
	for value type handling.

svn path=/trunk/mono/; revision=14622
2003-05-16 11:36:57 +00:00
Dietmar Maurer ce0f9cfe02 (mono_method_check_inlining): enable inlining of all kinds of wrappers
svn path=/trunk/mono/; revision=14621
2003-05-16 11:08:38 +00:00
Dietmar Maurer 5c2cf73514 2003-05-16 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): inline LDFLD/STFLD wrappers

svn path=/trunk/mono/; revision=14620
2003-05-16 08:59:13 +00:00
Jean-Marc Andre f1a9278655 2003-5-15: Jean-Marc Andre <[email protected]>
removing old files

svn path=/trunk/mcs/; revision=14619
2003-05-16 00:22:52 +00:00
Jean-Marc Andre b5d70e673a 2003-5-15: Jean-Marc Andre <[email protected]>
svn path=/trunk/mcs/; revision=14618
2003-05-16 00:09:11 +00:00
Jean-Marc Andre 5a9541583a 2003-5-15: Jean-Marc Andre <[email protected]>
ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																								ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																									ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																										ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																											ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																												ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																													ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																														ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																															ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																	ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																		ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																			ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																				ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																					ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																						ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																							ChangeLog updated2003-5-15: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																								ChangeLog updated

svn path=/trunk/mcs/; revision=14617
2003-05-15 23:02:42 +00:00
Jean-Marc Andre ecd1369e88 2003-5-15: Jean-Marc ANDRE ([email protected])
new version of the SoapFormatter installed

svn path=/trunk/mcs/; revision=14616
2003-05-15 22:44:05 +00:00
Jean-Marc Andre 7a69877c1f 2003-5-15: Jean-Marc ANDRE ([email protected])
test udpated

svn path=/trunk/mcs/; revision=14615
2003-05-15 22:42:00 +00:00
Jean-Marc Andre a37cca9881 2003-05-15: Jean-Marc ANDRE ([email protected])
new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																								new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																									new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																										new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																											new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																												new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																													new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																														new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																															new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																	new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																		new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																			new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																				new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																					new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																						new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																							new version of the SoapFormatter added2003-05-15:	Jean-Marc ANDRE ([email protected])
																																																																																																																																																																																																								new version of the SoapFormatter added

svn path=/trunk/mcs/; revision=14614
2003-05-15 22:39:32 +00:00
Atsushi Eno d758de53b7 2003-05-16 Atsushi Enomoto <[email protected]>
* changed XPathNodeType modifier to internal *protected* override.
	* XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
	* XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
	* XmlAttributeCollection.cs : removed some incorrect TODO attributes.
	* XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
	  when the argument is "xmlns".
	* XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
	* XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
	* XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
	* XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
	  not to set error state for non-started XmlNodeReader.
	* XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
	  BaseURI support. Fixed Initialize() to handle Attribute correctly.
	  SetProperty for attribute auto-completes xmlns NSURI.
	  Attribute and whitespace handling became more correct.
	  Don't parse external DTD if XmlResolver is null.
	* XmlTextWriter.cs : implemented WriteEntityRef().
	  WriteStartAttribute() checks if ns does not equal to that of xmlns.
	* XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).

svn path=/trunk/mcs/; revision=14613
2003-05-15 20:13:22 +00:00
Atsushi Eno 817c8a5db6 2003-05-16 Atsushi Enomoto <[email protected]>
* XmlSerializerTests.cs : fixed some argument orders and fixed
	  timezone dependent part of TestSerializeDateTime().

svn path=/trunk/mcs/; revision=14612
2003-05-15 19:13:49 +00:00
Atsushi Eno 8f3bc364db 2003-05-16 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : fixed not well-formed xml of
	  DocumentWithXmlDeclaration().

svn path=/trunk/mcs/; revision=14611
2003-05-15 19:11:17 +00:00
Atsushi Eno df14a8aaf0 2003-05-16 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added NamespaceAttributes() and WriteTo().
	* XmlDocumentTests.cs : fixed invalid xml of DocumentWithDoctypeDecl()
	  and not well-formed xml of OuterXmlWithDefaultXmlns().
	* XmlElementTests.cs : added IsEmpty(). fixed not well-formed xml of
	  WriteToWithDefaultNamespace().
	* XmlNodeReaderTests.cs : fixed incorrect result expectation of
	  ReadInnerXmlWrongInit().
	* XmlNodeTets.cs : applied USE_VERSION_1_1 for InsertBefore()/-After().
	* XmlReaderCommonTests.cs,
	  XmlTextReaderTests.cs : moved EntityReference() and EntityReference-
	  InsideText() to XmlTextReaderTests.cs, since XmlNodeReader is expected
	  to resolve these entity references.
	* XmlTextWriterTests.cs : removed English-dependent error message check.
	  fixed incorrect state-check ignorant blocks of WriteAttributes ().
	* XmlWriterTests.cs : modified WriteNodeFullDocument() and WriteNode-
	  XmlDecl() as MS.NET results in.

svn path=/trunk/mcs/; revision=14610
2003-05-15 19:09:10 +00:00
Paolo Molaro 9a3bead0ce Thu May 15 19:16:54 CEST 2003 Paolo Molaro <[email protected]>
* MethodBuilder.cs: off by one in CreateMethodBody().
	* TypeBuilder.cs: if the return type for a method is null, use void.

svn path=/trunk/mcs/; revision=14609
2003-05-15 17:25:33 +00:00
Lluis Sanchez 36b8366fb8 no message
svn path=/trunk/mono/; revision=14608
2003-05-15 16:15:05 +00:00
Dick Porter 5d70169b84 Build fixes
svn path=/trunk/mono/; revision=14607
2003-05-15 15:55:06 +00:00
Paolo Molaro 2494ec951b Thu May 15 17:17:27 CEST 2003 Paolo Molaro <[email protected]>
* jit-icalls.c, inssel.brg: fixes to array element address
	calculations.

svn path=/trunk/mono/; revision=14606
2003-05-15 15:27:49 +00:00
Gonzalo Paniagua Javier 262415c0c6 Ignore test that doesn't work under windows.
svn path=/trunk/mcs/; revision=14603
2003-05-15 13:55:58 +00:00
Dietmar Maurer 3e14438423 2003-05-15 Dietmar Maurer <[email protected]>
* mini-x86.c (is_regsize_var): allocate pointer to registers

svn path=/trunk/mono/; revision=14602
2003-05-15 11:29:34 +00:00
Paolo Molaro cb28d68c2a A wicked dwarf committed the previous patch to this file...
svn path=/trunk/mono/; revision=14601
2003-05-15 11:19:39 +00:00
Paolo Molaro 8dccd80b71 typo.
svn path=/trunk/mono/; revision=14600
2003-05-15 11:17:39 +00:00
Paolo Molaro a402dbe87f Thu May 15 13:04:02 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: fixed typo, added intrins to the set of optimizations
	tested with regressions.

svn path=/trunk/mono/; revision=14599
2003-05-15 11:14:45 +00:00
Paolo Molaro 78eef5dc71 Thu May 15 11:57:42 CEST 2003 Paolo Molaro <[email protected]>
* mini-ops.h, mini.c, inssel.brg: optimize access to 2D arrays.
	* jit-icalls.c, exceptions.cs: fixed index out of range checks, added
	test case.

svn path=/trunk/mono/; revision=14598
2003-05-15 11:04:39 +00:00
Ville Palo 4407e82632 2003-05-15 Ville Palo <[email protected]>
* FileStreamTest.cs: more cleaning

svn path=/trunk/mcs/; revision=14597
2003-05-15 10:55:52 +00:00
Ville Palo 9dc3d018ae 2003-05-15 Ville Palo <[email protected]>
* StreamWriterTest.cs: now use temp-dir

svn path=/trunk/mcs/; revision=14596
2003-05-15 10:50:27 +00:00
Paolo Molaro 62ad9bd33d I was supposed to commit this change with:
Wed May 14 12:40:31 CEST 2003 Paolo Molaro <[email protected]>

	* inssel-x86.brg: fixed thinko in int to double conversions.

svn path=/trunk/mono/; revision=14595
2003-05-15 10:04:25 +00:00
Ville Palo d2cd5b7653 2003-05-15 Ville Palo <[email protected]>
* StreamReaderTest.cs:
	* StreamWriterTest.cs: now use temp-dir

svn path=/trunk/mcs/; revision=14593
2003-05-15 07:52:57 +00:00
Ville Palo 134e735cdc 2003-05-15 Ville Palo <[email protected]>
* BinaryReaderTest.cs:
	* BinaryWriterTest.cs:
	* BufferedStreamTest.cs:
	* DirectoryInfoTest.cs:
	* DirectoryTest.cs:
	* FileInfoTest.cs:
	* FileSystemInfoTest.cs: clean up, now use temp-dir

svn path=/trunk/mcs/; revision=14592
2003-05-15 06:22:55 +00:00
Nick Drochak 97ac927a90 2003-05-15 Nick Drochak <[email protected]>
* System.XML.build: exclude standalone tests from dll build.

svn path=/trunk/mcs/; revision=14590
2003-05-15 03:23:25 +00:00
Nick Drochak cf93f43647 Fix build. LDAP uses the Todo attribute, so we need a copy here.
svn path=/trunk/mcs/; revision=14589
2003-05-15 03:14:31 +00:00
Paolo Molaro 204f7ba769 Make MonoTODO attributes internal.
svn path=/trunk/mcs/; revision=14587
2003-05-14 20:02:29 +00:00
Gonzalo Paniagua Javier 923769916a 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
* DirectoryInfo.cs: fixed bug #42991.
	* Path.cs:
	(CanonicalizePath): store the value of the trimmed input string. Make it
	work with paths such as "/home/xxx/.".

svn path=/trunk/mcs/; revision=14585
2003-05-14 18:30:11 +00:00
Gonzalo Paniagua Javier 727b7c4751 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: added test for GetFullPath (".") and ".."

svn path=/trunk/mcs/; revision=14584
2003-05-14 18:27:03 +00:00
Paolo Molaro e276e26955 Object construction.
svn path=/trunk/mono/; revision=14582
2003-05-14 16:34:10 +00:00
Lluis Sanchez 865299428e * object.c: mono_store_remote_field: little fix to previous patch.
svn path=/trunk/mono/; revision=14581
2003-05-14 16:30:13 +00:00
Paolo Molaro 831820d652 Wed May 14 18:10:42 CEST 2003 Paolo Molaro <[email protected]>
* class.c: add constructors to array classes.
	* icall.c: special case array construction for InternalInvoke (),

svn path=/trunk/mono/; revision=14580
2003-05-14 16:19:54 +00:00
Dietmar Maurer 57419beea7 2003-05-14 Dietmar Maurer <[email protected]>
* inssel.brg: remove some common pop instructions without side effects

svn path=/trunk/mono/; revision=14579
2003-05-14 14:39:53 +00:00
Zoltan Varga 791fc8888d 2003-05-12 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: Comment out test which fails because of a mono
	extension to DefineParameter.

svn path=/trunk/mcs/; revision=14578
2003-05-14 14:17:44 +00:00
Zoltan Varga 9dd69a145a 2003-05-14 Zoltan Varga <[email protected]>
* class.h class.c reflection.c object.c: Added support for field
	defaults in dynamically generated classes.

svn path=/trunk/mono/; revision=14577
2003-05-14 14:16:08 +00:00
Dietmar Maurer e118704b2e added another inlining test
svn path=/trunk/mono/; revision=14576
2003-05-14 13:14:24 +00:00
Dick Porter dc76fa7dd4 Warning fixes
svn path=/trunk/mono/; revision=14575
2003-05-14 12:58:17 +00:00
Dick Porter 9a6cb33158 Serialization tests
svn path=/trunk/mcs/; revision=14574
2003-05-14 12:56:51 +00:00
Paolo Molaro c55633fabb Wed May 14 13:35:27 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: properly encode charset for ddlimport.

svn path=/trunk/mono/; revision=14572
2003-05-14 11:44:00 +00:00
Paolo Molaro 992a48854e Wed May 14 12:40:31 CEST 2003 Paolo Molaro <[email protected]>
* inssel-x86.brg: fixed thinko in int to double conversions.

svn path=/trunk/mono/; revision=14571
2003-05-14 10:49:13 +00:00
Paolo Molaro 7910d87644 Wed May 14 12:01:58 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, jit-icalls.c: added runtime thread-static variable support.

svn path=/trunk/mono/; revision=14570
2003-05-14 10:10:35 +00:00
Paolo Molaro 1d4ad54c56 Added thread-static variable test.
svn path=/trunk/mono/; revision=14569
2003-05-14 10:08:44 +00:00
Dick Porter 95b0d6ae35 2003-05-12 Dick Porter <[email protected]>
* misc.c (_wapi_calc_timeout): Cope with overflowing tv_nsec.
	Patch from Martin Dvorak <[email protected]>.

svn path=/trunk/mono/; revision=14568
2003-05-14 09:25:15 +00:00
Paolo Molaro 51f61a63ea Wed May 14 11:14:54 CEST 2003 Paolo Molaro <[email protected]>
* threads.c: allow compiling without GC.

svn path=/trunk/mono/; revision=14567
2003-05-14 09:23:26 +00:00
Gonzalo Paniagua Javier bdb911a7f2 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/BaseParser.cs: fixed MapPath for non-rooted files.
	* System.Web.UI/PageParser.cs: don't pass a non-virtual file around.
	* System.Web.UI/TemplateControlParser.cs: InputFile uses MapPath now.
	Take care of the exception teh may be throw by MapPath on an invalid
	path.

	* System.Web.UI/TemplateParser.cs: removed unused method.
	* System.Web.UI/UserControlParser.cs: modified inputfile. The result is
	the same, but this one is better.
	* System.Web.Util/UrlUtils.cs: fixed Combine and reworked Reduce.

svn path=/trunk/mcs/; revision=14566
2003-05-14 09:07:11 +00:00
Lluis Sanchez b82c7aca2d * AppDomain.cs: Added null argument check in Load().
* Activator.cs: fixed bug #39926.

svn path=/trunk/mcs/; revision=14563
2003-05-13 22:27:51 +00:00
Lluis Sanchez 04b647b2f2 * BinaryServerFormatterSink.cs: The uri of the target object is now assigned
to the message through the HeaderHandler delegate.

svn path=/trunk/mcs/; revision=14561
2003-05-13 20:56:25 +00:00
Lluis Sanchez 2c730aa422 * MethodCall.cs: ResolveMethod now uses the type of the target object (identified
by the uri) instead of the type specified by TypeName (only if both types have
	  the same name).

svn path=/trunk/mcs/; revision=14560
2003-05-13 20:55:43 +00:00
Lluis Sanchez 3989b96cc8 * ObjectReader.cs: Changed signature of ReadObjectGraph, so now it returns the
deserialized object and the headers.
    * MessageFormatter.cs: The result of the call to the HeaderHandler delegate is
      now interpreted as the uri of the target object. This seems to be MS.NET
      behavior.
	* BinaryFormatter.cs: Deserialize now calls the HeaderHandler delegate,
	  if provided.

svn path=/trunk/mcs/; revision=14559
2003-05-13 20:55:05 +00:00
Martin Willemoes Hansen ba234c2a4a * Tests inherits from Assertion and Assertion. prefixes removed
svn path=/trunk/mcs/; revision=14558
2003-05-13 20:41:56 +00:00
Martin Willemoes Hansen 477a49931c * Tests inherits from Assertion and Assertion. prefix is removed.
svn path=/trunk/mcs/; revision=14557
2003-05-13 20:29:09 +00:00
Martin Willemoes Hansen e852991b2c * Tests inherits from Assertion and Assertion. prefix is removed
svn path=/trunk/mcs/; revision=14556
2003-05-13 20:23:05 +00:00
Martin Willemoes Hansen 544bfe0af2 Assertion ran away
svn path=/trunk/mcs/; revision=14555
2003-05-13 20:15:05 +00:00
Martin Willemoes Hansen 21e89c6946 * All tests inherits from Assertion, and
Assertion. prefixes removed

svn path=/trunk/mcs/; revision=14554
2003-05-13 20:12:53 +00:00
Paolo Molaro f77081047d Tue May 13 22:02:06 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg: two more missing instructions.

svn path=/trunk/mono/; revision=14553
2003-05-13 20:11:01 +00:00
Martin Willemoes Hansen 88656104b2 * Mono.Security_test.args: Added
* makefile.gnu: Added
        * Mono.Security/StrongNameTest.cs,
          Mono.Security.Authenticode/PrivateKeyTest.cs,
          Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs,
          Mono.Security.Cryptography/ARC4ManagedTest.cs,
          Mono.Security.Cryptography/MD2ManagedTest.cs,
          Mono.Security.Cryptography/MD2Test.cs: Test classes inherits from
          Assertion, Assertion. prefix removed.

svn path=/trunk/mcs/; revision=14552
2003-05-13 19:51:51 +00:00
Martin Willemoes Hansen 2a8ea433b3 * Test/Mono.Directory.LDAP/BindSimpleTest.cs: Removed unused setup and teardown methods
Test/Mono.Directory.LDAP/QueryRootDSETest.cs: Removed unused setup and teardown methods

svn path=/trunk/mcs/; revision=14551
2003-05-13 19:38:38 +00:00
Martin Willemoes Hansen b92acded0d * CollectionTest.cs ConversionTest.cs DateAndTimeTest.cs
Inherited from Assertion and removed
          Assertion. prefix from assertions

svn path=/trunk/mcs/; revision=14550
2003-05-13 19:26:25 +00:00
Ville Palo d0f17062dd 2003-05-13 Ville Palo <[email protected]>
* FileStreamTest.cs:
	* FileTest.cs: Clean up. Now use temp directory. also some nunit2
	changes

svn path=/trunk/mcs/; revision=14549
2003-05-13 19:04:25 +00:00
Gonzalo Paniagua Javier 352bb3329e GONspell
svn path=/trunk/mono/; revision=14548
2003-05-13 18:59:39 +00:00
Paolo Molaro 52c463d784 Added the mini porting guide.
svn path=/trunk/mono/; revision=14547
2003-05-13 17:44:29 +00:00
Gonzalo Paniagua Javier f0ea73cd36 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* AssemblyTest.cs: New file.

svn path=/trunk/mcs/; revision=14546
2003-05-13 17:20:27 +00:00
Marco Ridoni 6bab06a399 Fixed overloaded constructor invocation
svn path=/trunk/mcs/; revision=14545
2003-05-13 16:49:26 +00:00
Dietmar Maurer 81a40d7a12 2003-05-13 Dietmar Maurer <[email protected]>
* mini.c (mono_emit_call_args): set the cil_code for all arguments
	if not already set.

svn path=/trunk/mono/; revision=14544
2003-05-13 15:54:39 +00:00
Gonzalo Paniagua Javier ecf1d9db4e 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: fixed bug #42833.

svn path=/trunk/mcs/; revision=14543
2003-05-13 15:47:03 +00:00
Gonzalo Paniagua Javier e3d1364738 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bugs #41522 and #42879.

svn path=/trunk/mcs/; revision=14542
2003-05-13 15:37:39 +00:00
Gonzalo Paniagua Javier 01decbedfc 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* EnumTest.cs: added tests from bug #41522.

svn path=/trunk/mcs/; revision=14541
2003-05-13 15:33:48 +00:00
Nick Drochak 12def19be4 2003-05-14 Nick Drochak <[email protected]>
* corlib_linux_test.args:
	* corlib_test.args: Add UTF?EncodingTest(s) to build

svn path=/trunk/mcs/; revision=14540
2003-05-13 15:31:00 +00:00
Nick Drochak 87fc1a27ee flush
svn path=/trunk/mcs/; revision=14539
2003-05-13 15:28:49 +00:00
Nick Drochak dc91409cfd 2003-05-14 Nick Drochak <[email protected]>
* UTF7EncodingTest.cs:
	* UTF8EncodingTest.cs: added from Patrick Kalkman <[email protected]>

svn path=/trunk/mcs/; revision=14538
2003-05-13 15:28:26 +00:00
Paolo Molaro 30d667ea7a Tue May 13 16:43:18 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: handle thread static fields.

svn path=/trunk/mono/; revision=14537
2003-05-13 14:51:07 +00:00
Paolo Molaro dcdd5a25d9 Tue May 13 16:41:49 CEST 2003 Paolo Molaro <[email protected]>
* appdomain.h, object.c, object.h, threads.c, threads.h: added
	handling of thread static data.

svn path=/trunk/mono/; revision=14536
2003-05-13 14:50:08 +00:00
Paolo Molaro ce91f5c41e Tue May 13 16:36:08 CEST 2003 Paolo Molaro <[email protected]>
* reflection.h, reflection.c: added mono_custom_attrs_free ().

svn path=/trunk/mono/; revision=14535
2003-05-13 14:48:56 +00:00
Martin Willemoes Hansen 4876f02294 * RdpPatternTests.cs, RelaxngReaderTests.cs:
Removed Assertion. prefixes and made them inherit from Assertion.

svn path=/trunk/mcs/; revision=14534
2003-05-13 13:50:35 +00:00
Paolo Molaro 52aa31c42b Tue May 13 15:34:29 CEST 2003 Paolo Molaro <[email protected]>
* Thread.cs: added missing field used by the runtime and
	a new field to support thread-static data.

svn path=/trunk/mcs/; revision=14533
2003-05-13 13:48:08 +00:00
Martin Willemoes Hansen 61511fa0b1 * makefile.gnu: Fixed name of assembly was changed
from Mono.Xml.Relaxng to
                        Commons.Xml.Relaxng.

svn path=/trunk/mcs/; revision=14532
2003-05-13 13:45:18 +00:00
Paolo Molaro 53ebbd3e31 Don't propagate string format and layout flags from element type to its array.
svn path=/trunk/mono/; revision=14531
2003-05-13 11:00:37 +00:00
Dietmar Maurer 2f723104ad 2003-05-13 Dietmar Maurer <[email protected]>
(mono_array_class_get): always set the SEALED attribute for array types

svn path=/trunk/mono/; revision=14530
2003-05-13 10:06:33 +00:00
Dietmar Maurer ad3ddd0b30 fix for the previous fix
svn path=/trunk/mono/; revision=14529
2003-05-13 09:52:42 +00:00
Dietmar Maurer 3f1e1e4fc6 2003-05-13 Dietmar Maurer <[email protected]>
* class.c (mono_array_class_get): consider the serializable flags

svn path=/trunk/mono/; revision=14528
2003-05-13 09:47:03 +00:00
Gonzalo Paniagua Javier 0eed706b62 removed writelines
svn path=/trunk/mcs/; revision=14527
2003-05-13 04:12:22 +00:00
Gonzalo Paniagua Javier be56d93873 2003-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs:
	* System.Web/HttpApplicationFactory.cs:
	* System.Web.SessionState/SessionStateModule.cs: fire
	application start and session start/end events.

svn path=/trunk/mcs/; revision=14526
2003-05-13 04:08:50 +00:00
Gonzalo Paniagua Javier 9aa2e854ab renamed SessionStateModule to Session
svn path=/trunk/mono/; revision=14525
2003-05-13 04:05:45 +00:00
Sebastien Pouliot 64ebc69352 2003-05-12 Sebastien Pouliot <[email protected]>
* PKCS1MaskGenerationMethodTest.cs: Uncommented PKCS#1 v.2.1 vector
	unit test (will work on Mono but fails with MS implementation).
	* RSAOAEPKeyExchangeDeformatterTest.cs: Updated tests vectors for
	both Mono and MS (under Windows XP) generated OAEP results.
	* RSAOAEPKeyExchangeFormatterTest.cs: Update exception handling.

svn path=/trunk/mcs/; revision=14524
2003-05-13 01:50:58 +00:00
Sebastien Pouliot 316dab3714 2003-05-12 Sebastien Pouliot <[email protected]>
* PKCS1MaskGenerationMethod.cs: Added comment to justify why
	the class is no more compatible with MS implementation (the bug
	was preventing OAEP to work properly).

svn path=/trunk/mcs/; revision=14523
2003-05-13 01:46:52 +00:00
Sebastien Pouliot 73bfb00ae9 2003-05-12 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Corrected I2OSP to match PKCS#1 v.2.1 test vector
	and fix the OAEP incompatibility issue.

svn path=/trunk/mcs/; revision=14522
2003-05-13 01:44:47 +00:00
Aleksey Ryabchuk 84b329c11c * Control.cs : ResizeRedraw, removed some unused code
* DomainUpDown.cs :
	* UpDownBase.cs : some improvements

svn path=/trunk/mcs/; revision=14521
2003-05-12 17:42:03 +00:00
Dietmar Maurer 1201444dcf 2003-05-12 Dietmar Maurer <[email protected]>
* loader.c (mono_lookup_pinvoke_call): consider Ansi/Unicode
	attributes (fix for bug 42021).

svn path=/trunk/mono/; revision=14520
2003-05-12 16:01:05 +00:00
Nick Drochak 654c1f8009 2003-05-13 Nick Drochak <[email protected]>
* corlib_linux_test.args: Remove AllTests.cs's and add DictionaryEntry
	* corlib_test.args: Add DictionaryEntry
	* makefile.gnu: compile with debug
	* DictionaryEntry.cs: Added test

svn path=/trunk/mcs/; revision=14519
2003-05-12 15:31:47 +00:00
Dick Porter 8760a62912 2003-05-12 Dick Porter <[email protected]>
* gc.c: Don't run finalizers when the finalizer thread is
	finishing up, because the default domain has already been
	destroyed.

svn path=/trunk/mono/; revision=14518
2003-05-12 15:12:24 +00:00
Rafael Teixeira 550427cc8a Fix: preprocessing directives ARE case insensitive, now.
svn path=/trunk/mcs/; revision=14516
2003-05-12 14:15:27 +00:00
Martin Baulig 591b50dae5 2003-05-12 Martin Baulig <[email protected]>
* statement.cs (VariableInfo): Renamed to LocalInfo since it's
	only used for locals and not for parameters.

svn path=/trunk/mcs/; revision=14515
2003-05-12 13:03:17 +00:00
Zoltan Varga 32047fdf1e 2003-05-12 Zoltan Varga <[email protected]>
* StringTest.cs: New tests for IndexOf and LastIndexOf + conversion
	to Nunit 2.

svn path=/trunk/mcs/; revision=14514
2003-05-12 10:51:46 +00:00
Zoltan Varga 940ce5653f 2003-05-12 Zoltan Varga <[email protected]>
* String.cs: Tweak IndexOf and LastIndexOf to match specification and
	undocumented MS behaviour.

svn path=/trunk/mcs/; revision=14513
2003-05-12 10:47:16 +00:00
Zoltan Varga 6abcc4441e 2003-05-12 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Handle negative zero
	correctly.

	* basic-float.cs: Added tests for negative zero.

svn path=/trunk/mono/; revision=14512
2003-05-12 10:07:14 +00:00
Aleksey Ryabchuk 53655138f1 changes in the code for TAB key handling
svn path=/trunk/mcs/; revision=14511
2003-05-12 10:04:30 +00:00
Miguel de Icaza 80003a0489 Fixes for compiling mPhoto:
2003-05-12  Miguel de Icaza  <[email protected]>

	* support.cs (InternalParameters.ParameterType): Return the
	ExternalType of the parameter.

	* parameter.cs (Parameter.ExternalType): drop the two arguments,
	they were unused.

svn path=/trunk/mcs/; revision=14509
2003-05-12 04:23:41 +00:00
Ben Maurer 542859b1cc 2003-05-11 Ben Maurer <[email protected]>
* *Calendar.cs: Implemented the TwoDigitYearMax property.

svn path=/trunk/mcs/; revision=14508
2003-05-12 03:42:56 +00:00
Gonzalo Paniagua Javier 200ee1f1e8 don't exclude these 2 files any more
svn path=/trunk/mcs/; revision=14507
2003-05-12 02:25:53 +00:00
Miguel de Icaza d54411de4f 2003-05-11 Miguel de Icaza <[email protected]>
* class.cs (MethodData.Define): Do not set the `newslot' on
	interface members, if they are also flagged as "override".

	* expression.cs (UnaryMutator.EmitCode): Simple workaround to emit
	better code for ++i and i++.  This only works for static fields
	and local variables.

svn path=/trunk/mcs/; revision=14506
2003-05-12 00:09:43 +00:00
Miguel de Icaza 54104e1aa1 2003-05-11 Miguel de Icaza <[email protected]>
* string-icalls.c (ves_icall_System_String_ctor_chara_int_int): if
	value is null, we should throw an exception.   This is slightly
	different than the other conventions used for the constructor.

svn path=/trunk/mono/; revision=14505
2003-05-11 23:52:40 +00:00
Gonzalo Paniagua Javier 4cecdbb0fb 2003-05-12 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: fixed windows build.

svn path=/trunk/mono/; revision=14504
2003-05-11 23:40:52 +00:00
Jackson Harper e9ee0b6cd3 * MethodDef.cs: Add named param table and methods to get named param
positions. Add method to get named local variables slot
	number. Make sure param_lists aren't null when defining them. Add
	specialname and rtspecialname attributes if the method being
	defined is named '.ctor' or '.cctor'. Add new method for creating
	signatures using a list of typerefs.
	* GlobalMethodRef.cs: Use new CreateSignature method that takes an
	array of typerefs.
	* MethodRef.cs: Use new CreateSignature method
	* InstrTable.cs: Use INSTR_LOCAL and INSTR_PARAM tokens for
	instructions that take local and param operands.

svn path=/trunk/mcs/; revision=14503
2003-05-11 23:38:53 +00:00
Jackson Harper 7127df5812 * ILParser.jay: Add tokens for instructions that take param and
local args. Do not create empty lists for sig_args and
	type_lists. Add param and local instructions.

svn path=/trunk/mcs/; revision=14502
2003-05-11 23:37:23 +00:00
Jackson Harper 873a4d0b4a * TypeDef.cs: Add named param table and methods to get named param
positions. Add method to get named local variables slot
	number. Make sure param_lists aren't null when defining them. Add
	specialname and rtspecialname attributes if the method being
	defined is named '.ctor' or '.cctor'. Add new method for creating
	signatures using a list of typerefs.
	* GlobalMethodRef.cs: Use new CreateSignature method that takes an
	array of typerefs.
	* MethodRef.cs: Use new CreateSignature method
	* InstrTable.cs: Use INSTR_LOCAL and INSTR_PARAM tokens for
	instructions that take local and param operands.

svn path=/trunk/mcs/; revision=14501
2003-05-11 23:36:35 +00:00
Miguel de Icaza 86ae020cb4 Fix test
svn path=/trunk/mcs/; revision=14500
2003-05-11 22:45:42 +00:00
Miguel de Icaza 89793e13c8 2003-05-11 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupDeclSpace): Add new method, sometimes we
	want to pull the DeclSpace out of the builder_to_declspace instead
	of the TypeBuilder (like in TypeContainer.FindMembers).

	* class.cs (TypeContainer.FindMembers): Use LookupDeclSpace
	instead of LookupTypeContainer.  Fixes the crash on .NET for
	looking up interface members.

svn path=/trunk/mcs/; revision=14499
2003-05-11 21:38:54 +00:00
Miguel de Icaza df07cbcc73 2003-05-11 Miguel de Icaza <[email protected]>
* const.cs: Create our own emit context during the Definition
	stage, so that constants are evaluated in the proper context, when
	a recursive definition happens.

svn path=/trunk/mcs/; revision=14498
2003-05-11 21:10:16 +00:00
Miguel de Icaza fc0570d6c7 Flooosh
svn path=/trunk/mono/; revision=14497
2003-05-11 20:21:36 +00:00
Martin Baulig f30ecb39d1 2003-05-11 Martin Baulig <[email protected]>
* test-193.cs: New test for bug #39828.

svn path=/trunk/mcs/; revision=14496
2003-05-11 20:08:53 +00:00
Martin Baulig 048c6c0601 2003-05-11 Martin Baulig <[email protected]>
* statement.cs (Block.CreateSwitchBlock): New method.  Creates a
	new block for a switch section.
	(Block.AddLabel, Block.LookupLabel): If we're a switch section, do
	the adding/lookup in the switch block.  Fixes #39828.

svn path=/trunk/mcs/; revision=14495
2003-05-11 20:07:59 +00:00
Gonzalo Paniagua Javier c1cd932f7a Really revert Jaime's patch
svn path=/trunk/mcs/; revision=14493
2003-05-11 17:36:53 +00:00
Jaime Anguiano Olarra 5881f36bab Fixed.
svn path=/trunk/mcs/; revision=14492
2003-05-11 16:57:06 +00:00
Gonzalo Paniagua Javier e1dee28d8a 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: fixed bug #42739.

svn path=/trunk/mcs/; revision=14491
2003-05-11 16:36:02 +00:00
Miguel de Icaza d0c3b87e3a Various changes, they send the the SOAP request, now XmlSerialization is required
+2003-04-30  Miguel de Icaza  <[email protected]>
+
+	* SoapHttpClientProtocol.cs: Flag the methods in the chain that
+	gets the caller method as non-inlineable.

svn path=/trunk/mcs/; revision=14490
2003-05-11 16:15:05 +00:00
Jackson Harper ff7d0ad6ad * ILParser.jay: Set size and packing information for types
svn path=/trunk/mcs/; revision=14489
2003-05-11 16:09:38 +00:00
Jackson Harper 017fbd9bfd * TypeDef.cs: Add size and packing information
svn path=/trunk/mcs/; revision=14488
2003-05-11 16:08:10 +00:00
Jackson Harper 9c86be20de * PEAPI.cs: The class size in class layout metadata table is a
uint not a short.

svn path=/trunk/mcs/; revision=14487
2003-05-11 15:56:06 +00:00
Nick Drochak 1394470891 Oops
svn path=/trunk/mono/; revision=14486
2003-05-11 13:58:20 +00:00
Nick Drochak c349751d28 Modernize a bit. Remove all nunit v1 references.
svn path=/trunk/mono/; revision=14485
2003-05-11 13:53:30 +00:00
Paolo Molaro 4bf93d5c5c Sun May 11 14:56:27 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg, basic-long.cs, exceptions.cs: handle
	a couple of missing operations for long casts, with test cases.

svn path=/trunk/mono/; revision=14484
2003-05-11 13:06:12 +00:00
Jaime Anguiano Olarra 0b0a16e733 One check we were missing in one of the CreateInstance() methods
svn path=/trunk/mcs/; revision=14483
2003-05-11 12:54:24 +00:00
Miguel de Icaza 94620f56f6 2003-05-11 Miguel de Icaza <[email protected]>
* Binder.cs (ChangeType): Very simplistic change.  Am not sure if
	it is correct, but it makes RemotingCorba move along a bit more
	(Remoting.Corba invokes Binder.ConvertArgs, which calls
	Binder.ChangeType with an Attribute [] to Object []).

svn path=/trunk/mcs/; revision=14482
2003-05-11 05:51:07 +00:00
Gonzalo Paniagua Javier a1c7a02f7d 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: fixed bug #42747.

svn path=/trunk/mcs/; revision=14479
2003-05-11 05:25:41 +00:00
Jackson Harper 3388de5307 * ILParser.jay: Add field instructions
svn path=/trunk/mcs/; revision=14478
2003-05-11 04:01:18 +00:00
Jackson Harper 1c36df336a Add field types to build.
svn path=/trunk/mcs/; revision=14477
2003-05-11 04:00:38 +00:00
Jackson Harper 046907b25f * IFieldRef.cs: New file - interface field references must implement
* ExternFieldRef.cs: New file - Reference to a field in another
	assembly
	* FieldRef.cs: New file - Reference to a field in this assembly
	* GlobalFieldRef.cs: New file - Reference to a global field
	* FieldInstr.cs: New file - Instruction that takes a field
	instruction
	* CodeGen.cs: Add method to resolve global methods
	* ExternTypeRef.cs: Add method to get method references
	* FieldDef.cs: Allow methods to be resolved before being defined
	* IClassRef.cs: Add method to get field references.
	* TypeDef.cs: Add method to resolve member fields.
	* TypeRef.cs: Add method to get field references

svn path=/trunk/mcs/; revision=14476
2003-05-11 04:00:02 +00:00
Gonzalo Paniagua Javier 7707a5ccea 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* exceptions-x86.c: fixed small leaks in mono_arch_handle_exception.

svn path=/trunk/mono/; revision=14475
2003-05-11 02:54:06 +00:00
Gonzalo Paniagua Javier 5c81aecb4d Added Lupus' bug check list to be used when reporting bugs
svn path=/trunk/mono/; revision=14474
2003-05-11 02:35:23 +00:00
Gonzalo Paniagua Javier 9c16eea9ca 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* FormatterServices.cs: patch from Jean Marc that fixes bug #42742.

svn path=/trunk/mcs/; revision=14473
2003-05-11 01:58:21 +00:00
Miguel de Icaza 210c381642 2003-05-10 Miguel de Icaza <[email protected]>
* Encoding.cs (GetEncoding): Add all the aliases documented in the
	framework.  We were missing a few.

	Reorganize the table.  Also, convert the input name into the
	lower-case - to _ before we compare against our table.

svn path=/trunk/mcs/; revision=14472
2003-05-11 01:43:08 +00:00
Gonzalo Paniagua Javier 79e63b244b 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: patch by Jerome Laban that fixes bug #42393.

svn path=/trunk/mono/; revision=14471
2003-05-11 01:34:59 +00:00
Gonzalo Paniagua Javier 30f84fcee3 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
* MulticastOption.cs: patch by Jerome Laban included in bug #42393.

svn path=/trunk/mcs/; revision=14469
2003-05-11 01:32:44 +00:00
Jackson Harper 217f715190 * CodeGen.cs: Store global methods and fields in hashtables to
make lookup easier. Add method to resolve global methods.

svn path=/trunk/mcs/; revision=14468
2003-05-10 21:07:42 +00:00
Jackson Harper ba2604940e * ILParser.jay: Add global method references
svn path=/trunk/mcs/; revision=14467
2003-05-10 21:06:12 +00:00
Jackson Harper 1687268a86 Add global method refs to build.
svn path=/trunk/mcs/; revision=14466
2003-05-10 21:04:45 +00:00
Jackson Harper 0bbdc5cd51 * GlobalMethodRef.cs: New file - A reference to a global method
* CodeGen.cs: Store global methods and fields in hashtables to
	make lookup easier. Add method to resolve global methods.

svn path=/trunk/mcs/; revision=14465
2003-05-10 21:04:14 +00:00
Jackson Harper e9030842b5 * MethodDef.cs: Allways set max stack
svn path=/trunk/mcs/; revision=14464
2003-05-10 20:33:22 +00:00
Jackson Harper 9a4ba1a8cb * ExternTable.cs: Alias corlib to mscorlib since these seem to get
used interchangably

svn path=/trunk/mcs/; revision=14463
2003-05-10 19:38:34 +00:00
Jackson Harper 143d5b2d55 * MethodRef.cs: New file - Reference to a method in this assembly.
svn path=/trunk/mcs/; revision=14462
2003-05-10 19:35:49 +00:00
Jackson Harper 9b3e91165a * ExternTypeRef.cs: Add methods to get classref and methodrefs
svn path=/trunk/mcs/; revision=14461
2003-05-10 19:33:49 +00:00
Jackson Harper ef1312079e * ILParser.jay: Add locals, method references, and method instructions
svn path=/trunk/mcs/; revision=14460
2003-05-10 19:32:05 +00:00
Jackson Harper 57df8f4343 Add new files to build.
svn path=/trunk/mcs/; revision=14459
2003-05-10 19:31:25 +00:00
Jackson Harper 4f2e00496e * IMethodRef.cs: New file - Interface that method references must
implement
	* ExternMethodRef.cs: New file - Reference to a method in another
	assembly
	* Local.cs: New file - A Local variable
	* MethodInstr.cs: New file - an instruction that takes a method
	reference operand
	* IClassRef.cs: Add method to get a method reference from a class
	reference
	* MethodDef.cs: Add ability to resolve methods before defining
	them, add max stack, locals, and entry point. Make CreateSignature
	method public and static so other classes can use it.
	* TypeDef.cs: Store methods and fields in hashtables so they can
	be easily retrieved, add method to resolve member methods.
	* TypeRef.cs: Add method for resolving member methods.

svn path=/trunk/mcs/; revision=14458
2003-05-10 19:30:52 +00:00
Miguel de Icaza f127a45f78 flooosh
svn path=/trunk/mono/; revision=14457
2003-05-10 18:39:44 +00:00
Gonzalo Paniagua Javier 706b73b52b Don't use -C here
svn path=/trunk/mcs/; revision=14456
2003-05-10 14:59:39 +00:00
Gonzalo Paniagua Javier 2a1c8fc40f 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* makefile:
	* makefile.gnu: don't use -C when running make.

svn path=/trunk/mcs/; revision=14455
2003-05-10 14:51:56 +00:00
Sebastien Pouliot 801391605d 2003-05-10 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
	documentation (no public declaration).
	* Transform.cs: Added property XmlResolver Resolver as per framework 1.1
	documentation (no public declaration).

svn path=/trunk/mcs/; revision=14454
2003-05-10 14:47:44 +00:00
Jaime Anguiano Olarra 1e09ac3fab Added missing reference to VBBinder.cs
svn path=/trunk/mcs/; revision=14453
2003-05-10 11:58:16 +00:00
Marco Ridoni 2790d061ce Added GetType
svn path=/trunk/mcs/; revision=14452
2003-05-10 11:24:11 +00:00
Marco Ridoni e16f36ded6 Some late binding changes which somehow got lost on their way to CVS
svn path=/trunk/mcs/; revision=14451
2003-05-10 10:53:41 +00:00
Marco Ridoni 94bc5ac1b0 First implementation for LateIndexGet/Set. Probably missing several special cases
svn path=/trunk/mcs/; revision=14450
2003-05-10 10:42:11 +00:00
Marco Ridoni 04449060d4 First implementation. Probably overlooks many special cases.
svn path=/trunk/mcs/; revision=14449
2003-05-10 10:41:08 +00:00
Gonzalo Paniagua Javier 8a0ad928cb 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: duh! Generate SupportAutoEvents instead
	of AutoEventWireup (which is internal). Thanks to Stuart Ballard for
	reporting.

svn path=/trunk/mcs/; revision=14448
2003-05-10 09:52:59 +00:00
Dick Porter e2323b9814 2003-05-10 Dick Porter <[email protected]>
* io.c (CopyFile): Copy file mode as well as file data.  Based on
	suggestion by Giuseppe Greco <[email protected]>, bug
	42706.

svn path=/trunk/mono/; revision=14447
2003-05-10 09:43:27 +00:00
Zoltan Varga fe8647ed77 2003-05-10 Zoltan Varga <[email protected]>
* object.c (mono_string_new_wrapper): Compatibility fix for MS
	compilers.

svn path=/trunk/mono/; revision=14446
2003-05-10 09:16:43 +00:00
Marco Ridoni e33b741601 Small fixes for the case when no main class is supplied
svn path=/trunk/mcs/; revision=14445
2003-05-10 08:58:28 +00:00
Marco Ridoni 10c2432620 Small fixes for #End Region / #End If
svn path=/trunk/mcs/; revision=14444
2003-05-10 08:50:29 +00:00
Marco Ridoni f9ae1ad45d Fixed Not operator
It is possible to get a New instance without parentheses

svn path=/trunk/mcs/; revision=14443
2003-05-10 08:49:56 +00:00
Martin Willemoes Hansen 16eb52c822 * scripts/Makefile.am: Added monoresgen secutil sqlsharp
shell wrapper scripts.

svn path=/trunk/mono/; revision=14442
2003-05-10 08:32:48 +00:00
Gonzalo Paniagua Javier 5b714e8683 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: applied patch for bug #39926. Thanks to Jean Marc and
	Jaime.

svn path=/trunk/mcs/; revision=14441
2003-05-10 03:46:41 +00:00
Gonzalo Paniagua Javier 9f9e776fc6 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: fixed bug #41397.

svn path=/trunk/mcs/; revision=14440
2003-05-10 03:24:31 +00:00
Gonzalo Paniagua Javier b334f97c1a 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* StringBuilderTest.cs: added replace tests from bug #41397 by
	<[email protected]>>.

svn path=/trunk/mcs/; revision=14439
2003-05-10 03:23:01 +00:00
Sebastien Pouliot 8ae5c2587f 2003-05-09 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Class is now sealed in v.1.1.
	* KeySizes.cs: Class is now sealed in v.1.1.
	* MD5CryptoServiceProvider.cs: Class is now sealed in v.1.1.
	* RNGCryptoServiceProvider.cs: Class is now sealed in v.1.1.

svn path=/trunk/mcs/; revision=14438
2003-05-10 03:20:48 +00:00
Gonzalo Paniagua Javier c6a26cbde5 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* String.cs: fixed bug #41411 and another similar problem in
	LastIndexOf (string).

svn path=/trunk/mcs/; revision=14437
2003-05-10 03:03:16 +00:00
Sebastien Pouliot b5136ff9d7 2003-05-09 Sebastien Pouliot <[email protected]>
* unix.args: added System.Security/AllowPartiallyTrustedCallersAttribute.cs

svn path=/trunk/mcs/; revision=14436
2003-05-10 02:55:24 +00:00
Sebastien Pouliot 8d194cc69b 2003-05-09 Sebastien Pouliot <[email protected]>
* AllowPartiallyTrustedCallersAttribute.cs: New. Class was missing
	from original 1.0 documentation (but inclufed in framework 1.0)

svn path=/trunk/mcs/; revision=14435
2003-05-10 02:54:16 +00:00
Gonzalo Paniagua Javier 4b2478eb6b 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs:
	(check_type): fixed bug #41655.

svn path=/trunk/mcs/; revision=14433
2003-05-10 02:28:49 +00:00
Gonzalo Paniagua Javier 3e59c573a2 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added missing file.
	* System.Xml.Serialization/XmlReflectionImporter.cs: created an
	instance field because GetTypeData method of TypeTranslator is not
	static.

	This just fixes the build, but the changes may NOT be correct.

svn path=/trunk/mcs/; revision=14432
2003-05-10 01:57:04 +00:00
Gonzalo Paniagua Javier 679d579ad0 2003-05-10 Gonzalo Paniagua Javier <[email protected]>
* String.cs: patch by Jean Marc <[email protected]> that fixes
	bug #42695.

svn path=/trunk/mcs/; revision=14431
2003-05-10 01:07:20 +00:00
Sergey Chaban 76c57c0f02 Compatibility fixes for MS compilers and WinCE build;
svn path=/trunk/mono/; revision=14430
2003-05-09 22:40:32 +00:00
Atsushi Eno 4a45acd2ca 2003-05-10 Atsushi Enomoto <[email protected]>
* Added TypeTableEntry.cs.
	* TypeTranslator.cs : changed for non-static use.
	* XmlAttributes.cs : XmlType attribute support for GetAttributeName()
	  and GetElementName(). Bugfix so that if any XmlElementAttribute
	  exists after non-typed XmlElementAttribute then it might be ignored.
	  Added GetElementIsNullable().
	* XmlSerializer.cs :
	  Introduced TypeTablePool and TypeTableEntry and erased ambiguous
	  Object memberObj[4].
	  Deserialize() now uses XmlReader.Depth to check its depth.
	  Serialize() for non-XmlReader arguments now always write xmldecl.
	  SerializeBuiltin() now explicitly requires Type to support xsi:nil,
	  and handles XmlQualifiedName.
	  Separated SerializeType () from Serialize().
	  Separated WriteCollectionElementMember(), IsFieldTypeSerializable(),
	  IsPropertyTypeSerializable() from SerializeMembers().
	  SerializeMembers() is now capable of null value and actual type,
	  which should be included by XmlIncludeAttribute and so on.
	  Renamed SerializeArray() to SerializeArrayContent(), and added
	  SerializeCollectionContent().
	  SerializeMembers() now requries XmlSerializerNamespaces (not used yet).
	  FillTypeTable() is now aware of XmlInclude attributes.
	  FillEnum() should not have different type table content from others.

svn path=/trunk/mcs/; revision=14429
2003-05-09 19:14:16 +00:00
Atsushi Eno 305ab3083d 2003-05-10 Atsushi Enomoto <[email protected]>
* added XmlSerializationWriterTests.cs. (by Erik)

svn path=/trunk/mcs/; revision=14428
2003-05-09 19:11:25 +00:00
Miguel de Icaza 93c6cb5fff 2003-05-09 Miguel de Icaza <[email protected]>
* expression.cs (UnaryMutator.LoadOneAndEmitOp): Missing
	functionality: I needed to convert the data after I had performed
	the add/sub operation into the operands type size.

svn path=/trunk/mcs/; revision=14427
2003-05-09 18:10:10 +00:00
Miguel de Icaza 3b89e5ad49 2003-05-09 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion): When boxing an interface
	pass the type for the box operation, otherwise the resulting
	object would have been of type object.

	(BoxedCast): Add constructor to specify the type to box as.

svn path=/trunk/mcs/; revision=14426
2003-05-09 17:33:31 +00:00
Miguel de Icaza be610e10fe Improve test
svn path=/trunk/mcs/; revision=14425
2003-05-09 17:33:11 +00:00
Aleksey Ryabchuk 845923bbfb * Control.cs
* Form.cs
	* GroupBox.cs
	* Label.cs
	* UpDownBase.cs : some new stuff related to focus movement by the TAB key

svn path=/trunk/mcs/; revision=14423
2003-05-09 16:24:24 +00:00
Gonzalo Paniagua Javier 837fb01764 2003-05-09 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumnCollection.cs: added missing return in RemoveAt.

svn path=/trunk/mcs/; revision=14422
2003-05-09 15:47:30 +00:00
Gonzalo Paniagua Javier cc4bff9ea0 2003-05-09 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumnCollection.cs: fixed LoadViewState for the columns.
	Don't save ViewState is the number of columns is 0.

svn path=/trunk/mcs/; revision=14421
2003-05-09 15:33:44 +00:00
Zoltan Varga 31d5f8d979 2003-05-09 Zoltan Varga <[email protected]>
* MulticastDelegate.cs (GetInvocationList): Avoid ArrayList
	construction if the delegate list only has one element.

svn path=/trunk/mcs/; revision=14420
2003-05-09 15:05:05 +00:00
Zoltan Varga 2433678f67 2003-05-09 Zoltan Varga <[email protected]>
* class.c (mono_class_layout_fields): Add experimental GC aware
	auto layout facility. Requires class library changes to work correctly.

	(mono_class_setup_vtable): Avoid overriding explicit interface
	method implementations. Fixes iface3.exe test.

	* object.c (mono_class_compute_gc_descriptor): Type I can't hold an
	object reference.
	(mono_array_new_specific): Add MONO_ARCH_SAVE_REGS.
	(mono_string_new_wrapper): Add MONO_ARCH_SAVE_REGS.

	* metadata.h: Add new type classification macro which determines
	whenever the type holds an object reference.

svn path=/trunk/mono/; revision=14419
2003-05-09 14:07:49 +00:00
Dietmar Maurer 4b11af3382 2003-05-09 Dietmar Maurer <[email protected]>
* mini-x86.c (mono_arch_emit_prolog): avoid reallocs with better
	code size estimation.

svn path=/trunk/mono/; revision=14418
2003-05-09 13:38:34 +00:00
Atsushi Eno 3e9ed3ed09 2003-05-09 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : this time, only replaced spaces with tabs.

svn path=/trunk/mcs/; revision=14414
2003-05-09 02:49:33 +00:00
Ben Maurer 9efcf7d116 2003-05-08 Ben Maurer <[email protected]>
* Path.cs
	(CanonicalizePath) Fixed bug #42631, which duplicated the
	root part of the path under Windows.

svn path=/trunk/mcs/; revision=14412
2003-05-09 02:06:31 +00:00
Gonzalo Paniagua Javier 13c51db2b2 added new handler for machine.config
svn path=/trunk/mcs/; revision=14411
2003-05-09 00:00:16 +00:00
Gonzalo Paniagua Javier b124445a1b fixed non ASCII chars
svn path=/trunk/mono/; revision=14410
2003-05-08 23:55:14 +00:00
Joel Basson 59e37d24bb 2003-05-09 Joel Basson <[email protected]>
* Added many new properties to Combo.cs
* Fixed the TextBox.Text get property
* Fixed some properties in Form.cs
* Small code cleanups

svn path=/trunk/mcs/; revision=14409
2003-05-08 23:54:15 +00:00
Joel Basson 8c28f08ba3 *** empty log message ***
svn path=/trunk/mono/; revision=14408
2003-05-08 23:36:03 +00:00
Gonzalo Paniagua Javier 35245b3929 added section
svn path=/trunk/mono/; revision=14407
2003-05-08 23:34:40 +00:00
Zoltan Varga 25ffc8bd72 2003-05-08 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am:
	- Compile with mcs.
	- Disable some warnings.
	- Added executables to clean target.
	- Make testjit the default target.
	- Print list of failed tests at the end of a test run.
	- Abort tests when Ctrl-C is pressed.

	* mono/tests/test-driver: Return with a special exit code when
	SIGINT is detected.

	* mono/tests/checked.cs: Make it compile.

svn path=/trunk/mono/; revision=14406
2003-05-08 21:33:17 +00:00
Marco Ridoni 1314549912 Commented out some debugging output
svn path=/trunk/mcs/; revision=14404
2003-05-08 21:24:56 +00:00
Marco Ridoni d4aabcd209 Added OrElse/AndAlso (still not working correctly, though)
svn path=/trunk/mcs/; revision=14403
2003-05-08 21:24:32 +00:00
Marco Ridoni a8ca133aa4 Fixed Is operator
Fixed And/Or operator

svn path=/trunk/mcs/; revision=14402
2003-05-08 21:07:54 +00:00
Marco Ridoni f1acfa637c Added a special case for keywords used in qualified identifiers
svn path=/trunk/mcs/; revision=14400
2003-05-08 21:00:31 +00:00
Marco Ridoni 7391a8e07e Methods with no arguments can be invoked without parentheses
svn path=/trunk/mcs/; revision=14399
2003-05-08 20:54:28 +00:00
Marco Ridoni 496951de64 Improved handling of MainClass
svn path=/trunk/mcs/; revision=14398
2003-05-08 20:52:46 +00:00
Ville Palo d7744f61d7 2003-05-08 Ville Palo <[email protected]>
* corlib_test.args: added System.IO.FileSystemInfoTest
	* corlib_linux_test_args: added System.IO.FileSystemInfoTest

svn path=/trunk/mcs/; revision=14394
2003-05-08 19:12:47 +00:00
Ville Palo 5d5db19925 2003-05-08 Ville Palo <[email protected]>
* FileSystemInfo.cs: Added 1.1 properties LastAccessTimeUtc,
	LastWriteTimeUtc and CreationTimeUtc

svn path=/trunk/mcs/; revision=14393
2003-05-08 19:05:01 +00:00
Ville Palo 079b762a6c 2003-05-98 Ville Palo <[email protected]>
* FileSystemInfoTest.cs; new file

svn path=/trunk/mcs/; revision=14392
2003-05-08 18:01:14 +00:00
Aleksey Ryabchuk b0435a19af * Control.cs : started implementation of keyboard handling
* CroupBox.cs : set UserPaint style
	* TextBoxBase.cs : set subclass flag to allow catching of keyboard events

svn path=/trunk/mcs/; revision=14391
2003-05-08 16:43:28 +00:00
Dietmar Maurer 5a615a1e68 2003-05-08 Dietmar Maurer <[email protected]>
* mini.c (mono_jit_create_remoting_trampoline): make it work with
	abstract methods (fix bug 42542)

svn path=/trunk/mono/; revision=14390
2003-05-08 13:37:44 +00:00
Dietmar Maurer 557cdba479 2003-05-08 Dietmar Maurer <[email protected]>
* aot.c: add ability to handle array types

svn path=/trunk/mono/; revision=14389
2003-05-08 13:08:32 +00:00
Zoltan Varga 2371f8899a 2003-05-08 Zoltan Varga <[email protected]>
* mini.c: Call the _specific versions of the object allocation
	functions if possible.

svn path=/trunk/mono/; revision=14388
2003-05-08 11:23:12 +00:00
Martin Willemoes Hansen bccc2466ab * da-DK.xml: Updated
* da.xml: Updated

svn path=/trunk/mcs/; revision=14387
2003-05-08 11:18:44 +00:00
Dietmar Maurer 9a49e79b00 2003-05-08 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): cleanups

svn path=/trunk/mono/; revision=14386
2003-05-08 09:44:15 +00:00
Ben Maurer 513d98ab98 2003-05-07 Ben Maurer <[email protected]>
* Path.cs
	(GetPathRoot) Added support for UNC paths.
	(CanonicalizePath) Added optimizations per Miguel's requests.

	* UriTest.cs: added tests for UNIX file paths.

svn path=/trunk/mcs/; revision=14384
2003-05-08 03:11:04 +00:00
Ben Maurer 347a32ffdd 2003-05-07 Ben Maurer <[email protected]>
* Path.cs
	(GetPathRoot) Added support for UNC paths.
	(CanonicalizePath) Added optimizations per Miguel's requests.
	* PathTest.cs
	Even more GetFullPath () tests. Includes UNC tests.

svn path=/trunk/mcs/; revision=14383
2003-05-08 03:08:52 +00:00
Jackson Harper 15e99f6774 * ILParser.jay: Add type instructions. NOTE - type_spec is not
fully implemented yet, so this has some explosive potential.

svn path=/trunk/mcs/; revision=14382
2003-05-08 03:00:23 +00:00
Jackson Harper c3991b2790 Add TypeInstr to build.
svn path=/trunk/mcs/; revision=14381
2003-05-08 02:58:02 +00:00
Jackson Harper 0d5a6bfb8a * TypeInstr.cs: New file - implementation of instructions that
take a single type instruction.

svn path=/trunk/mcs/; revision=14380
2003-05-08 02:56:52 +00:00
Miguel de Icaza aadd306436 Update
svn path=/trunk/mono/; revision=14379
2003-05-07 20:29:12 +00:00
Miguel de Icaza 45888a27e1 2003-05-07 Miguel de Icaza <[email protected]>
Patches from Igor Nosyryev <[email protected]>

	* TdsComm.cs: (GetString): GetString adds extra byte to a string
	at end. It suppose to be '\0', but '\0' is valid value in .NET
	string, so this byte must not be used.

	* Tds.cs (GetDecimalValue):Method reads extra byte if a DECIMAL
	field contains NULL. As a result server's response is parsed
	incorrectly and this method fires an exception.

svn path=/trunk/mcs/; revision=14378
2003-05-07 19:53:50 +00:00
Paolo Molaro dfed541c90 Build fix for the no gc case.
svn path=/trunk/mono/; revision=14377
2003-05-07 16:33:29 +00:00
Zoltan Varga aef841ed37 2003-05-07 Zoltan Varga <[email protected]>
* gc.c (finalizer_thread): Work around a GC bug.

svn path=/trunk/mono/; revision=14376
2003-05-07 15:36:55 +00:00
Dietmar Maurer d199ad6aa9 2003-05-07 Dietmar Maurer <[email protected]>
* marshal.c (emit_struct_conv): allow unions

svn path=/trunk/mono/; revision=14375
2003-05-07 15:25:24 +00:00
Dietmar Maurer fefae3e10a 2003-05-07 Dietmar Maurer <[email protected]>
* class.c (class_compute_field_layout): added patches from Jerome Laban <[email protected]>

svn path=/trunk/mono/; revision=14374
2003-05-07 15:03:47 +00:00
Paolo Molaro 17c4f0c367 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <[email protected]>
* main.c: output custom attributes for method parameters.

svn path=/trunk/mono/; revision=14373
2003-05-07 14:58:17 +00:00
Miguel de Icaza 070bffbeb3 2003-05-07 Miguel de Icaza <[email protected]>
* iterators.cs: I was reusing the `count' variable inadvertently,
	take steps to not allow this to happen.

svn path=/trunk/mcs/; revision=14372
2003-05-07 14:49:15 +00:00
Aleksey Ryabchuk 0993779588 * Control.cs : static RegisterDefaultWindowClass method was added
* ScrollableControl.cs : registration of "mono_scrollable_control" was moved to Control class
	* win32functions.cs : new constant DEFAULT_WINDOW_CLASS
	* PictureBox.cs : implemented

svn path=/trunk/mcs/; revision=14371
2003-05-07 14:46:24 +00:00
Ville Palo aa71caf8c6 2003-05-06 Ville Palo <[email protected]>
* BufferedStream.cs:
	  - Removed unusefull code.
	  - Added ObjectDisposedException to Position
	  - Dont flush if stream is allready closed.
	  - Flush throws also ObjectDisposedException.
	* Directory.cs:
	  - GetFileSystemEtries: ArgumentNullException if pattern is null
	* DirectoryInfo.cs: Fixed little MoveTo () bug.
	* FileInfo.cs:
	  - Exists: If file does not exists when instance is created the
	  value of the Exists property does not change even if file is created
	  afterwards.
	  - Delete: If path is a directory UnauthorizedException is thrown.
	  - CopyTo: Now we can overwrite file if wanted.
	* Path.cs:
	  - GetFullPath: Now throws exception when path is "   ".

svn path=/trunk/mcs/; revision=14370
2003-05-07 14:43:29 +00:00
Paolo Molaro be7c5698cf Wed May 7 16:24:43 CEST 2003 Paolo Molaro <[email protected]>
* main.c: output nested types inside their nesting class.

svn path=/trunk/mono/; revision=14369
2003-05-07 14:32:35 +00:00
Johannes Roith 384f4a2aa3 workaround to get the 0.24 release working.
svn path=/trunk/mcs/; revision=14368
2003-05-07 14:15:52 +00:00
Aleksey Ryabchuk 5901036069 * Control.cs : use WS_OVERLAPPED instead of WS_OVERLAPPEDWINDOW, update text field in get Text property
* TextBox.cs : use styles provided by TextBoxBase
	* TextBoxBase.cs : more methods and properties were implemented
	* win32enums.cs  : messages and notifications for EDIT control

svn path=/trunk/mcs/; revision=14367
2003-05-07 11:36:41 +00:00
Jackson Harper 13df7316a9 * ILParser.jay: Remove dotted_name, it is not used at all
anymore. vtattr only take an int64 param, this fix gets rid of all
	of the remaining reduce/reduce conflicts

svn path=/trunk/mcs/; revision=14365
2003-05-07 07:25:20 +00:00
Jackson Harper 570b2a420b * ILParser.jay: Remove extraneous dotted_name, also make comp_name
contain dotted_name logic. Oh how I will miss the 301
	reduce/reduce conflicts these small changes fixed :-)

svn path=/trunk/mcs/; revision=14364
2003-05-07 07:11:54 +00:00
Sergey Chaban 02df3b63e1 util.c: added GetModuleFilenameWrapper for WinCE;
svn path=/trunk/mono/; revision=14363
2003-05-07 06:44:17 +00:00
Joel Basson 26d486557a 2003-05-07 Joel Basson <[email protected]>
* Added ComboBox.Items.Add and ComboBox.Items.Add to ComboBox.cs
* FontDialog.cs
* Added new Demo2.cs test app

svn path=/trunk/mcs/; revision=14362
2003-05-07 04:24:23 +00:00
Miguel de Icaza 0bd53791c3 More candy
svn path=/trunk/mono/; revision=14361
2003-05-07 03:44:12 +00:00
Miguel de Icaza f0822f0c7d Spice up
svn path=/trunk/mono/; revision=14360
2003-05-07 03:28:55 +00:00
Miguel de Icaza f31e039622 Flush main page
svn path=/trunk/mono/; revision=14359
2003-05-07 03:25:20 +00:00
Joel Basson dd3ab2a7d7 2003-05-07 Joel Basson <[email protected]>
* Just a bugfix to demo.cs

svn path=/trunk/mcs/; revision=14358
2003-05-06 23:54:19 +00:00
Miguel de Icaza 6324991ff7 Remove team
svn path=/trunk/mono/; revision=14356
2003-05-06 21:33:02 +00:00
Miguel de Icaza 504796f325 Update version
svn path=/trunk/mcs/; revision=14353
2003-05-06 21:04:41 +00:00
Miguel de Icaza 4097197b5b Bump
svn path=/trunk/mono/; revision=14352
2003-05-06 21:04:31 +00:00
Ville Palo 907b5f3a55 2003-05-06 Ville Palo <[email protected]>
* DirectoryInfoTest.cs: Removed OS-specific test

svn path=/trunk/mcs/; revision=14348
2003-05-06 19:24:20 +00:00
Miguel de Icaza 992b2fa4ac Commit pending ChangeLog
svn path=/trunk/mono/; revision=14347
2003-05-06 19:19:47 +00:00
Miguel de Icaza 24bc1e9afd Nothing to see here, move along
svn path=/trunk/mcs/; revision=14346
2003-05-06 19:17:41 +00:00
Gonzalo Paniagua Javier 918a9a6a6e 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* ResourceManager.cs: fixed infinite loop when the resource is not
	found. Also fixes bug #34196.

svn path=/trunk/mcs/; revision=14345
2003-05-06 19:12:13 +00:00
Gonzalo Paniagua Javier 07f42cdd98 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* CompilationException.cs: don't add duplicated lines in the case that
	mcs reports several errors for the same one.

svn path=/trunk/mcs/; revision=14344
2003-05-06 19:11:55 +00:00
Miguel de Icaza f796e120d1 2003-05-06 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Params attributes are encoded
	by creating an array at the point where the params starts and
	putting all those arguments there, then adjusting the size of the
	array.

svn path=/trunk/mcs/; revision=14343
2003-05-06 19:08:32 +00:00
Miguel de Icaza e76a490f7e Improve test
svn path=/trunk/mcs/; revision=14342
2003-05-06 19:03:08 +00:00
Johannes Roith c40955f724 better uninstall
svn path=/trunk/mcs/; revision=14341
2003-05-06 18:37:54 +00:00
Johannes Roith dcecc099ba fix bug
svn path=/trunk/mcs/; revision=14340
2003-05-06 18:15:10 +00:00
Johannes Roith 9b87fbd50b install to program files
svn path=/trunk/mcs/; revision=14339
2003-05-06 17:51:16 +00:00
Johannes Roith 8e94993a63 back to old path
svn path=/trunk/mcs/; revision=14338
2003-05-06 17:19:04 +00:00
Johannes Roith 8a22145116 add cilc wrapper
svn path=/trunk/mcs/; revision=14337
2003-05-06 17:16:29 +00:00
Miguel de Icaza 8c88c840e4 Update copyrights
svn path=/trunk/mcs/; revision=14336
2003-05-06 17:10:37 +00:00
Johannes Roith 3c055d5b4a date
svn path=/trunk/mcs/; revision=14335
2003-05-06 16:58:38 +00:00
Ville Palo 9481364cf0 2003-05-06 Ville Palo <[email protected]>
* corlib_test.args: added System.IO.FileInfoTest and DirectoryInfoTest
	* corlib_linux_test_args: added System.IO.FileInfoTest and
	DirectoryInfoTest

svn path=/trunk/mcs/; revision=14334
2003-05-06 16:04:53 +00:00
Gonzalo Paniagua Javier 1fef52c882 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* handles.c: don't call GC_gcollect when creating new handles.

svn path=/trunk/mono/; revision=14333
2003-05-06 15:53:43 +00:00
Paolo Molaro ff50d92afd Just x86 for this release.
svn path=/trunk/mono/; revision=14332
2003-05-06 15:43:18 +00:00
Ville Palo 4db72d2138 2003-05-06 Ville Palo <[email protected]>
* DirectoryTest: Fixed Utc errors
	* FileTest: Fixes Utc errors. Now these tests works in other
	timezones too.

svn path=/trunk/mcs/; revision=14331
2003-05-06 15:40:26 +00:00
Paolo Molaro 05351d5994 Tue May 6 17:18:33 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: call setlocale ().

svn path=/trunk/mono/; revision=14330
2003-05-06 15:26:29 +00:00
Paolo Molaro d2b02e5877 duh!
svn path=/trunk/mono/; revision=14329
2003-05-06 12:59:04 +00:00
Paolo Molaro a58154b166 2003-05-05 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): dont touch code inside exception clauses (fix bug 38136)

	* exceptions-x86.c (ves_icall_get_frame_info): also skip remoting
	wrappers (fix bug 42122)

svn path=/trunk/mono/; revision=14328
2003-05-06 12:49:48 +00:00
Dietmar Maurer 8b91de5346 fix bug reported by Richard Torkar
svn path=/trunk/mono/; revision=14327
2003-05-06 12:45:29 +00:00
Dietmar Maurer 3a1db558e4 2003-05-06 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): free strings after pinvoke

svn path=/trunk/mono/; revision=14326
2003-05-06 11:56:15 +00:00
Martin Baulig f5fffbf57d 2003-05-06 Martin Baulig <[email protected]>
* mono-debug-debugger.h: #include <mono/io-layer/io-layer.h>.

svn path=/trunk/mono/; revision=14325
2003-05-06 10:49:11 +00:00
Jackson Harper 15aadaa330 * ILParser.jay: Emit INSTR_I8 instructions as int
instructions. Implement label lists, emit switch instruction.

svn path=/trunk/mcs/; revision=14324
2003-05-06 08:00:01 +00:00
Jackson Harper 3259f77d02 Add SwitchInstr.cs to build
svn path=/trunk/mcs/; revision=14323
2003-05-06 07:57:37 +00:00
Jackson Harper 3949ab02b2 * SwitchInstr.cs: New file - implementation of switch instructions
svn path=/trunk/mcs/; revision=14322
2003-05-06 07:57:09 +00:00
Jackson Harper 8860436028 * ILParser.jay: Add labels to methods, add branching instructions.
svn path=/trunk/mcs/; revision=14321
2003-05-06 07:19:02 +00:00
Jackson Harper 551223c4d1 Add BranchInstr to build.
svn path=/trunk/mcs/; revision=14320
2003-05-06 07:17:54 +00:00
Jackson Harper 885ed5b96e * MethodDef.cs: Add ability to add and emit labels
* BranchInstr.cs: New file - Branch instructions

svn path=/trunk/mcs/; revision=14319
2003-05-06 06:54:58 +00:00
Gonzalo Paniagua Javier 44e72453ac 2003-05-06 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpException.cs: encode as HTML the inner exception that
	is appended as a comment at the end of error pages.

	* System.Web.Compilation/AspGenerator.cs: fully support including files,
	ie., treat them just as C treats #includes.

	* System.Web.UI/RootBuilder.cs: throw exception when the tagprefix
	is not valid or not found.

svn path=/trunk/mcs/; revision=14316
2003-05-06 01:31:40 +00:00
Ben Maurer b2e008962d PathTest.cs
Added new tests for GetFullPath () that include a path with
	. and ..

svn path=/trunk/mcs/; revision=14315
2003-05-05 23:10:15 +00:00
Ben Maurer 0040417501 * Directory.cs (GetLogicalDrives) Marked as MonoTODO
because we need to implement the method on Windows.
* Path.cs
	(CanonicalizePath) Added new function to get
	rid of . and .. in path names. Need to figure out what
	other functions should call this.
	(GetFullPath) Added call to the above function. Fixes
	bug 42303

svn path=/trunk/mcs/; revision=14314
2003-05-05 23:07:20 +00:00
Miguel de Icaza ff12eea628 Improve flow tests
svn path=/trunk/mcs/; revision=14313
2003-05-05 21:49:18 +00:00
Miguel de Icaza 23b50fc726 Improve test
svn path=/trunk/mcs/; revision=14312
2003-05-05 21:46:44 +00:00
Miguel de Icaza 213afe01ac 2003-05-05 Miguel de Icaza <[email protected]>
* expression.cs (New.AddressOf): Implement interface
	IMemoryLocation.  This is used when the `new' operator is used in
	the context of an invocation to a method on a value type.

	See http://bugzilla.ximian.com/show_bug.cgi?id=#42390 for an
	example.

svn path=/trunk/mcs/; revision=14311
2003-05-05 21:38:17 +00:00
Miguel de Icaza c0561a28d3 2003-05-05 Miguel de Icaza <[email protected]>
* namespace.cs: Also check the using aliases here.

	* driver.cs: Move the test for using validity after the types have
	been entered, so we do a single pass that also includes the using
	aliases.

svn path=/trunk/mcs/; revision=14310
2003-05-05 21:21:45 +00:00
Miguel de Icaza 31cb7d7d7c 2003-05-05 Miguel de Icaza <[email protected]>
* statement.cs (Try.Resolve): Avoid crashing if there is a failure
	in the regular case.   CreateSiblingForFinally is doing extra
	error checking.

svn path=/trunk/mcs/; revision=14309
2003-05-05 21:05:28 +00:00
Ben Maurer aca89f8243 * AUTHORS: Added self
svn path=/trunk/mcs/; revision=14308
2003-05-05 20:44:16 +00:00
Miguel de Icaza 45a9f53e36 2003-05-05 Miguel de Icaza <[email protected]>
* attribute.cs (GetAttributeArgumentExpression): Store the result
	on an out value, and use the return value to indicate failure
	instead of using null (which is a valid return for Constant.GetValue).

	* statement.cs: Perform the analysis flow for the increment
	portion after the statement, because this will be the real flow of
	execution.  Fixes #42385

svn path=/trunk/mcs/; revision=14307
2003-05-05 20:21:21 +00:00
Ville Palo 784f0b1029 2003-05-05 Ville Palo <[email protected]>
* DirectoryInfoTest.cs: new file.

svn path=/trunk/mcs/; revision=14306
2003-05-05 16:45:34 +00:00
Dietmar Maurer 5da6eb5e70 use jerome's test case instead
svn path=/trunk/mono/; revision=14305
2003-05-05 16:08:50 +00:00
Gonzalo Paniagua Javier c7781c7170 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: return after processing @Register.

svn path=/trunk/mcs/; revision=14304
2003-05-05 15:51:42 +00:00
Johannes Roith 9ba38631dc update windows setup script to 0.24.
svn path=/trunk/mcs/; revision=14302
2003-05-05 15:36:34 +00:00
Dietmar Maurer 6ec02b2f1d another test
svn path=/trunk/mono/; revision=14300
2003-05-05 13:58:00 +00:00
Dietmar Maurer ad80383295 2003-05-05 Dietmar Maurer <[email protected]>
* mini.c (optimize_branches): dont touch code inside exception clauses (fix bug 38136)

svn path=/trunk/mono/; revision=14299
2003-05-05 13:39:57 +00:00
Gonzalo Paniagua Javier 7b43a7b458 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs:
        (Select): don't create arrays if not needed.
        (Poll): call Select_internal directly.

svn path=/trunk/mcs/; revision=14298
2003-05-05 13:36:06 +00:00
Gonzalo Paniagua Javier b5220446d5 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
* io-layer/handles.c: added some debugging code. Call GC_gcollect
	before creating a new handle. It makes Lupus' test run smoother and
	faster (from 62 to 83 request per second). Notice that calling
	GC_finalizer_notifier if needed (GC_should_invoke_finalizer ()) does
	not improve nor degrade the performance, so i don't do it.

	* metadata/socket-io.c:
	(Select_internal): allow NULLs, don't create arrays if not needed.
	Coupled with Socket.cs changes.

	* metadata/threadpool.c:
	(mono_thread_pool_add): use GC_MALLOC to allocate the ASyncCall and
	register a finalizer for it that will close the semaphore handle. This
	fixes the leak and make Lupus' test run with > 4080 loops.

svn path=/trunk/mono/; revision=14297
2003-05-05 13:35:52 +00:00
Atsushi Eno 1f41e79798 2003-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaAnnotation.cs : It depended on incorrect ReadNode().

svn path=/trunk/mcs/; revision=14296
2003-05-05 13:17:45 +00:00
Atsushi Eno 200c1c2393 2003-05-05 Atsushi Enomoto <[email protected]>
* xml.xsd : fixed invalid close tag.

svn path=/trunk/mcs/; revision=14295
2003-05-05 13:15:00 +00:00
Dick Porter c5ace327ac Build fix for cygwin
svn path=/trunk/mono/; revision=14294
2003-05-05 12:56:07 +00:00
Dietmar Maurer b12ed66b9b 2003-05-05 Dietmar Maurer <[email protected]>
* exceptions-x86.c (ves_icall_get_frame_info): also skip remoting
	wrappers (fix bug 42122)

svn path=/trunk/mono/; revision=14293
2003-05-05 11:23:40 +00:00
Dietmar Maurer 9528f1bf08 2003-05-05 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_struct_to_ptr): added fixes from
	Jerome Laban (bug #42287)

svn path=/trunk/mono/; revision=14292
2003-05-05 10:44:58 +00:00
Miguel de Icaza ca65d0afb6 2003-05-05 Miguel de Icaza <[email protected]>
* codegen.cs (EmitContext.EmitArgument,
	EmitContext.EmitStoreArgument): New helper functions when the
	RemapToProxy flag is set.

	* expression.cs (ParameterReference.EmitLdarg): Expose this useful
	function.

	Add support for remapping parameters.

	* iterators.cs: Propagate parameter values;  Store parameter
	values in the proxy classes.

	* ecore.cs (FieldExpr): Fix an obvious bug.  static fields do not
	need a proxy reference;  I do not know what I was thinking

svn path=/trunk/mcs/; revision=14290
2003-05-05 04:18:44 +00:00
Miguel de Icaza 1bae0f1e89 Add new test
svn path=/trunk/mcs/; revision=14289
2003-05-05 04:15:38 +00:00
Miguel de Icaza f3864951f7 2003-05-04 Miguel de Icaza <[email protected]>
* cs-parser.jay (constructor_initializer): catch another error,
	and display nice message.

svn path=/trunk/mcs/; revision=14288
2003-05-05 02:39:53 +00:00
Miguel de Icaza 3aef6ebbbd another
svn path=/trunk/mcs/; revision=14287
2003-05-05 02:17:03 +00:00
Miguel de Icaza c58ff286fa 2003-05-04 Miguel de Icaza <[email protected]>
* cs-parser.jay (field_declaration): catch void field declaration
	to flag a better error.

	* class.cs (MemberBase.CheckBase): Report an error instead of a
	warning if a new protected member is declared in a struct.
	(Field.Define): catch the error of readonly/volatile.

	* ecore.cs (FieldExpr.EmitAssign): reuse the field lookup.

	(FieldExpr.AddressOf): ditto.  Catch error where the address of a
	volatile variable is taken

svn path=/trunk/mcs/; revision=14286
2003-05-05 02:12:29 +00:00
Miguel de Icaza 8a19a04f3a Another error
svn path=/trunk/mcs/; revision=14285
2003-05-05 02:11:32 +00:00
Miguel de Icaza b202f7b5b7 Add new error
svn path=/trunk/mcs/; revision=14284
2003-05-05 02:06:16 +00:00
Miguel de Icaza 6ce07425d7 Add another error
svn path=/trunk/mcs/; revision=14283
2003-05-05 01:59:20 +00:00
Miguel de Icaza 2f1334a84a More errors
svn path=/trunk/mcs/; revision=14282
2003-05-05 01:43:00 +00:00
Miguel de Icaza ef2304ff21 fix
svn path=/trunk/mono/; revision=14281
2003-05-04 23:58:15 +00:00
Gonzalo Paniagua Javier 4af0c80ce6 CompilerParameters.ReferencedAssemblies do not have a set accessor
svn path=/trunk/mcs/; revision=14280
2003-05-04 23:51:16 +00:00
Sebastien Pouliot 054ab5cbfc 2003-05-04 Sebastien Pouliot <[email protected]>
* Updated for screenshots of Certificate Viewer

svn path=/trunk/mono/; revision=14279
2003-05-04 23:30:26 +00:00
Sebastien Pouliot 4204458f55 2003-05-04 Sebastien Pouliot <[email protected]>
Two screenshots of Mono Certificate Viewer (1 SWF and 1 GTK#)

svn path=/trunk/mono/; revision=14278
2003-05-04 23:27:26 +00:00
Atsushi Eno d52f62f25a 2003-05-05 Atsushi Enomoto <[email protected]>
* RdpPattern.cs : added RdpAttribute.expandRef(). UnresolvedRef had
	  remained in attribute patterns.

svn path=/trunk/mcs/; revision=14277
2003-05-04 22:43:38 +00:00
Atsushi Eno 31557e6d45 2003-05-05 Atsushi Enomoto <[email protected]>
* RelaxngReader.cs : ReadExternalRef() hadn't resolved base uri.

svn path=/trunk/mcs/; revision=14276
2003-05-04 22:43:05 +00:00
Jackson Harper 02b027219b * ILParser.jay: Use new MiscInstr.ldstr for ldstr, add INSTR_Rs
svn path=/trunk/mcs/; revision=14275
2003-05-04 21:18:48 +00:00
Jackson Harper 0518f0e355 * ILParser.jay: Use new MiscInstr.ldstr for ldstr, add INSTR_Rs
svn path=/trunk/mcs/; revision=14274
2003-05-04 21:18:10 +00:00
Jackson Harper cc3c144064 Add new instructions to build.
svn path=/trunk/mcs/; revision=14273
2003-05-04 21:15:57 +00:00
Jackson Harper 47e7b00e4f * LdcInstr.cs: New file - lcd* instructions
* MiscInstr.cs: New file - Just an enum that gives me constant
	values for instructions PEAPI does not define in an enum
	* InstrTable.cs: Use new MiscInstr constants instead of string values.

svn path=/trunk/mcs/; revision=14272
2003-05-04 21:15:11 +00:00
Jackson Harper f367fa1a6a * ILParser.jay: Set int64's masquerading as int32 to upper and
lower bounds if neccasary. NEED TO TEST this behavoir on windows.

svn path=/trunk/mcs/; revision=14271
2003-05-04 19:53:30 +00:00
Atsushi Eno 8a10bad05d 2003-05-05 Atsushi Enomoto <[email protected]>
* System.XML_linux_test.args : added XmlConvertTests.cs

svn path=/trunk/mcs/; revision=14270
2003-05-04 19:51:47 +00:00
Atsushi Eno a0d55b7f0e 2003-05-05 Atsushi Enomoto <[email protected]>
* added XmlConvertTests.cs.

svn path=/trunk/mcs/; revision=14269
2003-05-04 19:51:07 +00:00
Atsushi Eno 0ee09c9717 2003-05-05 Atsushi Enomoto <[email protected]>
* ChangeLog : Added missing ChangeLog of 2003-04-25.
	* XmlCustomFormatter.cs : Fixed FromXmlNmTokens() to contain
	  separators. Added experimental method ToEnum().
	* XmlSerializationReader.cs : unconfirmed implementation of
	  ReadSerializable() and ToEnum().
	* XmlSerializationWriter.cs : fixed WriteAttribute() so that if value
	  is null then no output will be written.
	  Fixed WriteStartElement(), WriteElement*() and WriteEmptyTag()
	  to use custom formatted name.

svn path=/trunk/mcs/; revision=14268
2003-05-04 19:48:24 +00:00
Atsushi Eno 64ebf63446 2003-05-05 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
	  EncodeName() now correctly encodes invalid names.
	  Result string of ToString(DateTime) contains "fffffff".

svn path=/trunk/mcs/; revision=14267
2003-05-04 19:46:12 +00:00
Paolo Molaro 503bf31822 Another missing conv nop.
svn path=/trunk/mono/; revision=14265
2003-05-04 18:33:46 +00:00
Martin Baulig e2c4c247eb Ignore methods from other application domains.
svn path=/trunk/mono/; revision=14262
2003-05-04 16:39:04 +00:00
Martin Baulig aa0a95f8df 2003-05-04 Martin Baulig <[email protected]>
* mini.h (mono_jit_init, mono_jit_cleanup): Added prototypes.

	* driver.c: s/MONO_OPT_SAHRED/MONO_OPT_SHARED/g.
	s/mini_set_defaults/mono_set_defaults/g.

	* Makefile.am: Install mini.h, regalloc.h and mini-ops.h.

svn path=/trunk/mono/; revision=14260
2003-05-04 16:33:46 +00:00
Martin Baulig 7f15556100 Ooops, we still need to initialize `image_file'.
svn path=/trunk/mono/; revision=14257
2003-05-04 16:17:43 +00:00
Gonzalo Paniagua Javier 2e75afc53b Set the assembly version correctly
svn path=/trunk/mcs/; revision=14255
2003-05-04 15:15:26 +00:00
Gonzalo Paniagua Javier 10ba48bc8f 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* System.Reflection/Assembly.cs: implemented GetSatelliteAssembly.

	* System.Resources/ResourceManager.cs: enabled the code that calls
	GetSatelliteAssembly and ignore the exception thrown if the assembly
	cannot be loaded.

svn path=/trunk/mcs/; revision=14252
2003-05-04 14:49:01 +00:00
Alp Toker b7165d94db Linebreak
svn path=/trunk/mono/; revision=14251
2003-05-04 13:21:58 +00:00
Martin Baulig 607531470b 2003-05-04 Martin Baulig <[email protected]>
* driver.c: s/mini_parse_default_optimizations/mono_parse_default_optimizations/g.

svn path=/trunk/mono/; revision=14249
2003-05-04 12:47:46 +00:00
Martin Baulig 35c5ebc55c 2003-05-02 Martin Baulig <[email protected]>
* debug-mono-symfile.h
	(MonoSymbolFile): Moved declaration into mono-debug.h.
	(MonoDebugMethodJitInfo): Likewise.
	(mono_debug_open_mono_symbol_file): Take the MonoDebugHandle as
	argument.
	(_mono_debug_address_from_il_offset): Take a
	MonoDebugMethodJitInfo instead of a MonoDebugMethodInfo.

	* mono-debug.h
	(MonoDebugDomainData): New struct.
	(mono_debug_get_domain_data): New function.
	(mono_debug_add_method): Take an additional `MonoDomain *'
	argument.
	(mono_debug_source_location_from_address): Likewise.
	(mono_debug_il_offset_from_address): Likewise.
	(mono_debug_address_from_il_offset): Likewise.

svn path=/trunk/mono/; revision=14245
2003-05-04 12:24:27 +00:00
Paolo Molaro 2c63947362 Sun May 4 11:48:08 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg: add missing lreg: OP_LCONV_TO_U8 (lreg) rule
	(reported by Don Roberts).

svn path=/trunk/mono/; revision=14244
2003-05-04 09:56:27 +00:00
Ville Palo 3be8442e3d 2003-05-04 Ville Palo <[email protected]>
* FileInfoTest.cs: new file.
	* FileStreamTest.cs: new tests for Seek ()

svn path=/trunk/mcs/; revision=14243
2003-05-04 09:38:30 +00:00
Gonzalo Paniagua Javier a08b0012ec 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs:
	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/TagType.cs:
	* System.Web.UI/TemplateParser.cs: Added support for server side
	includes.

svn path=/trunk/mcs/; revision=14242
2003-05-04 02:50:04 +00:00
Gonzalo Paniagua Javier b76faa4b6e 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs:
	(.ctor): fixed parameters passed to FileNotFoundException.

svn path=/trunk/mcs/; revision=14241
2003-05-04 02:43:21 +00:00
César Natarén b5d51ec559 Reflect changes from the grammar file
svn path=/trunk/mcs/; revision=14240
2003-05-04 01:57:01 +00:00
César Natarén a29b49da3f Added ChangeLog entry
svn path=/trunk/mcs/; revision=14239
2003-05-04 00:43:52 +00:00
César Natarén 5e14d0427c Added some more lexical and syntatic grammar changes. See ChangeLog entry from 2003-05-03.
svn path=/trunk/mcs/; revision=14238
2003-05-04 00:37:57 +00:00
Ben Maurer 6322ae65d9 *** empty log message ***
svn path=/trunk/mcs/; revision=14237
2003-05-04 00:21:28 +00:00
Gonzalo Paniagua Javier a74989d730 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs: added reader/writer for .po files.

svn path=/trunk/mcs/; revision=14235
2003-05-04 00:02:41 +00:00
Gonzalo Paniagua Javier 66896ebced 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
* ResourceManager.cs: fixed the name for the file when the culture is
	not de invariant culture. Commented out the GetSatelliteAssembly code
	to avoid NotImplementedException being thrown.

svn path=/trunk/mcs/; revision=14234
2003-05-03 23:59:05 +00:00
Ben Maurer bbbe9173a8 Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.
svn path=/trunk/mcs/; revision=14233
2003-05-03 17:41:57 +00:00
Gonzalo Paniagua Javier 7bf1b420b6 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
* HttpWriter.cs: don't do anything in Flush. Fixes #42249.

svn path=/trunk/mcs/; revision=14232
2003-05-03 14:59:14 +00:00
Gonzalo Paniagua Javier df578562f2 2003-05-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/CSCompiler.cs: actually add the list of
	referenced assemblies to the compiler options. Throw a
	CompilationException if there's an error.

	* System.Web.Compilation/CachingCompiler.cs: added a method to compile
	directly from a source file.

	* System.Web.UI/TemplateControl.cs: fixed the flags used to find the
	methods that are automatically hooked up on events.

	* System.Web.UI/TemplateParser.cs: don't compile a source file directly.
	Use the cache instead.

svn path=/trunk/mcs/; revision=14231
2003-05-03 13:50:08 +00:00
Ben Maurer a3f5596b27 * ArrayList.cs
Added methods to support IList wrappers
* ArrayListTest.cs
	Tests for the above* ArrayList.cs
	Added methods to support IList wrappers

svn path=/trunk/mcs/; revision=14229
2003-05-03 00:25:30 +00:00
Alp Toker 16507a9e6c 2003-05-02 Alp Toker <[email protected]>
* data/config.in: new dll mapping entry for libglade

svn path=/trunk/mono/; revision=14227
2003-05-02 22:59:53 +00:00
Miguel de Icaza 15c76f020f Add paragraph
svn path=/trunk/mono/; revision=14226
2003-05-02 22:38:50 +00:00
Miguel de Icaza b376eb89f9 update man page
svn path=/trunk/mono/; revision=14225
2003-05-02 22:37:59 +00:00
Miguel de Icaza fe0b1c7170 2003-05-02 Miguel de Icaza <[email protected]>
* statement.cs (Fixed.Resolve): Report an error if we are not in
	an unsafe context.

svn path=/trunk/mcs/; revision=14223
2003-05-02 22:35:37 +00:00
Miguel de Icaza 6c727c4d22 2003-05-02 Miguel de Icaza <[email protected]>
* XmlReflectionImporter.cs: one of theImportTypeMapping mappings
	had a void return value.

svn path=/trunk/mcs/; revision=14222
2003-05-02 21:28:29 +00:00
Alp Toker fc13afe78f 2003-05-02 Alp Toker <[email protected]>
* cilc.cs: Print usage info

svn path=/trunk/mcs/; revision=14221
2003-05-02 18:47:12 +00:00
Alp Toker 7115299185 Added cilc man page
svn path=/trunk/mono/; revision=14220
2003-05-02 18:45:41 +00:00
Miguel de Icaza bc9f3a243d Add -lm
svn path=/trunk/mono/; revision=14219
2003-05-02 17:44:17 +00:00
Paolo Molaro fbb4c81218 Fri May 2 18:36:45 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: temporarily work around two bugs for this release.

svn path=/trunk/mono/; revision=14218
2003-05-02 16:44:30 +00:00
Aleksey Ryabchuk c77694a885 * Control.cs : call OnTextChange
* UpdownBase.cs 
	* DomainUpDown.cs : some more implementation
	* TextBox.cs : TextAlign, use base.CreateParams
	* TextBoxBase.cs : use base.CreateParams
	* Win32enums.cs : styles for edit box

svn path=/trunk/mcs/; revision=14217
2003-05-02 16:02:37 +00:00
Paolo Molaro 7f6b8a27bc Fri May 2 17:37:29 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: avoid linking libmono with GMODULE_LIBS, because
	that contains -export-dynamic and it makes using the ld script
	useless.
	* mini.h, main.c, driver.c: s/mini_main/mono_main/g.

svn path=/trunk/mono/; revision=14216
2003-05-02 15:46:20 +00:00
Miguel de Icaza 9d08e70799 oops
svn path=/trunk/mono/; revision=14215
2003-05-02 15:33:45 +00:00
Miguel de Icaza 41bb454425 2003-05-02 Miguel de Icaza <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Use explicit file names
	for the target exe binaries.

	Copy cilc.exe and secutil.exe from the right paths to the right
	location.

	Add missing assemblies.

svn path=/trunk/mono/; revision=14214
2003-05-02 15:31:12 +00:00
Miguel de Icaza 3ab11116c6 Small fix
svn path=/trunk/mono/; revision=14213
2003-05-02 15:28:32 +00:00
Dick Porter ce3970277f Forgot this one when making cilc build on cygwin
svn path=/trunk/mcs/; revision=14212
2003-05-02 15:10:57 +00:00
Dick Porter 8feae20143 2003-05-02 Dick Porter <[email protected]>
* sockets.c: Rearrange closesocket() and socket_close_private(),
	and remember to unref the handle, so we don't leak socket handles.
	Fix from Pelle Johnsen <[email protected]>

svn path=/trunk/mono/; revision=14211
2003-05-02 14:52:20 +00:00
Jackson Harper 880551b90b * AssemblyInfo.cs: Bump up version number
svn path=/trunk/mcs/; revision=14210
2003-05-02 14:49:19 +00:00
Paolo Molaro 689f9ce2f3 Fri May 2 12:52:32 CEST 2003 Paolo Molaro <[email protected]>
* mini.h, mini-x86.c, driver.c: disable optimizations not available on a
	specific cpu.

svn path=/trunk/mono/; revision=14209
2003-05-02 11:01:02 +00:00
Dick Porter 375b2929fb Fix cygwin build
svn path=/trunk/mcs/; revision=14208
2003-05-02 10:52:12 +00:00
Gonzalo Paniagua Javier 340a21e940 2003-05-02 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: get the right item Type for the property we're reading
	fromt the data source.

svn path=/trunk/mcs/; revision=14205
2003-05-02 09:57:31 +00:00
Jackson Harper 4607b223d0 * CodeGen.cs: Define the contents of types after all types have
been resolved, this avoids the infinite loop that would occur if a
	type was a member of its base type.
	* TypeDef.cs: Method to define contents after being defined.

svn path=/trunk/mcs/; revision=14204
2003-05-02 06:19:51 +00:00
Jackson Harper b50c86dc49 * TypeManager.cs: Check if type is defined before defining it.
svn path=/trunk/mcs/; revision=14203
2003-05-02 05:58:08 +00:00
Jackson Harper f4c2a7bb73 * TypeManager.cs: Check if type is defined before defining it.
svn path=/trunk/mcs/; revision=14202
2003-05-02 05:58:08 +00:00
Jackson Harper b0d8044623 * ILParser.jay: Fix a bunch of conversions, implement hexbytes
svn path=/trunk/mcs/; revision=14201
2003-05-02 05:55:39 +00:00
Jackson Harper 15db8e68a2 * CodeGen.cs: Add outer classes to typedefs if necesary
* InstrTable.cs: ldtoken instruction is a INSTR_TOK token
	* TypeDef.cs: Add outer class property

svn path=/trunk/mcs/; revision=14200
2003-05-02 05:53:46 +00:00
Pedro Martínez Juliá a82dc0d14e 2003-05-01 Pedro Mart�nez Juli� <[email protected]>
* Environment.cs: Changed the method GetFolderPath because it must
	return at least a directory name (not null).

	* Convert.cs: In ToType, if the destination type is unknown, try to
	cast the value to object (then, the calling method will downcast it
	to the type it wants).

svn path=/trunk/mcs/; revision=14199
2003-05-02 03:42:27 +00:00
Miguel de Icaza ea6e4bea2a 2003-05-01 Miguel de Icaza <[email protected]>
* typemanager.cs: reuse the code that handles type clashes for
	delegates and enumerations.

svn path=/trunk/mcs/; revision=14198
2003-05-02 01:54:32 +00:00
Duncan Mak b56bccbbe9 * makefile:
* makefile.gnu: Add 'cilc' to the build.

svn path=/trunk/mcs/; revision=14197
2003-05-02 00:37:21 +00:00
Duncan Mak 20f308fc57 * scripts/Makefile.am:
* runtime/Makefile.am: Install cilc and ilasm.

svn path=/trunk/mono/; revision=14196
2003-05-02 00:36:15 +00:00
Malte Hildingson ba7d50d8da * tramp.c (mono_create_trampoline): tiny register allocation fix for reference types
svn path=/trunk/mono/; revision=14195
2003-05-01 23:42:01 +00:00
Alp Toker 9e4fb47c5a 2003-05-01 Alp Toker <[email protected]>
* cilc.cs: Support arguments, clean up some gcc warnings
        * Test.cs, demo.c: More extensive test

svn path=/trunk/mcs/; revision=14193
2003-05-01 20:19:36 +00:00
Rafael Teixeira 27c9ad9ec3 initial support for preprocessor commands
svn path=/trunk/mcs/; revision=14192
2003-05-01 19:58:26 +00:00
Gonzalo Paniagua Javier a3e7d18173 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HtmlizedException.cs: added more virtual methods.

	* System.Web/HttpException.cs:  some work on the output when there's
	a source file present.

	* System.Web.Compilation/AspGenerator.cs: copy the location before
	setting the value for the control builders.

	* System.Web.Compilation/BaseCompiler.cs: changed parameters for
	CompilationException.

	* System.Web.Compilation/CompilationException.cs: it takes now line
	numbers and error descriptions from the CompilerErrorCollection.

	* System.Web.Compilation/Location.cs: used when a copy of an ILocation
	is needed.

	* System.Web.Compilation/ParseException.cs: implemented new methods
	to provide line numbers and souce file.

	* System.Web.Compilation/TemplateControlCompiler.cs: throw a
	ParseException where appropiate.

	* System.Web.UI/BaseParser.cs: Location property is now here. Added a
	couple of convenience methods to throw a ParseException.

	* System.Web.UI/TemplateParser.cs:
	* System.Web.UI/TemplateControlParser.cs:
	* System.Web.UI/PageParser.cs: throw ParseException where appropiate.

svn path=/trunk/mcs/; revision=14191
2003-05-01 19:34:32 +00:00
Paolo Molaro 01c027c151 Added assertion to trigger the bug in mcs.
svn path=/trunk/mono/; revision=14190
2003-05-01 18:36:08 +00:00
Paolo Molaro e7407151f5 Thu May 1 19:40:37 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: one more check for null type in custom attrs.

svn path=/trunk/mono/; revision=14189
2003-05-01 17:48:38 +00:00
Miguel de Icaza 71ca2d5c1f 2003-05-01 Miguel de Icaza <[email protected]>
* class.cs (Report28): Always report.

svn path=/trunk/mcs/; revision=14188
2003-05-01 16:48:10 +00:00
Gonzalo Paniagua Javier b2bbb467ec 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: avoid warning (comparison is always false due to limited
	range of data type).

svn path=/trunk/mono/; revision=14186
2003-05-01 15:06:35 +00:00
Paolo Molaro a661145c6d More tests.
svn path=/trunk/mono/; revision=14184
2003-05-01 13:53:37 +00:00
Paolo Molaro b2bb897f4b Thu May 1 15:28:21 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: make sure leave calls all the needed finally blocks,
	even when the target jumps out of multiple exception clauses.

svn path=/trunk/mono/; revision=14183
2003-05-01 13:36:58 +00:00
Paolo Molaro 3220c951f5 Thu May 1 15:18:26 CEST 2003 Paolo Molaro <[email protected]>
* ldscript, Makefile.am: add linker script to reduce the number of
	exported symbols (should also fix the issues with libwine defining
	some of the same symbols in io-layer).

svn path=/trunk/mono/; revision=14182
2003-05-01 13:27:34 +00:00
Zoltan Varga f7385a22c5 2003-05-01 Zoltan Varga <[email protected]>
* driver.c (mini_main): Avoid assertion when no file name is given on
	the command line.

svn path=/trunk/mono/; revision=14181
2003-05-01 09:58:06 +00:00
Miguel de Icaza 8540459845 2003-05-01 Miguel de Icaza <[email protected]>
* expression.cs (EncodeAsAttribute): Allow nulls here.

svn path=/trunk/mcs/; revision=14178
2003-05-01 09:30:14 +00:00
Jackson Harper fb4f10adc9 Fix typo
svn path=/trunk/mcs/; revision=14177
2003-05-01 05:16:20 +00:00
Jackson Harper 3e85ac95d2 forgot
svn path=/trunk/mcs/; revision=14176
2003-05-01 05:12:02 +00:00
Jackson Harper f8ccb3dfbe * ILParser.jay: Implement non marshalled methodheads, method
attributes, impl attributes, imit simple int and ldstr instructions.

svn path=/trunk/mcs/; revision=14175
2003-05-01 05:10:41 +00:00
Jackson Harper 0a56b53f82 * makefile: Add instructions to build
* makefile.gnu: Add instructions to build

svn path=/trunk/mcs/; revision=14174
2003-05-01 05:09:57 +00:00
Jackson Harper 88342370e3 * MethodDef.cs: Accept and emit instructions.
* CodeGen.cs: Fix typo
	* IInstr.cs: New file - Interface for instructions that are added to methods
	* IntInstr.cs: New file - Instruction that takes a single int
	param
	* LdstrInstr.cs: New file - ldstr instruction (the only
	instruction that takes a string parameter)

svn path=/trunk/mcs/; revision=14173
2003-05-01 05:09:15 +00:00
Gonzalo Paniagua Javier 78003e13e9 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: flush the writers when done. Fixes bug #42040.

svn path=/trunk/mcs/; revision=14172
2003-05-01 03:16:35 +00:00
Gonzalo Paniagua Javier 00ad416fb4 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* icall.c: throw an exception in Type.GetField if the argument 'name'
	is NULL.

svn path=/trunk/mono/; revision=14171
2003-05-01 02:04:37 +00:00
Gonzalo Paniagua Javier ce55913aed 2003-05-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: also support data bind syntax
	inside tags not processed as controls. Added debugging method.

	* System.Web.Compilation/TemplateControlCompiler.cs: reset the number
	of data binding handlers in the proper place. Small fix when getting the
	container type.

	* System.Web.UI/ApplicationFileParser.cs: use the generator to actually
	parse the file.

	* System.Web.UI/ControlBuilder.cs: small fix in NamingContainerType
	because TemplateBuilders have a null ControlType. When a control is
	appended to a parent, assign the child's parent.

	* System.Web.UI/UserControlParser.cs: fixed the value of InputFile.

	IBuySpy works again!

svn path=/trunk/mcs/; revision=14170
2003-05-01 00:54:04 +00:00
Gonzalo Paniagua Javier 201982bea9 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/TemplateControlCompiler.cs: correctly set
	the TemplateSourceDirectory value.

	* System.Web.UI/ApplicationFileParser.cs: store the Context and
	override BaseVirtualDir so that it's the application path.

	* System.Web.UI/BaseParser.cs: removed CurrentVirtualPath property.

	* System.Web.UI/TemplateControlParser.cs: use BaseVirtualDir.

	* System.Web.UI/UserControlParser.cs: removed CurrentVirtualPath.

svn path=/trunk/mcs/; revision=14168
2003-04-30 20:07:26 +00:00
Gonzalo Paniagua Javier b25312c41b 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: handle code render syntax in tag attributes.

	* AspParser.cs: the constructor now takes a TextReader.

	* TemplateControlCompiler.cs: removed comment.

svn path=/trunk/mcs/; revision=14166
2003-04-30 19:42:58 +00:00
Gonzalo Paniagua Javier 792f08f69e 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* TemplateParser.cs: always reference all the assemblies in bin
	directory.

svn path=/trunk/mcs/; revision=14165
2003-04-30 17:35:04 +00:00
Gonzalo Paniagua Javier 38a3d0f4af 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: added support for data bound properties.

svn path=/trunk/mcs/; revision=14164
2003-04-30 16:52:45 +00:00
Marco Ridoni 8e7b3c2791 A lot of assorted fixes and additions
- Compound operators added
- Member access now work correctly
- A lot of array fixes/improvements
- LateIndexGet/Set calls are generated correctly
- Overloading in constructors fixed
- Array access when the array is a parameter fixed
- Invocation resolution improved
- Added readonly modifier for properties
- Many more little and not-so-little things I can't remember :-(

svn path=/trunk/mcs/; revision=14162
2003-04-30 16:46:58 +00:00
Aleksey Ryabchuk a9e86af2f9 prevent pages from being added to the TabControl multiple times
svn path=/trunk/mcs/; revision=14161
2003-04-30 16:31:54 +00:00
Aleksey Ryabchuk 4d43030b04 fixed typo
svn path=/trunk/mcs/; revision=14160
2003-04-30 15:26:39 +00:00
Aleksey Ryabchuk 242d710a1e * Control.cs : some fixes, added call to OnControlAdded, update visibility flag in Show and Hide
* GroupBox.cs
	* Label.cs
	* ButtoBase.cs : use base.CreateParams
	* PictureBox.cs : call base.OnResize
	* RadioButton.cs : implemented
	* TabControl.cs
	* TabPage.cs : some fixes

svn path=/trunk/mcs/; revision=14159
2003-04-30 15:12:30 +00:00
Paolo Molaro 27720be157 Documented --version.
svn path=/trunk/mono/; revision=14158
2003-04-30 14:19:48 +00:00
Paolo Molaro 98e986c48f Wed Apr 30 15:33:11 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: added --version/-V command line option.
	Added the inline optimization in the regression tests.

svn path=/trunk/mono/; revision=14157
2003-04-30 13:41:29 +00:00
Paolo Molaro c367494ed2 Wed Apr 30 15:16:02 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, basic-calls.cs: when inlining, save arguments to locals according
	to the type in the method signature (fixes bug#42134).

svn path=/trunk/mono/; revision=14156
2003-04-30 13:26:26 +00:00
Paolo Molaro 34f46aeec6 More tests.
svn path=/trunk/mono/; revision=14155
2003-04-30 13:13:33 +00:00
Paolo Molaro 0dd585b785 Test case for bug 42135.
svn path=/trunk/mono/; revision=14154
2003-04-30 10:58:09 +00:00
Paolo Molaro ea1fa598c8 Wed Apr 30 12:38:44 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: when inlining, check this is not null only when needed (bug #42135).

svn path=/trunk/mono/; revision=14153
2003-04-30 10:46:49 +00:00
Paolo Molaro 9e7d1fecdd Wed Apr 30 11:44:36 CEST 2003 Paolo Molaro <[email protected]>
* mini-ppc.h, tramp-pcc.c: type fixes from Max Horn <[email protected]>.

svn path=/trunk/mono/; revision=14152
2003-04-30 09:52:53 +00:00
Paolo Molaro 1579736ef2 Wed Apr 30 10:53:09 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: fixed handling of enums in named arguments to custom
	attributes (bug #42123).

svn path=/trunk/mono/; revision=14151
2003-04-30 09:11:02 +00:00
Nick Drochak 8befc720b4 2003-04-30 Nick Drochak <[email protected]>
* Factories.cs: Change weird characters that broke build on windows.

svn path=/trunk/mcs/; revision=14150
2003-04-30 08:45:33 +00:00
Paolo Molaro b53a549187 Fix build.
svn path=/trunk/mcs/; revision=14149
2003-04-30 07:26:15 +00:00
Gonzalo Paniagua Javier b9453c1af3 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* driver.c: fixed bug #42100.

svn path=/trunk/mono/; revision=14148
2003-04-30 07:14:18 +00:00
Gonzalo Paniagua Javier d98923274f 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41522.

svn path=/trunk/mcs/; revision=14147
2003-04-30 07:02:10 +00:00
Gonzalo Paniagua Javier 5024c27411 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* EnumTest.cs: tests from bug #41522 by Richar Lee.

svn path=/trunk/mcs/; revision=14146
2003-04-30 07:00:38 +00:00
Gonzalo Paniagua Javier dd1121ef7d 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* Label.cs:
	* TextBox.cs: added control builder attribute.

svn path=/trunk/mcs/; revision=14144
2003-04-30 05:04:37 +00:00
Gonzalo Paniagua Javier a1ddbcdbe5 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlImage.cs:
	* HtmlInputControl.cs:
	* HtmlSelect.cs: added control builder attribute.

	* HtmlSelectBuilder.cs: builder for HtmlSelect.

	* HtmlControlBuilder.cs: common builder for all HtmlControls.

svn path=/trunk/mcs/; revision=14143
2003-04-30 05:03:59 +00:00
Gonzalo Paniagua Javier a0a0d602bc 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: it works now. Prior to these changes, we
	were using the compiler directly.

	* BaseParser.cs: added some useful properties and methods.

	* CodeBuilder.cs: use ILocation.
	* CodeRenderBuilder.cs: use ILocation.
	* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.

	* ControlBuilder.cs: made it useful.

	* DataBindingBuilder.cs: the control type for data bound text is
	DataBoundLiteralControl now.

	* ObjectTagBuilder.cs: store some object tag attributes.

	* PageParser.cs: handle page-only directives.

	* RootBuilder.cs: bah.
	* SimpleWebHandlerParser.cs: made it dummy.
	* TemplateControl.cs: Modified file.

	* TemplateControlParser.cs: handle directives that are common to pages
	and user controls.

	* TemplateParser.cs: utility methods and handling of directives that
	are common to app, page and user controls.

	* UserControl.cs: added ControlBuilderAttribute.

	* UserControlControlBuilder.cs: builder for user controls.
	* UserControlParser.cs: use the new interfaces.

svn path=/trunk/mcs/; revision=14142
2003-04-30 05:02:54 +00:00
Gonzalo Paniagua Javier 3004c1401a removed test file
svn path=/trunk/mcs/; revision=14141
2003-04-30 05:00:11 +00:00
Gonzalo Paniagua Javier e80814a23c 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: simplified it a lot by using Type and Assembly
	instead of their names.

	* AspElements.cs: removed. No longer needed.

	* AspGenerator.cs: this file is now in charge of interfacing between
	the parser and the compiler. It manages the creation of the
	ControlBuilder tree and the compilation of the CodeDOM tree.

	* AspParser.cs: tag handling is simpler now.  Instead of a whole bunch
	of different Types, tags are just and id and a set of attributes.
	Implement ILocation interface.

	* AspTokenizer.cs: added a few methods to help the parser implementing
	ILocation.

	* BaseCompiler.cs: handles the portions of the CodeDOM tree that are
	common to appliaction, page and user control, including the actual
	compilation and error handling.

	* CSCompiler.cs: compiles C# files using CodeDOM interfaces.

	* CachingCompiler.cs: simplified to use the new interfaces.

	* CompilationException.cs: it's now using CompilationResult to report
	errors.

	* CompilationResult.cs: Removed file.

	* Directive.cs: to check for the validity of a directive.

	* GlobalAsaxCompiler.cs: simplified a lot, as most of the work is done
	in BaseCompiler.

	* ILocation.cs: interface used to now the exact place where a parse
	error happens.

	* PageCompiler.cs: generates a couple of methods that are only used in
	pages.

	* ParseException.cs: use the ILocation interface.

	* TagAttributes.cs: handles the attributes of the tags parsed.

	* TagType.cs: an enum for the different kinds of tags.

	* TemplateControlCompiler.cs: this is the one that does most of the
	conversion from teh ControlBuilder tree into a CodeDOM tree.

	* UserControlCompiler.cs: simplified as most of the work is done in
	its base classes.

	* WebServiceCompiler.cs: dummy.

svn path=/trunk/mcs/; revision=14140
2003-04-30 04:56:01 +00:00
Gonzalo Paniagua Javier f0e2f3702f 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlizedException.cs: simplified to cope with the new interface.

	* HttpApplicationFactory.cs: use the application file parser to get the
	application Type.

	* HttpException.cs: small changes. Needs some more work on
	ParseExceptions.

svn path=/trunk/mcs/; revision=14139
2003-04-30 04:52:31 +00:00
Gonzalo Paniagua Javier 6332214bdd *** empty log message ***
svn path=/trunk/mcs/; revision=14138
2003-04-30 04:51:20 +00:00
Miguel de Icaza 4a6f5ee0ee Flush
svn path=/trunk/mcs/; revision=14134
2003-04-30 04:15:07 +00:00
Miguel de Icaza 092c839ba0 Small workaround for the stack thing.
Fetch the Action
Post the action.

svn path=/trunk/mcs/; revision=14133
2003-04-30 03:33:59 +00:00
Miguel de Icaza 0ab8a5a974 2003-04-29 Miguel de Icaza <[email protected]>
* SoapHttpClientProtocol.cs (CreateMessage): Extract information
	from the method to be called.

	* SoapDocumentMethodAttribute.cs: Do not initialize all the fields
	on the attribute at bootstrap, for default values, just compute
	them when queried.

	* SoapMessage.cs (SetStage): New internal method, used to register
	the stage as we move along the soap pipeline.

svn path=/trunk/mcs/; revision=14130
2003-04-30 02:31:42 +00:00
Miguel de Icaza 058ec5ae73 2003-04-29 Miguel de Icaza <[email protected]>
* LogicalMethodInfo.cs: Most of this is implemented.  Its only
	missing a few bits in the Create() method.

	* SoapHttpClientProtocol.cs: Begin implementation of Invoke, which
	lead to other dependencies to be implemented.

	* LogicalMethodInfo.cs: Mostly complete.  It is only missing the
	async features (BeginInvoke/EndInvoke) on a LogicalMethodInfo.

	* WebClientProtocol.cs (GetWebRequest): Track the web request, so
	we can abort it later.
	(Abort): Call abort on the underlying transport.

svn path=/trunk/mcs/; revision=14129
2003-04-30 01:09:58 +00:00
Miguel de Icaza 7ab0c9dff7 2003-04-29 Miguel de Icaza <[email protected]>
* WebClient.cs (DownloadData): Close the underlyng stream.
	(DownloadFile): Use using, so the file gets closed.

svn path=/trunk/mcs/; revision=14128
2003-04-30 01:05:47 +00:00
Gonzalo Paniagua Javier 0552cb15e1 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: add quotes around out assembly name.

svn path=/trunk/mcs/; revision=14127
2003-04-29 23:00:12 +00:00
Paolo Molaro 09b9628d2f Tue Apr 29 19:15:10 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: use the right array element type and handle
	a null for a Type argument, too.

svn path=/trunk/mono/; revision=14124
2003-04-29 17:23:14 +00:00
Miguel de Icaza 341a9ad777 update nant build file
svn path=/trunk/mcs/; revision=14123
2003-04-29 17:09:52 +00:00
Miguel de Icaza f860d0280b Add RelaxNG to the build
svn path=/trunk/mcs/; revision=14122
2003-04-29 17:08:57 +00:00
Miguel de Icaza dbf2df63c8 Another one
svn path=/trunk/mcs/; revision=14121
2003-04-29 17:08:46 +00:00
Miguel de Icaza 658fa35659 Fix makefile
svn path=/trunk/mcs/; revision=14120
2003-04-29 17:07:02 +00:00
Atsushi Eno 724cc96704 2003-04-30 Atsushi Enomoto <[email protected]>
* list.unix,
	  list: fixed incorrect reference to Util.cs (Misc.cs).

svn path=/trunk/mcs/; revision=14119
2003-04-29 17:02:35 +00:00
Miguel de Icaza 9ef30dbbe5 remove debugging message
svn path=/trunk/mcs/; revision=14118
2003-04-29 16:52:42 +00:00
Miguel de Icaza f3f0578595 2003-04-28 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.GetAttributeArgumentExpression): Moved
	the functionality for testing whether an expression is valid for
	an attribute here.  Also handle the case of arrays of elements
	being stored.

	* expression.cs (ArrayCreation.EncodeAsAttribute): Add support for
	encoding a linear array into an array of objects that are suitable
	to be passed to an CustomAttributeBuilder.

svn path=/trunk/mcs/; revision=14117
2003-04-29 16:30:23 +00:00
Aleksey Ryabchuk 4b0bb314f4 * Control.cs : call OnResize from OnSizeChanged
* TabControl.cs : small fixes
	* Win32enums.cs : constants for ToolTip notifications

svn path=/trunk/mcs/; revision=14116
2003-04-29 16:11:40 +00:00
Ville Palo 1b94b1450d 2003-04-29 Ville Palo <[email protected]>
* FileStreamTest.cs: Tests for Flush() adn  one one more test for
	Ctor exceptions

svn path=/trunk/mcs/; revision=14115
2003-04-29 15:55:33 +00:00
Paolo Molaro 857406848c Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <[email protected]>
* Syscall.cs: remove the unsafe mess.

svn path=/trunk/mcs/; revision=14113
2003-04-29 15:02:04 +00:00
Atsushi Eno e874695e53 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RdpNameClasses.cs, RdpObjects.cs, RdpPatterns.cs
	  and Util.cs.

svn path=/trunk/mcs/; revision=14112
2003-04-29 14:19:58 +00:00
Dietmar Maurer 28caf3e937 2003-04-29 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): UNBOX need to CAST objects first

svn path=/trunk/mono/; revision=14111
2003-04-29 14:05:12 +00:00
Paolo Molaro 14a3f04061 -1 actually is emitted on NULL.
svn path=/trunk/mono/; revision=14110
2003-04-29 13:58:33 +00:00
Paolo Molaro 9bf3ebb013 Tue Apr 29 15:46:00 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: handle arrays as arguments to custom attributes.

svn path=/trunk/mono/; revision=14109
2003-04-29 13:54:04 +00:00
Gaurav Vaish 10a6800375 2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Some more methods.

svn path=/trunk/mcs/; revision=14108
2003-04-29 13:18:00 +00:00
Gaurav Vaish b6ea95d397 2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobilePage.cs          : Adapter { get; }           - Stubbed.

svn path=/trunk/mcs/; revision=14107
2003-04-29 13:17:31 +00:00
Dietmar Maurer 78239d51b2 *** empty log message ***
svn path=/trunk/mono/; revision=14106
2003-04-29 12:16:03 +00:00
Paolo Molaro e8ecdb0059 Tue Apr 29 13:58:16 CEST 2003 Paolo Molaro <[email protected]>
* Enum.cs: protect with the lock also the lookup (bug #41841).

svn path=/trunk/mcs/; revision=14105
2003-04-29 12:06:54 +00:00
Paolo Molaro 1cbd8b9c3e Tue Apr 29 13:24:32 CEST 2003 Paolo Molaro <[email protected]>
* MonoType.cs: allow a null name if InvokeMember is called with
	BindingFlags.CreateInstance set.

svn path=/trunk/mcs/; revision=14103
2003-04-29 11:32:27 +00:00
Paolo Molaro 0cedec22a2 Tue Apr 29 11:43:01 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: handle a string value in a custom attr
	ctor that takes an object.

svn path=/trunk/mono/; revision=14102
2003-04-29 09:52:45 +00:00
Dietmar Maurer 97dea8974b 2003-04-29 Dietmar Maurer <[email protected]>
* marshal.c (mono_mb_emit_restore_result): support MONO_TYPE_PTR
	(fix bug #42063)

svn path=/trunk/mono/; revision=14101
2003-04-29 09:50:04 +00:00
Dietmar Maurer 5e070e768e cleanups
svn path=/trunk/mono/; revision=14100
2003-04-29 09:21:18 +00:00
Dietmar Maurer d73c8caaa7 2003-04-29 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (JITTEST_PROG): use mini/mono

svn path=/trunk/mono/; revision=14099
2003-04-29 08:25:32 +00:00
Atsushi Eno c1e1f79f64 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, list, list.unix, makefile.gnu and
	  Commons.Xml.Relaxng.build.

svn path=/trunk/mcs/; revision=14098
2003-04-29 07:46:50 +00:00
Atsushi Eno 5297e06804 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RdpPatternTests.cs, RelaxngReaderTests.cs,
	  RelaxngValidatingReaderTests.cs, makefile.gnu,
	  Commons.Xml.Relaxng_test.args and Commons.Xml.Relaxng_test.build.

svn path=/trunk/mcs/; revision=14097
2003-04-29 07:44:44 +00:00
Atsushi Eno 38167d8949 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, SimpleElementPattern1.xml, SimpleElementPattern1.rng,
	  SimpleElementPattern2.xml, SimpleElementPattern2.rng, team.xml,
	  team.rng.

svn path=/trunk/mcs/; revision=14096
2003-04-29 07:38:39 +00:00
Atsushi Eno f62be9ec7b 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, RelaxngReader.cs, RelaxngValidatingReader.cs,
	  RngGrammar.cs, RngNameClasses.cs, RngPattern.cs, RngPatternType.cs
	  and Misc.cs.

svn path=/trunk/mcs/; revision=14093
2003-04-29 06:19:18 +00:00
Atsushi Eno 1c434cdc6e 2003-04-29 Atsushi Enomoto <[email protected]>
* Started.
	* added ChangeLog, XmlDefaultReader.cs.

svn path=/trunk/mcs/; revision=14092
2003-04-29 06:07:27 +00:00
Jackson Harper 0e1902633f * InstrTable.cs: Much simpler system. All tokens go into one
hashtable now. There is no reason to have them seperated out.

svn path=/trunk/mcs/; revision=14091
2003-04-29 04:22:14 +00:00
Jackson Harper 9dbc77114a * ILTokenizer.cs: Get instructions from table and check if they
are null instead of checking if they exist then getting them.

svn path=/trunk/mcs/; revision=14090
2003-04-29 04:20:20 +00:00
Gonzalo Paniagua Javier 11887304d2 2003-04-29 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs:
	(CompileAssemblyFromDomBatch): add the assemblies referenced by the
	CodeCompileUnits to the options.

svn path=/trunk/mcs/; revision=14088
2003-04-29 01:31:55 +00:00
Miguel de Icaza 746a51e972 Improve
svn path=/trunk/mcs/; revision=14087
2003-04-29 01:17:46 +00:00
Gonzalo Paniagua Javier 0561f188b9 2003-04-29 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: set NativeCompilerReturnValue.

svn path=/trunk/mcs/; revision=14086
2003-04-29 01:02:40 +00:00
Miguel de Icaza e3220f2f59 2003-04-28 Miguel de Icaza <[email protected]>
* MethodBuilder.cs: Mono allows the parameter position to be zero
	to indicate the "returns:" attribute.

svn path=/trunk/mcs/; revision=14085
2003-04-29 00:54:01 +00:00
Miguel de Icaza bb70a0084a 2003-04-28 Miguel de Icaza <[email protected]>
* delegate.cs: Check unsafe types being used outside of an Unsafe context.

svn path=/trunk/mcs/; revision=14084
2003-04-29 00:52:43 +00:00
Per Arneng 9da46b6420 updated with changes from Tobias DiPasquale
svn path=/trunk/mcs/; revision=14083
2003-04-29 00:40:49 +00:00
Miguel de Icaza 96f4fb4106 update
svn path=/trunk/mono/; revision=14082
2003-04-29 00:24:58 +00:00
Miguel de Icaza 672bff2489 More iterators update, almost there. Only parameter remapping is missing
2003-04-28  Miguel de Icaza  <[email protected]>

	* ecore.cs: (FieldExpr): Handle field remapping here.

	* iteratators.cs: Pass the instance variable (if the method is an
	instance method) to the constructors, so we can access the field
	variables on the class.

	TODO: Test this with structs.  I think the THIS variable on
	structs might have to be a pointer, and not a refenrece

svn path=/trunk/mcs/; revision=14081
2003-04-28 22:27:03 +00:00
Miguel de Icaza 24e4e2b4de Updates
svn path=/trunk/mono/; revision=14080
2003-04-28 21:33:59 +00:00
Piers Haken bfb442041c 2003-04-28 Piers Haken <[email protected]>
* Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens

svn path=/trunk/mcs/; revision=14078
2003-04-28 21:00:34 +00:00
Gonzalo Paniagua Javier 5c56fe4edc 2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
	(GenerateSnippetStatement): use WriteLine instead of Write.

svn path=/trunk/mcs/; revision=14075
2003-04-28 18:31:18 +00:00
Alexandre Pigolkine c831579fe6 small improvements
svn path=/trunk/mcs/; revision=14074
2003-04-28 18:28:45 +00:00
Gonzalo Paniagua Javier 184e462129 added /unsafe
svn path=/trunk/mcs/; revision=14073
2003-04-28 17:19:09 +00:00
Miguel de Icaza 02267f0fcf remove debugging message
svn path=/trunk/mcs/; revision=14072
2003-04-28 16:54:18 +00:00
Paolo Molaro 4d13d9cf77 Temporary workaround.
svn path=/trunk/mono/; revision=14071
2003-04-28 16:47:14 +00:00
Atsushi Eno 796f1b26d3 2003-04-29 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added WriteTo.
	* XmlReaderCommonTests.cs,
	  XmlTextReader.cs : fixed ReadInnerXml (check correct position.)
	  Reverted EmptyElementWithStartAndEndTag, EmptyElementWithAttribute,
	  and StartAndEndTagWithAttribute to XmlTextReaderTests.cs (because
	  they requires IsEmptyElement = false, which is always true for
	  XmlNodeReader).

svn path=/trunk/mcs/; revision=14070
2003-04-28 15:42:21 +00:00
Atsushi Eno 53b90248da 2003-04-29 Atsushi Enomoto <[email protected]>
* XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
	* XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
	  MoveTo*Attribute(),
	  Fixed this[] to work correctly against XmlDeclarations.
	  Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
	  (which may prevent validations etc.)
	* XmlReader.cs,
	  XmlNodeReader.cs,
	  XmlTextReader.cs : Fixed ReadString() to be compliant with each
	  other.
	* XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.

svn path=/trunk/mcs/; revision=14069
2003-04-28 15:40:54 +00:00
Paolo Molaro 7406378d5e Mon Apr 28 17:03:14 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: moved most of the code required to do inlining to its own
	function so it can be reused. Inline also ctors if appropriate.

svn path=/trunk/mono/; revision=14068
2003-04-28 15:11:17 +00:00
Gonzalo Paniagua Javier 09477e7c4b 2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: reverted my previous patch.

svn path=/trunk/mcs/; revision=14067
2003-04-28 13:16:47 +00:00
Zoltan Varga 6da71e99e4 2003-04-28 Zoltan Varga <[email protected]>
* Makefile.am: Link with -export-dynamic so shared libs loaded by
	the runtime can call mono API functions.

svn path=/trunk/mono/; revision=14065
2003-04-28 06:59:15 +00:00
Zoltan Varga 34a20553df 2003-04-28 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetNestedType): Fixed warnings.

svn path=/trunk/mono/; revision=14064
2003-04-28 06:53:18 +00:00
Miguel de Icaza 017f16f64f Bug fixes + support for locals in iterators. Only parameters are missing.
2003-04-27  Miguel de Icaza  <[email protected]>

	* codegen.cs (EmitContext.Mapvariable): Adds a mechanism to map
	local variables to fields in a proxy class.

	* iterators.cs (PopulateProxy): Rename our internal fields to
	<XXX>.
	Create a <THIS> field if we are an instance method, so we can
	reference our parent container variables.
	(MapVariable): Called back from the EmitContext code to enter a
	new variable to field mapping into the proxy class (we just create
	a FieldBuilder).

	* expression.cs
	(LocalVariableReference.{Emit,EmitAssign,AddressOf}): Add support
	for using the remapped locals to fields.

	I placed the code here, because that gives the same semantics to
	local variables, and only changes the Emit code.

	* statement.cs (Fixed.Resolve): it is not allowed to have fixed
	statements inside iterators.
	(VariableInfo): Add a FieldBuilder for the cases when we are
	remapping local variables to fields in a proxy class

	* ecore.cs (SimpleNameResolve): Avoid testing two times for
	current_block != null.

	* statement.cs (Swithc.SimpleSwitchEmit): Removed code that did
	not cope with strings, as it has been moved to the
	TableSwitchEmit.  Fixed bug in switch generation.

svn path=/trunk/mcs/; revision=14063
2003-04-28 02:31:11 +00:00
Miguel de Icaza 7be4c981f7 Forgot this file
svn path=/trunk/mcs/; revision=14062
2003-04-27 20:30:22 +00:00
Miguel de Icaza ad822fc775 update faq
svn path=/trunk/mono/; revision=14061
2003-04-27 20:29:44 +00:00
Lluis Sanchez 3dc6ac7df6 * TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
	  some channel properties.

svn path=/trunk/mcs/; revision=14060
2003-04-27 20:15:54 +00:00
Gonzalo Paniagua Javier afeee9032f 2003-04-27 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: added missing man pages.
	* mini.1: moved to mono.1
	* mono.1: moved to oldmono.1
	* oldmono.1: new file.

svn path=/trunk/mono/; revision=14059
2003-04-27 18:28:27 +00:00
Martin Baulig b50646f5c8 Reflect latest changes in the debugging API.
svn path=/trunk/mono/; revision=14055
2003-04-27 18:03:14 +00:00
Martin Baulig f853629316 2003-04-27 Martin Baulig <[email protected]>
* debug-mini.c (mono_debug_init_method): Added
	`guint32 breakpoint_id' argument; if the method has a breakpoint,
	send a notification to the debugger.

	* mini.c (mono_method_to_ir): Don't insert a breakpoint if we're
	running in the Mono Debugger, just pass the breakpoint number to
	mono_debug_init_method().

	* tramp-x86.c, tramp-ppc.c: Removed the breakpoint trampolines.

svn path=/trunk/mono/; revision=14054
2003-04-27 18:02:14 +00:00
Martin Baulig fe3768227b Removed a G_BREAKPOINT() which was just there for debugging.
svn path=/trunk/mono/; revision=14053
2003-04-27 17:58:31 +00:00
Martin Baulig 60013ad801 2003-04-27 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
	MONO_DEBUGGER_EVENT_BREAKPOINT_TRAMPOLINE to
	MONO_DEBUGGER_EVENT_BREAKPOINT.
	(mono_breakpoint_trampoline_code): Removed.
	(mono_debugger_event_handler): The last argument is now a
	`guint32'.
	(mono_debugger_insert_breakpoint_full): Removed the
	`use_trampoline' argument.
	(mono_debugger_method_has_breakpoint): Likewise.
	(mono_debugger_trampoline_breakpoint_callback): Renamed to
	mono_debugger_breakpoint_callback(); take the method and
	breakpoint number as arguments.

svn path=/trunk/mono/; revision=14052
2003-04-27 17:58:09 +00:00
Miguel de Icaza 39dc822527 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (New.DoResolve): Provide more context for the user
	when reporting an error.

svn path=/trunk/mcs/; revision=14051
2003-04-27 17:53:30 +00:00
Miguel de Icaza 15d2274306 2003-04-27 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.LoadFromPtr): Use ldind_i when loading

svn path=/trunk/mcs/; revision=14050
2003-04-27 17:47:03 +00:00
Miguel de Icaza eb9fc0f52c Fix to the make install on windows
svn path=/trunk/mcs/; revision=14049
2003-04-27 17:07:38 +00:00
Miguel de Icaza c4c56418c4 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.DoResolve): When we get a type back,
	check the permissions for it.  Note than in a type-resolution
	context the check was already present in DeclSpace.ResolveType,
	but was missing from the MemberAccess.

svn path=/trunk/mcs/; revision=14048
2003-04-27 17:04:34 +00:00
Miguel de Icaza a381714cc0 2003-04-27 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.CheckIndices): warn if the user has
	more nested levels of expressions, but there are no more
	dimensions specified.  Avoids crash on bug 41906.

svn path=/trunk/mcs/; revision=14047
2003-04-27 16:51:50 +00:00
Malte Hildingson 0b1cf86def * tramp.c (alloc_code_buff): posix memory protection.
(mono_create_trampoline): new string marshaling + minor fixes.
(mono_create_method_pointer): delegates fix.

svn path=/trunk/mono/; revision=14046
2003-04-27 16:04:54 +00:00
Zoltan Varga 573ffe6929 Added myself.
svn path=/trunk/mono/; revision=14045
2003-04-27 15:40:26 +00:00
Sergey Chaban b56e21a388 arm-WMMX.h: initial WirelessMMX support for ARM codegen;
svn path=/trunk/mono/; revision=14044
2003-04-27 14:50:16 +00:00
Sergey Chaban a99e59f2e3 * ARM codegen update;
svn path=/trunk/mono/; revision=14043
2003-04-27 14:47:57 +00:00
Zoltan Varga a6c5ca40bc 2003-04-27 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Remove workaround for bug #41550 since it is fixed
	now.

svn path=/trunk/mcs/; revision=14042
2003-04-27 13:56:23 +00:00
Gonzalo Paniagua Javier 7cb2e5bf5a 2003-04-27 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41841.

svn path=/trunk/mcs/; revision=14041
2003-04-27 12:27:13 +00:00
Paolo Molaro d63614ec3a Shut up cvs (from [email protected] (Urs C. Muff)).
svn path=/trunk/mono/; revision=14040
2003-04-27 11:43:59 +00:00
Paolo Molaro 61d2440e5d Make the debugging output off by default.
svn path=/trunk/mono/; revision=14039
2003-04-27 11:40:11 +00:00
Paolo Molaro cc3580f40c Sun Apr 27 13:27:59 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: check for arraytypemismatch.

svn path=/trunk/mono/; revision=14038
2003-04-27 11:35:36 +00:00
Paolo Molaro 768ab9fc90 Sun Apr 27 13:18:04 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: allow some more unsafe compares.

svn path=/trunk/mono/; revision=14037
2003-04-27 11:25:46 +00:00
Gonzalo Paniagua Javier a474f3bee3 added RuntimeEnvironment.cs
svn path=/trunk/mcs/; revision=14036
2003-04-27 11:18:46 +00:00
Miguel de Icaza 60faf4618e more updates
svn path=/trunk/mono/; revision=14035
2003-04-27 08:05:04 +00:00
Miguel de Icaza 7ad93fa073 Update FAQ
svn path=/trunk/mono/; revision=14034
2003-04-27 07:38:01 +00:00
Pedro Martínez Juliá da7d9b37c4 2003-04-27 Pedro Mart�nez Juli� <[email protected]>
* XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
    source document from a file.

svn path=/trunk/mcs/; revision=14033
2003-04-27 02:24:20 +00:00
Pedro Martínez Juliá 861d194aaf 2003-04-26 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
    date formats. I think that it's needed support to auto-detect
    DateTime format through PgSql server configuration.

svn path=/trunk/mcs/; revision=14032
2003-04-26 21:06:24 +00:00
Atsushi Eno 83f150d6c5 2003-04-27 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs,
	  XmlTextReaderTests.cs : Moved many tests to CommonTests.

svn path=/trunk/mcs/; revision=14031
2003-04-26 19:08:34 +00:00
Atsushi Eno 5ffc7747ea 2003-04-27 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
	  content EntityReference correctly.
	* XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
	  HasAttributes, indexers, MoveTo*Attribute() and Read() ).
	  Modified Skip() to call Read () explicitly.
	* XmlTextReader.cs :
	  Fixed ReadInnerXml() which ignored EndElement token in certain cases.
	  Implemented MoveToAttribute (local, ns), and modified GetAttribute()
	  in relation to this change.
	  Attributes for XmlDeclaration are now correctly set.
	* XmlTextWriter.cs : WriteRaw() is now different from WriteString().
	  Simplified WriteAttributes() for XmlDeclaration.

svn path=/trunk/mcs/; revision=14030
2003-04-26 19:07:44 +00:00
Miguel de Icaza ddcfda9282 Remove team
svn path=/trunk/mono/; revision=14029
2003-04-26 18:29:36 +00:00
Paolo Molaro f8d685582b Missing from earlier commit:-/
svn path=/trunk/mono/; revision=14028
2003-04-26 17:59:24 +00:00
Gonzalo Paniagua Javier 026e61873a 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* ColorConverter.cs:
	(ConvertFrom): return a system or named color if there's one that fits
	teh values parsed with Color.FromArgb.

svn path=/trunk/mcs/; revision=14027
2003-04-26 17:46:05 +00:00
Paolo Molaro 89e982d093 Sat Apr 26 19:25:31 CEST 2003 Paolo Molaro <[email protected]>
* metadata.c: fix off by one when loading parameters attributes.

svn path=/trunk/mono/; revision=14026
2003-04-26 17:33:21 +00:00
Gonzalo Paniagua Javier b0af053a52 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs:
	(GetPropertyImpl): handle BindingFlags.IgnoreCase.

svn path=/trunk/mcs/; revision=14025
2003-04-26 16:59:05 +00:00
Paolo Molaro 38a8fb14d5 Sat Apr 26 11:55:41 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c, Makefile.am: make distcheck works (partially from
	a patch by Richard Lee <[email protected]>).
	* regset.c, regset.h: removed, they are unused.

svn path=/trunk/mono/; revision=14024
2003-04-26 10:11:17 +00:00
Miguel de Icaza e7690bd882 Small bug fix, to render better an acurrate error
svn path=/trunk/mcs/; revision=14023
2003-04-26 06:21:19 +00:00
Atsushi Eno 98dbcfda5e 2003-04-26 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
	  Depth property fix.

svn path=/trunk/mcs/; revision=14021
2003-04-26 04:32:43 +00:00
Miguel de Icaza 3fbc527fff 2003-04-26 Miguel de Icaza <[email protected]>
* statement.cs (Block): replace Implicit bool, for a generic
	flags.
	New flag: `Unchecked'.  This is used during the EmitMeta phase
	(which is out-of-line with the regular Resolve/Emit process for a
	statement, as this is done ahead of time, but still gets a chance
	to call constant resolve).

	(Block.Flags): new enum for adding a new flag.

	(Block.EmitMeta): track the state of unchecked.

	(Unchecked): Set the "UnChecked" flags on any blocks we enclose,
	to enable constant resolution to work there as well.

svn path=/trunk/mcs/; revision=14020
2003-04-26 04:27:42 +00:00
Miguel de Icaza 19882e1176 2003-04-26 Miguel de Icaza <[email protected]>
* XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
	`AllowMultiple' flags.

svn path=/trunk/mcs/; revision=14019
2003-04-26 04:26:12 +00:00
Miguel de Icaza 374d9a020d Add test
svn path=/trunk/mcs/; revision=14018
2003-04-26 04:07:17 +00:00
Alexandre Pigolkine b11b4472a0 list.unix modified
svn path=/trunk/mcs/; revision=14017
2003-04-26 03:46:01 +00:00
Alexandre Pigolkine d38ed50132 some implementation added
svn path=/trunk/mcs/; revision=14016
2003-04-26 03:44:25 +00:00
Alexandre Pigolkine 93acf0d2fb first checkin
svn path=/trunk/mcs/; revision=14015
2003-04-26 03:37:46 +00:00
Alexandre Pigolkine ac04ab2cdc first implementation
svn path=/trunk/mcs/; revision=14014
2003-04-26 03:34:52 +00:00
Alexandre Pigolkine 313f46544f first checkin
svn path=/trunk/mcs/; revision=14013
2003-04-26 03:32:37 +00:00
Alexandre Pigolkine b03d89d1ac delegate function calls to implementation
svn path=/trunk/mcs/; revision=14012
2003-04-26 03:27:49 +00:00
Alexandre Pigolkine 506d24e9d2 switch to Linux style line terminators
svn path=/trunk/mcs/; revision=14011
2003-04-26 03:08:23 +00:00
Alexandre Pigolkine 79721b9318 GC stubs for Mini, EntryPoints for Win32 API
svn path=/trunk/mcs/; revision=14010
2003-04-26 02:56:19 +00:00
Gonzalo Paniagua Javier c798aff03a 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
* RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
	([email protected]).

svn path=/trunk/mcs/; revision=14009
2003-04-26 02:09:15 +00:00
Miguel de Icaza 6fe8a9ca80 Fix the build
svn path=/trunk/mcs/; revision=14008
2003-04-26 02:02:04 +00:00
Miguel de Icaza 3ab7b5ab3c Begin
svn path=/trunk/mcs/; revision=14007
2003-04-26 01:59:49 +00:00
Miguel de Icaza 8c392f71a0 2003-04-25 Miguel de Icaza <[email protected]>
* SystemInformation.cs (ComputerName): Implement this.

svn path=/trunk/mcs/; revision=14006
2003-04-26 01:56:19 +00:00
Aleksey Ryabchuk fb6577638a * Control.cs : check if control is already in control collection, Created property,
ControlCollection.RemoveAt reimplemented using ControlCollection.Remove
	* TabControl.cs
	* TabPage.cs : some more implementation
	* win32structs.cs: TCITEMHEADER replaced with TCITEM

svn path=/trunk/mcs/; revision=14004
2003-04-25 16:19:02 +00:00
Gonzalo Paniagua Javier 9a5a136256 2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* CodeEventReferenceExpression.cs: fixed typo that prevented event
	name from being set.

svn path=/trunk/mcs/; revision=14003
2003-04-25 16:16:49 +00:00
Paolo Molaro 9585b985b4 Fixed warning.
svn path=/trunk/mono/; revision=14002
2003-04-25 15:44:51 +00:00
Paolo Molaro 1ea697d516 Add mini to the windows build, too.
svn path=/trunk/mono/; revision=14001
2003-04-25 15:12:27 +00:00
Ville Palo 0578918ed0 2003-04-25 Ville Palo <[email protected]>
* FileTest.cs: more tests..

svn path=/trunk/mcs/; revision=14000
2003-04-25 14:12:05 +00:00
Dick Porter b0f1925ac2 2003-04-25 Dick Porter <[email protected]>
* driver.c: Usage reports the name as 'mono' not 'mini'
	* exceptions-x86.c: Build and run on freebsd

svn path=/trunk/mono/; revision=13999
2003-04-25 12:07:28 +00:00
Dietmar Maurer ed5e82f2ed another test
svn path=/trunk/mono/; revision=13998
2003-04-25 08:22:09 +00:00
Dietmar Maurer 42978deb20 2003-04-25 Dietmar Maurer <[email protected]>
* BinaryReader.cs (Read): make sure the buffer is big enough (fix
	bug # 40702)

svn path=/trunk/mcs/; revision=13997
2003-04-25 07:51:23 +00:00
Atsushi Eno 551cf034be 2003-04-25 Atsushi Enomoto <[email protected]>
* added XmlReflectionImporterTests.cs : added. (by Erik)

svn path=/trunk/mcs/; revision=13996
2003-04-25 03:17:46 +00:00
Atsushi Eno 95ef9ce2ec 2003-04-25 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : added some WriteNode() related testcases.

svn path=/trunk/mcs/; revision=13995
2003-04-25 03:17:06 +00:00
Atsushi Eno 444f1401b8 2003-04-25 Atsushi Enomoto <[email protected]>
* TypeTranslator.cs : patch by Erik LeBel. Array consideration.
	* XmlReflectionImporter.cs : patch by Erik LeBel.
	  Now uses XmlRootAttribute to determine element name.

svn path=/trunk/mcs/; revision=13994
2003-04-25 03:16:32 +00:00
Atsushi Eno 5fc9c2af02 2003-04-25 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : fixed Load() to set baseURI correctly.
	* XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
	* XmlTextReader.cs :
	  fixed Depth. When it's on StartElement, Depth was already incremented.
	  fixed private SaveProperty(), which moved away its saved properties
	  when MoveToElement was called repeatedly.
	* XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
	* XmlWriter.cs :
	  WriteAttributes() refactory (for XMLDecl).
	  WriteNode() don't Read() when the reader is Initial state, let other
	  invokation to Read(). In case of Element, it should write entire
	  element. In case of Attribute, it shouldn't Read().
	  WriteStartDocument() should omit standalone decl. when there is no
	  explicit value.

svn path=/trunk/mcs/; revision=13993
2003-04-25 03:15:33 +00:00
Miguel de Icaza 2f0fca000f Add another test
svn path=/trunk/mcs/; revision=13992
2003-04-25 01:22:41 +00:00
Miguel de Icaza ec8381a1b9 Support for iterators, part 1. The only missing functionality is the
remapping of parameters and local variables to proxy values.  I have a
kludge, but will soon have the right thing.

Also a few bugs fixes that I did while implementing iterators.

To use iterators, you need to pass -v2 to the compiler

2003-04-22  Miguel de Icaza  <[email protected]>

	* typemanager.cs (ienumerable_type): Also look up
	System.Collections.IEnumerable.

2003-04-21  Miguel de Icaza  <[email protected]>

	TODO: Test more than one conditional per method.

	* class.cs (Indexer.Define): Report the location where the user is
	referencing the unsupported feature.

	(MethodData): Overload the use of `conditionals' to
	minimize the creation of needless ArrayLists.   This saves roughly
	212kb on my machine.

	(Method): Implement the new IIteratorContainer interface.
	(Method.SetYields): Implement the method by setting the ModFlags
	to contain METHOD_YIELDS.

	* expression.cs (Unary.ResolveOperator): Use expr_type, not Expr,
	which just got set to null.

	* iterators.cs: New file.

	(Yield, YieldBreak): New statements.

	* statement.cs (Return.Resolve): Flag an error if we are used in
	an iterator method.

	* codegen.cs (InIterator): New flag set if the code is being
	compiled in an iterator method.

	* modifiers.cs: New flag METHOD_YIELDS.  This modifier is an
	internal modifier, and we just use it to avoid adding extra
	fields, as this is seldom used.

	* cs-parser.jay: Add yield_statement (yield and yield break).

	* driver.cs: New flag -v2 to turn on version 2 features.

	* cs-tokenizer.cs (Tokenizer): Add yield and __yield to the
	hashtable when v2 is enabled.

svn path=/trunk/mcs/; revision=13991
2003-04-25 01:21:59 +00:00
Pedro Martínez Juliá a76707a721 2003-04-25 Pedro Mart�nez Juli� <[email protected]>
* SqlEditorSharp.cs: Change: Glib -> GLib.

    * sqlsharpgtk.cs: Correct method calls because they
    changed in GTK#.

    * makefile.gnu: Reference gdk-sharp in assembly list.

    * FileSelectionDialog.cs: Update method calls (GTK#).

    * DataGrid.cs: Fix a type of a variable.

svn path=/trunk/mcs/; revision=13990
2003-04-25 00:54:43 +00:00
Alp Toker b1ded6515f 2003-04-25 Alp Toker <[email protected]>
* Initial release of cilc

svn path=/trunk/mcs/; revision=13989
2003-04-25 00:02:48 +00:00
Gonzalo Paniagua Javier 9ea1da42e8 2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs:
	(QuoteSnippetString): add a few common escape sequences.

	* System.CodeDom.Compiler/CodeGenerator.cs:
	(GenerateCodePrimitive): special case strings and chars (bool was
	already a special case). Throw an exception if the type is not a
	primitive type.

svn path=/trunk/mcs/; revision=13987
2003-04-24 23:01:27 +00:00
Miguel de Icaza 6419036c57 2003-04-24 Miguel de Icaza <[email protected]>
* WebClient.cs (DownloadData): Instead of using a MemoryStream,
	keep track of all the small chunks in an ArrayList.  The
	MemoryStream had the property of reallocating itself, and the
	problem was that MemoryStream.GetBuffer would return the buffer
	(correctly), but not something of the right size.  So clients of
	DownloadData would get the extra unused bytes as part of the
	result.

	The solution would have been to make another copy at this point,
	instead, we only keep the small allocations around in the
	ArrayList, and we only do one large allocation at the end.

	* HttpWebResponse.cs: If there is a Content-Length header, pass
	this information to our HttpWebResponseStream, so it knows when to
	stop, instead of waiting for the stream to be shut down by the
	other end.

	* HttpWebRequest.cs: Only set the `delay-header-writing' mode on
	the underlying stream if the method will do a content transfer and
	no Content-Length was provided. If not (HEAD and GET or
	Content-Length provided), keep going.

svn path=/trunk/mcs/; revision=13986
2003-04-24 22:50:29 +00:00
Ville Palo 19142165d3 2003-04-24 Ville Palo <[email protected]>
* FileTest.cs: Fixed tests and added some.

svn path=/trunk/mcs/; revision=13983
2003-04-24 18:28:44 +00:00
Piers Haken fa21e422a0 gzip errors.txt
svn path=/trunk/mcs/; revision=13982
2003-04-24 18:18:04 +00:00
Paolo Molaro 71c6498f87 Fix compilation.
svn path=/trunk/mcs/; revision=13980
2003-04-24 17:12:47 +00:00
Aleksey Ryabchuk bf2cfd5f08 * Control.cs: change to CreateControlInstance function
* Panel.cs:   use base CreateParams
	* TabControl.cs
	* TabPage : started implementing
	* win32Enums.cs
	* win32Structs.cs
	* win32functions.cs : messages, styles for TabControl

svn path=/trunk/mcs/; revision=13979
2003-04-24 16:28:54 +00:00
Pedro Martínez Juliá 1097060b18 2003-04-24 Pedro Martnez Juli <[email protected]>
* BufferedStream.cs: Test if it's possible to seek in a Stream
    before access to Position. This prevents the exception thrown when
    the stream is System.Net.Sockets.NetworkStream.

svn path=/trunk/mcs/; revision=13978
2003-04-24 16:26:16 +00:00
Paolo Molaro 1fdd7279f9 Thu Apr 24 17:11:03 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: rename mono and libmono to oldmono and liboldmono.

svn path=/trunk/mono/; revision=13977
2003-04-24 15:18:47 +00:00
Paolo Molaro 5433324ae9 Thu Apr 24 17:09:03 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: install the program with the 'mono' name and
	the library as libmono instead of mini and libmini.

svn path=/trunk/mono/; revision=13976
2003-04-24 15:17:40 +00:00
Paolo Molaro 09dcfa9654 Thu Apr 24 17:08:07 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: provide the APIs for the embedding interface of the old jit.

svn path=/trunk/mono/; revision=13975
2003-04-24 15:15:42 +00:00
Martin Baulig 46672b06f2 Ooops, increment symfile->generation here.
svn path=/trunk/mono/; revision=13968
2003-04-24 10:44:45 +00:00
Martin Baulig 19b1329c9d 2003-04-24 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_io_layer): Put this back.

svn path=/trunk/mono/; revision=13965
2003-04-24 09:59:47 +00:00
Dietmar Maurer e495e77b14 2003-04-23 Dietmar Maurer <[email protected]>
* jit-icalls.c (helper_stelem_ref): impl. (fix bug 41775)

svn path=/trunk/mono/; revision=13963
2003-04-24 09:16:28 +00:00
Martin Baulig 311f42e5bb 2003-04-24 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Moved all code which interacts with the
	Mono Debugger here.

	* debug-mono-symfile.c: This code now just deals with the symbol
	file itself, the debugger code is now in mono-debug-debugger.c.

svn path=/trunk/mono/; revision=13962
2003-04-24 08:00:17 +00:00
Gonzalo Paniagua Javier 56a046cb27 It's official: I gotta sleep
svn path=/trunk/mcs/; revision=13961
2003-04-24 06:42:42 +00:00
Gonzalo Paniagua Javier fd6f5a46b5 2003-04-24 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: implemented
	GenerateSnippetMember and some little fixes.

	* System.CodeDom/CodeMemberProperty.cs: fixed HasGet and HasSet to
	actually generate code for the property.

	* System.CodeDom.Compiler/CodeGenerator.cs: more fixes and sorted the
	output.

	* System.CodeDom.Compiler/IndentedTextWriter.cs: don't output tabs in
	WriteLine ().

svn path=/trunk/mcs/; revision=13960
2003-04-24 06:32:22 +00:00
César Natarén ff1fba34dd Added photo.
svn path=/trunk/mono/; revision=13959
2003-04-24 03:33:59 +00:00
Sebastien Pouliot 838adda109 2003-04-23 Sebastien Pouliot <[email protected]>
* PublisherTest.cs: Updated to NUnit2 style.
	* PublisherMembershipConditionTest.cs: Updated to NUnit2 style.
	* StrongNameTest.cs: Updated to NUnit2 style.

svn path=/trunk/mcs/; revision=13958
2003-04-24 03:28:43 +00:00
Sebastien Pouliot 0b078308e8 2003-04-23 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed issues for null certificate
	(special case where object exists without any certificate)
	which made PublisherTest fails.

svn path=/trunk/mcs/; revision=13957
2003-04-24 03:03:39 +00:00
Miguel de Icaza 57fc826262 2003-04-23 Miguel de Icaza <[email protected]>
* HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
	the ContentLength specified on the request.  If that happens, we
	have to accumulate all the data written, and once we accumulate
	the data, we send it off.

	Notice that the documentation in .NET is actually incorrect, they
	state that setting ContentLength is mandatory.  It is not.

svn path=/trunk/mcs/; revision=13956
2003-04-24 02:02:05 +00:00
Alexandre Pigolkine fff6857aaa new painting code, BackColor logic, ControlStyles
svn path=/trunk/mcs/; revision=13955
2003-04-24 00:08:24 +00:00
Sebastien Pouliot 1d59246b37 2003-04-23 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Fixed GetHashCode for null certificate
	(special case where object exists without any certificate)
	which made PublisherTest fails.

svn path=/trunk/mcs/; revision=13954
2003-04-24 00:01:42 +00:00
Miguel de Icaza 0eed5bae7d Add MIT X11 LICENSE to the class dir
svn path=/trunk/mcs/; revision=13946
2003-04-23 20:34:30 +00:00
Martin Baulig 4d0c758ae5 Don't call mono_debug_update(), it's not needed.
svn path=/trunk/mono/; revision=13944
2003-04-23 17:17:20 +00:00
Martin Baulig 0adff78bdf 2003-04-23 Martin Baulig <[email protected]>
* interp.c: When running with --dieonex, use the debugging code to
	print source lines in the backtrace.

svn path=/trunk/mono/; revision=13942
2003-04-23 16:52:01 +00:00
Martin Baulig 39fff62408 2003-04-23 Martin Baulig <[email protected]>
* mono-debug.c (mono_debug_source_location_from_il_offset):
	New method; like mono_debug_source_location_from_address(), but
	takes an IL offset instead of a machine address.

svn path=/trunk/mono/; revision=13941
2003-04-23 16:50:36 +00:00
Martin Baulig cf42e5090b Actually enable the debugging stuff.
svn path=/trunk/mono/; revision=13940
2003-04-23 16:38:16 +00:00
Martin Baulig 89e5f09ff1 Check whether debugging is actually enabled.
svn path=/trunk/mono/; revision=13939
2003-04-23 16:38:02 +00:00
Martin Baulig 466b2f274f Don't crash if debugging is disabled.
svn path=/trunk/mono/; revision=13938
2003-04-23 16:37:42 +00:00
Martin Baulig 9cfecba269 2003-04-23 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoDebugLineNumberEntry): Removed the
	`line' field; this is now computed by the debugger.

svn path=/trunk/mono/; revision=13935
2003-04-23 15:34:59 +00:00
Martin Baulig d4902ab7c7 Added a comment.
svn path=/trunk/mono/; revision=13934
2003-04-23 15:29:19 +00:00
Martin Baulig 63b9585e95 debug.h doesn't exist anymore.
svn path=/trunk/mono/; revision=13933
2003-04-23 15:27:08 +00:00
Martin Baulig 45a6f2679f Added some API documentation.
svn path=/trunk/mono/; revision=13932
2003-04-23 15:25:51 +00:00
Martin Baulig f6ed813205 2003-04-23 Martin Baulig <[email protected]>
* tramp-x86.c, tramp-ppc.c: Reenable the debugger breakpoint interface.

	* driver.c: Added `--debug' command line argument to enable
	debugging support.

svn path=/trunk/mono/; revision=13930
2003-04-23 15:02:13 +00:00
Martin Baulig 5183fc3d4a 2003-04-23 Martin Baulig <[email protected]>
* debug.[ch]: Removed.  The code is now in
	../metadata/mono-debug.[ch] and mono-debug-debugger.[ch].

	* debug-stabs.c, debug-dwarf2.c: Removed; nobody used this for the
	last six months.

svn path=/trunk/mono/; revision=13929
2003-04-23 14:58:51 +00:00
Martin Baulig 7a95685e8f 2003-04-23 Martin Baulig <[email protected]>
* mono.c: The `--debug' command line argument doesn't take any
	arguments anymore, removed the `--debug-args' argument.

svn path=/trunk/mono/; revision=13928
2003-04-23 14:57:20 +00:00
Martin Baulig c8bccc1178 Reflect latest API changes.
svn path=/trunk/mono/; revision=13927
2003-04-23 14:56:02 +00:00
Martin Baulig f3b6ef91a5 mono_debug_make_symbols() is now known as mono_debug_update().
svn path=/trunk/mono/; revision=13926
2003-04-23 14:55:00 +00:00
Martin Baulig 94e99554ee This was just an ugly hack for the debugger; removed it.
svn path=/trunk/mono/; revision=13925
2003-04-23 14:54:26 +00:00
Martin Baulig d695c5db93 2003-04-23 Martin Baulig <[email protected]>
* debug-jit.c (mono_debug_add_method): Renamed this to
	mono_debug_jit_add_method(); create the JIT-specific data
	structure and pass it to mono_debug_add_method().

svn path=/trunk/mono/; revision=13924
2003-04-23 14:53:21 +00:00
Martin Baulig 40f688aae7 2003-04-23 Martin Baulig <[email protected]>
* debug.[ch]: Removed.  The code is now in
	../metadata/mono-debug.[ch] and mono-debug-debugger.[ch].

	* debug-stabs.c, debug-dwarf2.c: Removed; nobody used this for the
	last six months.

svn path=/trunk/mono/; revision=13923
2003-04-23 14:51:26 +00:00
Martin Baulig 4ed6f96303 2003-04-23 Martin Baulig <[email protected]>
* mono-debug.[ch]: New files.  This is the new debugging interface.

	* mono-debug-debugger.[ch]: New files.  Moved all code which
	interacts with the Mono Debugger here.

svn path=/trunk/mono/; revision=13922
2003-04-23 14:48:28 +00:00
Gonzalo Paniagua Javier 2d82e07cc0 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: beautified conditional
	statements. Implemented GenerateConstructor and GenerateTypeConstructor.

	* System.CodeDom.Compiler/CodeGenerator.cs:
	(GenerateCompileUnitStart):
	(GenerateCompileUnitEnd): removed debug output.
	(GeneratePrimitiveExpression): handle null and bool as special cases.
	(GenerateType): added type constructor and constructor calls.

svn path=/trunk/mcs/; revision=13921
2003-04-23 14:28:32 +00:00
Aleksey Ryabchuk b2a68da589 * Application.cs : new internal functions enterModalLoop, exitModalLoop
* Button.cs : changes in DialogResult and OnClick
	* Control.cs : new internal getOwnerWindow method, recreate child windows in RecreateHandle as well
	* form.cs : implementation of modal forms
	* win32enums.cs :  constants for GetWindow function
	* win32functions.cs : GetWindow , IsDialogMessage added

svn path=/trunk/mcs/; revision=13920
2003-04-23 10:55:47 +00:00
Gonzalo Paniagua Javier 39773c5884 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* XmlReader.cs: reverted last patch. It breaks System.Configuration
	because 1. it considers XmlDeclaration as content and 2. always
	returns XmlNodeType.None.

svn path=/trunk/mcs/; revision=13919
2003-04-23 09:32:29 +00:00
Alp Toker 48708a3d87 2003-04-23 Alp Toker <[email protected]>
* PrimalityTests.cs: Mark PrimalityTest as non-CLS-compliant (build fix)

svn path=/trunk/mcs/; revision=13918
2003-04-23 06:05:00 +00:00
Nick Drochak 64e5a8b8de 2003-04-23 Nick Drochak <[email protected]>
* ArrayTest.cs: Disambiguate overloads now in .NET 1.1.

svn path=/trunk/mcs/; revision=13917
2003-04-23 04:34:56 +00:00
Sebastien Pouliot 5997f8df88 2003-04-22 Sebastien Pouliot <[email protected]>
* corlib_test.build: Excluded Mono.Math unit tests (as the class
	isn't available under MS implementation).
	* corlib_linux_test.args: Added all Mono.Math unit test files.
	* corlib_test.args: Added all Mono.Math unit test files.

svn path=/trunk/mcs/; revision=13916
2003-04-23 02:01:47 +00:00
Sebastien Pouliot acbb40ff83 *** empty log message ***
svn path=/trunk/mcs/; revision=13915
2003-04-23 01:49:06 +00:00
Sebastien Pouliot 3eeb96704f 2003-04-22 Sebastien Pouliot <[email protected]>
* ArithmeticBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* BigIntegerSetTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* BitwiseTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* GcdBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* ModInverseBigTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* ModRingTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* PrimeGenerationTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* PrimeTestingTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).
	* SearchGeneratorTest.cs: New. Unit tests for BigInteger
	  (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13914
2003-04-23 01:48:23 +00:00
Sebastien Pouliot 79e958e986 2003-04-22 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Changed key generation to use the
	new BigInteger class (commited for Ben Maurer).
	* RSACryptoServiceProvider.cs: Changed key generation to use the
	new BigInteger class (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13913
2003-04-23 01:46:32 +00:00
Sebastien Pouliot 7ddeb0cdf3 2003-04-22 Sebastien Pouliot <[email protected]>
* BigInteger.cs: New, much faster, version by Ben Maurer.
	Warning: this version requires "unsafe" compilation switch
	(which isn't a problem in corlib but may be elsewhere)

svn path=/trunk/mcs/; revision=13912
2003-04-23 01:45:50 +00:00
Sebastien Pouliot 4e17051a48 2003-04-22 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: New. Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).
	* PrimeGeneratorBase.cs: New. Abstract Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).
	* SequentialSearchPrimeGeneratorBase.cs: New. Prime Generator.
	Support class for BigInteger (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13911
2003-04-23 01:45:14 +00:00
Sebastien Pouliot 32963fd52a 2003-04-22 Sebastien Pouliot <[email protected]>
* ConfidenceFactor.cs: New. Enum for prime quality.
	Support for BigInteger (commited for Ben Maurer).
	* PrimalityTests.cs: New. Tests for primality.
	Support for BigInteger (commited for Ben Maurer).

svn path=/trunk/mcs/; revision=13910
2003-04-23 01:44:13 +00:00
Miguel de Icaza 740977aa4c Revert
svn path=/trunk/mcs/; revision=13909
2003-04-22 22:10:48 +00:00
Miguel de Icaza c5b8c54887 Oops, do not override
svn path=/trunk/mcs/; revision=13908
2003-04-22 22:10:09 +00:00
Miguel de Icaza 578d0b0d85 More backup
svn path=/trunk/mcs/; revision=13907
2003-04-22 22:08:32 +00:00
Miguel de Icaza b427c40024 Add version 2 tests
svn path=/trunk/mcs/; revision=13906
2003-04-22 21:33:10 +00:00
Miguel de Icaza 176b8768a9 Archive these files from my generics tree
svn path=/trunk/mcs/; revision=13905
2003-04-22 21:30:45 +00:00
Jonathan Pryor 19f6f0523c Added new question: Why not implement SWF on top of Gtk+?
svn path=/trunk/mono/; revision=13904
2003-04-22 20:20:29 +00:00
Ville Palo df627302b0 2003-04-22 Ville Palo <[email protected]>
* Directory.cs: clean up --> performance improvment. Some exceptions
	are now checked in File.cs.
	* File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.

svn path=/trunk/mcs/; revision=13903
2003-04-22 18:41:46 +00:00
Pedro Martínez Juliá e3d2afd1d8 2003-04-22 Pedro Mart�nez Juli� <[email protected]>
* NumberFormatInfo.cs: Method CurrentInfo now returns the "real"
    CurrentInfo (Thread.CurrentThread.CurrentCulture.NumberFormat).

2003-04-22  Pedro Mart�nez Juli�  <[email protected]>

    * FloatingPointFormatter.cs: Little fixes for get the same results
    as MS.NET and show a message when something goes wrong with the
    parser of Custom Formats.

svn path=/trunk/mcs/; revision=13902
2003-04-22 18:11:43 +00:00
Atsushi Eno ae5864eff3 2003-04-23 Atsushi Enomoto <[email protected]>
* Added missing ChangeLog of 4/4/2003.
	* XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
	  (write prefix instead of ns.)
	* XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
	* XmlTextReader.cs : modified to call Read() instead of ReadContent().
	  (It may be required for decorated reader such as XmlValidatingReader.)
	  Changed Read() error message for mismatch end tag.
	* XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
	* XmlReader.cs : Corrected misinterpreted MoveToContent() method.

svn path=/trunk/mcs/; revision=13901
2003-04-22 17:55:29 +00:00
Ville Palo d7094817af 2003-04-22 Ville Palo <[email protected]>
* FileTest.cs: More tests.

svn path=/trunk/mcs/; revision=13900
2003-04-22 17:38:40 +00:00
Miguel de Icaza 0099401d45 Work around for MCS bug: #41607
svn path=/trunk/mcs/; revision=13898
2003-04-22 16:21:43 +00:00
Dietmar Maurer 2e93cf4dfa 2003-04-22 Dietmar Maurer <[email protected]>
* mini.c (mono_method_to_ir): set the cil_code address (fix bug 41525)

svn path=/trunk/mono/; revision=13896
2003-04-22 15:09:24 +00:00
Lluis Sanchez 90e1004acd no message
svn path=/trunk/mono/; revision=13895
2003-04-22 14:44:28 +00:00
Nick Drochak 40a1a4284c Flush
svn path=/trunk/mcs/; revision=13894
2003-04-22 14:34:09 +00:00
Nick Drochak 1a7e08b05a 2003-04-22 Nick Drochak <[email protected]>
* Double.cs (ToString):
	* Single.cs (ToString): Handle case where param is a CultureInfo.

svn path=/trunk/mcs/; revision=13893
2003-04-22 14:32:55 +00:00
Dietmar Maurer c41fd03f8b 2003-04-22 Dietmar Maurer <[email protected]>
* domain.c (mono_init): initialize mono_defaults.monitor_class

svn path=/trunk/mono/; revision=13892
2003-04-22 13:47:45 +00:00
Aleksey Ryabchuk 4896b7ef2f * Control.cs : implementation of docking
* Form.cs    : small changes regarding resizing of MDI client window
	* StatusBar.cs : update parts on Layout event, new style to prevent resizing be the system

svn path=/trunk/mcs/; revision=13888
2003-04-22 11:06:42 +00:00
Gaurav Vaish d6475cb8db 2003-04-22 Gaurav Vaish <[email protected]>
* team.xml - Not a nerd, yet!

svn path=/trunk/mono/; revision=13885
2003-04-22 07:09:02 +00:00
Miguel de Icaza 2fb4170a2a update
svn path=/trunk/mono/; revision=13884
2003-04-22 06:57:03 +00:00
Miguel de Icaza 8bff73e5bc update man page
svn path=/trunk/mono/; revision=13883
2003-04-22 05:26:15 +00:00
Miguel de Icaza 9f5e946243 Add IExpando interface
svn path=/trunk/mcs/; revision=13882
2003-04-22 05:22:35 +00:00
Miguel de Icaza 897e002231 More error loving
svn path=/trunk/mcs/; revision=13881
2003-04-22 05:17:45 +00:00
César Natarén e8c7f9ff50 ChangeLog entry, and makefile.gnu little fixes.
svn path=/trunk/mcs/; revision=13880
2003-04-22 05:13:27 +00:00
César Natarén 28221a264a Added/Committed the files for antlr.debug.misc.
svn path=/trunk/mcs/; revision=13879
2003-04-22 05:06:54 +00:00
César Natarén a200b9de38 Added files from directory antlr.debug. See ChangeLog entry from April 21.
svn path=/trunk/mcs/; revision=13878
2003-04-22 05:04:03 +00:00
César Natarén 6f81b6ebc9 Added/Commited antlr.collections.impl
svn path=/trunk/mcs/; revision=13877
2003-04-22 05:01:35 +00:00
Miguel de Icaza ace8a6524d Another error
svn path=/trunk/mcs/; revision=13876
2003-04-22 05:00:58 +00:00
Miguel de Icaza 474a22db35 Add another
svn path=/trunk/mcs/; revision=13875
2003-04-22 04:59:17 +00:00
César Natarén a12efbc26e Added Antlr.Runtime/antlr.collections and Antlr.Runtime/antlr.collections/AST.cs.
svn path=/trunk/mcs/; revision=13874
2003-04-22 04:59:15 +00:00
César Natarén 1c571dfe5d Added Antlr.Runtime/antlr, needed for compiling the files generated by antlr compiler/compiler.
svn path=/trunk/mcs/; revision=13873
2003-04-22 04:56:13 +00:00
Miguel de Icaza 99de138a5a 2003-04-21 Miguel de Icaza <[email protected]>
* reflection.c (method_encode_code): Add a spicy exception to help
	future compiler authors.

svn path=/trunk/mono/; revision=13872
2003-04-22 01:56:04 +00:00
Sebastien Pouliot 1bdbed3f21 2003-04-21 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Fixed DateTime issue by setting
	CultureInfo to "". Thanks Nick!

svn path=/trunk/mcs/; revision=13871
2003-04-22 01:27:44 +00:00
Rafael Teixeira d3c2244f89 Lots of stubs from Peter Van Isacker, that I'd started to flesh in - compilable
svn path=/trunk/mcs/; revision=13870
2003-04-22 00:53:47 +00:00
Gonzalo Paniagua Javier 0911729c1a 2003-04-22 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: patch from [email protected] (Bernie Solomon)
	that fixes bug #41684.

svn path=/trunk/mcs/; revision=13869
2003-04-22 00:19:52 +00:00
Martin Baulig f4508e132a 2003-04-21 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
	Make this work with relative pathnames; g_filename_to_uri() needs
	an absolute filename.

svn path=/trunk/mono/; revision=13867
2003-04-21 21:58:49 +00:00
Martin Baulig 969819a737 Copied them over again from ../jit/.
svn path=/trunk/mono/; revision=13865
2003-04-21 21:15:46 +00:00
Martin Baulig 1aff70f197 2003-04-21 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): Splitted into mono_debug_init() and
	mono_debug_init_2().
	(mono_debug_open_image): Don't open referenced assemblies; this is
	done automatically by the code in assembly.c.

	* mono.c (main_thread_handler): Call mono_debug_init() before
	opening the assembly because we need to install the assembly load
	hook before doing so.

svn path=/trunk/mono/; revision=13864
2003-04-21 21:14:43 +00:00
Miguel de Icaza 5617f7acd3 More updates
svn path=/trunk/mono/; revision=13862
2003-04-21 19:22:14 +00:00
Ville Palo c87c8e8b14 2003-04-21 Ville Palo <[email protected]>
* Directory.cs: lots of fixes.
	  - Added GetXXXtimeUtc () (v1.1) methods.
	  - Added SetXXXtimeUtc () (v1.1) methods.

svn path=/trunk/mcs/; revision=13861
2003-04-21 19:20:47 +00:00
Ville Palo 547eb6120f 2003-04-21 Ville Palo <[email protected]>
* DirectoryTest.cs: lots of new tests. and some fixes and clean ups

svn path=/trunk/mcs/; revision=13859
2003-04-21 19:14:00 +00:00
Miguel de Icaza b803c7a8b8 Flush
svn path=/trunk/mono/; revision=13858
2003-04-21 19:02:16 +00:00
Miguel de Icaza e63eb68286 Sigh
svn path=/trunk/mcs/; revision=13857
2003-04-21 18:52:22 +00:00
Jaime Anguiano Olarra 99532b2d4a Yes. Here I am.
svn path=/trunk/mono/; revision=13856
2003-04-21 18:08:54 +00:00
Nick Drochak f7fa6d289f 003-04-20 Nick Drochak <[email protected]>
* Remove nunit version 1

svn path=/trunk/mcs/; revision=13845
2003-04-21 13:35:38 +00:00
Nick Drochak 38be1c6f5f 2003-04-15 Nick Drochak <[email protected]>
* Remove nunit version 1

svn path=/trunk/mcs/; revision=13844
2003-04-21 13:30:25 +00:00
Ville Palo b863c13b78 2003-04-21 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/DirectoryTest.cs
	* corlib_test.args: added System.IO/DirectoryTest.cs

svn path=/trunk/mcs/; revision=13843
2003-04-21 12:06:56 +00:00
V Kaluzhny 91119a9dc1 Kaluzhny: CompanyName, CurrentCulture, ExecutablePath, ProductName, ProductVersion properties
svn path=/trunk/mcs/; revision=13842
2003-04-21 06:48:50 +00:00
V Kaluzhny a70162c75f Kaluzhny: add myself to the contributors
svn path=/trunk/mono/; revision=13841
2003-04-21 06:16:44 +00:00
Miguel de Icaza c3d9e2920e Add new error
svn path=/trunk/mcs/; revision=13840
2003-04-21 06:16:36 +00:00
Miguel de Icaza f60bb6f671 2003-04-20 Miguel de Icaza <[email protected]>
* typemanager.cs (TypeManager.NamespaceClash): Use to check if
	there is already a namespace defined with this name.

	(TypeManager.InitCoreTypes): Remove the temporary workaround, as
	people upgraded their corlibs.

	(TypeManager.CoreLookupType): Use LookupTypeDirect, as we
	always use fully qualified types, no need to use the compiler
	front end.

	(TypeManager.IsNamespace): Use binarysearch.

	* class.cs (AddClass, AddStruct, AddInterface, AddEvent,
	AddDelegate): I did not quite use the new IsValid API properly: I
	have to pass the short-name and the fullname.  I was passing only
	the basename instead of the fullname sometimes.

	(TypeContainer.DefineType): call NamespaceClash.

	* interface.cs (Interface.DefineType): use NamespaceClash before
	defining the type.

	* delegate.cs (Delegate.DefineType): use NamespaceClash before
	defining the type.

	* enum.cs: (Enum.DefineType): use NamespaceClash before
	defining the type.

svn path=/trunk/mcs/; revision=13839
2003-04-21 00:55:11 +00:00
César Natarén 9999e81a2b Added ChangeLog
svn path=/trunk/mcs/; revision=13838
2003-04-21 00:42:45 +00:00
Sebastien Pouliot 90b478b859 picture added
svn path=/trunk/mono/; revision=13837
2003-04-21 00:40:12 +00:00
Sebastien Pouliot c4db3b3643 *** empty log message ***
svn path=/trunk/mono/; revision=13836
2003-04-21 00:38:52 +00:00
César Natarén 54c0060f81 Added the files: makefile.gnu and unix.args.
svn path=/trunk/mcs/; revision=13835
2003-04-21 00:38:44 +00:00
César Natarén 951b6034bc Made some changes to get closer to Microsoft.JScript public API and for the building process. See ChangeLog entries from April's 19 and 20.
svn path=/trunk/mcs/; revision=13834
2003-04-20 23:10:59 +00:00
Miguel de Icaza a1b6fa9f75 Add new error: namespace clashes
svn path=/trunk/mcs/; revision=13833
2003-04-20 22:36:57 +00:00
Miguel de Icaza 6b4897725b 2003-04-20 Miguel de Icaza <[email protected]>
* ILGenerator.cs (EmitCall): Implement.

	Flag a few unimplemented methods with MonoTODO, make coding style
	for method definitions Mono consistent.

svn path=/trunk/mcs/; revision=13832
2003-04-20 20:57:47 +00:00
Miguel de Icaza 098b548d8a 2003-04-20 Miguel de Icaza <[email protected]>
* StringReaderTest.cs: Update test to include read-past-the-end

svn path=/trunk/mcs/; revision=13831
2003-04-20 20:32:27 +00:00
Miguel de Icaza 48bc1af95e 2003-04-20 Igor Nosyryev <[email protected]>
* StringReader.cs (Read): Increment nextChar by charsToRead
	instead of count, that will guarantee that the next time the
	method is called, it will return 0 on an empty string rather than
	throwing an exception

svn path=/trunk/mcs/; revision=13830
2003-04-20 20:25:57 +00:00
Alan Tam de96f3b8b7 2003-04-20 Alan Tam <[email protected]>
* DataRelationCollection.cs: Fix a bug that prevent relations
        from being added via DataSet.

svn path=/trunk/mcs/; revision=13826
2003-04-20 17:56:54 +00:00
Gonzalo Paniagua Javier 817687daa6 Added 3 new files
svn path=/trunk/mcs/; revision=13825
2003-04-20 17:00:30 +00:00
Gonzalo Paniagua Javier f5e116b15c 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* ControlBuilder.cs: line and fileName are protected now.

	* CodeBuilder.cs: base class for the next 2 files.
	* CodeRenderBuilder.cs: builder for code render.
	* DataBindingBuilder.cs: builder for data binding.

svn path=/trunk/mcs/; revision=13824
2003-04-20 16:59:53 +00:00
Gonzalo Paniagua Javier 139868e0c8 2003-04-20 Gonzalo Paniagua Javier <[email protected]>
* list: sorted, added a couple of missing files and 3 new ones.
	* System.Web.Compilation/AspComponentFoundry.cs: added GetComponentType
	method.
	* System.Web.UI/ITagNameToTypeMapper.cs: made it internal.

	* System.Web.UI/ObjectTagBuilder.cs: builder for
	<object runat="server"> tag.
	* System.Web.UI/ObjectTag.cs:
	* System.Web.UI/RootBuilder.cs: initial builder.

svn path=/trunk/mcs/; revision=13823
2003-04-20 15:25:58 +00:00
Ville Palo 498d86ed5e 2003-04-20 Ville Palo <[email protected]>
* DirectoryTest.cs: new file

svn path=/trunk/mcs/; revision=13822
2003-04-20 15:05:49 +00:00
Jackson Harper 9dcf8b59fb "oops forgot to commit"
svn path=/trunk/mcs/; revision=13821
2003-04-20 09:10:58 +00:00
Jackson Harper 06d8ca1ad7 * makefile: Add DataDef to build
* makefile.gnu: Add DataDef to build

svn path=/trunk/mcs/; revision=13820
2003-04-20 09:10:08 +00:00
Jackson Harper 1908653a50 * ILParser.jay: Define data, fix repeat_opt allways being set.
svn path=/trunk/mcs/; revision=13819
2003-04-20 09:08:49 +00:00
Jackson Harper b693bf29f4 * CodeGen.cs: Add method to add data
* FieldDef.cs: Add method to set a fields value
	* TypeDef.cs: Add method to add data
	* DataDef.cs: New file - Definition of a data constant

svn path=/trunk/mcs/; revision=13818
2003-04-20 09:05:29 +00:00
Miguel de Icaza 244c4415f5 2003-04-20 Miguel de Icaza <[email protected]>
* typemanager.cs (: 3-line patch that gives us some tasty 11%
	speed increase.  First, use the negative_hits cache when we get a
	negative.  Second, add the type with its full original name
	instead of the new . and + encoded name (reflection uses + to
	separate type from a nested type).  Use LookupTypeReflection
	directly which bypasses the type->name hashtable (that we already
	know does not contain the type.

	* decl.cs (DeclSpace.ResolveTypeExpr): track the
	location/container type.

	* driver.cs: When passing utf8, use directly the UTF8Encoding.

svn path=/trunk/mcs/; revision=13817
2003-04-20 05:22:49 +00:00
Miguel de Icaza 870294c019 2003-04-20 Miguel de Icaza <[email protected]>
* driver.cs: Use CodePage not WindowsCodePage.

svn path=/trunk/mcs/; revision=13816
2003-04-20 04:35:53 +00:00
Miguel de Icaza 6a21212aa7 Flush
svn path=/trunk/mono/; revision=13809
2003-04-19 21:24:51 +00:00
Miguel de Icaza c5118cc145 2003-04-19 Miguel de Icaza <[email protected]>
* delegate.cs (NewDelegate.Resolve): Test whether an instance
	method is being referenced in the method group from a static
	context, and report error 120 if so.

svn path=/trunk/mcs/; revision=13808
2003-04-19 21:18:35 +00:00
Ben Maurer e1a749dce7 Ok, it seem that the last patch did not fix everything. This one should
Before, if there was a one-line block (such as in if (x) do_something;) and a non-one-line block after, the statement of the second block would be removed, and its bracket put on the first statement.

svn path=/trunk/mcs/; revision=13807
2003-04-19 21:17:33 +00:00
César Natarén b8cc1c6720 Added some classes from the public API of Microsoft.JScript.
svn path=/trunk/mcs/; revision=13806
2003-04-19 20:10:13 +00:00
Miguel de Icaza 169bd3302b 2003-04-19 Miguel de Icaza <[email protected]>
* typemanager.cs: Add intermediate namespaces (if a namespace A.B
	is created, we create the A namespace).

svn path=/trunk/mcs/; revision=13805
2003-04-19 20:03:07 +00:00
Miguel de Icaza 1ef43d21e8 2003-04-19 Miguel de Icaza <[email protected]>
* cs-parser.jay: A namespace also introduces a DeclarationFound.
	Fixes #41591

svn path=/trunk/mcs/; revision=13804
2003-04-19 19:47:21 +00:00
Ben Maurer 48fabe053a Made monostyle.cs able to run on itself.
svn path=/trunk/mcs/; revision=13803
2003-04-19 19:39:12 +00:00
Miguel de Icaza 0e7d559312 add relaxng validating reader
svn path=/trunk/mono/; revision=13802
2003-04-19 19:24:57 +00:00
Miguel de Icaza 17e3776188 update docs
svn path=/trunk/mono/; revision=13801
2003-04-19 17:40:06 +00:00
Zoltan Varga fbcb9178f4 2003-04-19 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Enable the last changes again since they no
	longer break the corlib_cmp build.

svn path=/trunk/mcs/; revision=13800
2003-04-19 08:56:01 +00:00
Jackson Harper 48ccb93d74 * FieldDef.cs: Change peapi fielddef name.
* MethodDef.cs: Change peapi methoddef name.

svn path=/trunk/mcs/; revision=13799
2003-04-19 05:16:31 +00:00
Ville Palo f40f59cdc5 2003-04-19 Ville Palo <[email protected]>
* BufferedStream.cs: Some fixes, mostly throwing exceptions.
	* MemoryStream.cs: Changed the order of exception checking
	* StringReader.cs: little clean up

svn path=/trunk/mcs/; revision=13798
2003-04-19 02:17:25 +00:00
Ville Palo f987c87f6e 2003-04-19 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/BufferedStreamTest.cs
	* corlib_test.args: added System.IO/BufferedStreamTest.cs

svn path=/trunk/mcs/; revision=13797
2003-04-19 01:31:55 +00:00
Miguel de Icaza 9867adaf8d 2003-04-18 Miguel de Icaza <[email protected]>
* typemanager.cs (GetReferenceType, GetPointerType): In .NET each
	invocation to ModuleBuilder.GetType with the same values will
	return a new type instance, so we need to cache its return
	values.

svn path=/trunk/mcs/; revision=13796
2003-04-18 22:45:45 +00:00
Duncan Mak ca427119d4 Make it handle TextInfo, NumberFormatInfo, and
some other fixes.

svn path=/trunk/mcs/; revision=13795
2003-04-18 22:39:03 +00:00
Duncan Mak 543f256589 Add ThreeLetterWindowsLanguageName
svn path=/trunk/mcs/; revision=13794
2003-04-18 22:38:09 +00:00
Miguel de Icaza 4f33e4b426 2003-04-18 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Only allow the compare
	operators on enums if they are of the same type.

svn path=/trunk/mcs/; revision=13793
2003-04-18 22:35:18 +00:00
Miguel de Icaza 0584c52754 Another test file
svn path=/trunk/mcs/; revision=13792
2003-04-18 22:28:42 +00:00
Miguel de Icaza 1dbc33f407 2003-04-18 Miguel de Icaza <[email protected]>
* ecore.cs (Expression.ImplicitReferenceConversion): handle target
	types of ValueType on their own case.  Before we were giving them
	the same treatment as objects.

svn path=/trunk/mcs/; revision=13791
2003-04-18 22:16:40 +00:00
Miguel de Icaza 953f1c05b7 Type.Namespace can return null for <PrivateImplDetails>
svn path=/trunk/mcs/; revision=13790
2003-04-18 21:35:58 +00:00
Miguel de Icaza fdb5da7159 2003-04-18 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.IsValid): IsValid takes the short name and
	fullname.  Short name is used to compare against container name.
	Fullname is used to check against defined namespace names.

	* class.cs (AddProperty, AddField, AddClass, AddStruct, AddEnum,
	AddDelegate, AddEvent): Pass new parameter to DeclSpace.IsValid

svn path=/trunk/mcs/; revision=13789
2003-04-18 21:21:24 +00:00
Miguel de Icaza 1ba6956e61 Couple of fixes to the build: clash of name and parent name
svn path=/trunk/mcs/; revision=13788
2003-04-18 21:06:38 +00:00
Miguel de Icaza 8696292ac4 2003-04-18 Miguel de Icaza <[email protected]>
* class.cs (Method.CheckBase): Call parent.
	(MemberBase.CheckBase): Check for protected members on sealed
	classes.
	(PropertyBase.CheckBase): Call parent.
	(Field.Define): Call parent.

svn path=/trunk/mcs/; revision=13787
2003-04-18 21:02:56 +00:00
Miguel de Icaza cec7845e67 Add new error test
svn path=/trunk/mcs/; revision=13786
2003-04-18 21:02:36 +00:00
Miguel de Icaza fa1afa3621 add windows target
svn path=/trunk/mcs/; revision=13785
2003-04-18 20:49:00 +00:00
Miguel de Icaza 7e803eb16d Exclude RuntimeHelpers from the res version
svn path=/trunk/mcs/; revision=13784
2003-04-18 20:47:54 +00:00
Miguel de Icaza ce76b2bc2d Exclude RuntimeHelpers from the compare version
svn path=/trunk/mcs/; revision=13783
2003-04-18 20:46:43 +00:00
Miguel de Icaza d5459b3976 Fix makefile, sorry about that
svn path=/trunk/mcs/; revision=13782
2003-04-18 20:44:24 +00:00
Miguel de Icaza d5aa66c24e Work around bug in CSC from .NET 1.1 bug
svn path=/trunk/mcs/; revision=13781
2003-04-18 20:44:10 +00:00
Miguel de Icaza 718e8fbd7d Remove unused variable
svn path=/trunk/mcs/; revision=13780
2003-04-18 20:38:39 +00:00
Zoltan Varga dd6d272eaf 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Back out these changes as they break the windows
	build.

svn path=/trunk/mcs/; revision=13779
2003-04-18 20:29:04 +00:00
Eduardo Garcia Cebollero 1aea5d1c55 Added my Data And Fixed �The XML. (A <contributor> added himself after
the end of the </contrinutors>

svn path=/trunk/mono/; revision=13778
2003-04-18 20:02:32 +00:00
Miguel de Icaza cd86d072be A first batch of improvements.
2003-04-18  Miguel de Icaza  <[email protected]>

	* report.cs: Negative error codes are now mapped to 8000 - code,
	so that the display is render more nicely.

	* typemanager.cs: Do not use try/catch, instead report a regular
	error.

	(GetPointerType, GetReferenceType): These methods provide
	mechanisms to obtain the T* and T& from a T.  We had the code
	previously scattered around the code base, and it also used
	TypeManager.LookupType that would go through plenty of caches.
	This one goes directly to the type source.

	In some places we did the Type.GetType followed by
	ModuleBuilder.GetType, but not in others, so this unifies the
	processing as well.

	* namespace.cs (VerifyUsing): Perform a non-lazy approach to using
	statements now that we have namespace information.

	* typemanager.cs (IsNamespace): New method, returns whether the
	string presented is a namespace or not.

	(ComputeNamespaces): New public entry point, computes the list of
	available namespaces, using the GetNamespaces API call in Mono, or
	the slower version in MS.NET.

	Now before we start the semantic analysis phase, we have a
	complete list of namespaces including everything that the user has
	provided.

	Deleted old code to cache namespaces in .nsc files.

svn path=/trunk/mcs/; revision=13777
2003-04-18 19:31:46 +00:00
Miguel de Icaza 2215379b30 More updates
svn path=/trunk/mono/; revision=13775
2003-04-18 18:29:48 +00:00
Miguel de Icaza 0b0280f31c We are stricter every day
svn path=/trunk/mcs/; revision=13773
2003-04-18 18:05:29 +00:00
Zoltan Varga 0576e591c1 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpersTest.cs: Added tests for Equals() and GetHashCode ()
	methods.

svn path=/trunk/mcs/; revision=13772
2003-04-18 17:53:34 +00:00
Zoltan Varga 8f5fb1127b 2003-04-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs: Implement Equals and GetHashCode methods from
	NET 1.1.

svn path=/trunk/mcs/; revision=13771
2003-04-18 17:50:48 +00:00
Zoltan Varga deb52b6560 2003-04-18 Zoltan Varga <[email protected]>
* icall.c: Track name changes in Object and ValueType.

svn path=/trunk/mono/; revision=13770
2003-04-18 17:47:53 +00:00
Zoltan Varga 6482189856 2003-04-18 Zoltan Varga <[email protected]>
* Object.cs ValueType.cs: Make the Object::GetHashCode() and
	ValueType::Equals() icalls static non-virtual, so they can be called
	by the code in RuntimeHelpers.

svn path=/trunk/mcs/; revision=13769
2003-04-18 17:44:49 +00:00
Miguel de Icaza f018e90f7b Update Gtk#
svn path=/trunk/mono/; revision=13768
2003-04-18 17:09:58 +00:00
Miguel de Icaza 264a0c168a Add more comments
svn path=/trunk/mono/; revision=13767
2003-04-18 16:42:33 +00:00
Miguel de Icaza b87ebecbb7 Add more comments
svn path=/trunk/mono/; revision=13766
2003-04-18 16:35:09 +00:00
Miguel de Icaza 12bc090fe6 2003-04-18 Miguel de Icaza <[email protected]>
* Delegate.cs (operator ==): Do not crash if the second argument
	is null.  Bug fix submitted by Juan Cri.

svn path=/trunk/mcs/; revision=13765
2003-04-18 14:07:33 +00:00
Eduardo Garcia Cebollero 578db4ac40 2003-04-18 Eduardo Garcia Cebollero <[email protected]>
* Array.cs: Deleted the exception in Array.Initialize(), it looks
        like the method do nothing for C#, is still a MonoTODO until
        we find a compiler that uses that.

svn path=/trunk/mcs/; revision=13764
2003-04-18 14:04:45 +00:00
Miguel de Icaza 58cd257abe Add two errors
svn path=/trunk/mcs/; revision=13763
2003-04-18 13:51:39 +00:00
Dietmar Maurer ff3b76bd2f 2003-04-18 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_stack_size): size should be a multiple of
	sizeof (gpointer)

svn path=/trunk/mono/; revision=13762
2003-04-18 09:56:37 +00:00
Jackson Harper 386ec059bf * makefile: Add new types to build
* makefile.gnu: Add new types to build

svn path=/trunk/mcs/; revision=13761
2003-04-18 06:38:09 +00:00
Jackson Harper 3aa309994b * MethodDef.cs: New file - definition of a method.
* ParamDef.cs: New file - definition of a parameter to a method
	* TypeDef.cs: Add method definitions, set intransit flag to false
	before defining members, so a false circular reference is not
	created.
	* CodeGen.cs: Add methods to add method definitions

svn path=/trunk/mcs/; revision=13760
2003-04-18 06:36:00 +00:00
Jackson Harper 0063f7bb1f * ILParser.jay: Add external types to the extern type table.
svn path=/trunk/mcs/; revision=13759
2003-04-18 04:53:19 +00:00
Jackson Harper 7ac503721d * ExternTypeRef.cs: external types are classrefs
svn path=/trunk/mcs/; revision=13758
2003-04-18 04:45:37 +00:00
Jackson Harper 7cbea259db * AssemblyInfo.cs: Increase version number.
svn path=/trunk/mcs/; revision=13757
2003-04-18 04:16:45 +00:00
Jackson Harper a7202691a2 * PeapiTypeRef.cs: New file - base wrapper for type refs that are
just peapi types.
	* PrimitiveTypeRef.cs: New file - A primitive type (char, int, string)

svn path=/trunk/mcs/; revision=13756
2003-04-18 04:11:00 +00:00
Jackson Harper 6db5fb0c4f * Driver.cs: Call new codegen methods.
* makefile: Add new types to build
	* makefile.gnu: Add new types to build

svn path=/trunk/mcs/; revision=13755
2003-04-18 04:08:03 +00:00
Jackson Harper c764c105f4 * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
* TypeManager.cs: Rewrite - Just a simple table for looking up
	typedefs
	* ExternTable.cs: Create ClassRef's instead of Classes
	* Location.cs: Make compile
	* CodeGen.cs: Use new tree system

svn path=/trunk/mcs/; revision=13754
2003-04-18 04:05:31 +00:00
Jackson Harper c44542cb4e * ILParser.jay: Use new types and methods to build a tree.
svn path=/trunk/mcs/; revision=13753
2003-04-18 04:04:18 +00:00
Jackson Harper 888f7ee24d * ExternTypeRef.cs: New file - Represents a reference to a type in
an external assembly
	* FieldDef.cs: New file - Represents a field definition
	* IClassRef.cs: New file - Interface that classrefs must
	implement. This needs some more thought though because once a
	classref has been modified it is no longer a classref.
	* ITypeRef.cs: New file - Interface that references to types must
	implement
	* TypeDef.cs: New file - Represents the a class definition, and
	will hold all of the classes members.

svn path=/trunk/mcs/; revision=13752
2003-04-18 03:52:17 +00:00
Gonzalo Paniagua Javier 40a6048bc4 little tweak to prevent 2 seconds pause when no finalizers pending
svn path=/trunk/mono/; revision=13750
2003-04-18 02:19:15 +00:00
Miguel de Icaza 7f515f93fe Rename for more appropriate naming
svn path=/trunk/mcs/; revision=13748
2003-04-18 02:15:38 +00:00
Miguel de Icaza 2748600510 Missing Changelog entry
svn path=/trunk/mcs/; revision=13747
2003-04-18 02:15:06 +00:00
Miguel de Icaza a11d375e19 missing changelog entry
svn path=/trunk/mcs/; revision=13746
2003-04-18 02:14:03 +00:00
Duncan Mak b509012ee5 Remove these files
svn path=/trunk/mcs/; revision=13745
2003-04-18 02:03:24 +00:00
Miguel de Icaza c5e6d6e6f4 2003-04-17 Miguel de Icaza <[email protected]>
* class.cs: (TypeContainer.DefineDefaultConstructor): Use the
	class/struct location definition Location for the implicit
	constructor location.

	(Operator.Define): Use the location of the operator for the
	implicit Method definition.

	(Constructor.Emit): use the constructor location for the implicit
	base initializer constructor.

svn path=/trunk/mcs/; revision=13744
2003-04-18 01:52:51 +00:00
Miguel de Icaza 596a57ce07 Add small intro
svn path=/trunk/mono/; revision=13743
2003-04-18 00:28:31 +00:00
Miguel de Icaza 037871443d Update mini-doc.txt
svn path=/trunk/mono/; revision=13742
2003-04-18 00:23:09 +00:00
Miguel de Icaza 05c03d1ce4 Update with links to CORBA.Remoting
svn path=/trunk/mono/; revision=13741
2003-04-17 23:52:30 +00:00
Eduardo Garcia Cebollero be5d77ab4e 2003-04-18 Eduardo Garcia Cebollero <[email protected]>
* ArrayTest.cs: added a few more tests to test Array.Initialize()
        and added some [Test] atributes to the tests.

svn path=/trunk/mcs/; revision=13740
2003-04-17 23:02:55 +00:00
Miguel de Icaza 147ded2fb6 2003-04-17 Miguel de Icaza <[email protected]>
* ecore.cs: Remove ITypeExpression.  This interface is now gone,
	and the Expression class now contains two new methods:

	ResolveAsTypeStep and ResolveAsTypeTerminal.  This is used to
	isolate type lookup from the rest of the resolution process.

	Since we use Expressions to hold type definitions due to the way
	we parse the input we have historically overloaded Resolve to
	perform the Type lookups if a special flag is passed.  Now this is
	eliminated and two methods take their place.

	The differences in the two methods between xStep and xTerminal is
	that xStep is involved in our current lookup system that uses
	SimpleNames to compose a name, while xTerminal is used just to
	catch the case where the simplename lookup failed.

svn path=/trunk/mcs/; revision=13739
2003-04-17 22:19:07 +00:00
Joel Basson 2a5abfdcaa 2003-04-17 Joel Basson <[email protected]>
* ComboBox.cs
* ColorDialog.cs
* Improved functionality in RadioBox.cs
* Fix some things that were broken with the update to gtk-sharp-0.8

svn path=/trunk/mcs/; revision=13738
2003-04-17 21:33:13 +00:00
Pedro Martínez Juliá f2d32eb17c 2003-04-17 Pedro Mart�nez Juli� <[email protected]>
* Timer.cs: Change the position of two lines because they were
    before the "if" that ensures the integrity. After this, the first of
    that two lines was producing a NullReferenceException.

svn path=/trunk/mcs/; revision=13737
2003-04-17 20:35:41 +00:00
Gonzalo Paniagua Javier e8ff538f3f 2003-04-17 Gonzalo Paniagua Javier <[email protected]>
* jit/jit.c:
	(mono_jit_cleanup): moved mono_runtime_cleanup call after the call to
	mono_domain_finalize.

	* mini/mini.c:
	(mini_cleanup): moved mono_runtime_cleanup call after the call to
	mono_domain_finalize.
	(mini_method_compile): use mono_method_profile* if the the option is
	enabled.

	* metadata/gc.c:
	(internal_domain_finalize): moved into mono_domain_finalize. No need
	to create another thread because the finalizers will be run in the
	finalizer thread.

	(ves_icall_System_GC_WaitForPendingFinalizers): implemented.
	(finalizer_notify): if shutting down, wait 2 seconds for the finalizers
	to be run (MS does this too).

svn path=/trunk/mono/; revision=13733
2003-04-17 19:38:23 +00:00
Zoltan Varga 1b09f05340 Added tests for the 'synchronized' method attribute.
svn path=/trunk/mono/; revision=13732
2003-04-17 18:18:21 +00:00
Zoltan Varga 1454d9ece6 2003-04-17 Zoltan Varga <[email protected]>
* tramp-x86.c (mono_arch_create_jit_trampoline): Subsitute synchronized
	methods with their wrapper.

	* tramp-ppc.c (mono_arch_create_jit_trampoline): Subsitute synchronized
	methods with their wrapper.

	* jit-icalls.c (mono_ldvirtfn): Subsitute synchronized methods with
	their wrapper.

	* mini.c (mono_method_to_ir): Subsitute synchronized methods with their
	wrapper.

	* mini.c (mono_method_check_inlining): Avoid inlining synchronized
	methods.

svn path=/trunk/mono/; revision=13731
2003-04-17 18:14:54 +00:00
Miguel de Icaza 8908a91bda update pic, add pic
svn path=/trunk/mono/; revision=13729
2003-04-17 17:57:02 +00:00
Zoltan Varga 957de1cef4 Oops.
svn path=/trunk/mono/; revision=13726
2003-04-17 16:18:29 +00:00
Zoltan Varga 902a8adb9b 2003-04-17 Zoltan Varga <[email protected]>
* object.c (mono_class_compute_gc_descriptor): Update comment.

	* loader.h marshal.h marshal.c: Added synchronized method wrappers.

	* image.h: Add synchronized wrapper cache.

	* image.c (do_mono_image_open): Initialize cache.

	* reflection.c (create_dynamic_mono_image): Initialize cache.

svn path=/trunk/mono/; revision=13725
2003-04-17 16:12:18 +00:00
Aleksey Ryabchuk 721482243a * Control.cs : implementation of scale functions, bug-fix in ControlCollection.Add
* Form.cs    : implementation of ScaleCore method

svn path=/trunk/mcs/; revision=13724
2003-04-17 15:49:08 +00:00
Dietmar Maurer bdc937d13c *** empty log message ***
svn path=/trunk/mono/; revision=13723
2003-04-17 15:33:14 +00:00
Tim Coleman 79372baef9 2003-04-17 Tim Coleman <[email protected]>
* team.xml:
	* team/timc.png:
		Added my lovely face.

svn path=/trunk/mono/; revision=13722
2003-04-17 15:10:03 +00:00
Zoltan Varga fa79becab9 2003-04-17 Zoltan Varga <[email protected]>
* ILGenerator.cs: Implement EmitWriteLine methods.

svn path=/trunk/mcs/; revision=13721
2003-04-17 14:55:25 +00:00
Nick Drochak 017ed01b6f Oops.
svn path=/trunk/mcs/; revision=13720
2003-04-17 14:50:02 +00:00
Nick Drochak 57fc0877ff 2003-04-15 Nick Drochak <[email protected]>
* makefile: Remove nunit version 1 from build

svn path=/trunk/mcs/; revision=13719
2003-04-17 14:47:23 +00:00
Nick Drochak 0686139ff0 2003-04-17 Nick Drochak <[email protected]>
* makefile.gnu: get the nunit dll from class/lib now.
	* DateAndTimeTest.cs: Ignore test that hangs mono.

svn path=/trunk/mcs/; revision=13718
2003-04-17 14:45:41 +00:00
Nick Drochak 5134c1083a 2003-04-17 Nick Drochak <[email protected]>
* UserPreferenceCategory.cs: Fix typo.
	* SystemEvents.cs: Fix inheritance.

svn path=/trunk/mcs/; revision=13717
2003-04-17 14:43:16 +00:00
Gonzalo Paniagua Javier dd020c9afa removed writeline
svn path=/trunk/mcs/; revision=13716
2003-04-17 14:42:34 +00:00
Nick Drochak d87186bca8 2003-04-17 Nick Drochak <[email protected]>
* makefile.gnu: The Test dir does not contain a unit test.

svn path=/trunk/mcs/; revision=13715
2003-04-17 14:38:58 +00:00
Nick Drochak 40b2b50599 2003-04-17 Nick Drochak <[email protected]>
* DoubleTest.cs: Output some more debug info.

svn path=/trunk/mcs/; revision=13714
2003-04-17 14:27:44 +00:00
Aleksey Ryabchuk 649d846c6e * ImageList.cs
* ImageListStreamer.cs : started to implement
	* Control.cs : changes in implementation of size-related functions
	* Form.cs    : small modifications to reflect changes in Contol class

svn path=/trunk/mcs/; revision=13713
2003-04-17 14:26:55 +00:00
Nick Drochak dd2030c6a8 2003-04-17 Nick Drochak <[email protected]>
* StackFrameTest.cs: Use nunit version 2 style.

svn path=/trunk/mcs/; revision=13712
2003-04-17 14:26:02 +00:00
Nick Drochak b4be90f537 2003-04-17 Nick Drochak <[email protected]>
* DSATest.cs: Use nunit version 2 style to test throw.
	* HMACSHA1Test.cs: Eliminate compiler warning.

svn path=/trunk/mcs/; revision=13711
2003-04-17 14:24:09 +00:00
Dietmar Maurer 6f78d8cad8 *** empty log message ***
svn path=/trunk/mono/; revision=13707
2003-04-17 11:59:33 +00:00
Dietmar Maurer 3bb64dffeb *** empty log message ***
svn path=/trunk/mono/; revision=13706
2003-04-17 11:53:56 +00:00
Zoltan Varga fbab364407 2003-04-17 Zoltan Varga <[email protected]>
* TypeBuilder.cs (CreateType): Avoid creating a default constructor
	for the global type.

svn path=/trunk/mcs/; revision=13705
2003-04-17 11:29:54 +00:00
Dietmar Maurer 91739ddbee another test
svn path=/trunk/mono/; revision=13704
2003-04-17 09:52:06 +00:00
Dietmar Maurer 89f7f22d1f 2003-04-17 Dietmar Maurer <[email protected]>
* exceptions-x86.c (mono_arch_handle_exception): fix for bug 36252

svn path=/trunk/mono/; revision=13703
2003-04-17 09:21:01 +00:00
Miguel de Icaza 3e1189e244 Small fix
svn path=/trunk/mcs/; revision=13701
2003-04-17 02:32:17 +00:00
Miguel de Icaza f275a93559 2003-04-16 Miguel de Icaza <[email protected]>
* interface.cs (PopulateMethod): Do not lookup the types twice.
	We were doing it once during SemanticAnalysis and once during
	PopulateMethod.

svn path=/trunk/mcs/; revision=13700
2003-04-17 02:13:36 +00:00
Nick Drochak 4d8e97fd2b forgot this one too.
svn path=/trunk/mcs/; revision=13699
2003-04-17 02:00:43 +00:00
Nick Drochak 8a91b76a90 2003-04-17 Nick Drochak <[email protected]>
* library.make: Only try to run the unit tests if there is a Test
	directory.

svn path=/trunk/mcs/; revision=13698
2003-04-17 01:57:39 +00:00
Miguel de Icaza a9a495b2a9 Update mini docs
svn path=/trunk/mono/; revision=13697
2003-04-16 23:26:42 +00:00
Miguel de Icaza 5fabf25603 Improve test
svn path=/trunk/mcs/; revision=13696
2003-04-16 22:09:29 +00:00
Miguel de Icaza e23ff97411 2003-04-16 Miguel de Icaza <[email protected]>
* cs-parser.jay: Due to our hack in the grammar, things like A.B[]
	in local variable type definitions, were being returned as a
	SimpleName (we decomposed everything into a string), that is
	because primary_expression was being used instead of a type in the
	grammar (reduce/reduce conflicts).

	The part that was wrong is that we converted the expression into a
	string (an oversimplification in one hand, compounded with primary
	expressions doing string concatenation).

	So things like:

	A.B.C [] x;

	Would return "A.B.C[]" as a SimpleName.  This stopped things like
	using clauses from working on this particular context.  And a type
	was being matched directly against "A.B.C[]".

	We now use the correct approach, and allow for ComposedCast to be
	part of the unary expression.  So the "A.B.C []" become a composed
	cast of "A.B.C" (as a nested group of MemberAccess with a
	SimpleName at the end) plus the rank composition "[]".

	Also fixes 35567

svn path=/trunk/mcs/; revision=13695
2003-04-16 22:01:52 +00:00
Miguel de Icaza d1c014d03d Add GC_DONT_GC to the docs
svn path=/trunk/mono/; revision=13691
2003-04-16 18:15:33 +00:00
Ville Palo ccd3a09e3a me
svn path=/trunk/mono/; revision=13690
2003-04-16 17:10:49 +00:00
Ville Palo e0b06361af 2003-04-16 Ville Palo <[email protected]>
* BufferedStreamTest.cs: new file

svn path=/trunk/mcs/; revision=13689
2003-04-16 17:03:30 +00:00
Dietmar Maurer 1e223435aa code cleanup
svn path=/trunk/mono/; revision=13688
2003-04-16 16:00:11 +00:00
Dietmar Maurer f41a90ba56 2003-04-16 Dietmar Maurer <[email protected]>
* mini.c (mono_compile_create_var): use g_malloc/g_realloc instead
	of the mempool. This is slightly faster and uses less memory

svn path=/trunk/mono/; revision=13687
2003-04-16 15:08:39 +00:00
Paolo Molaro a644474d36 Wed Apr 16 12:53:10 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: avoid O(n) allocation for variables.

svn path=/trunk/mono/; revision=13683
2003-04-16 11:00:35 +00:00
Charles Iliya Krempeaux ca158d3a9a 2003-04-16 Charles Iliya Krempeaux <[email protected]>
* doc/web/team.xml : Added myself to it.

svn path=/trunk/mono/; revision=13679
2003-04-16 08:27:30 +00:00
Gaurav Vaish 24b5cce43d 2003-04-16 Gaurav Vaish
* gvaish.png: Heh! Adjusting brightness. ;-)

svn path=/trunk/mono/; revision=13678
2003-04-16 05:18:50 +00:00
Gonzalo Paniagua Javier ff78fb1c13 2003-04-16 Gonzalo Paniagua Javier <[email protected]>
* BufferTest.cs: added a few more tests for testing buffer length.
	Patch by Jerome Laban <[email protected]>

svn path=/trunk/mcs/; revision=13676
2003-04-16 02:18:52 +00:00
Gonzalo Paniagua Javier c4c0a69ad8 2003-04-16 Gonzalo Paniagua Javier <[email protected]>
* icall.c: patch by Jerome Laban <[email protected]> that fixes
	ves_icall_System_Buffer_ByteLengthInternal.

svn path=/trunk/mono/; revision=13675
2003-04-16 02:14:20 +00:00
Miguel de Icaza e11b4646e6 2003-04-15 Miguel de Icaza <[email protected]>
* TypeBuilder.cs (DefineDefaultConstructor): Make it generate code
	by default for a default constructor.  This is what the MS runtime
	does.  The PythonNet code expected this.

	(TypeBuilder.GetConstructorImpl): Implement this.

	(TypeBuilder.CreateType): If there are no constructors defined, we
	create one.

svn path=/trunk/mcs/; revision=13674
2003-04-15 22:11:38 +00:00
Paolo Molaro 2c86763032 Tue Apr 15 19:13:41 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: handle items on the stack after inlining methods.

svn path=/trunk/mono/; revision=13668
2003-04-15 17:21:12 +00:00
Nick Drochak 319020c255 Added my picture.
svn path=/trunk/mono/; revision=13667
2003-04-15 14:55:00 +00:00
Nick Drochak 9973a9a057 A face only a mother could love...
svn path=/trunk/mono/; revision=13666
2003-04-15 14:50:28 +00:00
Gonzalo Paniagua Javier d03408886f added my *ahem* picture
svn path=/trunk/mono/; revision=13664
2003-04-15 14:18:20 +00:00
Paolo Molaro 0fea8ca175 Tue Apr 15 14:17:57 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: make the method->opcode optimization dependent
	on MONO_OPT_INSTRINS and do it lazily.

svn path=/trunk/mono/; revision=13659
2003-04-15 12:29:08 +00:00
Paolo Molaro 886292d308 Tue Apr 15 14:15:39 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: print overall results at the end of regression run.

svn path=/trunk/mono/; revision=13658
2003-04-15 12:22:56 +00:00
Paolo Molaro 5b77acb035 Tue Apr 15 13:56:55 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: setup klass->nested_in earlier. Allow
	a dash in the assembly name.

svn path=/trunk/mono/; revision=13657
2003-04-15 12:04:40 +00:00
Paolo Molaro cb3b921f1e Tue Apr 15 13:50:41 CEST 2003 Paolo Molaro <[email protected]>
* ModuleBuilder.cs, TypeBuilder.cs: set nesting_type before
	calling setup_internal_class ().

svn path=/trunk/mcs/; revision=13656
2003-04-15 11:58:30 +00:00
Dietmar Maurer a7a5803009 2003-04-15 Dietmar Maurer <[email protected]>
* metadata.c (mono_type_to_unmanaged): dont access
	type->data.klass for MONO_TYPE_OBJECT
	(mono_type_to_unmanaged): consider System.Delegate class

svn path=/trunk/mono/; revision=13655
2003-04-15 11:49:42 +00:00
Alejandro Sánchez Acosta d662df640e Fixed Mono Hispano url.
svn path=/trunk/mono/; revision=13654
2003-04-15 11:10:31 +00:00
Alejandro Sánchez Acosta 63160b9c7b Fixed monohispano url.
svn path=/trunk/mono/; revision=13653
2003-04-15 11:06:39 +00:00
Alejandro Sánchez Acosta 09b1ba3e96 fixed monohispano url
svn path=/trunk/mono/; revision=13652
2003-04-15 11:03:26 +00:00
Alejandro Sánchez Acosta 20c7ba0f70 Added myself.
svn path=/trunk/mono/; revision=13651
2003-04-15 10:30:31 +00:00
Aleksey Ryabchuk 1970ee8cfa *** empty log message ***
svn path=/trunk/mono/; revision=13650
2003-04-15 09:49:23 +00:00
Aleksey Ryabchuk 219bdcde6f *** empty log message ***
svn path=/trunk/mono/; revision=13649
2003-04-15 09:33:27 +00:00
Paolo Molaro 2c176a5bb6 Tue Apr 15 11:18:46 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg: don't overwrite symbolic registers.

svn path=/trunk/mono/; revision=13648
2003-04-15 09:26:27 +00:00
Paolo Molaro 1dddb13db9 Tue Apr 15 11:16:05 CEST 2003 Paolo Molaro <[email protected]>
* class.c: just setup supertypes in the proper place instead of
	initializing the full element class for arrays.

svn path=/trunk/mono/; revision=13647
2003-04-15 09:24:43 +00:00
Paolo Molaro c2a32be016 Tue Apr 15 11:03:25 CEST 2003 Paolo Molaro <[email protected]>
* class.c: ensure the element class of arrays is initialized.
	Setup the supertype info for array classes, too.

svn path=/trunk/mono/; revision=13646
2003-04-15 09:11:55 +00:00
Aleksey Ryabchuk 9b4c97ae85 don't assign window ID when it was already assigned by the system
svn path=/trunk/mcs/; revision=13645
2003-04-15 08:47:38 +00:00
Tim Haynes 9876e0d4ab Added myself
svn path=/trunk/mono/; revision=13644
2003-04-15 08:33:01 +00:00
Hector E. Gomez Morales 85a974fc16 Added my picture.
svn path=/trunk/mono/; revision=13643
2003-04-15 07:39:28 +00:00
Nick Drochak 788a4347c2 2003-04-15 Nick Drochak <[email protected]>
* Use nunit version 2.

svn path=/trunk/mcs/; revision=13640
2003-04-15 05:34:08 +00:00
Nick Drochak 8cb38e4413 2003-04-15 Nick Drochak <[email protected]>
* Use nunit version 2.

svn path=/trunk/mcs/; revision=13639
2003-04-15 05:25:23 +00:00
Eduardo Garcia Cebollero 073ea38184 Oooops, compilation of the test fixed, thanks to gonzalo for reporting
svn path=/trunk/mcs/; revision=13637
2003-04-15 03:59:36 +00:00
Duncan Mak 02bfb578f8 Make it a bit cleaner.
svn path=/trunk/mcs/; revision=13636
2003-04-15 03:57:15 +00:00
Duncan Mak 7e486ce379 * makefile: Added a makefile.
* write-source.cs: A new program to write out C# source from the
XML files.

* src/MonoCulture.cs: A skeleton class for the other
culture-specific classes.

svn path=/trunk/mcs/; revision=13635
2003-04-15 03:53:15 +00:00
Eduardo Garcia Cebollero f70aeacd3e 2003-04-15 Eduardo Garcia Cebollero <[email protected]>
* CaseInsensitiveComparer.cs: Fixed Compare Method (now works
        like MS.NET) and implemented the
        CaseInsensitiveComparerTest(culture) constructor.

svn path=/trunk/mcs/; revision=13634
2003-04-15 03:33:33 +00:00
Eduardo Garcia Cebollero 17a8392827 2003-04-15 Eduardo Garcia Cebollero <[email protected]>
* CaseInsensitiveComparerTest.cs: Fixed Compare Method (now works
        like MS.NET) and implemented the
        CaseInsensitiveComparerTest(culture) constructor.

svn path=/trunk/mcs/; revision=13633
2003-04-15 03:30:01 +00:00
Gonzalo Paniagua Javier f9e281c517 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
* list: added CollectionBuilder and TemplateBuilder.
	* System.Web.UI/CollectionBuilder.cs:
	* System.Web.UI/TemplateBuilder.cs: new classes derived from
	ControlBuilder that represent a property or a ITemplate.

	* System.Web.UI/ControlBuilder.cs: implemented all the missing bits.
	* System.Web.UI/TemplateParser.cs: added mapping from tag name to
	Type feature.

svn path=/trunk/mcs/; revision=13632
2003-04-15 03:00:06 +00:00
Jean-Marc Andre fb27acfda0 *** empty log message ***
svn path=/trunk/mono/; revision=13620
2003-04-14 22:13:03 +00:00
Ville Palo a9de8761a3 2003-04-14 Ville Palo <[email protected]>
* BinaryWriter.cs: Fixed decimal writing and lots of
	ObjectDisposedExceptions added.

svn path=/trunk/mcs/; revision=13619
2003-04-14 19:43:26 +00:00
Alexandre Pigolkine 54c9d67661 C friendly version
svn path=/trunk/mcs/; revision=13618
2003-04-14 19:30:09 +00:00
Reggie Burnett 7799fe3d07 Added myself to team.xml page
svn path=/trunk/mono/; revision=13617
2003-04-14 19:25:49 +00:00
Miguel de Icaza 089f0503ab 2003-04-14 Miguel de Icaza <[email protected]>
* Delegate.cs (Delegate): Seems like a typo, we were checking the
	wrong variable.

svn path=/trunk/mcs/; revision=13615
2003-04-14 18:58:30 +00:00
Miguel de Icaza 7cf3f0d465 2003-04-14 Miguel de Icaza <[email protected]>
* MonoType.cs: Make GetNestedType an external method implementation.

svn path=/trunk/mcs/; revision=13612
2003-04-14 18:26:58 +00:00
Lee Mallabone 3dbb461f79 I'm just this guy...
svn path=/trunk/mono/; revision=13611
2003-04-14 18:26:01 +00:00
Miguel de Icaza 7ff6f5197b 2003-04-14 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_Type_GetNestedType): Add new internal call.

svn path=/trunk/mono/; revision=13610
2003-04-14 18:25:49 +00:00
Alexandre Pigolkine 64011f9ba1 personal data added
svn path=/trunk/mono/; revision=13609
2003-04-14 18:20:43 +00:00
Ville Palo 3b32460033 2003-04-14 Ville Palo <[email protected]>
* BinaryWriterTest.cs: Added new file.

svn path=/trunk/mcs/; revision=13604
2003-04-14 17:40:18 +00:00
Paolo Molaro 875158944b Mon Apr 14 17:41:34 CEST 2003 Paolo Molaro <[email protected]>
* inssel-x86.brg: fix conversion from long to float.

svn path=/trunk/mono/; revision=13598
2003-04-14 16:02:30 +00:00
Dick Porter 99a47c5926 <AOL/>
svn path=/trunk/mono/; revision=13596
2003-04-14 15:53:49 +00:00
Dietmar Maurer c3abb59640 use the computed value to avoid dead code elimination
svn path=/trunk/mono/; revision=13594
2003-04-14 15:14:52 +00:00
Mark Crichton 180a36095a Shamelessly added Mark Crichton (me) to the list.
svn path=/trunk/mono/; revision=13593
2003-04-14 15:10:45 +00:00
Nick Drochak 3bdec4ec57 2003-04-14 Nick Drochak <[email protected]>
* makefile.gnu: library location has changed.

svn path=/trunk/mcs/; revision=13591
2003-04-14 14:18:58 +00:00
Dietmar Maurer 9195031eea another benchmark
svn path=/trunk/mono/; revision=13590
2003-04-14 13:24:44 +00:00
Daniel Morgan 3c3c4d3d8b 2003-04-14 Daniel Morgan <[email protected]>
* SqlSharpDataAdapter.cs: added new file
	as a special data adapter for SQL#

	* SqlEditorSharp.cs: allow the use of
	syntax highlighting of SQL keywords or not
	via a property and default to false

	* makefile.gnu
	* win32.make: add SqlSharpDataAdapter.cs to
	the build

	* sqlsharpgtk.cs: handle a key pressed event
	when the user presses F5 to execute the SQL
	in the editor's buffer.  Also, add an Edit menu, but
	its menu options currently are placeholders

svn path=/trunk/mcs/; revision=13589
2003-04-14 13:05:43 +00:00
Dietmar Maurer 731511a095 another test
svn path=/trunk/mono/; revision=13587
2003-04-14 12:49:05 +00:00
Gaurav Vaish f01e552d75 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Initial implementation.
* HtmlControlAdapter.cs : Corrected the namesapce.

svn path=/trunk/mcs/; revision=13586
2003-04-14 12:30:45 +00:00
Gaurav Vaish 087e75b336 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs     : Initial implementation.

svn path=/trunk/mcs/; revision=13585
2003-04-14 08:39:34 +00:00
Gaurav Vaish 7fbbaed9de 2003-04-14 Gaurav Vaish <gvaish_mono AT lycos.com>
* System.Web.UI.MobileControls.Adapters  : Added directory.

svn path=/trunk/mcs/; revision=13584
2003-04-14 07:30:41 +00:00
Ville Palo 716c8ab73d 2003-04-13 Ville Palo <[email protected]>
* BinaryReader.cs: Fix to ReadDecimal() method.

svn path=/trunk/mcs/; revision=13583
2003-04-13 17:44:35 +00:00
Ravi Pratap M 3856b60709 Make my picture smaller - now you can't see what I look like ;-)
svn path=/trunk/mono/; revision=13582
2003-04-13 17:16:15 +00:00
Ravi Pratap M 4f7c231910 Add my picture
svn path=/trunk/mono/; revision=13581
2003-04-13 17:11:42 +00:00
Ravi Pratap M 34c9496b9f Add myself to this :-)
svn path=/trunk/mono/; revision=13580
2003-04-13 17:09:56 +00:00
Ville Palo dc0c2afe6a 2003-04-13 Ville Palo <[email protected]>
* StringReader.cs: Added some ObjectDisposedExceptions.
	* StringWriter.cs: Added some ObjectDisposedExceptions.
	* BinaryReader.cs: Added some ObjectDisposedExceptions.

svn path=/trunk/mcs/; revision=13576
2003-04-13 13:13:20 +00:00
Ville Palo 5e4ad18d4c 2003-04-13 Ville Palo <[email protected]>
* BinaryStreamReader.cs: Added lots of tests. Somehow I missed that
	there are already testcases for BinaryStreamReader :/

svn path=/trunk/mcs/; revision=13575
2003-04-13 12:55:58 +00:00
Gonzalo Paniagua Javier fc7150f5cd 2003-04-13 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: fixed bug #41294.

svn path=/trunk/mcs/; revision=13573
2003-04-13 12:15:44 +00:00
Gonzalo Paniagua Javier 6047cf0ae2 2003-04-13 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: fixed the windows build. This is an mcs bug. I'll
	fill a bug report.

svn path=/trunk/mcs/; revision=13572
2003-04-13 03:17:05 +00:00
Miguel de Icaza 84355e9716 2003-04-12 Miguel de Icaza <[email protected]>
* Encoding.cs: Enabled the code paths that we did have commented
	out, they seem to work now.

svn path=/trunk/mcs/; revision=13567
2003-04-12 19:33:25 +00:00
Gonzalo Paniagua Javier ccc24c6dd4 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: fixed bug #40182 and made more unit test pass.

svn path=/trunk/mcs/; revision=13566
2003-04-12 18:14:36 +00:00
Gonzalo Paniagua Javier 8d79b93f10 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* FileStreamTest.cs: added more tests by Gert Driesen
	([email protected]).

svn path=/trunk/mcs/; revision=13565
2003-04-12 18:12:19 +00:00
Atsushi Eno 81167b2142 2003-04-13 Atsushi Enomoto <[email protected]>
* more removed testcases from here.

svn path=/trunk/mcs/; revision=13564
2003-04-12 18:00:55 +00:00
Atsushi Eno d077a1e100 2003-04-13 Atsushi Enomoto <[email protected]>
* removed testcases from here.

svn path=/trunk/mcs/; revision=13563
2003-04-12 17:46:49 +00:00
Atsushi Eno c4e81f0fdd *** empty log message ***
svn path=/trunk/mono/; revision=13562
2003-04-12 17:22:44 +00:00
Ville Palo e266aedeab 2003-04-12 Ville Palo <[email protected]>
* UniqueConstraint.cs: one tiny fix.

svn path=/trunk/mcs/; revision=13561
2003-04-12 17:09:46 +00:00
Gonzalo Paniagua Javier 905844433a 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* SelectNodesTests.cs: moved...
	* System.Xml.XPath/SelectNodesTests.cs: ...here

svn path=/trunk/mcs/; revision=13560
2003-04-12 16:11:52 +00:00
Ville Palo 26688be557 2003-04-12 Ville Palo <[email protected]>
* FileStreamTest.cs: Tiny fixes.

svn path=/trunk/mcs/; revision=13559
2003-04-12 16:09:50 +00:00
Zoltan Varga 2f71fda6d4 2003-04-12 Zoltan Varga <[email protected]>
* get.c (dis_stringify_modifiers): Print a space between custom modifers.
	* get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
	* main.c: Print klass name at the end of each method to make it easier
	to find a given method.

svn path=/trunk/mono/; revision=13556
2003-04-12 15:30:38 +00:00
Atsushi Eno 5fb6444ff6 2003-04-13 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs: quick fix to comment out TestExternalDocument.
	* XmlDocumentTests.cs : quick fix to comment out LoadExternalUri and
	  LoadDocumentWithIgnoreSection.

svn path=/trunk/mcs/; revision=13555
2003-04-12 15:16:05 +00:00
Atsushi Eno 6eb08033a3 2003-04-12 Atsushi Enomoto <[email protected]>
* moved testcases into each namespace-named directories.
	  fixed System.XML_linux_test.args and MonoMicro.test.csproj
	  along with it.
	* added XmlFiles directory for test xml files.

svn path=/trunk/mcs/; revision=13554
2003-04-12 14:07:03 +00:00
Atsushi Eno 77f29f40d0 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13553
2003-04-12 13:53:22 +00:00
Atsushi Eno a438ed51eb 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file along with this new directory.

svn path=/trunk/mcs/; revision=13552
2003-04-12 13:50:55 +00:00
Atsushi Eno 4d2802ba1b 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.

svn path=/trunk/mcs/; revision=13551
2003-04-12 13:43:23 +00:00
Atsushi Eno 140a4ec73a 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find former ChangeLog entries.
	* added XmlSerializerTests.cs and XmlSerializerTestClasses.cs
	  (by Erik Lebel)

svn path=/trunk/mcs/; revision=13550
2003-04-12 13:41:24 +00:00
Atsushi Eno bef07b2478 2003-04-12 Atsushi Enomoto <[email protected]>
* added this file as a new entry.
	  See ../ChangeLog to find ChangeLog entries before than this day.

svn path=/trunk/mcs/; revision=13549
2003-04-12 13:39:49 +00:00
Ville Palo c43549091e 2003-04-12 Ville Palo <[email protected]>
* FileStreamTest.cs More tests.

svn path=/trunk/mcs/; revision=13547
2003-04-12 11:01:24 +00:00
Duncan Mak 01c5d0d027 Add some more docs.
svn path=/trunk/mcs/; revision=13546
2003-04-12 05:48:07 +00:00
Duncan Mak ea94385264 * README: Added to explain how to fill out the CultureInfo XML files.
svn path=/trunk/mcs/; revision=13544
2003-04-12 05:20:32 +00:00
Duncan Mak 726ce621c4 2003-04-12 Duncan Mak <[email protected]>
* Data/CultureInfo.xsd: XML schema for the XML files.

	* Data/*.xml: Modify the DisplayName element to allow for more
	flexible translation.

svn path=/trunk/mcs/; revision=13543
2003-04-12 05:18:21 +00:00
Duncan Mak db28357158 2003-04-11 Duncan Mak <[email protected]>
* Data/??.xml: Remove the empty Parent element in the neutral cultures.

svn path=/trunk/mcs/; revision=13541
2003-04-12 04:07:37 +00:00
Duncan Mak 7430a1d549 Move ChangeLog to the parent folder.
svn path=/trunk/mcs/; revision=13540
2003-04-12 04:05:32 +00:00
Duncan Mak ab93c620a9 Move ChangeLog is the parent folder
svn path=/trunk/mcs/; revision=13539
2003-04-12 04:04:58 +00:00
Duncan Mak 3da0645b3d 2003-04-11 Duncan Mak <[email protected]>
* *.xml: Remove the IsNeutralCulture information and add in specific
        culture information as well.

svn path=/trunk/mcs/; revision=13538
2003-04-12 03:17:25 +00:00
Sebastien Pouliot e673bb57c1 2003-04-12 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Commented ToString() test because of the
	dates included within (which makes the comparison with a pre-
	generated value difficult).

svn path=/trunk/mcs/; revision=13537
2003-04-12 03:05:44 +00:00
Duncan Mak 1e378e1881 Revert the last patch.
svn path=/trunk/mcs/; revision=13536
2003-04-12 02:57:34 +00:00
Duncan Mak d02dd8b00c 2003-04-11 Duncan Mak <[email protected]>
* Mono.Globalization/Data/*.xml: Check in XML files used in
        the implementation of System.Globalization.

svn path=/trunk/mcs/; revision=13535
2003-04-12 02:49:45 +00:00
Sebastien Pouliot 13bfc6eb36 2003-04-11 Sebastien Pouliot <[email protected]>
* X509CertificateTest.cs: Corrected end-of-line issue for Linux.

svn path=/trunk/mcs/; revision=13534
2003-04-12 02:37:02 +00:00
Sebastien Pouliot 1a404f02da Gonzalo's idea - Sounded cool ;-)
svn path=/trunk/mono/; revision=13533
2003-04-12 01:39:35 +00:00
Gonzalo Paniagua Javier 943d0451fa 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: fixes bug #41180.

svn path=/trunk/mcs/; revision=13532
2003-04-12 01:17:38 +00:00
Gonzalo Paniagua Javier 86e691c9d4 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixes bug #40910, part 2.

svn path=/trunk/mcs/; revision=13531
2003-04-11 23:44:18 +00:00
Gonzalo Paniagua Javier fcdeb151e0 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: re-added -m option when running cygpath. This way,
	MONO_ASSEMBLIES and MONO_CFG_DIR will contain '/' as directory
	separator.
	* mono-config.c: same codepath for locating mono config file for WIN32
	and the rest.
	* assembly.c: if mono_assembly_setrootdir is called, don't override
	the value set.

svn path=/trunk/mono/; revision=13530
2003-04-11 23:19:35 +00:00
Gonzalo Paniagua Javier 6dde46c6f5 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: patch by Urs Muff <[email protected]> that fixes
	MONO_ASSEMBLIES variable.

svn path=/trunk/mono/; revision=13529
2003-04-11 22:14:22 +00:00
Miguel de Icaza 9f0530a979 Update
svn path=/trunk/mono/; revision=13527
2003-04-11 20:14:17 +00:00
Aleksey Ryabchuk a124f398c9 some new functions implemented, using BitVector32
instead of declaring separate boolean varibales for every control status

svn path=/trunk/mcs/; revision=13525
2003-04-11 16:09:29 +00:00
Dick Porter 229c39e249 2003-04-11 Dick Porter <[email protected]>
* atomic.h: ARM atomic operations by Malte Hildingson
	<[email protected]>

svn path=/trunk/mono/; revision=13524
2003-04-11 15:42:59 +00:00
Jaime Anguiano Olarra a68ed6a77d Fixed.
svn path=/trunk/mcs/; revision=13523
2003-04-11 14:55:39 +00:00
Jaime Anguiano Olarra 5ef41d6554 Fixed test.
svn path=/trunk/mcs/; revision=13522
2003-04-11 14:41:24 +00:00
Aleksey Ryabchuk 2207f5e9ec some changes related to implementation of MDI interface
svn path=/trunk/mcs/; revision=13521
2003-04-11 13:29:38 +00:00
Ville Palo d548fe6354 2003-04-11 Ville Palo <[email protected]>
* corlib_linux_test.args: added System.IO/FileStreamTest.cs
	* corlib_test.args: added System.IO/FileStreamTest.cs

svn path=/trunk/mcs/; revision=13520
2003-04-11 13:23:31 +00:00
Ville Palo 8f8adbfd03 2003-04-11 Ville Palo <[email protected]>
* FileStreamTest.cs: File Added and some tests in it.

svn path=/trunk/mcs/; revision=13519
2003-04-11 13:19:14 +00:00
Ville Palo 283ec1b4a7 2003-04-11 Ville Palo <[email protected]>
* FileStream.cs: Added new methods Lock () and Unlock ()

svn path=/trunk/mcs/; revision=13518
2003-04-11 13:16:00 +00:00
Per Arneng ff89213061 Fixed my info that was overwritten in v 1.35
svn path=/trunk/mono/; revision=13517
2003-04-11 11:51:37 +00:00
Paolo Molaro 9e34143e9e Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <[email protected]>
* Assembly.cs: added GetNamespaces() icall.

svn path=/trunk/mcs/; revision=13513
2003-04-11 11:13:21 +00:00
Paolo Molaro 4d6a2e7913 Fri Apr 11 12:44:15 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: added Assembly::GetNamespaces() icall.

svn path=/trunk/mono/; revision=13512
2003-04-11 10:51:47 +00:00
Dietmar Maurer 6c32b8acc4 2003-04-11 Dietmar Maurer <[email protected]>
* String.cs (Equals): avoid the internal call, code cleanups

svn path=/trunk/mcs/; revision=13511
2003-04-11 09:50:00 +00:00
Dietmar Maurer 1a1c8a713d 2003-04-11 Dietmar Maurer <[email protected]>
* mini.c (mini_init): use an opcode for get_Chars (OP_GETCHR)

svn path=/trunk/mono/; revision=13510
2003-04-11 09:29:55 +00:00
Aleksey Ryabchuk 3d00203882 2003-04-11 Aleksey Ryabchuk <[email protected]>
* Control.cs : init bounds in ctor, invisible parking window
	* TrackBar.cs
	* ProgressBar.cs.cs
	* DateTimePicker.cs
	* StatusBar.cs : use base version of CreateParams
	* ScrollableControl.cs : use base version of CreateParams, removed CS_VREDRAW, CS_HREDRAW styles
	* Form.cs : reset parent back to zero for the main form
	* StatusBarPanel.cs : small bug-fix

svn path=/trunk/mcs/; revision=13509
2003-04-11 09:20:33 +00:00
Dietmar Maurer 7c992788da dded the new mono book
svn path=/trunk/mono/; revision=13508
2003-04-11 09:11:47 +00:00
César Natarén e8312e7413 Changes caused by the new continue_statement, break_statement, return_statement, throw_statement, and single line comments.
svn path=/trunk/mcs/; revision=13507
2003-04-11 08:44:52 +00:00
César Natarén 4dd02b85dc Added continue_statement, break_statement, return_statement, throw_statement and single line comments, syntatic and lexical rules.
svn path=/trunk/mcs/; revision=13506
2003-04-11 08:42:28 +00:00
Ville Palo 9d400a5cc7 2003-04-11 Ville Palo <[email protected]>
* StringReader.cs: Throws exceptions if constructor parameter is null.

svn path=/trunk/mcs/; revision=13505
2003-04-11 07:51:25 +00:00
Ville Palo a7447b9b99 2003-04-11 Ville Palo <[email protected]>
* StringReaderTest.cs: Tests for close and some exceptions

svn path=/trunk/mcs/; revision=13504
2003-04-11 07:12:54 +00:00
Ville Palo c6e41a7221 2003-04-11 Ville Palo <[email protected]>
* StringWriter.cs: Now throws an exception if StringBuilder parameter
	is null

svn path=/trunk/mcs/; revision=13503
2003-04-11 06:55:51 +00:00
Ville Palo 00e7a8d810 2003-04-11 Ville Palo <[email protected]>
* StringWriterTest.cs: Added some Exception tests.

svn path=/trunk/mcs/; revision=13502
2003-04-11 06:52:50 +00:00
Paolo Molaro 946eacab12 Fri Apr 11 08:29:50 CEST 2003 Paolo Molaro <[email protected]>
* StringBuilder.cs: cache the result from ToString().

svn path=/trunk/mcs/; revision=13501
2003-04-11 06:37:31 +00:00
Miguel de Icaza 8f56fc7453 2003-04-10 Miguel de Icaza <[email protected]>
* decl.cs (CheckAccessLevel): Implement the NestedPrivate rules
	for the access level checking.

svn path=/trunk/mcs/; revision=13500
2003-04-11 03:17:27 +00:00
Miguel de Icaza ac09cc9280 Update tests: add test that passes, add new test
svn path=/trunk/mcs/; revision=13499
2003-04-11 03:14:05 +00:00
Miguel de Icaza bdd8f9fee5 Remove useless test
svn path=/trunk/mcs/; revision=13498
2003-04-11 03:13:17 +00:00
Miguel de Icaza e919a8ad14 Add private nested public test
svn path=/trunk/mcs/; revision=13497
2003-04-11 03:04:28 +00:00
Christopher Bockner 6e9b8aa4e7 Changes to prepare for LOB locators.
svn path=/trunk/mcs/; revision=13496
2003-04-11 02:38:02 +00:00
Christopher Bockner 81e33ad3e6 :i
Base class for LOB locator support.
:

svn path=/trunk/mcs/; revision=13495
2003-04-11 02:33:00 +00:00
Duncan Mak 48c03884da * doc/web/render-team-page.cs (Compare): Correctly fix
ContributorComparer.
(RenderHtml): Add some SetAttribute loving to make it render prettier.

* doc/web/team.xml: Revert excessive indenting.

svn path=/trunk/mono/; revision=13494
2003-04-11 01:49:43 +00:00
Miguel de Icaza a00fea65af 2003-04-10 Miguel de Icaza <[email protected]>
* class.cs: Cosmetic changes.  Renamed `TypeContainer parent' to
	`TypeContainer container', because I kept getting confused when I
	was debugging this code.

svn path=/trunk/mcs/; revision=13493
2003-04-11 01:46:36 +00:00
Alan Tam 8031abb099 2003-04-11 Alan Tam <[email protected]>
* Convert.cs: fixed bug #41085.

svn path=/trunk/mcs/; revision=13492
2003-04-11 01:44:50 +00:00
Jackson Harper 7afd85376c forgot changelog
svn path=/trunk/mcs/; revision=13491
2003-04-11 01:36:45 +00:00
Miguel de Icaza 428cc69862 2003-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Indexers): Instead of tracking getters/setters,
	we now track them in parallel.  We create one arraylist less, but
	most importantly it is possible now for the LValue code to find a
	matching get for a set.

	(IndexerAccess.DoResolveLValue): Update the code.
	GetIndexersForType has been modified already to extract all the
	indexers from a type.  The code assumed it did not.

	Also make the code set the correct return type for the indexer.
	This was fixed a long time ago for properties, but was missing for
	indexers.  It used to be void_type.

svn path=/trunk/mcs/; revision=13490
2003-04-11 01:32:00 +00:00
Miguel de Icaza 049e08b8a1 Improve test
svn path=/trunk/mcs/; revision=13489
2003-04-11 01:29:33 +00:00
Miguel de Icaza 216dfb88ee 2003-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.Emit): Test first for doubles instead of
	floats, as they are more common.

	(Binary.EmitBranchable): Use the .un version of the branch opcodes
	when dealing with floats and the <=, >= operators.  This fixes bug
	#39314

svn path=/trunk/mcs/; revision=13488
2003-04-11 00:14:12 +00:00
Miguel de Icaza 3abd8fc4b2 2003-04-10 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.EmitArrayForeach): bug fix: The code used
	to load the array value by emitting a load on the foreach variable
	type.  This was incorrect.

	We now emit the code to load an element using the the array
	variable type, and then we emit the conversion operator.

	Fixed #40176

svn path=/trunk/mcs/; revision=13487
2003-04-10 22:16:12 +00:00
Miguel de Icaza 0b8c2ad6c9 Improve test
svn path=/trunk/mcs/; revision=13486
2003-04-10 22:15:22 +00:00
Gonzalo Paniagua Javier 6eeba2658a 2003-04-10 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: fix from Jaak <[email protected]>.

svn path=/trunk/mono/; revision=13484
2003-04-10 19:10:50 +00:00
Miguel de Icaza 804b62586c 2003-04-09 Miguel de Icaza <[email protected]>
* class.cs (MethodSignature.InheritableMemberSignatureCompare):
	test for protection before we test for signatures.

	(MethodSignature.ToString): implement.

svn path=/trunk/mcs/; revision=13482
2003-04-10 18:52:35 +00:00
Lluis Sanchez 2a0d9ff0eb * RemotingProxy.cs: Added support for Async and OneWay messages.
svn path=/trunk/mcs/; revision=13480
2003-04-10 16:31:02 +00:00
Lluis Sanchez 3b88bcc6a6 * AsyncResult.cs: implemented some methods.
* ClientContextTerminatorSink.cs: Improved support for Async and OneWay messages.
	* MonoMethodMessage.cs: Added member needed to support Async messages.
	* ServerObjectTerminatorSink.cs: Improved support for Async and OneWay messages.

svn path=/trunk/mcs/; revision=13479
2003-04-10 16:30:23 +00:00
Lluis Sanchez fc5a9fcae9 * CrossContextChannel.cs: Improved support for OneWay and Async messages.
svn path=/trunk/mcs/; revision=13478
2003-04-10 16:29:44 +00:00
Lluis Sanchez b96d07f2cc * ChannelDataStore.cs: renamed some members to match MS.NET.
* ChannelServices.cs: renamed ChannelInfoStore an its members to match MS.NET.
	* CrossAppDomainChannel.cs: Renamed CrossAppDomainChannelData to match MS.NET.
	  Added processId property to CrossAppDomainData. Now it is checked in CreateSink.

svn path=/trunk/mcs/; revision=13477
2003-04-10 16:29:13 +00:00
Lluis Sanchez b1afe4ab46 * ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
* RemotingServices.cs: Added method to help support Async messages.
	* RemotingConfiguration.cs: Implemented property ProcessID.

svn path=/trunk/mcs/; revision=13476
2003-04-10 16:26:53 +00:00
Lluis Sanchez c8a7d2ab1e * AppDomain.cs: Added internal method for getting process guid.
svn path=/trunk/mcs/; revision=13475
2003-04-10 16:24:54 +00:00
Lluis Sanchez ed25c92f05 * appdomain.c,appdomain.h,icall.c: Added internal method that returns the process guid
* object.c: fixed bug in the construction of vtable for proxies

svn path=/trunk/mono/; revision=13474
2003-04-10 16:24:11 +00:00
Zoltan Varga 8bd5b55ee1 2003-04-10 Zoltan Varga <[email protected]>
* mini.c (mono_type_blittable): MONO_TYPE_OBJECT is blittable.

	* driver.c: Added --print-vtable option as in the old JIT.

svn path=/trunk/mono/; revision=13473
2003-04-10 15:59:42 +00:00
Paolo Molaro 9b69ee35af Thu Apr 10 17:43:49 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg, exceptions.cs: fix conversions from long, too.

svn path=/trunk/mono/; revision=13472
2003-04-10 15:51:45 +00:00
Zoltan Varga 8c601f7229 2003-04-10 Zoltan Varga <[email protected]>
* object.c (mono_array_new): Mark mono_array_new as an icall.

svn path=/trunk/mono/; revision=13471
2003-04-10 15:51:12 +00:00
Ville Palo 436abe8b41 2003-04-10 Ville Palo <[email protected]>
* StringWriterTest.cs: Added couple of tests.

svn path=/trunk/mcs/; revision=13470
2003-04-10 15:24:45 +00:00
Ville Palo 241b0c546d 2003-04-10 Ville Palo <[email protected]>
* ConvertTest.cs: Added some tests for ToXXX methods.
	TestConvertFromNull ()

svn path=/trunk/mcs/; revision=13469
2003-04-10 15:10:56 +00:00
Paolo Molaro d026b21b7c Thu Apr 10 16:27:43 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg, basic.cs: fixed checked conversions to byte and short.

svn path=/trunk/mono/; revision=13468
2003-04-10 14:36:43 +00:00
Zoltan Varga 9ed5cd1182 2003-04-10 Zoltan Varga <[email protected]>
* attribute.cs: Avoid allocation of ArrayLists in the common case.

svn path=/trunk/mcs/; revision=13462
2003-04-10 12:07:15 +00:00
Gonzalo Paniagua Javier a5ebf4415a 2003-04-10 Gonzalo Paniagua Javier <[email protected]>
* class.c: fixed test for public method when overriding interfaces.
	Closes bug #40970.

svn path=/trunk/mono/; revision=13461
2003-04-10 02:23:21 +00:00
Hector E. Gomez Morales d402477896 Added my person to the team page :).
svn path=/trunk/mono/; revision=13460
2003-04-10 02:08:45 +00:00
Ben Maurer 97b341b2ca oops
svn path=/trunk/mono/; revision=13459
2003-04-10 01:30:02 +00:00
Daniel Morgan 2c6823a9b4 add myself to team
svn path=/trunk/mono/; revision=13458
2003-04-10 01:23:12 +00:00
Miguel de Icaza f841baf0cf Remove writeLine
svn path=/trunk/mcs/; revision=13457
2003-04-09 22:47:52 +00:00
Miguel de Icaza f75cab58dd 2003-04-09 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduceNegative): Add missing minus sign
	to the case where we reduced into a LongConstant.

svn path=/trunk/mcs/; revision=13456
2003-04-09 21:00:06 +00:00
Miguel de Icaza 46f7ab94bf 2003-04-09 Miguel de Icaza <[email protected]>
* decl.cs (CheckAccessLevel): If the type is an array, we can not
	depend on whether the information is acurrate, because the
	Microsoft runtime will always claim that the array type is public,
	regardless of the real state.

	If the type is a pointer, another problem happens: the type is
	reported as non-public in Microsoft.

	In both cases we have to call CheckAccessLevel recursively with
	the underlying type as the argument to be tested.

svn path=/trunk/mcs/; revision=13455
2003-04-09 20:54:34 +00:00
Miguel de Icaza ca9a73b073 2003-04-08 Miguel de Icaza <[email protected]>
* assign.cs (Assign.Emit): If we are dealing with a compound
	assignment expression, we should use the code path that stores the
	intermediate result in a temporary value.  This fixes #40903.

	*expression.cs (Indirection.ToString): Provide ToString method for
	debugging.

svn path=/trunk/mcs/; revision=13454
2003-04-09 20:36:16 +00:00
Miguel de Icaza b350cd5180 Add new test
svn path=/trunk/mcs/; revision=13453
2003-04-09 20:33:05 +00:00
Zoltan Varga 3e72c88756 2003-04-09 Zoltan Varga <[email protected]>
* mini.c regalloc.c regalloc.h: Fix memory leak.

svn path=/trunk/mono/; revision=13452
2003-04-09 19:39:17 +00:00
Ville Palo 7dd9e284ca 2003-04-09 Ville Palo <[email protected]>
* Array.cs: Little fix to compare () method.

svn path=/trunk/mcs/; revision=13451
2003-04-09 18:20:11 +00:00
Zoltan Varga 2d96be39fb 2003-04-09 Zoltan Varga <[email protected]>
* String.cs (Equals): Add trivial optimization.

svn path=/trunk/mcs/; revision=13448
2003-04-09 16:27:31 +00:00
Ville Palo bb545ff142 2003-04-09 Ville Palo <[email protected]>
* ArraListTest.cs: Added little test for Sort ().

svn path=/trunk/mcs/; revision=13444
2003-04-09 15:26:01 +00:00
Dietmar Maurer fae766196f 2003-04-09 Dietmar Maurer <[email protected]>
* aot.c (mono_aot_get_method): register all used strings

svn path=/trunk/mono/; revision=13443
2003-04-09 15:21:31 +00:00
Dick Porter 279b670078 2003-04-09 Dick Porter <[email protected]>
* Thread.cs: Make sure a reference to the ThreadStart delegate is
	held.  There's no telling how long it will be before
	Thread.Start() is called, and GC might destroy the delegate.
	Thread() and Start() need to be rewritten so that the runtime
	creates the new thread when Start() is called, which will simplify
	the code a great deal.

svn path=/trunk/mcs/; revision=13442
2003-04-09 14:26:26 +00:00
Paolo Molaro 857cd7e466 Wed Apr 9 15:22:18 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: always intern strings references with ldstr at compile time.

svn path=/trunk/mono/; revision=13441
2003-04-09 13:30:17 +00:00
Paolo Molaro 786e6ee719 Wed Apr 9 15:19:41 CEST 2003 Paolo Molaro <[email protected]>
* appdomain.h, domain.c: added mono_domain_foreach() to
	be able to access the currently loaded appdomains.
	* object.c: make string interning work across sppdomains.
	Mark some functions for use as icalls.

svn path=/trunk/mono/; revision=13440
2003-04-09 13:28:46 +00:00
Gaurav Vaish dbd346859a 2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* Style.cs               : Implements interfaces now.

svn path=/trunk/mcs/; revision=13439
2003-04-09 11:48:05 +00:00
Zoltan Varga ea71384d57 2003-04-09 Zoltan Varga <[email protected]>
* class.c reflection.c: Fix memory leaks reported by ccmalloc.

	* reflection.h reflection.c: Allocate long living data using
	GC_MALLOC_ATOMIC so the collector does not need to scan it.

	* reflection.c: Double the allocation size in streams instead of
	increasing it, to prevent unneccesary copying on large assemblies.

	* reflection.c (mono_reflection_create_runtime_class): Avoid vtable
	creation if the assembly does not have the Run flag set.

svn path=/trunk/mono/; revision=13438
2003-04-09 11:29:19 +00:00
Martin Baulig 58a563b3d2 Ooops, this is the correct test-190.cs file.
svn path=/trunk/mcs/; revision=13437
2003-04-09 10:59:26 +00:00
Gonzalo Paniagua Javier 826ea1867c 2003-04-09 Gonzalo Paniagua Javier <[email protected]>
* list: added Watcher.cs
	* System.Web.Caching/CacheDependency.cs:
	* System.Web.Caching/CacheEntry.cs:
	* System.Web.Caching/Watcher.cs: added a FileSystemWatcher-like class for dependency
	checking.

svn path=/trunk/mcs/; revision=13436
2003-04-09 05:12:44 +00:00
César Natarén ff20e99d5e Added more syntatic rules: if_statement, while and for-in statements, initial array_litetal definition, and elision.
svn path=/trunk/mcs/; revision=13435
2003-04-09 03:13:08 +00:00
Miguel de Icaza 7ebf680003 Add README
svn path=/trunk/mono/; revision=13434
2003-04-08 23:51:53 +00:00
Miguel de Icaza 8019f330dc Sync with changes we lost
svn path=/trunk/mcs/; revision=13433
2003-04-08 23:05:26 +00:00
Miguel de Icaza 0ba3e6406b 2003-04-08 Zoltan Varga <[email protected]>
* class.cs: Null out fields holding references to Block objects so
        they can be garbage collected.

        * expression.cs (OverloadResolve): Remove unused local.

svn path=/trunk/mcs/; revision=13432
2003-04-08 23:04:36 +00:00
Miguel de Icaza eb21182aca 2003-04-07 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveBoolean): Don't call ec.Mark().

	* codegen.cs (EmitContext.EmitTopBlock): Don't call Mark() on the
	location.  [FIXME: The location argument which gets passed to this
	method is sometimes wrong!]

svn path=/trunk/mcs/; revision=13431
2003-04-08 23:02:44 +00:00
Miguel de Icaza 39ee734cdd 2003-04-07 Miguel de Icaza <[email protected]>
* expression.cs (Indirection.EmitAssign): We were using the
	temporary, but returning immediately instead of continuing the
	EmitAssing flow.

svn path=/trunk/mcs/; revision=13430
2003-04-08 23:02:40 +00:00
Miguel de Icaza 4bfd24f6ef 2003-04-07 Miguel de Icaza <[email protected]>
* expression.cs (Indirection.EmitAssign): We were using the
	temporary, but returning immediately instead of continuing the
	EmitAssing flow.

svn path=/trunk/mcs/; revision=13429
2003-04-08 23:02:35 +00:00
Miguel de Icaza 7c4082c199 2003-04-06 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Don't report an error
	if it's a nested child, but also deriving from the outer class.
	See test 190.cs.

svn path=/trunk/mcs/; revision=13428
2003-04-08 23:02:27 +00:00
Miguel de Icaza c96e22f7f8 2003-04-06 Martin Baulig <[email protected]>
* typemanager.cs (IsNestedChildOf): Make this work if it's a
	nested child, but also deriving from the outer class.  See
	test-190.cs.
	(FilterWithClosure): We may access private members of the outer
	class if we're a nested child and deriving from the outer class.
	(RealMemberLookup): Only set `closure_private_ok' if the
	`original_bf' contained BindingFlags.NonPublic.

svn path=/trunk/mcs/; revision=13427
2003-04-08 23:02:23 +00:00
Miguel de Icaza ea4a88af03 2003-04-07 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.CurrentFile): New public field.
	(EmitContext.Mark): Use the CurrentFile to check whether the
	location is in the correct file.
	(EmitContext.EmitTopBlock): Initialize CurrentFile here.

svn path=/trunk/mcs/; revision=13426
2003-04-08 23:02:19 +00:00
Miguel de Icaza 6be6c970a8 2003-04-05 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #40670.

svn path=/trunk/mcs/; revision=13425
2003-04-08 23:02:13 +00:00
Miguel de Icaza 1513d1358b Fix compilation.
svn path=/trunk/mcs/; revision=13424
2003-04-08 23:02:09 +00:00
Miguel de Icaza 750162e52c 2003-04-02 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Do not allow abstract events to have
	initializers.

2003-04-01  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Add error productions for ADD/REMOVE missing a
	block in event declarations.

svn path=/trunk/mcs/; revision=13423
2003-04-08 23:02:06 +00:00
Miguel de Icaza 868aa5bf2a 2003-04-01 Miguel de Icaza <[email protected]>
* expression.cs (Is.Emit): For action `LeaveOnStack' we were
	leaving a class on the stack instead of a boolean value (int
	0/1).  Change the code so we compare against null, and then the

svn path=/trunk/mcs/; revision=13422
2003-04-08 23:01:57 +00:00
Miguel de Icaza b1e901b752 2003-04-01 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): We were checking for the
	parent class being sealed too late.

	* expression.cs (Binary.Emit): For <= and >= when dealing with
	floating point values, use cgt.un and clt.un instead of cgt and
	clt alone.

svn path=/trunk/mcs/; revision=13421
2003-04-08 23:01:49 +00:00
Miguel de Icaza 530a1248ac 2003-04-01 Zoltan Varga <[email protected]>
* statement.cs: Apply the same optimization as MS: skip the
	GetEnumerator returning an IEnumerator, and use the one returning a
	CharEnumerator instead. This allows us to avoid the try-finally block
	and the boxing.

svn path=/trunk/mcs/; revision=13420
2003-04-08 23:01:33 +00:00
Miguel de Icaza 02b221c725 2003-03-31 Gaurav Vaish <[email protected]>
* cs-parser.jay: Attributes cannot be applied to
                 namespaces. Fixes #40473

svn path=/trunk/mcs/; revision=13419
2003-04-08 23:01:29 +00:00
Miguel de Icaza 3cc554e7f3 2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* class.cs:
	(Add*): check if the name is valid using the full name for constants,
	fields, properties and events.

svn path=/trunk/mcs/; revision=13418
2003-04-08 23:01:25 +00:00
Miguel de Icaza 55e795d821 2003-03-28 Miguel de Icaza <[email protected]>
* enum.cs (Enum.DefineType, Enum.IsValidEnumConstant): Also allow
	char constants to be part of the enumeration.

svn path=/trunk/mcs/; revision=13417
2003-04-08 23:01:16 +00:00
Miguel de Icaza daf2941ef5 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=13416
2003-04-08 23:01:10 +00:00
Miguel de Icaza d863762571 2003-03-28 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.CheckPairedOperators): Report error for missmatch on
	operator true/false as required by the spec.

svn path=/trunk/mcs/; revision=13415
2003-04-08 23:01:02 +00:00
Miguel de Icaza 5151adffcf 2003-03-28 Miguel de Icaza <[email protected]>
* expression.cs (Unary.ResolveOperator): In LogicalNot, do an
	implicit conversion to boolean.

	* statement.cs (Statement.ResolveBoolean): A boolean expression is
	also one where the type implements `operator true'.

	* ecore.cs (Expression.GetOperatorTrue): New helper routine to
	get an expression that will invoke operator true based on an
	expression.

	(GetConversionOperators): Removed the hack that called op_True
	here.

	(Expression.ResolveBoolean): Move this from Statement.

svn path=/trunk/mcs/; revision=13414
2003-04-08 23:00:53 +00:00
Miguel de Icaza 4d05e87642 2003-03-17 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): do not allow initialization of initonly
	fields on derived classes

svn path=/trunk/mcs/; revision=13413
2003-04-08 23:00:44 +00:00
Miguel de Icaza e6e9af2563 2003-03-13 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Call ig.BeginScope() and
	ig.EndScope() when compiling with debugging info; call
	LocalBuilder.SetLocalSymInfo _after_ opening the scope.

svn path=/trunk/mcs/; revision=13412
2003-04-08 23:00:40 +00:00
Miguel de Icaza 2c4c92f20e 2003-03-08 Miguel de Icaza <[email protected]>
* expression.cs (Indexers): Do not construct immediately, allow
	for new members to be appended as we go.  Fixes 38143

svn path=/trunk/mcs/; revision=13411
2003-04-08 23:00:36 +00:00
Miguel de Icaza 42b55aec5d 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: save/restore context when resolving an unchecked
	expression.

svn path=/trunk/mcs/; revision=13410
2003-04-08 23:00:32 +00:00
Miguel de Icaza d58dfc1eac 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: save/restore context when resolving an unchecked
	expression.

svn path=/trunk/mcs/; revision=13409
2003-04-08 23:00:28 +00:00
Miguel de Icaza 0cbd025cf0 2003-03-05 Miguel de Icaza <[email protected]>
* cfold.cs: Catch division by zero in modulus operator during
	constant folding.

svn path=/trunk/mcs/; revision=13408
2003-04-08 23:00:19 +00:00
Miguel de Icaza 0a1d0fccf2 2003-03-03 Miguel de Icaza <[email protected]>
* interface.cs (Interface.DefineMembers): Avoid defining members
	twice.

svn path=/trunk/mcs/; revision=13407
2003-04-08 23:00:15 +00:00
Miguel de Icaza 9b39c6c34a 2003-02-27 Miguel de Icaza <[email protected]>
* driver.cs: handle the +/- options for -noconfig

svn path=/trunk/mcs/; revision=13406
2003-04-08 23:00:10 +00:00
Miguel de Icaza f2e22082ee 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=13405
2003-04-08 23:00:05 +00:00
Miguel de Icaza 77a6d41be3 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=13404
2003-04-08 23:00:01 +00:00
Miguel de Icaza 6efb4e80b7 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=13403
2003-04-08 22:59:55 +00:00
Miguel de Icaza b47e196e20 2003-02-25 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Check for the
	parameter modifiers as well.  Fixes bug 38606

svn path=/trunk/mcs/; revision=13402
2003-04-08 22:59:41 +00:00
Miguel de Icaza 4355fe217b 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=13401
2003-04-08 22:59:33 +00:00
Miguel de Icaza d97c25e525 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=13400
2003-04-08 22:59:25 +00:00
Miguel de Icaza e0e9bb689c 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=13399
2003-04-08 22:59:20 +00:00
Miguel de Icaza 38580df340 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=13398
2003-04-08 22:59:16 +00:00
Miguel de Icaza 44bbacdcd6 2003-02-23 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #37708.

svn path=/trunk/mcs/; revision=13397
2003-04-08 22:59:12 +00:00
Miguel de Icaza 53414e607d 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=13396
2003-04-08 22:59:07 +00:00
Miguel de Icaza dafbc5c3d8 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=13395
2003-04-08 22:59:03 +00:00
Miguel de Icaza 88103e6974 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=13394
2003-04-08 22:58:55 +00:00
Miguel de Icaza 7dc38cf4d8 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=13393
2003-04-08 22:58:50 +00:00
Miguel de Icaza 8b9135bb06 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
* expression.cs: fixes bug #38328.

svn path=/trunk/mcs/; revision=13392
2003-04-08 22:58:42 +00:00
Miguel de Icaza d42decc08b 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=13391
2003-04-08 22:58:33 +00:00
Miguel de Icaza 76027b1f33 2003-02-18 Miguel de Icaza <[email protected]>
* expression.cs (Indexers.GetIndexersForType): Interfaces do not
	inherit from System.Object, so we have to stop at null, not only
	when reaching System.Object.

svn path=/trunk/mcs/; revision=13390
2003-04-08 22:58:25 +00:00
Miguel de Icaza 24587d53b2 2003-02-17 Miguel de Icaza <[email protected]>
* expression.cs: (Indexers.GetIndexersForType): Martin's fix used
	DeclaredOnly because the parent indexer might have had a different
	name, but did not loop until the top of the hierarchy was reached.

	The problem this one fixes is 35492: when a class implemented an
	indexer from an interface, we were getting the interface method
	(which was abstract) and we were flagging an error (can not invoke
	abstract method).

	This also keeps bug 33089 functioning, and test-148 functioning.

svn path=/trunk/mcs/; revision=13389
2003-04-08 22:58:16 +00:00
Miguel de Icaza c6b3671075 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=13388
2003-04-08 22:58:08 +00:00
Miguel de Icaza eefac6832b 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=13387
2003-04-08 22:58:00 +00:00
Miguel de Icaza f91d3bd508 2003-02-14 Miguel de Icaza <[email protected]>
* class.cs: Location information for error 508

svn path=/trunk/mcs/; revision=13386
2003-04-08 22:57:52 +00:00
Miguel de Icaza 4a7aa05aa0 2003-02-14 Miguel de Icaza <[email protected]>
* expression.cs (New.DoResolve): Add a guard against double
	resolution of an expression.

	The New DoResolve might be called twice when initializing field
	expressions (see EmitFieldInitializers, the call to
	GetInitializerExpression will perform a resolve on the expression,
	and later the assign will trigger another resolution

	This leads to bugs (#37014)

svn path=/trunk/mcs/; revision=13385
2003-04-08 22:57:44 +00:00
Miguel de Icaza 7aa778e859 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=13384
2003-04-08 22:57:36 +00:00
Miguel de Icaza f3e90935dd 2003-02-14 Miguel de Icaza <[email protected]>
* class.cs (Field.Define): Do not overwrite the type definition
	inside the `volatile' group.  Turns out that volatile enumerations
	were changing the type here to perform a validity test, which
	broke conversions.

svn path=/trunk/mcs/; revision=13383
2003-04-08 22:57:32 +00:00
Miguel de Icaza 7461e052dd 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=13382
2003-04-08 22:57:23 +00:00
Miguel de Icaza 74fc847409 Oops. Wrongg ChangeLog entry
svn path=/trunk/mcs/; revision=13381
2003-04-08 22:57:19 +00:00
Miguel de Icaza a348ea0eb4 2003-02-12 Zoltan Varga <[email protected]>
* attribute.cs (ApplyAttributes): apply all MethodImplAttributes, not
	just InternalCall.

svn path=/trunk/mcs/; revision=13380
2003-04-08 22:57:15 +00:00
Miguel de Icaza cf7e1e5628 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=13379
2003-04-08 22:57:11 +00:00
Miguel de Icaza bc69e56f24 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=13378
2003-04-08 22:57:03 +00:00
Miguel de Icaza 7aad6339d5 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=13377
2003-04-08 22:56:53 +00:00
Miguel de Icaza c5d4072717 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=13376
2003-04-08 22:56:49 +00:00
Miguel de Icaza c90aea77f0 Hmm, no, this was wrong.
svn path=/trunk/mcs/; revision=13375
2003-04-08 22:56:44 +00:00
Miguel de Icaza a6fb2aa8b6 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=13374
2003-04-08 22:56:40 +00:00
Miguel de Icaza d122ad75f2 2003-02-09 Martin Baulig <[email protected]>
* cs-tokenizer.cs (Tokenizer.PreProcessLine): Also reset the
	filename on `#line default'.

svn path=/trunk/mcs/; revision=13373
2003-04-08 22:56:35 +00:00
Miguel de Icaza 7437c120de 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=13372
2003-04-08 22:56:31 +00:00
Miguel de Icaza 369f4c9226 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=13371
2003-04-08 22:56:27 +00:00
Miguel de Icaza e00b52e19b 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=13370
2003-04-08 22:56:23 +00:00
Miguel de Icaza d44f5f90c5 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=13369
2003-04-08 22:56:18 +00:00
Miguel de Icaza 601fc335db 2003-02-02 Martin Baulig <[email protected]>
* class.cs (MethodData.Emit): Generate debugging info for external methods.

svn path=/trunk/mcs/; revision=13368
2003-04-08 22:56:14 +00:00
Miguel de Icaza 76025b5a58 2003-02-02 Martin Baulig <[email protected]>
* class.cs (Constructor.Emit): Open the symbol writer before
	emitting the constructor initializer.
	(ConstructorInitializer.Emit): Call ec.Mark() to allow
	single-stepping through constructor initializers.

svn path=/trunk/mcs/; revision=13367
2003-04-08 22:56:06 +00:00
Miguel de Icaza e92ab90ca7 2003-01-30 Miguel de Icaza <[email protected]>
* class.cs: Handle error 549: do not allow virtual methods in
	sealed classes.

svn path=/trunk/mcs/; revision=13366
2003-04-08 22:55:47 +00:00
Miguel de Icaza ef8ff88f37 Check access levels when resolving types
svn path=/trunk/mcs/; revision=13365
2003-04-08 22:55:38 +00:00
Miguel de Icaza 825eb30433 Add parameters and locals set in catch blocks that might return to set vector
svn path=/trunk/mcs/; revision=13364
2003-04-08 22:55:34 +00:00
Miguel de Icaza 86dd89feb8 2003-01-29 Miguel de Icaza <[email protected]>
* class.cs (Operator): Set the SpecialName flags for operators.

	* expression.cs (Invocation.DoResolve): Only block calls to
	accessors and operators on SpecialName methods.

	(Cast.TryReduce): Handle conversions from char constants.

svn path=/trunk/mcs/; revision=13363
2003-04-08 22:55:30 +00:00
Miguel de Icaza 04495ff65d 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=13362
2003-04-08 22:55:18 +00:00
Miguel de Icaza ffad00c8ad 2003-01-28 Pedro Mart <[email protected]>
* expression.cs (IndexerAccess.DoResolveLValue): Resolve the same
        problem that the last fix but in the other sid (Set).

        * expression.cs (IndexerAccess.DoResolve): Fix a problem with a null

svn path=/trunk/mcs/; revision=13361
2003-04-08 22:55:14 +00:00
Miguel de Icaza 9cbab57694 Combine some if statements.
svn path=/trunk/mcs/; revision=13360
2003-04-08 22:55:06 +00:00
Miguel de Icaza d72f938fa1 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
* driver.cs: fixed bug #37187.

svn path=/trunk/mcs/; revision=13359
2003-04-08 22:54:58 +00:00
Miguel de Icaza 2d1822f649 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=13358
2003-04-08 22:54:54 +00:00
Miguel de Icaza 650d6f558d 2003-01-23 Miguel de Icaza <[email protected]>
* class.cs (MethodData.Define): It is wrong for an interface
	implementation to be static in both cases: explicit and implicit.
	We were only handling this in one case.

	Improve the if situation there to not have negations.

	* class.cs (Field.Define): Turns out that we do not need to check
	the unsafe bit on field definition, only on usage.  Remove the test.

svn path=/trunk/mcs/; revision=13357
2003-04-08 22:54:46 +00:00
Miguel de Icaza b537810f7d 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=13356
2003-04-08 22:54:38 +00:00
Miguel de Icaza 3de91ae8b2 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=13355
2003-04-08 22:54:34 +00:00
Miguel de Icaza 3b6488d60f delete garbage
svn path=/trunk/mcs/; revision=13354
2003-04-08 22:54:29 +00:00
Miguel de Icaza 0a6c7864fa 2003-01-21 Nick Drochak <[email protected]>
* cs-tokenizer.cs:
	* pending.cs:
	* typemanager.cs: Remove compiler warnings

svn path=/trunk/mcs/; revision=13353
2003-04-08 22:54:25 +00:00
Miguel de Icaza 75072803c7 ~head -4 ChangeLog~
svn path=/trunk/mcs/; revision=13352
2003-04-08 22:54:20 +00:00
Miguel de Icaza 89f27edea4 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=13351
2003-04-08 22:54:12 +00:00
Miguel de Icaza 806465eff9 2003-01-18 Zoltan Varga <[email protected]>
* class.cs (Constructor::Emit): Emit debugging info for constructors.

svn path=/trunk/mcs/; revision=13350
2003-04-08 22:54:08 +00:00
Miguel de Icaza 548f623472 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=13349
2003-04-08 22:54:00 +00:00
Miguel de Icaza 3be493f965 Set file name when specified with #line
svn path=/trunk/mcs/; revision=13348
2003-04-08 22:53:55 +00:00
Miguel de Icaza ff0dc6bdde 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=13347
2003-04-08 22:53:51 +00:00
Miguel de Icaza 80c18c04dc 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=13346
2003-04-08 22:53:47 +00:00
Miguel de Icaza 23958af563 Add cleanup call.
svn path=/trunk/mcs/; revision=13345
2003-04-08 22:53:39 +00:00
Miguel de Icaza e3a23424cd 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=13344
2003-04-08 22:53:35 +00:00
Miguel de Icaza 9cd7be04bd Add Cleanup method, also fix #region error messages.
svn path=/trunk/mcs/; revision=13343
2003-04-08 22:53:31 +00:00
Miguel de Icaza a89d362791 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=13342
2003-04-08 22:53:27 +00:00
Miguel de Icaza 3e56bf7fe5 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=13341
2003-04-08 22:53:23 +00:00
Miguel de Icaza 5cea06ed93 2003-01-08 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference.DoResolve): Classify a
	constant as a value, not as a variable.   Also, set the type for
	the variable.

svn path=/trunk/mcs/; revision=13340
2003-04-08 22:53:15 +00:00
Miguel de Icaza eff7ccf053 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=13339
2003-04-08 22:53:07 +00:00
Miguel de Icaza 3ea8fd7d39 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=13338
2003-04-08 22:53:03 +00:00
Miguel de Icaza 6289e1de36 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=13337
2003-04-08 22:52:59 +00:00
Miguel de Icaza fb3483b318 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=13336
2003-04-08 22:52:55 +00:00
Miguel de Icaza b73267aeb4 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=13335
2003-04-08 22:52:49 +00:00
Miguel de Icaza 8ea6918491 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=13334
2003-04-08 22:52:45 +00:00
Miguel de Icaza 3dad594e29 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=13333
2003-04-08 22:52:41 +00:00
Miguel de Icaza d5936fd486 Tue Jan 7 18:23:44 CET 2003 Paolo Molaro <[email protected]>
* class.cs: don't try to create the ParamBuilder for the return
	type if it's not needed (and handle it breaking for the ms runtime
	anyway).

svn path=/trunk/mcs/; revision=13332
2003-04-08 22:52:37 +00:00
Miguel de Icaza 7692d402b6 Add REGION flag to #region directives, and add checks to make sure that regions are being poped correctly
svn path=/trunk/mcs/; revision=13331
2003-04-08 22:52:29 +00:00
Miguel de Icaza 713564ea93 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=13330
2003-04-08 22:52:25 +00:00
Miguel de Icaza bee3c24c90 2002-12-28 Miguel de Icaza <[email protected]>
* class.cs (Method.Define): If we are an operator (because it
	reuses our code), then set the SpecialName and HideBySig.  #36128

svn path=/trunk/mcs/; revision=13329
2003-04-08 22:52:21 +00:00
Miguel de Icaza 4d4435aa41 2002-12-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.DoResolve): Do not allow methods with
	SpecialName to be invoked.

svn path=/trunk/mcs/; revision=13328
2003-04-08 22:52:12 +00:00
Miguel de Icaza 01459794d7 2002-12-22 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.DoResolve): Do not allow methods with
	SpecialName to be invoked.

svn path=/trunk/mcs/; revision=13327
2003-04-08 22:52:09 +00:00
Miguel de Icaza 522b354ae1 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=13326
2003-04-08 22:52:01 +00:00
Miguel de Icaza c3a784969d 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=13325
2003-04-08 22:51:56 +00:00
Miguel de Icaza 4c72648ebe Oops, revert debugging code
svn path=/trunk/mcs/; revision=13324
2003-04-08 22:51:52 +00:00
Miguel de Icaza 830380101f Use Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless outputs are used
svn path=/trunk/mcs/; revision=13323
2003-04-08 22:51:48 +00:00
Miguel de Icaza 2322340461 2002-12-20 Gonzalo Paniagua Javier <[email protected]>
* rootcontext.cs: fixed compilation of corlib.

svn path=/trunk/mcs/; revision=13322
2003-04-08 22:51:44 +00:00
Miguel de Icaza 890f6df8d2 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=13321
2003-04-08 22:51:40 +00:00
Miguel de Icaza b1ea17e0b8 2002-12-14 Jaroslaw Kowalski <[email protected]>
* decl.cs: Added special case to allow overrides on "protected
	internal" methods

svn path=/trunk/mcs/; revision=13320
2003-04-08 22:51:32 +00:00
Miguel de Icaza b33ead382a 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=13319
2003-04-08 22:51:28 +00:00
Miguel de Icaza a613caeffb 2002-12-18 Miguel de Icaza <[email protected]>
* const.cs: Handle implicit null conversions here too.

svn path=/trunk/mcs/; revision=13318
2003-04-08 22:51:20 +00:00
Miguel de Icaza 9488ca4732 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=13317
2003-04-08 22:51:16 +00:00
Miguel de Icaza ce9c099ac0 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=13316
2003-04-08 22:51:08 +00:00
Miguel de Icaza 8b9064eba2 2002-12-15 Miguel de Icaza <[email protected]>
* expression.cs (Unary.TryReduce): mimic the code for the regular
	code path.  Perform an implicit cast in the cases where we can
	implicitly convert to one of the integral types, and then reduce
	based on that constant.   This fixes bug #35483.

svn path=/trunk/mcs/; revision=13315
2003-04-08 22:51:04 +00:00
Miguel de Icaza 9abfb1651d 2002-12-14 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixed cut & paste error in GetRemoveMethod.

svn path=/trunk/mcs/; revision=13314
2003-04-08 22:50:56 +00:00
Miguel de Icaza 2a6517f3c7 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: fixed bug #35489.

svn path=/trunk/mcs/; revision=13313
2003-04-08 22:50:52 +00:00
Miguel de Icaza ff40beaedf 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=13312
2003-04-08 22:50:48 +00:00
César Natarén f15ac05199 Added more syntatic and lexical rules. See ChangeLog.
svn path=/trunk/mcs/; revision=13310
2003-04-08 19:40:20 +00:00
Miguel de Icaza 005d5a1473 2003-04-08 Miguel de Icaza <[email protected]>
* System.Data.OracleClient/OracleConnection.cs: Apply fix from
	David Pickens <[email protected]>

svn path=/trunk/mcs/; revision=13305
2003-04-08 17:48:17 +00:00
Rafael Teixeira 6a5bfb1d61 Adding Rafael Teixeira
svn path=/trunk/mono/; revision=13303
2003-04-08 14:14:09 +00:00
Paolo Molaro ddcc8f35a8 Tue Apr 8 11:41:26 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: add BUILT_SOURCES.

svn path=/trunk/mono/; revision=13300
2003-04-08 09:48:46 +00:00
Paolo Molaro c12430c9d6 Tue Apr 8 11:37:29 CEST 2003 Paolo Molaro <[email protected]>
* atomic.h: fix macosx build by "Urs C. Muff" <[email protected]>.

svn path=/trunk/mono/; revision=13299
2003-04-08 09:45:23 +00:00
Paolo Molaro 91fe0d562a Tue Apr 8 11:19:53 CEST 2003 Paolo Molaro <[email protected]>
* class.h: avoid the C++ keywords in header files (Jerome Laban
	spotted and fixed this).

svn path=/trunk/mono/; revision=13298
2003-04-08 09:27:56 +00:00
Jackson Harper f53336fad6 * ILParser.jay: Implement data items
svn path=/trunk/mcs/; revision=13297
2003-04-08 06:30:13 +00:00
Martin Willemoes Hansen a442753c9d * Stubed rest of System.Drawing.Design
svn path=/trunk/mcs/; revision=13296
2003-04-08 06:10:25 +00:00
Jackson Harper 843827a5a2 * TypeRef.cs: Return FieldDef when adding a field def to a class
svn path=/trunk/mcs/; revision=13295
2003-04-08 05:46:09 +00:00
Jackson Harper 4e3957507e * ILParser.jay: Implement most field features
svn path=/trunk/mcs/; revision=13294
2003-04-08 05:42:26 +00:00
Dennis Hayes e67272e231 updated copyrights and converted to unix style newlines
svn path=/trunk/mcs/; revision=13293
2003-04-08 02:41:38 +00:00
Dennis Hayes 7a9439f74f converted to unix newlines and rolled copyright to 2002/3
svn path=/trunk/mcs/; revision=13292
2003-04-08 02:28:15 +00:00
Sebastien Pouliot 527e26adfa *** empty log message ***
svn path=/trunk/mono/; revision=13291
2003-04-08 02:26:04 +00:00
Dennis Hayes 80978e873d updated checkout list
svn path=/trunk/mcs/; revision=13290
2003-04-08 02:17:17 +00:00
Dennis Hayes a6b9dd0fac removed inherited members, removed a throw not implmented, added comments
svn path=/trunk/mcs/; revision=13289
2003-04-08 02:15:56 +00:00
Gonzalo Paniagua Javier ec86030b4c 2003-04-08 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed bug #40910.

svn path=/trunk/mcs/; revision=13288
2003-04-08 01:29:30 +00:00
Miguel de Icaza d92fc50bc0 Update
svn path=/trunk/mono/; revision=13286
2003-04-07 23:41:33 +00:00
Miguel de Icaza 226eb14b61 First pass at mini man page
svn path=/trunk/mono/; revision=13285
2003-04-07 18:51:29 +00:00
Martin Baulig 3dccd821a8 2003-04-07 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.CurrentFile): New public field.
	(EmitContext.Mark): Use the CurrentFile to check whether the
	location is in the correct file.
	(EmitContext.EmitTopBlock): Initialize CurrentFile here.

svn path=/trunk/mcs/; revision=13284
2003-04-07 17:52:44 +00:00
Martin Baulig bcd5465dcf 2003-04-07 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveBoolean): Don't call ec.Mark().

	* codegen.cs (EmitContext.EmitTopBlock): Don't call Mark() on the
	location.  [FIXME: The location argument which gets passed to this
	method is sometimes wrong!]

svn path=/trunk/mcs/; revision=13283
2003-04-07 16:59:03 +00:00
Paolo Molaro 0cde9ce3e6 Mon Apr 7 16:31:34 CEST 2003 Paolo Molaro <[email protected]>
* driver.c: give a better error message when the assembly to execute
	doesn't have an entry point.

svn path=/trunk/mono/; revision=13280
2003-04-07 14:31:54 +00:00
Dietmar Maurer 55917d33a1 2003-04-07 Dietmar Maurer <[email protected]>
* Makefile.am: added hack for automake

svn path=/trunk/mono/; revision=13278
2003-04-07 14:24:58 +00:00
Dietmar Maurer db4619a711 *** empty log message ***
svn path=/trunk/mono/; revision=13276
2003-04-07 14:00:52 +00:00
Dietmar Maurer 61bb56e984 2003-04-07 Dietmar Maurer <[email protected]>
* mono/mini/mini.c (mono_save_args): always copy arguments to keep
	correct sematics.

	* mono/mini/ssa.c (mono_ssa_avoid_copies): don't optimize calls

svn path=/trunk/mono/; revision=13275
2003-04-07 13:57:52 +00:00
Nick Drochak c40833f1c0 2003-04-07 Nick Drochak <[email protected]>
* codegen.cs: Be more verbose when we can't find the symbol writer dll.

svn path=/trunk/mcs/; revision=13274
2003-04-07 13:54:16 +00:00
Martin Baulig a8f85636ca 2003-04-07 Martin Baulig <[email protected]>
* mono/mini/: Added this directory to the build; install `mini'
	and `libmini.la'.

svn path=/trunk/mono/; revision=13268
2003-04-07 12:37:36 +00:00
Dietmar Maurer 40a261fb83 some experimental code - disabled
svn path=/trunk/mono/; revision=13267
2003-04-07 11:43:27 +00:00
Gaurav Vaish f942ad8b26 2003-04-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileListItem.cs      : Completed.

svn path=/trunk/mcs/; revision=13266
2003-04-07 11:24:39 +00:00
Piers Haken 011004ad7f 2003-03-07 Piers Haken <[email protected]>
* Tokenizer.cs: allow '.'s in NCNames

svn path=/trunk/mcs/; revision=13265
2003-04-07 11:15:36 +00:00
Dietmar Maurer 171cc673c8 another inlining test
svn path=/trunk/mono/; revision=13264
2003-04-07 11:14:15 +00:00
Dietmar Maurer 1d94fee9a9 2003-04-07 Dietmar Maurer <[email protected]>
* mono/mini/ssa.c (mono_ssa_avoid_copies): don't optimize calls

svn path=/trunk/mono/; revision=13263
2003-04-07 11:08:22 +00:00
Piers Haken 7576c51d60 2003-03-07 Piers Haken <[email protected]>
* Exression.cs:
	* DefaultContext.cs:
		fixed function argument resolution

svn path=/trunk/mcs/; revision=13262
2003-04-07 10:55:13 +00:00
Gaurav Vaish 02d84105b4 2003-04-07 Gaurav Vaish
* team.xml - Anti-Spamify the email address

svn path=/trunk/mono/; revision=13261
2003-04-07 08:45:46 +00:00
Duncan Mak 93acf29e0c Fix ContributorComparer.
svn path=/trunk/mono/; revision=13260
2003-04-07 08:09:47 +00:00
Gonzalo Paniagua Javier 7c5837d278 Make it work again
svn path=/trunk/mono/; revision=13259
2003-04-07 00:20:35 +00:00
Sebastien Pouliot 5ec87b08dc 2003-04-06 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.
	* DSACryptoServiceProvider.cs: Fix bug where key generation always
	resulted in 1024 bits keypair.
	* KeySizes.cs: Added internal IsLegalKeySize and IsLegal to avoid
	duplication in both AsymmetricAlgorithm and SymmetricAlgorithm.
	* RC2.cs: Modified to use IsLegalKeySize from KeySizes.cs.
	* RSACryptoServiceProvider.cs: Fix bug where key generation always
	resulted in 1024 bits keypair. Should fix unit test failure under
	Linux.
	* SymmetricAlgorithm.cs: Moved IsLegalKeySize to KeySizes.cs.

svn path=/trunk/mcs/; revision=13256
2003-04-06 22:03:51 +00:00
Martin Baulig 1a4800e8e4 2003-04-06 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Don't report an error
	if it's a nested child, but also deriving from the outer class.
	See test 190.cs.

svn path=/trunk/mcs/; revision=13251
2003-04-06 21:41:27 +00:00
Martin Baulig cd19ec807f 2003-04-06 Martin Baulig <[email protected]>
* test-190.cs: New test.

svn path=/trunk/mcs/; revision=13249
2003-04-06 21:31:49 +00:00
Martin Baulig 12f129c9a9 2003-04-06 Martin Baulig <[email protected]>
* typemanager.cs (IsNestedChildOf): Make this work if it's a
	nested child, but also deriving from the outer class.  See
	test-190.cs.
	(FilterWithClosure): We may access private members of the outer
	class if we're a nested child and deriving from the outer class.
	(RealMemberLookup): Only set `closure_private_ok' if the
	`original_bf' contained BindingFlags.NonPublic.

svn path=/trunk/mcs/; revision=13248
2003-04-06 21:31:26 +00:00
Martin Baulig 6c30df32d2 Ooops, forgot to commit this. This will actually fix #40670.
svn path=/trunk/mcs/; revision=13247
2003-04-06 20:50:15 +00:00
Sebastien Pouliot 39dffd7dca 2003-04-06 Sebastien Pouliot <[email protected]>
* corlib_test.args: added X509CertificateTest.cs

svn path=/trunk/mcs/; revision=13246
2003-04-06 16:01:20 +00:00
Sebastien Pouliot da75e4e65f 2003-04-06 Sebastien Pouliot <[email protected]>
* corlib_linux_test.args: added X509CertificateTest.cs

svn path=/trunk/mcs/; revision=13245
2003-04-06 14:04:58 +00:00
Sebastien Pouliot 33dae0da5e 2003-04-06 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Partial fix for bug #40689 (workaround). Does not
	throw a NotSupportedException on closing a CryptoStream in read mode
	(like MS does but unlike MS documents).

svn path=/trunk/mcs/; revision=13244
2003-04-06 13:56:50 +00:00
Alexandre Pigolkine bbbbc2c96b initial implementation of MDI interface; Attempt to minimize fliker effect
svn path=/trunk/mcs/; revision=13243
2003-04-06 12:22:19 +00:00
Gonzalo Paniagua Javier 2b32d6104c added myself
svn path=/trunk/mono/; revision=13242
2003-04-06 10:54:09 +00:00
Gonzalo Paniagua Javier 6202fa4948 2003-04-06 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_unhandled_exception): fill in the arguments for the
	UnhandledException event. Only trigger that event for the default
	domain (as MS does).

svn path=/trunk/mono/; revision=13239
2003-04-06 10:17:19 +00:00
Jackson Harper 2566174917 * ILParser.jay: Set type parameter index
svn path=/trunk/mcs/; revision=13236
2003-04-06 08:14:19 +00:00
Jackson Harper d3183de616 * PEAPI.cs: Add indexes to GenericParameters, make string index
always a full 4 bytes.

svn path=/trunk/mcs/; revision=13235
2003-04-06 08:12:36 +00:00
Pedro Martínez Juliá af12dcffdf Modify my image entry.
svn path=/trunk/mono/; revision=13234
2003-04-06 07:25:33 +00:00
Jackson Harper f18ee79d99 Add my picture
svn path=/trunk/mono/; revision=13233
2003-04-06 06:01:27 +00:00
Jackson Harper 0333475e72 My picture.
svn path=/trunk/mono/; revision=13232
2003-04-06 06:00:13 +00:00
Miguel de Icaza 321654ad5b Commit. Please do not reformat gratuitously
svn path=/trunk/mono/; revision=13231
2003-04-06 05:52:50 +00:00
Ben Maurer 8bfde8a4b2 Added myself
svn path=/trunk/mono/; revision=13228
2003-04-06 04:50:51 +00:00
Jackson Harper b1607420fa remove classref references
svn path=/trunk/mcs/; revision=13227
2003-04-06 03:10:02 +00:00
Jackson Harper 432090f977 * ILParser.jay: Emit parameterized types
svn path=/trunk/mcs/; revision=13224
2003-04-06 00:29:49 +00:00
Jackson Harper b5d446baea * PEAPI.cs: Add GenericParameter table, and method to add generic
parameters.

svn path=/trunk/mcs/; revision=13223
2003-04-06 00:25:17 +00:00
Per Arneng 635d8da519 forgot one thing
svn path=/trunk/mono/; revision=13222
2003-04-05 23:41:42 +00:00
Per Arneng c43ac3f702 Added photo
svn path=/trunk/mono/; revision=13221
2003-04-05 23:10:51 +00:00
Miguel de Icaza 23c7c0e55c Flush
svn path=/trunk/mono/; revision=13218
2003-04-05 21:27:29 +00:00
Miguel de Icaza 0815482dd1 2003-04-05 Miguel de Icaza <[email protected]>
* jit.c (check_inlining): honor the NOINLING atttribute.

svn path=/trunk/mono/; revision=13216
2003-04-05 20:56:20 +00:00
Miguel de Icaza 3017ddec88 2003-04-05 Miguel de Icaza <[email protected]>
* mini.c (mono_method_check_inlining): Honor the
	METHOD_IMPL_ATTRIBUTE_NOINLINING flag.

svn path=/trunk/mono/; revision=13215
2003-04-05 20:53:55 +00:00
Jonathan Pryor ec96e63788 Add myself to the Mono Team page.
svn path=/trunk/mono/; revision=13208
2003-04-05 19:43:39 +00:00
Martin Baulig 3218ee5fd1 2003-04-05 Martin Baulig <[email protected]>
* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #40670.

svn path=/trunk/mcs/; revision=13207
2003-04-05 19:32:07 +00:00
Miguel de Icaza 06e358c27a Make it build, quick setup for now
svn path=/trunk/mono/; revision=13206
2003-04-05 19:22:22 +00:00
Miguel de Icaza 5a710fa941 New compilation engine for Mono
svn path=/trunk/mono/; revision=13205
2003-04-05 19:21:32 +00:00
Martin Baulig 64655bb5ff 2003-04-05 Martin Baulig <[email protected]>
* test-189.cs: New test for bug #40670.

svn path=/trunk/mcs/; revision=13204
2003-04-05 19:10:02 +00:00
Miguel de Icaza 62012c26d0 2003-04-05 Miguel de Icaza <[email protected]>
* Console.cs: Make stderr, stdout and stdin use synchronized
	versions of the their readers/writers.

2003-03-20  Miguel de Icaza  <[email protected]>

	* Thread.cs (CurrentCuluture): use the invaraint culture instead
	of "" for the current_culture setting.

2003-04-05  Miguel de Icaza  <[email protected]>

	* TextWriter.cs: Implemented Synchronized method.

	* TextReader.cs: Implemented Synchronized method.

svn path=/trunk/mcs/; revision=13203
2003-04-05 19:00:53 +00:00
Miguel de Icaza acd6b76952 Add pedro
svn path=/trunk/mono/; revision=13202
2003-04-05 17:52:45 +00:00
Patrik Torstensson 672e1916c0 2003-04-05 Patrik Torstensson
Added my self.

svn path=/trunk/mono/; revision=13201
2003-04-05 17:20:25 +00:00
Ville Palo 4244bdbf3d 2003-04-05 Ville Palo <[email protected]>
* DataTable.cs: Remove UniqueConstraints when adding new ones

svn path=/trunk/mcs/; revision=13200
2003-04-05 16:09:26 +00:00
Lluis Sanchez 4958ea6df5 Added myself
svn path=/trunk/mono/; revision=13198
2003-04-05 13:02:18 +00:00
Nick Drochak 543d4d2259 2003-04-05 Nick Drochak <[email protected]>
* makefile.gnu: revert. debugger support not installed by default in mcs

svn path=/trunk/mcs/; revision=13197
2003-04-05 12:30:50 +00:00
Gaurav Vaish a5dfb07fd8 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : HasCapability(string, string)
                             - In words how to implement it.

svn path=/trunk/mcs/; revision=13196
2003-04-05 10:42:20 +00:00
Gaurav Vaish 5f4782a70f 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : More methods.
* DeviceFilterDictionary.cs: Used by MobCaps for filtering
                             the capabilities. Init impl.

svn path=/trunk/mcs/; revision=13195
2003-04-05 10:30:10 +00:00
Martin Willemoes Hansen c833d7d521 Added my picture
svn path=/trunk/mono/; revision=13194
2003-04-05 10:12:36 +00:00
Gaurav Vaish 2202465d13 2003-04-05 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : Completed all properties.
                             Thanks to the tool that I made.
* ErrorHandlerModule.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=13193
2003-04-05 09:57:21 +00:00
Nick Drochak 16453f8cce Shameless self-promotion
svn path=/trunk/mono/; revision=13192
2003-04-05 09:32:38 +00:00
Pedro Martínez Juliá a233ad6461 Changing my entry
svn path=/trunk/mono/; revision=13191
2003-04-05 08:48:46 +00:00
Gaurav Vaish 294b0d88c4 2003-04-05 Gaurav Vaish
* team.xml: Added myself as a contributor!

svn path=/trunk/mono/; revision=13190
2003-04-05 08:28:06 +00:00
Gaurav Vaish 04e41ecadf 2003-04-05 Gaurav Vaish
* gvaish.png: Add my photo also. ;-)

svn path=/trunk/mono/; revision=13189
2003-04-05 08:25:54 +00:00
Ville Palo 6dc108df79 2003-04-05 Ville Palo <[email protected]>
* DataTableTest.cs: little fix.

svn path=/trunk/mcs/; revision=13188
2003-04-05 08:21:02 +00:00
Nick Drochak 27b20bb34d oops
svn path=/trunk/mcs/; revision=13187
2003-04-05 08:15:47 +00:00
Nick Drochak 1c704865ca 2003-04-05 Nick Drochak <[email protected]>
* PathTest.cs: Use nunit2 convention for exception test.

svn path=/trunk/mcs/; revision=13186
2003-04-05 08:01:03 +00:00
Alan Tam cd3e7d1f92 Add me to the team page.
svn path=/trunk/mono/; revision=13185
2003-04-05 07:52:05 +00:00
Nick Drochak c0d3fb7d98 2003-04-05 Nick Drochak <[email protected]>
* makefile.gnu: compile with debug.

svn path=/trunk/mcs/; revision=13184
2003-04-05 07:47:21 +00:00
Nick Drochak b8cc21d389 Add Nick
svn path=/trunk/mono/; revision=13183
2003-04-05 07:36:13 +00:00
Jackson Harper 0c147c7591 * ILParser.jay: Add parameterized method declarations.
svn path=/trunk/mcs/; revision=13182
2003-04-05 03:41:29 +00:00
Jackson Harper 7e344367a3 Add I
svn path=/trunk/mono/; revision=13181
2003-04-05 03:32:22 +00:00
César Natarén 7c035d225c Added myself to the team page.
svn path=/trunk/mono/; revision=13180
2003-04-05 02:19:29 +00:00
Sebastien Pouliot 445805ede0 *** empty log message ***
svn path=/trunk/mono/; revision=13179
2003-04-05 00:54:42 +00:00
Per Arneng c3ef6d3d63 added myself ;)
svn path=/trunk/mono/; revision=13177
2003-04-04 23:17:39 +00:00
Miguel de Icaza 971d41e525 Do not close
svn path=/trunk/mcs/; revision=13174
2003-04-04 23:00:45 +00:00
Miguel de Icaza fc54e20ad8 2003-04-04 Miguel de Icaza <[email protected]>
* FileStream.cs (Read, ReadByte, Seek): throw
	ObjectDisposedException if the handle has been released.

	(Read): Throw exceptions specified in the spec.

	(Read, Write, ReadSegment, WriteSegment): There is no requirement for any
	instance methods of FileStream to be thread safe, so remove all
	the calls to lock on the object

svn path=/trunk/mcs/; revision=13172
2003-04-04 22:49:02 +00:00
Piers Haken c725e633af added schema
svn path=/trunk/mono/; revision=13171
2003-04-04 22:07:13 +00:00
Miguel de Icaza 958d5a1363 put image back
svn path=/trunk/mono/; revision=13170
2003-04-04 22:04:19 +00:00
Johannes Roith ac65955bf0 fix: display icon
svn path=/trunk/mono/; revision=13169
2003-04-04 21:57:03 +00:00
Miguel de Icaza d1a5a277e8 Flush
svn path=/trunk/mono/; revision=13168
2003-04-04 21:55:25 +00:00
Miguel de Icaza 9898616b87 update
svn path=/trunk/mono/; revision=13167
2003-04-04 21:53:25 +00:00
Johannes Roith 0e3c8237f2 photo.
svn path=/trunk/mono/; revision=13166
2003-04-04 21:50:39 +00:00
Johannes Roith 1c04b48fdf add myself
svn path=/trunk/mono/; revision=13165
2003-04-04 21:45:01 +00:00
Martin Willemoes Hansen 671f13be37 *** empty log message ***
svn path=/trunk/mono/; revision=13164
2003-04-04 21:30:45 +00:00
Piers Haken 239e4454f7 added myself
svn path=/trunk/mono/; revision=13163
2003-04-04 21:28:19 +00:00
Martin Willemoes Hansen 0cb2e024ce team.xml
svn path=/trunk/mono/; revision=13162
2003-04-04 21:20:57 +00:00
Tim Coleman 81f5d2bede *** empty log message ***
svn path=/trunk/mono/; revision=13161
2003-04-04 21:15:42 +00:00
Marco Ridoni 05a30ab477 Added Marco Ridoni
svn path=/trunk/mono/; revision=13160
2003-04-04 21:05:17 +00:00
Alp Toker 6385b5baf1 Team entry
svn path=/trunk/mono/; revision=13159
2003-04-04 20:46:15 +00:00
Duncan Mak 431c7bb129 XML Serialization isn't completely working yet ;(
svn path=/trunk/mono/; revision=13158
2003-04-04 20:31:47 +00:00
Duncan Mak 005f28ec07 Fixity Fix
svn path=/trunk/mono/; revision=13157
2003-04-04 20:27:56 +00:00
Duncan Mak 05b50ddc7e Client for writing out team.xml entries
svn path=/trunk/mono/; revision=13156
2003-04-04 20:16:21 +00:00
Miguel de Icaza 1ef49f374d Update
svn path=/trunk/mono/; revision=13155
2003-04-04 20:16:03 +00:00
Pedro Martínez Juliá 36ab9f0237 Added my entry
svn path=/trunk/mono/; revision=13154
2003-04-04 20:02:15 +00:00
Duncan Mak 538b2a6cb3 * doc/web/render-team-page.cs: Make it use 'none.png' if no image
are specified in the XML.

svn path=/trunk/mono/; revision=13153
2003-04-04 19:47:10 +00:00
Duncan Mak 7928a673e0 Add images
svn path=/trunk/mono/; revision=13152
2003-04-04 19:42:33 +00:00
Juli Mallett c7bd4a719b Add myself to the team listing, cause I'm still around. Hopefully
the stuff deals well with lack of certain fields.

svn path=/trunk/mono/; revision=13151
2003-04-04 19:35:57 +00:00
Ville Palo e003486356 2003-04-04 Ville Palo <[email protected]>
* DataColumnCollection.cs: Little 'case sensitive' fix

svn path=/trunk/mcs/; revision=13150
2003-04-04 19:31:24 +00:00
Duncan Mak 42f3c14d3f Fix stupid typo.
svn path=/trunk/mono/; revision=13149
2003-04-04 19:30:51 +00:00
Duncan Mak 61d26f37fd * doc/web/team.xml: Remove the comment.
* doc/web/render-team-page.cs: Make it not output a full HTML file.

svn path=/trunk/mono/; revision=13148
2003-04-04 19:21:27 +00:00
Duncan Mak 1f16adccf7 * doc/web/commands:
* doc/web/makefile: Add team page information.

* doc/web/team.xml:
* doc/web/render-team-page.cs: Code for rendering a team page.

svn path=/trunk/mono/; revision=13147
2003-04-04 19:10:48 +00:00
Ville Palo 35d1e92f06 2003-04-04 Ville Palo <[email protected]>
* DataRow.cs: AutoIncrement handling to Constructor
	* DataRowCollection.cs: This doesnt need anymore AutoIncrements

svn path=/trunk/mcs/; revision=13146
2003-04-04 19:07:33 +00:00
Zoltan Varga 2ffefe3109 2003-04-04 Zoltan Varga <[email protected]>
* object.c: Improve typed allocation stuff based on suggestions from
	Paolo. Also turn it on if the GC library supports it.

svn path=/trunk/mono/; revision=13145
2003-04-04 18:17:47 +00:00
Zoltan Varga d1db987a3c 2003-04-04 Zoltan Varga <[email protected]>
* configure.in: Added check for GC_gcj_malloc.

svn path=/trunk/mono/; revision=13144
2003-04-04 18:12:03 +00:00
Gaurav Vaish 43bab8e08a 2003-04-04 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecificChoice.cs: FindAndApplyProperty(...) - Bug fix.
* Style.cs               : Added several properties.

svn path=/trunk/mcs/; revision=13143
2003-04-04 16:54:44 +00:00
Miguel de Icaza dba52fe4ee Update
svn path=/trunk/mono/; revision=13142
2003-04-04 16:39:53 +00:00
Martin Willemoes Hansen 0b1a1f28a4 * man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.

svn path=/trunk/mono/; revision=13141
2003-04-04 15:42:47 +00:00
Gaurav Vaish d8d228eb8f 2003-04-04 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecificChoice.cs: HasTemplates { get; },
                         : FindAndApplyEvent(...)     - Completed
                         : FindAndApplyProperty(...),
                         : CheckOnPageEvaluator(...)  - Init impl.

svn path=/trunk/mcs/; revision=13140
2003-04-04 15:35:44 +00:00
Dick Porter 43b38fedfc 2003-04-04 Dick Porter <[email protected]>
* Version.cs: Make operator== and operator!= cope with null
	objects.  Didn't change operator<, operator<=, operator> or
	operator>= because its not meaningful to use those to compare
	against null, and throwing a NullReferenceException is probably
	the best thing to do there anyway.

	Fixes bug 40720.

svn path=/trunk/mcs/; revision=13139
2003-04-04 15:06:21 +00:00
Jackson Harper b81135714a * ILParser.jay: Add parameterized types to classes.
svn path=/trunk/mcs/; revision=13130
2003-04-04 05:09:38 +00:00
Jackson Harper 170b829ed5 * ILToken.cs: Add open angle bracket, and close angle bracket tokens.
svn path=/trunk/mcs/; revision=13129
2003-04-04 05:07:59 +00:00
Jackson Harper 9f8cd9c0b1 new test
svn path=/trunk/mcs/; revision=13128
2003-04-04 05:05:09 +00:00
Miguel de Icaza 4538855a25 Memory friendly InflaterInputStream.cs
svn path=/trunk/mcs/; revision=13113
2003-04-04 04:12:58 +00:00
César Natarén 7792a826f8 Added syntatic rules for: switch_statement, case_block, case_clauses, case_clause, default_clause, labelled_statement, try_statement, catch_exp, finally_exp, with_statement, object_literal, ( expression ), property_name_and_value_list, property_name, expression.
svn path=/trunk/mcs/; revision=13112
2003-04-04 04:04:50 +00:00
Zoltan Varga cc63aff65e 2003-04-03 Zoltan Varga <[email protected]>
* object.c object.h class.h: Added experimental typed allocation
	facility using the interfaces in gc_gcj.h.

	* os/gc_wrapper.h: Added new include files.

svn path=/trunk/mono/; revision=13077
2003-04-03 21:40:42 +00:00
Martin Baulig 8ef024cf2f Ooops, forgot a debugging #ifdef.
svn path=/trunk/mono/; revision=13075
2003-04-03 20:16:49 +00:00
Martin Baulig 69f5dde9af 2003-04-03 Martin Baulig <[email protected]>
The following change is conditional to `WITH_INCLUDED_LIBGC'
	which is not yet enabled by default.

	* threads.c (SuspendThread, ResumeThread): Fully implemented this.
	(gc_init): New static function; install a signal handler for
	SIGPWR which is used to suspend threads.  [FIXME: it SIGPWR
	doesn't exist on all Unix systems, we need to find another
	signal].
	(mono_wapi_push_thread_stack): New public function.  Tells the
	garbage collector about the current stack pointer of a suspended
	thread.

svn path=/trunk/mono/; revision=13074
2003-04-03 20:15:54 +00:00
Martin Baulig fcd5dfa02e 2003-04-03 Martin Baulig <[email protected]>
* timed-thread.h (TimedThread): Added `suspended_sem',
	`suspend_count' and `stack_ptr'.

svn path=/trunk/mono/; revision=13073
2003-04-03 20:09:46 +00:00
Miguel de Icaza 80c2e08cb3 Flush
svn path=/trunk/mono/; revision=13072
2003-04-03 19:46:42 +00:00
Miguel de Icaza c042de9936 Flush
svn path=/trunk/mono/; revision=13071
2003-04-03 19:20:22 +00:00
Atsushi Eno c169d32335 2003-04-04 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Load() now closes the given XmlReader.
	  Don't allow creation of XmlTextReader for Doctype. (workaround.)
	* XmlInputStream.cs : It now closes its internal stream explicitly.
	* XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
	* XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
	* XmlParserInput.cs : added Close() method.
	* XmlReader.cs : MoveToContent() should (1) not Read in case of empty
	  element, and (2) MoveToElement() in case of attribute.
	* XmlTextReader.cs : Close() now actually closes source TextReaders.

svn path=/trunk/mcs/; revision=13070
2003-04-03 19:03:17 +00:00
Martin Baulig aa5c7d0f89 2003-04-03 Martin Baulig <[email protected]>
All the following changes are conditional to `WITH_INCLUDED_LIBGC'
	which is not yet enabled by default.

	* gc.c (mono_gc_init): Set the gc_thread_vtable to our thread
	functions.
	(mono_gc_lock, mono_gc_unlock): New static functions.

	* threads.c (mono_gc_stop_world, mono_gc_start_world): New public
	functions; stop/start the world for the garbage collector.  This
	is using the windows API; we need to complete the SuspendThread()/
	ResumeThread() implementation in the io-layer to make this work on Unix.
	(mono_gc_push_all_stacks): New public function; tells the garbage
	collector about the stack pointers from all managed threads.

svn path=/trunk/mono/; revision=13065
2003-04-03 16:41:01 +00:00
Martin Baulig 338988a5c0 2003-04-03 Martin Baulig <[email protected]>
* object.h (MonoThread): Added `gpointer stack_ptr'.

	* threads.c (start_wrapper): Save the stack pointer in `stack_ptr'.

svn path=/trunk/mono/; revision=13064
2003-04-03 16:29:15 +00:00
Martin Baulig bf4f9529dc 2003-04-03 Martin Baulig <[email protected]>
* Makefile.am: It's called `cygpath -w', not `cygpath -m'.

svn path=/trunk/mono/; revision=13063
2003-04-03 16:23:46 +00:00
Lluis Sanchez 4c203f4e93 * TcpMessageIO.cs: Changed header format to match MS.NET. Based on the patch
sent by Jose Lu�s Mart�n.
	* TcpClientTransportSink.cs: Added Content-Type header. Improved support
	  for OneWay messages.

svn path=/trunk/mcs/; revision=13061
2003-04-03 15:32:16 +00:00
Lluis Sanchez 29397612b2 * TcpMessageIO.cs: Changed header format to match MS.NET. Based on the patch
sent by Jose Lu�s Mart�n.
	* TcpClientTransportSink.cs: Added Content-Type header. Improved support
	  for OneWay messages.

svn path=/trunk/mcs/; revision=13060
2003-04-03 15:32:16 +00:00
Zoltan Varga 1c643ba777 2003-04-03 Zoltan Varga <[email protected]>
* reflection.c (typebuilder_setup_fields): Initialize field.first and
	field.last.

svn path=/trunk/mono/; revision=13059
2003-04-03 15:16:15 +00:00
Gaurav Vaish f2f215350f 2003-04-03 Gaurav Vaish <gvaish_mono AT lycos.com>
* DeviceSpecific.cs      : Almost done.
* DeviceSpecificChoice.cs: HasTemplates { get; } - Subbed.
* Style.cs               : Control      { get; } - Stubbed.
* MobileControl.cs       : FindClosestTemplateControl()
                                                 - Stubbed.

svn path=/trunk/mcs/; revision=13058
2003-04-03 14:16:15 +00:00
Rafael Teixeira f463ddfe40 bits
svn path=/trunk/mcs/; revision=13057
2003-04-03 13:20:56 +00:00
Jackson Harper 635805608f * ILParser.jay: Support most non-obsolete native types.
svn path=/trunk/mcs/; revision=13055
2003-04-03 07:18:52 +00:00
Jackson Harper 19d0bce9d7 * ILParser.jay: Proper names for native int and native uint
svn path=/trunk/mcs/; revision=13054
2003-04-03 06:10:50 +00:00
Miguel de Icaza b0e252192a 2003-04-02 Miguel de Icaza <[email protected]>
* loader.c (mono_lookup_internal_call): Report the corlib that is
	out of sync.

svn path=/trunk/mono/; revision=13053
2003-04-03 03:36:49 +00:00
Miguel de Icaza 45a6cd3519 Update debug info
svn path=/trunk/mono/; revision=13052
2003-04-03 03:22:31 +00:00
Duncan Mak e5b9d67bdb Temporarily remove the references to
Class.MustOverride to fix the build.

svn path=/trunk/mcs/; revision=13050
2003-04-03 00:55:22 +00:00
Gonzalo Paniagua Javier a81068f6cc remove nunit-gtk dir
svn path=/trunk/mcs/; revision=13049
2003-04-03 00:49:36 +00:00
Gonzalo Paniagua Javier 0492ccab51 moved to its own module
svn path=/trunk/mcs/; revision=13048
2003-04-03 00:48:37 +00:00
Marco Ridoni 41d2c3386b - A lot of fixes for array/variable declaration and initialization
- Fixed enums
- Removed a few conflicts from the grammar
- Added single-line If statement
- Fixed access modifiers for module members
- Started implementing MustOverride (not working yet)
- Added MyClass
- Added a couple of missing integral types

svn path=/trunk/mcs/; revision=13032
2003-04-02 17:55:20 +00:00
Marco Ridoni 50d1bfc535 - Added a preliminary test suite for regression testing
svn path=/trunk/mcs/; revision=13031
2003-04-02 17:52:40 +00:00
Marco Ridoni 866ca883b1 - Preliminary support for late binding in array access (needs support in
the runtime

svn path=/trunk/mcs/; revision=13030
2003-04-02 17:51:22 +00:00
Marco Ridoni b802097971 - Fixed default namespace (VB.NET wants it to be an empty string)
svn path=/trunk/mcs/; revision=13029
2003-04-02 17:50:15 +00:00
Paolo Molaro 4086eebfaf 2003-03-05 Aleksey Demakov <[email protected]>
* icall.c (ves_icall_type_GetTypeCode): fixed check for
	System.DBNull (it's class not valuetype).

svn path=/trunk/mono/; revision=13028
2003-04-02 17:19:46 +00:00
Paolo Molaro 474d78ed7f Wed Apr 2 18:37:35 CEST 2003 Paolo Molaro <[email protected]>
* reflection.c: set table_idx in MonoReflectionArrayMethod object even
	if the array method was already assigned a token (fixes bug#40646).

svn path=/trunk/mono/; revision=13027
2003-04-02 16:44:11 +00:00
Zoltan Varga bf3c59a420 2003-04-02 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Attempt type resolve even
	if no assembly is given.

svn path=/trunk/mono/; revision=13026
2003-04-02 15:18:54 +00:00
Zoltan Varga ef1be2f9f3 2003-04-02 Zoltan Varga <[email protected]>
* README.tests test-188.cs makefile: Added test-188.cs.

svn path=/trunk/mcs/; revision=13025
2003-04-02 14:21:02 +00:00
Gonzalo Paniagua Javier 043354e2de Forgot this
svn path=/trunk/mcs/; revision=13024
2003-04-02 13:01:10 +00:00
Miguel de Icaza 37dff1e527 2003-04-02 Miguel de Icaza <[email protected]>
* class.cs (Event.Define): Do not allow abstract events to have
	initializers.

2003-04-01  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Add error productions for ADD/REMOVE missing a
	block in event declarations.

svn path=/trunk/mcs/; revision=13023
2003-04-02 11:47:18 +00:00
Jackson Harper bd61f7e388 Initialize call conv
svn path=/trunk/mcs/; revision=13020
2003-04-02 08:09:09 +00:00
Jackson Harper 9d990ba9fd * ILParser.jay: Add Call conventions, fix primitive spelling.
svn path=/trunk/mcs/; revision=13019
2003-04-02 08:05:59 +00:00
Jackson Harper 01a00d3020 * ILParser.jay: Add TypedRef primative type.
svn path=/trunk/mcs/; revision=13018
2003-04-02 07:51:54 +00:00
Jackson Harper 621fdfafac * ILParser.jay: Support pinned, modreq, and modopt types.CVS: ----------------------------------------------------------------------
svn path=/trunk/mcs/; revision=13017
2003-04-02 07:46:35 +00:00
Jackson Harper ecd10525ee * ILParser.jay: Support pinned, modreq, and modopt types.
svn path=/trunk/mcs/; revision=13016
2003-04-02 07:45:43 +00:00
Gonzalo Paniagua Javier 1a88111987 2003-04-02 Gonzalo Paniagua Javier <[email protected]>
* Initial check in.

svn path=/trunk/mcs/; revision=13014
2003-04-02 02:56:45 +00:00
Sebastien Pouliot 8e55464830 2003-04-01 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Corrected fix (partially) for the lame PKCS1 v1.5
	signatures done without specifying an OID.

svn path=/trunk/mcs/; revision=13013
2003-04-02 02:51:44 +00:00
Gonzalo Paniagua Javier b64fcb2640 2003-04-02 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: fixed InvalidCastException.

svn path=/trunk/mcs/; revision=13012
2003-04-02 01:43:58 +00:00
Miguel de Icaza 546a2f1fd5 2003-04-01 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): If our instance expression is a
	value type, get its address.

svn path=/trunk/mcs/; revision=13011
2003-04-01 23:38:06 +00:00
Miguel de Icaza 40d08391d6 2003-04-01 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): We were checking for the
	parent class being sealed too late.

	* expression.cs (Binary.Emit): For <= and >= when dealing with
	floating point values, use cgt.un and clt.un instead of cgt and
	clt alone.

svn path=/trunk/mcs/; revision=13010
2003-04-01 22:52:49 +00:00
Zoltan Varga fad71b7980 2003-04-01 Zoltan Varga <[email protected]>
* statement.cs: Apply the same optimization as MS: skip the
	GetEnumerator returning an IEnumerator, and use the one returning a
	CharEnumerator instead. This allows us to avoid the try-finally block
	and the boxing.

svn path=/trunk/mcs/; revision=13009
2003-04-01 17:58:58 +00:00
Miguel de Icaza d62f48cb61 2003-04-01 Miguel de Icaza <[email protected]>
* metadata.h: Added the new tables.

	* row-indexes.h: Added definitions for new tables.

	* metadata.c: Add schemas for new tables, and add support for
	computing the sizes of them.

	* class.c: Update for handling the new type cases.

2003-03-31  Miguel de Icaza  <[email protected]>

	* main.c: Sorted command line options table by name.

	* dump.c: Add support for dumping the new generic tables.

	* monodis.1: Update man page.

svn path=/trunk/mono/; revision=13008
2003-04-01 17:50:01 +00:00
Miguel de Icaza 4f5ac0b608 A few updates
svn path=/trunk/mono/; revision=13004
2003-04-01 16:40:39 +00:00
Dietmar Maurer b71db4168c new macro MONO_TYPE_IS_VOID
svn path=/trunk/mono/; revision=13003
2003-04-01 14:41:51 +00:00
Jackson Harper a88af9ef25 * ILParser.jay: Use the CodeGen CompleteClass method when a class
is completed instead of setting the current class to null. This
	does some extra cleanup

svn path=/trunk/mcs/; revision=12999
2003-04-01 08:09:06 +00:00
Jackson Harper 86095977e2 * ClassTable.cs: Do not append a . to names that are not in a
namespace
* CodeGen.cs: Handle nested classes

svn path=/trunk/mcs/; revision=12998
2003-04-01 08:06:29 +00:00
Jackson Harper 16b8c6d907 * NumberHelper.cs: handle situations like this 21452. properly
svn path=/trunk/mcs/; revision=12997
2003-04-01 07:11:36 +00:00
Jackson Harper 2756eceee3 * ILParser.jay: Add bound arrays
svn path=/trunk/mcs/; revision=12996
2003-04-01 06:11:05 +00:00
Jackson Harper 8eada4e05b * test-10.il: New test, does some bounded array stuff
svn path=/trunk/mcs/; revision=12995
2003-04-01 06:07:42 +00:00
Jackson Harper dafe63a224 * ILTokenizer.cs: Handle Ellipsis
* NUmberHelper.cs: Handle situations like this 0... properly

svn path=/trunk/mcs/; revision=12994
2003-04-01 05:26:47 +00:00
Jackson Harper f525f96231 * ExternTable.cs: Remove some unsed fields.
svn path=/trunk/mcs/; revision=12993
2003-04-01 04:02:47 +00:00
Miguel de Icaza fceb9583a3 Flush:
svn path=/trunk/mono/; revision=12992
2003-03-31 23:44:55 +00:00
Martin Baulig 6d412d3e52 2003-03-31 Martin Baulig <[email protected]>
* debug.h (MonoDebuggerEvent): Removed
	MONO_DEBUGGER_EVENT_THREAD_CREATED.

	* jit.c (mono_thread_start_cb): Don't send the
	MONO_DEBUGGER_EVENT_THREAD_CREATED event.

svn path=/trunk/mono/; revision=12987
2003-03-31 21:23:58 +00:00
Martin Baulig 40319d87a1 2003-03-31 Martin Baulig <[email protected]>
* threads.h (MonoThreadCallbacks): Added `thread_created'.

	* threads.c (mono_thread_new_init): Call `thread_created' in the
	mono_thread_callbacks.

svn path=/trunk/mono/; revision=12986
2003-03-31 21:22:35 +00:00
Nick Drochak d52315c312 2003-03-31 Nick Drochak <[email protected]>
* Path.cs (GetDirectoryName): Throw proper execption when path is empty.

svn path=/trunk/mcs/; revision=12979
2003-03-31 14:35:33 +00:00
Lluis Sanchez 3588fa752f * loader.h: added marshalbyrefobject_class to mono_defaults
* domain.c: added initialization of mono_defaults.marshalbyrefobject_class
	* icall.c: ves_icall_InternalExecute: fixed bug in field setter and in the
	  generation of output parameters.
	  ves_icall_Remoting_RealProxy_GetTransparentProxy: added support for interfaces.
	* marshal.c: mono_remoting_wrapper(): avoided call through proxy when the type is
	  contextbound and the target object belongs to the context of the caller.
	* object.h: added context and unwrapped_server variables in MonoRealProxy.
	* object.c: Implemented support for interfaces and abstract classes
	  in mono_class_proxy_vtable. Fixed several methods to avoid unneeded calls through
	  proxy. Fixed problem when dealing with output parameters in mono_runtime_invoke_array.

svn path=/trunk/mono/; revision=12974
2003-03-31 14:27:47 +00:00
Martin Willemoes Hansen 9c784fbcfc * System.Drawing.Printing/PrinterUnitConvert.cs stubed
svn path=/trunk/mcs/; revision=12973
2003-03-31 14:14:49 +00:00
Gonzalo Paniagua Javier 71faeeccad *** empty log message ***
svn path=/trunk/mcs/; revision=12972
2003-03-31 14:02:50 +00:00
Martin Willemoes Hansen aefd66572b * Stubed System.Drawing.Design
svn path=/trunk/mcs/; revision=12971
2003-03-31 13:29:54 +00:00
Gonzalo Paniagua Javier c8a007a004 --target library
--unsafe --nostdlib --noconfig
-o ../lib/corlib_mcs.dll
Microsoft.Win32/RegistryKey.cs
Microsoft.Win32/Registry.cs
Microsoft.Win32/RegistryHive.cs
Mono/Runtime.cs
Mono.Math/BigInteger.cs
Mono.Security/ASN1.cs
Mono.Security/ASN1Convert.cs
Mono.Security.Cryptography/CryptoTools.cs
Mono.Security.Cryptography/PKCS1.cs
Mono.Security.Cryptography/HMACAlgorithm.cs
Mono.Security.Cryptography/MACAlgorithm.cs
Mono.Security.X509/X501Name.cs
Mono.Security.X509/X509Certificate.cs
Mono.Security.X509/X509Extension.cs
Mono.Security.X509/X509Extensions.cs
Mono.Security.X509/X520Attributes.cs
Mono.Xml/MiniParser.cs
System/Activator.cs
System/AppDomain.cs
System/AppDomainSetup.cs
System/AppDomainUnloadedException.cs
System/ApplicationException.cs
System/ArgIterator.cs
System/ArgumentException.cs
System/ArgumentNullException.cs
System/ArgumentOutOfRangeException.cs
System/ArithmeticException.cs
System/Array.cs
System/ArrayTypeMismatchException.cs
System/AssemblyLoadEventArgs.cs
System/AssemblyLoadEventHandler.cs
System/AsyncCallback.cs
System/Attribute.cs
System/AttributeTargets.cs
System/AttributeUsageAttribute.cs
System/BadImageFormatException.cs
System/BitConverter.cs
System/Boolean.cs
System/Buffer.cs
System/Byte.cs
System/CannotUnloadAppDomainException.cs
System/Char.cs
System/CharEnumerator.cs
System/CLSCompliantAttribute.cs
System/Console.cs
System/ContextBoundObject.cs
System/ContextMarshalException.cs
System/ContextStaticAttribute.cs
System/Convert.cs
System/CrossAppDomainDelegate.cs
System/DateTime.cs
System/DBNull.cs
System/Decimal.cs
System/DecimalFormatter.cs
System/Delegate.cs
System/DelegateSerializationHolder.cs
System/DivideByZeroException.cs
System/DllNotFoundException.cs
System/Double.cs
System/DoubleFormatter.cs
System/DuplicateWaitObjectException.cs
System/EntryPointNotFoundException.cs
System/Enum.cs
System/Environment.cs
System/EventArgs.cs
System/EventHandler.cs
System/Exception.cs
System/ExecutionEngineException.cs
System/FieldAccessException.cs
System/FlagsAttribute.cs
System/FloatingPointFormatter.cs
System/FormatException.cs
System/GC.cs
System/Guid.cs
System/IAppDomainSetup.cs
System/IAsyncResult.cs
System/ICloneable.cs
System/IComparable.cs
System/IConvertible.cs
System/ICustomFormatter.cs
System/IDisposable.cs
System/IFormatProvider.cs
System/IFormattable.cs
System/IndexOutOfRangeException.cs
System/Int16.cs
System/Int32.cs
System/Int64.cs
System/IntegerFormatter.cs
System/IntPtr.cs
System/InvalidCastException.cs
System/InvalidOperationException.cs
System/InvalidProgramException.cs
System/IServiceProvider.cs
System/LoaderOptimization.cs
System/LoaderOptimizationAttribute.cs
System/LocalDataStoreSlot.cs
System/MarshalByRefObject.cs
System/Math.cs
System/MemberAccessException.cs
System/MethodAccessException.cs
System/MissingFieldException.cs
System/MissingMemberException.cs
System/MissingMethodException.cs
System/MonoCustomAttrs.cs
System/MonoDummy.cs
System/MonoType.cs
System/MTAThreadAttribute.cs
System/MulticastDelegate.cs
System/MulticastNotSupportedException.cs
System/NonSerializedAttribute.cs
System/NotFiniteNumberException.cs
System/NotImplementedException.cs
System/NotSupportedException.cs
System/NullReferenceException.cs
System/Object.cs
System/ObjectDisposedException.cs
System/ObsoleteAttribute.cs
System/OperatingSystem.cs
System/OutOfMemoryException.cs
System/OverflowException.cs
System/ParamArrayAttribute.cs
System/PlatformID.cs
System/PlatformNotSupportedException.cs
System/Random.cs
System/RankException.cs
System/ResolveEventArgs.cs
System/ResolveEventHandler.cs
System/RuntimeArgumentHandle.cs
System/RuntimeFieldHandle.cs
System/RuntimeMethodHandle.cs
System/RuntimeTypeHandle.cs
System/SByte.cs
System/SerializableAttribute.cs
System/Single.cs
System/SingleFormatter.cs
System/StackOverflowException.cs
System/STAThreadAttribute.cs
System/String.cs
System/SystemException.cs
System/ThreadStaticAttribute.cs
System/TimeSpan.cs
System/TimeZone.cs
System/TODOAttribute.cs
System/Type.cs
System/TypeCode.cs
System/TypedReference.cs
System/TypeInitializationException.cs
System/TypeLoadException.cs
System/TypeUnloadedException.cs
System/UInt16.cs
System/UInt32.cs
System/UInt64.cs
System/UIntPtr.cs
System/UnauthorizedAccessException.cs
System/UnhandledExceptionEventArgs.cs
System/UnhandledExceptionEventHandler.cs
System/UnitySerializationHolder.cs
System/ValueType.cs
System/Version.cs
System/Void.cs
System/WeakReference.cs
System/_AppDomain.cs
System.Collections/ArrayList.cs
System.Collections/BitArray.cs
System.Collections/CaseInsensitiveComparer.cs
System.Collections/CaseInsensitiveHashCodeProvider.cs
System.Collections/CollectionBase.cs
System.Collections/Comparer.cs
System.Collections/DictionaryBase.cs
System.Collections/DictionaryEntry.cs
System.Collections/Hashtable.cs
System.Collections/ICollection.cs
System.Collections/IComparer.cs
System.Collections/IDictionary.cs
System.Collections/IDictionaryEnumerator.cs
System.Collections/IEnumerable.cs
System.Collections/IEnumerator.cs
System.Collections/IHashCodeProvider.cs
System.Collections/IList.cs
System.Collections/Queue.cs
System.Collections/ReadOnlyCollectionBase.cs
System.Collections/SortedList.cs
System.Collections/Stack.cs
System.Configuration.Assemblies/AssemblyHash.cs
System.Configuration.Assemblies/AssemblyHashAlgorithm.cs
System.Configuration.Assemblies/AssemblyVersionCompatibility.cs
System.Configuration.Assemblies/ProcessorID.cs
System.Diagnostics/ConditionalAttribute.cs
System.Diagnostics/DebuggableAttribute.cs
System.Diagnostics/Debugger.cs
System.Diagnostics/DebuggerHiddenAttribute.cs
System.Diagnostics/DebuggerStepThroughAttribute.cs
System.Diagnostics/StackFrame.cs
System.Diagnostics/StackTrace.cs
System.Diagnostics.SymbolStore/ISymbolBinder.cs
System.Diagnostics.SymbolStore/ISymbolDocument.cs
System.Diagnostics.SymbolStore/ISymbolDocumentWriter.cs
System.Diagnostics.SymbolStore/ISymbolMethod.cs
System.Diagnostics.SymbolStore/ISymbolNamespace.cs
System.Diagnostics.SymbolStore/ISymbolReader.cs
System.Diagnostics.SymbolStore/ISymbolScope.cs
System.Diagnostics.SymbolStore/ISymbolVariable.cs
System.Diagnostics.SymbolStore/ISymbolWriter.cs
System.Diagnostics.SymbolStore/SymAddressKind.cs
System.Diagnostics.SymbolStore/SymbolToken.cs
System.Diagnostics.SymbolStore/SymDocumentType.cs
System.Diagnostics.SymbolStore/SymLanguageType.cs
System.Diagnostics.SymbolStore/SymLanguageVendor.cs
System.Globalization/Calendar.cs
System.Globalization/CalendarWeekRule.cs
System.Globalization/CalendricalCalculations.cs
System.Globalization/CompareInfo.cs
System.Globalization/CompareOptions.cs
System.Globalization/CultureInfo.cs
System.Globalization/CultureTypes.cs
System.Globalization/DateTimeFormatInfo.cs
System.Globalization/DateTimeStyles.cs
System.Globalization/DaylightTime.cs
System.Globalization/GregorianCalendar.cs
System.Globalization/GregorianCalendarTypes.cs
System.Globalization/HebrewCalendar.cs
System.Globalization/HijriCalendar.cs
System.Globalization/JapaneseCalendar.cs
System.Globalization/JulianCalendar.cs
System.Globalization/KoreanCalendar.cs
System.Globalization/Locale.cs
System.Globalization/NumberFormatInfo.cs
System.Globalization/NumberStyles.cs
System.Globalization/RegionInfo.cs
System.Globalization/SortKey.cs
System.Globalization/StringInfo.cs
System.Globalization/TaiwanCalendar.cs
System.Globalization/TextElementEnumerator.cs
System.Globalization/TextInfo.cs
System.Globalization/ThaiBuddhistCalendar.cs
System.Globalization/UnicodeCategory.cs
System.IO/BinaryReader.cs
System.IO/BinaryWriter.cs
System.IO/BufferedStream.cs
System.IO/CheckArgument.cs
System.IO/CheckPermission.cs
System.IO/Directory.cs
System.IO/DirectoryInfo.cs
System.IO/DirectoryNotFoundException.cs
System.IO/EndOfStreamException.cs
System.IO/File.cs
System.IO/FileAccess.cs
System.IO/FileAttributes.cs
System.IO/FileInfo.cs
System.IO/FileLoadException.cs
System.IO/FileMode.cs
System.IO/FileNotFoundException.cs
System.IO/FileShare.cs
System.IO/FileStream.cs
System.IO/FileSystemInfo.cs
System.IO/IOException.cs
System.IO/MemoryStream.cs
System.IO/MonoIO.cs
System.IO/MonoIOError.cs
System.IO/MonoFileType.cs
System.IO/MonoIOStat.cs
System.IO/Path.cs
System.IO/PathTooLongException.cs
System.IO/SearchPattern.cs
System.IO/SeekOrigin.cs
System.IO/Stream.cs
System.IO/StreamReader.cs
System.IO/StreamWriter.cs
System.IO/StringReader.cs
System.IO/StringWriter.cs
System.IO/TextReader.cs
System.IO/TextWriter.cs
System.IO.IsolatedStorage/INormalizeForIsolatedStorage.cs
System.IO.IsolatedStorage/IsolatedStorage.cs
System.IO.IsolatedStorage/IsolatedStorageException.cs
System.IO.IsolatedStorage/IsolatedStorageFile.cs
System.IO.IsolatedStorage/IsolatedStorageInfo.cs
System.IO.IsolatedStorage/IsolatedStorageFileStream.cs
System.IO.IsolatedStorage/IsolatedStorageScope.cs
System.Reflection/AmbiguousMatchException.cs
System.Reflection/Assembly.cs
System.Reflection/AssemblyAlgorithmIdAttribute.cs
System.Reflection/AssemblyCompanyAttribute.cs
System.Reflection/AssemblyConfigurationAttribute.cs
System.Reflection/AssemblyCopyrightAttribute.cs
System.Reflection/AssemblyCultureAttribute.cs
System.Reflection/AssemblyDefaultAliasAttribute.cs
System.Reflection/AssemblyDelaySignAttribute.cs
System.Reflection/AssemblyDescriptionAttribute.cs
System.Reflection/AssemblyFileVersionAttribute.cs
System.Reflection/AssemblyFlagsAttribute.cs
System.Reflection/AssemblyInformationalVersionAttribute.cs
System.Reflection/AssemblyKeyFileAttribute.cs
System.Reflection/AssemblyKeyNameAttribute.cs
System.Reflection/AssemblyName.cs
System.Reflection/AssemblyNameFlags.cs
System.Reflection/AssemblyNameProxy.cs
System.Reflection/AssemblyProductAttribute.cs
System.Reflection/AssemblyTitleAttribute.cs
System.Reflection/AssemblyTradeMarkAttribute.cs
System.Reflection/AssemblyVersionAttribute.cs
System.Reflection/Binder.cs
System.Reflection/BindingFlags.cs
System.Reflection/CallingConventions.cs
System.Reflection/ConstructorInfo.cs
System.Reflection/CustomAttributeFormatException.cs
System.Reflection/DefaultMemberAttribute.cs
System.Reflection/EventAttributes.cs
System.Reflection/EventInfo.cs
System.Reflection/FieldAttributes.cs
System.Reflection/FieldInfo.cs
System.Reflection/ICustomAttributeProvider.cs
System.Reflection/InterfaceMapping.cs
System.Reflection/InvalidFilterCriteriaException.cs
System.Reflection/IReflect.cs
System.Reflection/ManifestResourceInfo.cs
System.Reflection/MemberFilter.cs
System.Reflection/MemberInfo.cs
System.Reflection/MemberTypes.cs
System.Reflection/MethodAttributes.cs
System.Reflection/MethodBase.cs
System.Reflection/MethodImplAttributes.cs
System.Reflection/MethodInfo.cs
System.Reflection/Missing.cs
System.Reflection/Module.cs
System.Reflection/ModuleResolveEventHandler.cs
System.Reflection/MonoEvent.cs
System.Reflection/MonoField.cs
System.Reflection/MonoMethod.cs
System.Reflection/MonoProperty.cs
System.Reflection/ParameterAttributes.cs
System.Reflection/ParameterInfo.cs
System.Reflection/ParameterModifier.cs
System.Reflection/PropertyAttributes.cs
System.Reflection/PropertyInfo.cs
System.Reflection/ReflectionTypeLoadException.cs
System.Reflection/ResourceAttributes.cs
System.Reflection/ResourceLocation.cs
System.Reflection/ReflectionSerializationHolder.cs
System.Reflection/StrongNameKeyPair.cs
System.Reflection/TargetException.cs
System.Reflection/TargetInvocationException.cs
System.Reflection/TargetParameterCountException.cs
System.Reflection/TypeAttributes.cs
System.Reflection/TypeDelegator.cs
System.Reflection/TypeFilter.cs
System.Reflection.Emit/AssemblyBuilder.cs
System.Reflection.Emit/AssemblyBuilderAccess.cs
System.Reflection.Emit/ConstructorBuilder.cs
System.Reflection.Emit/CustomAttributeBuilder.cs
System.Reflection.Emit/EnumBuilder.cs
System.Reflection.Emit/EventBuilder.cs
System.Reflection.Emit/EventToken.cs
System.Reflection.Emit/FieldBuilder.cs
System.Reflection.Emit/FieldToken.cs
System.Reflection.Emit/FlowControl.cs
System.Reflection.Emit/IMonoSymbolWriter.cs
System.Reflection.Emit/ILGenerator.cs
System.Reflection.Emit/Label.cs
System.Reflection.Emit/LocalBuilder.cs
System.Reflection.Emit/MethodBuilder.cs
System.Reflection.Emit/MethodToken.cs
System.Reflection.Emit/ModuleBuilder.cs
System.Reflection.Emit/MonoArrayMethod.cs
System.Reflection.Emit/OpCode.cs
System.Reflection.Emit/OpCodes.cs
System.Reflection.Emit/OpCodeType.cs
System.Reflection.Emit/OperandType.cs
System.Reflection.Emit/PackingSize.cs
System.Reflection.Emit/ParameterBuilder.cs
System.Reflection.Emit/ParameterToken.cs
System.Reflection.Emit/PEFileKinds.cs
System.Reflection.Emit/PropertyBuilder.cs
System.Reflection.Emit/PropertyToken.cs
System.Reflection.Emit/SignatureHelper.cs
System.Reflection.Emit/SignatureToken.cs
System.Reflection.Emit/StackBehaviour.cs
System.Reflection.Emit/StringToken.cs
System.Reflection.Emit/TypeBuilder.cs
System.Reflection.Emit/TypeToken.cs
System.Reflection.Emit/UnmanagedMarshal.cs
System.Resources/IResourceReader.cs
System.Resources/IResourceWriter.cs
System.Resources/MissingManifestResourceException.cs
System.Resources/NeutralResourcesLanguageAttribute.cs
System.Resources/ResourceManager.cs
System.Resources/ResourceReader.cs
System.Resources/ResourceSet.cs
System.Resources/ResourceWriter.cs
System.Resources/SatelliteContractVersionAttribute.cs
System.Runtime.CompilerServices/AccessedThroughPropertyAttribute.cs
System.Runtime.CompilerServices/CallConvCdecl.cs
System.Runtime.CompilerServices/CallConvFastcall.cs
System.Runtime.CompilerServices/CallConvThiscall.cs
System.Runtime.CompilerServices/CallConvStdcall.cs
System.Runtime.CompilerServices/CompilationRelaxationsAttribute.cs
System.Runtime.CompilerServices/CustomConstantAttribute.cs
System.Runtime.CompilerServices/DateTimeConstantAttribute.cs
System.Runtime.CompilerServices/DecimalConstantAttribute.cs
System.Runtime.CompilerServices/DiscardableAttribute.cs
System.Runtime.CompilerServices/IDispatchConstantAttribute.cs
System.Runtime.CompilerServices/IUnknownConstantAttribute.cs
System.Runtime.CompilerServices/IndexerNameAttribute.cs
System.Runtime.CompilerServices/MethodCodeType.cs
System.Runtime.CompilerServices/MethodImplAttribute.cs
System.Runtime.CompilerServices/MethodImplOptions.cs
System.Runtime.CompilerServices/RequiredAttributeAttribute.cs
System.Runtime.CompilerServices/RuntimeHelpers.cs
System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
System.Runtime.InteropServices/AutomationProxyAttribute.cs
System.Runtime.InteropServices/BINDPTR.cs
System.Runtime.InteropServices/CallingConvention.cs
System.Runtime.InteropServices/CharSet.cs
System.Runtime.InteropServices/ClassInterfaceAttribute.cs
System.Runtime.InteropServices/ClassInterfaceType.cs
System.Runtime.InteropServices/CoClassAttribute.cs
System.Runtime.InteropServices/ComAliasNameAttribute.cs
System.Runtime.InteropServices/ComConversionLossAttribute.cs
System.Runtime.InteropServices/COMException.cs
System.Runtime.InteropServices/ComEventInterfaceAttribute.cs
System.Runtime.InteropServices/ComImportAttribute.cs
System.Runtime.InteropServices/ComInterfaceType.cs
System.Runtime.InteropServices/ComMemberType.cs
System.Runtime.InteropServices/ComRegisterFunctionAttribute.cs
System.Runtime.InteropServices/ComUnregisterFunctionAttribute.cs
System.Runtime.InteropServices/ComVisible.cs
System.Runtime.InteropServices/DESCKIND.cs
System.Runtime.InteropServices/DISPPARAMS.cs
System.Runtime.InteropServices/DispIdAttribute.cs
System.Runtime.InteropServices/DllImportAttribute.cs
System.Runtime.InteropServices/EXCEPINFO.cs
System.Runtime.InteropServices/ExporterEventKind.cs
System.Runtime.InteropServices/ExternalException.cs
System.Runtime.InteropServices/FieldOffsetAttribute.cs
System.Runtime.InteropServices/GCHandle.cs
System.Runtime.InteropServices/GCHandleType.cs
System.Runtime.InteropServices/GuidAttribute.cs
System.Runtime.InteropServices/HandleRef.cs
System.Runtime.InteropServices/ICustomAdapter.cs
System.Runtime.InteropServices/ICustomFactory.cs
System.Runtime.InteropServices/ICustomMarshaler.cs
System.Runtime.InteropServices/INVOKEKIND.cs
System.Runtime.InteropServices/IRegistrationServices.cs
System.Runtime.InteropServices/ITypeLibConverter.cs
System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs
System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs
System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs
System.Runtime.InteropServices/ImportedFromTypeLibAttribute.cs
System.Runtime.InteropServices/ImporterEventKind.cs
System.Runtime.InteropServices/InAttribute.cs
System.Runtime.InteropServices/InterfaceTypeAttribute.cs
System.Runtime.InteropServices/LCIDConversionAttribute.cs
System.Runtime.InteropServices/LayoutKind.cs
System.Runtime.InteropServices/Marshal.cs
System.Runtime.InteropServices/MarshalAsAttribute.cs
System.Runtime.InteropServices/OptionalAttribute.cs
System.Runtime.InteropServices/OutAttribute.cs
System.Runtime.InteropServices/PreserveSigAttribute.cs
System.Runtime.InteropServices/PrimaryInteropAssemblyAttribute.cs
System.Runtime.InteropServices/SEHException.cs
System.Runtime.InteropServices/ProgIdAttribute.cs
System.Runtime.InteropServices/StructLayoutAttribute.cs
System.Runtime.InteropServices/TYPEKIND.cs
System.Runtime.InteropServices/TypeLibExporterFlags.cs
System.Runtime.InteropServices/TypeLibFuncAttribute.cs
System.Runtime.InteropServices/TypeLibFuncFlags.cs
System.Runtime.InteropServices/TypeLibTypeAttribute.cs
System.Runtime.InteropServices/TypeLibTypeFlags.cs
System.Runtime.InteropServices/TypeLibVarAttribute.cs
System.Runtime.InteropServices/TypeLibVarFlags.cs
System.Runtime.InteropServices/UCOMTypeComp.cs
System.Runtime.InteropServices/UCOMTypeInfo.cs
System.Runtime.InteropServices/UCOMTypeLib.cs
System.Runtime.InteropServices/UnmanagedType.cs
System.Runtime.InteropServices/VarEnum.cs
System.Runtime.Remoting/ActivatedClientTypeEntry.cs
System.Runtime.Remoting/ActivatedServiceTypeEntry.cs
System.Runtime.Remoting/EnvoyInfo.cs
System.Runtime.Remoting/IObjectHandle.cs
System.Runtime.Remoting/IChannelInfo.cs
System.Runtime.Remoting/Identity.cs
System.Runtime.Remoting/IEnvoyInfo.cs
System.Runtime.Remoting/IRemotingTypeInfo.cs
System.Runtime.Remoting/ObjectHandle.cs
System.Runtime.Remoting/ObjRef.cs
System.Runtime.Remoting/RemotingConfiguration.cs
System.Runtime.Remoting/RemotingException.cs
System.Runtime.Remoting/RemotingTimeoutException.cs
System.Runtime.Remoting/RemotingServices.cs
System.Runtime.Remoting/ServerException.cs
System.Runtime.Remoting/ServerIdentity.cs
System.Runtime.Remoting/TypeEntry.cs
System.Runtime.Remoting/TypeInfo.cs
System.Runtime.Remoting/WellKnownObjectMode.cs
System.Runtime.Remoting/WellKnownClientTypeEntry.cs
System.Runtime.Remoting/WellKnownServiceTypeEntry.cs
System.Runtime.Remoting.Activation/ActivationServices.cs
System.Runtime.Remoting.Activation/ActivatorLevel.cs
System.Runtime.Remoting.Activation/AppDomainLevelActivator.cs
System.Runtime.Remoting.Activation/ConstructionLevelActivator.cs
System.Runtime.Remoting.Activation/ContextLevelActivator.cs
System.Runtime.Remoting.Activation/IActivator.cs
System.Runtime.Remoting.Activation/IConstructionCallMessage.cs
System.Runtime.Remoting.Activation/IConstructionReturnMessage.cs
System.Runtime.Remoting.Activation/RemoteActivator.cs
System.Runtime.Remoting.Activation/RemoteActivationAttribute.cs
System.Runtime.Remoting.Activation/UrlAttribute.cs
System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.cs
System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.cs
System.Runtime.Remoting.Channels/BaseChannelWithProperties.cs
System.Runtime.Remoting.Channels/ChannelDataStore.cs
System.Runtime.Remoting.Channels/ChannelServices.cs
System.Runtime.Remoting.Channels/ChannelSinkStackEntry.cs
System.Runtime.Remoting.Channels/ClientChannelSinkStack.cs
System.Runtime.Remoting.Channels/IChannel.cs
System.Runtime.Remoting.Channels/IChannelDataStore.cs
System.Runtime.Remoting.Channels/IChannelReceiver.cs
System.Runtime.Remoting.Channels/IChannelReceiverHook.cs
System.Runtime.Remoting.Channels/IChannelSender.cs
System.Runtime.Remoting.Channels/IChannelSinkBase.cs
System.Runtime.Remoting.Channels/IClientChannelSink.cs
System.Runtime.Remoting.Channels/IClientChannelSinkProvider.cs
System.Runtime.Remoting.Channels/IClientChannelSinkStack.cs
System.Runtime.Remoting.Channels/IClientFormatterSink.cs
System.Runtime.Remoting.Channels/IClientFormatterSinkProvider.cs
System.Runtime.Remoting.Channels/IClientResponseChannelSinkStack.cs
System.Runtime.Remoting.Channels/IServerResponseChannelSinkStack.cs
System.Runtime.Remoting.Channels/ServerDispatchSink.cs
System.Runtime.Remoting.Channels/ServerDispatchSinkProvider.cs
System.Runtime.Remoting.Channels/IServerChannelSink.cs
System.Runtime.Remoting.Channels/IServerChannelSinkProvider.cs
System.Runtime.Remoting.Channels/IServerChannelSinkStack.cs
System.Runtime.Remoting.Channels/IServerFormatterSinkProvider.cs
System.Runtime.Remoting.Channels/ITransportHeaders.cs
System.Runtime.Remoting.Channels/ServerChannelSinkStack.cs
System.Runtime.Remoting.Channels/ServerProcessing.cs
System.Runtime.Remoting.Channels/SinkProviderData.cs
System.Runtime.Remoting.Channels/TransportHeaders.cs
System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs
System.Runtime.Remoting.Contexts/Context.cs
System.Runtime.Remoting.Contexts/ContextAttribute.cs
System.Runtime.Remoting.Contexts/ContextProperty.cs
System.Runtime.Remoting.Contexts/CrossContextChannel.cs
System.Runtime.Remoting.Contexts/CrossContextDelegate.cs
System.Runtime.Remoting.Contexts/IContextAttribute.cs
System.Runtime.Remoting.Contexts/IContextProperty.cs
System.Runtime.Remoting.Contexts/IContributeClientContextSink.cs
System.Runtime.Remoting.Contexts/IContributeDynamicSink.cs
System.Runtime.Remoting.Contexts/IContributeEnvoySink.cs
System.Runtime.Remoting.Contexts/IContributeObjectSink.cs
System.Runtime.Remoting.Contexts/IContributeServerContextSink.cs
System.Runtime.Remoting.Contexts/IDynamicMessageSink.cs
System.Runtime.Remoting.Contexts/IDynamicProperty.cs
System.Runtime.Remoting.Lifetime/ClientSponsor.cs
System.Runtime.Remoting.Lifetime/ILease.cs
System.Runtime.Remoting.Lifetime/ISponsor.cs
System.Runtime.Remoting.Lifetime/Lease.cs
System.Runtime.Remoting.Lifetime/LeaseManager.cs
System.Runtime.Remoting.Lifetime/LeaseSink.cs
System.Runtime.Remoting.Lifetime/LeaseState.cs
System.Runtime.Remoting.Lifetime/LifetimeServices.cs
System.Runtime.Remoting.Messaging/ArgInfo.cs
System.Runtime.Remoting.Messaging/AsyncResult.cs
System.Runtime.Remoting.Messaging/CallContext.cs
System.Runtime.Remoting.Messaging/ClientContextTerminatorSink.cs
System.Runtime.Remoting.Messaging/ConstructionCall.cs
System.Runtime.Remoting.Messaging/ConstructionCallDictionary.cs
System.Runtime.Remoting.Messaging/ConstructionResponse.cs
System.Runtime.Remoting.Messaging/EnvoyTerminatorSink.cs
System.Runtime.Remoting.Messaging/Header.cs
System.Runtime.Remoting.Messaging/HeaderHandler.cs
System.Runtime.Remoting.Messaging/ErrorMessage.cs
System.Runtime.Remoting.Messaging/IInternalMessage.cs
System.Runtime.Remoting.Messaging/IMessage.cs
System.Runtime.Remoting.Messaging/IMessageCtrl.cs
System.Runtime.Remoting.Messaging/IMessageSink.cs
System.Runtime.Remoting.Messaging/IMethodCallMessage.cs
System.Runtime.Remoting.Messaging/IMethodMessage.cs
System.Runtime.Remoting.Messaging/IMethodReturnMessage.cs
System.Runtime.Remoting.Messaging/IRemotingFormatter.cs
System.Runtime.Remoting.Messaging/InternalMessageWrapper.cs
System.Runtime.Remoting.Messaging/LogicalCallContext.cs
System.Runtime.Remoting.Messaging/MessageSurrogateFilter.cs
System.Runtime.Remoting.Messaging/MethodCall.cs
System.Runtime.Remoting.Messaging/MethodCallMessageWrapper.cs
System.Runtime.Remoting.Messaging/MethodResponse.cs
System.Runtime.Remoting.Messaging/MethodCallDictionary.cs
System.Runtime.Remoting.Messaging/MethodDictionary.cs
System.Runtime.Remoting.Messaging/MethodReturnDictionary.cs
System.Runtime.Remoting.Messaging/MethodReturnMessageWrapper.cs
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs
System.Runtime.Remoting.Messaging/OneWayAttribute.cs
System.Runtime.Remoting.Messaging/RemotingSurrogateSelector.cs
System.Runtime.Remoting.Messaging/RemotingSurrogate.cs
System.Runtime.Remoting.Messaging/ReturnMessage.cs
System.Runtime.Remoting.Messaging/ServerContextTerminatorSink.cs
System.Runtime.Remoting.Messaging/ServerObjectTerminatorSink.cs
System.Runtime.Remoting.Messaging/StackBuilderSink.cs
System.Runtime.Remoting.Messaging/CADMessages.cs
System.Runtime.Remoting.Metadata/SoapAttribute.cs
System.Runtime.Remoting.Metadata/SoapFieldAttribute.cs
System.Runtime.Remoting.Metadata/SoapMethodAttribute.cs
System.Runtime.Remoting.Metadata/SoapOption.cs
System.Runtime.Remoting.Metadata/SoapParameterAttribute.cs
System.Runtime.Remoting.Metadata/SoapTypeAttribute.cs
System.Runtime.Remoting.Metadata/XmlFieldOrderOption.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/ISoapXsd.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapAnyUri.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapEntity.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapMonth.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNonNegativeInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapToken.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapBase64Binary.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapHexBinary.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapMonthDay.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNonPositiveInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYear.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDate.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapId.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNormalizedString.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapYearMonth.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDateTime.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapIdref.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNcName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNotation.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDay.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapIdrefs.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNegativeInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapPositiveInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapDuration.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapInteger.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNmtoken.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapQName.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapEntities.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapLanguage.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapNmtokens.cs
System.Runtime.Remoting.Metadata.W3cXsd2001/SoapTime.cs
System.Runtime.Remoting.Proxies/RealProxy.cs
System.Runtime.Remoting.Proxies/RemotingProxy.cs
System.Runtime.Remoting.Proxies/ProxyAttribute.cs
System.Runtime.Remoting.Services/ITrackingHandler.cs
System.Runtime.Remoting.Services/TrackingServices.cs
System.Runtime.Serialization/FormatterConverter.cs
System.Runtime.Serialization/FormatterServices.cs
System.Runtime.Serialization/IDeserializationCallback.cs
System.Runtime.Serialization/IFormatter.cs
System.Runtime.Serialization/IFormatterConverter.cs
System.Runtime.Serialization/IObjectReference.cs
System.Runtime.Serialization/ISerializable.cs
System.Runtime.Serialization/ISerializationSurrogate.cs
System.Runtime.Serialization/ISurrogateSelector.cs
System.Runtime.Serialization/ObjectIDGenerator.cs
System.Runtime.Serialization/ObjectManager.cs
System.Runtime.Serialization/SerializationBinder.cs
System.Runtime.Serialization/SerializationEntry.cs
System.Runtime.Serialization/SerializationException.cs
System.Runtime.Serialization/SerializationInfo.cs
System.Runtime.Serialization/SerializationInfoEnumerator.cs
System.Runtime.Serialization/StreamingContext.cs
System.Runtime.Serialization/StreamingContextStates.cs
System.Runtime.Serialization/SurrogateSelector.cs
System.Runtime.Serialization.Formatters/FormatterAssemblyStyle.cs
System.Runtime.Serialization.Formatters/FormatterTopObjectStyle.cs
System.Runtime.Serialization.Formatters/FormatterTypeStyle.cs
System.Runtime.Serialization.Formatters/IFieldInfo.cs
System.Runtime.Serialization.Formatters/InternalArrayTypeE.cs
System.Runtime.Serialization.Formatters/InternalElementTypeE.cs
System.Runtime.Serialization.Formatters/InternalMemberTypeE.cs
System.Runtime.Serialization.Formatters/InternalMemberValueE.cs
System.Runtime.Serialization.Formatters/InternalNameSpaceE.cs
System.Runtime.Serialization.Formatters/InternalObjectPositionE.cs
System.Runtime.Serialization.Formatters/InternalObjectTypeE.cs
System.Runtime.Serialization.Formatters/InternalParseStateE.cs
System.Runtime.Serialization.Formatters/InternalParseTypeE.cs
System.Runtime.Serialization.Formatters/InternalPrimitiveTypeE.cs
System.Runtime.Serialization.Formatters/InternalSerializerTypeE.cs
System.Runtime.Serialization.Formatters/ISoapMessage.cs
System.Runtime.Serialization.Formatters/ServerFault.cs
System.Runtime.Serialization.Formatters/SoapFault.cs
System.Runtime.Serialization.Formatters/SoapMessage.cs
System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs
System.Runtime.Serialization.Formatters.Binary/BinaryCommon.cs
System.Runtime.Serialization.Formatters.Binary/ObjectReader.cs
System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs
System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs
System.Security/CodeAccessPermission.cs
System.Security/IEvidenceFactory.cs
System.Security/IPermission.cs
System.Security/ISecurityEncodable.cs
System.Security/ISecurityPolicyEncodable.cs
System.Security/IStackWalk.cs
System.Security/NamedPermissionSet.cs
System.Security/PermissionSet.cs
System.Security/PolicyLevelType.cs
System.Security/SecurityElement.cs
System.Security/SecurityException.cs
System.Security/SecurityManager.cs
System.Security/SecurityZone.cs
System.Security/SuppressUnmanagedCodeSecurityAttribute.cs
System.Security/UnverifiableCodeAttribute.cs
System.Security/VerificationException.cs
System.Security/XmlSyntaxException.cs
System.Security.Cryptography/AsymmetricAlgorithm.cs
System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.cs
System.Security.Cryptography/AsymmetricKeyExchangeFormatter.cs
System.Security.Cryptography/AsymmetricSignatureDeformatter.cs
System.Security.Cryptography/AsymmetricSignatureFormatter.cs
System.Security.Cryptography/CipherMode.cs
System.Security.Cryptography/CryptoAPITransform.cs
System.Security.Cryptography/CryptoConfig.cs
System.Security.Cryptography/CryptographicException.cs
System.Security.Cryptography/CryptographicUnexpectedOperationExcpetion.cs
System.Security.Cryptography/CryptoStream.cs
System.Security.Cryptography/CryptoStreamMode.cs
System.Security.Cryptography/CspParameters.cs
System.Security.Cryptography/CspProviderFlags.cs
System.Security.Cryptography/DeriveBytes.cs
System.Security.Cryptography/DES.cs
System.Security.Cryptography/DESCryptoServiceProvider.cs
System.Security.Cryptography/DSA.cs
System.Security.Cryptography/DSACryptoServiceProvider.cs
System.Security.Cryptography/DSAParameters.cs
System.Security.Cryptography/DSASignatureDeformatter.cs
System.Security.Cryptography/DSASignatureFormatter.cs
System.Security.Cryptography/FromBase64Transform.cs
System.Security.Cryptography/HashAlgorithm.cs
System.Security.Cryptography/HMACSHA1.cs
System.Security.Cryptography/ICryptoTransform.cs
System.Security.Cryptography/KeyedHashAlgorithm.cs
System.Security.Cryptography/KeySizes.cs
System.Security.Cryptography/MACTripleDES.cs
System.Security.Cryptography/MaskGenerationMethod.cs
System.Security.Cryptography/MD5.cs
System.Security.Cryptography/MD5CryptoServiceProvider.cs
System.Security.Cryptography/PaddingMode.cs
System.Security.Cryptography/PasswordDeriveBytes.cs
System.Security.Cryptography/PKCS1MaskGenerationMethod.cs
System.Security.Cryptography/RandomNumberGenerator.cs
System.Security.Cryptography/RC2.cs
System.Security.Cryptography/RC2CryptoServiceProvider.cs
System.Security.Cryptography/Rijndael.cs
System.Security.Cryptography/RijndaelManaged.cs
System.Security.Cryptography/RNGCryptoServiceProvider.cs
System.Security.Cryptography/RSA.cs
System.Security.Cryptography/RSACryptoServiceProvider.cs
System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.cs
System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.cs
System.Security.Cryptography/RSAParameters.cs
System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.cs
System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.cs
System.Security.Cryptography/RSAPKCS1SignatureDeformatter.cs
System.Security.Cryptography/RSAPKCS1SignatureFormatter.cs
System.Security.Cryptography/SHA1.cs
System.Security.Cryptography/SHA1CryptoServiceProvider.cs
System.Security.Cryptography/SHA1Managed.cs
System.Security.Cryptography/SHA256.cs
System.Security.Cryptography/SHA256Managed.cs
System.Security.Cryptography/SHA384.cs
System.Security.Cryptography/SHA384Managed.cs
System.Security.Cryptography/SHA512.cs
System.Security.Cryptography/SHA512Managed.cs
System.Security.Cryptography/SignatureDescription.cs
System.Security.Cryptography/SymmetricAlgorithm.cs
System.Security.Cryptography/ToBase64Transform.cs
System.Security.Cryptography/TripleDES.cs
System.Security.Cryptography/TripleDESCryptoServiceProvider.cs
System.Security.Cryptography.X509Certificates/X509Certificate.cs
System.Security.Permissions/CodeAccessSecurityAttribute.cs
System.Security.Permissions/EnvironmentPermission.cs
System.Security.Permissions/EnvironmentPermissionAccess.cs
System.Security.Permissions/EnvironmentPermissionAttribute.cs
System.Security.Permissions/FileDialogPermissionAccess.cs
System.Security.Permissions/FileDialogPermissionAttribute.cs
System.Security.Permissions/FileIOPermission.cs
System.Security.Permissions/FileIOPermissionAccess.cs
System.Security.Permissions/FileIOPermissionAttribute.cs
System.Security.Permissions/IsolatedStorageContainment.cs
System.Security.Permissions/IsolatedStorageFilePermissionAttribute.cs
System.Security.Permissions/IsolatedStoragePermission.cs
System.Security.Permissions/IsolatedStoragePermissionAttribute.cs
System.Security.Permissions/IUnrestrictedPermission.cs
System.Security.Permissions/PermissionSetAttribute.cs
System.Security.Permissions/PermissionState.cs
System.Security.Permissions/PrincipalPermissionAttribute.cs
System.Security.Permissions/PublisherIdentityPermission.cs
System.Security.Permissions/ReflectionPermission.cs
System.Security.Permissions/ReflectionPermissionAttribute.cs
System.Security.Permissions/ReflectionPermissionFlag.cs
System.Security.Permissions/RegistryPermissionAccess.cs
System.Security.Permissions/RegistryPermissionAttribute.cs
System.Security.Permissions/SecurityAction.cs
System.Security.Permissions/SecurityAttribute.cs
System.Security.Permissions/SecurityPermission.cs
System.Security.Permissions/SecurityPermissionAttribute.cs
System.Security.Permissions/SecurityPermissionFlag.cs
System.Security.Permissions/SiteIdentityPermissionAttribute.cs
System.Security.Permissions/StrongNameIdentityPermission.cs
System.Security.Permissions/StrongNamePermissionAttribute.cs
System.Security.Permissions/StrongNamePublicKeyBlob.cs
System.Security.Permissions/UIPermissionAttribute.cs
System.Security.Permissions/UIPermissionClipboard.cs
System.Security.Permissions/UIPermissionWindow.cs
System.Security.Permissions/UrlIdentityPermissionAttribute.cs
System.Security.Permissions/ZoneIdentityPermissionAttribute.cs
System.Security.Policy/AllMembershipCondition.cs
System.Security.Policy/ApplicationDirectoryMembershipCondition.cs
System.Security.Policy/CodeGroup.cs
System.Security.Policy/Evidence.cs
System.Security.Policy/FileCodeGroup.cs
System.Security.Policy/IIdentityPermissionFactory.cs
System.Security.Policy/IMembershipCondition.cs
System.Security.Policy/PolicyException.cs
System.Security.Policy/PolicyLevel.cs
System.Security.Policy/PolicyStatement.cs
System.Security.Policy/PolicyStatementAttribute.cs
System.Security.Policy/Publisher.cs
System.Security.Policy/PublisherMembershipCondition.cs
System.Security.Policy/StrongName.cs
System.Security.Principal/GenericIdentity.cs
System.Security.Principal/GenericPrincipal.cs
System.Security.Principal/IIdentity.cs
System.Security.Principal/IPrincipal.cs
System.Security.Principal/PrincipalPolicy.cs
System.Security.Principal/WindowsAccountType.cs
System.Security.Principal/WindowsBuiltInRole.cs
System.Security.Principal/WindowsIdentity.cs
System.Security.Principal/WindowsImpersonationContext.cs
System.Text/ASCIIEncoding.cs
System.Text/Decoder.cs
System.Text/Encoder.cs
System.Text/Encoding.cs
System.Text/Latin1Encoding.cs
System.Text/StringBuilder.cs
System.Text/UnicodeEncoding.cs
System.Text/UTF7Encoding.cs
System.Text/UTF8Encoding.cs
System.Threading/ApartmentState.cs
System.Threading/AutoResetEvent.cs
System.Threading/Interlocked.cs
System.Threading/IOCompletionCallback.cs
System.Threading/LockCookie.cs
System.Threading/ManualResetEvent.cs
System.Threading/Monitor.cs
System.Threading/Mutex.cs
System.Threading/NativeEventCalls.cs
System.Threading/NativeOverlapped.cs
System.Threading/Overlapped.cs
System.Threading/ReaderWriterLock.cs
System.Threading/RegisteredWaitHandle.cs
System.Threading/SynchronizationLockException.cs
System.Threading/Thread.cs
System.Threading/ThreadAbortException.cs
System.Threading/ThreadInterruptedException.cs
System.Threading/ThreadPool.cs
System.Threading/ThreadPriority.cs
System.Threading/ThreadStart.cs
System.Threading/ThreadState.cs
System.Threading/ThreadStateException.cs
System.Threading/Timeout.cs
System.Threading/Timer.cs
System.Threading/TimerCallback.cs
System.Threading/WaitCallback.cs
System.Threading/WaitHandle.cs
System.Threading/WaitOrTimerCallback.cs

svn path=/trunk/mcs/; revision=12970
2003-03-31 13:01:52 +00:00
Nick Drochak 945a565def 2003-03-31 Nick Drochak <[email protected]>
* makefile.gnu: NUnit.Framework.dll now in class/lib

svn path=/trunk/mcs/; revision=12969
2003-03-31 12:50:26 +00:00
Martin Willemoes Hansen 36d0d9b8c3 * System.Drawing.Design/ToolboxItemCollection.cs stubed
svn path=/trunk/mcs/; revision=12968
2003-03-31 12:45:58 +00:00
Martin Willemoes Hansen 2076fb1c67 * Stubed rest of System.ComponentModel
svn path=/trunk/mcs/; revision=12967
2003-03-31 11:52:28 +00:00
Jackson Harper 25b9e08abd * ILParser.jay: Concat slashed names properly
svn path=/trunk/mcs/; revision=12966
2003-03-31 06:35:25 +00:00
Jackson Harper 185a70350d * ILParser.jay: Implement most of type
svn path=/trunk/mcs/; revision=12965
2003-03-31 06:27:46 +00:00
Gaurav Vaish 3f8564f03a 2003-03-29 Gaurav Vaish <[email protected]>
* cs1518-2.cs:   Added comment describing the error.

svn path=/trunk/mcs/; revision=12963
2003-03-31 05:39:45 +00:00
Gaurav Vaish 8a99bc3e53 2003-03-31 Gaurav Vaish <[email protected]>
* cs-parser.jay: Attributes cannot be applied to
                 namespaces. Fixes #40473

svn path=/trunk/mcs/; revision=12962
2003-03-31 05:37:47 +00:00
Gaurav Vaish 5fc1aa9054 2003-03-29 Gaurav Vaish <[email protected]>
* cs1518-2.cs:   Added new test.

svn path=/trunk/mcs/; revision=12959
2003-03-31 05:17:24 +00:00
Alan Tam 379eb4a957 2003-03-31 Alan Tam <[email protected]>
* makefile.gnu: Added System.Design to build

svn path=/trunk/mcs/; revision=12958
2003-03-31 04:39:40 +00:00
Alan Tam 8bafc0448b 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Removed from build.

svn path=/trunk/mcs/; revision=12957
2003-03-31 04:35:23 +00:00
Alan Tam a46d54ed9f 2003-03-31 Alan Tam <[email protected]>
* list.unix: Added UITypeEditor.cs.

svn path=/trunk/mcs/; revision=12956
2003-03-31 04:34:08 +00:00
Alan Tam 519d2fbd73 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Added
        * PaintValueEventArgs.cs: Fixed typo in namespace

svn path=/trunk/mcs/; revision=12955
2003-03-31 04:33:48 +00:00
Alan Tam 610134dc92 2003-03-31 Alan Tam <[email protected]>
* UITypeEditor.cs: Removed because it shan't be here

svn path=/trunk/mcs/; revision=12954
2003-03-31 04:21:41 +00:00
Alan Tam 7a748b73a7 2003-03-31 Alan Tam <[email protected]>
* library.build: Added back System.Design to build

svn path=/trunk/mcs/; revision=12953
2003-03-31 04:08:33 +00:00
Alan Tam 07c2636759 2003-03-31 Alan Tam <[email protected]>
* System.Design.build: added reference to System.Windows.Forms
        and System.Drawing assemblies

svn path=/trunk/mcs/; revision=12952
2003-03-31 03:59:01 +00:00
Alan Tam 1bfa3533bd 2003-03-31 Alan Tam <[email protected]>
* TODOAttribute.cs: Changed namespace

svn path=/trunk/mcs/; revision=12951
2003-03-31 03:58:33 +00:00
Alan Tam 0552c2143f 2003-03-31 Alan Tam <[email protected]
* CollectionEditor.cs: Fixed compilation errors.
        * ComponentDesigner.cs: Fixed compilation errors.

svn path=/trunk/mcs/; revision=12950
2003-03-31 03:58:05 +00:00
Jackson Harper 8c86bcc0a2 * ILParser.jay: Add code from old parser to declare and define classes.
svn path=/trunk/mcs/; revision=12949
2003-03-31 03:05:28 +00:00
Jackson Harper 9eb7e89c34 * ExternTable.cs: Add method to lookup classes with a full name,
instead of having to have namespace and name seperate.
	* ClassTable.cs: Make method that seprates full names into
	name/namespaces public.

svn path=/trunk/mcs/; revision=12948
2003-03-31 03:02:03 +00:00
Gonzalo Paniagua Javier 2b9350d0f7 Forgot this one
svn path=/trunk/mcs/; revision=12947
2003-03-30 23:56:26 +00:00
César Natarén f37bcba0d2 ChangeLog entry, README file added.
svn path=/trunk/mcs/; revision=12946
2003-03-30 23:25:11 +00:00
César Natarén 7fc918e0cd Added a readme file, explaining the dependencies and build process.
svn path=/trunk/mcs/; revision=12945
2003-03-30 23:23:07 +00:00
Jackson Harper c9b665aabf * InstrTable.cs: Add Calli, detabify
svn path=/trunk/mcs/; revision=12944
2003-03-30 23:12:24 +00:00
César Natarén de2bcd44f7 Added some files for the compiler's parsing phase (antlr generad files, and the grammar itself).
svn path=/trunk/mcs/; revision=12943
2003-03-30 23:06:01 +00:00
Jackson Harper 5ed08c588c * Driver.cs: de-tabbify
svn path=/trunk/mcs/; revision=12942
2003-03-30 22:58:14 +00:00
Jackson Harper d1840c7b03 * ILTokenizer.cs: Take some special cases into account.
svn path=/trunk/mcs/; revision=12941
2003-03-30 22:56:24 +00:00
Jackson Harper b65def38df * ILTables.cs: Remove 'ptr' I can't find documentation for this
keyword and ildasm does not esacpe it.

svn path=/trunk/mcs/; revision=12940
2003-03-30 22:53:20 +00:00
Jackson Harper 50af30bfd0 * ILParser.jay: New grammar that I haven't made a mess of, this
takes all the special cases into account much better.

svn path=/trunk/mcs/; revision=12939
2003-03-30 22:43:55 +00:00
Gonzalo Paniagua Javier fbc3f783d9 2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.

svn path=/trunk/mono/; revision=12938
2003-03-30 22:42:39 +00:00
Jackson Harper 814e6ad4c4 * NumberHelper.cs: handle sci, hex, and byte
do not handle all corner case
	will optimize soon

svn path=/trunk/mcs/; revision=12937
2003-03-30 22:41:17 +00:00
Gonzalo Paniagua Javier da67a0d871 2003-03-31 Stefan G�rling <[email protected]>
* list: added new files to System.Web.SessionState
	* System.Web.SessionState/HttpSessionState.cs:
	* System.Web.SessionState/ISessionHandler.cs:
	* System.Web.SessionState/SessionInProcHandler.cs:
	* System.Web.SessionState/SessionStateModule.cs: initial implementation
	of InProc session.

svn path=/trunk/mcs/; revision=12936
2003-03-30 22:12:30 +00:00
Alexandre Pigolkine e9feac48b7 Fixed AllocCoTaskMem issure. Bug-fix for DTP.
svn path=/trunk/mcs/; revision=12935
2003-03-30 21:56:00 +00:00
Alan Tam b8893337c9 2003-03-31 Alan Tam <[email protected]>
* Handler.cs: Add CP936 and ENCgb2312 Encodings
	* CP936.cs: Added support for GB2312 Encoding
	* CP950.cs: Small fixes on SBCS range
	* DbcsEncoding.cs: Little fix
	* Gb2312Convert.cs: Support class for conversion table
	* gb2312.table: GB2312 conversion table
	The GB2312 Encoding is actually GB2312+GBK Encoding as in Windows

svn path=/trunk/mcs/; revision=12934
2003-03-30 20:44:33 +00:00
Miguel de Icaza cbc077561c System.Desisng build is broken
svn path=/trunk/mcs/; revision=12933
2003-03-30 20:34:06 +00:00
Miguel de Icaza c1b83059bf Add back
svn path=/trunk/mcs/; revision=12932
2003-03-30 20:33:08 +00:00
Miguel de Icaza 12b0fe847f Some changes to get it building
svn path=/trunk/mcs/; revision=12931
2003-03-30 20:26:48 +00:00
Alan Tam 96b3bb4519 2003-03-31 Alan Tam <[email protected]>
* DbcsEncoding.cs: Fix compilation error in Windows

svn path=/trunk/mcs/; revision=12930
2003-03-30 20:25:09 +00:00
Miguel de Icaza f2f2570cf3 Commit a few build fixers, but I can not fix it all: remove CJK until its fixed
svn path=/trunk/mcs/; revision=12929
2003-03-30 19:57:00 +00:00
Ben Maurer 5099ad0cdb Updated by TortoiseCVS
svn path=/trunk/mcs/; revision=12928
2003-03-30 19:16:22 +00:00
Alan Tam 827b8b8cc5 2003-03-30 Alan Tam <[email protected]>
* Handler.cs: Added encoding handler for CP950 and ENCbig5
	* DbcsEncoding.cs: A base class for all DBCS encodings
	* DbcsConvert.cs: A singleton class for all DBCS conversion tables
	* CP950.cs: Encoding and Decorder classes for Big5 Encoding
	* big5.table: The conversion table for Big5 Encoding
	CP932.cs can be made neater by using the new base class

svn path=/trunk/mcs/; revision=12924
2003-03-30 08:32:04 +00:00
Jackson Harper ccefbef646 * ILReader.cs: Instead of mainting a buffer let the reader handle
that, and use a stack for putting chars back. This is probably
	much slower and not nearly as cool but the old method was a little
	buggy and I was having trouble tracking things down. This can be
	optimized someday.

svn path=/trunk/mcs/; revision=12923
2003-03-30 08:14:50 +00:00
Jackson Harper d30d5847bb * InstrTable.cs: Add branch ops switch, and lc.r*, also fix some
typos for other ops.

svn path=/trunk/mcs/; revision=12922
2003-03-30 08:02:33 +00:00
Jackson Harper ba491a5309 * Driver.cs: Add switch to display parser debugging information.
svn path=/trunk/mcs/; revision=12921
2003-03-30 07:58:48 +00:00
Zoltan Varga cd6eba353c 2003-03-30 Zoltan Varga <[email protected]>
* class.h class.c (mono_class_is_subclass_of): New function.

	* icall.c (ves_icall_System_Array_FastCopy): Added optimized copy
	routines for most common case (calls from ArrayList::ToArray).

	* icall.c (ves_icall_System_Environment_Exit): Call profiler shutdown
	routine so programs which call Environment::Exit() can be profiled.

	* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle):
	Added MONO_ARCH_SAVE_REGS.

	* icall.c (ves_icall_type_is_subtype_of): Use new function.

svn path=/trunk/mono/; revision=12920
2003-03-29 23:59:30 +00:00
Zoltan Varga 9d2021c022 2003-03-30 Zoltan Varga <[email protected]>
* Array.cs (Copy): Call FastCopy() earlier to avoid the expensive
	type checks and let it decide whenever a fast copy is possible.

svn path=/trunk/mcs/; revision=12919
2003-03-29 23:52:05 +00:00
Rafael Teixeira af17fc74b1 Location now handles column information, many parser rules corrected
svn path=/trunk/mcs/; revision=12918
2003-03-29 22:06:01 +00:00
Martin Willemoes Hansen f2d6020b23 *** empty log message ***
svn path=/trunk/mcs/; revision=12917
2003-03-29 18:44:34 +00:00
Martin Willemoes Hansen b1dae5fb1d * System.ComponentModel.Design.Serialization
Removed references to System.Web namespaces

svn path=/trunk/mcs/; revision=12916
2003-03-29 18:43:38 +00:00
Rafael Teixeira 54c9e05e43 correcting a recurring typo
svn path=/trunk/mcs/; revision=12915
2003-03-29 17:46:11 +00:00
Martin Willemoes Hansen 65a753f87a * Stubed System.ComponentModel/LicenseContext.cs
* Stubed System.ComponentModel/LicenseUsageMode.cs
        * Stubed rest of System.ComponentModel.Design

svn path=/trunk/mcs/; revision=12914
2003-03-29 17:37:15 +00:00
Gonzalo Paniagua Javier b34e4d6bfa Exclude System.ComponentModel.Design.Serialization from the windows build to avoid breakage
svn path=/trunk/mcs/; revision=12913
2003-03-29 17:15:07 +00:00
Gonzalo Paniagua Javier ad841452f8 The nunit2 dll is now in class/lib
svn path=/trunk/mcs/; revision=12912
2003-03-29 17:02:31 +00:00
Gonzalo Paniagua Javier bddd7fcb42 Fixety fix
svn path=/trunk/mcs/; revision=12911
2003-03-29 16:58:57 +00:00
Gonzalo Paniagua Javier 2293b41a56 Fixety fix
svn path=/trunk/mcs/; revision=12910
2003-03-29 16:19:04 +00:00
Nick Drochak f620fdfbcb 2002-03-29 Nick Drochak <[email protected]>
* makefile.gnu: link from where the dll is placed now

svn path=/trunk/mcs/; revision=12909
2003-03-29 16:16:27 +00:00
Nick Drochak 8ecd5df27f 2002-03-29 Nick Drochak <[email protected]>
* makefile.gnu: change 8 spaces to tabs

svn path=/trunk/mcs/; revision=12908
2003-03-29 14:47:37 +00:00
Nick Drochak c019f1eb0b 2002-03-29 Nick Drochak <[email protected]>
* BasicOperationsTest.cs: Moved into proper subdir
	* system_linux_test.args: Change path to above file

svn path=/trunk/mcs/; revision=12907
2003-03-29 14:45:42 +00:00
Martin Willemoes Hansen 7e0bdd636e * Stubed System.ComponentModel.Design
svn path=/trunk/mcs/; revision=12906
2003-03-29 13:08:10 +00:00
Martin Willemoes Hansen 5bfcd54bb9 *** empty log message ***
svn path=/trunk/mcs/; revision=12905
2003-03-29 13:06:28 +00:00
Martin Willemoes Hansen f16a6fd00f *** empty log message ***
svn path=/trunk/mcs/; revision=12904
2003-03-29 13:05:59 +00:00
Martin Willemoes Hansen 05313f9d20 * Stubed System.ComponentModel/InheritanceAttribute.cs
* Stubed System.ComponentModel/InheritanceLevel.cs
        * Stubed System.ComponentModel.Design/IDesignerFilter.cs
        * Stubed System.ComponentModel.Design/IInheritanceService.cs

svn path=/trunk/mcs/; revision=12903
2003-03-29 13:01:31 +00:00
Martin Willemoes Hansen d9aa2b30df * Added stub for System.Windows.Forms/IWindowsFormsEditorService.cs
svn path=/trunk/mcs/; revision=12902
2003-03-29 12:57:15 +00:00
Gonzalo Paniagua Javier 0b8f88a2af 2003-03-29 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.

svn path=/trunk/mcs/; revision=12900
2003-03-29 12:47:24 +00:00
Duncan Mak 92b143b3cc Fix the build
svn path=/trunk/mono/; revision=12898
2003-03-29 08:05:44 +00:00
Miguel de Icaza bb5130be22 2003-03-29 Miguel de Icaza <[email protected]>
* blob.h: Add a couple of new MonoType types definitions.

	* tabledefs.h: Add a couple of new call convs.

svn path=/trunk/mono/; revision=12897
2003-03-29 06:32:50 +00:00
Miguel de Icaza 1c11196f9f 2003-03-28 Miguel de Icaza <[email protected]>
* enum.cs (Enum.DefineType, Enum.IsValidEnumConstant): Also allow
	char constants to be part of the enumeration.

svn path=/trunk/mcs/; revision=12896
2003-03-28 23:27:26 +00:00
Miguel de Icaza 3b75ef90da 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=12895
2003-03-28 23:22:13 +00:00
Miguel de Icaza 6f02a96296 Update for conditional operator
svn path=/trunk/mcs/; revision=12894
2003-03-28 23:21:55 +00:00
Miguel de Icaza 03d4e4f037 Improve
svn path=/trunk/mcs/; revision=12893
2003-03-28 23:07:12 +00:00
Miguel de Icaza df52aeebd2 Add new error
svn path=/trunk/mcs/; revision=12892
2003-03-28 23:07:01 +00:00
Miguel de Icaza 67a7a99fe0 2003-03-28 Miguel de Icaza <[email protected]>
* expression.cs (Unary.ResolveOperator): In LogicalNot, do an
	implicit conversion to boolean.

	* statement.cs (Statement.ResolveBoolean): A boolean expression is
	also one where the type implements `operator true'.

	* ecore.cs (Expression.GetOperatorTrue): New helper routine to
	get an expression that will invoke operator true based on an
	expression.

	(GetConversionOperators): Removed the hack that called op_True
	here.

	(Expression.ResolveBoolean): Move this from Statement.

svn path=/trunk/mcs/; revision=12891
2003-03-28 22:51:57 +00:00
Alan Tam 9c15947e93 2003-03-29 Alan Tam <[email protected]>
* ToolboxBitmapAttribute: stubbed more constructors and fixed base class

svn path=/trunk/mcs/; revision=12888
2003-03-28 17:43:36 +00:00
Alan Tam 3ca5b82b5c 2003-03-29 Alan Tam <[email protected]>
* DataGrid.cs: stubbed a missing method

svn path=/trunk/mcs/; revision=12887
2003-03-28 17:08:48 +00:00
Miguel de Icaza 6d171a6d11 More
svn path=/trunk/mono/; revision=12886
2003-03-28 16:15:47 +00:00
Miguel de Icaza de0d7d0b9b Flush
svn path=/trunk/mono/; revision=12885
2003-03-28 16:09:44 +00:00
Dick Porter 474c210e63 2003-03-28 Dick Porter <[email protected]>
* atomic.h: PPC support gratiously donated to the public domain
	by John Duncan <[email protected]>

svn path=/trunk/mono/; revision=12882
2003-03-28 15:04:03 +00:00
Gonzalo Paniagua Javier 315c8a457f 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* CryptoStream.cs: fixed the previous fix. MS throws a NotSupportedExc
	when FlushFinalBlock is called twice. I've moved a few lines from Close
	to FlushFinalBlock and added the exception check.

svn path=/trunk/mcs/; revision=12879
2003-03-28 00:08:06 +00:00
Gonzalo Paniagua Javier 668bc9677f 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* CryptoStream.cs: don't Close the underlying stream in FlushFinalBlock.
	Fixes bug #40394.

svn path=/trunk/mcs/; revision=12878
2003-03-27 23:45:50 +00:00
Gonzalo Paniagua Javier 581122d879 2003-03-28 Gonzalo Paniagua Javier <[email protected]>
* AspTokenizer.cs: allow quotes inside server tags that are part of
	attribute values.

	* CachingCompiler.cs: no more 'FileNotFound' exceptions when the
	compilation fails.

svn path=/trunk/mcs/; revision=12877
2003-03-27 23:14:36 +00:00
Martin Willemoes Hansen fa24deadd0 * Stubed rest of System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=12875
2003-03-27 21:04:16 +00:00
Martin Willemoes Hansen c0819f5bcf * Moved classes which was belonging to the System assembly.
* Added CodeDomSerializerException.cs stub

svn path=/trunk/mcs/; revision=12874
2003-03-27 20:31:45 +00:00
Martin Willemoes Hansen 7543f1e152 * Moved classes which was belonging to the System assembly.
* Added unix build environment

svn path=/trunk/mcs/; revision=12873
2003-03-27 20:30:14 +00:00
Martin Willemoes Hansen 2c0f542975 * Made initial stubing of System.ComponentModel.Design.Serialization
svn path=/trunk/mcs/; revision=12872
2003-03-27 20:26:34 +00:00
Ville Palo db024539d9 2003-03-27 Ville Palo <[email protected]>
* DataTable.cs: Some fixes to PrimaryKey etc...
	* UniqueConstraint.cs: Little clean up

svn path=/trunk/mcs/; revision=12871
2003-03-27 20:24:53 +00:00
Ville Palo c0fa47a98e 2003-03-27 Ville Palo <[email protected]>
* DataTable.cs: Tiny fix to ToString () -method

svn path=/trunk/mcs/; revision=12870
2003-03-27 19:33:08 +00:00
Dick Porter 460f583ef2 Fix for gcc 3.2 printing gratuitous warnings, and configure thinking a test
failed because some (any) output was printed

svn path=/trunk/mono/; revision=12868
2003-03-27 18:49:16 +00:00
Ville Palo 5c65bfeb02 2003-03-27 Ville Palo <[email protected]>
* ConstraintCollection.cs: Little fix.
	* DataColumn.cs: Added new internal method SetUnique()
	* UniqueConstraint.cs: some little fixes

svn path=/trunk/mcs/; revision=12867
2003-03-27 18:09:53 +00:00
Ville Palo 007db21a17 2003-03-27 Ville Palo <[email protected]>
* UniqueConstraintTest.cs: some minor fixes.

svn path=/trunk/mcs/; revision=12866
2003-03-27 17:08:29 +00:00
Zoltan Varga da265fe8c2 2003-03-27 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionDynamicAssembly): track changes in
	the layout of the class.

	* reflection.c (alloc_table): double the size on overflow to avoid
	unnecessary copying.

	* reflection.h reflection.c: If AssemblyBuilderAccess is Run, then
	avoid filling out metadata tables and blobs. Also set mb->ilgen to
	null so it can be garbage collected.

svn path=/trunk/mono/; revision=12865
2003-03-27 16:39:49 +00:00
Zoltan Varga 7ab9e20621 2003-03-27 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Added 'access' member, which is needed by the
	runtime.

svn path=/trunk/mcs/; revision=12864
2003-03-27 16:30:49 +00:00
Zoltan Varga d357a487a0 2003-03-27 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Return the resolved type
	only if it is in the assembly we searched.

	* reflection.c (ensure_runtime_vtable): Initialize method slots.

	* class.c (mono_class_setup_vtable): Set the slot of the overriding
	method.

svn path=/trunk/mono/; revision=12863
2003-03-27 10:42:43 +00:00
Gonzalo Paniagua Javier abebeaccec 2003-03-27 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: generate correct appbase path. It was working with
	mcs but not with csc.

	* BaseCompiler.cs: quote arguments and removed GetRandomFileName.

	* CachingCompiler.cs: quote source file.

svn path=/trunk/mcs/; revision=12862
2003-03-27 03:44:38 +00:00
Alexandre Pigolkine 1024bbc148 Implementation of ToolTip and NumericUpDown/UpDownBase.
svn path=/trunk/mcs/; revision=12859
2003-03-26 23:44:37 +00:00
Ville Palo ab6a283aac 2003-03-26 Ville Palo <[email protected]>
* DataRowCollection.cs: Bugfixes, implementation,...

svn path=/trunk/mcs/; revision=12858
2003-03-26 19:59:21 +00:00
Ville Palo 293ee63fce 2003-03-26 Ville Palo <[email protected]>
* DataColumn.cs: If DataType if set to something else than short, int
	or long and AutoIncrement is true, AutoIncrement is must set to false.

svn path=/trunk/mcs/; revision=12857
2003-03-26 19:41:49 +00:00
Ville Palo bf40c618f9 2003-03-26 Ville Palo <[email protected]>
* DataRowCollectionTest.cs: Tests for AutoIncrement

svn path=/trunk/mcs/; revision=12856
2003-03-26 19:02:23 +00:00
Zoltan Varga 9c91014757 2003-03-26 Zoltan Varga <[email protected]>
* ILGenerator.cs: Implemented ThrowException.

svn path=/trunk/mcs/; revision=12855
2003-03-26 18:20:26 +00:00
Duncan Mak fb175d1aa9 2003-03-26 Duncan Mak <[email protected]>
* XmlTextWriter.cs (Write): A patch from Atsushi to fix
	prematurely ending the write, or something like that. It was
	causing us to chop off the end of the document when we're trying
	to generate XML Schemas.

svn path=/trunk/mcs/; revision=12854
2003-03-26 17:41:02 +00:00
Gonzalo Paniagua Javier 049a4f7fc7 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs:
	(GetMethodImpl): support BindingFlags.IgnoreCase flag. Fixes bug #40322.

svn path=/trunk/mcs/; revision=12853
2003-03-26 17:01:05 +00:00
Gonzalo Paniagua Javier a4b711d273 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: now the Inherits attribute works as expected for
	global.asax file.

svn path=/trunk/mcs/; revision=12852
2003-03-26 16:34:54 +00:00
Dietmar Maurer 20f4b7719a test inlining, not const. propagation
svn path=/trunk/mono/; revision=12851
2003-03-26 16:03:19 +00:00
Dietmar Maurer 3b1c67c9ae test the result
svn path=/trunk/mono/; revision=12850
2003-03-26 15:29:42 +00:00
Dietmar Maurer 066ab896f0 *** empty log message ***
svn path=/trunk/mono/; revision=12849
2003-03-26 15:24:53 +00:00
Gonzalo Paniagua Javier 60f283f286 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	(set_domain_search_path): allow 'file://blah'. It's an invalid URI,
	the right one is 'file:///blah', but MS allows it.
	* assembly.c:
	(mono_assembly_open): allow 'file://blah'

	Fixes bug #40306. Thanks to Mitko Iliev ([email protected]).

svn path=/trunk/mono/; revision=12848
2003-03-26 15:20:59 +00:00
Gonzalo Paniagua Javier ff0f1c0cd2 2003-03-26 Aleksey Demakov <[email protected]>
* socket-io.c: fixes bug #40310.

svn path=/trunk/mono/; revision=12847
2003-03-26 13:55:14 +00:00
Miguel de Icaza 9b841457c5 Flush
svn path=/trunk/mono/; revision=12845
2003-03-26 03:36:38 +00:00
Gonzalo Paniagua Javier 6e2a2c451b 2003-03-26 Gonzalo Paniagua Javier <[email protected]>
* DataRow.cs:
	(BeginEdit): fixed array bound problem when a column has been added.
	(EndEdit): just assign proposed to current as proposed is set to null.
	This also fixes another array boudn problem.

svn path=/trunk/mcs/; revision=12837
2003-03-26 00:30:27 +00:00
Marco Ridoni 7d9fa2b96b Fixed 'Is Nothing' relational expression, which now correctly checks null
references.

svn path=/trunk/mcs/; revision=12835
2003-03-25 23:26:34 +00:00
Marco Ridoni 0ba88d0941 TypeManager.GetConstructor() made public to allow call from driver.cs, since
Type.GetConstructor wouldn't work in dynamic assemblies.

svn path=/trunk/mcs/; revision=12834
2003-03-25 23:25:35 +00:00
Marco Ridoni b3a3dde75f A Main() function is automatically built if we're building a SWF Exe AND
we don't have a proper entry point and our main class is a SWF form. This
makes it possible to compile directly code generated by the VB.NET IDE

svn path=/trunk/mcs/; revision=12833
2003-03-25 23:24:01 +00:00
Miguel de Icaza dc80ba249c Update Index
svn path=/trunk/mono/; revision=12831
2003-03-25 20:59:34 +00:00
Duncan Mak d1e59ecdfb 2003-03-25 Duncan Mak <[email protected]>
* MonoXSD.cs: Added support for two command line arguments:

	   /output: specify the directory to put the generated schema.
	   /type:   specify a specific type in the assembly.

svn path=/trunk/mcs/; revision=12829
2003-03-25 18:51:56 +00:00
Miguel de Icaza 81d8ea4a04 Add -doc option from Ian
svn path=/trunk/mcs/; revision=12828
2003-03-25 18:30:59 +00:00
Ville Palo cbdfc86afc 2003-03-25 Ville Palo <[email protected]>
* DataTableTest.cs: Added test for PrimaryKey-property

svn path=/trunk/mcs/; revision=12827
2003-03-25 17:40:34 +00:00
Zoltan Varga d1f661ddbe 2003-03-25 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_parse_type): handle deeply nested
	types correctly.

	* reflection.c (mono_image_create_token): Use unique token values
	since they will be put into a hash table.

	* class.c (mono_class_setup_vtable): If a method occurs in more than
	one place in the vtable, and it gets overriden, then change the
	other occurances too.

	* marshal.c (mono_marshal_get_managed_wrapper): Added support for
	object as return type.

svn path=/trunk/mono/; revision=12825
2003-03-25 17:11:34 +00:00
Gonzalo Paniagua Javier d7ccbf93ae 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: fixed Url property.

svn path=/trunk/mcs/; revision=12824
2003-03-25 17:08:41 +00:00
Zoltan Varga 932ada6886 2003-03-25 Zoltan Varga <[email protected]>
* Activator.cs (CreateInstance): Call GetConstructor with the right
	arguments so the nonPublic argument is handled correctly.

svn path=/trunk/mcs/; revision=12821
2003-03-25 16:23:12 +00:00
Martin Willemoes Hansen c755b1b140 * Stubed System.Runtime.Remoting.MetadataServices
svn path=/trunk/mcs/; revision=12817
2003-03-25 12:34:05 +00:00
Zoltan Varga 12bd6c031b 2003-03-25 Zoltan Varga <[email protected]>
* Thread.cs: Fix visibility of ResetAbort().

svn path=/trunk/mcs/; revision=12812
2003-03-25 10:17:12 +00:00
Dietmar Maurer f185c06893 a test for cond. const propagation in switch statements
svn path=/trunk/mono/; revision=12811
2003-03-25 10:07:16 +00:00
Nick Drochak 81a2c8e934 2003/03/25 Nick Drochak <[email protected]>
* System_test.build: Use nunit2 to run the tests.

svn path=/trunk/mcs/; revision=12809
2003-03-25 08:39:07 +00:00
Nick Drochak d3ca64a84d 2003/03/25 Nick Drochak <[email protected]>
* DiagnosticsConfigurationHandlerTest.cs: Fix compiler warnings

svn path=/trunk/mcs/; revision=12808
2003-03-25 08:37:23 +00:00
Martin Willemoes Hansen faf2a34d0d * Stubed System.Runtime.Remoting.Metadata.W3cXsd2001
* Updated unix.args with the stubs

svn path=/trunk/mcs/; revision=12807
2003-03-25 07:57:58 +00:00
Miguel de Icaza 1a61ea90b9 Reformat changes, and add some small debugging information to catch errors
svn path=/trunk/mcs/; revision=12806
2003-03-25 05:01:35 +00:00
Miguel de Icaza 686e356135 Add support for Int32 types
svn path=/trunk/mcs/; revision=12805
2003-03-25 04:47:10 +00:00
Miguel de Icaza 1ac84338d0 just add some verbosity
svn path=/trunk/mcs/; revision=12804
2003-03-25 04:44:08 +00:00
Gonzalo Paniagua Javier 84d713011d 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: fixed bug #40123.

svn path=/trunk/mcs/; revision=12803
2003-03-25 02:48:08 +00:00
Gonzalo Paniagua Javier 45785e75e9 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: throw an exception is the response code is >= 300.

svn path=/trunk/mcs/; revision=12802
2003-03-25 02:22:27 +00:00
Duncan Mak 06e7fda3be 2003-03-24 Duncan Mak <[email protected]>
* MonoXSD.cs: Add support for having enums as a field in the
class. I overlooked this bit last week.

* makefile: Make it build with debug enabled by default.

svn path=/trunk/mcs/; revision=12801
2003-03-25 01:04:07 +00:00
Gonzalo Paniagua Javier a6b28539ae 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
	Added more checks and throws.
	Small fixes in Send to avoid duplicating the buffer.
	Moved CheckIfDisposed calls to the start of the methods instead of doing
	the check inside a finally clause.

svn path=/trunk/mcs/; revision=12798
2003-03-25 00:16:59 +00:00
Gonzalo Paniagua Javier c6e0f9e30c added install target and update makefiles
svn path=/trunk/mcs/; revision=12797
2003-03-25 00:05:16 +00:00
Alexandre Pigolkine 742bfac7ef Implementation of Collections for (Checked)ListBox; notification handling for DateTimePicker control
svn path=/trunk/mcs/; revision=12796
2003-03-24 23:28:11 +00:00
Marco Ridoni 9e0a1fe0b4 Initial support for invocation of (parent) constructors. Must implement
a few checks

svn path=/trunk/mcs/; revision=12795
2003-03-24 23:20:53 +00:00
Marco Ridoni 5b0e07dd80 - Added OVERRIDES, OVERLOADS, OVERRIDABLE, MUSTOVERRIDE, NOTOVERRIDABLE. Only
OVERRIDES actually works, for now.
- Fixed a bug in MyBase invocations (en expression list was passed instead of
an argument list)
- Added 'Is Nothing' relational expression (maybe not working right, must
check)

svn path=/trunk/mcs/; revision=12794
2003-03-24 23:19:06 +00:00
Marco Ridoni f6bd265cea Started implementing auto-generation of an entry point function if the
assembly is a WinEXE AND uses System.Windows.Forms AND RootContext.MainClass
is derived from System.Windows.Forms.Form (just like VB.NET does)

svn path=/trunk/mcs/; revision=12793
2003-03-24 23:16:37 +00:00
Marco Ridoni 9f0c772827 Commented out unneeded code in AddClass()
svn path=/trunk/mcs/; revision=12792
2003-03-24 23:14:56 +00:00
Lluis Sanchez 694b90cc4e RemotingServices.cs: Fixed bug #39915
svn path=/trunk/mcs/; revision=12791
2003-03-24 22:30:33 +00:00
Per Arneng 8d5a646b5c updated with the MailUtil
svn path=/trunk/mcs/; revision=12788
2003-03-24 19:42:08 +00:00
Per Arneng 43697b86ba Bcc is now working, Unique boundaries, Encoded headers when needed
svn path=/trunk/mcs/; revision=12787
2003-03-24 19:40:00 +00:00
Per Arneng cc8601c95b Fixed invalid cast exception
svn path=/trunk/mcs/; revision=12785
2003-03-24 18:02:39 +00:00
Per Arneng a563002193 Minor update. MailUtil used in MailAddress
svn path=/trunk/mcs/; revision=12784
2003-03-24 17:58:44 +00:00
Per Arneng b2c0db97c2 Added MailUtil
svn path=/trunk/mcs/; revision=12783
2003-03-24 17:51:25 +00:00
Gonzalo Paniagua Javier 0bd263fbfb 2003-03-24 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HtmlizedException.cs:
	* System.Web/HttpException.cs:
	* System.Web.Compilation/CompilationException.cs:
	* System.Web.Compilation/ParseException.cs: display the correct line
	number in error messages.

	* System.Web.Compilation/AspElements.cs: added TargetSchema attribute
	for control. It's ignored.

svn path=/trunk/mcs/; revision=12782
2003-03-24 17:00:49 +00:00
Dietmar Maurer c8513ec5ac change the class name to Tests
svn path=/trunk/mono/; revision=12781
2003-03-24 16:15:57 +00:00
Dick Porter 66b943c7e3 Fix typo
svn path=/trunk/mono/; revision=12778
2003-03-24 11:25:33 +00:00
Miguel de Icaza dc645afbd7 The table encodes 5 bits
svn path=/trunk/mcs/; revision=12775
2003-03-24 04:38:22 +00:00
Miguel de Icaza 4398154d0d From:� Elan Feingold <[email protected]>
Patch to support property-deserialization.

svn path=/trunk/mcs/; revision=12774
2003-03-24 04:14:04 +00:00
Gonzalo Paniagua Javier 95aa19157f 8 spaces -> tab
svn path=/trunk/mcs/; revision=12773
2003-03-24 00:15:26 +00:00
Alexandre Pigolkine 4955c6fe44 Implementation of ProgressBar and DateTimePicker controls Aleksey Ryabchuk <[email protected]>
svn path=/trunk/mcs/; revision=12772
2003-03-23 20:46:53 +00:00
Gonzalo Paniagua Javier 21a770b70c fix the build
svn path=/trunk/mcs/; revision=12767
2003-03-23 19:25:47 +00:00
Gonzalo Paniagua Javier 518a451317 referenced the same assemblies in .build and makefile.gnu
svn path=/trunk/mcs/; revision=12763
2003-03-23 16:01:48 +00:00
Atsushi Eno c3476654ae 2003-03-23 Atsushi Enomoto <[email protected]>
* added XmlReaderCommonTests.cs which is mostly copied from
	  XmlTextReaderTests and XmlNodeReaderTests. These tests are removed
	  from each files.

svn path=/trunk/mcs/; revision=12759
2003-03-23 10:09:34 +00:00
Atsushi Eno a085bb9635 2003-03-23 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : implemented ReadString().
	  fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
	  null reference exception when context is null.
	* XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
	  fixed Read() - when positioned at EndElement, it didn't progress.
	  fixed HasAttribute - it didn't return false in all cases.
	  fixed Name and LocalName - only limited type of nodes return names.
	  fixed AttributeCount - in some cases it threw null ref exception.

svn path=/trunk/mcs/; revision=12758
2003-03-23 10:05:29 +00:00
Marco Ridoni 55c0c1a100 Fixed a couple of bugs in the grammar:
- Only module members can be declared in modules
- Class constructor declaration was broken

svn path=/trunk/mcs/; revision=12757
2003-03-22 22:56:05 +00:00
Pedro Martínez Juliá 1a64edb0a0 2003-03-22 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Fixed some bugs for get the same
    results than MS.NET. Added simple error recovering, now ToString
    will return a general format if there is any exception in the
    process of formatting. This make the library more robust while the
    formatters are refined.

	* DoubleTest.cs: Converted to Nunit 2.0. Completed ToString test.

	* icall.c: Deleted "ToString" implementation for double and float
	because they are full implemented in managed code.

svn path=/trunk/mono/; revision=12756
2003-03-22 22:44:04 +00:00
Pedro Martínez Juliá dfb3374160 2003-03-22 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Fixed some bugs for get the same
    results than MS.NET. Added simple error recovering, now ToString
    will return a general format if there is any exception in the
    process of formatting. This make the library more robust while the
    formatters are refined.

	* DoubleTest.cs: Converted to Nunit 2.0. Completed ToString test.

	* icall.c: Deleted "ToString" implementation for double and float
	because they are full implemented in managed code.

svn path=/trunk/mcs/; revision=12756
2003-03-22 22:44:04 +00:00
César Natarén fb0500290f Added a ChangeLog file, makefile.gnu for *nix building and the file lsit for it.
svn path=/trunk/mcs/; revision=12755
2003-03-22 20:13:36 +00:00
Martin Willemoes Hansen b5bff485cb * Stubed System.Runtime.Remoting.Channels.Http
svn path=/trunk/mcs/; revision=12750
2003-03-22 17:10:03 +00:00
Gonzalo Paniagua Javier 09d70359a1 2003-03-22 Gonzalo Paniagua Javier <[email protected]>
* HttpCachePolicy.cs: implemented all TODOs.
	* HttpRequestStream.cs: make it internal.

svn path=/trunk/mcs/; revision=12748
2003-03-22 16:03:04 +00:00
Gonzalo Paniagua Javier ddd6b2c5d8 Fixed windows build
svn path=/trunk/mcs/; revision=12747
2003-03-22 15:24:19 +00:00
Martin Willemoes Hansen c20bf1d8ac * Stubed Custommarshalers
svn path=/trunk/mcs/; revision=12746
2003-03-22 12:14:59 +00:00
Martin Baulig 2c99d6c805 Reflect latest API changes.
svn path=/trunk/mono/; revision=12743
2003-03-22 11:42:57 +00:00
Martin Baulig 603999bb91 2003-03-22 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodEntry.LocalNamesAmbiguous): New public
	field.  Specifies whether two local variables have the same name.

svn path=/trunk/mcs/; revision=12742
2003-03-22 11:42:31 +00:00
Atsushi Eno 1ab0facfac 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : patch by Sean Cier. Serialize() other than
	  XmlWriter argument should call WriteEndDocument.

svn path=/trunk/mcs/; revision=12741
2003-03-22 08:04:36 +00:00
Atsushi Eno 2a7da00761 2003-03-22 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added DocumentWithXmlDeclaration()
	  for bugzilla #36672.

svn path=/trunk/mcs/; revision=12740
2003-03-22 07:56:57 +00:00
Atsushi Eno 589edac804 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
	  WriteEndDocument without root element now raises an error correctly.
	* XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
	  implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
	  MoveToAttribute.

svn path=/trunk/mcs/; revision=12739
2003-03-22 07:54:42 +00:00
Duncan Mak 8fc1b920db 2003-03-22 Duncan Mak <[email protected]>
* MonoXSD.cs: Moved things around, now it's not only
	static methods (functions) anymore.

	Attributes handling galore! We now handle:

	   - XmlElementAttribute
	   - XmlAttributeAtribute
	   - XmlArrayAttribute
	   - XmlArrayItemAttribute
	   - XmlTextAttribute
	   - XmlAnyElementAttribute
	   - XmlAnyAttributeAttribute

svn path=/trunk/mcs/; revision=12738
2003-03-22 07:31:11 +00:00
Atsushi Eno f3dc688927 2003-03-22 Atsushi Enomoto <[email protected]>
* XmlElement.cs : RemoveAttribute now don't throws when specified
	  attribute does not exist.

svn path=/trunk/mcs/; revision=12737
2003-03-22 04:54:52 +00:00
Marco Ridoni b295203c37 Fixed a bug in Interfaces (Namespace were not considered)
svn path=/trunk/mcs/; revision=12736
2003-03-21 22:14:40 +00:00
Martin Willemoes Hansen 1868ea316d * unix.args: Added System.Runtime.Remoting.Channels/IChannelReceiverHook.cs
svn path=/trunk/mcs/; revision=12735
2003-03-21 21:29:56 +00:00
Marco Ridoni 028f1da257 Initial implementation of helper/implicit conversion functions
svn path=/trunk/mcs/; revision=12733
2003-03-21 18:07:21 +00:00
Marco Ridoni 01e872df87 For..Each implementation
svn path=/trunk/mcs/; revision=12732
2003-03-21 18:00:32 +00:00
Marco Ridoni a83c64eb14 For..Each implemented
svn path=/trunk/mcs/; revision=12731
2003-03-21 17:31:15 +00:00
Per Arneng 003d7b8a4b Compatibillity update: Made some changes to make everything
work closer to how .NET sdk works.

svn path=/trunk/mcs/; revision=12730
2003-03-21 16:44:47 +00:00
Alan Tam 5991949a8b 2003-03-21 Alan Tam <[email protected]>
* DbDataAdapter.cs: Update now uses correct DataRowVersion
        when accessing the data.

svn path=/trunk/mcs/; revision=12729
2003-03-21 13:27:08 +00:00
Alan Tam 49ac88576b 2003-03-21 Alan Tam <[email protected]>
* DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
        EndEdit and AcceptChanges to act correctly according to DataRowState
        and DataRowVersion.
        * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
        attached and detached from the collection.

svn path=/trunk/mcs/; revision=12728
2003-03-21 13:25:28 +00:00
Atsushi Eno 3838a6549c 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNode.cs : add descriptions for some node type error.

svn path=/trunk/mcs/; revision=12721
2003-03-21 09:42:59 +00:00
Piers Haken de5da3d1e8 2003-03-20 Piers Haken <[email protected]>
* makefile.gnu: really fix the System.Management build problems

svn path=/trunk/mcs/; revision=12719
2003-03-21 05:07:31 +00:00
Gonzalo Paniagua Javier 606f1d949f fixed the build in linux
svn path=/trunk/mcs/; revision=12718
2003-03-21 00:14:25 +00:00
Alexandre Pigolkine 2de7c06915 checkin for Aleksey Ryabchuk <[email protected]>, implementation of Timer class and small modifications to other files
svn path=/trunk/mcs/; revision=12717
2003-03-20 23:05:15 +00:00
Martin Willemoes Hansen b7f866095b * Stubed out System.Management.Instrumentation
svn path=/trunk/mcs/; revision=12716
2003-03-20 21:50:56 +00:00
Lluis Sanchez 0f7aeed097 * unix.args: Added System.Runtime.Remoting.Activation/AppDomainLevelActivator.cs
svn path=/trunk/mcs/; revision=12715
2003-03-20 20:33:02 +00:00
Lluis Sanchez a82c3d48b6 * Identity.cs: Added support for dynamic properties.
* ObjRef.cs: Removed some [MonoTODO]
	* TypeInfo.cs: Added support for interfaces.
	* RemotingServices.cs: Several fixes to support interfaces in proxies.

svn path=/trunk/mcs/; revision=12714
2003-03-20 20:32:01 +00:00
Lluis Sanchez ad8839ab64 * ActivationServices.cs: Added the method Activate that performs the forwards the
creation message to the right message sink. Added support for AppDomainLevelActivator.
	* ConstructionLevelActivator.cs: Activate does not use the object identity because
	  it may not be set yet.
	* ContextLevelActivator.cs: this activator is now always called for CBOs. A new context
	  has to be created only if the construction message says so.
	* AppDomainLevelActivator.cs: Added. Implements an IActivator that makes a remote creation.

svn path=/trunk/mcs/; revision=12713
2003-03-20 20:31:27 +00:00
Lluis Sanchez f6cc7de959 * Context.cs: Implemented support for dynamic properties and dynamic message sinks.
* CrossContextChannel.cs: Added support for dynamic message sinks.

svn path=/trunk/mcs/; revision=12712
2003-03-20 20:30:57 +00:00
Lluis Sanchez 2f9c1f3395 * RealProxy.cs: added variables to support proxy bypass when the called CBO is
in the same context as the caller.
	* RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
	  ActivationServices.

svn path=/trunk/mcs/; revision=12711
2003-03-20 20:30:28 +00:00
Lluis Sanchez 32334b170b * CADMessages.cs: removed some warnings.
* ClientContextTerminatorSink.cs: added support for dynamic sinks.
	* ConstructionCall.cs: added internal property IsContextOK.
	* MethodResponse.cs: fixed management of output parameters.
	* ServerObjectTerminatorSink.cs: added support for dynamic sinks.

svn path=/trunk/mcs/; revision=12710
2003-03-20 20:29:41 +00:00
Lluis Sanchez bfc4971680 FileNotFoundException.cs: fixed serialization bug.
svn path=/trunk/mcs/; revision=12709
2003-03-20 18:40:48 +00:00
Atsushi Eno c3124c9d20 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNodeListTests.cs : added ReturnNullWhenIndexIsOutOfRange() for
	  bugzilla #39920.

svn path=/trunk/mcs/; revision=12708
2003-03-20 18:13:08 +00:00
Atsushi Eno a38d31d473 2003-03-21 Atsushi Enomoto <[email protected]>
* XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.

svn path=/trunk/mcs/; revision=12707
2003-03-20 18:11:44 +00:00
Dick Porter 083748a9f2 2003-03-20 Dick Porter <[email protected]>
* sockets.c (_wapi_connect): If connect() fails with EACCES, try
	setting SO_BROADCAST and connecting again.  Fixes bug 39178.

svn path=/trunk/mono/; revision=12702
2003-03-20 15:01:59 +00:00
Alan Tam 92b49257d6 2003-03-20 Alan Tam <[email protected]>
* DataColumn.cs: Store empty string for Expression when null is passed in.
        Classes generated by XSD.exe passes null by default.

svn path=/trunk/mcs/; revision=12700
2003-03-20 10:18:25 +00:00
Dick Porter 4be18ef0a5 2003-03-20 Dick Porter <[email protected]>
* Win32Exception.cs: Made the fallback error more useful by
	reporting the error number

svn path=/trunk/mcs/; revision=12699
2003-03-20 09:49:03 +00:00
Duncan Mak dc126d7e06 Add link to Python.NET
svn path=/trunk/mono/; revision=12698
2003-03-20 07:26:20 +00:00
Duncan Mak 63532a5b09 Stupid formatting.
svn path=/trunk/mcs/; revision=12697
2003-03-20 07:17:25 +00:00
Duncan Mak 027c1f3da2 Add some more error checking.
svn path=/trunk/mcs/; revision=12696
2003-03-20 07:03:17 +00:00
Duncan Mak 6242676205 2003-03-20 Duncan Mak <[email protected]>
* MonoXSD.cs: More refinements. We now support transforming
	enumerations as well as arrays to their corresponding XML Schema
	type. Read/Write properties will also be transformed (thanks to
	reading KeithBa's book). XmlNode is properly handled, and XmlElement
	& co. should also be transformed correctly.

	Next up: I should look into whether or not xsd.exe makes use of
	XmlAttributes. If so, I'll have to support that.

	Other than that, this part of MonoXSD should be complete.

svn path=/trunk/mcs/; revision=12695
2003-03-20 05:50:50 +00:00
Gonzalo Paniagua Javier 5fdea70cf4 Isolated MS bug and added 1 more test
svn path=/trunk/mcs/; revision=12693
2003-03-20 03:45:24 +00:00
Gonzalo Paniagua Javier c52c7f84c7 Throw exception is no 'special' char found. Parse the port number using UInt32
svn path=/trunk/mcs/; revision=12692
2003-03-20 03:43:58 +00:00
Jackson Harper 86e94acc87 added ilasm man page
svn path=/trunk/mono/; revision=12691
2003-03-20 03:33:12 +00:00
Gonzalo Paniagua Javier bf200cdf58 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
	in Parse when host length is 0 and the Uri is not a file.

svn path=/trunk/mcs/; revision=12690
2003-03-19 19:54:57 +00:00
Gonzalo Paniagua Javier 9b3ae66f01 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* UriTest.cs: moved a couple of test to their own method as they fail
	with MS runtime. Added new tests for Segment.

svn path=/trunk/mcs/; revision=12689
2003-03-19 19:53:05 +00:00
Miguel de Icaza e167212a29 Flush
svn path=/trunk/mono/; revision=12688
2003-03-19 18:05:07 +00:00
Gonzalo Paniagua Javier 357f82cc5f 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* UriTest.cs: added CheckSchemaName tests.

svn path=/trunk/mcs/; revision=12687
2003-03-19 17:24:29 +00:00
Gonzalo Paniagua Javier 3cf25ff2e6 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* Uri.cs:
	(CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.

svn path=/trunk/mcs/; revision=12686
2003-03-19 17:19:42 +00:00
Paolo Molaro 8743fe7677 Wed Mar 19 18:05:57 CET 2003 Paolo Molaro <[email protected]>
* reflection.c, reflection.h: implemented and exported functions
	to retrieve info about custom attributes.

svn path=/trunk/mono/; revision=12685
2003-03-19 17:13:20 +00:00
Dick Porter f364bbf69f 2003-03-19 Dick Porter <[email protected]>
* Process.cs: Implement HasExited, fixes bug 39267

svn path=/trunk/mcs/; revision=12680
2003-03-19 16:31:16 +00:00
Gonzalo Paniagua Javier 6e2c189590 2003-03-19 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: moved Uri handling to assembly.c
	* assembly.c: use g_filename_from_uri (). This makes assembly.LoadFrom
	work when using a file Uri in *nix and windows.

	* icall.c: fixed Assembly.CodeBase to return a valid Uri. The same for
	GetReferencedAssemblies.

svn path=/trunk/mono/; revision=12679
2003-03-19 16:26:33 +00:00
Jackson Harper f8f723d848 * ILParser.jay: .hash algorithm can be followed by bytes
svn path=/trunk/mcs/; revision=12674
2003-03-19 08:41:46 +00:00
Jackson Harper 16975eed14 * NumberHelper.cs: Handle strange number situations like 8:99:0
svn path=/trunk/mcs/; revision=12673
2003-03-19 08:25:27 +00:00
Jackson Harper f01b1188fd * ILParser.jay: Allow assembly refs to have dots in name.
svn path=/trunk/mcs/; revision=12672
2003-03-19 08:13:08 +00:00
Alexandre Pigolkine db89dad4ae initial release
svn path=/trunk/mcs/; revision=12671
2003-03-18 23:54:45 +00:00
Piers Haken 88fccef202 fix autogen path
svn path=/trunk/mcs/; revision=12670
2003-03-18 22:39:16 +00:00
Alexandre Pigolkine 34c8430829 implementation of pthread_cond*, attempt to use LD_PRELOAD to override stubs in Wine
svn path=/trunk/mcs/; revision=12669
2003-03-18 22:03:38 +00:00
Martin Willemoes Hansen ccd53828cd *** empty log message ***
svn path=/trunk/mcs/; revision=12668
2003-03-18 22:00:13 +00:00
Martin Willemoes Hansen e358c1dd9a * makefile.gnu NUnit20ified.
* security_linux_test.args NUnit20ified.
        * renamed System.Security.Cryptography.Xml/AllTests.cs to
          System.Security.Cryptography.Xml/AssertCrypto.cs

svn path=/trunk/mcs/; revision=12667
2003-03-18 21:53:27 +00:00
Martin Willemoes Hansen 2320c1fddc * Removed: Old AllTests.cs files
* NUnit20ified the tests.

svn path=/trunk/mcs/; revision=12666
2003-03-18 21:45:41 +00:00
Alexandre Pigolkine 7cf240a51e file is not in Wine include folder
svn path=/trunk/mcs/; revision=12665
2003-03-18 21:34:17 +00:00
Atsushi Eno d82dfb04a8 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlDeclaration.cs : quick fix, not to use regex for set_Value.

svn path=/trunk/mcs/; revision=12664
2003-03-18 21:13:20 +00:00
Atsushi Eno ca363e80b2 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
	* XmlInputStream.cs : Should allow versionless input stream entity.

svn path=/trunk/mcs/; revision=12663
2003-03-18 19:58:03 +00:00
Atsushi Eno df0b5550c4 2003-03-19 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : Serialize() don't write xmldecl when WriteState is
	  not WriteState.Start, and never call WriteEndDocument().

svn path=/trunk/mcs/; revision=12662
2003-03-18 19:45:40 +00:00
Gonzalo Paniagua Javier 5a9b3f32ee fixed the comment and the build
svn path=/trunk/mcs/; revision=12661
2003-03-18 19:17:48 +00:00
Gonzalo Paniagua Javier fd44dd8e57 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs: fixed the hack to work under windows.
	* CachingCompiler.cs: under windows, try 'mcs.bat' and then 'mcs'.

svn path=/trunk/mcs/; revision=12659
2003-03-18 17:25:19 +00:00
Miguel de Icaza 053423d538 Test bug fix
svn path=/trunk/mcs/; revision=12658
2003-03-18 16:28:28 +00:00
Piers Haken aa68e6bb3c added some comments, fixed erroneous notifications
svn path=/trunk/mcs/; revision=12657
2003-03-18 15:53:58 +00:00
Dick Porter fcf4490241 Forgot to set the accessibility
svn path=/trunk/mcs/; revision=12656
2003-03-18 14:15:23 +00:00
Dick Porter d061e304df 2003-03-18 Dick Porter <[email protected]>
* Thread.cs: Keep the thread state updated in all the places that
	require it.  (Suspend, Resume and Interrupt not handled yet)

svn path=/trunk/mcs/; revision=12655
2003-03-18 14:01:45 +00:00
Dick Porter 838548bdb4 2003-03-18 Dick Porter <[email protected]>
* icall.c: Rename a couple of internal calls

	* threads.c: Set the thread state to Stopped when a thread exits.
	Fixes bug 39377.

svn path=/trunk/mono/; revision=12654
2003-03-18 14:01:29 +00:00
Dick Porter 6cf322ab0b Fix cygwin build
svn path=/trunk/mcs/; revision=12653
2003-03-18 12:18:46 +00:00
Jackson Harper 16e43a4eb8 * tests: Update to valid il code.
svn path=/trunk/mcs/; revision=12651
2003-03-18 08:35:09 +00:00
Jackson Harper d8b88441d8 * ILParser.jay: Add object to primative types
svn path=/trunk/mcs/; revision=12650
2003-03-18 08:26:35 +00:00
Jackson Harper 1ea26bbefe * ClassTable.cs: Set defined flag and type attributes for referenced
classes when they are defined.

svn path=/trunk/mcs/; revision=12649
2003-03-18 08:05:24 +00:00
Jackson Harper 31dbc4e33a * MethodTable.cs: Add method to Check if all methods have been defined, set referenced methods properties when defining them
* FieldTable.cs: Add method to check if all fields have been defined, set referenced fields properties when defining them
* ClassTable.cs: Make sure all methods and fields are defined.

svn path=/trunk/mcs/; revision=12648
2003-03-18 07:56:00 +00:00
Jackson Harper a740d8d52f * ILParser.jay: Set CallConv for opcodes that have a call conv,
like call and newobj

svn path=/trunk/mcs/; revision=12647
2003-03-18 07:00:52 +00:00
Jackson Harper 761e585ee4 * test-9.il: Add output to the constructor so I know it is called, give
the constructor the instance call conv.

svn path=/trunk/mcs/; revision=12646
2003-03-18 06:45:30 +00:00
Jackson Harper 12c0e0ac3c * ILParser.jay: Set CallConvs properly, use type_ref instead of type for
method overrides.

svn path=/trunk/mcs/; revision=12645
2003-03-18 06:41:08 +00:00
Duncan Mak 157c1e7735 2003-03-17 Duncan Mak <[email protected]>
* MonoXSD.cs: A simple implementation of MonoXSD. It current
	supports creating an XML Schema based on a .NET assembly. The
	handling of schema derivation is simplistic.

svn path=/trunk/mcs/; revision=12644
2003-03-18 05:05:55 +00:00
Gonzalo Paniagua Javier 7e0c77dd7f little oops with virtual path
svn path=/trunk/mcs/; revision=12643
2003-03-18 01:55:24 +00:00
Gonzalo Paniagua Javier e802a8cdd9 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: little fix in Combine ().

svn path=/trunk/mcs/; revision=12642
2003-03-18 01:48:25 +00:00
Gonzalo Paniagua Javier df0c0bab36 2003-03-18 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: implemented RewritePath in other way.
	* HttpRequest.cs: removed SetPhysicalPath and added SetForm.
	* HttpServerUtility.cs: implemented Transfer (string, bool).

svn path=/trunk/mcs/; revision=12641
2003-03-18 01:44:46 +00:00
Miguel de Icaza 876ac0a67e 2003-03-17 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr): do not allow initialization of initonly
	fields on derived classes

svn path=/trunk/mcs/; revision=12640
2003-03-18 00:10:22 +00:00
Gonzalo Paniagua Javier 5545b09d83 fix the build. MonoTODOAttribute is internal
svn path=/trunk/mcs/; revision=12639
2003-03-17 23:16:11 +00:00
Alexandre Pigolkine f267027362 original version of monogc.c by John Sohn
svn path=/trunk/mcs/; revision=12638
2003-03-17 22:46:21 +00:00
Alexandre Pigolkine d74c4723a8 initial checkin
svn path=/trunk/mcs/; revision=12637
2003-03-17 22:38:01 +00:00
Alexandre Pigolkine 851f4546cf initial release
svn path=/trunk/mcs/; revision=12636
2003-03-17 22:37:25 +00:00
Zoltan Varga 1f900c6a4c 2003-03-17 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle):
	New icall.

svn path=/trunk/mono/; revision=12635
2003-03-17 22:24:25 +00:00
Zoltan Varga 13c976d677 2003-03-17 Zoltan Varga <[email protected]>
* FieldInfo.cs (GetFieldFromHandle): Implemented.

svn path=/trunk/mcs/; revision=12634
2003-03-17 22:22:59 +00:00
Zoltan Varga a8d500b604 2003-03-17 Zoltan Varga <[email protected]>
* object.c (mono_class_vtable): fix warning.

svn path=/trunk/mono/; revision=12633
2003-03-17 19:51:11 +00:00
Zoltan Varga 5bb97360a2 2003-03-17 Zoltan Varga <[email protected]>
* icall.c (ves_icall_type_is_subtype_of): Avoid vtable creation.

	* reflection.c (mono_blob_entry_hash): Avoid reading uninitialized
	memory.
	(method_encode_clauses): Create exception info structures in the right
	order.
	(mono_reflection_setup_internal_class): Initialize supertypes field.

	* class.c object.c: Handle interfaces which implement other interfaces
	correctly.

	* class.h class.c: Move the supertypes array initialization code into
	a separate function so it can be used for dynamic types too. Also call
	it earlier, in mono_class_init(), since it can be used before the
	type is initialized.

svn path=/trunk/mono/; revision=12632
2003-03-17 19:36:14 +00:00
Gonzalo Paniagua Javier d998599482 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs:
	* System.Web.Hosting/AppDomainFactory.cs: hacks to work-around our
	buggy System.Uri.

svn path=/trunk/mcs/; revision=12631
2003-03-17 18:34:29 +00:00
Joel Basson f2620a1ee1 2003-03-17 Joel Basson <[email protected]>
* FileDialog.cs
* Updated Demo.cs and added "Enabled" property

svn path=/trunk/mcs/; revision=12630
2003-03-17 18:22:52 +00:00
Gonzalo Paniagua Javier a657f38d93 Fixes by George Kodinov <[email protected]>
svn path=/trunk/mcs/; revision=12629
2003-03-17 18:05:20 +00:00
Rafael Teixeira 21ed3c8fcc bits
svn path=/trunk/mcs/; revision=12628
2003-03-17 18:01:54 +00:00
Gonzalo Paniagua Javier 29a0b2e8d7 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* FileSystemWatcher.cs: added attributes and some more implementation.
	Now only the guts left to do.

	* FileSystemEventArgs.cs:
	* RenamedEventArgs.cs: implemented a couple of properties.

svn path=/trunk/mcs/; revision=12627
2003-03-17 17:36:06 +00:00
Daniel Morgan 468d31eee0 2003-03-17 Daniel Morgan <[email protected]>
* System.Data.build: on windows build, ignore
	warnings CS0219: "The variable xxx is assigned but its value is
	never used" and CS0168: "The variable xxx
	is declared but never used"

	* System.Data/DataRow.cs: flush

	* System.Data/DataSet.cs: start implementation on Clear(),
	and WriteXml() should write the start element <?xml ... ?> at the top
	of the document

	* System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
	of Compute() - still not working

svn path=/trunk/mcs/; revision=12626
2003-03-17 17:35:06 +00:00
Atsushi Eno d0fb82eaa0 2003-03-18 Atsushi Enomoto <[email protected]>
* UnicodeEncoding.cs: changed WebName from unicodeFFFE to utf-16be.
	  (unicodeFFFE is MS compliant, but isn't valid IANA encoding name.)

svn path=/trunk/mcs/; revision=12624
2003-03-17 16:32:38 +00:00
Martin Willemoes Hansen 46c1ae8f75 * Removed AllTests.cs, System.Data/AllTests.cs,
System.Data.SqlTypes/AllTests.cs,
          System.Xml/AllTests.cs,
          TheTests.cs
        * NUnit2ified makefile.gnu, data_linux_test.args
          System.Data/DataColumnCollectionTest.cs,
          System.Data/DataSetTest.cs,
          System.Data/DataColumnTest.cs,
          System.Data/DataTableTest.cs,
          System.Data/UniqueConstraintTest.cs,
          System.Data/ConstraintCollectionTest.cs,
          System.Data/DataRelationTest.cs,
          System.Data/ForeignKeyConstraintTest.cs,
          System.Data/ConstraintTest.cs,
          System.Data/DataRowCollectionTest.cs,
          System.Data/DataRowTest.cs,
          System.Data.SqlTypes/SqlBinaryTest.cs,
          System.Data.SqlTypes/SqlDateTimeTest.cs,
          System.Data.SqlTypes/SqlGuidTest.cs,
          System.Data.SqlTypes/SqlInt64Test.cs,
          System.Data.SqlTypes/SqlStringTest.cs,
          System.Data.SqlTypes/SqlBooleanTest.cs,
          System.Data.SqlTypes/SqlDecimalTest.cs,
          System.Data.SqlTypes/SqlInt16Test.cs,
          System.Data.SqlTypes/SqlMoneyTest.cs,
          System.Data.SqlTypes/SqlByteTest.cs,
          System.Data.SqlTypes/SqlDoubleTest.cs,
          System.Data.SqlTypes/SqlInt32Test.cs,
          System.Data.SqlTypes/SqlSingleTest.cs
          System.Xml/XmlDataDocumentTest.cs

svn path=/trunk/mcs/; revision=12623
2003-03-17 16:31:53 +00:00
Atsushi Eno ac8c938389 2003-03-18 Atsushi Enomoto <[email protected]>
* StringWriter.cs : don't release internalString on Dispose().

svn path=/trunk/mcs/; revision=12622
2003-03-17 16:27:31 +00:00
Atsushi Eno 623d8c0d95 2003-03-18 Atsushi Enomoto <[email protected]>
* added XmlParserInput.cs and DTDObjectModel.cs to list.unix and
	  Mono.System.Xml.csproj.

svn path=/trunk/mcs/; revision=12621
2003-03-17 16:02:58 +00:00
Gonzalo Paniagua Javier 554d98db57 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: Elapsed is an event. Added a few attributes.

svn path=/trunk/mcs/; revision=12620
2003-03-17 16:02:30 +00:00
Atsushi Eno 8a88d4db75 2003-03-18 Atsushi Enomoto <[email protected]>
* added XmlParserInput.cs for multi xml document sources.
	* added DTDObjectModel.cs (maybe temporary).
	* XmlTextReader.cs :
	  + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
	  + Some members such as LineNumber, ReadChar now uses XmlParserInput.
	  + added support for Namespaces (namespace-ignorant parse available).
	  + added support for XmlResolver.
	  + replace SetReaderContext()/SetReaderFragment() with Initialize().
	  + use NameTable in CreateNameString.
	  + fixed ReadCData(). Now reads "]]]>" correctly.
	  + support for DTD parse.
	  + Read() now throws an error when it reached EOF while Depth > 0.
	* XmlAttribute.cs,
	  XmlDocumentFragment.cs,
	  XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
	* XmlDocument.cs : ReadNode() now reads DocumentType.
	* XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
	* XmlEntity.cs,
	  XmlNotation.cs : added override LastLinkedChild (for doctype node).
	* XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
	* XmlElement.cs : bugfix for node removal of set_InnerXml.
	* XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
	  (to append child XmlEntity into XmlDocumentType correctly.)
	* XmlInputStream.cs : fixed to access file with FileAccess.Read.

svn path=/trunk/mcs/; revision=12619
2003-03-17 16:01:36 +00:00
Aleksey Demakov 75cb691248 *** empty log message ***
svn path=/trunk/mcs/; revision=12614
2003-03-17 12:37:45 +00:00
Aleksey Demakov 1c59f5e7ac *** empty log message ***
svn path=/trunk/mcs/; revision=12613
2003-03-17 12:18:58 +00:00
Jackson Harper a297a3e6aa * test-9.il: New test, test instaniating a class
svn path=/trunk/mcs/; revision=12612
2003-03-17 07:13:36 +00:00
Jackson Harper dc555c7ed5 * Driver.cs: Add switch to display method definitions and references.
svn path=/trunk/mcs/; revision=12611
2003-03-17 07:10:30 +00:00
Jackson Harper e6b66749b8 * MethodTable.cs: Fire events when methods are defined and referenced
svn path=/trunk/mcs/; revision=12610
2003-03-17 07:07:52 +00:00
Jackson Harper 2889b11d78 * ILParser.jay: .ctor and .cctor can also be method names.
svn path=/trunk/mcs/; revision=12609
2003-03-17 07:05:33 +00:00
Jackson Harper 11c0922d85 * ILTokenizer.cs: Append tail to values so opcodes like ldarg.s
are resolved properly

svn path=/trunk/mcs/; revision=12608
2003-03-17 07:02:16 +00:00
Daniel Morgan 9ac0d62d2e 2003-03-16 Daniel Morgan <[email protected]>
* System.Data/DataRowView.cs: in the constructor pass
	DataRow in instead of int index of the DataRow
	in DataTable.Rows

	* System.Data/DataTable.cs: implement sorting
	for method Select(filterExpression,sort)

	* System.Data/DataView.cs: more implementation -
	Now, If Sort, RowFilter, or RowStateFilter is set, an
	enumerated DataRowViews will be a view with those
	properties applied.  Still need to implement event handling
	though.

svn path=/trunk/mcs/; revision=12603
2003-03-17 00:19:43 +00:00
Daniel Lopez Ridruejo 97cb06f4f1 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
* HttpContext.cs : Implemented RewritePath
        * HttpRequest.cs : Added internal function SetPhysicalPath

svn path=/trunk/mcs/; revision=12602
2003-03-16 22:50:22 +00:00
Jackson Harper cc787194d7 * ILParser.jay: Use assembly_ref for extern assemblies so names with dashes can be used.
svn path=/trunk/mcs/; revision=12601
2003-03-16 19:45:51 +00:00
Ville Palo 77559ba576 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollection.cs: Tiny clean up

svn path=/trunk/mcs/; revision=12597
2003-03-16 18:43:35 +00:00
Jackson Harper 53008b2bea * Driver.cs: Add switch to display tokens as they are generated.
svn path=/trunk/mcs/; revision=12596
2003-03-16 18:23:08 +00:00
Ville Palo 3b3d8f598c 2003-03-16 Ville Palo <[email protected]>
* DataColumn.cs: little fixes.
	* DataColumnCollection.cs: Lots of little fixes and improvments.

svn path=/trunk/mcs/; revision=12595
2003-03-16 18:23:02 +00:00
Ville Palo 6c4fded1ee 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollectionTest.cs: little fix.

svn path=/trunk/mcs/; revision=12594
2003-03-16 18:17:46 +00:00
Jackson Harper 285a0d5a5b * ILTokenizer.cs: Fire an event when a new token is ready.
svn path=/trunk/mcs/; revision=12593
2003-03-16 18:17:44 +00:00
Pedro Martínez Juliá 645b08b5d5 2003-03-16 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Added support for group separators.

svn path=/trunk/mcs/; revision=12592
2003-03-16 18:08:31 +00:00
Ville Palo f5b76b1eb3 2003-03-16 Ville Palo <[email protected]>
* DataColumnCollectionTest.cs: Typos

svn path=/trunk/mcs/; revision=12590
2003-03-16 16:36:44 +00:00
Pedro Martínez Juliá bbd30eb987 2003-03-16 Pedro Mart�nez Juli� <[email protected]>
* Single.cs:
    * Double.cs: Apply changes of .ToString methods.
    * SingleFormatter.cs:
    * DoubleFormatter.cs: Simple wrappers to FloatingPointFormatter.
    * FloatingPointFormatter.cs: New class. Implementation of double and
    single formatters. It is unified now and parametrized with precission
    values.

svn path=/trunk/mcs/; revision=12589
2003-03-16 16:27:50 +00:00
Ville Palo bebc5ab946 2003-03-16 Ville Palo <[email protected]>
* DataSetTest.cs: Fixed line-ending problems

svn path=/trunk/mcs/; revision=12588
2003-03-16 15:18:45 +00:00
Gonzalo Paniagua Javier 1d9f2197fb added MONO_CONFIG
svn path=/trunk/mono/; revision=12587
2003-03-16 13:00:41 +00:00
Gonzalo Paniagua Javier 0809b0ac5f 2003-03-16 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
	* assembly.c:
	* icall.c: make MONO_ASSEMBLIES and MONO_CFG_DIR work on windows.

	* appdomain.c:
	* appdomain.h:
	* marshal.c:
	* object.c: remove warnings.

svn path=/trunk/mono/; revision=12586
2003-03-16 12:57:25 +00:00
Johannes Roith 8aa81b50d5 add logo on the left
svn path=/trunk/mcs/; revision=12585
2003-03-16 12:39:33 +00:00
Gonzalo Paniagua Javier 7933eb4425 updated list file
svn path=/trunk/mcs/; revision=12584
2003-03-16 10:44:32 +00:00
Jackson Harper db98e7150c * ILParser.jay: Define local variables
svn path=/trunk/mcs/; revision=12582
2003-03-16 06:40:09 +00:00
Jackson Harper 58fb25c15b * ILParser.jay: Add param_list definition, use param_list for method refs
svn path=/trunk/mcs/; revision=12581
2003-03-16 06:26:04 +00:00
Miguel de Icaza 2a4f04d73a Add mono.security
svn path=/trunk/mcs/; revision=12580
2003-03-16 05:56:09 +00:00
Sebastien Pouliot 724bc7fac6 2003-03-15 Sebastien Pouliot <[email protected]>
* list.unix: Updated the list (many classes where missing)

svn path=/trunk/mcs/; revision=12579
2003-03-16 05:51:02 +00:00
Sebastien Pouliot 25f33a0e8f oops - forgot the makefile
svn path=/trunk/mcs/; revision=12578
2003-03-16 00:48:36 +00:00
Sebastien Pouliot eb26218e65 2003-03-15 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version for mono 0.23.
	* MakeCert.cs: New. MakeCert clone utility to create X.509
	certificates (e.g. for testing Authenticode signatures).
	* makefile: Added cert2spc, sn & makecert to Windows build.
	* sectools.build: Added makecert to build.

svn path=/trunk/mcs/; revision=12577
2003-03-16 00:44:53 +00:00
Sebastien Pouliot 363426caf6 2003-03-15 Sebastien Pouliot <[email protected]>
* PrivateKeyTest.cs: New. Unit test for using some PVK files
	generated by makecert.exe.

svn path=/trunk/mcs/; revision=12576
2003-03-16 00:43:30 +00:00
Sebastien Pouliot 864d0ee0d8 2003-03-15 Sebastien Pouliot <[email protected]>
* BasicConstraintsExtension.cs: New. Handle X.509 Basic
	Constaints extension.
	* KeyUsageExtension.cs: New. Handle X.509 Key Usage
	extension.

svn path=/trunk/mcs/; revision=12575
2003-03-16 00:42:29 +00:00
Sebastien Pouliot 8e6623df7b 2003-03-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: New. X.501 Distinguished Names stuff
	* X509Builder.cs: New. Abstract class for building X.509 related
	structures (like certificates and CRLs).
	* X509Certificate.cs: New. A more complete class to handle X.509
	certificates.
	* X509CertificateBuilder.cs: New. Class to build X.509 certificates.
	* X509Extension.cs: New. A base class for all X.509 extensions.
	* X509Extensions.cs: New. X509Extension collection.
	* X520Attributes.cs: New. X.520 attributes (mainly for X501 names)

svn path=/trunk/mcs/; revision=12574
2003-03-16 00:41:50 +00:00
Sebastien Pouliot a4a6e2334b 2003-03-15 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: New. Class to load or create PVK (PriVate Key)
	files (a Microsoft specific file format for private keys).

2003-03-06  Sebastien Pouliot  <[email protected]>

	* SoftwarePublisherCertificate.cs: New. Class to load or create
	SPC files (which are PKCS#7 files containing only certificates
	and CRL).

svn path=/trunk/mcs/; revision=12573
2003-03-16 00:41:01 +00:00
Sebastien Pouliot 0afc2767ef 2003-03-15 Sebastien Pouliot <[email protected]>
* unix.args: Added Mono.Security.X509/*.cs and ASN1Convert.cs

svn path=/trunk/mcs/; revision=12563
2003-03-15 22:10:52 +00:00
Sebastien Pouliot a589ecb561 2003-03-15 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Now use Mono.Security.X509.X509Certificate.

svn path=/trunk/mcs/; revision=12562
2003-03-15 21:57:25 +00:00
Sebastien Pouliot 29c92d1bc0 2003-03-15 Sebastien Pouliot <[email protected]>
* X501Name.cs: New. X.501 Distinguished Names stuff
	* X509Certificate.cs: New. A more complete class to handle X.509
	certificates.
	* X509Extension.cs: New. A base class for all X.509 extensions.
	* X509Extensions.cs: New. X509Extension collection.
	* X520Attributes.cs: New. X.520 attributes (mainly for X501 names)

svn path=/trunk/mcs/; revision=12561
2003-03-15 21:54:54 +00:00
Sebastien Pouliot 4614cacf61 2003-03-15 Sebastien Pouliot <[email protected]>
* ASN1.cs: Improved version.
	* ASN1Convert.cs: New. Helper class to convert between .NET
	types and ASN.1 structures.

svn path=/trunk/mcs/; revision=12560
2003-03-15 21:51:51 +00:00
Jackson Harper cb6e97b97a * ILParser.jay: de-bacwardificate values passed to add method,
I was setting the return to the parent before, but the parent
	value was being set to the return type value so it all worked
	out but was very confusing.

svn path=/trunk/mcs/; revision=12559
2003-03-15 21:50:43 +00:00
Jackson Harper fde07a9312 * ILParser.jay: Add external field references
svn path=/trunk/mcs/; revision=12558
2003-03-15 21:31:05 +00:00
Jackson Harper df72ef42bf * ILParser.jay: Add fields to the field table, add field references,
emit instructions that take a field param

svn path=/trunk/mcs/; revision=12557
2003-03-15 21:10:58 +00:00
Jackson Harper f873cfa199 * ClassTable.cs: Classes now store field tables
* CodeGen.cs: Add methods to add fields and get field references

svn path=/trunk/mcs/; revision=12556
2003-03-15 21:07:36 +00:00
Jackson Harper 54b57ea750 * makefile, makefile.gnu: Add FieldTable to build
svn path=/trunk/mcs/; revision=12555
2003-03-15 21:03:45 +00:00
Jackson Harper 0d2bbf6c89 * FieldTable.cs: New file, holds a classes fields
svn path=/trunk/mcs/; revision=12552
2003-03-15 20:55:09 +00:00
Alexandre Pigolkine c3af0168a9 checkin for Dennis Hayes <[email protected]>, see ChangeLog
svn path=/trunk/mcs/; revision=12550
2003-03-15 20:13:27 +00:00
Sebastien Pouliot ec7a156339 2003-03-15 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Commented [assembly: AssemblyKeyFile("SharpZipLib.key")]
	to fix the Windows build.

svn path=/trunk/mcs/; revision=12549
2003-03-15 20:12:26 +00:00
Daniel Morgan 1e6b9f2607 2003-03-15 Daniel Morgan <[email protected]>
* PEAPI.build: added file for windows build

svn path=/trunk/mcs/; revision=12548
2003-03-15 19:53:15 +00:00
Alexandre Pigolkine b81cf683fd checkin for Aleksey Ryabchuk, see ChangeLog for details
svn path=/trunk/mcs/; revision=12547
2003-03-15 19:31:43 +00:00
Alexandre Pigolkine 19dd3ef950 monogc.c added
svn path=/trunk/mcs/; revision=12544
2003-03-15 18:28:53 +00:00
Jackson Harper adefa1b928 * InstrTable.cs: Add FieldOp instructions
svn path=/trunk/mcs/; revision=12543
2003-03-15 16:40:10 +00:00
Gonzalo Paniagua Javier b3e576e72f 2003-03-15 Lluis Sanchez Gual <[email protected]>
* System/AppDomain.cs:
	* System.Runtime.Remoting/RemotingServices.cs:
	* System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs: fixes bugs
	#39380 and #39331.

svn path=/trunk/mcs/; revision=12542
2003-03-15 16:34:21 +00:00
Jackson Harper 320c857193 * ILParser.jay: Emit ldstr instruction
svn path=/trunk/mcs/; revision=12536
2003-03-15 15:18:43 +00:00
Johannes Roith 96c373983d add ask on uninstall, add windows software control panel list entry, check for newer mono installation
svn path=/trunk/mcs/; revision=12535
2003-03-15 15:17:20 +00:00
Jackson Harper 232cf00cfb * InstrTable.cs: Add ldstr instruction
svn path=/trunk/mcs/; revision=12534
2003-03-15 15:17:03 +00:00
Daniel Morgan f6f80c1e5b 2003-03-15 Daniel Morgan <[email protected]>
* mysqlclient/datareader.cs: in GetSchemaTable(),
	"BaseColumnName" should be set to the ColumnName,
	not null

svn path=/trunk/mcs/; revision=12528
2003-03-15 11:13:08 +00:00
Jackson Harper a953656ae8 * ILParser.jay: Create external method references
svn path=/trunk/mcs/; revision=12527
2003-03-15 11:01:32 +00:00
Jackson Harper f48a10e11d * ILParser.jay: Emit instructions that take a method def as a single param
svn path=/trunk/mcs/; revision=12525
2003-03-15 10:49:11 +00:00
Jackson Harper 864b03cb72 * CodeGen.cs: Add method to get method references.
* MethodTable.cs: Complete GetReference method
	* InstrTable.cs: Add MethodOps (instructions that take a method ref param)

svn path=/trunk/mcs/; revision=12524
2003-03-15 10:47:16 +00:00
Daniel Morgan ad6cff4a72 2003-03-15 Daniel Morgan <[email protected]>
* SqlConnection.cs: if Server in the ConnectionString
	is set to "(local", use "localhost" as the hostname
	to connect

svn path=/trunk/mcs/; revision=12521
2003-03-15 10:18:39 +00:00
Jackson Harper 3618f03441 * ILParser.jay: Emit instructions that take a single type as a param
svn path=/trunk/mcs/; revision=12520
2003-03-15 09:34:06 +00:00
Jackson Harper acf95528b6 * InstrTable.cs: Add TypeOps (instructions that take a type param)
svn path=/trunk/mcs/; revision=12519
2003-03-15 09:31:52 +00:00
Duncan Mak 38037f5560 XmlElement.cs (Name): Only append prefix + ':' when prefix is
neither String.Empty nor null. Thanks to Simon Guindon for
reporting the bug and Jackson for fixing this bug with me.

svn path=/trunk/mcs/; revision=12518
2003-03-15 08:39:02 +00:00
Atsushi Eno 5a8beb8931 2003-03-15 Atsushi Enomoto <[email protected]>
* XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
	* XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
	  fixed ReadNode(), it should call reader.Read() only on Initial state.
	* XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
	  and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
	  System.Net.WebClient directly.
	* XmlParserContext.cs : baseURI don't be null.
	* XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
	* XmlUrlResolver.cs : namespace change for XmlInputStream.

svn path=/trunk/mcs/; revision=12517
2003-03-15 08:35:39 +00:00
Atsushi Eno 54af13ed35 2003-03-15 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : fixed AttributeWriteAttributeString() in
	  related to MS bugs. "\r\n" are replaced with Environment.NewLine.

svn path=/trunk/mcs/; revision=12516
2003-03-15 08:34:05 +00:00
Jackson Harper b8f4ff31ed * ILParser.jay: Emit instructions that take a single int32 as a param
svn path=/trunk/mcs/; revision=12515
2003-03-15 07:07:17 +00:00
Jackson Harper 6ca6d1b16b * ILTokenizer.cs: Use the IsInstr method for checking if a string is an instruction
svn path=/trunk/mcs/; revision=12514
2003-03-15 07:00:57 +00:00
Jackson Harper fd71e5897e * InstrTable.cs: Add IntOps (instructions that take an integer param)
svn path=/trunk/mcs/; revision=12513
2003-03-15 06:34:04 +00:00
Daniel Morgan f82cc36247 2003-03-14 Daniel Morgan <[email protected]>
* mono-win32-setup.nsi: added NSIS
	(NullSoft Installer System) script file for building
	a Mono release for Windows NT/2000/XP

svn path=/trunk/mcs/; revision=12511
2003-03-14 13:46:11 +00:00
Daniel Morgan af1a3ee1c6 2002-03-14 Daniel Morgan <[email protected]>
* class/makefile.gnu
	* class/ByteFX.Data/makefile.gnu: add ByteFX.Data.dll
	to the Linux build

svn path=/trunk/mcs/; revision=12510
2003-03-14 12:22:05 +00:00
Daniel Morgan a8fa063782 2002-03-14 Daniel Morgan <[email protected]>
* makefile: added ByteFX.Data.dll to windows install

	* class/library.build: added ByteFX.Data.dll
	to windows build.  added additional clean targets

	* class/Microsoft.VisualC/Microsoft.VisualC.build: fix
	windows clean

	* class/ByteFX.Data: added directory for ByteFX.Data.dll
	which includes a MySQL ADO.NET Provider.
	Contributed by Reggie Burnett <[email protected]>
	from ByteFX, Inc.
	ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.

	Added the following files and directories:

	class/ByteFX.Data/AssemblyInfo.cs
	class/ByteFX.Data/list
	class/ByteFX.Data/ByteFX.Data.build
	class/ByteFX.Data/makefile.gnu
	class/ByteFX.Data/ChangeLog.txt
	class/ByteFX.Data/readme.txt
	class/ByteFX.Data/lgpl.txt: new files

	BitStream.cs
	Connection.cs
	Field.cs
	Inflater.cs
    ConnectionString.cs
    HuffmanTree.cs
    NamedPipeStream.cs
    class/ByteFX.Data/Common: added files to new directory

	Driver.cs
	command.resx
	todo.txt
	CommandBuilder.cs
	Exception.cs
	dataadapter.cs
	transcaction.cs
	Connection.cs
	Field.cs
	datareader.cs
	Connection.resx
	MysqlDefs.cs
	parameter.cs
	class/ByteFX.Data/mysqlclient: added files to new directory

	command.cs
	parameter_collection.cs
	class/ByteFX.Data/mysqlclient/Designers: added files to new directory

svn path=/trunk/mcs/; revision=12508
2003-03-14 10:15:26 +00:00
Paolo Molaro 01419c5cd7 Fri Mar 14 10:06:49 CET 2003 Paolo Molaro <[email protected]>
* codegen/InstrTable.cs: fix break instruction name.
	* codegen/Method.cs: use ArgumentNullException.
	* parser/ILParser.jay: handle stdcall convention.

svn path=/trunk/mcs/; revision=12507
2003-03-14 09:11:57 +00:00
Daniel Morgan 96e570a574 2003-03-14 Daniel Morgan <[email protected]>
* makefile: add ilasm.exe to windows build and add missing assemblies
	to windows install

	* class/library.build: include PEAPI.dll, Npgsql.dll, and
	ICSharpCode.SharpZipLib part of the windows build

svn path=/trunk/mcs/; revision=12506
2003-03-14 08:51:28 +00:00
Jackson Harper a18c8b8f4f * ILParser.jay: Remove unused references
svn path=/trunk/mcs/; revision=12505
2003-03-14 07:34:58 +00:00
Jackson Harper 0f9d4aafca * InstrTable.cs: Fix instructions that have dots in their name
svn path=/trunk/mcs/; revision=12503
2003-03-14 07:31:00 +00:00
Jackson Harper 16239dd9c8 * ILParser.jay: Emit simple instructions
svn path=/trunk/mcs/; revision=12502
2003-03-14 07:14:43 +00:00
Jackson Harper d4f07b29d8 * ILTokenizer.cs: Use InstrTable for looking up and getting Opcodes
svn path=/trunk/mcs/; revision=12501
2003-03-14 07:11:46 +00:00
Jackson Harper 836865b703 * makefile, makefile.gnu: Add InstrTable to build
svn path=/trunk/mcs/; revision=12500
2003-03-14 07:08:24 +00:00
Jackson Harper d5edbae442 * CodeGen.cs: Add code buffer for il instructions when a new method is added.
* InstrTable.cs: New file, this is a table of all the instructions (just simple
	instructions right now)

svn path=/trunk/mcs/; revision=12499
2003-03-14 07:05:34 +00:00
Gonzalo Paniagua Javier 52e995a684 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
* MarshalByValueComponent.cs: removed a monotodo.

svn path=/trunk/mcs/; revision=12498
2003-03-14 07:00:24 +00:00
Gonzalo Paniagua Javier f637980d2a 2003-03-14 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: implemented Transfer ().

svn path=/trunk/mcs/; revision=12497
2003-03-14 06:57:37 +00:00
Gonzalo Paniagua Javier c6454325e9 the fix of the week. Don't miss it.
svn path=/trunk/mcs/; revision=12496
2003-03-14 06:56:21 +00:00
Gonzalo Paniagua Javier 5e5a3e68f6 windows build fix
svn path=/trunk/mcs/; revision=12495
2003-03-14 06:50:13 +00:00
Jackson Harper 3c9036f1b9 * ILParser.jay: Set MaxStack, clean up some typos
svn path=/trunk/mcs/; revision=12494
2003-03-14 05:35:22 +00:00
Jackson Harper ea3e6edb0f * ILParser.jay: Set entrypoint
svn path=/trunk/mcs/; revision=12493
2003-03-14 05:28:36 +00:00
Jackson Harper 4d4044021a * CodeGen.cs: Set current method when a new method is added.
svn path=/trunk/mcs/; revision=12492
2003-03-14 05:26:00 +00:00
Tim Coleman 372615d44e 2003-03-13 Tim Coleman <[email protected]>
* System.Data.SqlClient/SqlCommandBuilder.cs:
                Change "where" variable name to "whereClause" at the
                request of Rhys Weatherley <[email protected]>

svn path=/trunk/mcs/; revision=12488
2003-03-13 23:56:11 +00:00
Martin Baulig e82d8b7422 2003-03-13 Martin Baulig <[email protected]>
* debug.c (_mono_debug_address_from_il_offset): Moved to
	../metadata/debug-mono-symfile.c

svn path=/trunk/mono/; revision=12484
2003-03-13 22:27:12 +00:00
Martin Baulig 461bb5ffd2 2003-03-13 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileLexicalBlockEntry): New type.
	(MonoDebugLexicalBlockEntry): New types.

	* debug-mono-symfile.c
	(_mono_debug_address_from_il_offset): Moved here from ../jit/debug.c.

svn path=/trunk/mono/; revision=12483
2003-03-13 22:26:23 +00:00
Martin Baulig bc7d3d1c3c 2003-03-13 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Call ig.BeginScope() and
	ig.EndScope() when compiling with debugging info; call
	LocalBuilder.SetLocalSymInfo _after_ opening the scope.

svn path=/trunk/mcs/; revision=12482
2003-03-13 22:20:42 +00:00
Martin Baulig 70fb2cac9e 2003-03-13 Martin Baulig <[email protected]>
Added basic support for lexical scopes.  This is just to tell a
	debugger that a local variable is only available in a specific
	lexical scope and that another variable of the same name may exist
	in another lexical scope.  See debugger/test/TestLexicalScope.cs
	for examples.

	* MonoSymbolTable.cs (LexicalScopeEntry): New class.
	(LocalVariableEntry): Added `BlockIndex' field which specifies the
	lexical scope of this variable.

	* MonoSymbolWriter.cs (SourceBlock): Removed, we're now using
	LexicalScopeEntry instead.

svn path=/trunk/mcs/; revision=12481
2003-03-13 22:18:53 +00:00
Gonzalo Paniagua Javier 46059274db 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRuntime.cs: Cache no longer have a Dispose method.

	* System.Web/HttpServerUtility.cs: removed MonoTODO.

	* System.Web.Caching/Cache.cs:
	* System.Web.Caching/CacheDefinitions.cs:
	* System.Web.Caching/CacheDependency.cs:
	* System.Web.Caching/CacheEntry.cs:
	* System.Web.Caching/CacheExpires.cs:
	* System.Web.Caching/ExpiresBuckets.cs: reformatted, make class status
	page happier. Does not work yet (wait for the next patch).

	* System.Web.SessionState/HttpSessionState.cs: implemented CodePage.

	* System.Web.SessionState/SessionStateModule.cs: initial stuff to make
	it work.

svn path=/trunk/mcs/; revision=12480
2003-03-13 19:44:44 +00:00
Gonzalo Paniagua Javier 81b4982aec Stubbed all of these
svn path=/trunk/mcs/; revision=12479
2003-03-13 19:36:41 +00:00
Gonzalo Paniagua Javier f84c69c393 oops. did the commit in the wrong tree
svn path=/trunk/mcs/; revision=12478
2003-03-13 19:33:25 +00:00
Gonzalo Paniagua Javier 31e90cb37e 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: throw an exception when the executable cannot be found.

svn path=/trunk/mcs/; revision=12477
2003-03-13 19:20:32 +00:00
Gonzalo Paniagua Javier 019f67dea2 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added error code 2.

svn path=/trunk/mcs/; revision=12476
2003-03-13 19:16:38 +00:00
Gonzalo Paniagua Javier 068985a8a9 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* io-layer/processes.c: included Jerome Laban's patch and call
	SetLastError when the executable is not found.

	* metadata/process.c: ret can be any non-zero value accroding to MS doc.

svn path=/trunk/mono/; revision=12475
2003-03-13 19:15:22 +00:00
Martin Willemoes Hansen 3ba7791843 * Credited myself in Test/Mono.Directory.LDAP/BindSimpleTest.cs and
Test/Mono.Directory.LDAP/QueryRootDSE.cs

svn path=/trunk/mcs/; revision=12474
2003-03-13 18:30:44 +00:00
Martin Willemoes Hansen 759d8fa112 * Credited myself in CollectionTest.cs,
ConversionTest.cs and DateAndTimeTest.cs

svn path=/trunk/mcs/; revision=12473
2003-03-13 18:27:06 +00:00
Martin Willemoes Hansen fb585dffda * Removed AllTests.cs and TheTests.cs
* NUnit20ified NameTableTests.cs, SelectNodesTests.cs,
          XmlAttributeCollectionTests.cs, XmlAttributeTests.cs,
          XmlCDataSectionTests.cs, XmlCharacterDataTests.cs,
          XmlCommentTests.cs, XmlDeclarationTests.cs,
          XmlDocumentFragmentTests.cs, XmlDocumentTests.cs,
          XmlDocumentTypeTests.cs, XmlElementTests.cs,
          XmlEntityReferenceTests.cs, XmlNamespaceManagerTests.cs,
          XmlNodeListTests.cs, XmlNodeReaderTests.cs,
          XmlNodeTests.cs, XmlProcessingInstructionTests.cs,
          XmlSignificantWhitespaceTests.cs, XmlTextReaderTests.cs,
          XmlTextTests.cs, XmlTextWriterTests.cs,
          XmlWhiteSpaceTests.cs, XmlWriterTests.cs,
          XPathNavigatorEvaluateTests.cs, XPathNavigatorMatchesTests.cs,
          XPathNavigatorTests.cs, makefile.gnu, System.XML_linux_test.args
        * Commited Atsushi Eno changes to System.XML_test.build

svn path=/trunk/mcs/; revision=12472
2003-03-13 18:16:01 +00:00
Miguel de Icaza 9645f1c8a3 Add s390 packages
svn path=/trunk/mono/; revision=12471
2003-03-13 15:50:12 +00:00
Martin Willemoes Hansen 07eebc458a * Removed AllTests.cs, System.Configuration.Install/AllTests.cs
System.Configuration.Install/ChangeLog
* NUnit2ified makefile.gnu, system_configuration_install_linux_test.args,
* Added System.Configuration.Install/FakeTest.cs

svn path=/trunk/mcs/; revision=12470
2003-03-13 09:42:54 +00:00
Jackson Harper 71f0fad3f0 * ILParser.jay: Create TypeRefs instead of types, define methods.
svn path=/trunk/mcs/; revision=12468
2003-03-13 06:44:03 +00:00
Jackson Harper bb620d68e3 * makefile, makefile.gnu: Add MethodTable and TypeRef to build.
svn path=/trunk/mcs/; revision=12467
2003-03-13 06:40:19 +00:00
Jackson Harper 7f4f43337b * ClassTable.cs: Add Method tables to Class tables, add method to get a
class's method table.
	* CodeGen.cs: Add Method to add methods :p
	* MethodTable.cs: Add file, this class is used to add methods to a class.

svn path=/trunk/mcs/; revision=12466
2003-03-13 06:38:07 +00:00
Per Arneng 15c23f78bc Added MailHeader to handle the mail headers
svn path=/trunk/mcs/; revision=12465
2003-03-12 23:20:03 +00:00
Martin Willemoes Hansen 36f97bb144 * NUnit2ified makefile.gnu, Test/dslib_linux_test.args
Test/makefile.gnu, Test/Mono.Directory.LDAP/BindSimpleTest.cs
          Test/Mono.Directory.LDAP/QueryRootDSE.cs
        * Renamed Test/Mono.Directory.LDAP/QueryRootDSE.cs to QueryRootDSETest.cs
        * Removed Test/NUnit.Prefs, Test/Mono.Directory.LDAP/AllTests.cs
        * Fixed Mono.Directory.LDAP/LDAP.cs casting of null to object.

svn path=/trunk/mcs/; revision=12463
2003-03-12 21:39:08 +00:00
Martin Willemoes Hansen 3139142b2d * Removed AllTests.cs not need for NUnit 2.0
svn path=/trunk/mcs/; revision=12462
2003-03-12 14:26:36 +00:00
Martin Willemoes Hansen 0941f7731e * Added makefile.gnu
* Added microsoftvisualbasic_test.args

svn path=/trunk/mcs/; revision=12461
2003-03-12 14:25:44 +00:00
Martin Willemoes Hansen d17f0f395c * Patched makefile.gnu to work with the new NUnit2 tests
* Added makefile.gnu
        * Added microsoftvisualbasic_test.args
        * Removed AllTests.cs not need for NUnit 2.0
        * Updated CollectionTest.cs, ConversionTest.cs and
          DateAndTimeTest.cs to NUnit 2.0

svn path=/trunk/mcs/; revision=12460
2003-03-12 14:24:47 +00:00
Alan Tam ade77dd8de 2003-03-12 Alan Tam <[email protected]>
* DataSet.cs: Fixed a bug that the file written does not close correctly.

svn path=/trunk/mcs/; revision=12459
2003-03-12 14:07:00 +00:00
Alan Tam 86c5cbad8e 2003-03-12 Alan Tam <[email protected]>
* XmlDataDocument.cs: Still need to print tag for the DataSet if there
        is no data at all.

svn path=/trunk/mcs/; revision=12458
2003-03-12 14:04:39 +00:00
Miguel de Icaza b696ec6c57 2003-03-12 Elan Feingold <[email protected]>
* XmlCustomFormatter.cs: Correct signature, Implement
	ToByteArrayBase64

	* XmlSerializationWriter.cs: Fix prototype.

	* XmlSerializer.cs: Implements Deserialize().

2003-03-12  Elan Feingold <[email protected]>

	* XmlTextReader.cs: When throwing a ReaderException, show what
	character was the culprit

svn path=/trunk/mcs/; revision=12456
2003-03-12 05:43:46 +00:00
Miguel de Icaza eadff8e5ac Small improvement
svn path=/trunk/mcs/; revision=12454
2003-03-12 05:18:06 +00:00
Miguel de Icaza 30c5052e18 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:

svn path=/trunk/mcs/; revision=12453
2003-03-12 05:03:09 +00:00
Jackson Harper e8cfc430fa * TypeRef.cs: New file, used for pairing types and their names.
svn path=/trunk/mcs/; revision=12452
2003-03-12 03:21:41 +00:00
Jackson Harper 0439c156f3 //
// Mono.ILASM.TypeRef
//
// Author(s):
//  Jackson Harper ([email protected])
//
// (C) 2003 Jackson Harper, All rights reserved
//

using PEAPI;
using System;


namespace Mono.ILASM {

	public class TypeRef {

		public readonly PEAPI.Type Type;
		public readonly string FullName;

		public TypeRef (PEAPI.Type type, string full_name)
		{
			Type = type;
			FullName = full_name;
		}

		public override string ToString ()
		{
			return FullName;
		}
	}

}

svn path=/trunk/mcs/; revision=12451
2003-03-12 03:20:15 +00:00
César Natarén c12ec83c48 Fixed typo.
svn path=/trunk/mcs/; revision=12447
2003-03-12 01:39:40 +00:00
César Natarén da85ef05a2 mcs/class: Added directories Microsoft.JScript and Microsoft.Vsa that will have the runtime and CodeDom support for the JScript compiler.
svn path=/trunk/mcs/; revision=12446
2003-03-12 01:28:03 +00:00
César Natarén c239d683b6 Added Microsoft.JScript assembly and namespace, that will be used by the Jscript compiler.
svn path=/trunk/mcs/; revision=12445
2003-03-12 01:22:25 +00:00
César Natarén 03d303d95e Added the IVsa interfaces that are used for runtime support of script engines.
svn path=/trunk/mcs/; revision=12444
2003-03-12 01:16:18 +00:00
Rafael Teixeira 7e5b5b7ad0 2003/03/11 Rafael Teixeira <[email protected]>
* makefile.gnu : use $RUNTIME for all targets
					 actually run the compiled program on 'test-gtk' target 
	* mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
						handle doubled-doublequotes (VB idiom to escape a doublequote)

svn path=/trunk/mcs/; revision=12436
2003-03-11 22:55:33 +00:00
Jean-Marc Andre 666c4f3279 2003-03-1 Jean-Marc Andre <[email protected]>
svn path=/trunk/mcs/; revision=12429
2003-03-11 20:25:46 +00:00
Jean-Marc Andre c5e20f4a54 2003-03-11: Jean-Marc ANDRE <[email protected]>
* RemotingConfigurationTest: a unit test for RemotingConfiguration

svn path=/trunk/mcs/; revision=12428
2003-03-11 20:22:03 +00:00
Miguel de Icaza 7fe441a8e2 Make this compile with a C compiler
svn path=/trunk/mcs/; revision=12415
2003-03-11 00:21:45 +00:00
Miguel de Icaza 7a8db76c16 Flush
svn path=/trunk/mono/; revision=12413
2003-03-10 21:48:21 +00:00
Alexandre Pigolkine 7131f36d63 check in for Steven Stewart
svn path=/trunk/mcs/; revision=12412
2003-03-10 21:06:34 +00:00
Joel Basson ae2f8c58af *** empty log message ***
svn path=/trunk/mcs/; revision=12409
2003-03-10 20:53:52 +00:00
Joel Basson d8fe60dcf7 2003-03-10 Joel Basson <[email protected]>
* Update Demo.cs to reflect current status, and got rid termination bug

svn path=/trunk/mcs/; revision=12408
2003-03-10 20:47:13 +00:00
Joel Basson ccfeba1171 2003-03-10 Joel Basson <[email protected]>
*	PictureBox.cs

svn path=/trunk/mcs/; revision=12407
2003-03-10 20:25:42 +00:00
Alan Tam ca5e24f1a6 2003-03-11 Alan Tam <[email protected]>
* XslTransform.cs: Fixed a bug when no args is passed

svn path=/trunk/mcs/; revision=12406
2003-03-10 16:19:02 +00:00
Alan Tam 6fcef570a7 2003-03-10 Alan Tam <[email protected]>
* XslTransform.cs: Implemented boolean, number and string parameters.
        (Node Set and Node Iterator parameters and Extension Objects are left.)
        * XsltAttributeList.cs: Loosened access modifiers.

svn path=/trunk/mcs/; revision=12405
2003-03-10 15:30:02 +00:00
Zoltan Varga 1fa0fb7c1e 2003-03-10 Zoltan Varga <[email protected]>
* ILGenerator.cs: Propagate maxstack info along branches.

svn path=/trunk/mcs/; revision=12404
2003-03-10 15:10:46 +00:00
Daniel Morgan 55dc40239c 2003-03-10 Daniel Morgan <[email protected]>
* System.Data.SqlClient/SqlDataReader.cs: when
	the data reader is closed, this SqlDataReader referenced
	in SqlConnection needs to be null

	* System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
	have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
	the data reader needs to be immediately closed, and 0 returned
	as the number of rows added or refreshed

svn path=/trunk/mcs/; revision=12403
2003-03-10 11:58:50 +00:00
Martin Willemoes Hansen 5066f43f01 * Fixed some spelling errors in class/doc/TemplateTest.cs
svn path=/trunk/mcs/; revision=12402
2003-03-10 08:07:18 +00:00
Gonzalo Paniagua Javier 3f3247b3ee 2003-03-10 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs:
	* BaseCompiler.cs:
	* CachingCompiler.cs:
	* CompilationResult.cs:
	* GlobalAsaxCompiler.cs:
	* PageCompiler.cs:
	* UserControlCompiler.cs: recompile the page if dependencies change.

svn path=/trunk/mcs/; revision=12401
2003-03-10 06:41:26 +00:00
Jackson Harper ffafc65698 * PEAPI.cs: (ImplAttr) Add Optil implementation flag (not supported
in first release of CLR)
	(Class) And Name property

svn path=/trunk/mcs/; revision=12399
2003-03-10 04:38:54 +00:00
Jackson Harper 32622154e5 * ILParser.jay: Set Call Conventions and Implementation Flags
svn path=/trunk/mcs/; revision=12398
2003-03-10 04:35:42 +00:00
Per Arneng 3f7490d56d Added more comments
svn path=/trunk/mcs/; revision=12395
2003-03-09 23:32:31 +00:00
Per Arneng cfda453755 Added comments to the code
svn path=/trunk/mcs/; revision=12394
2003-03-09 23:26:04 +00:00
Per Arneng 0dc5c9c672 Replaced by IAttachmentEncoder.cs
svn path=/trunk/mcs/; revision=12393
2003-03-09 22:57:55 +00:00
Per Arneng e1142c0258 Added UUEncoding for attachments.
Created and Attachment encoder interface which
Base64 and UUEncode implements.

svn path=/trunk/mcs/; revision=12392
2003-03-09 22:39:31 +00:00
Miguel de Icaza 0ab2bf8e96 Update Download page
svn path=/trunk/mono/; revision=12391
2003-03-09 20:44:16 +00:00
Miguel de Icaza ccc0beb590 Update FAQ
svn path=/trunk/mono/; revision=12390
2003-03-09 20:35:42 +00:00
Jackson Harper cfcc66dad5 * main.c: Ouput implements clause as a comma seperated list.
svn path=/trunk/mono/; revision=12382
2003-03-09 18:53:01 +00:00
Jackson Harper 8c465f32cf * ILParser.jay: Add implemented interfaces
svn path=/trunk/mcs/; revision=12381
2003-03-09 18:05:37 +00:00
Joel Basson 134a4d39ff 2003-03-09 Joel Basson <[email protected]>
* Frame.cs should have been GroupBox.cs

2

svn path=/trunk/mcs/; revision=12380
2003-03-09 17:40:52 +00:00
Alexandre Pigolkine 0bd69525b5 TrackBar control by Aleksey Ryabchuk ([email protected]), changes to monostub.c
svn path=/trunk/mcs/; revision=12379
2003-03-09 17:38:41 +00:00
Jackson Harper f80a0cf289 * ExternTable.cs: Do not verify the existence of external types
svn path=/trunk/mcs/; revision=12378
2003-03-09 17:31:29 +00:00
Jackson Harper 8c352a4411 * ILParser.jay: Create method attributes
svn path=/trunk/mcs/; revision=12368
2003-03-09 07:30:37 +00:00
Sebastien Pouliot 612798aa1a 2003-03-09 Sebastien Pouliot <[email protected]>
* makefile: Removed cert2spc and sn from linux build (as
	Mono.Security assembly isn't, yet, part of the linux build).
	* makefile.gnu: Removed (not required for tools).

svn path=/trunk/mcs/; revision=12367
2003-03-09 05:32:42 +00:00
Sebastien Pouliot e3464fe2d0 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile: Added SN.
	* makefile.gnu: New. Copy of makefile.

svn path=/trunk/mcs/; revision=12366
2003-03-09 04:49:12 +00:00
Sebastien Pouliot b2d623265a 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile.gnu: Trying to fix the build (makefile works on Windows
	so I'm not sure about this fix).

svn path=/trunk/mcs/; revision=12365
2003-03-09 03:50:32 +00:00
Sebastien Pouliot 0bdad2daca 2003-03-08 Sebastien Pouliot <[email protected]>
* sn.cs: New. (Incomplete) SN (StrongName) tool.
	* sectools.build: Updated build for SN.

svn path=/trunk/mcs/; revision=12364
2003-03-09 03:21:29 +00:00
Sebastien Pouliot 60d7983777 2003-03-08 Sebastien Pouliot <[email protected]>
* makefile: Removed cert2spc and secutil tools and added reference
	to makefile inside security directory.
	* makefile.gnu: Same.

svn path=/trunk/mcs/; revision=12363
2003-03-09 03:11:19 +00:00
Sebastien Pouliot 953d4eee5a 2003-03-08 Sebastien Pouliot <[email protected]>
* ASN1.cs: Removed - now part of Mono.Security assembly
	* cert2spc.cs: Moved to /mcs/tools/security
	* secutil.cs: Moved to /mcs/tools/security

svn path=/trunk/mcs/; revision=12362
2003-03-09 03:09:19 +00:00
Sebastien Pouliot 0a82028970 2003-03-08 Sebastien Pouliot <[email protected]>
* StrongNameTest.cs: New. Unit tests for StrongNames.

svn path=/trunk/mcs/; revision=12361
2003-03-09 03:01:33 +00:00
Sebastien Pouliot 4ff9723275 2003-03-08 Sebastien Pouliot <[email protected]>
* StrongName.cs: New. Partial implementation for StrongNames.

svn path=/trunk/mcs/; revision=12360
2003-03-09 02:59:55 +00:00
Jackson Harper d97f1f0244 * makefile, makefile.gnu: Add ExternTable to build
svn path=/trunk/mcs/; revision=12359
2003-03-09 00:13:05 +00:00
Jackson Harper 3c81739ee7 * ILParser.jay: Reference external assemblies.
svn path=/trunk/mcs/; revision=12358
2003-03-09 00:11:07 +00:00
Jackson Harper e9ef7a75e5 * CodeGen.cs: Add ExternTable property
* ExternTable.cs: New file, this will is used for pulling
	types and methods from external assemblies.

svn path=/trunk/mcs/; revision=12357
2003-03-09 00:09:43 +00:00
Tim Coleman 0657be2d9c 2003-03-08 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs:
        * list:
                New class added
        * System.Data.OracleClient/OciGlue.cs:
        * System.Data.OracleClient/OracleDataReader.cs:
        * System.Data.OracleClient/OracleLob.cs:
        * System.Data.OracleClient.Oci/OciBindHandle.cs:
        * System.Data.OracleClient.Oci/OciDataType.cs:
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
        * System.Data.OracleClient.Oci/OciErrorHandle.cs:
        * System.Data.OracleClient.Oci/OciHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
        * System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
        * System.Data.OracleClient.Oci/OciServerHandle.cs:
        * System.Data.OracleClient.Oci/OciServiceHandle.cs:
        * System.Data.OracleClient.Oci/OciSessionHandle.cs:
                Small changes
        * System.Data.OracleClient/OracleBoolean.cs:
                Change Null definition
        * System.Data.OracleClient/OracleCommand.cs:
                More implementation, more toward getting ExecuteOracle*
        * System.Data.OracleClient/OracleConnection.cs:
                Add new handle properties
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                Move binding operation to oracle parameter.

svn path=/trunk/mcs/; revision=12356
2003-03-08 22:37:09 +00:00
Nick Drochak a035aeead1 2003-03-09 Nick Drochak <[email protected]>
* ConsoleTest.cs:
	* ConvertTest.cs: Re-enable tests. They no longer hang the runtime.

svn path=/trunk/mcs/; revision=12354
2003-03-08 15:53:18 +00:00
Gonzalo Paniagua Javier 40fe46fbfd Sorted and added a few files that we already have
svn path=/trunk/mcs/; revision=12352
2003-03-08 09:46:42 +00:00
Jackson Harper ccd24a0962 * test-8.il: New test, test creating a class that inherits from something other then System.Object
svn path=/trunk/mcs/; revision=12351
2003-03-08 08:17:19 +00:00
Jackson Harper 32dca8db3a * Driver.cs: If a file does not exist print an error and exit.
svn path=/trunk/mcs/; revision=12350
2003-03-08 08:14:32 +00:00
Gaurav Vaish 78810b2d74 *** empty log message ***
svn path=/trunk/mcs/; revision=12349
2003-03-08 07:41:07 +00:00
Gaurav Vaish 2aab914051 2003-03-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileCapabilities.cs    : Stub-ing methods / properties.

svn path=/trunk/mcs/; revision=12348
2003-03-08 07:40:47 +00:00
Jackson Harper c64bea1718 * test-6.il: Define class that field references
svn path=/trunk/mcs/; revision=12347
2003-03-08 06:32:07 +00:00
Jackson Harper 37ce700bcd * ILParser.jay: Implemented class inheritence
svn path=/trunk/mcs/; revision=12346
2003-03-08 06:30:23 +00:00
Jackson Harper 1889725aef * ClassTable.cs, CodeGen.cs: Add methods to allow types to inherit from another type.
svn path=/trunk/mcs/; revision=12344
2003-03-08 06:28:10 +00:00
Gonzalo Paniagua Javier 82258160a8 reference System
svn path=/trunk/mcs/; revision=12343
2003-03-08 01:37:43 +00:00
Gonzalo Paniagua Javier 2e07f710b5 Committing for Sebastien
svn path=/trunk/mcs/; revision=12342
2003-03-08 01:29:23 +00:00
Gonzalo Paniagua Javier da8f39e008 Commiting this for Sebastien
svn path=/trunk/mcs/; revision=12341
2003-03-08 01:27:43 +00:00
Sebastien Pouliot 521a745e5d *** empty log message ***
svn path=/trunk/mcs/; revision=12340
2003-03-08 01:11:24 +00:00
Sebastien Pouliot 9a324b18d7 2003-03-07 Sebastien Pouliot ([email protected])
* SoftwarePublisherCertificate.cs: I've no idea how it got there ?

svn path=/trunk/mcs/; revision=12339
2003-03-08 00:50:07 +00:00
Sebastien Pouliot e6349ed837 2003-03-07 Sebastien Pouliot ([email protected])
* SoftwarePublisherCertificateTest.cs: I've no idea how it got there ?

svn path=/trunk/mcs/; revision=12338
2003-03-08 00:45:34 +00:00
Sebastien Pouliot 2a3c48c55e 2003-03-07 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: New. Test vectors for RC4(tm) taken from
	usenet and Netscape SSL version 3 implementation details.
	* MD2ManagedTest.cs: New. Call tests defined in MD2Test class.
	* MD2Test.cs: New. Test vectors defined in RFC1319.

svn path=/trunk/mcs/; revision=12337
2003-03-08 00:33:53 +00:00
Sebastien Pouliot e02b4757d8 2003-03-07 Sebastien Pouliot <[email protected]>
* ARC4Managed.cs: New. Implementation of the Alleged RC4(tm)
	stream cipher in managed code (required for SSL/TLS).
	* CryptoConvert.cs: New. Helper class to help convert between
	Windows crypto structures and .NET crypto classes (required
	for security tools).
	* MD2.cs: New. Abstract class for all MD2 hash implementations.
	* MD2Managed.cs: New. Managed implementation of the MD2 hash
	algorithm (required for old, but still valid, X.509 certificates).
	* RC4.cs: New. Abstract class for all RC4 stream cipher
	implementations.

svn path=/trunk/mcs/; revision=12336
2003-03-08 00:32:44 +00:00
Miguel de Icaza e5c4a84cbf Add more libraries to the list of distribution
svn path=/trunk/mono/; revision=12335
2003-03-07 22:01:07 +00:00
Miguel de Icaza 37eb0d7b73 Also build Npgsql
svn path=/trunk/mcs/; revision=12334
2003-03-07 22:00:04 +00:00
Joel Basson 13fa57b0e3 2003-03-07 Joel Basson <[email protected]>
*	CheckBox.cs
*	RadioButton.cs
*	Frame.cs
*	Added properties: Size and Name
*	Touchups here and there

svn path=/trunk/mcs/; revision=12333
2003-03-07 21:50:16 +00:00
Miguel de Icaza c05310baba Update from Dick
svn path=/trunk/mono/; revision=12332
2003-03-07 21:45:09 +00:00
Miguel de Icaza e6fd7a935d Flush
svn path=/trunk/mono/; revision=12331
2003-03-07 21:09:55 +00:00
Miguel de Icaza 1ec79307d7 :Flush
svn path=/trunk/mono/; revision=12330
2003-03-07 20:42:46 +00:00
Gonzalo Paniagua Javier a922805e83 Fixed the build
svn path=/trunk/mcs/; revision=12329
2003-03-07 19:54:52 +00:00
Alan Tam b2c80f8a7f 2003-03-08 Alan Tam <[email protected]>
* DataRelationCollection.cs: Removed the mis-overridden methods
        * DataRow.cs: Fixed an attribute
        * DataSet.cs: Fixed the modifiers

svn path=/trunk/mcs/; revision=12328
2003-03-07 19:40:10 +00:00
Miguel de Icaza 2d3817802d 2003-03-07 Miguel de Icaza <[email protected]>
* class.c (mono_marshal_load_type_info): Fix buglet:  Noticed when
	fixing a warning for a miss-used prototype, would have cause
	random memory corruption.

svn path=/trunk/mono/; revision=12326
2003-03-07 19:30:37 +00:00
Miguel de Icaza 9685359e9f Add prototype
svn path=/trunk/mono/; revision=12325
2003-03-07 19:22:31 +00:00
Miguel de Icaza 815b0998c7 Add Windows.Forms back again
svn path=/trunk/mcs/; revision=12323
2003-03-07 19:22:12 +00:00
Alp Toker 32fe1cc2a2 Reference the newly-built PEAPI.dll
svn path=/trunk/mcs/; revision=12322
2003-03-07 19:19:08 +00:00
Gonzalo Paniagua Javier 0f62bbab30 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: fixed bug #39280.

svn path=/trunk/mcs/; revision=12321
2003-03-07 18:47:04 +00:00
Gonzalo Paniagua Javier f5af57621e 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: added test for exception when the nase stream is
	closed. Make the reader.CurrentEncoding test work.

svn path=/trunk/mcs/; revision=12320
2003-03-07 18:45:08 +00:00
Miguel de Icaza a58b26be52 Prepare new release
svn path=/trunk/mono/; revision=12318
2003-03-07 18:11:46 +00:00
Miguel de Icaza 6bdff04c53 Prepare new release
svn path=/trunk/mcs/; revision=12318
2003-03-07 18:11:46 +00:00
Alp Toker 6e0bf6461e 2003-03-07 Alp Toker <[email protected]>
* makefile, makefile.gnu: reference PEAPI.dll instead of including
        PEAPI.cs

svn path=/trunk/mcs/; revision=12317
2003-03-07 18:10:43 +00:00
Martin Baulig 22a852a834 2003-03-07 Martin Baulig <[email protected]>
* debug-jit.c: #include <config.h>.

svn path=/trunk/mono/; revision=12315
2003-03-07 15:37:52 +00:00
Martin Baulig 4837d2aeda 2003-03-07 Martin Baulig <[email protected]>
* marshal.c (mono_marshal_free_array): That "TESTFREE %p" was
	getting really annoying ....

svn path=/trunk/mono/; revision=12311
2003-03-07 14:46:24 +00:00
Dick Porter 5388febb0d Thread doc
svn path=/trunk/mono/; revision=12307
2003-03-07 14:26:53 +00:00
Dick Porter d8a85c658c Fix build
svn path=/trunk/mcs/; revision=12306
2003-03-07 14:20:57 +00:00
Paolo Molaro 7249a78449 Using make RUNTIME=something really works for all the modules now.
svn path=/trunk/mcs/; revision=12305
2003-03-07 12:13:50 +00:00
Zoltan Varga 4de19ff60d 2003-03-07 Zoltan Varga <[email protected]>
* reflection.c (fixup_method): added support for array methods.

svn path=/trunk/mono/; revision=12304
2003-03-07 11:28:33 +00:00
Jackson Harper 6cf1cd4875 * makefile, makefile.gnu: Add AssemblyInfo.cs to build
svn path=/trunk/mcs/; revision=12303
2003-03-07 07:21:25 +00:00
Jackson Harper 7c9c58a074 * AssemblyInfo.cs: Bump up version number, this new version is a major
structural change, PEAPI is now being used for code emission.

svn path=/trunk/mcs/; revision=12302
2003-03-07 07:18:22 +00:00
Jackson Harper 3745b4498a * makefile: add some tests
* test-5.il, test-6.il, test-7.il: New tests, test field declaration

svn path=/trunk/mcs/; revision=12301
2003-03-07 07:14:32 +00:00
Jackson Harper 70aa518b5b * codegen/ClassTable.cs: Add method to check for undefined types
* Driver.cs: Check that all types are defined before writing pe file

svn path=/trunk/mcs/; revision=12300
2003-03-07 07:09:27 +00:00
Jackson Harper 562bf06fac * ClassTable.cs: Return ClassDef when defining types
svn path=/trunk/mcs/; revision=12299
2003-03-07 06:50:07 +00:00
Jackson Harper a823dba480 * CodeGen.cs: Use class table for adding type definitions
svn path=/trunk/mcs/; revision=12298
2003-03-07 06:47:20 +00:00
Jackson Harper ad6f78a87a * ILParser.jay: Pass null Location when adding class, concat dottedName pieces
svn path=/trunk/mcs/; revision=12297
2003-03-07 06:42:40 +00:00
Gonzalo Paniagua Javier e8646f87f5 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
	pointing it out.

svn path=/trunk/mcs/; revision=12296
2003-03-07 06:01:57 +00:00
Jackson Harper ea21a88cf5 changelog
svn path=/trunk/mcs/; revision=12295
2003-03-07 05:56:28 +00:00
Jackson Harper f5253e8cd2 * ClassTable.cs: Add method for adding class definitions to the
the table.

svn path=/trunk/mcs/; revision=12294
2003-03-07 05:54:37 +00:00
Jackson Harper f0467745ce * makefile, makefile.gnu: Include PEAPI.cs instead of linking to it, this fixes build but is not ideal.
svn path=/trunk/mcs/; revision=12293
2003-03-07 05:52:10 +00:00
Jackson Harper d7ab125adb * Driver.cs: Change a few calls to match new CodeGen
* makefile: Build with PEAPI
	* makefile.gnu: Build with PEAPI

svn path=/trunk/mcs/; revision=12288
2003-03-07 04:52:24 +00:00
Jackson Harper 1d402fd23b * ILParser.jay: Reconfigure to work with new PEAPI emission system
svn path=/trunk/mcs/; revision=12287
2003-03-07 04:47:20 +00:00
Jackson Harper 70308609be changelog
svn path=/trunk/mcs/; revision=12286
2003-03-07 04:44:34 +00:00
Jackson Harper b4137a6590 * CodeGen.cs: Reconfigure to work with new PEAPI emission system
svn path=/trunk/mcs/; revision=12285
2003-03-07 04:44:00 +00:00
Jackson Harper b99f1dfa0b * ClassTable.cs: Add file, this is a 'table' for storing classes
* Location.cs: Add file, this will eventually be used for marking
	locations in IL files

svn path=/trunk/mcs/; revision=12284
2003-03-07 04:40:00 +00:00
Gonzalo Paniagua Javier 70b2f8cb22 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: implemented IDisposable, make the request stream
	read only. Changed the way of disposing the socket.

	* HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
	handle chunked transfer encoding (no more hangs), added serialization
	stuff, call CheckDisposed at the beginning of methods/properties (not
	in a finally clause).

svn path=/trunk/mcs/; revision=12283
2003-03-07 04:21:25 +00:00
Jackson Harper 05bc7718e1 Forgot ChangeLog
svn path=/trunk/mcs/; revision=12282
2003-03-07 04:21:17 +00:00
Jackson Harper 58dc608f72 * makefile.gnu: Add PEAPI to the build
svn path=/trunk/mcs/; revision=12281
2003-03-07 04:20:41 +00:00
Jackson Harper 1b50e22003 * makefile.gnu: Add file
* list.unix: Add file

svn path=/trunk/mcs/; revision=12280
2003-03-07 04:17:45 +00:00
Jackson Harper 75e221ebc0 * PEAPI.cs: Do not add file extensions to output names
svn path=/trunk/mcs/; revision=12279
2003-03-07 04:17:02 +00:00
Sebastien Pouliot 18c931d4a4 2003-03-06 Sebastien Pouliot <[email protected]>
* list.unix: New. All C# files required to build the assembly.
	* makefile.gnu: New. Makefile to build the assembly under Linux.

svn path=/trunk/mcs/; revision=12278
2003-03-07 03:22:31 +00:00
Sebastien Pouliot 8d979f1d63 2003-03-06 Sebastien Pouliot <[email protected]>
* cert2spc.cs: Update to use the new PKCS7 class (from Mono.Security
	assembly) and AssemblyInfo.cs. Older version was located in /mcs/tools.
	* makefile: New. PROTOTYPE makefile (not tested) for Linux.
	* secutil.cs: Updated to use AssemblyInfo.cs. Older version was located
	in /mcs/tools.
	* sectools.build: New. NAnt build file to build all security tools.

svn path=/trunk/mcs/; revision=12277
2003-03-07 03:04:42 +00:00
Sebastien Pouliot 811c42fb59 2003-03-06 Sebastien Pouliot <[email protected]>
* library.build: added Mono.Security to build, test and clean.

svn path=/trunk/mcs/; revision=12276
2003-03-07 03:02:04 +00:00
Sebastien Pouliot d193ac5650 2003-03-06 Sebastien Pouliot <[email protected]>
* SoftwarePublisherCertificateTest.cs: New. Unit tests for
	using some SPC files generated by cert2spc.

svn path=/trunk/mcs/; revision=12275
2003-03-07 02:42:46 +00:00
Sebastien Pouliot ff27b5062d 2003-03-06 Sebastien Pouliot <[email protected]>
* Mono.Security_test.build: New. NAnt build file for unit tests.

svn path=/trunk/mcs/; revision=12274
2003-03-07 02:40:37 +00:00
Sebastien Pouliot fea6edcaa6 2003-03-06 Sebastien Pouliot <[email protected]>
* SoftwarePublisherCertificate.cs: New. Class to load or create
	SPC files (which are PKCS#7 files containing only certificates
	and CRL).

svn path=/trunk/mcs/; revision=12273
2003-03-07 02:33:43 +00:00
Sebastien Pouliot 10ca74767f 2003-03-06 Sebastien Pouliot <[email protected]>
* ASN1.cs: Updated ASN1 class (from corlib). This file will,
	eventually, be automagically synched with corlib.
	* ASN1Convert.cs: New. Helper class to convert from and to
	ASN1 structures.
	* PKCS7.cs: New. Basic implementation of CMS (Cryptographic
	Message Syntax Standard).

svn path=/trunk/mcs/; revision=12272
2003-03-07 02:32:12 +00:00
Sebastien Pouliot 7d059777c3 2003-03-06 Sebastien Pouliot <[email protected]>
* Mono.Security.build: New. NAnt build file.

svn path=/trunk/mcs/; revision=12271
2003-03-07 02:28:59 +00:00
Miguel de Icaza df1971778d Flush
svn path=/trunk/mono/; revision=12269
2003-03-07 00:31:30 +00:00
Sebastien Pouliot edd1a2ed03 2003-03-06 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Global assembly attributes (version and
	  copyright) for security tools.
	* README: New. Important information about the Mono's security tools

svn path=/trunk/mcs/; revision=12268
2003-03-07 00:30:09 +00:00
Miguel de Icaza c9b36989e5 Flush
svn path=/trunk/mono/; revision=12267
2003-03-07 00:18:55 +00:00
Per Arneng 0ebd723f3d updated
svn path=/trunk/mcs/; revision=12266
2003-03-06 21:19:28 +00:00
Per Arneng ba2c0d13f4 Updated the changelog nd removed the obsolete SmtpMessage.cs
svn path=/trunk/mcs/; revision=12265
2003-03-06 21:16:58 +00:00
Per Arneng 065c9875d8 Added MailMessageWrapper to replace SmtpMessage
svn path=/trunk/mcs/; revision=12264
2003-03-06 21:13:04 +00:00
Gonzalo Paniagua Javier 23dc65d036 forgot this
svn path=/trunk/mcs/; revision=12262
2003-03-06 19:05:53 +00:00
Miguel de Icaza dc8fc64ad0 Flush
svn path=/trunk/mono/; revision=12260
2003-03-06 17:49:31 +00:00
Zoltan Varga c91733841b 2003-03-06 Zoltan Varga <[email protected]>
* ILGenerator.cs (Emit): Do not pop the arguments off the stack for
	ldftn etc. Fixes #39196.

svn path=/trunk/mcs/; revision=12258
2003-03-06 17:12:25 +00:00
Ville Palo 26b0823111 2003-03-06 Ville Palo <[email protected]>
* DataTableTest.cs: More tests for Select ()

svn path=/trunk/mcs/; revision=12257
2003-03-06 15:34:57 +00:00
Nick Drochak b2102cdaae 2003-03-06 Nick Drochak <[email protected]>
* TimeSpan.cs (Negate): Throw exception when value is MinValue.

svn path=/trunk/mcs/; revision=12256
2003-03-06 13:12:52 +00:00
Duncan Mak 7d910decd1 Release 0.22
svn path=/trunk/mono/; revision=12247
2003-03-06 04:55:01 +00:00
Duncan Mak 1ed76d1bd6 Forgot to commit before tagging for the release ;-(
svn path=/trunk/mcs/; revision=12246
2003-03-06 04:07:58 +00:00
Duncan Mak d840117172 Forgot to commit before my tag ;-(
svn path=/trunk/mono/; revision=12245
2003-03-06 04:07:05 +00:00
Aleksey Demakov 6701757fca *** empty log message ***
svn path=/trunk/mcs/; revision=12244
2003-03-06 02:22:49 +00:00
Miguel de Icaza 394fcbfa43 Add key file
svn path=/trunk/mcs/; revision=12243
2003-03-06 02:02:21 +00:00
Miguel de Icaza 1de5080573 2003-03-05 Miguel de Icaza <[email protected]>
* cfold.cs: Catch division by zero in modulus operator during
	constant folding.

svn path=/trunk/mcs/; revision=12242
2003-03-06 02:02:03 +00:00
Miguel de Icaza 8a84316e5f Streams
svn path=/trunk/mcs/; revision=12241
2003-03-06 01:19:14 +00:00
Miguel de Icaza ef0cdbc087 Flush
svn path=/trunk/mcs/; revision=12240
2003-03-06 01:18:27 +00:00
Miguel de Icaza e0dc4d545e Add Compression directory
svn path=/trunk/mcs/; revision=12239
2003-03-06 01:17:58 +00:00
Miguel de Icaza 46908626ab Add SharpZiplib
svn path=/trunk/mcs/; revision=12238
2003-03-06 01:17:10 +00:00
Miguel de Icaza 1e802f2552 release-o-rama preparations
svn path=/trunk/mono/; revision=12237
2003-03-06 00:04:37 +00:00
Gonzalo Paniagua Javier f3609d9a4f 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncoding.cs: fixed bug #38984.

svn path=/trunk/mcs/; revision=12235
2003-03-05 23:45:51 +00:00
Gonzalo Paniagua Javier 5ea869194c 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncodingTest.cs: added a couple of asserts fot zero-length
	arrays.

svn path=/trunk/mcs/; revision=12234
2003-03-05 23:40:43 +00:00
Gonzalo Paniagua Javier 8f389f0504 2003-03-05 Aleksey Demakov <[email protected]>
* ASCIIEncoding.cs:
	* Latin1Encoding.cs: fix GetString (byte[]) and
	GetString (byte[], int, int) for zero-length case.

svn path=/trunk/mcs/; revision=12233
2003-03-05 23:37:21 +00:00
Per Arneng cb9e18ec9d Added classes:
SmtpMessage - A more sofisticated mail container than MailMessage
	MailAddress - A class that represents a mail address
	MailAddressCollection - A collection of mail adresses

Theese classes where added to support the funtionality of serveral
recievers and Cc and Bcc. And also to ensure the format of the
address strings.

svn path=/trunk/mcs/; revision=12230
2003-03-05 21:26:26 +00:00
Miguel de Icaza b585e440d2 2003-03-05 Miguel de Icaza <[email protected]>
* category.cs (CategoryUtils.CategoryFromName): Use StartsWith
	("Is") instead of a substring for (0,2) which was throwing an
	exception causing Category.None to be returned

svn path=/trunk/mcs/; revision=12228
2003-03-05 20:28:45 +00:00
Miguel de Icaza 8ea6302fef Flush
svn path=/trunk/mono/; revision=12224
2003-03-05 20:01:31 +00:00
Alexandre Pigolkine c16696b4ac check in for Dennis Hayes, see ChangeLog
svn path=/trunk/mcs/; revision=12222
2003-03-05 19:18:52 +00:00
Dick Porter e2ec869918 2003-03-05 Dick Porter <[email protected]>
* MemoryStreamTest.cs: Some more tests

svn path=/trunk/mcs/; revision=12219
2003-03-05 15:25:18 +00:00
Dietmar Maurer b89e80ddd2 2003-03-05 Dietmar Maurer <[email protected]>
* monobitset.c (mono_bitset_set_all): impl.

svn path=/trunk/mono/; revision=12218
2003-03-05 14:47:51 +00:00
Martin Baulig 4f16b08e11 2003-03-05 Martin Baulig <[email protected]>
* debug-jit.c, debug-jit.h: New files.  Moved all JIT-specific
	stuff here.

	* debug.c (mono_debug_add_method): Moved to debug-jit.c.
	(mono_debug_handle, mono_debug_initialized): Made them global.
	(replace_suffix): Removed, this isn't used anymore.
	(record_line_number): Moved to debug-jit.c.
	(debug_generate_method_lines): Moved to debug-jit.c
	(generate_line_number): Renamed to
	_mono_debug_generate_line_number() and made it global.
	(debug_update_il_offsets): Moved to debug-jit.c
	(mono_debug_get_image): Renamed to _mono_debug_get_image() and made
	it global.
	(address_from_il_offset): Renamed to
	_mono_debug_address_from_il_offset() and made it global.
	(il_offset_from_position): Moved to debug-jit.c
	(lookup_method): Renamed to _mono_debug_lookup_method() and made
	it global.
	(mono_debug_add_method): Moved to debug-jit.c.
	(mono_debug_create_notification_function): Use two new functions
	mono_debug_codegen_breakpoint() and mono_debug_codegen_ret()
	instead of x86_breakpoint() and x86_ret().

svn path=/trunk/mono/; revision=12217
2003-03-05 13:08:39 +00:00
Gonzalo Paniagua Javier 8428d51a90 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* MemoryStream.cs: general fixes and reformatted. Passes all tests in
	the new MemoryStreamTest.

svn path=/trunk/mcs/; revision=12213
2003-03-05 11:12:52 +00:00
Gonzalo Paniagua Javier 1d71da917c 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* MemoryStreamTest.cs: some nunit2 love. Added a bunch of new tests.

svn path=/trunk/mcs/; revision=12212
2003-03-05 11:06:42 +00:00
Paolo Molaro 7b9054aa4f Wed Mar 5 11:35:54 CET 2003 Paolo Molaro <[email protected]>
* monoresgen.cs: patch from Ian MacLean <[email protected]>
	to add the /compile option.

svn path=/trunk/mcs/; revision=12211
2003-03-05 10:40:28 +00:00
Gonzalo Paniagua Javier b89975d19e 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
	ToArray even after closing the stream.

svn path=/trunk/mcs/; revision=12204
2003-03-05 02:24:44 +00:00
Gonzalo Paniagua Javier 0cc2a5b351 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
* Queue.cs: fixed bug #39046.

svn path=/trunk/mcs/; revision=12202
2003-03-05 00:17:19 +00:00
Sebastien Pouliot b837de481d 2003-03-04 Sebastien Pouliot <[email protected]>
* crypto: Updated crypto status and plan

svn path=/trunk/mono/; revision=12201
2003-03-04 23:39:06 +00:00
Sebastien Pouliot cf3674f046 2003-03-04 Sebastien Pouliot <[email protected]>
* System.Security.build: Added a new output System.Security_cmp.dll
	which links with mscorlib. This version is to be used to generate
	the class status web page (required for CorCompare).

svn path=/trunk/mcs/; revision=12200
2003-03-04 23:35:13 +00:00
Sebastien Pouliot bba3d6b99d 2003-03-04 Sebastien Pouliot <[email protected]>
* makefile: System.Security (corlib) class status now compared
	with System.Security_cmp.dll (mscorlib) as required for CorCompare.

svn path=/trunk/mono/; revision=12199
2003-03-04 23:33:56 +00:00
Gonzalo Paniagua Javier c5fad80d07 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* SqlException.cs: implemented GetObjectData ().

svn path=/trunk/mcs/; revision=12195
2003-03-04 20:47:52 +00:00
Gonzalo Paniagua Javier fd91897a61 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: implemented GetObjectData ().

svn path=/trunk/mcs/; revision=12194
2003-03-04 20:44:31 +00:00
Gonzalo Paniagua Javier a05736ef43 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added RunInstallerAttribute.cs
	* System.ComponentModel/RunInstallerAttribute.cs: New file.

svn path=/trunk/mcs/; revision=12193
2003-03-04 20:27:43 +00:00
Gonzalo Paniagua Javier 44d61c55f9 Added missing file
svn path=/trunk/mcs/; revision=12192
2003-03-04 20:13:17 +00:00
Rafael Teixeira 442bf03103 2003/03/04 Rafael Teixeira <[email protected]>
* mb-parser.jay: added rule for Imports with alias
	* mb-parser.jay: Friend (internal) modifier was missing,
					 Shared modifier was expecting Static token erroneously
					 Modules must accept only a static constructor rule added
					 Constant declaration rule added
	* makefile & makefile.gnu : actually run the compiled program on test target

svn path=/trunk/mcs/; revision=12191
2003-03-04 19:58:58 +00:00
Tim Coleman 193d88d82e 2003-03-04 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
		fix again

svn path=/trunk/mcs/; revision=12188
2003-03-04 19:29:38 +00:00
Tim Coleman ec3b48576b 2003-03-04 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs :
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs :
	* System.Data.OracleClient.Oci/OciLobLocator.cs :
	* System.Data.OracleClient/OracleLob.cs :
		Fix win32 build

svn path=/trunk/mcs/; revision=12187
2003-03-04 19:27:36 +00:00
Atsushi Eno f6a5fc26b6 2003-03-05 Atsushi Enomoto <[email protected]>
* XmlDocumentFragment.cs, XmlElement.cs :
	  modified InnerXml (fragment type from Element to DocumentFragment).

	* XmlElement.cs : fixed WriteTo() ns check.
	* XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
	* XmlNode.cs : fixed ConstructNamespaceManager().

	* XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
	  IsPubid with an int arg.
	* XmlReader.cs : changed to use XmlChar.cs (its role is as same as
	  XmlConstructs.cs).
	* XmlTextReader.cs :
	  improved error messages with line info.
	  / checking matching start and end tags.
	  / prevents the apperance of multiple root elements. (patch by Erik)
	  fixed and refactored ReadInnerXml() and ReadOuterXml()
	  changed to use XmlChar.cs.

	* XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
	  (It will help c14n implementation.)
	  / blocks multiple attribute output with element node.

svn path=/trunk/mcs/; revision=12186
2003-03-04 18:39:58 +00:00
Paolo Molaro 5b0dbd3c3f Tue Mar 4 18:03:27 CET 2003 Paolo Molaro <[email protected]>
* socket-io.c:  handle case when AF_INET6 and AF_IPX are not defined
	(pointed out by Michael Adams).

svn path=/trunk/mono/; revision=12184
2003-03-04 17:08:50 +00:00
Gonzalo Paniagua Javier 307f7f0f90 use the freshly built mcs.exe
svn path=/trunk/mcs/; revision=12181
2003-03-04 15:31:23 +00:00
Tim Coleman 8c246fd3c7 2003-03-04 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/IOciDescriptorHandle.cs:
	* System.Data.OracleClient.Oci/IOciHandle.cs:
	* System.Data.OracleClient.Oci/OciDescriptorType.cs:
		Removed. These are no longer used.
	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
		Add new class
	* list:
		Add System.Data.OracleClient.Oci/OciParameterDescriptor.cs
		Rem System.Data.OracleClient.Oci/IOciDescriptorHandle.cs
		Rem System.Data.OracleClient.Oci/IOciHandle.cs
		Rem System.Data.OracleClient.Oci/OciDescriptorType.cs
	* System.Data.OracleClient/OciGlue.cs:
		Move the OCIAttrGet* methods into OciHandle
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient/OracleParameter.cs:
		Change the way that columns are bound and described
	* System.Data.OracleClient.Oci/OciBindHandle.cs:
	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
	* System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorHandle.cs:
	* System.Data.OracleClient.Oci/OciHandle.cs:
	* System.Data.OracleClient.Oci/OciLobLocator.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:
		All handles now derive from OciHandle, and these classes
		have been rewritten as such.  Also attempted to implement
		the Dispose () methods for these classes.
	* System.Data.OracleClient.Oci/OciHandleType.cs:
		Add descriptor types into here because handles and
		descriptors are used in many of the same OCI functions.

svn path=/trunk/mcs/; revision=12176
2003-03-04 13:50:35 +00:00
Dick Porter 7efdf97a06 And the changelog
svn path=/trunk/mcs/; revision=12173
2003-03-04 12:56:00 +00:00
Dick Porter 24bb51445f 2003-03-04 Dick Porter <[email protected]>
* icall.c: Temporarily reverted the Double and Single ToString()
	change, because it broke nunit.

svn path=/trunk/mono/; revision=12172
2003-03-04 12:55:46 +00:00
Dick Porter 0230634cf9 2003-03-04 Dick Porter <[email protected]>
* Single.cs: Temporarily reverted the Double and Single ToString()
	change, because it broke nunit.

svn path=/trunk/mcs/; revision=12171
2003-03-04 12:52:51 +00:00
Paolo Molaro 3f3eaf781b Tue Mar 4 12:40:58 CET 2003 Paolo Molaro <[email protected]>
* object.h, threads.h: make include files compatible with C++
	(patch by Jerome Laban <[email protected]>).

svn path=/trunk/mono/; revision=12168
2003-03-04 11:46:08 +00:00
Gonzalo Paniagua Javier a58d7e54e8 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* makefile:
	* class/library.build:
	* class/makefile.gnu: added Mono.Posix and System.Management.

svn path=/trunk/mcs/; revision=12167
2003-03-04 01:28:55 +00:00
Gonzalo Paniagua Javier 4db56925dc 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: reworked to use SessionDictionary.
	* SessionDictionary.cs: implemented serialization/deserialization.

svn path=/trunk/mcs/; revision=12166
2003-03-04 01:23:51 +00:00
Tim Coleman a69be26d7d 2003-03-03 Tim Coleman <[email protected]>
* unix.args: Added
                System.Runtime.InteropServices/HandleRef.cs

svn path=/trunk/mcs/; revision=12165
2003-03-03 23:56:18 +00:00
Tim Coleman 78c4ae6e8e 2003-03-03 Tim Coleman <[email protected]>
* HandleRef.cs: Add this struct

svn path=/trunk/mcs/; revision=12164
2003-03-03 23:55:11 +00:00
Miguel de Icaza 77c3b5453b 2003-03-03 Miguel de Icaza <[email protected]>
* NameValueCollection.cs: Uncoment constructor, an old MCS bug
	prevented this from working.  Removed test for nullitude of col,
	as it would have aborted anyways on the dereference in the base
	constructor call.

svn path=/trunk/mcs/; revision=12163
2003-03-03 23:13:02 +00:00
Pedro Martínez Juliá 0e27d1f07a 2003-03-04 Pedro Mart�nez Juli� <[email protected]>
* Double.cs: Changed ToString method. Added NumberFormatInfo support
    with DoubleFormatter class.
    * Single.cs: Changed ToString method. Added NumberFormatInfo support
    with SingleFormatter class.
    * DoubleFormatter.cs: New class with Double formatting functions.
    * SingleFormatter.cs: New class with Single formatting functions.

svn path=/trunk/mono/; revision=12162
2003-03-03 23:02:31 +00:00
Pedro Martínez Juliá a11e947126 2003-03-04 Pedro Mart�nez Juli� <[email protected]>
* Double.cs: Changed ToString method. Added NumberFormatInfo support
    with DoubleFormatter class.
    * Single.cs: Changed ToString method. Added NumberFormatInfo support
    with SingleFormatter class.
    * DoubleFormatter.cs: New class with Double formatting functions.
    * SingleFormatter.cs: New class with Single formatting functions.

svn path=/trunk/mcs/; revision=12162
2003-03-03 23:02:31 +00:00
Sebastien Pouliot 1f51cf036a 2003-03-03 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProvider.cs: Delay keypair generation event when
	keysize is a constructor parameter (major speed improvment when
	importing keys). Removed NotSupportedException when CspParameter is
	used in constructor (required for forthcoming security tools).

svn path=/trunk/mcs/; revision=12161
2003-03-03 22:55:21 +00:00
Sebastien Pouliot 96e4254985 2003-03-03 Sebastien Pouliot <[email protected]>
* XmlDsigBase64TransformTest.cs: Simplified some parts when fixing
	XPath test.

svn path=/trunk/mcs/; revision=12160
2003-03-03 22:46:24 +00:00
Sebastien Pouliot 15e8f4607c 2003-03-03 Sebastien Pouliot <[email protected]>
* System.Security_test.build: Updated build file to stop linking
	with MS assemblies (and like with Mono's corlib instead).

svn path=/trunk/mcs/; revision=12159
2003-03-03 22:44:33 +00:00
Sebastien Pouliot 8aeb1c2772 2003-03-03 Sebastien Pouliot <[email protected]>
* DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
	XML generation).
	* RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
	XML generation).
	* XmlDsigBase64Transform.cs: Fixed problem when using XPath.

svn path=/trunk/mcs/; revision=12158
2003-03-03 22:43:28 +00:00
Sebastien Pouliot ef46767f99 2003-03-03 Sebastien Pouliot <[email protected]>
* System.Security.build: Updated build file to stop linking with
	MS assemblies (and like with Mono's corlib instead).

svn path=/trunk/mcs/; revision=12157
2003-03-03 22:42:35 +00:00
Jean-Marc Andre 7f67f25643 2003-03-03 Jean-Marc Andre <[email protected]>
* RemotingServicesTest.cs: New unit test added

svn path=/trunk/mcs/; revision=12156
2003-03-03 21:24:31 +00:00
Miguel de Icaza 89a1c3131a 2003-03-03 Miguel de Icaza <[email protected]>
* interface.cs (Interface.DefineMembers): Avoid defining members
	twice.

svn path=/trunk/mcs/; revision=12152
2003-03-03 19:54:34 +00:00
Paolo Molaro 280ba73ac7 Speeling.
svn path=/trunk/mono/; revision=12151
2003-03-03 19:14:54 +00:00
Gonzalo Paniagua Javier 3a14f3caf3 New assembly and new class.
svn path=/trunk/mcs/; revision=12150
2003-03-03 19:10:00 +00:00
Paolo Molaro 14fdc4cc45 New entry.
svn path=/trunk/mono/; revision=12148
2003-03-03 17:51:20 +00:00
Lluis Sanchez 87e33fb506 Added IContributeDynamicSink.cs, IContributeEnvoySink.cs, IContributeObjectSink.cs
svn path=/trunk/mcs/; revision=12145
2003-03-03 17:16:13 +00:00
Lluis Sanchez 67f0439956 Added ContextAttribute.cs
svn path=/trunk/mcs/; revision=12144
2003-03-03 16:57:58 +00:00
Lluis Sanchez e84f2a9426 Added UrlAttribute.cs
svn path=/trunk/mcs/; revision=12143
2003-03-03 16:54:15 +00:00
Lluis Sanchez 07f0b96bc0 * unix.args: added ConstructionLevelActivator.cs, ContextLevelActivator.cs,
RemoteActivationAttribute.cs

svn path=/trunk/mcs/; revision=12142
2003-03-03 16:45:02 +00:00
Lluis Sanchez 21a8a1c413 * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
in the runtime.

svn path=/trunk/mcs/; revision=12141
2003-03-03 16:44:10 +00:00
Lluis Sanchez 6f0ebcd9a5 * ProxyAttribute.cs: Implemented.
* RealProxy.cs: Added stubs for some missing methods.
	* RemotingProxy.cs: The activation constructor now creates the ConstructionCall
	  message and collects the context properties.
	  Activation of objects now use IActivator instances.

svn path=/trunk/mcs/; revision=12140
2003-03-03 16:42:50 +00:00
Lluis Sanchez ca2024d4b8 * ConstructionCall.cs: Added internal constructor. Added setter for activation attributes.
Some other minor corrections.
	* EnvoyTerminatorSink.cs: Message now redirected to current context's client sink chain.
	* MethodCall.cs: Added method for copying messages.

svn path=/trunk/mcs/; revision=12139
2003-03-03 16:42:17 +00:00
Lluis Sanchez d0ee41d86a * LeaseManager.cs: Added method for removing an object from the lease manager.
* LifetimeServices.cs: Added method for removing an object from the lease manager.

svn path=/trunk/mcs/; revision=12138
2003-03-03 16:41:36 +00:00
Lluis Sanchez ceb4b2a9b2 * Contexts.cs : Management of the default context moved to the runtime.
Implemented creation of the client context, server context, object and envoy sinks.
	  Added method for creating a new context.
	* CrossContextChannel.cs : Removed check for construction messages. Now construction
	  go through the IActivators.

svn path=/trunk/mcs/; revision=12137
2003-03-03 16:41:06 +00:00
Lluis Sanchez ae2aa396a8 * ChannelServices.cs: Minor corrections.
* CrossAppDomainChannel.cs: Context is now restored when exiting the domain.

svn path=/trunk/mcs/; revision=12136
2003-03-03 16:40:35 +00:00
Lluis Sanchez 42a1ccef13 * ActivationServices.cs: Added method for creating a proxy from a list
of activation attributes. This is used by System.Activator.
	  Added method for creating a ConstructionCall from a list of activation attributes.
	  This is used from RemotingProxy.
	* ConstructionLevelActivator.cs: Added. Implements an IActivator that constructs an object.
	* ContextLevelActivator.cs: Added. Implements an IActivator that constructs a context.
	* RemoteActivationAttribute.cs: Added.
	* RemoteActivator.cs: Used RemoteActivationAttribute in the creation of the server object.
	* UrlAttribute.cs: Removed some "throw new NotImplementedException ()".

svn path=/trunk/mcs/; revision=12135
2003-03-03 16:39:42 +00:00
Lluis Sanchez d521b3e35c * Identity.cs: Added property to check if an identity is connected (it is remotely accesible)
* ObjRef.cs: Added internal helper method for getting the server type of an ObjRef.
	* RemotingServices.cs: Implemented Disconnect method. Added support for custom proxy
	  creating using ProxyAttribute. Added support for activation attributes in creation
	  of proxies. Some other minor corrections.
	* ServerIdentity.cs: minor corrections.

svn path=/trunk/mcs/; revision=12134
2003-03-03 16:39:13 +00:00
Rafael Teixeira 5e05883f3a 2003/03/03 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
	* mb-parser.jay: tokens for above semi-keywords, and rules for option directives
	* driver.cs: integrates command line options with parser flags for option directives
	* makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile 
	  the test source and pipes it through 'less', also added a Extended Syntax source

svn path=/trunk/mcs/; revision=12133
2003-03-03 16:39:09 +00:00
Lluis Sanchez 638444081f * Activator.cs: Added support for activation using activation attributes.
* AppDomain.cs: Added internal method to get the default context from the runtime.

svn path=/trunk/mcs/; revision=12132
2003-03-03 16:38:21 +00:00
Lluis Sanchez fdda64a77a * appdomain.c: Added method for initializing the default context of
a domain. Added internal call for getting the default context.
	* appdomain.h: Added context variable in MonoDomain struct.
	* domain.c: mono_domain_set also sets the default context of the domain
	* icall.c: Mapped internal method InternalGetDefaultContext.
	* object.c: mono_object_get_virtual_method returns always a remoting
	wrapper if the object is a transparent proxy.
	mono_runtime_invoke_array: when creating an object by calling the
	constructor, if the created object is a proxy, then the constructor should
	be called using the a remoting wrapper.

svn path=/trunk/mono/; revision=12131
2003-03-03 16:35:22 +00:00
Dick Porter 3420a036b9 2003-03-03 Dick Porter <[email protected]>
* io.c (CreateFile): Try opening directories readonly, so that
	timestamps can be adjusted.  Patch by Elan Feingold
	<[email protected]>.

svn path=/trunk/mono/; revision=12121
2003-03-03 13:23:20 +00:00
Dick Porter 86593032da 2003-03-03 Dick Porter <[email protected]>
* socket-io.c (create_sockaddr_from_object): Rename sockaddr_un
	variable so it compiles on solaris.  Problem spotted by
	Christopher Taylor <[email protected]>

svn path=/trunk/mono/; revision=12120
2003-03-03 13:19:26 +00:00
Gonzalo Paniagua Javier 054a3a3368 2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added default sessionState section and handler.

svn path=/trunk/mono/; revision=12119
2003-03-03 12:23:11 +00:00
Gonzalo Paniagua Javier 2342462642 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
* list: added SessionConfig.cs and SessionStateSectionHandler.cs

	* System.Web/HttpHelper.cs: store the values in an ArrayList to get
	them in correct order.

	* System.Web.Configuration/ModuleItem.cs: it's not public.
	* System.Web.Configuration/ModulesConfiguration.cs: it's not public.

	* System.Web.SessionState/SessionConfig.cs:
	* System.Web.SessionState/SessionStateSectionHandler.cs: new files to
	read <sessionState> configuration.

svn path=/trunk/mcs/; revision=12118
2003-03-03 12:21:34 +00:00
Gonzalo Paniagua Javier 1727ec736b 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs:
	(Move): don't use File.Move.

	* DirectoryInfo.cs: fixed Name property.

	Fixes bug #37755.

svn path=/trunk/mcs/; revision=12116
2003-03-03 10:33:05 +00:00
Nick Drochak 66b156e640 2003-03-03 Nick Drochak <[email protected]>
* StringTest.cs: Catch exception the .NET docs say should not be thrown

svn path=/trunk/mcs/; revision=12115
2003-03-03 09:25:57 +00:00
Jackson Harper f4575fd229 * PEAPI.cs: Add file
* README.txt: Add file

svn path=/trunk/mcs/; revision=12113
2003-03-03 00:29:47 +00:00
Jackson Harper 3eb9288a4c Add PEAPI directory
svn path=/trunk/mcs/; revision=12112
2003-03-03 00:27:40 +00:00
Gonzalo Paniagua Javier c6b2a68290 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs:
	(SendTo): fix from Jerome Laban <[email protected]>.

svn path=/trunk/mcs/; revision=12111
2003-03-03 00:12:24 +00:00
Miguel de Icaza cc1640ad2a Fix typo
svn path=/trunk/mcs/; revision=12110
2003-03-02 23:00:30 +00:00
Miguel de Icaza c4c409cc20 flush
svn path=/trunk/mono/; revision=12109
2003-03-02 22:54:56 +00:00
Miguel de Icaza c15b0b5e01 Flushety flush
svn path=/trunk/mono/; revision=12108
2003-03-02 22:26:59 +00:00
Miguel de Icaza b459bf6d1e Flush Flush
svn path=/trunk/mono/; revision=12106
2003-03-02 21:15:44 +00:00
Gonzalo Paniagua Javier 875ad2454d 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
* DirectoryInfo.cs: changed ToString to match MS behavior.
	* Path.cs: further fixes to GetDirectoryName to return null in the
	same cases that MS does.

	Fixes bug #38387.

svn path=/trunk/mcs/; revision=12105
2003-03-02 17:18:51 +00:00
Gonzalo Paniagua Javier d4182fdfac 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: fixed a couple of bugs reported in #35906.

svn path=/trunk/mcs/; revision=12104
2003-03-02 16:42:52 +00:00
Sebastien Pouliot a89d081fef 2003-03-02 Sebastien Pouliot <[email protected]>
* list.unix: Added XmlSignature.cs.

svn path=/trunk/mcs/; revision=12103
2003-03-02 16:13:14 +00:00
Gonzalo Paniagua Javier 01a8a4e3cb 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
* AppSettingsReader.cs: fixed bug #38755.

svn path=/trunk/mcs/; revision=12102
2003-03-02 16:12:55 +00:00
Sebastien Pouliot 18e37330b6 2003-03-02 Sebastien Pouliot <[email protected]>
* KeyInfoNameTest.cs: Better naming.
	* KeyInfoRetrievalMethodTest.cs: Splitted a test.

svn path=/trunk/mcs/; revision=12101
2003-03-02 16:12:33 +00:00
Sebastien Pouliot 2d91f6724f 2003-03-02 Sebastien Pouliot <[email protected]>
* DSAKeyValue.cs: New XML generation is commented. Old string technique
	did a better job to match MS implementation.
	* DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
	* RSAKeyValue.cs: New XML generation is commented. Old string technique
	did a better job to match MS implementation.
	* Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
	* Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
	* SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
	* SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
	* Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
	* XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
	* XmlDsigXPathTransform.cs: Added missing Algorithm URL.
	* XmlSignature.cs: New. Private contants (construct similar to WSE).

svn path=/trunk/mcs/; revision=12100
2003-03-02 16:09:19 +00:00
Alexandre Pigolkine edde6cf456 checkin for Dennis Hayes, see changeLog for details
svn path=/trunk/mcs/; revision=12099
2003-03-02 09:12:37 +00:00
Sebastien Pouliot a2bdd1500f 2003-03-01 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Fix for some (lame) PKCS1 v1.5 signatures done
	without specifying an OID.

svn path=/trunk/mcs/; revision=12097
2003-03-01 22:29:49 +00:00
Alexandre Pigolkine 9e7d9a15bd see ChangeLog for details
svn path=/trunk/mcs/; revision=12096
2003-03-01 22:24:20 +00:00
Alexandre Pigolkine ba55638ad6 see ChangeLog for details
svn path=/trunk/mcs/; revision=12092
2003-03-01 21:20:31 +00:00
Sebastien Pouliot 4926072584 2003-03-01 Sebastien Pouliot <[email protected]>
* X509CertificateCollection.cs: Fixed bugs in AddRange
	(added the collection not the certificates in the collection).

svn path=/trunk/mcs/; revision=12091
2003-03-01 21:16:05 +00:00
Alexandre Pigolkine 949c372713 added stubs to compile SWF
svn path=/trunk/mcs/; revision=12090
2003-03-01 20:49:10 +00:00
Gonzalo Paniagua Javier 37659d83e3 the cvsroot's been changed to 'mono'
svn path=/trunk/mono/; revision=12089
2003-03-01 19:41:41 +00:00
Miguel de Icaza 980892ae50 Fix from Gonz
svn path=/trunk/mcs/; revision=12088
2003-03-01 19:40:35 +00:00
Jackson Harper 00d6b70cf6 * Image.cs: Write Metadata root
svn path=/trunk/mcs/; revision=12087
2003-03-01 19:27:35 +00:00
Jackson Harper 5ea6e1b9fc * MDStream.cs: Add methods to write metadata streams
svn path=/trunk/mcs/; revision=12086
2003-03-01 19:21:03 +00:00
Gonzalo Paniagua Javier c8ed8a5d53 2003-03-01 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	(get_info_from_assembly_name): don't leak value.

	* icall.c:
	(ves_icall_System_Reflection_Assembly_GetFilesInternal): initialize
	result.

svn path=/trunk/mono/; revision=12085
2003-03-01 19:19:58 +00:00
Miguel de Icaza 946769ee24 Patch from Aleksey Ryabchuk <[email protected]>
svn path=/trunk/mcs/; revision=12084
2003-03-01 19:13:08 +00:00
Gonzalo Paniagua Javier 3472c164c3 2003-03-01 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added ModuleResolveEventHandler.cs

	* System.Reflection/Assembly.cs: added missing stuff. Only ModuleResolve
	event is left out to avoid changing MonoReflectionAssembly by now.
	* System.Reflection/ModuleResolveEventHandler.cs: delegate.

svn path=/trunk/mcs/; revision=12083
2003-03-01 18:57:54 +00:00
Jackson Harper d036dd6f19 * MetaDataRoot.cs: Add method to write Metadata
svn path=/trunk/mcs/; revision=12082
2003-03-01 18:54:54 +00:00
Gonzalo Paniagua Javier 9b9cbe14c1 2003-03-01 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: fixed bugs #38939 and #38940. No need for separate
	unix/windows/unc shares code paths.

svn path=/trunk/mcs/; revision=12081
2003-03-01 17:32:30 +00:00
Gonzalo Paniagua Javier 065279f2be documented MONO_CFG_DIR environment variable
svn path=/trunk/mono/; revision=12080
2003-03-01 16:02:36 +00:00
Paolo Molaro aa392b5f39 Sat Mar 1 15:32:56 CET 2003 Paolo Molaro <[email protected]>
* assembly.c: export mono_image_load_references ().
	* class.c: handle function pointers. mono_class_from_name() now
	supports nested type names directly.

svn path=/trunk/mono/; revision=12079
2003-03-01 14:38:59 +00:00
Paolo Molaro 5fc61b3a3b Sat Mar 1 12:36:45 CET 2003 Paolo Molaro <[email protected]>
* jit.c: remove unnecessary assert when inlining.

svn path=/trunk/mono/; revision=12075
2003-03-01 11:40:46 +00:00
Miguel de Icaza fbcf51142f Flush
svn path=/trunk/mono/; revision=12069
2003-02-28 20:08:10 +00:00
Zoltan Varga 53f7fd7b57 2003-02-28 Zoltan Varga <[email protected]>
* ILGenerator.cs (Emit): Add fixup for already created methods and
	fields. Do not add fixup for types since their table index do not
	change any more.

svn path=/trunk/mcs/; revision=12067
2003-02-28 18:41:17 +00:00
Zoltan Varga eb4a498e41 2003-02-28 Zoltan Varga <[email protected]>
* reflection.h reflection.c: Encode already created dynamic methods
	and fields correctly as a DEF instead of a REF.

	* reflection.c: Get rid of the force_ref argument to
	mono_image_typedef_or_ref since it was wrong in the first place.

svn path=/trunk/mono/; revision=12066
2003-02-28 18:36:47 +00:00
Zoltan Varga fd41207b81 2003-02-28 Zoltan Varga <[email protected]>
* StringTest.cs: added String constructor tests.

svn path=/trunk/mcs/; revision=12064
2003-02-28 16:25:03 +00:00
Zoltan Varga 6e9001f1e2 2003-02-28 Zoltan Varga <[email protected]>
* string-icalls.c: add error checking to string constructors according
	to the MSDN docs.

svn path=/trunk/mono/; revision=12063
2003-02-28 16:24:03 +00:00
Zoltan Varga 14f6bf0594 2003-02-28 Zoltan Varga <[email protected]>
* reflection.c: Emit types in the order their TypeBuilders were
	created. Previously, a new table index was assigned to each type before
	the tables were emitted. This was wrong because the signature blob
	might already refer to a type by its original table index.

svn path=/trunk/mono/; revision=12062
2003-02-28 15:24:37 +00:00
Gonzalo Paniagua Javier 3ca2ba376e added 3 missing assemblies for windows install target
svn path=/trunk/mcs/; revision=12061
2003-02-28 14:51:49 +00:00
Per Arneng f4c01192b0 Updated with a change to the parsing code. some servers
send 200-xxxxx instead of 200 xxxxxx. Thnx Elan Feingold

svn path=/trunk/mcs/; revision=12059
2003-02-28 10:55:57 +00:00
Reggie Burnett dd52b9a794 * Added several external functions to Win32funcs.cs
* Added necessary LoadLibrary to RichTextEdit to load common control library

svn path=/trunk/mcs/; revision=12058
2003-02-28 08:43:13 +00:00
Aleksey Demakov 658b2bb4a2 *** empty log message ***
svn path=/trunk/mcs/; revision=12057
2003-02-28 08:39:18 +00:00
Gonzalo Paniagua Javier dcc8dfb3af 2003-02-28 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: patch from Elan Feingold <[email protected]>. Fixes
	NullReferenceException when the callback is null.

svn path=/trunk/mcs/; revision=12056
2003-02-28 08:00:46 +00:00
Christopher Bockner d670275678 Removed the unsafe dependencies from the driver.
svn path=/trunk/mcs/; revision=12049
2003-02-28 03:48:13 +00:00
Miguel de Icaza 0b975bbbb3 update release page
svn path=/trunk/mono/; revision=12048
2003-02-27 23:13:33 +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
Rodrigo Moya 454dcdbf14 2002-10-01 Luis Fernandez <[email protected]>
* System.Data/DataColumn.cs:
	* System.Data/DataRow.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTable.cs: some fixes and implementation.

svn path=/trunk/mcs/; revision=7921
2002-10-01 22:24:31 +00:00
Duncan Mak f1e2dea617 2002-10-01 Duncan Mak <[email protected]>
* mono/os/Makefile.am: Add gc_wrapper.h.

svn path=/trunk/mono/; revision=7920
2002-10-01 22:19:18 +00:00
Duncan Mak aeb0f402b0 2002-10-01 Duncan Mak <[email protected]>
* runtime/Makefile.am: Fix the path for monoresgen.exe.

svn path=/trunk/mono/; revision=7919
2002-10-01 22:11:33 +00:00
Rodrigo Moya a9c99094e5 2002-09-28 Vladimir Vukicevic� <[email protected]>
* System.Data.OleDb/OleDbConnection.cs: Close
	reader properly in call to ExecuteScalar().

svn path=/trunk/mcs/; revision=7918
2002-10-01 22:09:43 +00:00
Miguel de Icaza 07dadd18e6 Bump release to 0.16
svn path=/trunk/mono/; revision=7917
2002-10-01 21:32:16 +00:00
Miguel de Icaza dfacc317bb Update NEWS file
svn path=/trunk/mono/; revision=7916
2002-10-01 21:31:55 +00:00
Miguel de Icaza 50d954e407 2002-10-01 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Catch the case where
	DoNumericPromotions returns true,

	(Binary.DoNumericPromotions): Simplify the code, and the tests.

svn path=/trunk/mcs/; revision=7915
2002-10-01 21:19:19 +00:00
Gonzalo Paniagua Javier d3654afcba removed double topdir definition
svn path=/trunk/mcs/; revision=7914
2002-10-01 19:24:03 +00:00
Gonzalo Paniagua Javier 055226227b little fixes
svn path=/trunk/mcs/; revision=7913
2002-10-01 19:22:01 +00:00
Miguel de Icaza 4df4036832 Sorry
svn path=/trunk/mcs/; revision=7912
2002-10-01 19:13:26 +00:00
Miguel de Icaza 0e54ff0114 Fix
svn path=/trunk/mcs/; revision=7911
2002-10-01 19:06:01 +00:00
Miguel de Icaza fdac2e4440 Add to the build
svn path=/trunk/mcs/; revision=7910
2002-10-01 18:55:18 +00:00
Martin Baulig de5d618bba 2002-10-01 Martin Baulig <[email protected]>
* debug.c: Don't create an .il file for the dynamic symbol file.

svn path=/trunk/mono/; revision=7908
2002-10-01 18:44:01 +00:00
Martin Baulig f5895c6858 2002-10-01 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Don't emit methods and line numbers for
	the dynamic symbol file, just write the type table.  We can easily
	have an external helper program which creates a symbol file for an
	IL file.

svn path=/trunk/mono/; revision=7907
2002-10-01 18:42:50 +00:00
Gonzalo Paniagua Javier b927f644a1 2002-10-01 Gonzalo Paniagua Javier <[email protected]>
* MonoProperty.cs:
	* PropertyInfo.cs: fixed bug #31535.

svn path=/trunk/mcs/; revision=7906
2002-10-01 16:15:12 +00:00
Dick Porter eea28c3d23 2002-10-01 Dick Porter <[email protected]>
* timed-thread.c: Kludge for CREATE_SUSPENDED thread creation.
	Unfortunately libgc uses the same thread suspend technique that I
	want to, and the two don't mix: libgc will deadlock when it tries
	to stop the world if a thread has already been suspended by
	someone else.  Just do the simple suspended create rather than the
	general purpose thread suspension for now.

	* threads.c: Pass create flags to the timed_thread create call, to
	implement suspended thread creation.  ResumeThread() partially
	implemented, to cope with the case where a newly created but
	suspended thread is launched.

2002-10-01  Dick Porter  <[email protected]>

	* threads.c (ves_icall_System_Threading_Thread_Start_internal):
	Only add the handle to the cleanup array when we're about to
	launch the thread.  Bug 31425 deadlocked when the test was run on
	mono under w32.

svn path=/trunk/mono/; revision=7905
2002-10-01 15:59:52 +00:00
Martin Baulig 8574ac82b3 2002-10-01 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerInfo): Added mono_runtime_invoke().

svn path=/trunk/mono/; revision=7904
2002-10-01 13:38:49 +00:00
Martin Baulig 391cd6613a 2002-10-01 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for properties.

svn path=/trunk/mono/; revision=7903
2002-10-01 13:37:49 +00:00
Rodrigo Moya 3dfe241caa 2002-10-01 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/AllTests.cs: added SqlBoolean test.

2002-10-01  ville <[email protected]>

	* System.Data.SqlClient/SqlBooleanTest.cs: new test suite for
	SqlBoolean class.

svn path=/trunk/mcs/; revision=7899
2002-10-01 09:18:23 +00:00
Gonzalo Paniagua Javier 8be3df2b99 2002-09-30 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.

	* System.Web/HttpApplication.cs: use the static file handler.
	* System.Web/HttpForbiddenHandler.cs: handler to forbid access.
	* System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
	allowed.

	* System.Web/HttpUtility.cs: finished all UrlDecode methods.
	* System.Web/MimeTypes.cs: map from file extension to MIME type.
	* System.Web/StaticFileHandler.cs: serves static files

svn path=/trunk/mcs/; revision=7897
2002-09-30 23:38:44 +00:00
Dick Porter 1c4c28a73b 2002-09-30 Dick Porter <[email protected]>
* sockets.c (ioctlsocket): Set non-blocking mode in a better way,
	with fcntl.

svn path=/trunk/mono/; revision=7896
2002-09-30 14:43:10 +00:00
Dick Porter 367d52afe7 2002-09-30 Dick Porter <[email protected]>
* Win32Exception.cs: Sorted the errors, added EINPROGRESS

svn path=/trunk/mcs/; revision=7895
2002-09-30 14:42:48 +00:00
Dietmar Maurer 10fbbd6de6 2002-09-30 Dietmar Maurer <[email protected]>
* monoburg.c (main): add option to specify default costs, added
	experimental code to handle several input files.

svn path=/trunk/mono/; revision=7894
2002-09-30 13:58:49 +00:00
John Sohn 783ac37230 * Form.cs: Site property now calls base class
* FormTest.cs: set label position on test form
	* Label.cs: implemented more methods
	* makefile: stub no longer links to gc library

svn path=/trunk/mcs/; revision=7893
2002-09-30 04:27:56 +00:00
Nick Drochak cf85b96e59 2002-09-29 Nick Drochak <[email protected]>
* XmlTextReaderTest.cs (AssertEndDocument): Add messages for Asserts()
	so we can tell where this is failing.

svn path=/trunk/mcs/; revision=7890
2002-09-29 15:00:18 +00:00
Nick Drochak bb5893fd12 2002-09-29 Nick Drochak <[email protected]>
* DecimalTest.cs: Change from Assert() with == to AssertEquals(). This
	gets the tests to pass on linux, but they shouldn't need that.  Now
	to find out why.  This seems deep...

svn path=/trunk/mcs/; revision=7889
2002-09-29 14:42:31 +00:00
Gonzalo Paniagua Javier f2e90236bb 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
* list: added PageHandlerFactory.

	* System.Web/HttpApplication.cs:
	* System.Web/HttpApplicationFactory.cs:
	* System.Web/HttpRequest.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web.Compilation/AspElements.cs:
	* System.Web.Compilation/AspGenerator.cs:
	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/PageCompiler.cs:
	* System.Web.Compilation/TemplateFactory.cs: Modified file.
	* System.Web.Configuration/HttpCapabilitiesBase.cs:
	* System.Web.Hosting/SimpleWorkerRequest.cs:
	* System.Web.UI/PageHandlerFactory.cs:
	* System.Web.UI/PageParser.cs:
	* System.Web.UI/TemplateControlParser.cs: we are now able to compile
	pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest.

svn path=/trunk/mcs/; revision=7880
2002-09-28 07:44:14 +00:00
Gonzalo Paniagua Javier 7a2d262277 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
* ThreadPool.cs: set IsThreadPoolThread before starting the worker.

svn path=/trunk/mcs/; revision=7879
2002-09-28 07:08:58 +00:00
Gonzalo Paniagua Javier 2cf49db82d 2002-09-27 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: give more information when wrong parameters passed.

svn path=/trunk/mcs/; revision=7878
2002-09-27 23:28:45 +00:00
Martin Baulig 12b25d25c1 2002-09-27 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Don't use sigaction() on win32.

svn path=/trunk/mono/; revision=7876
2002-09-27 19:11:06 +00:00
Dick Porter bb16b9c077 cygwin needs to link another library now
svn path=/trunk/mono/; revision=7875
2002-09-27 18:04:02 +00:00
Paolo Molaro 8edca8c7e4 Fri Sep 27 18:55:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: unaligned store fix from Mark Crichton
	<[email protected]>.

svn path=/trunk/mono/; revision=7873
2002-09-27 16:57:46 +00:00
Paolo Molaro c01ccfa6f9 Dum de dum, need to escape %.
svn path=/trunk/mono/; revision=7870
2002-09-27 14:56:19 +00:00
Paolo Molaro 139aad4a64 Make it print the unknown operator value.
svn path=/trunk/mono/; revision=7869
2002-09-27 14:53:20 +00:00
Martin Baulig bf97c0f83d 2002-09-27 Martin Baulig <[email protected]>
* Assembly.cs (Assembly.GetReferencedAssemblies): Implemented.

svn path=/trunk/mcs/; revision=7868
2002-09-27 14:51:16 +00:00
Martin Baulig 2ef83b66ab 2002-09-27 Martin Baulig <[email protected]>
* icall.c ("System.Reflection.Assembly::GetReferencedAssemblies"):
	New interncall.

svn path=/trunk/mono/; revision=7867
2002-09-27 14:49:22 +00:00
Dick Porter 604542bea7 2002-09-27 Dick Porter <[email protected]>
* configure.in: Check for semaphore.h.  Patch for BSD from
	[email protected] (Julio Merino).

2002-09-27  Dick Porter  <[email protected]>

	* semaphores.c: Only include semaphore.h if it's present. Patch
	for BSD from [email protected] (Julio Merino).

svn path=/trunk/mono/; revision=7865
2002-09-27 13:54:16 +00:00
Paolo Molaro 71178114f2 Fri Sep 27 15:38:31 CEST 2002 Paolo Molaro <[email protected]>
* assembly.h, assembly.c: use a sane API to hook into the assembly
	loading process instead of a useless special-purpouse hack
	(ngen needs a hook, too, for example).

svn path=/trunk/mono/; revision=7864
2002-09-27 13:42:47 +00:00
Paolo Molaro e000f7dd39 Fri Sep 27 15:06:29 CEST 2002 Paolo Molaro <[email protected]>
* MonoCustomAttrs.cs: applied patch by "Si Jingnan"
	<[email protected]> to return also derived types.

svn path=/trunk/mcs/; revision=7863
2002-09-27 13:09:06 +00:00
Dick Porter dd1e6a5c10 2002-09-27 Dick Porter <[email protected]>
* processes.c: Pass environment and working directory to the
	daemon when forking.  Don't let argv[0] be duplicated when looking
	for the program name.  Implement EnumProcessModules (simple
	version for now, lsof-style later if needed), GetModuleBaseName,
	{Get,Set}ProcessWorkingSetSize (just faked, because the vm hints
	aren't available on Linux).

	* process-private.h: Store the process name, and the working set
	min and max

	* handles.c:
	* handles-private.h: New functions to store and retrieve an array
	of strings in the scratch space

	* daemon.c: Don't miss deleting some handles when a client exits
	(we used to rely on the client doing the final cleanup, but
	obviously if the client is no longer there the daemon has to do
	it).

	Process forking now sets the environment and the working
	directory.

	* io.c: Don't confuse fd 0 with an unassigned handle struct

	* atomic.h: Add a google cache alternative to the msdn URL

2002-09-27  Dick Porter  <[email protected]>

	* threads.c (mono_thread_init): Call GetCurrentProcess() so
	io-layer can set up some process handle info.  Not needed on w32,
	but doesn't hurt either.

	* process.c: Pass the program name in the second parameter to
	CreateProcess, so the path is searched.  Include the working
	directory. Implemented process name, process enumeration, and some
	process detail internal calls.

	* icall.c: Added internal calls for process lookup, and some
	process details

svn path=/trunk/mono/; revision=7858
2002-09-27 12:02:56 +00:00
Dick Porter 2203f51858 2002-09-27 Dick Porter <[email protected]>
* interp.c: Tell glib what the program name is, by passing it the
	name of the managed file we're executing

2002-09-27  Dick Porter  <[email protected]>

	* mono.c: Tell glib what the program name is, by passing it the
	name of the managed file we're executing

svn path=/trunk/mono/; revision=7857
2002-09-27 11:44:02 +00:00
Dick Porter 0037b58a94 2002-09-27 Dick Porter <[email protected]>
* Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
	ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
	Pass the working directory to Start.  Pass the program and args in
	one string to be used with the second arg of CreateProcess, so it
	will search the path.

svn path=/trunk/mcs/; revision=7856
2002-09-27 11:39:50 +00:00
Miguel de Icaza d481bfdf60 2002-09-27 Miguel de Icaza <[email protected]>
* ecore.cs (EventExpr.Emit): Instead of emitting an exception,
	report error 70.

svn path=/trunk/mcs/; revision=7854
2002-09-27 05:13:57 +00:00
Martin Baulig 4bb37638b2 2002-09-26 Martin Baulig <[email protected]>
* trampoline.c (x86_magic_trampoline): Don't insert the breakpoint
	trampoline into the vtable, also use it for non-virtual methods,
	remove the breakpoint when done.

svn path=/trunk/mono/; revision=7850
2002-09-26 21:45:46 +00:00
Martin Baulig e04dfe9f14 2002-09-26 Martin Baulig <[email protected]>
* debug.c (debug_load_method_lines): Block SIGCHLD while running
	monodis.

svn path=/trunk/mono/; revision=7848
2002-09-26 20:31:18 +00:00
Miguel de Icaza 5f0e61d090 2002-09-26 Miguel de Icaza <[email protected]>
* ecore.cs (ConvertNumericExplicit): It is not enough that the
	conversion exists, but it is also required that the conversion be
	performed.  This manifested in "(Type64Enum) 2".

svn path=/trunk/mcs/; revision=7847
2002-09-26 20:18:07 +00:00
Martin Baulig 0eb502a6bd Incremented version number.
svn path=/trunk/mono/; revision=7844
2002-09-26 19:41:44 +00:00
Martin Baulig 7487ebe7dc 2002-09-26 Martin Baulig <[email protected]>
* debug.c: Reworked the whole debugging stuff.  We have now one
	single `mono_debug_handle' which keeps a hashtable of
	`AssemblyDebugInfo's (which may have different debugging formats).
	The AssemblyDebugInfo is now created when the assembly is loaded,
	but never when adding a class/type.

	* mono.c: Initialize debugging stuff after corlib and the assembly
	have been loaded.

svn path=/trunk/mono/; revision=7843
2002-09-26 19:41:20 +00:00
Martin Baulig 519d06df66 2002-09-26 Martin Baulig <[email protected]>
* assembly.c (mono_install_open_assembly_hook): New global
	function to install a function to be invoked each time a new
	assembly is loaded.
	(mono_assembly_open): Run this callback function if set.

	* debug-mono-symfile.c: Put back line numbers for the dynamic
	symbol file and also record the .il file as source file.  This
	allows us to install the temporary symbol file as `file.dbg' just
	like a compiler-generated one.

svn path=/trunk/mono/; revision=7842
2002-09-26 19:40:56 +00:00
Nick Zigarovich a1f03ed082 Corrected typo in gc.c (BOHEM vs BOEHM)
svn path=/trunk/mono/; revision=7841
2002-09-26 19:40:15 +00:00
Miguel de Icaza 110f012a21 2002-09-26 Miguel de Icaza <[email protected]>
* class.cs (TypeManager.AddMethod): The fix is not to change
	AddEnum, because that one was using a fully qualified name (every
	DeclSpace derivative does), but to change the AddMethod routine
	that was using an un-namespaced name.  This now correctly reports
	the duplicated name.

svn path=/trunk/mcs/; revision=7840
2002-09-26 18:33:24 +00:00
Miguel de Icaza ad25b25d96 Small hack to avoid the make -f makefile.gnu
svn path=/trunk/mcs/; revision=7839
2002-09-26 18:22:30 +00:00
Gonzalo Paniagua Javier ee5cee70b6 2002-09-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs:
	* SimpleWorkerRequest.cs: workaround for bug #31245.

svn path=/trunk/mcs/; revision=7838
2002-09-26 18:01:06 +00:00
Gonzalo Paniagua Javier 61ed992ec2 2002-09-26 Gonzalo Paniagua Javier <[email protected]>
* Activator.cs: little fix in CreateInstance (Type, bool).

svn path=/trunk/mcs/; revision=7837
2002-09-26 17:55:05 +00:00
Dietmar Maurer eb89850b2e 2002-09-26 Dietmar Maurer <[email protected]>
* monoburg.c (emit_state): include additional fields to handle
	register allocation in dag_mode

svn path=/trunk/mono/; revision=7836
2002-09-26 13:35:51 +00:00
Miguel de Icaza e80c1f995b 2002-09-26 Miguel de Icaza <[email protected]>
* class.cs: Revert patch until I can properly fix it.  The issue
	is that we have a shared Type space across all namespaces
	currently, which is wrong.

	Options include making the Namespace a DeclSpace, and merge
	current_namespace/current_container in the parser.

svn path=/trunk/mcs/; revision=7833
2002-09-26 05:30:03 +00:00
Miguel de Icaza 643cb4cece Fix the build
svn path=/trunk/mcs/; revision=7832
2002-09-26 04:19:13 +00:00
Gonzalo Paniagua Javier c04e247ac7 oops
svn path=/trunk/mcs/; revision=7831
2002-09-26 01:36:38 +00:00
Gonzalo Paniagua Javier a71b02136a 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: added some missing methods.
	* HttpApplicationFactory.cs: get event handlers for the application.
	* HttpAsyncResult.cs: little fixes.
	* HttpRequest.cs: make Encoding work even with no worker request.

svn path=/trunk/mcs/; revision=7830
2002-09-26 01:33:33 +00:00
Gonzalo Paniagua Javier 2e92d252d3 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: implemented ObBubbleEvent.
	* Page.cs: temporary workaround to make POST work with xsp server.

svn path=/trunk/mcs/; revision=7829
2002-09-26 00:56:48 +00:00
Gonzalo Paniagua Javier 73094fe20a 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed OnDataBinding.

svn path=/trunk/mcs/; revision=7828
2002-09-26 00:51:05 +00:00
Gonzalo Paniagua Javier f3cf15ac50 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed bug #31235 by copying a few lines from GetMethods to
	GetProperties. Also avoid calling g_slist_length in GetProperties and
	GetMethods.

svn path=/trunk/mono/; revision=7827
2002-09-25 23:46:37 +00:00
Miguel de Icaza e90b829c52 2002-09-25 Miguel de Icaza <[email protected]>
* cs-parser.jay: Improve error reporting when we get a different
	kind of expression in local_variable_type and
	local_variable_pointer_type.

	Propagate this to avoid missleading errors being reported.

svn path=/trunk/mcs/; revision=7823
2002-09-25 22:34:49 +00:00
Martin Baulig ad95a40a96 Always create a line entry for the last line.
svn path=/trunk/mono/; revision=7822
2002-09-25 21:49:31 +00:00
Martin Baulig 5fef166878 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Use pointers
	instead of guint64 for addresses and added prologue/epilogue info.

svn path=/trunk/mono/; revision=7819
2002-09-25 21:43:08 +00:00
Miguel de Icaza ebcbb5fca0 2002-09-25 Miguel de Icaza <[email protected]>
* ecore.cs (ImplicitReferenceConversion): treat
	TypeManager.value_type as a target just like object_type.   As
	code like this:

	ValueType v = 1;

	Is valid, and needs to result in the int 1 being boxed before it
	is assigned to the value type v.

svn path=/trunk/mcs/; revision=7818
2002-09-25 21:41:33 +00:00
Miguel de Icaza 8403be52d1 2002-09-25 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddEnum): Use the basename, not the name
	to validate the enumeration name.

svn path=/trunk/mcs/; revision=7817
2002-09-25 21:10:06 +00:00
Miguel de Icaza a657e86da3 2002-09-25 Miguel de Icaza <[email protected]>
* expression.cs (ArrayAccess.EmitAssign): Mimic the same test from
	EmitDynamicInitializers for the criteria to use Ldelema.  Thanks
	to [email protected] for finding the bug and providing a patch.

svn path=/trunk/mcs/; revision=7816
2002-09-25 20:58:38 +00:00
Gonzalo Paniagua Javier e94b7baef0 2002-09-25 Gonzalo Paniagua Javier <[email protected]>
* sockets.c:
	(_wapi_recvfrom): added ECONNRESET to the switch.

svn path=/trunk/mono/; revision=7815
2002-09-25 20:35:17 +00:00
Paolo Molaro b3aabafaa5 Wed Sep 25 22:18:03 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: avoid unaligned stores (bug spotted by
	Mark Crichton  <[email protected]>).

svn path=/trunk/mono/; revision=7814
2002-09-25 20:21:28 +00:00
Martin Baulig e0063d14b3 2002-09-25 Martin Baulig <[email protected]>
* debug-private.h (DebugLineNumberInfo): Removed.  There's now a
	MonoDebugLineNumberEntry type in debug-mono-symfile.h which we're
	using instead of it.
	(DebugMethodInfo): Removed `line_numbers'.

	* debug.c: Reworked the line number generation; we're now using
	the MonoDebugLineNumberEntry try for all debugging formats.  This
	type also includes the line number and IL offset, this allows the
	JIT to produce better line number info: we only emit line number
	information for source lines which actually have code.

svn path=/trunk/mono/; revision=7812
2002-09-25 18:51:19 +00:00
Martin Baulig a1e50dc4c2 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoDebugLineNumberEntry): New type to
	store line number info.  For the dynamic symbol file, we only need
	to provide the JIT generated dynamic line number info for the dynamic
	symbol file.

svn path=/trunk/mono/; revision=7811
2002-09-25 18:50:48 +00:00
Miguel de Icaza e742eb5e0e More assemblies
svn path=/trunk/mono/; revision=7810
2002-09-25 17:30:08 +00:00
Martin Baulig 6034ab0b3e 2002-09-25 Martin Baulig <[email protected]>
* debug.h: Removed external declaration of all functions which
	should only be called from the Mono Debugger and also made them
	static.  Since the debugger gets their address from the
	`MONO_DEBUGGER__debugger_info' vtable, there's no need to export
	these functions.

svn path=/trunk/mono/; revision=7807
2002-09-25 13:48:41 +00:00
Martin Baulig da6130fc83 2002-09-25 Martin Baulig <[email protected]>
Improved breakpoint support, we can now dynamically insert and
	remove breakpoints at runtime and when called from withing the
	Mono Debugger, we're using a special breakpoint trampoline.

	* debug.h (mono_method_has_breakpoint): New method to check
	whether to insert a breakpoint for a method.
	(mono_insert_breakpoint): New method to insert a breakpoint.
	(mono_insert_breakpoint_full): New method to insert a breakpoint,
	takes a MonoMethodDesc.
	(mono_remove_breakpoint): New method to remove a breakpoint.

	* debug.c (mono_debugger_insert_breakpoint): New function for the
	debugger.  Should only be called from the debugger.
	(mono_debugger_remove_breakpoint): Likewise.

	* mono.c (main): Use mono_insert_breakpoint() to insert breakpoints.

	* trampoline.c (get_breakpoint_trampoline): New static function to
	create a special breakpoint trampoline for the debugger.
	(x86_magic_trampoline): If we're running inside the Mono Debugger
	and a breakpoint was requested for the method, generate a special
	breakpoint trampoline.

	* jit.c (mono_debug_methods): Removed, use mono_insert_breakpoint()
	to insert a breakpoint.
	(mono_debug_last_breakpoint_address): Removed.
	(match_debug_method): Removed, use mono_method_has_breakpoint().

svn path=/trunk/mono/; revision=7806
2002-09-25 13:39:49 +00:00
Martin Baulig 2de418a43d 2002-09-25 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Incremented version number.

svn path=/trunk/mono/; revision=7805
2002-09-25 13:37:07 +00:00
Martin Baulig 2386cc7881 Use g_message() here, not g_warning().
svn path=/trunk/mono/; revision=7804
2002-09-25 13:27:37 +00:00
Paolo Molaro 9056983301 Wed Sep 25 12:04:08 CEST 2002 Paolo Molaro <[email protected]>
* jit.c: reorder mono_runtime_cleanup () call since it needs the
	engine still fully working.

svn path=/trunk/mono/; revision=7803
2002-09-25 10:06:41 +00:00
Gaurav Vaish 78cefb0f7b 2002-09-25 Gaurav Vaish <[email protected]>
* RegextEditorDialog.cs   : Added a few more methods.
* BaseDataListComponentEditor.cs
                          : Completed.
* DataListComponentEditor.cs
                          : Completed
* BaseDataListPageInternal.cs,
* GeneralPageDataListInternal.cs,
* FormatPageInternal.cs,
* BordersPageInternal.cs  : Added private classes. Initial implementation.

svn path=/trunk/mcs/; revision=7802
2002-09-25 10:01:55 +00:00
Dietmar Maurer 6a89f19c0d 2002-09-25 Dietmar Maurer <[email protected]>
* added -p and -e options. monoburg is now able to work with DAGs.

svn path=/trunk/mono/; revision=7801
2002-09-25 08:03:19 +00:00
Mark Crichton 4e22c5b894 Stupid off-by-one error fixed.
The problem was that I incremented gr as if we were on a PPC box.  Sparc
doesn't need such "alignment" of the registers.

svn path=/trunk/mono/; revision=7800
2002-09-25 04:50:10 +00:00
Miguel de Icaza 6c03dfc7f7 2002-09-25 Miguel de Icaza <[email protected]>
* ecore.cs (TryImplicitIntConversion): When doing an
	implicit-enumeration-conversion, check if the type is 64-bits and
	perform a conversion before passing to EnumConstant.

svn path=/trunk/mcs/; revision=7799
2002-09-25 04:20:49 +00:00
Mark Crichton dbb66e9867 arch/sparc/tramp.c: Fixed once again. Now works, mostly.
io-layer/atomic.h: It's sparc on gcc/solaris, and __sparc__ on gcc/linux.
	           had to add an #ifdef.

svn path=/trunk/mono/; revision=7798
2002-09-25 01:52:30 +00:00
Adam Treat 62cc2c3017 * Added tageditor, a context menu for inserting monodoc tags
* Updated the GUI to handle the changes in the lib

svn path=/trunk/mcs/; revision=7794
2002-09-24 21:29:10 +00:00
Adam Treat fb12a3e446 * Added emember.cs and seealso.cs which help to flesh out the dtd
* Reworked Type.cs to support the full range of the monodoc.dtd

* Added support for the full monodoc.dtd to parser.cs

svn path=/trunk/mcs/; revision=7792
2002-09-24 21:27:49 +00:00
Martin Baulig 2021462e95 Small improvement.
svn path=/trunk/mono/; revision=7787
2002-09-24 20:32:46 +00:00
Martin Baulig 86d6940fac 2002-09-24 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetType): New method to get a Type
	from its metadata token.  This should only be used by the debugger.

svn path=/trunk/mcs/; revision=7784
2002-09-24 20:04:10 +00:00
Martin Baulig 4e1aed55c0 2002-09-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_open): When we're invoked from inside the
	Mono Debugger, set mono_debugger_class_init_func (exported in
	metadata/class.c) to mono_add_type().
	(mono_add_type): Call mono_debug_symfile_add_type().

svn path=/trunk/mono/; revision=7783
2002-09-24 20:02:35 +00:00
Martin Baulig 688cde0904 2002-09-24 Martin Baulig <[email protected]>
* class.c (mono_debugger_class_init_func): New global function
	pointer variable.
	(mono_class_init): If mono_debugger_class_init_func is non-NULL,
	call it.

	* debug-mono-symfile.c (mono_debug_symfile_add_type): New
	function.  This is called via the mono_debugger_class_init_func
	hook to add all types to the dynamic type table.
	(ves_icall_MonoDebugger_GetType): New interncall to get a class
	from its metadata token.

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

svn path=/trunk/mono/; revision=7782
2002-09-24 20:02:10 +00:00
Miguel de Icaza ffa9b1f8a4 Update files
svn path=/trunk/mcs/; revision=7781
2002-09-24 18:25:09 +00:00
Miguel de Icaza e135755a10 Add WarningException.cs
svn path=/trunk/mcs/; revision=7780
2002-09-24 18:23:42 +00:00
Nick Drochak e976db7f29 2002-09-24 Nick Drochak <[email protected]>
* icall.c (ves_icall_System_Enum_ToObject): validate the type parameter
	before using it in case it is null.

svn path=/trunk/mono/; revision=7779
2002-09-24 15:21:19 +00:00
Gonzalo Paniagua Javier 7c83de8e4b 2002-09-24 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: added test for null argument in IsPathRooted.

svn path=/trunk/mcs/; revision=7778
2002-09-24 15:05:32 +00:00
Martin Baulig 5d8eab5ec8 Don't include static fields.
svn path=/trunk/mono/; revision=7777
2002-09-24 14:14:01 +00:00
Nick Drochak 0032d48b02 2002-09-24 Nick Drochak <[email protected]>
* ArrayList.cs: Make enumerator throw exception if the ArrayList is
	mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
	this was passed as parameter.

svn path=/trunk/mcs/; revision=7775
2002-09-24 14:11:07 +00:00
Nick Drochak 734d904e3e 2002-09-24 Nick Drochak <[email protected]>
* ArrayListTest.cs: Add test for InsertRange() for the case where an
	ArrayList is passed to itself to be insterted.

svn path=/trunk/mcs/; revision=7774
2002-09-24 14:10:33 +00:00
Martin Baulig 06c96bb5d1 Added support for structs and classes.
svn path=/trunk/mono/; revision=7772
2002-09-24 11:31:47 +00:00
Paolo Molaro b8bdaccfda Tue Sep 24 13:24:56 CEST 2002 Paolo Molaro <[email protected]>
* metadata.c: allow custom modifiers in local var signatures
	(bug spotted by Zoltan Varga).

svn path=/trunk/mono/; revision=7771
2002-09-24 11:27:44 +00:00
Gaurav Vaish 3e7f3ae17c 2002-09-24
* RegexTypeEditor.cs      : Completed
* RegexEditorDialog.cs    : Initial implementation.

svn path=/trunk/mcs/; revision=7770
2002-09-24 11:20:57 +00:00
Paolo Molaro c1595a2d68 Tue Sep 24 12:12:16 CEST 2002 Paolo Molaro <[email protected]>
* class.c: deal with the <Module> class that may have a NULL vtable.
	Eliminate warnings.

svn path=/trunk/mono/; revision=7769
2002-09-24 10:14:55 +00:00
Paolo Molaro 3ee422999e Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <[email protected]>
* main.c: use mono_type_size () to get the size of
	a blob of data for a type (Zoltan Varga spotted the bug).

svn path=/trunk/mono/; revision=7768
2002-09-24 09:52:02 +00:00
Paolo Molaro a2a8d1547f Tue Sep 24 11:34:02 CEST 2002 Paolo Molaro <[email protected]>
* jit.c: avoid including cil-coff.h (again). Optimize typeof (type).
	Run finalize on domain cleanup.
	* mono.c: call setlocale ().
	* trampoline.c: clearer error message for invalid trampoline.

svn path=/trunk/mono/; revision=7767
2002-09-24 09:38:38 +00:00
Paolo Molaro e2440e9757 Tue Sep 24 11:28:46 CEST 2002 Paolo Molaro <[email protected]>
* image.c, image.h: more strong name helpers.
	* monosn.c: more work: convert pem keys to cryptoapi format.

svn path=/trunk/mono/; revision=7766
2002-09-24 09:31:42 +00:00
Paolo Molaro 4ba3ae74aa Tue Sep 24 11:27:38 CEST 2002 Paolo Molaro <[email protected]>
* string-icalls.c: speedup IndexOf.

svn path=/trunk/mono/; revision=7765
2002-09-24 09:29:48 +00:00
Paolo Molaro b5f0912fcd 2002-09-21 Zoltan Varga <[email protected]>
* CallConvCdecl.cs: new file

	* CallConvFastcall.cs: new file

	* CallConvThiscall.cs: new file

	* CallConvStdcall.cs: new file

	* RuntimeHelpers.cs: Implemented OffsetToStringData, GetObjectValue and
	RunClassConstructor.

svn path=/trunk/mcs/; revision=7764
2002-09-24 09:20:39 +00:00
Paolo Molaro c94963533c Tue Sep 24 11:17:13 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: updates from [email protected].

svn path=/trunk/mono/; revision=7763
2002-09-24 09:19:59 +00:00
Paolo Molaro 72e36542ad Updates.
svn path=/trunk/mcs/; revision=7762
2002-09-24 09:18:12 +00:00
Paolo Molaro 02253ae5cd Tue Sep 24 11:09:17 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: cleanup: use mono_object_domain ().

svn path=/trunk/mono/; revision=7761
2002-09-24 09:11:30 +00:00
Paolo Molaro 7997efba36 2002-09-21 Zoltan Varga <[email protected]>
* AllTests.cs: new file

	* RuntimeHelpersTest.cs: new file

svn path=/trunk/mcs/; revision=7760
2002-09-24 09:09:35 +00:00
John Sohn 68e9564374 *** empty log message ***
svn path=/trunk/mcs/; revision=7759
2002-09-24 06:09:20 +00:00
John Sohn 7ef9bfb6a3 2002-9-24 John Sohn <[email protected]>
* Application.cs: Run method now creates the Form
	* ContainerControl.cs: no implementation but made sure overridden
	methods call the base class
	* Control.cs: Implemented several more methods in the implementation
	of this class. Implemented ControlCollection, allowing controls
	to be added and removed from the Form.
	* Form.cs: Implemented more methods of the Form class
	* FormTest.cs: Added code to draw and display a Label
	* Label.cs: Initial implementation of Label class. The Label can
	be added and displayed on a Form.
	* NativeWindow.cs: modified debugging (console) output
	* ScrollableControl.cs: no implementation but made sure overridden
	methods call the base class
	* Win32.cs: added more Win32 imports and definitions
	* monostub.c: now store the application HINSTANCE
	* makefile: added Label.cs to makefile

svn path=/trunk/mcs/; revision=7758
2002-09-24 06:06:39 +00:00
Adam Treat a20fc7fc78 * Broke up our monodoc source file so it's easier to extend. It was
getting to big ;)

svn path=/trunk/mcs/; revision=7757
2002-09-24 04:17:40 +00:00
Adam Treat 89b878c5df * Damn, I couldn't fine this anywhere... thanks gonzalo ;)
svn path=/trunk/mcs/; revision=7754
2002-09-24 01:58:58 +00:00
Adam Treat e751b881bf * Thanks gonzalo ;)
svn path=/trunk/mcs/; revision=7753
2002-09-24 01:50:05 +00:00
Adam Treat 31d8c204a5 * Hook up the options dialog
svn path=/trunk/mcs/; revision=7752
2002-09-24 01:11:15 +00:00
Miguel de Icaza 49efecf987 2002-09-23 Miguel de Icaza <[email protected]>
* decl.cs (Error_AmbiguousTypeReference); New routine used to
	report ambiguous type references.  Unlike the MS version, we
	report what the ambiguity is.   Innovation at work ;-)

svn path=/trunk/mcs/; revision=7751
2002-09-24 00:54:24 +00:00
Miguel de Icaza 73b75c4bef 2002-09-23 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.FindType): Require a location argument to
	display when we display an ambiguous error.

	* ecore.cs: (SimpleName.DoResolveType): Pass location to FindType.

	* interface.cs (GetInterfaceTypeByName): Pass location to FindType.

svn path=/trunk/mcs/; revision=7748
2002-09-24 00:32:57 +00:00
Martin Baulig 6c3be28a21 More work on the type stuff.
svn path=/trunk/mono/; revision=7746
2002-09-23 23:21:14 +00:00
Miguel de Icaza 0544e9c682 2002-09-23 Miguel de Icaza <[email protected]>
* expression.cs (EmitDynamicInitializers): Apply patch from
	[email protected] that fixes the order in which we emit our
	initializers.

svn path=/trunk/mcs/; revision=7745
2002-09-23 22:39:52 +00:00
Duncan Mak 23bb65c7a5 2002-09-23 Duncan Mak <[email protected]>
* XslTransform.cs (Laod): Implemented the simple version that
	takes one XPathNavigator as argument.
	(Save): New private method for recreating the XML in text from a
	XPathNavigator
	(WriteCurrentNode):
	(WriteTree): private methods for generating the text XML from the
	XPathNavigator tree.

svn path=/trunk/mcs/; revision=7744
2002-09-23 22:19:25 +00:00
Mark Crichton 4372c15832 Added information about the new LCC 4.2 release that supports compiling to
MSIL.

svn path=/trunk/mono/; revision=7743
2002-09-23 18:19:51 +00:00
Andrew Birkett a724359910 2002-09-23 Andrew Birkett <[email protected]>
* RijndaelManagedTest.cs: Fixed initialization order problem
	to match MS behaviour.

svn path=/trunk/mcs/; revision=7742
2002-09-23 18:07:38 +00:00
Andrew Birkett ff4ec3d133 2002-09-23 Andrew Birkett <[email protected]>
* corlib_linux_test.args: Added MD5Test

svn path=/trunk/mcs/; revision=7741
2002-09-23 18:06:10 +00:00
Gonzalo Paniagua Javier 26c28da391 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs:
	* HtmlButton.cs:
	* HtmlContainerControl.cs:
	* HtmlControl.cs:
	* HtmlForm.cs:
	* HtmlGenericControl.cs:
	* HtmlImage.cs:
	* HtmlInputButton.cs:
	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputFile.cs:
	* HtmlInputHidden.cs:
	* HtmlInputImage.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTable.cs:
	* HtmlTableCell.cs:
	* HtmlTableRow.cs:
	* HtmlTextArea.cs: added almost all missing attributes.

svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00
Martin Baulig b55c75b6e8 Added support for enum types.
svn path=/trunk/mono/; revision=7739
2002-09-23 16:42:25 +00:00
Martin Baulig 469bc8f420 Multi-dimensional arrays ...
svn path=/trunk/mono/; revision=7736
2002-09-23 15:51:17 +00:00
Nick Drochak 5877256e30 2002-09-24 Nick Drochak <[email protected]>
* ArrayListTest.cs: Add check that enumerator is invalidated after a
	method that changes the list, such as Add(), Remove(), etc.

svn path=/trunk/mcs/; revision=7735
2002-09-23 15:17:31 +00:00
Gonzalo Paniagua Javier b2d22b5280 Little fix to clean target for PEToolkit
svn path=/trunk/mcs/; revision=7733
2002-09-23 14:52:50 +00:00
Nick Drochak f9b5964873 2002-09-23 Nick Drochak <[email protected]>
* TraceTest.cs: Default level and size are 0 & 4, respectively.

svn path=/trunk/mcs/; revision=7732
2002-09-23 14:44:48 +00:00
Martin Baulig 8423c62e96 2002-09-23 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Improved type support.

svn path=/trunk/mono/; revision=7730
2002-09-23 14:36:08 +00:00
Paolo Molaro 64dc6f0c67 Update.
svn path=/trunk/mono/; revision=7729
2002-09-23 09:04:50 +00:00
Mark Crichton 2399ceea61 Starting rewrite of trampolining for SPARC. It needed some cleanup.
It doesn't work at all now.  GO PROGRESS!

svn path=/trunk/mono/; revision=7728
2002-09-23 02:25:43 +00:00
Gonzalo Paniagua Javier 7b6b950e75 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: fixed InvokeEventMethod now that Type.GetMethod does not
	return pvt methods.

svn path=/trunk/mcs/; revision=7727
2002-09-23 01:42:48 +00:00
Gonzalo Paniagua Javier b3c0ac9e01 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* System.IO/BinaryReaderTest.cs: more tests.

	* System.Security.Cryptography/AllTests.cs:
	* System.Security.Cryptography/ChangeLog:
	* System.Security.Cryptography/MD5Test.cs: added new MD5Test.cs.

	Patch from Eduardo Garc�a Cebollero ([email protected]).

svn path=/trunk/mcs/; revision=7726
2002-09-23 01:00:15 +00:00
Gonzalo Paniagua Javier 59d02c87d9 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* XmlConvert.cs: IsInvalid is now internal.
	* XmlNamespaceManager.cs: implemented RemoveNamespace
	* XmlTextReader.cs: return BaseURI and Encoding from the parser.
	* XmlTextWriter.cs: implemented WriteName and WriteNmToken.

svn path=/trunk/mcs/; revision=7725
2002-09-23 00:39:30 +00:00
Gonzalo Paniagua Javier 593854090b 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
* get.c: closes bug #30814. Thanks to Zoltan Varga.

svn path=/trunk/mono/; revision=7724
2002-09-22 17:31:53 +00:00
Andrew Birkett 1a166dda7f 2002-09-22 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Added faster case for multiplication by 2 in GF(8)

svn path=/trunk/mcs/; revision=7723
2002-09-22 16:05:55 +00:00
Andrew Birkett 26e16e4f03 2002-09-22 Andrew Birkett <[email protected]>
* System.Security.Cryptography/RijndaelManagedTest.cs: BlockSize
	measured in bytes, not bits.

svn path=/trunk/mcs/; revision=7722
2002-09-22 15:28:10 +00:00
Andrew Birkett cc02964701 2002-09-22 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: BlockSize now reports size in bytes.
	* ICryptoTransform.cs: Updated comments - BlockSizes are in bytes, unlike elsewhere.

svn path=/trunk/mcs/; revision=7721
2002-09-22 15:26:50 +00:00
Nick Drochak 279b42114e 2002-09-22 Nick Drochak <[email protected]>
* Parser.cs: Remove extraneous "using" that was stopping the build.

svn path=/trunk/mcs/; revision=7720
2002-09-22 14:35:04 +00:00
Martin Baulig 149657947f 2002-09-22 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added support for reference types and strings.

svn path=/trunk/mono/; revision=7718
2002-09-22 13:46:42 +00:00
Martin Baulig 357528fd8f Removed another g_message().
svn path=/trunk/mono/; revision=7717
2002-09-22 13:45:54 +00:00
Johannes Roith 5e66030ed3 fix ximian link.
svn path=/trunk/mono/; revision=7715
2002-09-22 09:15:58 +00:00
Martin Baulig 0860aa1384 Removed this g_message().
svn path=/trunk/mono/; revision=7713
2002-09-21 23:25:29 +00:00
Martin Baulig 281f0d64b0 2002-09-22 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Started to work on the type table.

svn path=/trunk/mono/; revision=7712
2002-09-21 23:24:50 +00:00
Miguel de Icaza 447eb0ca67 2002-09-17 Asier Llano Palacios <[email protected]>
* CancelEventArgs.cs
	* CancelEventHandler.cs
	* PropertyChangedEventHandler.cs
	* IExtenderProvider.cs: Implemented

svn path=/trunk/mcs/; revision=7711
2002-09-21 21:39:37 +00:00
Miguel de Icaza e335c3c1a5 2002-09-21 Miguel de Icaza <[email protected]>
* FileStream.cs: Do not call FSync on the file.

svn path=/trunk/mcs/; revision=7710
2002-09-21 21:27:59 +00:00
Martin Baulig 062b365f91 2002-09-21 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyApplicability): Make this work if the
	delegate takes no arguments.

svn path=/trunk/mcs/; revision=7692
2002-09-21 18:42:24 +00:00
Piers Haken e3df4e4f28 2002-09-21 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable more tests, XPathException is now used properly.

svn path=/trunk/mcs/; revision=7691
2002-09-21 18:28:40 +00:00
Piers Haken e05854d185 2002-09-21 Piers Haken <[email protected]>
* XPathException: implementation
	* Expression.cs:
	* Iterator.cs:
	* Parser.jay:
	* Tokenizer.jay:
	* XPathNavigator.jay:
		use XPathException.

svn path=/trunk/mcs/; revision=7690
2002-09-21 18:26:49 +00:00
Martin Baulig 6500bbb03b 2002-09-21 Martin Baulig <[email protected]>
* debug.c (MonoDebuggerSymbolFileTable): Use an actual typedef for this
	instead of writing a byte blob.
	(mono_debug_make_symbols): This doesn't touch the symbol tables anymore.
	(mono_debug_add_method): Incrementally add the new method to the symbol
	table.

	* exception.c (arch_handle_exception): If we have debugging support,
	call mono_debugger_update_symbol_file_table () as well.

svn path=/trunk/mono/; revision=7686
2002-09-21 17:16:34 +00:00
Martin Baulig 6f85fc7bd9 2002-09-21 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Largely reworked the symbol table format.
	The symbol table is now incrementally updated each time a new
	method is added.  We're now also using our own magic and version
	so that you don't need to recompile all your classes if the
	dynamic table changes.
	(mono_debug_update_mono_symbol_file): Removed.
	(mono_debug_symfile_add_method): New function to add a method.

svn path=/trunk/mono/; revision=7685
2002-09-21 17:14:47 +00:00
Martin Baulig 3c63374b42 2002-09-21 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 26.  Removed all the dynamic
	stuff, this library now just deals with the compiler generated symbol table.
	The dynamic stuff is private between the JIT and the debugger.

svn path=/trunk/mcs/; revision=7684
2002-09-21 17:12:30 +00:00
Matt Hunter afcfff04a2 implementing tests: XmlElementTests.TestSetAttributeNode
and XmlAttributeCollectionTest.TestAppend

svn path=/trunk/mcs/; revision=7681
2002-09-21 04:21:44 +00:00
Matt Hunter 07aae53fac implementing XmlElement.SetAttributeNode(localName, namespaceURI) and
implementing XmlAttributeCollection.Append(XmlAttribute)

svn path=/trunk/mcs/; revision=7680
2002-09-21 04:20:31 +00:00
Miguel de Icaza 73692dfb45 2002-09-20 Miguel de Icaza <[email protected]>
* constant.cs: Use Conv_U8 instead of Conv_I8 when loading longs
	from integers.

	* expression.cs: Extract the underlying type.

	* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

svn path=/trunk/mcs/; revision=7679
2002-09-21 04:12:05 +00:00
Adam Treat ff90b8ddf9 * Refactored some code
* Added archiver.cs

svn path=/trunk/mcs/; revision=7678
2002-09-21 03:49:26 +00:00
Adam Treat 711cd36714 * Integrated the flush methods and refactored some code.
svn path=/trunk/mcs/; revision=7677
2002-09-21 03:48:27 +00:00
Duncan Mak 7e5aeaec40 2002-09-20 Duncan Mak <[email protected]>
* data/config.in: Added reference to libxslt.

svn path=/trunk/mono/; revision=7676
2002-09-21 03:19:10 +00:00
Duncan Mak 8db33b5870 2002-09-16 Duncan Mak <[email protected]>
* Uri.cs (GetObjectData):
	(Uri): The key should be "AbsoluteUri", not "Uri".

2002-09-20  Duncan Mak  <[email protected]>

	* XslTransform.cs (Load): Implemented the  methods, not
	including the ones that deal with XPathNavigator (hopefully those
	will come later).
	(Transform): Implemented the version that saves directly to a file.
	(Save): New private method for recreating the XML in text from
	from an XmlReader

	We're now P/Invoking libxslt for doing XSLT work.

svn path=/trunk/mcs/; revision=7675
2002-09-21 03:18:17 +00:00
John Sohn 848e0d00ed added settings menu and initial configure dialog
svn path=/trunk/mcs/; revision=7674
2002-09-21 03:14:23 +00:00
Miguel de Icaza 80e1821593 2002-09-20 Miguel de Icaza <[email protected]>
* expression.cs: Extract the underlying type.

svn path=/trunk/mcs/; revision=7672
2002-09-21 00:02:02 +00:00
Miguel de Icaza e9d574a279 2002-09-20 Miguel de Icaza <[email protected]>
* ecore.cs (StoreFromPtr): Use TypeManager.IsEnumType instad of IsEnum

svn path=/trunk/mcs/; revision=7671
2002-09-20 23:53:34 +00:00
Martin Baulig 6b24be88df 2002-09-21 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetLocalTypeFromSignature): New method to
	get the type of a local variable from its signature.  This should only
	be used by the debugger.

svn path=/trunk/mcs/; revision=7669
2002-09-20 23:41:46 +00:00
Martin Baulig 72e148a30f 2002-09-21 Martin Baulig <[email protected]>
* icall.c
	("System.Reflection.Assembly::MonoDebugger_GetLocalTypeFromSignature"):
	New interncall.

	* debug-mono-symfile.c (ves_icall_MonoDebugger_GetLocalTypeFromSignature):
	New interncall to get a method from its metadata token.

svn path=/trunk/mono/; revision=7668
2002-09-20 23:40:47 +00:00
Martin Baulig b5f6dcaa76 Ooops, fixed a typo in my last commit.
svn path=/trunk/mono/; revision=7667
2002-09-20 23:39:21 +00:00
Martin Baulig b6688165af 2002-09-21 Martin Baulig <[email protected]>
* ModuleBuilder.cs (ModuleBuilder.symbol_writer): Make this
	field internal, not private.
	(ModuleBuilder.SymWriter_DefineLocalVariable): Removed.

	* LocalBuilder.cs (LocalBuilder.SetLocalSymInfo): Use the
	ISymbolWriter's DefineLocalVariable() method instead of the
	IMonoSymbolWriter hack.

svn path=/trunk/mcs/; revision=7666
2002-09-20 23:16:47 +00:00
Martin Baulig ba422481d9 2002-09-21 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Create type table.

svn path=/trunk/mono/; revision=7664
2002-09-20 23:13:33 +00:00
Martin Baulig dda30d78db 2002-09-21 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 25.  Added information about
	local variables.

svn path=/trunk/mcs/; revision=7663
2002-09-20 23:12:48 +00:00
Adam Treat 0d05c3f3ad * Eliminate pesky carriage returns
svn path=/trunk/mcs/; revision=7662
2002-09-20 22:39:04 +00:00
Martin Baulig 12f74ca39f 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Reflect latest Mono.CSharp.Debugger changes.

svn path=/trunk/mono/; revision=7661
2002-09-20 22:01:55 +00:00
Martin Baulig 6a7f5875ba 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 24.  Added a type index
	table.  Write the type of a local variable or a parameter as an index
	into this table.

svn path=/trunk/mcs/; revision=7660
2002-09-20 22:00:52 +00:00
Martin Baulig afd46500d4 2002-09-20 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Remove all the unused interfaces.

svn path=/trunk/mcs/; revision=7659
2002-09-20 21:05:41 +00:00
Miguel de Icaza 8e90ead220 Provide location informtaion
svn path=/trunk/mcs/; revision=7658
2002-09-20 20:58:19 +00:00
Miguel de Icaza 6706e60bd6 2002-09-20 Miguel de Icaza <[email protected]>
* decl.cs (FindType): Sorry about this, fixed the type lookup bug.

svn path=/trunk/mcs/; revision=7657
2002-09-20 20:47:34 +00:00
Mark Crichton 62f353dcb1 More Solaris/BSD fixes. This now allows shared handles to work on BSD
and BSD like systems.

Please test this code.  The only thing left is to fix POSIX shared threads
on Solaris...

svn path=/trunk/mono/; revision=7650
2002-09-20 17:10:02 +00:00
Martin Baulig 9a47cec765 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 23, include the size
	of a variable.

svn path=/trunk/mcs/; revision=7647
2002-09-20 15:01:25 +00:00
Martin Baulig 162bc3d1f5 2002-09-20 Martin Baulig <[email protected]>
* debug.c (mono_debug_add_method): The `MonoDebugVarInfo' now includes
	the size of the variable.

svn path=/trunk/mono/; revision=7646
2002-09-20 15:00:46 +00:00
Martin Baulig bd17401c0b 2002-09-20 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 22.  Provide information
	about parameters and local variables.

svn path=/trunk/mcs/; revision=7645
2002-09-20 14:42:33 +00:00
Martin Baulig 079e9ba377 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Provide information about params and locals.

svn path=/trunk/mono/; revision=7644
2002-09-20 14:41:55 +00:00
Martin Baulig 7b119ca3dd 2002-09-20 Martin Baulig <[email protected]>
* Assembly.cs (MonoDebugger_GetMethod): New method to get a MethodBase
	from its metadata token.  This should only be used by the debugger.

svn path=/trunk/mcs/; revision=7642
2002-09-20 13:38:00 +00:00
Martin Baulig 7b72546da7 2002-09-20 Martin Baulig <[email protected]>
* icall.c ("System.Reflection.Assembly::MonoDebugger_GetMethod"):
	New interncall.

	* debug-mono-symfile.c (ves_icall_MonoDebugger_GetMethod): New
	interncall to get a method from its metadata token.

svn path=/trunk/mono/; revision=7641
2002-09-20 13:36:05 +00:00
Paolo Molaro 14043542c4 Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: add some needed defines to fix support of
	threads in the GC.

svn path=/trunk/mono/; revision=7640
2002-09-20 13:34:35 +00:00
Adam Treat 99dc6fbb98 * Begin the implementation of the Archive methods and extend the parser
to parse the go-mono.org/monodoc.dtd

* Added additional metadata to the data representation

svn path=/trunk/mcs/; revision=7638
2002-09-20 05:03:26 +00:00
Adam Treat 0d5c1c0dd8 * Begin the implementation of the Archive methods Sync and Flush.
* Set the FileRoot for the loaded Master.xml and allow the forms to flush to
the specified path.

svn path=/trunk/mcs/; revision=7637
2002-09-20 05:01:31 +00:00
Adam Treat ae4a470206 * Another fix to the Depth property to handle a more complex heirarchy.
svn path=/trunk/mcs/; revision=7636
2002-09-20 04:36:16 +00:00
Adam Treat ec02f3a0bc * The Depth property was not implemented correctly and the Read method did not
take the newline character into account.  The whitespace handling is very preliminary
but it is better than before, where every NON-AREA was being treated as NodeType.Text
example: <Foo name="Blah"> NON-AREA <Bar> TEXT </Bar> NON-AREA </Foo>  The text reader
now correctly performs the Depth example found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclassdepthtopic.asp

svn path=/trunk/mcs/; revision=7635
2002-09-20 04:25:39 +00:00
Miguel de Icaza 6947f0572d 2002-09-19 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.DefineType): We can not use the nice
	PackingSize with the size set to 1 DefineType method, because it
	will not allow us to define the interfaces that the struct
	implements.

	This completes the fixing of bug 27287

	* ecore.cs (Expresion.ImplicitReferenceConversion): `class-type S'
	means also structs.  This fixes part of the problem.
	(Expresion.ImplicitReferenceConversionExists): ditto.

svn path=/trunk/mcs/; revision=7633
2002-09-19 23:23:32 +00:00
Martin Baulig eb13c3c328 2002-09-20 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs: Use fullly qualified name for
	System.Diagnostics.SymbolStore.ISymbolWriter rather than `using' this
	namespace.  This allows us to use the name `ISymbolWriter' in our own
	code.

svn path=/trunk/mcs/; revision=7632
2002-09-19 22:58:38 +00:00
Martin Baulig 38cee46306 2002-09-20 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added a few checks for method->header
	being non-NULL.  This should never happen, but for the moment
	let's use a g_warning() rather than a g_assert().

svn path=/trunk/mono/; revision=7631
2002-09-19 22:26:53 +00:00
Miguel de Icaza b007341324 2002-09-19 Miguel de Icaza <[email protected]>
* decl.cs (DeclSparce.ResolveType): Only report the type-not-found
	error if there were no errors reported during the type lookup
	process, to avoid duplicates or redundant errors.  Without this
	you would get an ambiguous errors plus a type not found.  We have
	beaten the user enough with the first error.

	(DeclSparce.FindType): Emit a warning if we have an ambiguous
	reference.

	* ecore.cs (SimpleName.DoResolveType): If an error is emitted
	during the resolution process, stop the lookup, this avoids
	repeated error reports (same error twice).

	* rootcontext.cs: Emit a warning if we have an ambiguous reference.

svn path=/trunk/mcs/; revision=7630
2002-09-19 22:25:47 +00:00
Miguel de Icaza 045eaf1f77 Add new test
svn path=/trunk/mcs/; revision=7629
2002-09-19 22:08:21 +00:00
Miguel de Icaza 14d6027ca5 Improve test
svn path=/trunk/mcs/; revision=7628
2002-09-19 21:48:10 +00:00
Miguel de Icaza 3ce9a0001a 2002-09-19 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupType): Redo the type lookup code to match
	the needs of System.Reflection.

	The issue is that System.Reflection requires references to nested
	types to begin with a "+" sign instead of a dot.  So toplevel
	types look like: "NameSpace.TopLevelClass", and nested ones look
	like "Namespace.TopLevelClass+Nested", with arbitrary nesting
	levels.

svn path=/trunk/mcs/; revision=7627
2002-09-19 21:42:00 +00:00
Andrew Birkett 79f8741a6f * System.Security.Cryptography/RijndaelManagedTest.cs: New test
* System.Security.Cryptography/AllTests.cs: Added RijndaelManagedTest
	* corlib_linux_test.args: Added RijndaelManagedTest

svn path=/trunk/mcs/; revision=7626
2002-09-19 19:32:22 +00:00
Andrew Birkett df0838678e * Rijndael.cs: Create() now gives you a RijndaelManaged object
* RijndaelManaged.cs: Added dummy GenerateKey until we have a proper RNG.
* SymmetricAlgorithm.cs: Updated comments

svn path=/trunk/mcs/; revision=7625
2002-09-19 19:31:14 +00:00
Martin Baulig dba32d8363 2002-09-19 Martin Baulig <[email protected]>
* test-154.cs: Added testcase from bug #30487.

svn path=/trunk/mcs/; revision=7624
2002-09-19 18:53:06 +00:00
Martin Baulig e9e273a33b 2002-09-19 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.EmitTopBlock): If control flow analysis
	says that a method always returns or always throws an exception,
	don't report the CS0161.

	* statement.cs (FlowBranching.UsageVector.MergeChildren): Always
	set `Returns = new_returns'.

svn path=/trunk/mcs/; revision=7623
2002-09-19 18:52:46 +00:00
Mark Crichton 3eedd84b18 Beginning to add support for Solaris. Tested on Solaris 9.
Shared handles are still not working, will be addressed soon.

Trampoline code still broken, expect a rewrite.

svn path=/trunk/mono/; revision=7622
2002-09-19 18:30:56 +00:00
Duncan Mak 0a7663f9d5 2002-09-19 Duncan Mak <[email protected]>
* Array.cs (CopyTo): Revert back to 1.40, this is stopping
	I18N/Common from building right now.

svn path=/trunk/mcs/; revision=7621
2002-09-19 17:50:33 +00:00
Nick Drochak 999104f3d0 2002-09-19 Nick Drochak <[email protected]>
* StreamReaderTest.cs: Pinpoint error closing streams

svn path=/trunk/mcs/; revision=7620
2002-09-19 14:11:54 +00:00
Nick Drochak 9736241ce6 2002-09-19 Nick Drochak <[email protected]>
* ArrayTest.cs: Report errors with CopyTo().

svn path=/trunk/mcs/; revision=7619
2002-09-19 14:10:02 +00:00
Nick Drochak 0bcab3f27c 2002-09-19 Nick Drochak <[email protected]>
* Array.cs (CopyTo): Account for Object type and base (primitive) types
	* Type.cs (IsAssignableFrom): return false for a null parameter

svn path=/trunk/mcs/; revision=7618
2002-09-19 14:04:42 +00:00
Nick Drochak c556617566 2002-09-19 Nick Drochak <[email protected]>
* Array.cs (CopyTo): Check that source type can be cast automatically
	to the destination type.

svn path=/trunk/mcs/; revision=7617
2002-09-19 12:11:59 +00:00
Nick Drochak 6d07086de5 2002-09-19 Nick Drochak <[email protected]>
* ArrayTest.cs: Can check for exception throw now on CopyTo(). Re-
	enable test.

svn path=/trunk/mcs/; revision=7616
2002-09-19 12:05:06 +00:00
Martin Baulig e9f6f3b943 2002-09-19 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): When resolving
	to an enum constant, check for a CS0176.

svn path=/trunk/mcs/; revision=7615
2002-09-19 11:49:22 +00:00
Dietmar Maurer d8b7637801 2002-09-18 Dietmar Maurer <[email protected]>
* linear-scan.c (mono_analyze_liveness): we can save 30% of needed
	iterations if we visit blocks in reverse order.

svn path=/trunk/mono/; revision=7614
2002-09-19 09:17:09 +00:00
Gaurav Vaish c55b3d8237 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : GetDesignTimeHtml() - Removed "MonoTODO"
* ButtonDesigner.cs       : Completed.
* CalendarAutoFormatDialog.cs
                          : Initial implementation.
  	* CalendarDesigner.cs     : Initial implementation.
* CheckBoxDesigner.cs     : Completed.
* HyperLinkDesigner.cs    : Almost completed. See "FIXME".
* LabelDesigner.cs        : Completed.
* LinkButtonDesigner.cs   : Completed.
* TableCellsCollectionEditor.cs
                          : Completed
  	* TableDesigner.cs        : Initial implementation.

2002-09-16     Gaurav Vaish <[email protected]>

* TODO                    : TODO Updates. Found some undocumented
                            classes.

svn path=/trunk/mcs/; revision=7613
2002-09-19 08:25:02 +00:00
Gonzalo Paniagua Javier 7b527404dd 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: fixed #30239.
	* XmlTextWriter.cs: fixed #30240.

svn path=/trunk/mcs/; revision=7612
2002-09-19 07:55:56 +00:00
Gonzalo Paniagua Javier f9fcc1d75e 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlCustomFormatter.cs: finished.
	* XmlSerializationReader.cs: implemented some more methods.

svn path=/trunk/mcs/; revision=7611
2002-09-19 07:16:01 +00:00
Gonzalo Paniagua Javier 7faec3f1be 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
* XmlConvert.cs: finished implementation.

svn path=/trunk/mcs/; revision=7610
2002-09-19 07:11:24 +00:00
Nick Drochak f6e3aaa0b1 Forgot one...
svn path=/trunk/mcs/; revision=7609
2002-09-19 06:59:15 +00:00
Nick Drochak e1a0fb9915 2002-09-19 Nick Drochak <[email protected]>
* TraceImpl.cs: Remove debug prints

svn path=/trunk/mcs/; revision=7608
2002-09-19 06:56:12 +00:00
Nick Drochak 7a11028c33 2002-09-19 Nick Drochak <[email protected]>
* TraceListenerCollection.cs: Set Indet level and size to default
	values.  The values from TraceImpl might have been changed.

svn path=/trunk/mcs/; revision=7607
2002-09-19 06:48:05 +00:00
Nick Drochak 4d00f22660 2002-09-19 Nick Drochak <[email protected]>
* TraceTest.cs: Clear list of listeners before each test.

svn path=/trunk/mcs/; revision=7606
2002-09-19 06:47:14 +00:00
Miguel de Icaza 021524678e Update index
svn path=/trunk/mono/; revision=7605
2002-09-19 06:12:26 +00:00
Miguel de Icaza f22633ce5f 2002-09-18 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.CheckPairedOperators): Now we check
	for operators that must be in pairs and report errors.

svn path=/trunk/mcs/; revision=7603
2002-09-19 01:17:25 +00:00
Martin Baulig e58b64a8f7 2002-09-19 Martin Baulig <[email protected]>
* debug-mono-symfile.c (read_string, write_string): Reflect latest
	changes in the symbol file format.

svn path=/trunk/mono/; revision=7598
2002-09-19 00:40:39 +00:00
Miguel de Icaza c1728ca2d8 2002-09-18 Miguel de Icaza <[email protected]>
* ecore.cs (SimpleName.DoResolveType): During the initial type
	resolution process, when we define types recursively, we must
	check first for types in our current scope before we perform
	lookups in the enclosing scopes.

svn path=/trunk/mcs/; revision=7596
2002-09-18 23:47:26 +00:00
Miguel de Icaza 31891eac8e 2002-09-18 Miguel de Icaza <[email protected]>
* expression.cs (MakeByteBlob): Handle Decimal blobs.

svn path=/trunk/mcs/; revision=7595
2002-09-18 22:46:26 +00:00
Gonzalo Paniagua Javier 709edea6bc Make it build on unix
svn path=/trunk/mcs/; revision=7587
2002-09-18 15:20:59 +00:00
Martin Baulig f7fa3e9881 2002-09-18 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Set version number to 21.

svn path=/trunk/mono/; revision=7586
2002-09-18 14:00:52 +00:00
Martin Baulig 8125abef6b 2002-09-18 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 21.  Encode the source file
	as a 4-byte length field followed by the UTF8 encoded string.

svn path=/trunk/mcs/; revision=7585
2002-09-18 13:59:31 +00:00
Martin Baulig 0c2ce64528 2002-09-18 Martin Baulig <[email protected]>
* IMonoBinaryReader.cs: New interface.

	* MonoSymbolTable.cs: Use IMonoBinaryReader instead of binary reader.

svn path=/trunk/mcs/; revision=7582
2002-09-18 13:13:26 +00:00
Dick Porter 4786e2ce84 2002-09-18 Dick Porter <[email protected]>
* threads.c (mon_new): Use the GC_MALLOC macro to hide differences
	on netbsd.  Fixes bug 30051.

svn path=/trunk/mono/; revision=7579
2002-09-18 12:04:02 +00:00
Gonzalo Paniagua Javier aa0acdf4b2 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* XmlSerializationReader.cs: implemented a few methods.

	* XmlAnyElementAttribute.cs:
	* XmlArrayAttribute.cs:
	* XmlChoiceIdentifierAttribute.cs:
	* XmlElementAttribute.cs:
	* XmlMemberMapping.cs:
	* XmlMembersMapping.cs: class status based fixes.

svn path=/trunk/mcs/; revision=7578
2002-09-18 07:43:41 +00:00
Miguel de Icaza b8f3703cd2 2002-09-18 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Call
	TypeManager.TypeToCoreType on the parameter_type.GetElementType.
	I thought we were supposed to always call this, but there are a
	few places in the code where we dont do it.

svn path=/trunk/mcs/; revision=7577
2002-09-18 06:57:32 +00:00
Adam Treat 9f4c5d1676 * Added the QProgressDialog and extensions to the form widgets
svn path=/trunk/mcs/; revision=7576
2002-09-18 06:41:05 +00:00
Gonzalo Paniagua Javier f13b9706bf implemented DefaultBinder and GetDefaultMembers
svn path=/trunk/mcs/; revision=7575
2002-09-18 05:29:37 +00:00
Gonzalo Paniagua Javier 6918735598 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* System.Xml/XmlDocument.cs:
	* System.Xml/XmlTextWriter.cs:
	* System.Xml/XmlValidatingReader.cs:
	* System.Xml.Schema/XmlSchemaCollection.cs:
	* System.Xml.Schema/XmlSchemaException.cs:
	* System.Xml.Schema/XmlSchemaObjectCollection.cs:
	* System.Xml.Serialization/SoapTypeAttribute.cs:
	* System.Xml.Serialization/XmlAttributes.cs:
	* System.Xml.Serialization/XmlMapping.cs:
	* System.Xml.Serialization/XmlReflectionImporter.cs:
	* System.Xml.Serialization/XmlSerializer.cs:
	* System.Xml.Serialization/XmlTextAttribute.cs:
	* System.Xml.Xsl/XslTransform.cs: misc. fixed and implementation.

	* System.Xml.Serialization/SchemaTypes.cs: New file.
	* System.Xml.Serialization/TypeData.cs: New file.
	* System.Xml.Serialization/TypeTranslator.cs: New file.

svn path=/trunk/mcs/; revision=7574
2002-09-18 05:21:10 +00:00
Kral Ferch a98017c882 xpath tests for string(), concat(), starts-with(), and contains().
svn path=/trunk/mcs/; revision=7572
2002-09-18 04:48:32 +00:00
Gonzalo Paniagua Javier 68f4f02905 2002-09-18 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: implemented IsAssignableFrom.

svn path=/trunk/mcs/; revision=7571
2002-09-18 04:05:07 +00:00
Adam Treat 16e0c171f6 * Implemented some nice sorting methods
svn path=/trunk/mcs/; revision=7570
2002-09-18 03:08:33 +00:00
Miguel de Icaza ca050ddc0d Flushety Flush
svn path=/trunk/mono/; revision=7569
2002-09-17 22:59:13 +00:00
Gonzalo Paniagua Javier da120aecba Actually build PEToolkit on unix
svn path=/trunk/mcs/; revision=7568
2002-09-17 22:52:29 +00:00
Miguel de Icaza ffe1660a03 oops
svn path=/trunk/mcs/; revision=7567
2002-09-17 21:47:45 +00:00
Miguel de Icaza 23b3aa1be5 2002-09-17 Miguel de Icaza <[email protected]>
* driver.cs: Add support in -linkres and -resource to specify the
	name of the identifier.

svn path=/trunk/mcs/; revision=7566
2002-09-17 21:24:13 +00:00
Miguel de Icaza 8928220dab Update man page
svn path=/trunk/mono/; revision=7565
2002-09-17 21:23:51 +00:00
Miguel de Icaza 76f71ea43b Add decimal to MakeByteBlob
svn path=/trunk/mcs/; revision=7564
2002-09-17 18:16:08 +00:00
Nick Drochak 9f997ad5cd 2002-09-17 Nick Drochak <[email protected]>
* UriTest.cs: Fixed some path separator issues for the tests running on
	linux.

	* TraceTest.cs: Remove extraneous Console.WriteLine().

	* ServicePointManagerTest.cs: Convert Console.WriteLine() into a Fail()

	* TraceImpl.cs: Add some debug to find the error.  Still working on
	this one.

svn path=/trunk/mcs/; revision=7563
2002-09-17 15:05:21 +00:00
Miguel de Icaza 7e6e368b3f I got mixed up
svn path=/trunk/mono/; revision=7562
2002-09-17 14:49:51 +00:00
Adam Treat abcf740ff1 * Fixed CreateInstance to honor the bflags argument.
svn path=/trunk/mcs/; revision=7561
2002-09-17 14:44:11 +00:00
Miguel de Icaza bebcc60989 Apply patch to Brushes
svn path=/trunk/mcs/; revision=7560
2002-09-17 14:38:02 +00:00
Nick Drochak c1b04d89b3 2002-09-17 Nick Drochak <[email protected]>
* System_test.build: Oops.  Don't build the old standalone exe either.

svn path=/trunk/mcs/; revision=7559
2002-09-17 14:00:26 +00:00
Nick Drochak 93ed6ca92a 2002-09-17 Nick Drochak <[email protected]>
* TheTests.cs: Removed.  Not needed anymore since NUnit runs on linux.
	* Syste_test.build: Build a linux version of the unit tests (just a
	different linking of dll's)

svn path=/trunk/mcs/; revision=7558
2002-09-17 13:51:33 +00:00
Adam Treat d17799bf9a * The rest of the Master.xml files for the assemblies. Note: we're still missing
assemblies such as System.DirectoryServices.dll

svn path=/trunk/mcs/; revision=7557
2002-09-17 06:31:43 +00:00
Gonzalo Paniagua Javier 8421f2e98c 2002-09-17 Gonzalo Paniagua Javier <[email protected]>
* reflection.c:
	(set_version_from_string): little fix.

svn path=/trunk/mono/; revision=7553
2002-09-17 05:00:04 +00:00
Gaurav Vaish e4667928cb 2002-09-16 Gaurav Vaish <[email protected]>
* TODO                    : TODO Updates. Found some undocumented
                            classes.

svn path=/trunk/mcs/; revision=7552
2002-09-17 04:50:56 +00:00
Miguel de Icaza 7d9658d15a 2002-09-16 Miguel de Icaza <[email protected]>
* ecore.cs (StandardConversionExists): Sync with the conversion
	code: allow anything-* to void* conversions.

svn path=/trunk/mcs/; revision=7551
2002-09-17 04:34:26 +00:00
Gonzalo Paniagua Javier f8a4aeba3f added list file and 'disabled' build with mcs
svn path=/trunk/mcs/; revision=7550
2002-09-17 03:00:43 +00:00
Miguel de Icaza bbec6a7fb9 Add nant file
svn path=/trunk/mcs/; revision=7549
2002-09-17 02:29:52 +00:00
Miguel de Icaza 695ddcd816 Update news
svn path=/trunk/mono/; revision=7548
2002-09-17 02:24:09 +00:00
Miguel de Icaza 03d3f9b784 2002-9-15 Asier Llano <[email protected]>
* Fixes	the enum values in the following enums
	* ContentAlignment.cs:
	* FontStyle.cs:
	* GraphicsUnit.cs:
	* KnownColor.cs:
	* RotateFlipType.cs:
	* StringAligment.cs:
	* StringDigitSubstitute.cs:
	* StringFormatFlags.cs:
	* StringTrimming.cs:
	* StringUnit.cs:
	* SolidBrush.cs: Easy implementation
	* Brushes.cs:    Implementation based on SolidBrush and Color class.
        * Brush.cs:      Fixes based on the status web).
	* CharacterRange.cs: Implemented the missing Lenth property.

svn path=/trunk/mcs/; revision=7547
2002-09-17 02:15:18 +00:00
Adam Treat 74467c031a * Update on the mono documentation tools.
svn path=/trunk/mono/; revision=7546
2002-09-17 02:10:46 +00:00
Miguel de Icaza 3eeddbd69d Add makefile.gnu
svn path=/trunk/mcs/; revision=7545
2002-09-17 01:59:21 +00:00
Miguel de Icaza 3b8e6c5823 Add Sergey Panov's ILASM to the build, waiting for an update
svn path=/trunk/mcs/; revision=7544
2002-09-17 01:44:02 +00:00
Miguel de Icaza db76d32644 Add Mono.PEToolkit to the build
svn path=/trunk/mcs/; revision=7543
2002-09-17 01:19:47 +00:00
Miguel de Icaza 9b1aad2b6f Add Sergey Chaban's Mono.PEToolkit
svn path=/trunk/mcs/; revision=7542
2002-09-17 01:18:57 +00:00
Adam Treat 501655c80d * Images for MonoDoc
svn path=/trunk/mcs/; revision=7541
2002-09-17 01:02:37 +00:00
Adam Treat be956b47ec * Hurray! The mono documentation editor :-)
svn path=/trunk/mcs/; revision=7540
2002-09-17 01:01:51 +00:00
Miguel de Icaza 6407333030 Remove debugging message
svn path=/trunk/mcs/; revision=7539
2002-09-17 01:00:37 +00:00
Adam Treat ffb41f4845 * This is the tool used to generate the Master.xml files on Windows
svn path=/trunk/mcs/; revision=7538
2002-09-17 01:00:28 +00:00
Miguel de Icaza 25f808006a 2002-09-16 Miguel de Icaza <[email protected]>
* ecore.cs (FindMostSpecificSource): Use an Expression argument
	instead of a Type, because we might be handed over a Literal which
	gets a few more implicit conversions that plain types do not.  So
	this information was being lost.

	Also, we drop the temporary type-holder expression when not
	required.

svn path=/trunk/mcs/; revision=7537
2002-09-17 01:00:02 +00:00
Adam Treat 16e839a58d * This is/will be the shared lib for MonoDoc
svn path=/trunk/mcs/; revision=7536
2002-09-17 00:59:18 +00:00
Adam Treat c9d6bbeb43 * Initial setup for MonoDoc
svn path=/trunk/mcs/; revision=7535
2002-09-17 00:57:08 +00:00
Adam Treat 1e60974b30 * More cleanup.
svn path=/trunk/mcs/; revision=7534
2002-09-17 00:52:28 +00:00
Adam Treat 0bc22702d7 * More cleanup
svn path=/trunk/mcs/; revision=7533
2002-09-17 00:44:36 +00:00
Adam Treat b5cd8474f8 * More cleaning up.
svn path=/trunk/mcs/; revision=7532
2002-09-17 00:42:31 +00:00
Adam Treat c50d7b5903 * Removed John's tools. We are using a different method.
svn path=/trunk/mcs/; revision=7531
2002-09-17 00:36:05 +00:00
Miguel de Icaza 2d9580e265 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Don't check the base class if
	this is an explicit interface implementation.

svn path=/trunk/mcs/; revision=7530
2002-09-17 00:29:10 +00:00
Miguel de Icaza 685ae9720b 2002-09-16 Miguel de Icaza <[email protected]>
* TextWriter.cs (Null): The Null field should be an instance of a
	TextWriter class that does nothing, so it is an instance of the
	NullTextWriter class.

svn path=/trunk/mcs/; revision=7529
2002-09-16 23:45:37 +00:00
Martin Baulig f6d17c09aa 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Don't check the base class if
	this is an explicit interface implementation.

svn path=/trunk/mcs/; revision=7528
2002-09-16 22:59:40 +00:00
Martin Baulig 59a19aba9a 2002-09-17 Martin Baulig <[email protected]>
* test-148.cs: Added testcase for base indexers.

svn path=/trunk/mcs/; revision=7527
2002-09-16 22:14:48 +00:00
Martin Baulig 6914d4218b 2002-09-17 Martin Baulig <[email protected]>
* class.cs (PropertyBase.CheckBase): Make this work for indexers with
	different `IndexerName' attributes.

	* expression.cs (BaseIndexerAccess): Rewrote this class to use IndexerAccess.
	(IndexerAccess): Added special protected ctor for BaseIndexerAccess and
	virtual CommonResolve().

svn path=/trunk/mcs/; revision=7526
2002-09-16 22:13:52 +00:00
Chris Toshok 9749a97dc5 initial import
svn path=/trunk/mcs/; revision=7525
2002-09-16 21:26:14 +00:00
Miguel de Icaza 132cd42b52 Small temporary fix, Lupus will fix right
svn path=/trunk/mono/; revision=7524
2002-09-16 21:08:47 +00:00
Miguel de Icaza 2bfd7fce53 2002-09-16 Miguel de Icaza <[email protected]>
* SocketFlags.cs: Add missing enumeration.

	* UdpClient.cs: Make Dispose private.

svn path=/trunk/mcs/; revision=7523
2002-09-16 19:31:26 +00:00
Miguel de Icaza 1fb1efbead 2002-09-16 Miguel de Icaza <[email protected]>
* Uri.cs: Implemented a few of the protected methods.

svn path=/trunk/mcs/; revision=7522
2002-09-16 19:25:22 +00:00
Miguel de Icaza 52dfba4436 Add newlines
svn path=/trunk/mono/; revision=7521
2002-09-16 18:54:28 +00:00
Miguel de Icaza 392d8a86c0 2002-09-16 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.Resolve): Indexers are just like variables
	or PropertyAccesses.

svn path=/trunk/mcs/; revision=7520
2002-09-16 18:46:48 +00:00
Miguel de Icaza a1af8aab94 Another place where we did not track correctly the line
svn path=/trunk/mcs/; revision=7519
2002-09-16 18:38:07 +00:00
Paolo Molaro d44b07c77a Mon Sep 16 18:57:13 CEST 2002 Paolo Molaro <[email protected]>
* monosn.c, Makefile.am: added strong name utility.
	* reflection.h, reflection.c: implemented delayed signing,
	locale, version and hash id assembly attributes.

svn path=/trunk/mono/; revision=7515
2002-09-16 17:07:44 +00:00
Paolo Molaro ec10d849ad Mon Sep 16 19:02:58 CEST 2002 Paolo Molaro <[email protected]>
* AssemblyBuilder.c: special case some custom attributes.

svn path=/trunk/mcs/; revision=7514
2002-09-16 17:07:27 +00:00
Paolo Molaro 1328a6f481 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <[email protected]>
* main.c, get.c, dump.c: updates for changes in libmetadata.

svn path=/trunk/mono/; revision=7513
2002-09-16 16:57:36 +00:00
Paolo Molaro 3df5349721 Mon Sep 16 18:51:47 CEST 2002 Paolo Molaro <[email protected]>
* loader.c, metadata.c: load param attributes in signatures.

svn path=/trunk/mono/; revision=7512
2002-09-16 16:57:21 +00:00
Miguel de Icaza 5d9454bbbd 2002-09-16 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (consume_string): Track line numbers and columns
	inside quoted strings, we were not doing this before.

svn path=/trunk/mcs/; revision=7510
2002-09-16 15:37:20 +00:00
Martin Baulig aa086e723d Make this compile.
svn path=/trunk/mcs/; revision=7509
2002-09-16 14:57:47 +00:00
Gaurav Vaish 4c4187ac70 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Damn those typo errors.

svn path=/trunk/mcs/; revision=7505
2002-09-16 13:03:27 +00:00
Gaurav Vaish 18bcfe421b 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build  : Excludes the System.Web.UI.Design.WebControls namespace

svn path=/trunk/mcs/; revision=7504
2002-09-16 12:58:31 +00:00
Gaurav Vaish 01e83c57f2 2002-09-16 Gaurav Vaish <[email protected]>
* .cvsignore   : Now ignores more files

svn path=/trunk/mcs/; revision=7503
2002-09-16 12:56:49 +00:00
Gaurav Vaish 115a1bc919 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build  : Project name is "System.Design"

svn path=/trunk/mcs/; revision=7502
2002-09-16 12:47:59 +00:00
Gaurav Vaish e8824ac3e4 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Completed.

svn path=/trunk/mcs/; revision=7501
2002-09-16 12:46:47 +00:00
Gaurav Vaish ca3c45f076 2002-09-16 Gaurav Vaish <[email protected]>
* System.Design.build : Added the build file

svn path=/trunk/mcs/; revision=7500
2002-09-16 12:44:46 +00:00
Gaurav Vaish f2bce6f4ce 2002-09-16 Gaurav Vaish <[email protected]>
* AdRotatorDesigner.cs    : Initial implementation.
* TODOAttribute.cs        : The TODO-Attribute class.
* TODO                    : Added file
* ChangeLog               : Added file

svn path=/trunk/mcs/; revision=7499
2002-09-16 12:25:16 +00:00
Martin Baulig e3a5c81cda 2002-09-16 Martin Baulig <[email protected]>
* ecore.cs (MethodGroupExpr.DoResolve): If we have an instance expression,
	resolve it.  This is needed for the definite assignment check of the
	instance expression, fixes bug #29846.
	(PropertyExpr.DoResolve, EventExpr.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=7498
2002-09-16 11:55:55 +00:00
Gaurav Vaish 5b96bba155 2002-09-16 Gaurav Vaish <[email protected]>
* System.Web.UI.Design.WebControls : Added directory

svn path=/trunk/mcs/; revision=7497
2002-09-16 11:37:33 +00:00
Martin Baulig 36cbf13e9b 2002-09-16 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Added string table with all method names.

svn path=/trunk/mono/; revision=7495
2002-09-16 11:18:26 +00:00
Martin Baulig 2ef5ab765d 2002-09-16 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Set version number to 20.

svn path=/trunk/mcs/; revision=7494
2002-09-16 11:16:30 +00:00
John Sohn 1d5f157767 * Control.cs:
* ScrollableControl.cs
        * Form.cs: added Win32 implementation to more methods and properties
        * MessageBox.cs: fixed typo
        * makefile: now using pkg-config for including and linking glib

svn path=/trunk/mcs/; revision=7492
2002-09-16 06:09:09 +00:00
Nick Drochak b358c5c6ba 2002-09-16 Nick Drochak <[email protected]>
* MemoryStream.cs (Close): Don't throw an exception if the stream
	is already closed.

svn path=/trunk/mcs/; revision=7491
2002-09-16 04:38:41 +00:00
Nick Drochak 826216fc0a 2002-09-16 Nick Drochak <[email protected]>
* PrivateFontCollection.cs: Fix build error.  Cannot put ComVisible on
	constructors.

svn path=/trunk/mcs/; revision=7490
2002-09-16 04:11:03 +00:00
Nick Drochak 999e715866 2002-09-16 Nick Drochak <[email protected]>
* parameter.cs: Fix compile error.  Cannot reference static member
	from an instance object.  Is this an mcs bug?

svn path=/trunk/mcs/; revision=7489
2002-09-16 04:00:24 +00:00
Johannes Roith eba68d5a04 use correct EventHandlers
svn path=/trunk/mcs/; revision=7488
2002-09-15 22:04:06 +00:00
Johannes Roith a7586e9345 throw NotImplemented Exeption()
svn path=/trunk/mcs/; revision=7487
2002-09-15 21:36:21 +00:00
Johannes Roith 8099daa3f3 add TODOAttribute.cs
svn path=/trunk/mcs/; revision=7486
2002-09-15 21:34:40 +00:00
Johannes Roith 2569eb1b80 small fix.
svn path=/trunk/mcs/; revision=7480
2002-09-15 19:20:46 +00:00
Duncan Mak d1eb94eb67 2002-09-15 Duncan Mak <[email protected]>
* FileSystemWatcher.cs (FileSystemWatcher): Fixed the null-param
	constructor.

svn path=/trunk/mcs/; revision=7479
2002-09-15 18:46:41 +00:00
Andrew Birkett d554416afa 2002-09-15 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Added support for CBC-mode, PKCS7/Zero padding.
	* SymmetricAlgorithm.cs: IV size must match block size, not key size.
	  Key property now sets KeySizeValue correctly in bits.

svn path=/trunk/mcs/; revision=7477
2002-09-15 17:48:42 +00:00
Johannes Roith 8cfefa5129 initial import
svn path=/trunk/mcs/; revision=7476
2002-09-15 16:17:22 +00:00
Andrew Birkett 9819ad6367 2002-09-15 Andrew Birkett <[email protected]>
* man/mcs.1: --probe is now --expect-error.

svn path=/trunk/mono/; revision=7475
2002-09-15 16:13:31 +00:00
Miguel de Icaza e148821cdd 2002-09-15 Miguel de Icaza <[email protected]>
* FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
	Flush calls fsync().

	The API docs show no explicit mention that Flush() should even do
	an fsync, I am thinking that we should drop that from the
	runtime.

This significantly improves the thumbnail creation in mPhoto

svn path=/trunk/mcs/; revision=7473
2002-09-15 06:28:54 +00:00
Gonzalo Paniagua Javier 3fcb6699a2 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: line and position begin with 1.

svn path=/trunk/mcs/; revision=7472
2002-09-15 03:43:45 +00:00
Miguel de Icaza d45d3ca5cd Spelling fixes
svn path=/trunk/mono/; revision=7468
2002-09-14 20:32:36 +00:00
Miguel de Icaza ec9cd9342d Update Winforms information
svn path=/trunk/mono/; revision=7467
2002-09-14 20:15:29 +00:00
Martin Baulig f77e88e224 2002-09-14 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Don't add an interface
	multiple times.  Fixes bug #30295, added test-166.cs.

svn path=/trunk/mcs/; revision=7464
2002-09-14 16:57:29 +00:00
Martin Baulig 2e6da6116b 2002-09-14 Martin Baulig <[email protected]>
* test-166.cs: New test.

svn path=/trunk/mcs/; revision=7463
2002-09-14 16:53:16 +00:00
Martin Baulig 7ee74a2c67 2002-09-14 Martin Baulig <[email protected]>
* verify-4.cs: Added testcase from bug #29857.

svn path=/trunk/mcs/; revision=7462
2002-09-14 16:08:48 +00:00
Martin Baulig 5f2723750f 2002-09-14 Martin Baulig <[email protected]>
* statement.cs (Block.Emit): Don't emit unreachable code.
	(Switch.SimpleSwitchEmit, Switch.TableSwitchEmit): Check for missing
	`break' statements.
	(Goto.Emit, Continue.Emit): Set ec.Breaks = true.

svn path=/trunk/mcs/; revision=7461
2002-09-14 15:31:44 +00:00
Piers Haken 901e27abde 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable string() tests.

svn path=/trunk/mcs/; revision=7460
2002-09-14 14:24:44 +00:00
Piers Haken 096cca20dc 2002-09-14 Piers Haken <[email protected]>
* */makefile.gnu:
		use $(topdir)
		build nunit into $(topdir)/class/lib

svn path=/trunk/mcs/; revision=7459
2002-09-14 14:14:40 +00:00
Piers Haken 94280409f0 2003-09-14 Piers Haken <[email protected]>
* PrivateFontCollection.cs: import interop for ComVisible attribute

svn path=/trunk/mcs/; revision=7458
2002-09-14 14:07:54 +00:00
Martin Baulig ef71ae0b4c 2002-09-14 Martin Baulig <[email protected]>
* parameter.cs (Parameter.Attributes): Make this work if Modifier.ISBYREF
	is set.

svn path=/trunk/mcs/; revision=7457
2002-09-14 13:19:57 +00:00
Martin Baulig e4db77f4fb 2002-09-14 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): This must return false
	if `type == parent' since in this case `type.IsSubclassOf (parent)' will
	be false on the ms runtime.

svn path=/trunk/mcs/; revision=7456
2002-09-14 12:02:43 +00:00
Martin Baulig b50d9debff 2002-09-12 Martin Baulig <[email protected]>
* test-40.cs: Removed the syntax errors from this test.

svn path=/trunk/mcs/; revision=7455
2002-09-14 11:47:43 +00:00
Martin Baulig e95210cc26 2002-09-14 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs, IMonoSymbolWriter.cs, MonoSymbolTableWriter.cs:
	Make all classes and interfaces which don't need to be public internal.

svn path=/trunk/mcs/; revision=7454
2002-09-14 11:37:57 +00:00
Martin Baulig 7a50edd0f8 Ooops, make this build.
svn path=/trunk/mcs/; revision=7450
2002-09-14 00:27:48 +00:00
Martin Baulig 73ef4bfacc 2002-09-14 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFile): Added method range table for
	fast method lookup.

svn path=/trunk/mono/; revision=7449
2002-09-14 00:10:54 +00:00
Martin Baulig 2db249b6c6 2002-09-11 Martin Baulig <[email protected]>
* gc.c: Call GC_unregister_disappearing_link() on all links when
	finalizing them, this is necessary to aviod a crash in boehm's
	finalize handler.

svn path=/trunk/mono/; revision=7448
2002-09-14 00:06:40 +00:00
Martin Baulig f0a3f6ff0c 2002-09-14 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Use only CLS-compliant types here, bumped version
	number to 19.

	* MonoSymbolTableReader.cs: Removed, this is now in the debugger.

svn path=/trunk/mcs/; revision=7447
2002-09-14 00:05:28 +00:00
Rafael Teixeira dc405bc445 ArgumentProcessorAttribute added
svn path=/trunk/mcs/; revision=7445
2002-09-13 23:08:32 +00:00
Rafael Teixeira 432d688ab2 2002-08-31 Rafael Teixeira <[email protected]>
* merged many sources from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7444
2002-09-13 23:05:34 +00:00
Gonzalo Paniagua Javier 56e0f5c928 Added new stub
svn path=/trunk/mcs/; revision=7443
2002-09-13 21:27:51 +00:00
Gonzalo Paniagua Javier 0bfa6eba80 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* CodeIdentifiers.cs:
	* XmlSchemaExporter.cs:
	* XmlSchemaImporter.cs:
	* XmlSchemas.cs:
	* XmlSerializationWriteCallback.cs:
	* XmlSerializationWriter.cs:
	* XmlSerializer.cs:
	* XmlSerializerNamespaces.cs: some class status based fixed and
	implemented a couple of methods.

svn path=/trunk/mcs/; revision=7442
2002-09-13 21:15:11 +00:00
Gonzalo Paniagua Javier 8d6c1867c0 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* Parser.cs: commented out non-existent namespace (it compiles fine
	with mcs because of a bug that is already on bugzilla).

svn path=/trunk/mcs/; revision=7441
2002-09-13 20:41:38 +00:00
Gonzalo Paniagua Javier e3f4037161 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* XmlException.cs: added a new internal constructor for IXmlLineInfo
	and output line and position info in Message.

	* XmlReader.cs: implemented missing bits.

svn path=/trunk/mcs/; revision=7440
2002-09-13 20:39:10 +00:00
Gonzalo Paniagua Javier e53b062a80 removed Sample.cs
svn path=/trunk/mcs/; revision=7439
2002-09-13 19:30:25 +00:00
Dennis Hayes d5725f2ff1 2002-09-13 Dennis Hayes ([email protected])
* checked in for Everaldo Canuto [email protected]

* FontCollection.cs
* GenericFontFamilies.cs
* HotkeyPrefix.cs
* InstalledFontCollection.cs
* PrivateFontCollection.cs
* TextRenderingHint.cs

svn path=/trunk/mcs/; revision=7438
2002-09-13 17:56:51 +00:00
Dennis Hayes db16975b2c 2002-9-13 Dennis Hayes ([email protected])
* sample.cs
* removed personal template that should not have been checked in

svn path=/trunk/mcs/; revision=7437
2002-09-13 17:49:09 +00:00
Dennis Hayes 276270710a 2002-9-13 DennisHayes <[email protected]>
* PageSettings.cs 
* PaperSize.cs 
* PaperSource.cs 
* PrintControler.cs 
* PrintDocument.cs 
* PrintingPermission.cs 
* PrintPageEventHandler.cs 
* QueryPageSettingEventArgs.cs 
* QueryPageSettingsEventHandler.cs 
* added todos back
* minor bug fixes

svn path=/trunk/mcs/; revision=7436
2002-09-13 17:43:58 +00:00
Dennis Hayes 2176ccd445 2002-9-2 DennisHayes <[email protected]>
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back

svn path=/trunk/mcs/; revision=7435
2002-09-13 17:39:47 +00:00
Paolo Molaro 708f7135e8 Fri Sep 13 16:04:54 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: record the public key token of referenced assemblies.

svn path=/trunk/mono/; revision=7434
2002-09-13 14:07:05 +00:00
Paolo Molaro fc844c6c01 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <[email protected]>
* mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
	to get the public key token from a public key.

svn path=/trunk/mono/; revision=7433
2002-09-13 13:58:22 +00:00
Paolo Molaro a52c79cb41 Fri Sep 13 15:41:40 CEST 2002 Paolo Molaro <[email protected]>
* image.c, image.h: added functions to get the strong name and the
	public key of an assembly.
	* pedump.c: use them.

svn path=/trunk/mono/; revision=7432
2002-09-13 13:44:25 +00:00
Paolo Molaro 5a58a1b09c Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <[email protected]>
* main.c: dump public key.
	* get.c, util.h, util.c: prettyfy data dumps.

svn path=/trunk/mono/; revision=7431
2002-09-13 13:42:07 +00:00
Miguel de Icaza 32bd01ec10 Flush
svn path=/trunk/mcs/; revision=7429
2002-09-13 03:49:36 +00:00
Piers Haken b407458d97 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable string() tests.

svn path=/trunk/mcs/; revision=7428
2002-09-13 03:32:21 +00:00
Piers Haken 474fe75047 2002-09-12 Piers Haken <[email protected]>
* Tokenizer.cs: fix parsing numbers that start with '.'
	* DefaultContext.cs: use MS-compatible formatting of doubles

svn path=/trunk/mcs/; revision=7427
2002-09-13 03:17:22 +00:00
Piers Haken a49dae415f 2002-09-12 Piers Haken <[email protected]>
* XPathNavigatorEvaluateTests.cs: enable last() & count() tests.

svn path=/trunk/mcs/; revision=7426
2002-09-13 02:40:26 +00:00
Piers Haken 0d3a9e6aaf 2002-09-12 Piers Haken <[email protected]>
* Iterator.cs: added NullIterator to handle unspecified contexts
	* XPathNavigator.cs: use NullIterator insted of SelfIterator when context is unspecified.
	* XPathNodeIterator.cs: change default _count to -1 to prevent recalculations for NullIterators

svn path=/trunk/mcs/; revision=7424
2002-09-13 02:35:47 +00:00
Piers Haken 234ede86c6 2002-09-12 Piers Haken <[email protected]>
* XmlDocumentNavigator.cs: implement MoveToId()

svn path=/trunk/mcs/; revision=7423
2002-09-13 02:15:40 +00:00
Piers Haken 643a34dd9a 2002-09-12 Piers Haken <[email protected]>
* Expression.cs, Parser.jay: allow ExprSLASH to take a generic expression as its left argument.
	* Iterator.cs: fix SlashIterator.Clone() when _iterRight is null.
	* DefaultContext.cs: fix id() return type.

svn path=/trunk/mcs/; revision=7422
2002-09-13 02:13:11 +00:00
Adam Treat 62f60f8731 * The System.dll Master.xml file. For use with MonoDoc.
svn path=/trunk/mcs/; revision=7421
2002-09-13 02:04:20 +00:00
Adam Treat 1b0029d99e * The mscorlib Master.xml file. This will be used by the MonoDoc GUI
svn path=/trunk/mcs/; revision=7420
2002-09-13 02:02:11 +00:00
Gonzalo Paniagua Javier f03736cdec 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* ColorConverter.cs: readded MonoTODOs and implemented a couple of
	methods.

svn path=/trunk/mcs/; revision=7419
2002-09-12 23:27:52 +00:00
Martin Baulig 2ff1173034 2002-09-13 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Include the member name in
	the CS0038 error message.

svn path=/trunk/mcs/; revision=7418
2002-09-12 23:19:26 +00:00
Martin Baulig 59dc9ab7df 2002-09-12 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.DoConstantNumericPromotions): Check whether an
	implicit conversion can be done between enum types.

	* enum.cs (Enum.LookupEnumValue): If the value is an EnumConstant,
	check whether an implicit conversion to the current enum's UnderlyingType
	exists and report an error if not.

	* codegen.cs (CodeGen.Init): Delete the symbol file when compiling
	without debugging support.

	* delegate.cs (Delegate.CloseDelegate): Removed, use CloseType instead.
	Fixes bug #30235.  Thanks to Ricardo Fern�ndez Pascual.

svn path=/trunk/mcs/; revision=7417
2002-09-12 22:58:01 +00:00
Gonzalo Paniagua Javier 17813fc84d 2002-09-12 Gonzalo Paniagua Javier <[email protected]>
* Char.cs: implemented ToString (char)
	* IntegerFormatter.cs: made it internal.

svn path=/trunk/mcs/; revision=7416
2002-09-12 22:52:36 +00:00
Gonzalo Paniagua Javier cc1d059ed0 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.Drawing.Imaging/MetafileType.cs: implemented missing enum.

svn path=/trunk/mcs/; revision=7415
2002-09-12 22:47:25 +00:00
Miguel de Icaza 6d7b54637f Removed strange character
svn path=/trunk/mcs/; revision=7414
2002-09-12 21:40:14 +00:00
Miguel de Icaza a9de18eec9 2002-09-12 Miguel de Icaza <[email protected]>
* expression.cs (CheckedExpr, UnCheckedExpr): If we have a
	constant inside, return it.

svn path=/trunk/mcs/; revision=7413
2002-09-12 21:39:43 +00:00
Dennis Hayes cda70e3aea 2002-9-2 DennisHayes <[email protected]>
* Duplex.cs
	* InvalidPrinterExecption.cs
	* Margins.cs
	* MarginsConverter.cs
	* PageSettings.cs
	* PaperKind.cs
	* PaperSize.cs
	* PaperSource.cs
	* PaperSourceCollection.cs
	* PaperSourceKind.cs
	* PaperUnitConvert.cs
	* PreviewPageInfo.cs
	* PreviewPrintControler.cs
	* PrintControler.cs
	* PrintDocument.cs
	* PrinterResolution.cs
	* PrinterResolutionKind.cs
	* PrinterSettings.cs
	* PrinterUnit.cs
	* PrintEventArgs.cs
	* PrintEventHandler.cs
	* PrintingPermission.cs
	* PrintingPermissionAttribute.cs
	* PrintingPermissionLevel.cs
	* PrintPageEventArgs.cs
	* PrintPageEventHandler.cs
	* PrintRange.cs
	* QueryPageSettingEventArgs.cs
	* QueryPageSettingsEventHandler.cs
	* StandardPrintController.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7410
2002-09-12 18:47:50 +00:00
Dennis Hayes e2ec2cde28 2002-9-2 DennisHayes <[email protected]>
* AdjustableArrowCap.cs
	* Blend.cs
	* ColorBlend.cs
	* CombineMode.cs
	* CompostingMode.cs
	* CompostingQuality.cs
	* CoordinateSpace.cs
	* CustomLineCap.cs
	* DashCap.cs
	* DashStyle.cs
	* FillMode.cs
	* FlushIntention.cs
	* GraphicsContainer.cs
	* GraphicsPathIterator.cs
	* GraphicsState.cs
	* HatchBrush.cs
	* HatchStyle.cs
	* InterpolationMode.cs
	* LinearGradientBrush.cs
	* LinearGradientMode.cs
	* LineCap.cs
	* LineJoin.cs
	* MatrixOrder.cs
	* PathData.cs
	* PathGradientBrush.cs
	* PathPointType.cs
	* PenAligment.cs
	* PenType.cs
	* PixelOffsetMode.cs
	* QualityMode.cs
	* RegionData.cs
	* SmoothingMode.cs
	* WarpMode.cs
	* WrapMode.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7409
2002-09-12 18:41:33 +00:00
Dennis Hayes 057909bc36 2002-9-2 DennisHayes <[email protected]>
* FontConverter.cs
	* FontFamily.cs
	* Icon.cs
	* IconConverter.cs
	* ImageAnimator.cs
	* ImageConverter.cs
	* ImageFormatConverter.cs
	* PointConverter.cs
	* RectangleConverter.cs
	* Sample.cs
	* SizeConverter.cs
	* SolidBrush.cs
	* StringFormat.cs
	* SystemBrushes.cs
	* SystemIcons.cs
	* SystemPens.cs
	* TextureBrush.cs
	* ToolboxBitmapAttribute.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7408
2002-09-12 18:35:49 +00:00
Dick Porter 93aff8c4da 2002-09-12 Dick Porter <[email protected]>
* unix.args: Add System.Globalization.SortKey,
	System.Globalization.StringInfo and
	System.Globalizaton.TextElementEnumerator

2002-09-12  Dick Porter  <[email protected]>

	* ThaiBuddhistCalendar.cs:
	* TextInfo.cs:
	* TaiwanCalendar.cs:
	* RegionInfo.cs:
	* KoreanCalendar.cs:
	* JulianCalendar.cs:
	* JapaneseCalendar.cs:
	* HijriCalendar.cs:
	* HebrewCalendar.cs:
	* GregorianCalendar.cs:
	* CultureInfo.cs:
	* CompareInfo.cs: Stub out missing methods

svn path=/trunk/mcs/; revision=7407
2002-09-12 18:34:38 +00:00
Dennis Hayes 5f79974ab1 2002-9-2 DennisHayes <[email protected]>
* checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
	* BitmapData.cs
	* ColorAdjustType.cs
	* ColorChannelFlag.cs
	* ColorMap.cs
	* ColorMapType.cs
	* ColorMatrix.cs
	* ColorMatrixFlag.cs
	* ColorMode.cs
	* EmfPlusRecordType.cs
	* EmfType.cs
	* EncoderParameterValueType.cs
	* EncoderValue.cs
	* ImageCodecFlags.cs
	* ImageCodecInfo.cs
	* ImageFlags.cs
	* ImageFormat.cs
	* ImageLockMode.cs
	* MetafileFrameUnit.cs
	* MetafileHeader.cs
	* MetaHeader.cs
	* PaletteFlags.cs
	* PixelFormat.cs
	* PlayRecordCallback.cs
	* PropertyItem.cs
	* WmfPlaceableFileHeader.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7406
2002-09-12 18:30:13 +00:00
Dennis Hayes 0f54d4b16f 2002-9-2 DennisHayes <[email protected]>
* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7405
2002-09-12 18:24:39 +00:00
Dennis Hayes 83b8fc6048 2002-9-2 DennisHayes <[email protected]>
* Matrix.cs
	* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7404
2002-09-12 18:20:57 +00:00
Dennis Hayes cc40965131 2002-9-2 DennisHayes <[email protected]>
* Bitmap.cs
* Color.cs
* ColorConverter.cs
* Image.cs
* Pen.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7403
2002-09-12 18:17:15 +00:00
Johannes Roith f973f337e3 add mono setup
svn path=/trunk/mono/; revision=7402
2002-09-12 17:01:44 +00:00
Nick Drochak cf42c5be87 2002-09-13 Nick Drochak <[email protected]>
* EnumTest.cs: Add an extreme value test for format.

svn path=/trunk/mcs/; revision=7400
2002-09-12 16:20:08 +00:00
Nick Drochak afdd7b1d16 2002-09-13 Nick Drochak <[email protected]>
* Enum.cs (Format): handle the "d" format for both signed and unsigned
	underlying types.

svn path=/trunk/mcs/; revision=7399
2002-09-12 16:19:11 +00:00
Martin Baulig 0239aa7828 2002-09-12 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): New method.

	* ecore.cs (IMemberExpr.DeclaringType): New property.
	(SimpleName.SimpleNameResolve): Check whether we're accessing a
	nonstatic member of an outer type (CS0038).

svn path=/trunk/mcs/; revision=7398
2002-09-12 16:13:21 +00:00
Martin Baulig d01a931d9f 2002-09-12 Martin Baulig <[email protected]>
* cs0038.cs: New test.

svn path=/trunk/mcs/; revision=7397
2002-09-12 15:45:40 +00:00
Dick Porter 5f1b4c67f5 2002-09-12 Dick Porter <[email protected]>
* unix.args: Add System.ArgIterator and System.TypedReference

	* corlib.build: Adding DecimalConstantAttribute to Decimal (which
	corcompare showed as missing) causes a SecurityException in
	corcompare, so exclude Decimal from the corlib_cmp build.

2002-09-12  Dick Porter  <[email protected]>

	* UIntPtr.cs: Remove the [StructLayout(LayoutKind.Auto)]
	attribute, as there doesn't appear to be any struct
	layout-depending code here (and corcompare says it should be
	LayoutKind.Sequential)

	* Decimal.cs: Stub out missing methods, add
	[DecimalConstantAttribute] to the constant fields (as shown by
	corcompare).

	* LocalDataStoreSlot.cs:
	* Environment.cs:
	* Char.cs:
	* Array.cs: Stub out missing methods.

	* TypedReference.cs:
	* ArgIterator.cs: Stub out

	* AppDomainSetup.cs:
	* AppDomain.cs: Stub out missing methods, add missing
	ClassInterface(ClassInterfaceType.None) attribute.

2002-09-12  Dick Porter  <[email protected]>

	* TypeBuilder.cs: Say _which_ Type has already been created

svn path=/trunk/mcs/; revision=7395
2002-09-12 15:38:21 +00:00
Gonzalo Paniagua Javier fdcb013b16 2002-09-12 Gonzalo Paniagua Javier <[email protected]>
* list: added 2 new files.
	* System.Web.UI.WebControls/DataGrid.cs: fixed compilation

svn path=/trunk/mcs/; revision=7391
2002-09-12 13:07:39 +00:00
Gaurav Vaish 021c2720cf 2002-09-12 Gaurav Vaish <[email protected]>
* PagedDataSource.cs   - FirstIndexInPage : Fixed bug.
* DataGrid.cs          - CreateControlHierarchy(bool)
                            : working towards completion.
    	                       - ResolveDataSource(object, string)
       	                            : stubbed new method
    	                       - CreateItem(....)
       	                            : stubbed new method
    	                Well. It's almost done.
* DataGridTableInternal.cs
                       - Added new internal class.

svn path=/trunk/mcs/; revision=7390
2002-09-12 12:38:36 +00:00
Dietmar Maurer ba88a15e12 array code cleanup
svn path=/trunk/mono/; revision=7389
2002-09-12 12:27:46 +00:00
Dietmar Maurer a03ff8d5ba 2002-09-12 Dietmar Maurer <[email protected]>
* exception.c: added patch from Julio Merno to fix bug #30048

svn path=/trunk/mono/; revision=7384
2002-09-12 10:58:56 +00:00
Dietmar Maurer 4301d72d8c 2002-09-12 Dietmar Maurer <[email protected]>
* marshal.c (emit_str_to_ptr_conv): support marshalling of delegates.

svn path=/trunk/mono/; revision=7383
2002-09-12 10:50:09 +00:00
Dietmar Maurer 03317f7a4c fix for bug 29365
svn path=/trunk/mono/; revision=7382
2002-09-12 08:48:57 +00:00
Andrew Birkett 77f0cd8d73 2002-09-11 Andrew Birkett <[email protected]>
* RijndaelManaged.cs: Implemented ECB-mode Rijndael cipher.
	* Rijndael.cs: Set valid key/block sizes.
	* SymmetricAlgorithm.cs: Remove throw from ctr so we can instantiate
	  derived classes.  Fixes to key sizes so they are measured in bits.
	* KeySizes.cs: Updated comments to emphasize that sizes are in bits.

svn path=/trunk/mcs/; revision=7381
2002-09-12 08:15:30 +00:00
Kral Ferch c57901837e more xpath core function tests.
svn path=/trunk/mcs/; revision=7379
2002-09-12 05:16:17 +00:00
Miguel de Icaza 2cb13bd9a8 2002-09-12 Miguel de Icaza <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Added
	MONO_TYPE_BOOLEAN

svn path=/trunk/mono/; revision=7378
2002-09-12 04:39:32 +00:00
Miguel de Icaza b44bec6c3f 2002-09-11 Miguel de Icaza <[email protected]>
* driver.cs: Activate the using-error detector at warning level
	4 (at least for MS-compatible APIs).

	* namespace.cs (VerifyUsing): Small buglett fix.

svn path=/trunk/mcs/; revision=7377
2002-09-12 03:10:18 +00:00
Miguel de Icaza 7837ad922c 2002-09-11 Miguel de Icaza <[email protected]>
* ModuleBuilder.cs (GetTypes): Implement.

svn path=/trunk/mcs/; revision=7376
2002-09-12 02:53:48 +00:00
Miguel de Icaza c594caf965 2002-09-11 Miguel de Icaza <[email protected]>
* pending.cs (PendingImplementation): pass the container pointer.

	* interface.cs (GetMethods): Allow for recursive definition.  Long
	term, I would like to move every type to support recursive
	definitions, not the current ordering mechanism that we have right
	now.

	The situation is this: Attributes are handled before interfaces,
	so we can apply attributes to interfaces.  But some attributes
	implement interfaces, we will now handle the simple cases
	(recursive definitions will just get an error).

svn path=/trunk/mcs/; revision=7375
2002-09-12 02:11:42 +00:00
Kral Ferch 85cf5e87a3 Some tests for XPathNavigator.Evaluate()
svn path=/trunk/mcs/; revision=7372
2002-09-12 01:12:50 +00:00
Gonzalo Paniagua Javier ef94f0465d 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeDomProvider.cs:
	* IndentedTextWriter.cs: misc. fixes.

svn path=/trunk/mcs/; revision=7370
2002-09-11 23:40:37 +00:00
Gonzalo Paniagua Javier fe249c988a 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeBinaryOperatorType.cs:
	* CodeMemberEvent.cs:
	* CodeParameterDeclarationExpression.cs:
	* CodeTypeMember.cs:
	* CodeTypeReference.cs:
	* CodeTypeReferenceCollection.cs: misc. fixes

svn path=/trunk/mcs/; revision=7369
2002-09-11 23:40:11 +00:00
Miguel de Icaza b62468c7ec 2002-09-11 Miguel de Icaza <[email protected]>
* parameter.cs: Only invalidate types at the end if we fail to
	lookup all types.

svn path=/trunk/mcs/; revision=7368
2002-09-11 19:14:00 +00:00
Martin Baulig 2b48d1c45b 2002-09-11 Martin Baulig <[email protected]>
* gc.c: Call GC_unregister_disappearing_link() on all links when
	finalizing them, this is necessary to aviod a crash in boehm's
	finalize handler.

svn path=/trunk/mono/; revision=7367
2002-09-11 18:43:56 +00:00
Gonzalo Paniagua Javier cbe5c9f1d7 oops
svn path=/trunk/mcs/; revision=7365
2002-09-11 15:54:56 +00:00
Gonzalo Paniagua Javier 9848badf22 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* list: added new files.
	* System.Web.Compilation/AspElements.cs: added WebService directive.
	* System.Web.Compilation/WebServiceCompiler.cs: New file.
	* System.Web.UI/SimpleWebHandlerParser.cs: New file.
	* System.Web.UI/WebServiceParser.cs: New file.

svn path=/trunk/mcs/; revision=7364
2002-09-11 15:53:53 +00:00
Paolo Molaro 29b37ee691 Wed Sep 11 17:06:49 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: handle GetTarget for finalized objects spotted and fixed by
	[email protected].

svn path=/trunk/mono/; revision=7363
2002-09-11 15:11:24 +00:00
Nick Drochak c991b0d27d 2002-09-12 Nick Drochak <[email protected]>
* Double.cs (ToString): Throw exception when "X" format is passed in.

svn path=/trunk/mcs/; revision=7362
2002-09-11 15:10:32 +00:00
Dick Porter c77d9a071f 2002-09-11 Dick Porter <[email protected]>
* Mutex.cs:
	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
	the private field

	* WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
	method

svn path=/trunk/mcs/; revision=7361
2002-09-11 15:01:31 +00:00
Nick Drochak 0160dcc880 2002-09-11 Nick Drochak <[email protected]>
* DoubleTest.cs: Add test for bad format string passed to ToString().
	* Int64Test.cs: Re-enable broad range of test values.
	* MulticastDeletegateTest.cs: Re-enable test for correct order of
	delegate firing.

svn path=/trunk/mcs/; revision=7360
2002-09-11 14:49:30 +00:00
Paolo Molaro b88507b22a Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: implemented Module property.

svn path=/trunk/mcs/; revision=7359
2002-09-11 13:30:46 +00:00
Paolo Molaro 101bcbc576 Wed Sep 11 15:27:20 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: implemented MonoType::Module.
	* reflection.c, reflection.h: mono_module_get_object () from
	Tomi Pakarinen <[email protected]>.

svn path=/trunk/mono/; revision=7358
2002-09-11 13:30:05 +00:00
Paolo Molaro 1bc7a5c672 Compilation fix.
svn path=/trunk/mcs/; revision=7357
2002-09-11 11:11:27 +00:00
Paolo Molaro affee047b3 Wed Sep 11 12:53:28 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: ignore overridden methods in GetMethods ().
	Fix for FieldInfo::SetValue().
	* object.c: handle float/double in runtime invoke.

svn path=/trunk/mono/; revision=7356
2002-09-11 10:57:39 +00:00
Paolo Molaro cf3b279815 Wed Sep 11 12:49:51 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs, Type.cs: implemented InvokeMember.


Wed Sep 11 12:50:54 CEST 2002 Paolo Molaro <[email protected]>

	* Binder.cs: more default binder implementation.
	* FieldInfo.cs, MonoField.cs: fixed SetValue () implementation.
	* MonoMethod.cs: use the binder in the Invoke () implementation.
	Implemented custom attributes methods and ToString for constructors.

svn path=/trunk/mcs/; revision=7355
2002-09-11 10:57:34 +00:00
Paolo Molaro 38435c8147 Wed Sep 11 11:06:43 CEST 2002 Paolo Molaro <[email protected]>
* Delegate.cs: check the type passed to CreateDelegate is a Delegate
	type. Check the method signature matches.

svn path=/trunk/mcs/; revision=7353
2002-09-11 09:08:58 +00:00
Gonzalo Paniagua Javier 4c015b6312 2002-09-10 Gonzalo Paniagua Javier <[email protected]>
* FileTest.cs: don't leave AFile.txt open.

svn path=/trunk/mcs/; revision=7352
2002-09-10 14:00:43 +00:00
Paolo Molaro 5cff2490a6 Runtime invoke tests.
svn path=/trunk/mono/; revision=7351
2002-09-10 13:57:49 +00:00
Paolo Molaro ff0eb523ec Tue Sep 10 15:51:53 CEST 2002 Paolo Molaro <[email protected]>
* object.c: allow a constructor to be called again on an object.

svn path=/trunk/mono/; revision=7350
2002-09-10 13:53:48 +00:00
Paolo Molaro 02133437a9 Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <[email protected]>
* ConstructorBuilder.cs: added a field to hold the handle.

svn path=/trunk/mcs/; revision=7349
2002-09-10 10:18:18 +00:00
Paolo Molaro a1bf6e0ea7 Tue Sep 10 11:58:46 CEST 2002 Paolo Molaro <[email protected]>
* class.h, class.c: move field layout code to it's own function and
	export it. Get an interface id earlier. Move fields in MonoClass
	so they are more cache friendly and align the bitfields.
	* loader.c: temporary handle get_param_names() for a runtime method.
	* reflection.c, reflection.h: more code to handle runtime creation of
	types.

svn path=/trunk/mono/; revision=7348
2002-09-10 10:18:18 +00:00
Gonzalo Paniagua Javier 41681b5c8d 2002-09-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied another patch from Shahms E. King
	([email protected]).

svn path=/trunk/mcs/; revision=7346
2002-09-09 23:15:01 +00:00
Miguel de Icaza 5ac4160881 2002-09-09 Miguel de Icaza <[email protected]>
* StreamWriter.cs: When no encoding is provided, create an
	encoding without markers, this is what MS does.

svn path=/trunk/mcs/; revision=7344
2002-09-09 21:50:52 +00:00
Miguel de Icaza 51853f78b0 Update errors
svn path=/trunk/mcs/; revision=7343
2002-09-09 21:46:41 +00:00
Martin Baulig b86562e6d7 Oooops.
svn path=/trunk/mcs/; revision=7342
2002-09-09 21:42:46 +00:00
Martin Baulig 5d84732a2a 2002-09-09 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.Emit): Also check for
	TypeManager.system_int_array_get_length so this'll also work when
	compiling corlib.  Fixes #30003.

svn path=/trunk/mcs/; revision=7339
2002-09-09 20:01:37 +00:00
Martin Baulig d2960a4b02 2002-09-09 Martin Baulig <[email protected]>
* expression.cs (ArrayCreation.MakeByteBlob): Added support for enums
	and throw an exception if we can't get the type's size.  Fixed #30040,
	added test-165.cs.

svn path=/trunk/mcs/; revision=7338
2002-09-09 19:13:14 +00:00
Martin Baulig b736b03814 2002-09-09 Martin Baulig <[email protected]>
* makefile: Reverted Ravi's `Update'.  When moving tests from
	TESTS_NOPASS to TEST_SOURCES, please make sure that they actually
	pass on both platforms and don't do it without a ChangeLog entry.

svn path=/trunk/mcs/; revision=7337
2002-09-09 19:11:19 +00:00
Martin Baulig 8c35777cb0 Added my two new tests.
svn path=/trunk/mcs/; revision=7336
2002-09-09 19:09:21 +00:00
Martin Baulig fe00426683 2002-09-09 Martin Baulig <[email protected]>
* test-165.cs: Added testcase for bug #30040.

svn path=/trunk/mcs/; revision=7335
2002-09-09 19:05:53 +00:00
Martin Baulig 28f233ce52 2002-09-09 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.DoResolve): Added check for static properies.

svn path=/trunk/mcs/; revision=7333
2002-09-09 18:33:01 +00:00
Paolo Molaro d893e4d96c Mon Sep 9 17:31:12 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: prepare for the real CreateType implementation.

svn path=/trunk/mcs/; revision=7331
2002-09-09 15:57:14 +00:00
Dick Porter 356f13e5b5 2002-09-09 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Simplify thread checks, by using canned rules for
	particular systems (based on the sleepycat db configure.in).
	Tested on linux/x86, freebsd and w32.  Solaris also added, but I
	don't have a solaris machine to try it on.

svn path=/trunk/mono/; revision=7330
2002-09-09 15:39:28 +00:00
Martin Baulig 08e8e1f3ad 2002-09-09 Martin Baulig <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): We need to use a special
	signature with the pinvoke field being set for the actual call.

svn path=/trunk/mono/; revision=7329
2002-09-09 14:45:17 +00:00
Dick Porter 4b4e6c118a Point at updated gimp-for-w32 files
svn path=/trunk/mono/; revision=7328
2002-09-09 12:08:58 +00:00
Martin Baulig b2f4a1cccb 2002-09-09 Martin Baulig <[email protected]>
* expression.cs (SizeOf.DoResolve): Sizeof is only allowed in unsafe
	context.  Fixes bug #30027.

	* delegate.cs (NewDelegate.Emit): Use OpCodes.Ldvirtftn for
	virtual functions.  Fixes bug #30043, added test-164.cs.

svn path=/trunk/mcs/; revision=7326
2002-09-09 09:41:54 +00:00
Dietmar Maurer 27dd4bbea0 2002-09-09 Dietmar Maurer <[email protected]>
* x86.brg (LDELEMA): use x86_lea

svn path=/trunk/mono/; revision=7325
2002-09-09 09:26:57 +00:00
Martin Baulig 9a4b3f5e01 2002-09-09 Martin Baulig <[email protected]>
* test-164.cs: Added testcase for virtual functions in delegate
	creating expressions (Bug #30043).

svn path=/trunk/mcs/; revision=7324
2002-09-09 09:11:46 +00:00
Ravi Pratap M ae14ed5b48 2002-09-08 Ravi Pratap <[email protected]>
* attribute.cs : Fix a small NullRef crash thanks to my stupidity.

svn path=/trunk/mcs/; revision=7323
2002-09-08 18:52:52 +00:00
Nick Drochak 4936a9cfdd 2002-09-08 Nick Drochak <[email protected]>
* DateTimeTest.cs: Disable test bug file it in bugzilla.

svn path=/trunk/mcs/; revision=7322
2002-09-08 14:21:55 +00:00
Martin Baulig 56837e12e2 So why the hell did someone commit this non-printable character ?
svn path=/trunk/mcs/; revision=7321
2002-09-08 13:58:37 +00:00
Nick Drochak 8b737a2b3b 2002-09-08 Nick Drochak <[email protected]>
* PathTest.cs (TestCombine): XP puts it's system root in WINDOWS not
	WINNT.

svn path=/trunk/mcs/; revision=7320
2002-09-08 13:31:55 +00:00
Martin Baulig 54b164923f Hardcode sizeof (long) to 8 bytes to make it compile without /unsafe.
The runtime uses a guint64 type for this, so this'll always be 8 bytes.

svn path=/trunk/mcs/; revision=7319
2002-09-08 13:06:31 +00:00
Nick Drochak 5c254cb310 2002-09-08 Nick Drochak <[email protected]>
* driver.cs: Use an object to get the windows codepage since it's not a
	static property.

svn path=/trunk/mcs/; revision=7317
2002-09-08 12:42:23 +00:00
Miguel de Icaza 4a25a54d0d 2002-09-08 Miguel de Icaza <[email protected]>
* statement.cs (For.Emit): for infinite loops (test == null)
	return whether there is a break inside, not always "true".

svn path=/trunk/mcs/; revision=7315
2002-09-08 05:50:52 +00:00
Miguel de Icaza 40ea2dfb2d 2002-09-08 Miguel de Icaza <[email protected]>
* namespace.cs (UsingEntry): New struct to hold the name of the
	using definition, the location where it is defined, and whether it
	has been used in a successful type lookup.

	* rootcontext.cs (NamespaceLookup): Use UsingEntries instead of
	strings.

	* decl.cs: ditto.

svn path=/trunk/mcs/; revision=7314
2002-09-08 05:45:11 +00:00
Ravi Pratap M c4db22ae77 Update the cs0182 test to actually contain the error message too :-)
svn path=/trunk/mcs/; revision=7313
2002-09-08 05:06:36 +00:00
Ravi Pratap M 12ae4f82e7 2002-09-06 Ravi Pratap <[email protected]>
* attribute.cs : Fix incorrect code which relied on catching
	a NullReferenceException to detect a null being passed in
	where an object was expected.

svn path=/trunk/mcs/; revision=7312
2002-09-08 04:49:30 +00:00
Paolo Molaro 5011ad5bf8 Dum de dum, pass the value...
svn path=/trunk/mcs/; revision=7303
2002-09-07 09:13:42 +00:00
Paolo Molaro 8721448885 Sat Sep 7 10:16:52 CEST 2002 Paolo Molaro <[email protected]>
* RuntimeMethodHandle.cs: implemented GetFunctionPointer().

svn path=/trunk/mcs/; revision=7302
2002-09-07 08:18:55 +00:00
Paolo Molaro acb3179a1c Sat Sep 7 10:12:19 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: removed some unused icalls. Start of map of glib charsets
	to corlib names. Implemented RuntimeMethod::GetFunctionPointer ().

svn path=/trunk/mono/; revision=7301
2002-09-07 08:17:03 +00:00
Miguel de Icaza 079a95a1e6 Distinguish general from specific correctly from my previous patch
svn path=/trunk/mcs/; revision=7300
2002-09-07 01:19:22 +00:00
Franklin Wise 5fda660239 Implemented GetHashCode for constraint classes. Added tests and continued
work on DataColumn

svn path=/trunk/mcs/; revision=7299
2002-09-07 01:09:22 +00:00
Miguel de Icaza c816fb79c4 2002-09-06 Miguel de Icaza <[email protected]>
* expression.cs (Cast): Simplified by using ResolveType instead of
	manually resolving.

	* statement.cs (Catch): Fix bug by using ResolveType.

svn path=/trunk/mcs/; revision=7298
2002-09-07 00:49:26 +00:00
Miguel de Icaza b5d4c0ea0b Document /codepage
svn path=/trunk/mono/; revision=7297
2002-09-07 00:17:40 +00:00
Miguel de Icaza a17af36749 2002-09-06 Miguel de Icaza <[email protected]>
* driver.cs: (CSCParseOption): Support the /codepage: option.

	Make default code page Latin-1

svn path=/trunk/mcs/; revision=7296
2002-09-07 00:17:26 +00:00
Miguel de Icaza 2eefff50b3 2002-09-06 Miguel de Icaza <[email protected]>
* Console.cs: Specify an encoder, otherwise we will get the UTF8
	encoder that by default emits the byte markers.

2002-09-06  Miguel de Icaza  <[email protected]>

	* StreamReader.cs: Implement detection of byte marks and skipping
	of byte marks at the beginning of the stream.

	(ReadToEnd): Use buffered read instead of char-by-char
	processing.

	Correct the default arguments for creating the StreamReader.

2002-09-06  Miguel de Icaza  <[email protected]>

	* Encoding.cs (UTF8, Unicode): Create with a preamble, that is
	what the Microsoft version does.

	(UnixConsoleEncoding): New internal method, used to get the
	encoding, in the future, this should pull the locale, map to
	charset and then code page.

svn path=/trunk/mcs/; revision=7295
2002-09-06 23:57:02 +00:00
Kral Ferch 8e511e9e31 Added XPathNavigatorMatchesTests.cs to the MonoMicro.Test project
svn path=/trunk/mcs/; revision=7294
2002-09-06 22:46:38 +00:00
Martin Baulig 54ac5974b2 2002-09-06 Martin Baulig <[email protected]>
* debug.c (debug_update_il_offsets): Fixed a memory corruption bug.
	If you were getting random crashes when using the JIT with debugging
	turned on, this fixes it.

svn path=/trunk/mono/; revision=7291
2002-09-06 20:21:50 +00:00
Ravi Pratap M a8dcc7f06d 2002-09-06 Ravi Pratap <[email protected]>
* expression.cs (BetterConversion): Special case for when we have
	a NullLiteral as the argument and we have to choose between string
	and object types - we choose string the way csc does.

	* attribute.cs (Attribute.Resolve): Catch the
	NullReferenceException and report error #182 since the Mono
	runtime no more has the bug and having this exception raised means
	we tried to select a constructor which takes an object and is
	passed a null.

svn path=/trunk/mcs/; revision=7290
2002-09-06 19:51:35 +00:00
Ravi Pratap M ae841349e3 More tests pass so move them to the regular test suite
svn path=/trunk/mcs/; revision=7289
2002-09-06 19:51:09 +00:00
Ravi Pratap M 9ed5c36cd3 Add new error that we catch
svn path=/trunk/mcs/; revision=7288
2002-09-06 19:46:58 +00:00
Ravi Pratap M 0441b0183a 2002-09-06 Ravi Pratap <[email protected]>
* test-163.cs : Add test to check we select string
	over object when we have a Null literal as the argument.

	* makefile : Update.

svn path=/trunk/mcs/; revision=7287
2002-09-06 19:34:24 +00:00
Paolo Molaro 785a7ef43b Fri Sep 6 20:14:04 CEST 2002 Paolo Molaro <[email protected]>
* Delegate.cs: look also for non-public methods until we have the
	security checks in place.

svn path=/trunk/mcs/; revision=7285
2002-09-06 18:16:17 +00:00
Paolo Molaro b4879492ca Fri Sep 6 16:08:44 CEST 2002 Paolo Molaro <[email protected]>
* debug-helpers.c: break infinite loop (found and fixed by
	Holger Arnold <[email protected]>).

svn path=/trunk/mono/; revision=7283
2002-09-06 14:11:13 +00:00
Dick Porter e7086535fc More automake lines rearranging: select the "stable" version _after_ we've
checked the automake version.

It seems a bit daft to make sure we've got the latest "unstable" automake
and then not use it, but we have seen builds fail when a slightly older
"unstable" version is installed on the system.

svn path=/trunk/mono/; revision=7282
2002-09-06 12:02:45 +00:00
Dick Porter 3b0393cb64 Can't do the automake check until the mono dir has been checked out of CVS.
(Because automake-wrapper examines the dir to see which version of automake
to use.)

svn path=/trunk/mono/; revision=7281
2002-09-06 11:26:24 +00:00
Paolo Molaro 332d2ced8a Fri Sep 6 12:20:06 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: consider also the full name in GetInterface.

svn path=/trunk/mcs/; revision=7280
2002-09-06 10:21:51 +00:00
Paolo Molaro 193e77c5cb Fri Sep 6 12:11:28 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: implemented GetMembers, GetConstructorImpl and
	GetMethodImpl using the binder.
	* Type.cs: GetConstructorImpl/GetConstructor fixes.

svn path=/trunk/mcs/; revision=7279
2002-09-06 10:15:16 +00:00
Dietmar Maurer 33c90290aa only set ESP if necessary
svn path=/trunk/mono/; revision=7278
2002-09-06 09:18:19 +00:00
Dietmar Maurer 1b4e5d7b3f 2002-09-06 Dietmar Maurer <[email protected]>
* emit-x86.c (arch_emit_epilogue): use pop instead of mov

svn path=/trunk/mono/; revision=7277
2002-09-06 09:15:26 +00:00
Paolo Molaro c93b99378c Update with info on MONO_PATH.
svn path=/trunk/mono/; revision=7276
2002-09-06 08:11:56 +00:00
Ravi Pratap M 9c0368959f I am the worst kind of hacker there is ....
svn path=/trunk/mcs/; revision=7273
2002-09-05 19:16:17 +00:00
Ravi Pratap M 043305a683 Flush ChangeLog
svn path=/trunk/mcs/; revision=7272
2002-09-05 19:13:59 +00:00
Ravi Pratap M 464a887dc8 2002-09-05 Ravi Pratap <[email protected]>
* ecore.cs (ImplicitNumericConversion): Conversion from underlying
	type to the enum type is not allowed. Remove code corresponding to
	that.

	(ConvertNumericExplicit): Allow explicit conversions from
	the underlying type to enum type. This precisely follows the spec
	and closes a bug filed by Gonzalo.

svn path=/trunk/mcs/; revision=7271
2002-09-05 19:13:42 +00:00
Ravi Pratap M 68d2c7f12e Remove debug message - sorry, guys !
svn path=/trunk/mcs/; revision=7270
2002-09-05 18:45:33 +00:00
Paolo Molaro d5aa1a82fd Thu Sep 5 20:36:27 CEST 2002 Paolo Molaro <[email protected]>
* Binder.cs: finished the Binder class and implemented the default
	binder.

svn path=/trunk/mcs/; revision=7269
2002-09-05 18:38:31 +00:00
Martin Baulig 07513d7230 2002-09-05 Martin Baulig <[email protected]>
* debug.c (MONO_DEBUGGER__debugger_info): New global data symbol
	which is read by the debugger.

svn path=/trunk/mono/; revision=7268
2002-09-05 18:36:46 +00:00
Ravi Pratap M e65847b3f9 2002-09-05 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.Resolve): Ensure we allow TypeOf
	expressions too. Previously we were checking only in one place for
	positional arguments leaving out named arguments.

svn path=/trunk/mcs/; revision=7265
2002-09-05 17:18:28 +00:00
Ravi Pratap M aa5d984a6d 2002-09-05 Ravi Pratap <[email protected]>
* interface.cs (PopulateMethod): Return if there are no argument
	types. Fixes a NullReferenceException bug.

svn path=/trunk/mcs/; revision=7264
2002-09-05 17:06:03 +00:00
Ravi Pratap M 36beb952d2 2002-09-05 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Flag a nicer error
	message (1502, 1503) when we can't locate a method after overload
	resolution. This is much more informative and closes the bug
	Miguel reported.

svn path=/trunk/mcs/; revision=7263
2002-09-05 16:56:59 +00:00
Paolo Molaro 5b684ccab5 Thu Sep 5 18:50:54 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: target may be null in create_delegate.

svn path=/trunk/mono/; revision=7262
2002-09-05 16:52:43 +00:00
Paolo Molaro 76ba0a9d7f Thu Sep 5 17:42:13 CEST 2002 Paolo Molaro <[email protected]>
* marshal.c: handle a boolean return type.

svn path=/trunk/mono/; revision=7261
2002-09-05 15:43:57 +00:00
Paolo Molaro f91791a18d Thu Sep 5 13:09:46 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: put HIDE_POINTER/REVEAL_POINTER only here.

svn path=/trunk/mono/; revision=7260
2002-09-05 11:12:13 +00:00
Dietmar Maurer f82ceee6bb 2002-09-03 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
	(GetUrlsForUri): use all available channel uris.

svn path=/trunk/mcs/; revision=7259
2002-09-05 07:59:45 +00:00
Gonzalo Paniagua Javier 8ba95aa556 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
* XmlTextWriter.cs: fixed bug #29886.

svn path=/trunk/mcs/; revision=7258
2002-09-05 02:35:27 +00:00
Franklin Wise f6b277b235 Added new tests for various System.Data classes. More flushing out of
the DataTable and supporting classes.

svn path=/trunk/mcs/; revision=7257
2002-09-05 01:46:40 +00:00
Jonathan Pryor 69c9f2c6b3 Implemented better attribute support for C# output.
svn path=/trunk/mcs/; revision=7250
2002-09-04 18:08:05 +00:00
Gonzalo Paniagua Javier 409920670c 2002-09-04 Gonzalo Paniagua Javier <[email protected]>
* compiler.csproj:
	* compiler.csproj.user: patch from Adam Chester ([email protected]).

svn path=/trunk/mcs/; revision=7249
2002-09-04 17:33:52 +00:00
Paolo Molaro 1184f808fb Wed Sep 4 19:23:09 CEST 2002 Paolo Molaro <[email protected]>
* gc.c: fix weakreferences.

svn path=/trunk/mono/; revision=7248
2002-09-04 17:25:14 +00:00
Jonathan Pryor 51b30c8d57 Get rid of silly compiler warning about unreachable code.
svn path=/trunk/mcs/; revision=7246
2002-09-04 17:02:16 +00:00
Paolo Molaro db50b71b63 Make the built response file depend on the file list.
svn path=/trunk/mcs/; revision=7245
2002-09-04 16:32:59 +00:00
Gonzalo Paniagua Javier 8a50239ee4 2002-09-04 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: some fixes to make it work also on unix.

svn path=/trunk/mcs/; revision=7244
2002-09-04 16:29:48 +00:00
Jonathan Pryor d7ae8d619e * EnumTest.cs:
- Added additional "x" formatter test case to test most recent Enum.cs
      patch
    - Code cleanup so that all TestFormat test cases would be executed
    - Change exception types in TestFormat_Args so that it passes on .NET.
      (Some ArgumentNullExceptions should be been ArgumentExceptions.)

svn path=/trunk/mcs/; revision=7243
2002-09-04 16:11:28 +00:00
Miguel de Icaza 4b2f24ea56 Flush & announce
svn path=/trunk/mono/; revision=7242
2002-09-04 15:27:05 +00:00
Miguel de Icaza ae52b007cf Flush
svn path=/trunk/mono/; revision=7241
2002-09-04 15:20:47 +00:00
Miguel de Icaza 5455d3bcc9 Flush docs
svn path=/trunk/mono/; revision=7240
2002-09-04 15:18:50 +00:00
Paolo Molaro 9e1fdee82e Wed Sep 4 14:06:09 CEST 2002 Paolo Molaro <[email protected]>
* Makefile.am: link libmono directly into mono. Use a ld script
	to reduce exported symbols.

svn path=/trunk/mono/; revision=7239
2002-09-04 12:09:46 +00:00
Paolo Molaro 9de3cc5947 Wed Sep 4 14:01:25 CEST 2002 Paolo Molaro <[email protected]>
* Encoding.cs: use icall to get default codepage.
	* DefaultEncoding.cs: remove useless class.

svn path=/trunk/mcs/; revision=7238
2002-09-04 12:04:16 +00:00
Paolo Molaro 974559cf5c Wed Sep 4 13:59:50 CEST 2002 Paolo Molaro <[email protected]>
* icall.c: added icall to get default codepage.

svn path=/trunk/mono/; revision=7237
2002-09-04 12:01:49 +00:00
Juli Mallett f19cfba5e7 2002-09-04 Juli Mallett <[email protected]>
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.

Taken from the FreeBSD port by Yukihiro Nakai <[email protected]>, to reduce
the patches needed by that port, once the next release is out.

svn path=/trunk/mono/; revision=7236
2002-09-04 08:06:39 +00:00
Miguel de Icaza f4d826a8d4 2002-09-04 Miguel de Icaza <[email protected]>
* Double.cs, Single.cs, Char.cs, Boolean.cs: Use internal for the actual value
	instead of public.

	* LocalDataStoreSlot.cs: Make constructor internal.

svn path=/trunk/mcs/; revision=7234
2002-09-04 04:55:20 +00:00
Miguel de Icaza b0a21ed982 2002-09-04 Miguel de Icaza <[email protected]>
* Int16.cs, UInt16.cs, Int32.cs, UInt32.cs, Int64.cs, UInt64.cs,
	SByte.cs, Byte.cs, Char.cs: Use internal for the actual value
	instead of public.

svn path=/trunk/mcs/; revision=7233
2002-09-04 04:45:45 +00:00
Miguel de Icaza 05d8302025 Make the variable match the prototype
svn path=/trunk/mcs/; revision=7231
2002-09-04 04:07:45 +00:00
Miguel de Icaza 4276594cbb 2002-09-03 Miguel de Icaza <[email protected]>
* statement.cs (SwitchLabel.ResolveAndReduce): In the string case,
	it was important that we stored the right value after the
	reduction in `converted'.

svn path=/trunk/mcs/; revision=7230
2002-09-04 04:05:07 +00:00
Miguel de Icaza 0968f763a3 Improve test
svn path=/trunk/mcs/; revision=7229
2002-09-04 04:03:26 +00:00
Dennis Hayes abdd012125 2002-9-2 DennisHayes <[email protected]>
* GraphicsPath.cs
	* added stub needed for system.windows.forms

svn path=/trunk/mcs/; revision=7228
2002-09-04 02:39:21 +00:00
Dennis Hayes 281e05c862 2002-9-2 DennisHayes <[email protected]>
* Brushes.cs : stubbed, added colors. Not sure how to implement,
				 but this should at least save someone some typing.
	* CharacterRange.cs :Implmented
	* Region.cs : stub needed for system.windows.forms

svn path=/trunk/mcs/; revision=7227
2002-09-04 02:35:26 +00:00
Dennis Hayes e5c4e36a5e 2002-8-6 DennisHayes <[email protected]>
* AccessibleObject.cs
* AmbientProperties.cs
* AxHost.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* ColorDialog.cs
* ColumnHeader.cs
* ComboBox.cs
* ContainerControl.cs
* DataGrid.cs
* DateTimePicker.cs
* ListControl.cs
* PrintPreviewDialog.cs
* Implmented any functions.

* System.Windows.Forms.csproj
* System.Windows.Forms.csproj.user
* Added win32.cs

svn path=/trunk/mcs/; revision=7226
2002-09-04 02:22:56 +00:00
Gonzalo Paniagua Javier c7a35e4544 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied patch from Shahms E. King
	([email protected]).

svn path=/trunk/mcs/; revision=7225
2002-09-04 01:42:23 +00:00
Martin Baulig 5c623e61ff 2002-09-04 Martin Baulig <[email protected]>
* location.cs (Location.SymbolDocument): Use full pathnames for the
	source files.

svn path=/trunk/mcs/; revision=7223
2002-09-03 23:27:46 +00:00
Juli Mallett 54890e5fa4 Back out the previous revision, the previous previous revision was right, as
long as one reran autoheader (autogen.sh).

svn path=/trunk/mono/; revision=7214
2002-09-03 19:56:00 +00:00
Martin Baulig 3ee223464a 2002-09-03 Martin Baulig <[email protected]>
* debug.c (free_method_info): Make this actually work.

svn path=/trunk/mono/; revision=7212
2002-09-03 18:48:54 +00:00
Jonathan Pryor c1512698fd See ChangeLog for details.
svn path=/trunk/mcs/; revision=7211
2002-09-03 17:57:40 +00:00
Jonathan Pryor 1859baf1d3 * Enum.cs: Fixed Enum.Format so that the "x" format specifier would work
properly.

svn path=/trunk/mcs/; revision=7210
2002-09-03 17:28:30 +00:00
Dick Porter 7a858ef3f1 2002-09-03 Dick Porter <[email protected]>
* Thread.cs: Added thread ID field

svn path=/trunk/mcs/; revision=7209
2002-09-03 16:43:19 +00:00
Dick Porter 081119cf87 2002-09-03 Dick Porter <[email protected]>
* threads.h:
	* threads.c: Removed PosixKillThread(), because it's not in the
	w32 api

2002-09-03  Dick Porter  <[email protected]>

	* threads.h:
	* threads.c: Use MonoThread instead of MonoObject where
	apropriate.

	Store running thread objects in a hash table, so that we have all
	the info to hand when waiting for them to finish
	(means we don't need OpenThread() any more, so mingw builds should
	be fully functional again.)

	* verify.c:
	* object.h: Added thread ID to MonoThread

svn path=/trunk/mono/; revision=7208
2002-09-03 16:41:29 +00:00
Adam Treat 37e118ce90 * Applied [email protected]'s changes. This fixes method lookups that ignore
case and that ignore parameter signatures resulting in incorrect behavior.

svn path=/trunk/mcs/; revision=7207
2002-09-03 15:16:42 +00:00
Dietmar Maurer 1a0547470d 2002-09-03 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
	(GetUrlsForUri): use all available channel uris.

svn path=/trunk/mcs/; revision=7206
2002-09-03 13:56:31 +00:00
Dietmar Maurer b1313d9e7f revert my last change - it needs to be public
svn path=/trunk/mcs/; revision=7205
2002-09-03 13:04:37 +00:00
Dietmar Maurer 26cf616714 2002-09-03 Dietmar Maurer <[email protected]>
* MonoMethodMessage.cs: make in an iternal class again.

svn path=/trunk/mcs/; revision=7204
2002-09-03 12:47:18 +00:00
Martin Baulig 8d3599ce6d Increase symbol file generation when adding a new method.
svn path=/trunk/mono/; revision=7202
2002-09-03 12:39:30 +00:00
Martin Baulig d6933f0cac 2002-09-03 Martin Baulig <[email protected]>
* icall.c (System.Reflection.Assembly::get_location): New interncall.

svn path=/trunk/mono/; revision=7201
2002-09-03 12:38:18 +00:00
Martin Baulig b997879ae9 2002-09-03 Martin Baulig <[email protected]>
* Assembly.cs (Assembly.Location): Implemented.

svn path=/trunk/mcs/; revision=7200
2002-09-03 12:36:38 +00:00
Martin Baulig 31d6d573f9 2002-09-03 Martin Baulig <[email protected]>
* ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
	correct configuration filename, fixed the TODO.
	(GetSectionHanderType): Renamed to GetSectionHandlerType.

	* NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
	whitespaces in the configuration file.

svn path=/trunk/mcs/; revision=7199
2002-09-03 12:36:00 +00:00
Gonzalo Paniagua Javier 3583837ad7 Removed stuff included by mistake in my last commit.
svn path=/trunk/mono/; revision=7198
2002-09-03 12:16:53 +00:00
Gonzalo Paniagua Javier fce1655a31 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed leak in get_temp_path. Thanks lupus.

svn path=/trunk/mono/; revision=7197
2002-09-03 12:09:55 +00:00
Dick Porter 5e37acebe6 Insist that the cygwin libiconv package is installed (seems to work around
libtool braindamage)

svn path=/trunk/mono/; revision=7196
2002-09-03 10:12:23 +00:00
Gonzalo Paniagua Javier 56b6a6396b 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* DefaultContext.cs: fixed bug #28840.
	* Expression.cs: added FIXME.

svn path=/trunk/mcs/; revision=7195
2002-09-03 10:01:37 +00:00
Gonzalo Paniagua Javier 9fc1f796b0 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
	([email protected]).

svn path=/trunk/mcs/; revision=7194
2002-09-03 09:55:35 +00:00
Rafael Teixeira cb4d014f4c 2002-09-03 Rafael Teixeira <[email protected]>
* integrated new version of Mono.GetOptions (reflection/attributes-based)

svn path=/trunk/mcs/; revision=7193
2002-09-03 08:00:37 +00:00
Rafael Teixeira 1734110f45 2002-09-03 Rafael Teixeira <[email protected]>
* integrated new version of Mono.GetOptions (reflection/attributes-based)

svn path=/trunk/mcs/; revision=7192
2002-09-03 07:58:28 +00:00
Dietmar Maurer bcc53e7bad CORBA Channel, ObjRef serialisation support
svn path=/trunk/mcs/; revision=7191
2002-09-03 07:22:30 +00:00
John Sohn 3dc3dc6f39 * Control.cs: mapped more of the functions to the Win32 API
* Win32.cs: added more Win32 imports and definitions

svn path=/trunk/mcs/; revision=7190
2002-09-03 06:15:20 +00:00
Rafael Teixeira ea216a1299 see the changelog
svn path=/trunk/mcs/; revision=7189
2002-09-03 06:12:30 +00:00
Miguel de Icaza 96005596ea Remove this, get things working for now
svn path=/trunk/mono/; revision=7187
2002-09-03 01:59:18 +00:00
Miguel de Icaza 3491edf333 Flush: removed redundant instructions + Added Mono licensing
svn path=/trunk/mono/; revision=7186
2002-09-03 00:19:00 +00:00
Martin Baulig 05fedf2865 Reflect latest mono_disasm_code_one() changes.
svn path=/trunk/mono/; revision=7183
2002-09-02 23:59:39 +00:00
Martin Baulig 5ddb5007c9 2002-09-03 Martin Baulig <[email protected]>
* AssemblerWriterI386.cs, IAssemblerWriter.cs, MonoDwarfFileWriter.cs,
	README, README.relocation-table, csharp-lang.[ch], gdb-csharp-support.patch,
	gdb-variable-scopes.patch: Removed.

svn path=/trunk/mcs/; revision=7182
2002-09-02 23:58:04 +00:00
Martin Baulig fa72802d3b 2002-09-03 Martin Baulig <[email protected]>
* debug.h (MonoDebugFormat): Killed MONO_DEBUG_FORMAT_DWARF2_PLUS.
	* debug-dwarf2-plus.c: Removed.

	* debug-private.h (DebugMethodInfo): Removed the `method_info' field.
	(AssemblyDebugInfo): Removed the old `symfile' field and renamed
	`mono_symfile' to `symfile'.

	* debug.c (mono_debug_open): Replaced the assembly argument with a
	file name argument; you can now call this before loading the assembly.
	(debug_generate_method_lines): The MonoDebugILOffsetInfo struct is gone,
	we now use MonoSymbolFileLineNumberEntry's and a separate address array
	instead; splitted out all MonoSymbolFileLineNumberEntry code into
	debug_generate_il_offsets() and debug_update_il_offsets().
	(mono_debug_add_method): Don't create the MonoDebugMethodInfo here; it's
	created when reading the symbol file or from debug_load_method_lines().
	(debug_load_method_lines): Create the MonoDebugMethodInfo for all methods.

	* exception.c (arch_handle_exception): Call mono_debug_make_symbols() before
	looking up an address.

	* debug.c: Don't create the .il files for MONO_DEBUG_FORMAT_MONO.

	* mono.c (main): Initialize debugging before loading the first assembly.

svn path=/trunk/mono/; revision=7181
2002-09-02 23:53:35 +00:00
Martin Baulig bb667a46b5 2002-09-03 Martin Baulig <[email protected]>
* debug-helpers.c (mono_disasm_code_one): Added `const guchar **endp'
	argument to store the end address of the disassembled instruction.

	* debug-mono-symfile.h (MonoDebugMethodInfo, MonoDebugVarInfo): Moved
	here from debug-symfile.h.
	(MonoDebugMethodJitInfo): Moved all fields which are filled out by the
	JIT into this struct.
	(MonoSymbolFile): Added `char *image_file' field.
	(MonoDebugGetMethodFunc): Removed.
	(mono_debug_update_mono_symbol_file): Removed the hash table argument.
	(mono_debug_create_mono_symbol_file): Removed the `source_file' argument.
	(mono_debug_find_method): New method.

	* debug-mono-symfile.c (mono_debug_create_mono_symbol_file): Always
	create a full symbol file.
	(mono_debug_update_mono_symbol_file): Don't distinguish between dynamic
	and static symbol files.
	(mono_debug_find_method): The symbol file keeps an internal method hash,
	call this to get a MonoDebugMethodInfo from a MonoMethod.

	* debug-symfile.[ch]: Removed.

svn path=/trunk/mono/; revision=7180
2002-09-02 23:53:03 +00:00
Martin Baulig 4c5aafabb4 2002-09-03 Martin Baulig <[email protected]>
* MonoSymbolTableReader.cs (MonoSymbolTableReader.ImageFile): New
	public property.

	* MonoSymbolTable.cs: Bumped version number to 18.

svn path=/trunk/mcs/; revision=7179
2002-09-02 23:35:06 +00:00
Diego Sevilla Ruiz e983072823 2002-09-02 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
	Security) to the OpenSSH keys required by mono CVS
	access.

svn path=/trunk/mono/; revision=7178
2002-09-02 19:30:37 +00:00
Dick Porter 35474b62da Cope with the cygwin pkgconfig being installed
svn path=/trunk/mono/; revision=7177
2002-09-02 13:59:34 +00:00
Jonathan Pryor d5c20ef5e1 * ChangeLog: Updated for type-reflector
* makefile: Added type-reflector to the build.

svn path=/trunk/mcs/; revision=7176
2002-09-02 01:18:41 +00:00
Jonathan Pryor 32ffb354c1 Added new tool to the CVS repository, type-reflector.
See README for more information.

svn path=/trunk/mcs/; revision=7175
2002-09-02 01:08:14 +00:00
John Sohn c48238d24e * MessageBox.cs: added mostly complete implementation of the
MessageBox class
	* Application.cs: completed implementation of Run methods, implemented
	message handler functionality
	* Form.cs: implemented the Close event, allows the Application class to
	receive notification for shutting down the application
	* FormTest.cs: added additional functionality to test most methods
	currently implemented in the Application and Form class
	* NativeWindowTest.cs: fixed methods which received the MSG structure,
	previously was using an integer type instead of the struct
	* Win32.cs: added more Win32 imports and definitions
	* makefile: added the MessageBox.cs class to the build

svn path=/trunk/mcs/; revision=7174
2002-09-01 21:40:40 +00:00
Juli Mallett ba419c4ef8 2002-09-01 Juli Mallett <[email protected]>
* configure.in, mono/interpreter/interp.c,
	mono/io-layer/handles.c, mono/io-layer/processes.c,
	mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
	mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
	mono/metadata/appdomain.c, mono/metadata/class.c,
	mono/metadata/domain.c, mono/metadata/gc.c,
	mono/metadata/object.c, mono/metadata/reflection.c,
	mono/metadata/threads.c, mono/os/gc_wrapper.h,
	mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
	wrap inclusion of gc.h for boehm, since from FreeBSD and
	OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
	in <gc/gc.h>.  This will reduce the diffs FreeBSD ports has
	to apply, and also makes it possible for me to build with
	GC on OpenBSD/macppc built by hand.

svn path=/trunk/mono/; revision=7173
2002-09-01 20:47:55 +00:00
Juli Mallett 271f6b2dc8 2002-09-01 Juli Mallett <[email protected]>
* configure.in: On BSD don't try to use -ldl, we simply don't use it.

svn path=/trunk/mono/; revision=7172
2002-09-01 20:05:50 +00:00
Juli Mallett ef113c8323 2002-09-01 Juli Mallett <[email protected]>
* mono/dis/dis-cil.c:
	* configure.in: Check for <wchar.h> via autoconf, don't use it if
	it isn't there, as it seems to work fine without it on OpenBSD.

svn path=/trunk/mono/; revision=7171
2002-09-01 19:14:09 +00:00
Dietmar Maurer 2e2f30bd0c * ObjRef.cs: gather the channel date at creation time.
* ChannelDataStore.cs: use a hash to store other keys

svn path=/trunk/mcs/; revision=7162
2002-08-31 12:43:34 +00:00
Rafael Teixeira 239886689a cvsignore
svn path=/trunk/mcs/; revision=7161
2002-08-31 07:52:00 +00:00
Rafael Teixeira a97a5e5831 2002-08-31 Rafael Teixeira <[email protected]>
* merged expression.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7160
2002-08-31 07:48:31 +00:00
Juli Mallett 09754dbb8d 2002-08-30 Juli Mallett <[email protected]>
* list.unix, makefile.gnu: Added build glue for UNIX.

svn path=/trunk/mcs/; revision=7159
2002-08-31 04:21:35 +00:00
Miguel de Icaza 5489fc358e 2002-08-30 Miguel de Icaza <[email protected]>
* expression.cs (ComposedCast): Use DeclSparce.ResolveType instead
	of the expression resolve mechanism, because that will catch the
	SimpleName error failures.

svn path=/trunk/mcs/; revision=7157
2002-08-31 01:59:09 +00:00
Miguel de Icaza e1bfc82707 2002-08-30 Miguel de Icaza <[email protected]>
* expression.cs (Conditional): If we can not resolve the
	expression, return, do not crash.

svn path=/trunk/mcs/; revision=7156
2002-08-30 21:57:47 +00:00
Dietmar Maurer 4d1b3ab9d5 added missing files
svn path=/trunk/mcs/; revision=7155
2002-08-30 16:52:03 +00:00
Dietmar Maurer 3069d9c5c3 removed unnecessary writeline
svn path=/trunk/mcs/; revision=7154
2002-08-30 16:29:22 +00:00
Dietmar Maurer a810886642 2002-08-30 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.Simple/SimpleWireFormat.cs: add
	more types.

svn path=/trunk/mcs/; revision=7153
2002-08-30 16:21:07 +00:00
Dietmar Maurer fc30c69bcf added an example, semove unnecessary WriteLine
svn path=/trunk/mcs/; revision=7152
2002-08-30 14:46:16 +00:00
Dietmar Maurer 2e4f40e23d channel example implementation
svn path=/trunk/mcs/; revision=7151
2002-08-30 14:01:21 +00:00
Nick Drochak 98fae5bd7f 2002-08-30 Nick Drochak <[email protected]>
* PathTest.cs (TestGetPathRoot):  Don't assume current directory will
	be on the C: drive (mine wasn't).

svn path=/trunk/mcs/; revision=7150
2002-08-30 05:47:59 +00:00
John Sohn 1093c32524 RegisterClass/WNDPROC callback is now initialized entrely in C#, simplified
the stub application

svn path=/trunk/mcs/; revision=7149
2002-08-30 05:36:19 +00:00
Miguel de Icaza 2b395e4143 2002-08-29 Miguel de Icaza <[email protected]>
* image.c (do_mono_image_open): Remove linker version check.

svn path=/trunk/mono/; revision=7147
2002-08-30 04:59:06 +00:00
Gonzalo Paniagua Javier 80f46045ee 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: fixed bug #29658.

svn path=/trunk/mcs/; revision=7146
2002-08-30 00:29:22 +00:00
Dick Porter 1dbf4ea99d Pass LDFLAGS when linking monoburg
svn path=/trunk/mono/; revision=7145
2002-08-29 23:41:29 +00:00
Gonzalo Paniagua Javier 7e8c804d86 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* cs-tokenizer.cs:
	(location): display token name instead of its number.

svn path=/trunk/mcs/; revision=7144
2002-08-29 23:11:41 +00:00
Miguel de Icaza 55634e1f2b Add new logo
svn path=/trunk/mono/; revision=7143
2002-08-29 23:10:02 +00:00
Gonzalo Paniagua Javier b41bf89278 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* MonoField.cs:
	(GetValue): allow obj to be null (used for static fields).

svn path=/trunk/mcs/; revision=7142
2002-08-29 23:07:52 +00:00
Dick Porter 80575b9add New versions of the build scripts. The windows one checks that automake
is new enough (fixes strangeness reported by Gonzalo.)

The other one now copes with enough system variation to work on Freebsd.

svn path=/trunk/mono/; revision=7140
2002-08-29 16:47:27 +00:00
Dietmar Maurer 425cd9f8fe 2002-08-29 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): don't cache
	wrappers for instance methods.

svn path=/trunk/mono/; revision=7139
2002-08-29 15:00:13 +00:00
Rafael Teixeira 3a6c0cbb1d 2002-08-29 Rafael Teixeira <[email protected]>
* merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
        expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
        typemanager.cs from mcs/mcs, to resync

svn path=/trunk/mcs/; revision=7138
2002-08-29 14:19:58 +00:00
Gonzalo Paniagua Javier ac893ff6f1 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* CheckArgument.cs: fixed check for empty string.
	* Path.cs: various fixes. It passes all the tests in new PathTest.

svn path=/trunk/mcs/; revision=7137
2002-08-29 11:41:48 +00:00
Gonzalo Paniagua Javier b0da22d0cc 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_System_IO_Path_get_temp_path.

svn path=/trunk/mono/; revision=7136
2002-08-29 11:38:36 +00:00
Gonzalo Paniagua Javier 42a105053e 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: improved.

svn path=/trunk/mcs/; revision=7135
2002-08-29 11:32:15 +00:00
Juli Mallett e4cff48d9a 2002-08-28 Juli Mallett <[email protected]>
* arch.cs, compiler.cs: Give the interpreter machine a property
	for the retrieval of the group count.

	* regex.cs: Use the new GroupCount property of the factory to
	initialise the current group count, and restructure code to compile
	the pattern only the first time it is needed (essentially backing
	out the previous revision of regex.cs, to use the new code.)

svn path=/trunk/mcs/; revision=7132
2002-08-28 18:46:54 +00:00
Radek Doulik 962db8699b retval value type fixed
svn path=/trunk/mono/; revision=7127
2002-08-28 15:26:29 +00:00
Radek Doulik f8b7cbf694 fixed valuetypes marshaling in delegates
svn path=/trunk/mono/; revision=7126
2002-08-28 14:41:08 +00:00
Dick Porter c25efc9f92 2002-08-28 Dick Porter <[email protected]>
* mono/os/win32/util.c:
	* mono/os/unix/util.c:
	* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
	(It doesn't do anything on unix builds, and the w32 version no
	longer needs an arg.)

	* configure.in: Add HOST_CC for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* Makefile.am: Export HOST_CC for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* interp.c: mono_set_rootdir() doesnt take any args now

	* Makefile.am: Export HOST_CC and turn on optimisation for w32 builds

2002-08-28  Dick Porter  <[email protected]>

	* mono.c: mono_set_rootdir() doesnt take any args now

	* Makefile.am: Export HOST_CC for w32 builds

svn path=/trunk/mono/; revision=7124
2002-08-28 14:14:24 +00:00
Duncan Mak 2b31a83b28 2002-08-29 Duncan Mak <[email protected]>
* StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
	the build for gtk#.

svn path=/trunk/mcs/; revision=7123
2002-08-28 09:22:19 +00:00
Dietmar Maurer b1d4839dd3 2002-08-28 Dietmar Maurer <[email protected]>
* jit.c (mono_store_tree): only allocate vars if really necessary

svn path=/trunk/mono/; revision=7122
2002-08-28 09:09:25 +00:00
Gaurav Vaish 63da177af1 2002-08-28 Gaurav Vaish <[email protected]>
* DataSourceInternal.cs       - Added new class (internal).
* ChangeLog                   - Updated Info.

svn path=/trunk/mcs/; revision=7121
2002-08-28 06:17:19 +00:00
Nick Drochak 5e3f295d55 *** empty log message ***
svn path=/trunk/mono/; revision=7120
2002-08-28 04:07:42 +00:00
Gonzalo Paniagua Javier b65b32946f 2002-08-28 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: fixed buglet.

svn path=/trunk/mcs/; revision=7119
2002-08-28 02:51:50 +00:00
Gonzalo Paniagua Javier 5bf2383288 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* System.IO/BinaryReader.cs:
	* System.IO/BinaryWriter.cs:
	* System.IO/MemoryStream.cs:
	* System.IO/StreamReader.cs:
	* System.IO/StreamWriter.cs:
	* System.IO/StringReader.cs:
	* System.IO/StringWriter.cs:
	* System.IO/TextWriter.cs:
	* System.Threading/WaitHandle.cs: IDisposable fixes.

svn path=/trunk/mcs/; revision=7118
2002-08-28 02:30:47 +00:00
Gonzalo Paniagua Javier 3e02dca4b6 2002-08-28 Gonzalo Paniagua Javier <[email protected]>
* System.ComponentModel/Component.cs:
	* System.ComponentModel/ComponentCollection.cs:
	* System.ComponentModel/Container.cs:
	* System.ComponentModel/MarshalByValueComponent.cs:
	* System.Diagnostics/Process.cs:
	* System.Diagnostics/TextWriterTraceListener.cs:
	* System.IO/FileSystemWatcher.cs:
	IDisposable fixes.

svn path=/trunk/mcs/; revision=7117
2002-08-28 02:30:24 +00:00
Martin Baulig 6563dbd72c 2002-08-28 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Don't silently return
	but return an error if an operator cannot be applied between two
	enum types.

svn path=/trunk/mcs/; revision=7116
2002-08-28 02:27:19 +00:00
Martin Baulig 230c0d7d06 Oops, default to public if no attribute is given.
svn path=/trunk/mcs/; revision=7115
2002-08-28 02:13:53 +00:00
Martin Baulig b8204cc351 2002-08-28 Martin Baulig <[email protected]>
* class.cs (Constructor.Define): Set the permission attributes
	correctly instead of making all constructors public.

svn path=/trunk/mcs/; revision=7114
2002-08-28 00:43:14 +00:00
Martin Baulig 0c06e20cc0 2002-08-28 Martin Baulig <[email protected]>
* ecore.cs (Expression.DoResolve): Do a TypeManager.MemberLook
	for private members before reporting a CS0103; if we find anything,
	it's a CS0122.

svn path=/trunk/mcs/; revision=7112
2002-08-27 23:52:31 +00:00
Martin Baulig 5305f826e0 2002-08-28 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.FilterWithClosure): It's not enough
	to check whether `closure_start_type == closure_invocation_type',
	we also need to check whether `m.DeclaringType == closure_invocation_type'
	before bypassing the permission checks.  We might be accessing
	protected/private members from the base class.
	(TypeManager.RealMemberLookup): Only set private_ok if private
	members were requested via BindingFlags.NonPublic.

	* ecore.cs (MethodGroupExpr.IsExplicitImpl): New property.

	* expression.cs (MemberAccess.ResolveMemberAccess): Set
	MethodGroupExpr.IsExplicitImpl if appropriate.
	(Invocation.DoResolve): Don't report the CS0120 for explicit
	interface implementations.

svn path=/trunk/mcs/; revision=7111
2002-08-27 23:31:07 +00:00
Martin Baulig 6718c8a85d 2002-08-27 Martin Baulig <[email protected]>
* cs0120-3.cs: New test.

svn path=/trunk/mcs/; revision=7110
2002-08-27 21:16:29 +00:00
Martin Baulig f2008bcb4a 2002-08-27 Martin Baulig <[email protected]>
* expression.cs (Invocation.DoResolve): If this is a static
	method and we don't have an InstanceExpression, we must report
	a CS0120.

svn path=/trunk/mcs/; revision=7109
2002-08-27 21:13:48 +00:00
Martin Baulig f3c7da05e3 2002-08-27 Martin Baulig <[email protected]>
* debug.c: The mono symbol file is installed together with the assembly
	it belongs to and it's used on a per-image basis.

svn path=/trunk/mono/; revision=7101
2002-08-27 17:54:23 +00:00
Paolo Molaro db6e307c86 Tue Aug 27 19:44:32 CEST 2002 Paolo Molaro <[email protected]>
* mono.c: don't use the cil-coff header outside of the loader.

svn path=/trunk/mono/; revision=7100
2002-08-27 17:46:10 +00:00
Gonzalo Paniagua Javier a16a51c225 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
	* class/library.make:
	* class/makefile.gnu:
	* class/I18N/makefile.gnu
	* class/corlib/makefile.gnu:
	* class/corlib/Test/ChangeLog:
	* class/corlib/Test/corlib_linux_test.args:
	* class/corlib/Test/makefile.gnu:
	* class/corlib/Test/run_test.sh:
	* jay/makefile.gnu:
	* mcs/makefile.gnu:
	* monoresgen/makefile.gnu:
	* nunit/makefile.gnu:

	Allow running 'make -f makefile.gnu test' from top directory.
	In the libraries makefile.gnu you just have to add TEST_DIR=dirname
	with the name where tests reside.

svn path=/trunk/mcs/; revision=7099
2002-08-27 17:31:06 +00:00
Paolo Molaro 7818abc420 Tue Aug 27 18:34:51 CEST 2002 Paolo Molaro <[email protected]>
* file-io.c process.c: MonoString are null terminated, no
	need for mono_string_to_utf16() anymore.

svn path=/trunk/mono/; revision=7096
2002-08-27 16:37:08 +00:00
Paolo Molaro a0e8b42612 Removed iconv header.
svn path=/trunk/mono/; revision=7094
2002-08-27 16:19:47 +00:00
Paolo Molaro 3923c5163d Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: remove iconv checks.

svn path=/trunk/mono/; revision=7093
2002-08-27 16:19:15 +00:00
Paolo Molaro 258276203c Tue Aug 27 17:51:27 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, unicode.h, unicode.c: removed unused iconv stuff.

svn path=/trunk/mono/; revision=7091
2002-08-27 16:05:14 +00:00
Paolo Molaro 0b315c47ee Tue Aug 27 16:57:18 CEST 2002 Paolo Molaro <[email protected]>
* TypeBuilder.cs: remove duplicate code and fix
	named field reading in custom attr.

svn path=/trunk/mcs/; revision=7089
2002-08-27 14:59:42 +00:00
Paolo Molaro b4244586e2 Tue Aug 27 16:39:47 CEST 2002 Paolo Molaro <[email protected]>
* MonoType.cs: speedup access to common data.

svn path=/trunk/mcs/; revision=7088
2002-08-27 14:42:09 +00:00
Paolo Molaro 740dee6302 Tue Aug 27 16:38:58 CEST 2002 Paolo Molaro <[email protected]>
* icall.c, reflection.h: speedup System.MonoType.

svn path=/trunk/mono/; revision=7087
2002-08-27 14:42:07 +00:00
Paolo Molaro ab1d8f9b91 Tue Aug 27 16:37:01 CEST 2002 Paolo Molaro <[email protected]>
* reflection.c: allow null as the value of a string argument in
	custom attributes constructors.

svn path=/trunk/mono/; revision=7086
2002-08-27 14:39:19 +00:00
Gonzalo Paniagua Javier 0673413dec 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu:
	* src/NUnitConsole/makefile.gnu: some modifications to use the other
	makefiles and build dll and exe on linux.

	* src/makefile.gnu: New file.
	* src/NUnitCore/list.unix: New file.
	* src/NUnitCore/makefile.gnu: New file.

svn path=/trunk/mcs/; revision=7085
2002-08-27 13:29:18 +00:00
Martin Baulig 22b9f047d9 2002-08-27 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_get_symbol_files): Removed, we need
	to use global variables for this since they're stored in a core file.
	(mono_debugger_symbol_file_table_generation): New global variable.
	(mono_debugger_symbol_file_table): New global variable.
	(mono_debugger_update_symbol_file_table): New global function to update
	the symbol file table.

svn path=/trunk/mono/; revision=7083
2002-08-27 12:56:58 +00:00
Martin Baulig a266b5dd42 2002-08-27 Martin Baulig <[email protected]>
* trampoline.c (mono_generic_trampoline_code): New global variable.
	(arch_create_jit_trampoline): Use the new global variable to store the
	generic trampoline code instead of using a static one.  This allows the
	debugger to access this variable to check whether a method is a trampoline.

	* debug.h (mono_generic_trampoline_code): Added external declaration.

svn path=/trunk/mono/; revision=7082
2002-08-27 12:01:46 +00:00
Martin Baulig a3bba04e9c 2002-08-27 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodAddress): Removed `TrampolineAddress'.

svn path=/trunk/mcs/; revision=7081
2002-08-27 11:56:30 +00:00
Martin Baulig 8d9dd544ae 2002-08-27 Martin Baulig <[email protected]>
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Removed the
	`trampoline_address' field.

svn path=/trunk/mono/; revision=7080
2002-08-27 11:55:30 +00:00
Martin Baulig 1ff926d1d3 Reverted, it isn't needed anymore.
2002-08-24  Martin Baulig  <[email protected]>

	* rawbuffer.c (mono_raw_buffer_load): Added `int is_shared'
	argument.  This is a flag which specifies whether we do a private
	copy-on-write mapping even when a writable mapping was requested.

svn path=/trunk/mono/; revision=7079
2002-08-27 11:52:16 +00:00
Dietmar Maurer 48cabf2578 2002-08-27 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): removed wrong null
	check (fixes bug #29486)

svn path=/trunk/mono/; revision=7078
2002-08-27 07:53:32 +00:00
Miguel de Icaza 5dc2a03871 I can not figure out, how I made 0.15, without it being on cvs
svn path=/trunk/mono/; revision=7077
2002-08-27 06:41:12 +00:00
Gonzalo Paniagua Javier 416a22b786 Added clean target.
svn path=/trunk/mcs/; revision=7076
2002-08-27 03:06:15 +00:00
Nick Drochak f80004b19f 2002-08-27 Nick Drochak <[email protected]>
* index: fix small typo for top news item

svn path=/trunk/mono/; revision=7075
2002-08-27 03:02:24 +00:00
Gonzalo Paniagua Javier b1c3e6b4bc Oops
svn path=/trunk/mcs/; revision=7074
2002-08-27 02:07:57 +00:00
Gonzalo Paniagua Javier 9e679a80e4 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Security
	* System.Web.Security/DefaultAuthenticationEventHandler.cs:
	* System.Web.Security/DefaultAuthenticationModule.cs:
	* System.Web.Security/FileAuthorizationModule.cs:
	* System.Web.Security/FormsAuthentication.cs:
	* System.Web.Security/FormsAuthenticationEventArgs.cs:
	* System.Web.Security/FormsAuthenticationEventHandler.cs:
	* System.Web.Security/FormsAuthenticationModule.cs:
	* System.Web.Security/FormsAuthenticationTicket.cs:
	* System.Web.Security/FormsIdentity.cs:
	* System.Web.Security/PassportAuthenticationEventArgs.cs:
	* System.Web.Security/PassportAuthenticationEventHandler.cs:
	* System.Web.Security/PassportAuthenticationModule.cs:
	* System.Web.Security/PassportIdentity.cs:
	* System.Web.Security/UrlAuthorizationModule.cs:
	* System.Web.Security/WindowsAuthenticationEventArgs.cs:
	* System.Web.Security/WindowsAuthenticationEventHandler.cs:
	* System.Web.Security/WindowsAuthenticationModule.cs: new files. Some
	of them implemented, some others stubbed out.

svn path=/trunk/mcs/; revision=7073
2002-08-27 02:03:20 +00:00
Gonzalo Paniagua Javier c87c2fda2b 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added a couple of new files in System.Security.Principal.
	* System.Security.Principal/WindowsIdentity.cs:
	* System.Security.Principal/WindowsImpersonationContext.cs: stubbed.

svn path=/trunk/mcs/; revision=7072
2002-08-27 01:40:49 +00:00
Martin Baulig d2bb06c6f2 2002-08-27 Martin Baulig <[email protected]>
* debug.c (MonoDebugHandle): Moved the method hash into the
	AssemblyDebugInfo struct since we need to use a separate hash for each
	MonoImage.

	* debug.c: Added special undocumented command line argument to create a
	symbol file for IL files on-the-fly.  In this case, we also need to create
	the IL files and parse them.
	(mono_debugger_internal_get_symbol_files): Return something more reasonable.

svn path=/trunk/mono/; revision=7067
2002-08-26 23:28:55 +00:00
Martin Baulig 05ee953635 2002-08-27 Martin Baulig <[email protected]>
* debug-mono-symfile.c: Changed the file format in a way that allows us
	open it read-only and to use a specially malloced area for all the
	dynamic data.  We can now also generate a symbol file on-the-fly if we're
	debugging IL code and there is no MCS generated symbol file for it.

svn path=/trunk/mono/; revision=7066
2002-08-26 23:25:36 +00:00
Martin Baulig 97542158b6 2002-08-27 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Changed the file format in a way that allows us
	open it read-only and to use a specially malloced area for all the
	dynamic data.

svn path=/trunk/mcs/; revision=7065
2002-08-26 23:23:36 +00:00
Gonzalo Paniagua Javier d201881f93 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
	to add HttpMapPath to the list file...

svn path=/trunk/mcs/; revision=7064
2002-08-26 23:14:23 +00:00
Gonzalo Paniagua Javier ff19f0aa42 Added IHttpMapPath.cs
svn path=/trunk/mcs/; revision=7063
2002-08-26 23:11:53 +00:00
Ravi Pratap M e09e903225 2002-08-26 Ravi Pratap <[email protected]>
* XmlAttribute.cs (InnerText): Implement getting this property.

	* XmlNode.cs (InnerText): Ensure that we append only values of
	text nodes.

svn path=/trunk/mcs/; revision=7061
2002-08-26 20:26:15 +00:00
Gonzalo Paniagua Javier 06a84330ee 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
	report when i get a test case.

svn path=/trunk/mcs/; revision=7060
2002-08-26 20:25:21 +00:00
Gonzalo Paniagua Javier e4e5331199 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: little fixes.

svn path=/trunk/mcs/; revision=7058
2002-08-26 19:45:11 +00:00
Gonzalo Paniagua Javier 22239e7634 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs:
	* HttpCachePolicy.cs:
	* HttpResponseHeader.cs:
	* HttpResponseStream.cs:
	* HttpResponseStreamProxy.cs:
	* HttpValueCollection.cs: misc. fixes based on class status page.

	* IHttpMapPath.cs: New file.

	* HttpRequest.cs: implemented ContentEncoding.
	* HttpWorkerRequest.cs: mono-stylized and implemented
	SendResponseFromMemory.

svn path=/trunk/mcs/; revision=7057
2002-08-26 19:27:46 +00:00
Ravi Pratap M 5d82d5ca9f Fix typo.
svn path=/trunk/mcs/; revision=7055
2002-08-26 17:29:56 +00:00
Paolo Molaro 4358d78a0e Mon Aug 26 16:47:37 CEST 2002 Paolo Molaro <[email protected]>
* object.c: added a define for a good string and array
	creation speedup (not enabled by default because we need to deal with
	the synch stuff).

svn path=/trunk/mono/; revision=7052
2002-08-26 14:50:32 +00:00
Nick Drochak 6ec3005613 2002-08-26 Nick Drochak <[email protected]>
* BinaryReaderTest.cs: Closing the stream twice doesn not throw any
	exceptions on .NET.

svn path=/trunk/mcs/; revision=7051
2002-08-26 14:47:25 +00:00
Paolo Molaro 6c10f94827 Mon Aug 26 16:44:54 CEST 2002 Paolo Molaro <[email protected]>
* *.cs: change to conform to mono coding style.

svn path=/trunk/mcs/; revision=7050
2002-08-26 14:46:37 +00:00
Gonzalo Paniagua Javier e60e67f9be Added 'clean' target to build file
svn path=/trunk/mcs/; revision=7049
2002-08-26 03:24:22 +00:00
Gonzalo Paniagua Javier 71ed9a2dd0 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
	that allowed compiling this.
	[ FIXME: filed bug #29435. mcs should have failed on this ]

svn path=/trunk/mcs/; revision=7048
2002-08-26 03:14:30 +00:00
Gonzalo Paniagua Javier b83d3bf2ad 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* AuthenticationMode.cs:
	* ClientTargetSectionHandler.cs:
	* FormsAuthPasswordFormat.cs:
	* FormsProtectionEnum.cs:
	* HttpCapabilitiesBase.cs: fixes base on class status page.

svn path=/trunk/mcs/; revision=7047
2002-08-26 02:53:15 +00:00
Gonzalo Paniagua Javier 7ab3214054 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files.

	* System.Web.UI.WebControls/FontUnit.cs:
	* System.Web.UI.WebControls/HorizontalAlign.cs:
	* System.Web.UI.WebControls/Unit.cs:
	* System.Web.UI.WebControls/VerticalAlign.cs: fixes based on class
	status page.

	* System.Web.UI.WebControls/HorizontalAlignConverter.cs: implemented.
	* System.Web.UI.WebControls/VerticalAlignConverter.cs: implemented.

	* System.Web.UI.WebControls/FontUnitConverter.cs: implemented
	GetStandardValues ().

	* System.Web.UI.WebControls/WebColorConverter.cs: implemented
	ConvertFrom () and ConvertTo ().

svn path=/trunk/mcs/; revision=7046
2002-08-26 02:36:24 +00:00
Rodrigo Moya 49f4f066e8 2002-08-25 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
	correctly the isolation level.
	(IsolationLevel): likewise.
	(~OleDbTransaction): implemented.

	* System.Data.OleDb/libgda.cs: added more needed stuff.

svn path=/trunk/mcs/; revision=7043
2002-08-26 01:23:20 +00:00
Gonzalo Paniagua Javier a3d9d0e4d5 *** empty log message ***
svn path=/trunk/mcs/; revision=7042
2002-08-26 00:59:16 +00:00
Gonzalo Paniagua Javier d1062e5f1d Moved from System.Web.Utils to System.Web.Util
svn path=/trunk/mcs/; revision=7041
2002-08-26 00:57:47 +00:00
Martin Baulig eeb019ede8 2002-08-26 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_free_symbol_files): New function.
	(mono_debugger_internal_symbol_files_changed): New global variable.

svn path=/trunk/mono/; revision=7039
2002-08-26 00:26:53 +00:00
Martin Baulig b4f60eb86b Removed some debugging stuff and made this work for the first line in a method.
svn path=/trunk/mono/; revision=7038
2002-08-26 00:25:41 +00:00
Martin Baulig a524dfbda7 2002-08-26 Martin Baulig <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Include the error message
	from g_module_error() in the error message.

svn path=/trunk/mono/; revision=7037
2002-08-26 00:25:15 +00:00
Gonzalo Paniagua Javier 7912776803 added TcpServerChannel.cs
svn path=/trunk/mcs/; revision=7036
2002-08-26 00:16:07 +00:00
Gonzalo Paniagua Javier 75ab78e4bb Moving this file to System.Runtime.Remoting.dll
svn path=/trunk/mcs/; revision=7035
2002-08-26 00:12:01 +00:00
Tim Coleman ad41847caa 2002-08-25 Tim Coleman <[email protected]>
* XmlNode.cs:
                Change CreateNavigator to not be virtual.
        * XmlElement.cs:
                Add set_Prefix and InnerText accessors.
        * XmlEntityReference.cs:
                Add set_Value accessor.
        * XmlTextWriter.cs:
                Make objects which should be private private.
        * XmlWriter.cs:
                Remove WriteStartElementInternal abstract definition.
        * XmlValidatingReader.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=7034
2002-08-25 22:04:31 +00:00
Martin Baulig 9443a98307 2002-08-25 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Don't allow `!=' and
	`==' between a valuetype and an object.

svn path=/trunk/mcs/; revision=7033
2002-08-25 21:55:13 +00:00
Sergey Chaban f5d4a50a8e Fixed small typo that resulted in infinite loop when pasing signatures with custom modifiers.
svn path=/trunk/mono/; revision=7028
2002-08-25 17:20:16 +00:00
Tim Coleman a47aca07c9 2002-08-24 Tim Coleman <[email protected]>
* SoapCodeExporter.cs:
                Fix return value of ExportTypeMapping.
        * XmlCustomFormatter.cs:
                Change methods to be internal instead of public.
        * XmlSerializationWriter.cs:
                Modify GetPrimitiveTypeName to build on linux.
                Modify GetQualifiedName to return an incrementing prefix
                instead of the same one all the time (still need to manage
                conflicts)
                Modify WriteElementString to only do special stuff is XsiType
                is not defined.
                Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
                an XmlQualifiedName.

svn path=/trunk/mcs/; revision=7023
2002-08-25 05:16:40 +00:00
Miguel de Icaza feb82bd617 2002-08-25 Miguel de Icaza <[email protected]>
* ecore.cs (TypeExpr): Provide a ToString method.

svn path=/trunk/mcs/; revision=7022
2002-08-25 05:16:30 +00:00
Tim Coleman 66c54d45e3 2002-08-24 Tim Coleman <[email protected]>
* list:
                New files added to build.

svn path=/trunk/mcs/; revision=7021
2002-08-25 04:33:29 +00:00
Tim Coleman 92f445d92c 2002-08-24 Tim Coleman <[email protected]>
* HttpServerProtocol.cs:
        * WebServiceHandler.cs:
                Some commented code added, from analysing
                an exception trace.
        * MimeReturnWriter.cs:
        * XmlReturnWriter.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=7020
2002-08-25 04:32:55 +00:00
Martin Baulig 61be84f5d6 Added public property to get the methods.
svn path=/trunk/mcs/; revision=7018
2002-08-25 01:07:56 +00:00
Miguel de Icaza d46fda6d71 2002-08-24 Miguel de Icaza <[email protected]>
* StreamReader.cs: Removed TODOs, as the code seems to be
	complete.

svn path=/trunk/mcs/; revision=7017
2002-08-25 00:04:06 +00:00
Martin Baulig 6231adbb70 Use start and end addresses for methods.
svn path=/trunk/mono/; revision=7016
2002-08-25 00:04:06 +00:00
Martin Baulig 80105b4782 Use StartAddress and EndAddress for methods.
svn path=/trunk/mcs/; revision=7015
2002-08-25 00:03:38 +00:00
Miguel de Icaza f7cd19e933 2002-08-24 Miguel de Icaza <[email protected]>
* Path.cs (GetTempFileName): Make this routine atomic by not
	testing and then creating, but using the create call to ensure
	that we own the filename.

svn path=/trunk/mcs/; revision=7014
2002-08-24 23:59:54 +00:00
Radek Doulik d0497fcc46 fixed struct marshaling, 108 tests pass now
svn path=/trunk/mono/; revision=7013
2002-08-24 23:54:12 +00:00
Martin Baulig ecf4ffdc4f 2002-08-24 Martin Baulig <[email protected]>
* debug.c (mono_debugger_internal_symbol_files): New function.

svn path=/trunk/mono/; revision=7010
2002-08-24 23:12:44 +00:00
Martin Baulig 474fba8120 Oooops, that was a cut&paste error ...
svn path=/trunk/mono/; revision=7009
2002-08-24 23:11:31 +00:00
Martin Baulig 416f94ed9b 2002-08-25 Martin Baulig <[email protected]>
* MonoSymbolTableReader.cs: New file.  This is the reader for the
	new symbol file format.

svn path=/trunk/mcs/; revision=7008
2002-08-24 23:02:46 +00:00
Miguel de Icaza a58ff9d3c1 Flush
svn path=/trunk/mono/; revision=7007
2002-08-24 22:55:31 +00:00
Juli Mallett 21c8194c65 2002-08-24 Juli Mallett <[email protected]>
* configure.in: Recognise OpenBSD/macppc as PowerPC.

svn path=/trunk/mono/; revision=7006
2002-08-24 22:25:58 +00:00
Gonzalo Paniagua Javier a72919388c 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* TypeBuilder.cs: UnspecifiedTypeSize is 0.

svn path=/trunk/mcs/; revision=7005
2002-08-24 17:57:01 +00:00
Gonzalo Paniagua Javier e8d3094b31 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* LifetimeServices.cs: the class is sealed.

svn path=/trunk/mcs/; revision=7004
2002-08-24 17:55:11 +00:00
Gonzalo Paniagua Javier df590f5519 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ChannelServices.cs: added private .ctor

svn path=/trunk/mcs/; revision=7003
2002-08-24 17:53:45 +00:00
Gonzalo Paniagua Javier 4c38a8392d 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs:
	* BitArray.cs:
	* CaseInsensitiveComparer.cs:
	* CaseInsensitiveHashCodeProvider.cs:
	* IEnumerable.cs:
	* Queue.cs: misc. fixes based on class status page.

svn path=/trunk/mcs/; revision=7002
2002-08-24 17:52:23 +00:00
Gonzalo Paniagua Javier 851bbb86ad 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ASCIIEncoding.cs:
	* Decoder.cs:
	* Encoder.cs:
	* Encoding.cs:
	* UTF7Encoding.cs:
	* UTF8Encoding.cs:
	* UnicodeEncoding.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=7001
2002-08-24 17:49:22 +00:00
Gonzalo Paniagua Javier 8df6fef700 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: improved performace by using String.InternalCopyTo
	instead of using ToCharArray all over the place (more that 50% of
	speed improvement when using Append).

svn path=/trunk/mcs/; revision=7000
2002-08-24 17:46:16 +00:00
Martin Baulig 56d9f7cfdc 2002-08-24 Martin Baulig <[email protected]>
* debug.c (mono_debug_write_symbols): Added support for the new
	debugging format.

svn path=/trunk/mono/; revision=6999
2002-08-24 17:29:56 +00:00
Martin Baulig 955251d0a3 2002-08-24 Martin Baulig <[email protected]>
* rawbuffer.c (mono_raw_buffer_load): Added `int is_shared'
	argument.  This is a flag which specifies whether we do a private
	copy-on-write mapping even when a writable mapping was requested.

	* debug-mono-symfile.c (mono_debug_update_mono_symbol_file): New
	function to update the symbol file.  The symbol file is mmap()ed
	writable, but private.  This allows us to install the symbol file
	together with the assembly.

svn path=/trunk/mono/; revision=6998
2002-08-24 17:29:06 +00:00
Gonzalo Paniagua Javier 67576cf33d Removed. It's almost the same as InternalCopyTo in string-icalls.c
svn path=/trunk/mono/; revision=6997
2002-08-24 16:48:44 +00:00
Gonzalo Paniagua Javier e822f0183a 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added ves_icall_StringBuilder_CopyChars.

svn path=/trunk/mono/; revision=6996
2002-08-24 16:17:09 +00:00
Martin Baulig 296030ce22 Added docu about the new mono' debugging format and removed dwarf-plus' since I'm about to remove this.
svn path=/trunk/mono/; revision=6995
2002-08-24 16:04:31 +00:00
Martin Baulig 4924193d17 2002-08-24 Martin Baulig <[email protected]>
* mono.c (main): The `--debug' argument now knows about a new
	debugging format `mono' which will be used to display source lines
	in backtraces.

	* debug.h (MonoDebugFormat): Added a new MONO_DEBUG_FORMAT_MONO
	which will be used when displaying backtraces.  It reads a new
	binary symbol file.

svn path=/trunk/mono/; revision=6994
2002-08-24 16:03:19 +00:00
Martin Baulig 589c754cf8 2002-08-24 Martin Baulig <[email protected]>
* debug-mono-symfile.[ch]: New files.  Similar to debug-symfile.[ch]
	but they can read the new symbol file format which mcs is now creating.

	* debug-symfile.c (mono_debug_find_source_location): Moved to
	debug-mono-symfile.c; this is now operating on the new symbol file.

svn path=/trunk/mono/; revision=6993
2002-08-24 16:02:31 +00:00
Martin Baulig 0ab5f8b4da 2002-08-24 Martin Baulig <[email protected]>
* codegen.cs (CodeGen.InitMonoSymbolWriter): The symbol file is
	now called proggie.dbg and it's a binary file.

svn path=/trunk/mcs/; revision=6992
2002-08-24 15:57:45 +00:00
Martin Baulig 0f999df09c 2002-08-24 Martin Baulig <[email protected]>
* MonoSymbolTable.cs, MonoSymbolTableWriter.cs: New files.  This
	creates a binary application.dbg file which will be used by the
	JIT to display source lines for exceptions.

	* list.unix: Disabled the dwarf file writer in the build.

svn path=/trunk/mcs/; revision=6991
2002-08-24 15:54:44 +00:00
Dietmar Maurer 2634b55731 more tcp channel code, renamed soap namespace to Soap
svn path=/trunk/mcs/; revision=6990
2002-08-24 10:39:22 +00:00
Tim Coleman 2255211cb9 2002-08-23 Tim Coleman <[email protected]>
* list:
                New files added to build.

svn path=/trunk/mcs/; revision=6987
2002-08-24 04:17:14 +00:00
Tim Coleman 60f5e9158d 002-08-23 Tim Coleman <[email protected]>
* ServerProtocol.cs:
        * SoapServerProtocol.cs:
                More cleanup, comparison with class status.
        * WebServiceHandler.cs:
        * HttpServerProtocol.cs:
                New stubs added.

svn path=/trunk/mcs/; revision=6986
2002-08-24 04:16:30 +00:00
Miguel de Icaza affbd09104 Flush
svn path=/trunk/mono/; revision=6985
2002-08-24 00:53:06 +00:00
Miguel de Icaza 736b3c4147 Add
svn path=/trunk/mcs/; revision=6984
2002-08-24 00:49:12 +00:00
Miguel de Icaza c3bad0708e Flush
svn path=/trunk/mono/; revision=6983
2002-08-24 00:34:40 +00:00
Miguel de Icaza 73651b5b2a Fix
svn path=/trunk/mono/; revision=6982
2002-08-23 23:52:51 +00:00
Miguel de Icaza b30b11435b Prepare for 0.15
svn path=/trunk/mono/; revision=6981
2002-08-23 23:36:10 +00:00
Miguel de Icaza 6f8509ece5 For now, get _REENTRANT defined, we should use the Sleepycat mechanism later
svn path=/trunk/mono/; revision=6979
2002-08-23 22:47:09 +00:00
Miguel de Icaza bdb0cea332 remove spec
svn path=/trunk/mcs/; revision=6976
2002-08-23 20:06:01 +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
6432 changed files with 669424 additions and 221681 deletions

No files matched your search

+2
View File
@@ -15,3 +15,5 @@ Makefile.in
mono-*.tar.gz
stamp-h
stamp-h.in
mono.pc
mono.spec
+572
View File
@@ -1,3 +1,574 @@
2003-06-10 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Check for struct ip_mreq if struct ip_mreqn isn't
available.
2003-06-10 Zoltan Varga <[email protected]>
* configure.in: Define HAVE_GC_GCJ_MALLOC for included libgc.
2003-06-10 Martin Baulig <[email protected]>
* configure.in: Fall back to boehm if we don't have a libgc
subdirectory.
2003-06-10 Martin Baulig <[email protected]>
* configure.in: Make the libgc stuff actually work; we now create
a shared libmonogc.so when using the included libgc.
2003-06-09 Martin Baulig <[email protected]>
* configure.in: Only check for gc if --with-gc=boehm.
2003-06-08 Martin Baulig <[email protected]>
* configure.in: Tell libgc's configure about our threads library.
2003-06-08 Martin Baulig <[email protected]>
* libgc/: Integrate the libgc module here.
[Note: A simple `cvs update' won't work this time; you either need
to re-checkout the `mono' module or manually move the `libgc'
module here.]
* configure.in (--with-gc): Added `included' option to use the
included libgc. This is now also the default.
(LIBGC_CFLAGS, LIBGC_LIBS): Put the libgc stuff here and AC_SUBST it.
(INCLUDED_LIBGC): New automake conditional.
(USE_INCLUDED_LIBGC): #define this if appropriate.
* autogen.sh: Run libgc/autogen.sh.
* Makefile.am (SUBDIRS): Added libgc.
2003-06-05 Duncan Mak <[email protected]>
* mono.spec.in (Requires): Add libxml2 and libxslt dependency on
the package.
2003-05-19 Dick Porter <[email protected]>
* configure.in: Netbsd build fix by [email protected].
2003-05-10 Martin Willemoes Hansen <[email protected]>
* scripts/Makefile.am: Added monoresgen secutil sqlsharp
shell wrapper scripts.
2003-05-08 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am:
- Compile with mcs.
- Disable some warnings.
- Added executables to clean target.
- Make testjit the default target.
- Print list of failed tests at the end of a test run.
- Abort tests when Ctrl-C is pressed.
* mono/tests/test-driver: Return with a special exit code when
SIGINT is detected.
* mono/tests/checked.cs: Make it compile.
2003-05-02 Miguel de Icaza <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Use explicit file names
for the target exe binaries.
Copy cilc.exe and secutil.exe from the right paths to the right
location.
Add missing assemblies.
2003-05-02 Alp Toker <[email protected]>
* data/config.in: new dll mapping entry for libglade
2003-05-01 Duncan Mak <[email protected]>
* scripts/Makefile.am:
* runtime/Makefile.am: Install cilc and ilasm.
2003-04-29 Dietmar Maurer <[email protected]>
* mono/tests/Makefile.am (JITTEST_PROG): use mini/mono
2003-04-16 Charles Iliya Krempeaux <[email protected]>
* doc/web/team.xml : Added myself to it.
2003-04-10 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Make the names of the element be
lowercase instead. BenM says this makes it XHTML compliant; heck,
I'm generating this from an XmlDocument already, why not make it
XHTML compliant?
2003-04-10 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs (Compare): Correctly fix
ContributorComparer.
(RenderHtml): Add some SetAttribute loving to make it render prettier.
* doc/web/team.xml: Revert excessive indenting.
2003-04-07 Martin Baulig <[email protected]>
* mono/mini/: Added this directory to the build; install `mini'
and `libmini.la'.
2003-04-07 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Fix ContributorComparer.
2003-04-04 Duncan Mak <[email protected]>
* doc/web/render-team-page.cs: Make it use 'none.png' if no image
are specified in the XML.
* doc/web/team.xml: Remove the comment.
* doc/web/render-team-page.cs: Make it not output a full HTML file.
2003-04-04 Duncan Mak <[email protected]>
* doc/web/commands:
* doc/web/makefile: Add team page information.
* doc/web/team.xml:
* doc/web/render-team-page.cs: Code for rendering a team page.
2003-04-02 Duncan Mak <[email protected]>
* doc/web/makefile: Add a new make target for generating a team
page on go-mono.com.
2003-04-04 Zoltan Varga <[email protected]>
* configure.in: Added check for GC_gcj_malloc.
2003-04-04 Martin Willemoes Hansen <[email protected]>
* man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.
>>>>>>> 1.166
2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.
2003-02-13 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added default sessionState section and handler.
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.
* runtime/Makefile.am: Fix the path for monoresgen.exe.
2002-09-27 Dick Porter <[email protected]>
* configure.in: Check for semaphore.h. Patch for BSD from
[email protected] (Julio Merino).
2002-09-20 Duncan Mak <[email protected]>
* data/config.in: Added reference to libxslt.
2002-09-20 Mark Crichton <[email protected]>
* configure.in: added NEED_LINK_UNLINK to make io-layer more portable.
Linux has a "virtual fs" for UNIX sockets, Solaris and BSD don't.
For systems that do not have such a virtual FS, define
NEED_LINK_UNLINK.
* acconfig.h: added NEED_LINK_UNLINK
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: add some needed defines to fix support of
threads in the GC.
2002-09-19 Mark Crichton <[email protected]>
* configure.in: Added checks for Solaris to use X/Open functionality.
Really needed for the io-layer code.
2002-09-15 Andrew Birkett <[email protected]>
* man/mcs.1: --probe is now --expect-error.
2002-09-09 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Simplify thread checks, by using canned rules for
particular systems (based on the sleepycat db configure.in).
Tested on linux/x86, freebsd and w32. Solaris also added, but I
don't have a solaris machine to try it on.
2002-09-04 Juli Mallett <[email protected]>
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.
2002-09-02 Diego Sevilla Ruiz <[email protected]>
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
Security) to the OpenSSH keys required by mono CVS
access.
2002-09-01 Juli Mallett <[email protected]>
* configure.in, mono/interpreter/interp.c,
mono/io-layer/handles.c, mono/io-layer/processes.c,
mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
mono/metadata/appdomain.c, mono/metadata/class.c,
mono/metadata/domain.c, mono/metadata/gc.c,
mono/metadata/object.c, mono/metadata/reflection.c,
mono/metadata/threads.c, mono/os/gc_wrapper.h,
mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
wrap inclusion of gc.h for boehm, since from FreeBSD and
OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
in <gc/gc.h>. This will reduce the diffs FreeBSD ports has
to apply, and also makes it possible for me to build with
GC on OpenBSD/macppc built by hand.
2002-09-01 Juli Mallett <[email protected]>
* configure.in: On BSD don't try to use -ldl, we simply don't use it.
2002-09-01 Juli Mallett <[email protected]>
* mono/dis/dis-cil.c:
* configure.in: Check for <wchar.h> via autoconf, don't use it if
it isn't there, as it seems to work fine without it on OpenBSD.
2002-08-28 Dick Porter <[email protected]>
* mono/os/win32/util.c:
* mono/os/unix/util.c:
* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
(It doesn't do anything on unix builds, and the w32 version no
longer needs an arg.)
* configure.in: Add HOST_CC for w32 builds
Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
* configure.in: remove iconv checks.
2002-08-24 Juli Mallett <[email protected]>
* configure.in: Recognise OpenBSD/macppc as PowerPC.
Tue Aug 20 15:15:52 CEST 2002 Paolo Molaro <[email protected]>
@@ -534,3 +1105,4 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
* NEWS:
+3 -1
View File
@@ -1,6 +1,8 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = mono doc docs runtime scripts man data
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data
dnl EXTRA_SUBDIRS = libgc
EXTRA_DIST= mono.pc.in mono.spec.in
+855
View File
@@ -1,3 +1,858 @@
Hello everyone!
We are releasing a new version of Mono, Mono 0.22. A new release
is made today because of the few recent bug-fixes that were committed
to CVS.
Source code and binaries for this release can be found on the
web page,
http://www.go-mono.com/download.html
The URLs for the sources are:
* MCS package (the Class Libraries, C# and VB.NET compiler
and other assorted tools written in Managed code):
http://www.go-mono.com/archive/mcs-0.22.tar.gz
* Mono package (the Runtime engine and JIT compiler):
http://www.go-mono.com/archive/mono-0.22.tar.gz
RPM packages for this release can be downloaded from the web-page
as well as from the 'Mono' channel on Red Carpet. Debian packages will
appear on the download page later, as well as an installer for our
Windows users.
Since last Thursday, 320 commits have been made to our CVS
repository. These following hackers contributed to Mono since version
0.21:
Aleksey Demakov, Alexandre Pigolkine, Atsushi Enomoto, Elan
Feingeld, Dick Porter, Dietmar Maurer, Duncan Mak, Gonzalo
Paniagua, Ian MacLean, Jackson Harper, Jean-Marc Andre, Jerome
Laban, Lluis Sanchez, Martin Baulig, Miguel de Icaza, Nick
Drochak, Paolo Molaro, Pedro Martinez, Per Ameng, Peter Williams,
Rafael Teixeira, Reggie Burnett, Sebastien Pouliot, Tim Coleman
and Zoltan Varga.
Highlights:
* The "MemoryStream" bug.
This bug affected a lot of classes, and made them crashy,
database code, XML parsing and a few others were
crashing. Thanks to Gonzalo for fixing this bug.
* System.Data:
More bug fixes from Aleksey and Tim.
* Reflection:
Zoltan continues to provide fixes to our Reflection.Emit code
to host IKVM.
* Remoting:
Lluis added support for activation using activation
attributes.
* PEToolkit:
Jackson imported the PEAPI package from the Queensland
University of Technology in Australia. This will replace the
existing Mono.PEToolkit for our ILasm back-end.
* Windows Forms:
More fixes from Reggie and Alexandre.
* System.Web.Mail:
Per has been working on this namespace. He announces recently
that all major parts of System.Web.Mail has now been implemented.
* System.Web.Mobile:
Gaurav continues to make progress here.
* Misc:
Ian MacLean contributed a /compile flag to monoresgen and
assorted bug-fixes and improvements from the rest of the team.
My name is Duncan Mak, and I just made my first Mono release.
-----------------------------------------------------------------------------
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
fix release, a lot of work has been going on to make existing
features more robust and less buggy. Also, contributions are
too varied, so it is hard to classify them in groups.
* Stats
795 commits to mono and mcs since August 23rd.
* News
The changes that got in this releases are mostly
bugfixes. Miguel, Martin and Ravi attacked lots of bugs in the
compiler, Dick fixed a bunch of bugs related to processes and
threads. Mark Crichton resumed his work on the SPARC port and
made lots of progress there. Juli Mallett has been working on
making sure Mono also builds on BSD systems. As usual, Dietmar
and Paolo supplied their continuous stream of fixes to the
runtime.
Dietmar has completed the work on the runtime side for
remoting support and we ship now with a sample channel, the
System.Runtime.Remoting.Sample. This can be used as a
reference implementation for anyone interested in implementing
other channels (like a CORBA channel).
Duncan got preliminary XSLT support done by using
libxslt.
Gonzalo (with some help from Patrik) has been working hard
making our ASP.NET implementation work on both Mono and MS by
migrating the existing xsp code to the class library. Gaurav
started working on the classes in System.Design.dll and Chris
Toshok checked in Mono.Directory.LDAP, which will be the
foundation to implement the System.DirectoryServices assembly.
Various fixes from Kral, Jason, Piers and Gonzalo were
committed to System.Xml; Martin Algiers reports that the
upcoming NAnt release will be fully compatible with Mono.
Miguel imported Sergey Chaban's Mono.PEToolkit and ilasm code
to CVS. Nick, as always, continues to refine our testing
framework by improving our tests. Andrew Birkett continues to
improve the implementation of our security/cryptographic
classes. Jonathan Pryor contributed type-reflector the our
list of tools.
* Other News From Behind de Curtain.
While the above is pretty impressive on its own, various other
non-released portions of Mono have been undergoing: Adam Treat
has been leading the effort to document our class libraries
and produce the tools required for it.
Martin Baulig has been working on the Mono Debugger which is
not being released yet. This debugger allows both native
Linux application as well as CIL applications to be debugged
at the same time (and in fact, you can use this to debug the
JIT engine). The debugger is written in C# with some C glue
In the meant A new JIT engine is under development, focused on
adding more of the high-end optimizations which will be
integrated on an ahead-of-time-compiler. Dietmar and Paolo
have been working on this.
* Contributors to this release
* Non-Ximian developers: Adam Treat, Andrew Birkett, Dennis
Hayes, Diego Sevilla, Franklin Wise, Gaurav Vaish ,Jason
Diamond, Johannes Roith, John Sohn, Jonathan Pryor, Juli
Mallett, Kral Ferch, Mike Crichton, Nick Drochak, Nick
Zigarovich, Piers Haken, Rafael Teixeira, Ricardo Fernandez
Pascual, Sergey Chaban, Tim Coleman.
* Ximian developers: Dietmar, Paolo, Dick, Duncan, Ravi,
Miguel, Martin, Chris, Joe, Gonzalo, Rodrigo.
---------------------------------------------------------------------------------
* Sergey Chaban added thread-safe support to
System.Collections.SortedList.
+6 -1
View File
@@ -5,7 +5,7 @@
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_STRUCT_IP_MREQ
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
@@ -14,7 +14,12 @@
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef USE_INCLUDED_LIBGC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
#undef HAVE_GC_H
#undef HAVE_GC_GCJ_MALLOC
+17 -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
@@ -108,6 +117,12 @@ automake --add-missing --gnu $am_opt ||
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
if test -d $srcdir/libgc; then
echo Running libgc/autogen.sh ...
(cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@")
echo Done running libgc/autogen.sh ...
fi
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+213 -148
View File
@@ -1,26 +1,101 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono, 0.14)
AM_INIT_AUTOMAKE(mono,0.25)
AM_MAINTAINER_MODE
dnl ****************************************
dnl *** Check if we're building on win32 ***
dnl ****************************************
AC_MSG_CHECKING([if building for some Win32 platform])
dnl
dnl libgc checks
dnl
gc_headers=no
gc=included
use_included_gc=no
if test -d $srcdir/libgc ; then
gc_default=included
else
gc_default=boehm
fi
#
# 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])
libgc_threads=no
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
libdl=
libgc_threads=win32
gc_default=boehm
;;
*-*-*netbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
libdl=
libgc_threads=pthreads
;;
*-*-*freebsd*|*-*-*openbsd*)
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=
libgc_threads=pthreads
;;
*-*-linux*)
platform_win32=no
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"
libgc_threads=pthreads
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libmono_cflags="-D_REENTRANT"
libgc_threads=solaris
;;
*-*-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=
libgc_threads=no
gc_default=none
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
platform_win32=no
libdl="-ldl"
;;
esac
AC_MSG_RESULT($platform_win32)
AC_MSG_RESULT(ok)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
@@ -52,14 +127,14 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h)
AC_CHECK_HEADERS(iconv.h)
AC_CHECK_HEADERS(giconv.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)
# for mono/dis
AC_CHECK_HEADERS(wchar.h)
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
@@ -105,38 +180,72 @@ AC_SUBST(GLIB_LIBS)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
gc=auto
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
LIBGC_CFLAGS=
LIBGC_LIBS=
libgc_dir=
case "x$gc" in
xboehm|xyes)
xboehm|xbohem|xyes)
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
if test "x$found_boehm" != "xyes"; then
AC_MSG_ERROR("GC requested but libgc not found!")
AC_MSG_ERROR("GC requested but libgc not found! Install libgc or run configure with --with-gc=none.")
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)
LIBS="$LIBS -lgc $libdl"
LIBGC_LIBS="-lgc $libdl"
AC_CHECK_FUNCS(GC_gcj_malloc)
;;
xincluded)
AC_CONFIG_SUBDIRS(libgc)
found_boehm=yes
gc_headers=yes
use_included_gc=yes
libgc_dir=libgc
LIBGC_CFLAGS='-I$(top_srcdir)/libgc/include'
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
AC_DEFINE(HAVE_GC_H)
AC_DEFINE(USE_INCLUDED_LIBGC)
# The included libgc contains GCJ support
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
;;
xnone)
AC_MSG_WARN("Compiling mono without GC.")
;;
*)
dnl When the JIT works with libgc, use this chunk.
dnl # If libgc was found, use it. Otherwise just warn.
if test "x$found_boehm" != "xyes"; then
AC_MSG_WARN("Compiling mono without GC.")
else
AC_DEFINE(HAVE_BOEHM_GC)
AC_SUBST(HAVE_BOEHM_GC)
LIBS="$LIBS -lgc $libdl"
gc="boehm"
fi
dnl AC_MSG_WARN("Compiling mono without GC.")
AC_MSG_ERROR([Invalid argument to --with-gc.])
;;
esac
we_are_embedded_in_mono=yes
export we_are_embedded_in_mono
export libgc_threads
AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
AC_SUBST(LIBGC_CFLAGS)
AC_SUBST(LIBGC_LIBS)
AC_SUBST(libgc_dir)
dnl
dnl End of libgc checks
dnl
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Check for large file support ***
@@ -261,8 +370,20 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQN)
], [
# We'll just have to use struct ip_mreq
# We'll just have to try and use struct ip_mreq
AC_MSG_RESULT(no)
AC_MSG_CHECKING(for struct ip_mreq)
AC_TRY_COMPILE([#include <netinet/in.h>], [
struct ip_mreq mreq;
mreq.imr_interface.s_addr = 0;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_STRUCT_IP_MREQ)
], [
# No multicast support
AC_MSG_RESULT(no)
])
])
dnl *****************************
@@ -279,6 +400,7 @@ if test x$platform_win32 = xno; then
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
AC_CACHE_VAL(cv_mono_sizeof_sunpath,
[AC_TRY_RUN([
#include <sys/types.h>
#include <stdio.h>
#include <sys/un.h>
@@ -295,87 +417,43 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *****************************
dnl *** Checks for libxnet ***
dnl *****************************
case "${host}" in
*solaris* )
AC_MSG_CHECKING(for Solaris XPG4 support)
if test -f /usr/lib/libxnet.so; then
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
LIBS="$LIBS -lxnet"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wno-char-subscripts"
fi
;;
esac
dnl *****************************
dnl *** Checks for libpthread ***
dnl *****************************
AC_SEARCH_LIBS(pthread_create, pthread c_r, [
AM_CONDITIONAL(THREADS_PTHREAD, true)
AC_DEFINE(HAVE_PTHREAD)
# Need pthread_mutex_timedlock
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for pthread_mutex_timedlock)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
# Works!
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this function
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for pthread_mutex_timedlock)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_timedlock(&mut, NULL);
], [
AC_MSG_RESULT(yes)
pthread_CFLAGS="-D_GNU_SOURCE"
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_WARN(Working around pthread_mutex_timedlock)
])
])
CPPFLAGS=$orig_CPPFLAGS
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
# Need PTHREAD_MUTEX_RECURSIVE
pthread_CFLAGS=""
orig_CPPFLAGS=$CPPFLAGS
# This is a gcc-specific error, but we already set
# gcc-specific options in CFLAGS
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
# Works!
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
# glibc requires -D_GNU_SOURCE before it will declare
# this macro
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for PTHREAD_MUTEX_RECURSIVE)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
AC_MSG_RESULT(ok)
pthread_CFLAGS="-D_GNU_SOURCE"
], [
AC_MSG_RESULT(no)
dnl Add other variants here
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
])
CPPFLAGS=$orig_CPPFLAGS
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
], [
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
dnl ********************************
@@ -386,35 +464,31 @@ 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
fi
else
AM_CONDITIONAL(THREADS_PTHREAD, false)
# This is a kludge, we really ought to test for libws2_32, but
# I can't make AC_CHECK_LIB link (the symbols seem to be mangled
# with @num suffixes)
LIBS="$LIBS -lws2_32"
CFLAGS="$CFLAGS -mno-cygwin"
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
fi
dnl ****************************
@@ -482,27 +556,6 @@ if test "x$ac_cv_have_dev_random" = "xno" \
***]])
fi
if test "x$cross_compiling" = "xno"; then
# check for new iconv version
AC_MSG_CHECKING(for new iconv)
AC_CACHE_VAL(new_iconv,[
AC_TRY_RUN([#include <stdio.h>
#include <iconv.h>
int main()
{
exit (iconv_open ("UTF-16le", "UTF-8") == (iconv_t)-1);
}
],
new_iconv=yes,new_iconv=)])
if test -n "$new_iconv"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_NEW_ICONV)
else
AC_MSG_RESULT(no)
fi
fi
AC_MSG_CHECKING([if inter-process shared handles are requested])
AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
AC_MSG_RESULT($try_shared_handles)
@@ -514,14 +567,17 @@ fi
TARGET="unknown"
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
case "$host" in
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; ACCESS_UNALIGNED="no";;
i*86-*-*) TARGET=X86; arch_target=x86;;
i*86-*-*) TARGET=X86; arch_target=x86; JIT_SUPPORTED=yes;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv* | powerpc-*-darwin*) TARGET=POWERPC; arch_target=ppc; JIT_SUPPORTED=yes;;
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
@@ -541,10 +597,17 @@ 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)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
LIBC="libc.so.6"
AC_SUBST(LIBC)
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_OUTPUT([
Makefile
@@ -561,15 +624,17 @@ 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
mono/monoburg/Makefile
mono/monograph/Makefile
mono/jit/Makefile
mono/io-layer/Makefile
mono/handles/Makefile
mono/mini/Makefile
runtime/Makefile
scripts/Makefile
man/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 \
+14
View File
@@ -1,4 +1,18 @@
<configuration>
<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="libglade-2.0-0.dll" target="libglade-2.0.so" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
</configuration>
+95
View File
@@ -0,0 +1,95 @@
<?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" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
</sectionGroup>
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
</authenticationModules>
<defaultProxy>
<proxy />
<!-- bypassonlocal and proxyaddress are ok -->
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System" />
<add prefix="https" type="System.Net.HttpRequestCreator, System" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System" />
</webRequestModules>
</system.net>
<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" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, 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" />
-->
<sessionState mode="InProc" />
</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 status 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).
+54 -69
View File
@@ -9,16 +9,61 @@
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, including IBuySpy.
ASP.NET works either embedded into
our XSP server test 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
(contributed by Jesus), most people will be using the ASP.NET
Web Services support. Work for the supporting class libraries
just started recently.
just started recently.
* Web Forms: The pieces
The major missing element is a complete XmlSerializer.
** HttpRuntime
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
** 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 set 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 all WebControls.
Help in making the controls better is appreciated.
** ASP.NET and free controls.
We want to encourage developers to create open source controls
that can be used both on Mono's ASP.NET and Microsoft's ASP.NET.
* Web Forms: The pieces (historical)
There are a couple of components to the puzzle:
@@ -53,78 +98,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.
+11 -1
View File
@@ -1,3 +1,9 @@
* Mono Books
<a href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">
Mono: .NET-kompatible Anwendungen mit dem Open Source-Framework
</a>
* C# Books
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
@@ -19,6 +25,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 +44,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>
+16 -7
View File
@@ -1,19 +1,28 @@
* MCS: The Ximian C# compiler
MCS is currently able to compile itself and many more C#
programs (there is a test suite included that you can use).
It is routinely used to compile Mono, roughly half a million
lines of C# code.
The Mono C# compiler is considered feature complete at this
point and relatively mature. MCS is able to compile itself
and many more C# programs (there is a test suite included that
you can use). It is routinely used to compile Mono, roughly
half a million lines of C# code.
We are in feature completion mode right now. There are still
a couple of areas that are not covered by the Mono compiler, but
they are very very few at this point (security attributes),
* Pending tasks
There are a few known bugs in the Mono C# compiler, but
they are very very few at this point,
you can also browse the MCS <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">bugs</a> from Bugzilla.
A test suite is maintained to track the progress of
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
+202 -54
View File
@@ -1,28 +1,196 @@
* CVS Access
If you are an active Mono developer, you can get a CVS account
that hosts the Mono source code.
Here we describe how one obtains commit access to the CVS repository
and the responsibilities that come with that access privilege.
If you are not a developer, but want to track the development, please
see the <a href="anoncvs.html">AnonCVS</a> instructions.
** What is CVS?
Send an e-mail to miguel with your public SSH key for this
purpose. Please specify if the key was generated with SSH1 or SSH2.
Briefly, CVS is a system tool used to store and maintain files and
a history of their changes over time. The Mono source code and related
files are kept on a CVS server at Ximian.
If you are using SSH2, please generate your key using:
** What Access?
We mean "commit" access. This is the privilege to make permanent
changes to the Mono source code and related files. You need an account
created by the CVS server administrator in order to commit changes to
the files on that server.
** How Does One Obtain Access?
Any active Mono developer can get a CVS account. Normally one is
considered an 'active' developer after sending several patches to the
mailing lists and/or bugzilla for review.
If you are not a developer, but want to access the latest sources,
please see the <a href="anoncvs.html">AnonCVS</a> instructions.
If you feel you are ready for a CVS account send an e-mail to
<a href="mailto:[email protected]">miguel</a> with your public OpenSSH
key for this purpose. Please specify if the key was generated with SSH
version 1 or version 2. Detailed instructions are below.
* Policies
It is necessary that everyone with CVS commit access respect and
adhere to the following rules. If you ask for and are granted CVS
access, you are agreeing to follow these policies.
** Code License
If you are about to commit code to a module, the code that is
being committed 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].
** Changing code
Even if you have CVS commit access, that doesn't mean you can change
code at will in any directory or module. Directories and Namespaces
have a sort of unofficial ownership. If you are not the owner of a
piece of code and you want to make changes/fixes to it, there are two
cases.
1) The change is a typo fix or a one-liner build or trivial fix. In
this case almost anyone can commit (always remembering to add the
proper changelog entry to explain the change). We say "almost anyone",
because changes to certain directories almost always should be reviewed
first. Such as changes to core stuff: corlib/System, System.Collections,
mini/, metadata/, System.IO.
2) The change is larger. In this case the patch *must* be sent to
mono-devel-list for review by the owner of the code and by the other
hackers. Always submit such patches to the list or bugzilla, although
you may put the owner of the code in the CC header. Hackers come and go.
Mailing a patch to only a personal address is a good way to get the
patch forgotten and missed. Plus, getting the patches reviewed as well
as reviewing them, is a good thing, so try to get used to it.
Note: If the patch is an addition of code and doesn't change any of the
existing code, the rules are slightly relaxed: there is more freedom
in committing such changes, if they don't interfere with the existing
codebase.
** Owning Code
Now, how do you get to be the owner of a chunk of code? The answer is
simple. You wrote the code, so you're the unofficial owner. There is
also another way. After sending a few patches for the code, the
owner (or the core developers of mono, if the owner somehow disappeared)
trusts you and tells you you're free to commit without getting his
review first.
Here is a (partial) list of namespaces/directories with their owners:
<ul>
<li>Debugger module and debug code in mono: martin
<li>mcs compiler: miguel, martin, ravi
<li>Reflection/Reflection.Emit: lupus, zoltan
<li>IO-layer: dick
<li>mini: lupus, dietmar
<li>test suite: nickd (though anyone should feel free to add test cases)
<li>System.IO: dick, ville
<li>security stuff: spouliot
<li>ilasm: jackson
<li>System.Web and related: gonzalo
<li>System.Xml: eno, piers
<li>Remoting: dietmar, lluis
<li>interop/marshal: dietmar
<li>threads: dick
</ul>
If you are the owner of a piece of code, feel free to commit code, and
delegate the work to others.
But, if you're not the owner of the code, committing a rewrite without
getting a review first is not good cvsitizenship (especially when the
rewrite claimed to fix bugs, but not a single regression test has been
added to the suite).
** Commit Rules
Once you know you can commit a patch (because of the rules above) there
are a few other small rules to follow:
<ul>
<li>Always add a changelog entry with a meaningful explanation
<li>If you fix a bug, add a regression test for it in the regression
suite
<li>Don't commit unrelated changes together with a fix: do fine-grained
commits
<li>Always check what you're committing: make sure you're only committing
what you need and make sure you don't change line endings and
whitespace. Do a 'cvs diff -u' of the files you're going to commit and
check the changes.
<li>Don't do reformatting commits, unless you're the original author of
the code
<li>When fixing bugs, don't follow the documentation blindly, it may
well be wrong. Test the behavior on the MS runtime or ask on the list
for discussion if unsure. Don't be afraid of having your changes
reviewed.
<li>Never remove copyright notices from the code
<li>Never remove licensing info from code
<li>Never commit code you didn't write yourself or code that doesn't
have a suitable license
<li>Follow the style conventions
<li>Keep an eye on performance considerations, especially for code in
core classes, ask on the list for guidance
<li>Do a regression test run and a bootstrapping build if making changes
to core functionality before committing. Do not commit code that would
break the compile, because that 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.
</ul>
Also, remember to pat yourself on the back after the commit, smile and
think we're a step closer to a better free software world.
* 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>
ssh-keygen -t rsa
</pre>
And mail me the id_rsa.pub file.
And mail <a href="mailto:[email protected]">miguel</a> the
id_rsa.pub file.
If you are using SSH1, run:
If you are using SSH version 1, run:
<pre>
ssh-keygen
</pre>
And mail me your identity.pub file.
And mail <a href="mailto:[email protected]">miguel</a> your
identity.pub file.
If you are using SSH from SSH Communications Security (they offer
a free SSH client for personal use), you have to use OpenSSH to
convert your public key to the required format. You have to use
OpenSSH's ssh-keygen program and write the following:
<pre>
ssh-keygen -i -f id_XXX.pub > my_public_key.pub
</pre>
where the file id_XXX.pub is your public key file,
normally located under ~/.ssh/ or ~/.ssh2/.
Send to <a href="mailto:[email protected]">miguel</a> the
my_public_key.pub file.
The *exact* format for this file must be:
<pre>
ssh-rsa XXXXX....
</pre>
You will need CVS and SSH. Windows users can get both by
installing Cygwin (<a
@@ -58,7 +226,7 @@
** Making patches
Usually you will want to make a patch to contribute, and let
other people review it before commiting it. To obtain such a
other people review it before committing it. To obtain such a
"patch", you type:
<pre>
@@ -67,7 +235,25 @@
mail [email protected] < file.diff
</pre>
** Keeping track of changes.
** Committing your work
Once you get approval to commit to the CVS, or if you are
committing code that you are the maintainer of, you will want
to commit your code to CVS.
To do this, you have to "add" any new files that you created:
<pre>
cvs add new-file.cs
</pre>
And then commit your changes to the repository:
<pre>
cvs commit file-1.cs file-2.cs
</pre>
* Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
changes to the code base:
@@ -86,28 +272,6 @@
We hope to offer LXR and Bonsai in the future as well.
** Commiting your work
Once you get approval to commit to the CVS, or if you are
commiting code that you are the maintainer of, you will want
to commit your code to CVS.
To do this, you have to "add" any new files that you created:
<pre>
cvs add new-file.cs
</pre>
And then commit your changes to the repository:
<pre>
cvs commit file-1.cs file-2.cs
</pre>
** The Mailing List
To keep track of the various development and changes to the
CVS tree, you can subscribe to the [email protected].
To subscribe, send an email message to
[email protected] and in the body of the
message put `subscribe'.
@@ -115,24 +279,8 @@
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.
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.
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.
+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
+16 -76
View File
@@ -8,93 +8,33 @@
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="#docstub">docstub</a></li>
<li><a href="#docverify">docverify</a></li>
<li><a href="#docconv">docconv</a></li>
<li><a href="#docgen">docgen</a></li>
<li><a href="#monodoc">monodoc</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
*** Monodoc XML
This XML is similar to the XML documentation described in the
C# standard, with added tags for internationalization and a
slightly different structure. Documentation and a DTD/Schema
for Monodoc XML is forthcoming.
Monodoc XML does not contain any definitive type information,
and is only useful in conjunction with the Type definition for
whatever is being documented.
This XML could be generated by hand, by monostub, or by monodoc.
*** Assembly XML
This XML is generated by combining runtime type information for
an Assembly with a collection of Monodoc XML files. The resultant
XML (in the best of cases) contains both complete type and
documentary information for each type in the assembly.
This XML contains enough information to be transformed into
user-accessible documentation. It is likely that scripts
will be created to generate reference docs as HTML and other
formats.
Documentation and a DTD/Schema for Assembly XML is forthcoming.
You can download the tools to document Mono from the CVS
repository from module `monodoc'.
** Documentation Tools
*** <a name="docstub">docstub</a>
Given a type name and an assembly, generates stub Monodoc XML
documentation for the type. Optionally, docstub can attempt to
populate initial documentation from an XML file in the format
published along with the ECMA standard.
*** <a name="docverify">docverify</a>
Given a Monodoc XML file and an assembly, verifies that the
documentation matches the compiled type. Checks signatures,
parameters, et cetera.
*** <a name="docconv">docconv</a>
Converts from Monodoc XML to the standard C# compiler-emitted
XML format and vice versa.
*** <a name="docgen">docgen</a>
Given an assembly and a collection of Monodoc XML files, creates
an Assembly XML file containing all documentation and type information
available. This output is suitable for transforming into user
documentation.
*** <a name="monodoc">monodoc</a>
A GUI tool for documentation and translation, this encapsulates
the capabilities of docstub, docverify, docconv, and docgen in
a friendly user interface. In addition, monodoc provides features
to ease translation, such as side-by-side editing and coverage
statistics.
*** <a name="monodoc">MonoDoc</a>
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
*** 2 January 2002
As I write the initial version of this document, very little has been
implemented. Currently, there is a:
<ul>
<li>Preliminary version of the Monodoc XML format</li>
<li>Preliminary version of the docstub utility</li>
</ul>
Here's hoping for frequent, productive updates.
** Get Involved
Help us define Mono's documentation structure! Subscribe to
Help us develop Mono's documentation tools! Subscribe to
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
and wade right in.
+1 -1
View File
@@ -9,5 +9,5 @@
href="http://primates.ximian.com/~miguel">http://primates.ximian.com/~miguel"</a>
You can also <a
href="http://www.ximian.com/about/contact.php3">reach Ximian.</a>
href="http://www.ximian.com/about_us/contact/">reach Ximian.</a>
+88 -11
View File
@@ -1,18 +1,51 @@
* 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> (read <a href="#goodbugreport">this</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
@@ -95,6 +128,50 @@
You can review the list of current bugs by going <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FMCS&product=Mono%2FRuntime&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&order=%27Importance%27&form_name=query">here</a>
<a name="goodbugreport"/>
** How to make good bug reports
A mail from Paolo to mono-devel-list contained this check list:
<ol>
* Submit a test case, the smaller it is, the better
* Use <a href="http://bugzilla.ximian.com">
http://bugzilla.ximian.com</a> to report the bug.
<p>In <b>addition</b> to bugzilla, posting to the list is
fine if the bug merits larger exposure or design
discussions to solve; posting to the list twice or more
is just a way to annoy people and make them waste time,
specially when you start a new thread about it.
* If the test involves libraries or assemblies that are
not part of mono, add info about where to download all
the dependencies, and how to compile/install them.
* If compiling the test case requires more than:
<pre> mcs test.cs </pre>
provide the <b>full command line</b> you used to compile
the test.
* If running the test requires more than:
<pre> mono test.exe </pre>
provide the <b>full command line</b> needed to replicate
the bug.
* Provide info about the version of the software you're
using (both mono and the operating system or relevant
libraries).
* Provide the output you expect the test case to produce.
* Provide the actual output <b>you</b> get from the test case.
</ol>
A good bug report complies with at least 6 items from the list.
If your bug report complies with 3 or less items, it is very
poor and it means it will take much more time to fix (when it's
not ignored).
** Small tasks
A few smaller tasks are here, dropped in no particular order:
+375
View File
@@ -0,0 +1,375 @@
* 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 external
tools.
* MACTripleDES is compatible with the implementation shipped in
framework 1.0. Version 1.1 gives different results when the
MACed data is a multiple of BlockSize (8 bytes).
</ul>
**** TODO
<ul>
* The current implementation of <code>CryptoStream</code> is
very limited and contain known bugs (<a
href="http://bugzilla.ximian.com/show_bug.cgi?id=40689">
40689</a>). The class need to be re-designed.
* 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 specific alternative is available
using the Mono.Security.Win32 assembly.
* 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 MS 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).
</ul>
**** Notes
<ul>
* All cryptographic algorithms are entirely managed, including
classes named <code>*CryptoServiceProvider</code>, with the
exception of <code>RNGCryptoServiceProvider</code> (which
implementation resides in the runtime).
* There is a bug in the <code>PKCS1MaskGenerationMethod</code>
class (in both framework 1.0 and 1.1). This means our
implementation isn't compatible with MS (but is compatible with
PKCS#1 v.2.1). However we get OAEP padding for every platform!
* Look at assembly Mono.Security.Win32 if you require more
compatiblity with the Microsoft implementation (like accessing
a particuliar keypair container inside a specific CSP).
</ul>
*** Namespace: <b>System.Security.Cryptography.X509Certificates</b>
**** Status
<ul>
* X.509 certificates are parsed using 100% managed code
(using the Mono.Security.ASN1 class).
* Software Publisher Certificates (SPC) used by Authenticode
(tm) to sign assemblies are supported (extraction from PE
files) but <b>not yet</b> validated.
* Unit tests are generated from a set of existing certificates
(about a dozen) each having different properties. Another
set of certificates (more than 700) are used for a more
complete test (but isn't part of the standard test suite for
size and time consideration, i.e. a 7.5Mb C# source file).
</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.
</ul>
**** Notes
<ul>
* Except for their structure <b>there are no validation of the
certificates</b> done by this class (this is by design and
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.
See assembly <b>Microsoft.Web.Services</b> for more details.
* The class Mono.Security.X509.X509Certificate (in Mono.Security
assembly) is becoming a much better alternative - and will
continue to evolve to support the security tools.
* Microsoft implementation of <code>X509Certificate</code> is
done by using CryptoAPI (unmanaged code). 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 (most Transforms) are only
stubbed.
* Most classes have their unit tests.
</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.
</ul>
<hr>
** Assembly: Mono.Security
<b>Rational: </b>
This assembly provides the missing pieces to .NET security. On Windows
CryptoAPI is often used to provide much needed functionalities (like
some cryptographic algorithms, code signing, X.509 certificates). Mono,
for platform independance, implements these functionalities in 100%
managed code.
*** Namespace: Mono.Security
<ul>
* Structures (ASN1, PKCS7) and primitives (PKCS1).
</ul>
*** Namespace: Mono.Security.Authenticode
<ul>
* Code signing and verification.
* Support for SPC (Software Publisher Certificate) files and
PVK (Private Key) files.
</ul>
*** Namespace: Mono.Security.Cryptography
<ul>
* Additional algorithms: MD2, ARCFOUR (required for SSL)
* Convertion helpers
</ul>
*** Namespace: Mono.Security.X509
<ul>
* X.509 structures (certificate, CRL...) building and decoding.
</ul>
*** Namespace: Mono.Security.X509.Extensions
<ul>
* X.509 extensions (from public X.509 to private PKIX, Netsapce,
Microsoft, Entrust...).
</ul>
**** Status
<ul>
* Some part of the work has not yet been commited (still cleaning up).
* A big part of this assembly is also included inside Mono's
corlib. The classes are duplicated in this assembly so the
functionalities can be used without a dependency on Mono's
corlib (which depends on Mono's runtime).
* Unit test coverage isn't (yet) complete.
</ul>
<hr>
** Assembly: Mono.Security.Win32
<b>Rational: </b>
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>
(e.g. referecing the assembly from a project).
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).
See the file <code><a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/~checkout~/mcs/class/Mono.Security.Win32/README?rev=1.1&content-type=text/plain&cvsroot=mono">/mcs/class/Mono.Security.Win32/README</a></code>
for complete instructions.
*** Namespace: Mono.Security.Cryptography
**** Status
<ul>
* A RNGCryptoServiceProvider built on top of CryptoAPI. This
allows Windows users to get around the limitation of the
runtime RNG (which requires <code>/dev/[u]random/</code>).
* 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,
MD2 and MD5 aren't considered safe for some usage). 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>
**** Ideas
<ul>
* Similar assemblies (e.g. <code>Mono.Security.XXX</code>)
could be created for <a href="http://www.openssl.org">OpenSSL</a>,
<a href="http://www.mozilla.org/projects/security/pki/nss/">NSS</a>,
<a href="http://www.eskimo.com/~weidai/cryptlib.html">crypto++</a>,
<a href="http://www.cryptlib.orion.co.nz/">cryptlib</a> ... for
improved performance and/or HSM (Hardware Security Module) support
under Linux and/or Windows.
</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 X.509
certificates classes.
Note: WSE is distributed as an add-on because some specifications,
like WS-Security, aren't yet completed by
<a href="http://www.oasis-open.org/committees/wss/">OASIS</a> or
other committees.
<b>[*] There are some licensing issues to consider before starting 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 [*]
*** Namespace: Microsoft.Web.Services.Timestamp [*]
**** Status
<ul>
* Nothing (yet) commited in CVS <b>[*]</b>.
</ul>
*** Namespace: Microsoft.Web.Services.Security.X509
**** Status
<ul>
* Nothing (yet) commited in CVS. However the classes in this
namespace are outside WS-Security scope. So development, for
those classes, could be done without signing any agreements.
</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>
** 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 (mostly 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.
* <code>makecert</code> to create X.509 test certificates that
can be used (once transformed in SPC) to sign assemblies.
</ul>
Somewhat usable, somewhat incomplete:
<ul>
* <code>sn</code> is a clone of the <code>sn</code> to manage
strongnames. Current version is limited to creating new keypairs
and converting values.
* <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.
</ul>
**** TODO
The following tools are still missing or largely incomplete:
<ul>
* <code>signcode</code> and <code>chktrust</code> (in progress)
for signing and validating Authenticode(tm) signatures on
assemblies (or any PE file).
* 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. E.g. StrongName and Authenticode signatures
tools are of limited use until supported by the runtime.
<hr>
** Other stuff
<ul>
* SSL/TLS for secure communication (a prototype is under way).
Some work is already visible in Mono.Security assembly (e.g.
RC4, RSAManaged ...).
</ul>
<hr>
** How to Help
<ul>
* Complete any of the TODO (and feel good about it ;-).
* Analyse the current coverage of the unit tests on the
cryptographic classes and complete the unit tests.
* Optimization can also be done on most algorithms as crypto
is never fast enough. Some have been done using the
Community Edition of BoundChecker (a free VisualStudio
addon) - recommanded! Just be sure to test every optimization
(using the unit test) carefully - it's so fast to break an
algorithm ;-).
* Write some documentation on the cryptographic classes for
the <a href="http://go-mono.com/tutorial/html/en/index.html">Mono
Handbook</a> as I'm not a very good writer (at least in English).
</ul>
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: June 11, 2003 (post mono 0.24)
+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
+981 -207
View File
File diff suppressed because it is too large. Load diff
+290
View File
@@ -0,0 +1,290 @@
* 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 &lt;gc/gc.h&gt; 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.
** 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 in mono/sample/embed for examples of
embedding the Mono runtime in your application.
+442 -208
View File
File diff suppressed because it is too large. Load diff
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>.
+162
View File
@@ -0,0 +1,162 @@
* 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 .
* Wiki
There is a <a
href="http://www.nullenvoid.com/gtksharp/wiki/index.php/">Gtk#
Wiki</a>. You are encouraged to contribute to it.
** API of Gtk#
The Gtk# API is documented using the ECMA XML document format, you can read
more about it <a href="documentation.html">here</a>. You can
also use the MonoDoc tool that ships with Gtk# documentation.
** 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>Look at our Wiki for installation instructions <a href="http://www.nullenvoid.com/gtksharp/wiki/index.php/InstallingBeginnersGuide">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?
+16
View File
@@ -13,6 +13,22 @@ Some of them may start contributing because they want a mention in the
* Mono Hackers
** Zoltan Varga
Zoltan has contributed significantly to Mono, with bug reports and bug
fixes as well as pushing the envelope of the things that can be done in
and with the mono runtime: the gcc-based ngen compiler, code coverage
and more recently his work with Reflection.Emit that got mono to the
point of running the IKVM Java virtual machine.
** Sergey Chaban
Sergey has been a long time contributor to the project, from the early
work on the class libraries that were critical to Mono's origin: every
time you use a Hashtable in Mono, it runs Sergey's code, to the
low-level optimizations on the JIT engine and to his work on ILASM and
the PEToolkit. And countless other things.
** Nick Drochak
The first, deserved, entry in the <b>Mono Hackers Hall Of Fame</b> is for
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>
+2 -17
View File
@@ -56,11 +56,7 @@ 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>
This list of projects ideas is outdated
TODO=guavac,Java compiler for .NET
* You could take one of the existing Java compilers
@@ -73,19 +69,8 @@ TODO=guavac,Java compiler for .NET
it could be compiled with the Microsoft Managed C++
compiler and produce a .NET executable with it.
TODO=CORBA,CORBA implementation
* Build a CORBA interoperability engine for the CLR.
You do not need to do all of the work, just talking
the protocol will get us a long way (<a
href="http://www.omg.org">The OMG site</a> has the
CORBA specs).
Get in touch with David Taylor (dtaylo11 at bigpond
dot net dot au) as he has been working on this
project.
TODO=Bonobo,Bonobo for Mono
* Once CORBA is done, implement the Bonobo interfaces
* Once <a href="http://remoting-corba.sourceforge.net/">CORBA</a> is done, implement the Bonobo interfaces
to allow people to use Bonobo components in Mono and
Mono components with Bonobo. The best of both worlds!
+952 -1514
View File
File diff suppressed because it is too large. Load diff
+4
View File
@@ -1,5 +1,9 @@
* Java
<b>This is an outline on how to support Java, actual
implementations of ideas like this can be found <a href="http://radio.weblogs.com/0109845/">here</a></b>
It would be interesting to support the Java language as part
of the Mono project.
+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>
+45 -5
View File
@@ -8,13 +8,21 @@
* <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:
<ul>
* <a href="#JavaScript">Java Script</a>
* <a href="java.html">Java</a>
* <a href="#java.html">Java</a>
* <a href="#c">C</a>
</ul>
@@ -22,8 +30,23 @@
<ul>
* <a href="#Tachy">Tachy</a> (scheme-like)
* <a href="#python">Python</a>
</ul>
<a name="Java">
** Java
There is a very interesting project to make a JavaVM for .NET
<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
@@ -33,6 +56,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
@@ -74,6 +104,16 @@
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
<a name="Python">
** Python
<a href="mailto:[email protected]">Brian Lloyd</a> is
working on linking the Python runtime with the .NET runtime.
More information on the PS.NET project can be found <a
href="http://www.zope.org/Members/Brian/PythonNet/index_html">here</a>.
An FAQ document is available <a
href="http://www.zope.org/Members/Brian/PythonNet/FAQ.html">here</a>.
* Missing languages
Here is a list of a few languages that we would like to see
@@ -101,10 +141,10 @@
Ideally GCC could be modified to generate CIL, but it is a
big task. That would give us various compilers in one pass.
Rumor is that the next version of the LCC compiler will
include an IL backend. We do not know how extensive the support
for integration with .NET will be, but it would be an interesting
excercise to add an extension to C to call into .NET code.
<a href="http://www.cs.princeton.edu/software/lcc">LCC</a> 4.2
has been recently released. This release adds support for compiling
ANSI C programs to CIL. Note that the CIL support only works on Win32
right now, but should be easy to convert to Mono/other architectures.
LCC is not an open source compiler, but it is free as long as you
do not profit from selling it.
+67 -7
View File
@@ -2,11 +2,20 @@
Most of the mailing lists are in english, but there is also
Mono Hispano that has lists in Spanish. <a
href="http://mono.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
href="http://www.monohispano.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
There are a number of mailing lists for Mono in English:
<table>
<table border=1>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list</a></b>
</td>
<td>
Announcements of Mono developments.
</td>
</tr>
<tr>
<td>
<b><a
@@ -19,11 +28,39 @@
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-announce-list">mono-announce-list</a></b>
href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">mono-devel-list</a></b>
</td>
<td>
A mailing list specifically dedicated to discussions
about developing Mono and programming *with* Mono.
Programmers that work on Mono are _strongly_ encouraged
to join this list. Third-party programmers interested
in running or compiling their managed applications with
Mono or that are interested in using mono-specific
technologies should join the list as well.
<p>
Examples of on-topic arguments are:
<ul>
<li>proposals and patches for new features for the mono runtime and programs
<li>discussions about bugs in the mono runtime and programs
<li>discussions about future directions
<li>embedding API, scripting language bridges
<li>mono/mcs build issues
<li>programming with mono-specific assemblies
<li>discussions about third-party compilers that target and/or use directly the CLR
<li>discussions about getting a managed application run with mono
</ul>
<p>Topics that are better discussed on other mailing lists:
<ul>
<li> general C# questions (use the specific lists at develop.com)
<li> issues that are already covered by a more specific mono
mailing list (like System.Windows.Forms or Gtk#)
<li> success reports about new apps running on mono, including
runtime/buildtime support for new programming languages (use
mono-list to reach a wider audience)
</ul>
</td>
<td>
Announcements of Mono developments.
</td>
</tr>
<tr>
<td>
@@ -40,7 +77,7 @@
href="http://lists.ximian.com/mailman/listinfo/mono-patches">mono-patches</a></b>
</td>
<td>
Track the CVS activity of Mono on this mailing list (patches are sent to recipients).
Track the CVS activity of Mono on this mailing list (patches are sent to recipients). <p>
You can get <a href="http://www.go-mono.com/snapshots">daily snapshots</a> as well.
</td>
</tr>
@@ -71,6 +108,24 @@
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>
</table>
Other mailing lists of interest:
@@ -83,6 +138,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
+51 -12
View File
@@ -17,6 +17,12 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$here/install/lib:$PATH
# Make sure cygwin's libiconv is installed, or libtool blows its tiny mind
if [ ! -f /usr/lib/libiconv.la ]; then
echo "You need to install the cygwin \"libiconv\" package!"
exit -1
fi
# Check mono out first, so we can run aclocal from inside the mono dir (it
# needs to see which version of the real aclocal to run)
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
@@ -42,6 +48,18 @@ fi
cvs checkout mono || exit -1
echo "Checking automake version"
automake_required="1.6.2"
automake_version=`automake --version | head -1 | awk '{print $4}' | tr -d '[a-zA-Z]' | sed 's/-.*$//g'`
echo "Found automake version $automake_version"
if expr $automake_version \< $automake_required > /dev/null; then
echo "Your automake is too old! You need version $automake_required or newer."
exit -1
else
echo "Automake version new enough."
fi
# Select the stable version anyway...
if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
export AUTO_DEVEL=${AUTO_STABLE}
@@ -49,8 +67,7 @@ fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
# attempt to be clever and see if glib 2 is already installed, too.
# glib we're about to install in $here/install.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
@@ -61,15 +78,17 @@ fi
# it finds two copies of the m4 macros). The GIMP for Windows
# pkgconfig sets its prefix based on the location of its binary, so we
# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
# $prefix is handled similarly).
# $prefix is handled similarly). For the cygwin pkgconfig we do need to
# set it, and we need to edit the mingw pc files too.
function aclocal_scan () {
# Quietly ignore the rogue '-I' and other aclocal flags that
# aren't actually directories...
#
# cd into mono/ so that the aclocal wrapper can work out which version
# of aclocal to run
for i in `(cd mono && aclocal --print-ac-dir)` $ACLOCAL_FLAGS
# of aclocal to run, and add /usr/share/aclocal too cos aclocal looks there
# too.
for i in `(cd mono && aclocal --print-ac-dir)` /usr/share/aclocal $ACLOCAL_FLAGS
do
if [ -f $i/$1 ]; then
return 0
@@ -96,10 +115,17 @@ function install_package() {
fi
}
if ! aclocal_scan pkg.m4 ; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
# pkgconfig is only used during the build, so we can use the cygwin version
# if it exists
if aclocal_scan pkg.m4 ; then
install_pkgconfig=no
else
install_pkgconfig=yes
fi
# But we still need to use the mingw libs for glib & co
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
export PATH
export ACLOCAL_FLAGS
@@ -110,15 +136,28 @@ fi
# Fetch and install pkg-config, glib, iconv, intl
install_package pkgconfig-0.80-tml-20020101.zip bin/pkg-config.exe pkgconfig
install_package glib-1.3.12-20020101.zip lib/libglib-1.3-12.dll glib
install_package glib-dev-1.3.12-20020101.zip lib/glib-1.3.lib glib-dev
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.11-20020310.zip bin/pkg-config.exe pkgconfig
else
echo "Not installing pkgconfig, you already seem to have it installed"
fi
install_package glib-2.0.4-20020703.zip lib/libglib-2.0-0.dll glib
install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
install_package libiconv-1.7.zip lib/iconv.dll iconv
install_package libiconv-dev-1.7.zip lib/iconv.lib iconv-dev
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
install_package libgc-dev.zip lib/gc.dll gc-dev
# Needed to find the libiconv bits
if [ $install_pkgconfig = "no" ]; then
echo "Fixing up the pkgconfig paths"
for i in $here/install/lib/pkgconfig/*.pc
do
mv $i $i.orig
sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
done
export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
fi
# Needed to find the libgc bits
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
+83 -12
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash
# Script to automate the building of mono and its dependencies.
# Relies on wget being installed (could make it fall back to using
@@ -17,6 +17,44 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
PATH=$here/install/bin:$PATH
LD_LIBRARY_PATH=$here/install/lib:$LD_LIBRARY_PATH
# Find a tool to fetch files. It must take an HTTP URL on the command line and
# save the file in the current directory. (It must also talk HTTP/1.1, which
# rules out BSD's ftp(1), at least on FreeBSD 4.4.)
viable_downloaders="wget fetch"
for i in $viable_downloaders
do
if which $i > /dev/null; then
downloader=`which $i`
break
fi
done
if [ -z "$downloader" ]; then
echo "Can't find a commandline download tool (tried: $viable_downloaders)"
exit -1
else
echo "Using $downloader to fetch files"
fi
# We need to prefer GNU make if there's a choice. BSD make falls over in
# the glib build if gtk-doc is disabled.
viable_makers="gmake make"
for i in $viable_makers
do
if which $i > /dev/null; then
MAKE=$i
break
fi
done
if [ -z "$MAKE" ]; then
echo "Can't find a make tool (tried: $viable_makers)"
exit -1
else
echo "Using $MAKE"
export MAKE
fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
# glib we're about to install in $here/install. This script could
@@ -64,14 +102,14 @@ function install_package() {
echo "Installing $name..."
if [ ! -f $here/$tarfile ]; then
wget http://www.go-mono.org/archive/$tarfile
(cd $here && $downloader http://www.go-mono.com/archive/$tarfile)
fi
# Assume that the package built correctly if the dir is there
if [ ! -d $here/$dirname ]; then
# Build and install package
tar xzf $here/$tarfile || exit -1
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; make || exit -1; make install || exit -1)
(cd $here && tar xzf $tarfile) || exit -1
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; $MAKE || exit -1; $MAKE install || exit -1)
success=$?
if [ $success -ne 0 ]; then
echo "***** $name build failure. Run rm -rf $here/$dirname to have this script attempt to build $name again next time"
@@ -113,12 +151,45 @@ export LD_LIBRARY_PATH
export ACLOCAL_FLAGS
export PKG_CONFIG_PATH
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
# Freebsd puts iconv in /usr/local, so see if we need to add
# /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.
#
# Actually, it does break stuff :-( gcc 3.2 prints gratuitous warnings
# and configure fails to find header files because of this cpp output.
if [ ! -f /usr/include/iconv.h ]; then
iconvdirs="/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"
echo "Adding $iconvlib_dir to LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
else
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
fi
export CPPFLAGS
export LDFLAGS
# Grab pkg-config-0.8, glib-1.3.12 if necessary
# Grab pkg-config, glib and libgc if necessary
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
@@ -127,16 +198,16 @@ else
fi
if [ $install_glib = "yes" ]; then
install_package glib-1.3.13.tar.gz glib-1.3.13 glib ""
install_package glib-2.0.6.tar.gz glib-2.0.6 glib ""
else
echo "Not installing glib, you already seem to have it installed"
fi
if [ $install_libgc = "yes" ]; then
LIBS="-ldl" install_package gc6.0.tar.gz gc6.0 libgc "--enable-threads=pthreads"
install_package gc6.1alpha5.tar.gz gc6.1alpha5 libgc "--enable-threads=pthreads"
# make install didnt do the headers!
mkdir -p $here/install/include/gc
cp -r $here/gc6.0/include/* $here/install/include/gc
cp -r $here/gc6.1alpha5/include/* $here/install/include/gc
else
echo "Not installing libgc, you already seem to have it installed"
fi
@@ -166,12 +237,12 @@ elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
fi
fi
cvs checkout mono || exit -1
(cd $here && cvs checkout mono) || exit -1
# Build and install mono
echo "Building and installing mono"
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; make || exit -1; make install || exit -1) || exit -1
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; $MAKE || exit -1; $MAKE install || exit -1) || exit -1
echo ""
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 = (string) reader["firstname"];
string LastName = (string) 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>
+1507
View File
File diff suppressed because it is too large. Load diff
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://www.monohispano.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>
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
MANAGED_CALLS=`gdb -silent $1 -pid $2 << EOF | awk '/.* in \?\? \(\)/ {printf("call print_method_from_ip(%s)\n", $2);}'
set height 0
thread apply all bt
quit
EOF`
gdb -silent $1 -pid $2 << EOF
set height 0
thread apply all bt
$MANAGED_CALLS
quit
EOF
+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>
+33 -7
View File
@@ -18,7 +18,7 @@
standard GNOME interfaces for easily creating reusable,
language independent components, controls and compound
documents. This technology is known as <a
href="http://developer.ximian.com/tech/bonobo.html">Bonobo</a>.
href="http://developer.ximian.com/articles/whitepapers/bonobo">Bonobo</a>.
Interfaces to Bonobo exist for C, Perl, Python, and
Java.
@@ -134,25 +134,51 @@
** What makes up Mono?
There are various pieces that will make up Mono:
There are various pieces that make up Mono today:
<ul>
* A C# compiler.
* The Virtual Execution System: that will have the
* The Virtual Execution System: that has the
Just-in-Time compiler, garbage collector, loader,
threading engine.
A byte code interpreter will be provided for quickly
A byte code interpreter is provided for quickly
porting Mono to new systems and debugging the JIT
purposes, but it is not intended to be the ideal
execution environment.
* An implemenation of the .NET class library.
* An implemenation of the .NET class libraries:
Remoting, Reflection, Reflection.Emit, Xml, Xpath,
Xslt, Xml Serialization, Web Services support.
* Visual development tools.
* Cross platform class libraries for data access:
Postgress, MySQL, DB2, TDS, Sybase, Oracle, ODBC and
Gnome's GDA.
* A CIL GCC frontend.
* Unix class libraries: Mono.Posix
* Gnome-specific class libraries: The Gtk# family.
* A code pre-compiler to generate native code ahead of
time.
* Gtk# a toolkit to develop GNOME applications on Unix
and Windows.
* An implementation of the Remoting infrastructure in
.NET
</ul>
Other work-in-progress components:
<ul>
* A VB.NET compiler and JScript compilers are in the works.
* Web services on the server side.
* We are planning to include Remoting.CORBA as part of
Mono standard distribution.
</ul>
** Why use GNOME components?
+75 -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,19 @@
** Mono related sites.
The Mono Tutorial:
<a href="http://go-mono.com/tutorial/">GNOME.NET Tutorial</a>
and other useful tutorials (Gtk#, Glade#, Embeded, etc) (in Spanish) at
<a href="http://www.monohispano.org">The Mono Hispano site</a>.
Community site for Mono at <a href="http://www.gotmono.com">Got Mono</a>
Wikis: <a href="http://www.nullenvoid.com/gtksharp/wiki">Gtk# Wiki</a>
and <a href="http://www.nullenvoid.com/mono/wiki">Mono Wiki</a>.
Sergey's web page on Mono resources:
<a href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>
@@ -30,6 +47,10 @@
<a href="http://www.gotdotnet.com">Got Dot Net</a>
Got Mono:
<a href="http://www.gotmono.com">Got Mono</a>
MonoMail:
<a href="http://sourceforge.net/projects/monomail/">http://sourceforge.net/projects/monomail/</a>
@@ -45,6 +66,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 +132,57 @@
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.
* <a
href="http://www.cl.cam.ac.uk/~jds31/research/gccnet/">GCC .NET backend</a>.
Jeremy Singer has developed a .NET backend for GCC. This is research work.
</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 +190,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
+29 -65
View File
@@ -1,9 +1,10 @@
* The Mono runtime
The Mono runtime implements a JIT engine for the CIL virtual
machine (as well as a byte code interpreter, this is to
quickly port it to new systems), the class loader, the garbage
collector, threading system and metadata access libraries.
The Mono runtime engine is considered feature complete.
It implements a Just-in-Time compiler engine for the CIL
virtual machine, the class loader, the garbage collector,
threading system and metadata access libraries.
We currently have two runtimes:
@@ -16,50 +17,21 @@
easy-to-port runtime engine.
</ul>
Currently we are using the Bohem conservative garbage
collector, but we working on incorporating the ORP GC engine.
We are using the Boehm conservative garbage 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: technical details (<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,30 +74,21 @@
</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
Currently we are using the Boehm conservative GC. Although our plans
are to move to the Intel ORP GC engine, our plans on a next generation
dual-JIT engine have to be taken into account.
We will be using the Intel ORP GC engine as it provides a precise
We are using the Boehm conservative GC. We might consider
adopting other GC engines in the future, like the Intel ORP GC
engine. The Intel ORP GC engine as it provides a precise
garbage collector engine, similar to what is available on the
.NET environment.
Although using a conservative garbage collector like Bohem's
would work, all the type information is available at runtime,
so we can actually implement a better collector than a
conservative collector.
.NET environment.
<ul>
* Garbage collection list and FAQ:<br>
@@ -149,7 +112,7 @@
The ECMA runtime and the .NET runtime assume an IO model and a
threading model that is very similar to the Win32 API.
Dick Porter has been working on the Mono abstraction layer
Dick Porter has developed WAPI: the Mono abstraction layer
that allows our runtime to execute code that depend on this
behaviour.
@@ -178,7 +141,8 @@
as well as talking to system libraries.
Initially we used libffi, but it was fairly slow, so we have
reused parts of the JIT work to create efficient PInvoke trampolines.
reused parts of the JIT work to create efficient PInvoke
trampolines.
** Remoting
+196
View File
@@ -0,0 +1,196 @@
* 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>
** Eclipse running with Mono
Zoltan Varga made the Java VM for .NET <a
href="http://www.ikvm.net">IKVM</a> run <a
href="http://www.eclipse.org">Eclipse</a>, the IBM Open Source IDE.
<a href="images/ikvm-screenshot.png"><img src="images/ikvm-screenshot-thumb.png"></a>
** 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">
</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">
</td>
</tr>
</table>
** Windows.Forms
Windows.Forms running with Wine on Linux:
<table border=1>
<tr>
<td>
<a href="http://go-mono.com/images/WINESWF.JPG"><img src="http://go-mono.com/images/WINESWF-thumb.JPG"></a>
</td>
</tr>
</table>
** Mono running on the iPaq
<table border=1>
<tr>
<td>
<img src="images/familiar-mint-hello.png">
</td>
</tr>
</table>
** Mono Certificate Viewer
<table border=1>
<tr>
<td>
<img src="images/swf-certview.png">
</td>
</tr>
<tr>
<td>
running on Windows using SWF
</td>
</tr>
<tr>
<td>
<img src="images/gtk-certview.png">
</td>
</tr>
<tr>
<td>
running on Linux (RH9) using GTK#
</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>
-2
View File
@@ -1,2 +0,0 @@
* The MonoNet Team
+105 -4
View File
@@ -9,13 +9,114 @@
** 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 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 <a href="http://nunit.org">NUnit documentation</a>,
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 it in the source. 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>
** Test your test with the Microsoft runtime
If possible, try to run your testsuite with the Microsoft runtime on
.NET 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
<a href="mailing-lists">mailing list</a> - 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
+41 -18
View File
@@ -1,19 +1,19 @@
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,Team,team.html,team.src
1,Other sites,other.html,other.src
1,Old News,oldnews.html,oldnews.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,System.Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
2,System.Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
2,System.Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
2,System.Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
2,System.Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.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
@@ -21,17 +21,11 @@
1,Hackers,hackers.html,hackers.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Doc format,monodoc-xml.html,monodoc-xml.src
1,Test Suite,testing.html,testing.src
1,Tools,tools.html,tools.src
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
@@ -41,6 +35,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
+1 -1
View File
@@ -212,7 +212,7 @@ function clickHandler (evt)
if (evt.ctrlKey)
{
var strRoot = 'http://cvs.hispalinux.es/cgi-bin/cvsweb/mcs/class/';
var strExtra = '?cvsroot=Mono';
var strExtra = '?cvsroot=mono';
if (strAssembly)
{
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+105 -64
View File
@@ -1,66 +1,99 @@
CSCRIPT = $(SYSTEMROOT)/system32/cscript.exe
CSC=csc
ifeq ($(findstring CYGWIN,$(shell uname)),)
CSC=mcs
RUN_MONO=mono
else
CSC=csc /nologo
endif
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-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
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/oldnews.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/team.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-status-System.Security.html \
deploy/class-status-System.Windows.Forms.html \
deploy/class-status-Cscompmgd.html \
deploy/class-library.html \
deploy/classlib-doc.html
# deploy/class-status-System.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
NON_HTML_SOURCES= \
# deploy/class-status-System.Configuration.Install.html \
# deploy/class-status-System.Runtime.Remoting.html \
NON_HTML_SOURCES= \
../mono-build.sh \
../mono-build-w32.sh
all: $(OBJECTS) deploy/index.rss
all: $(OBJECTS) deploy/index.rss ../team
perl process.pl commands template.html.in deploy
-mkdir deploy/team
cp team/*png deploy/team
tutorial: mono-beginning.html.stamp mono-beginning.pdf
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
@@ -76,18 +109,24 @@ mono-beginning.xml: ../mono-beginning.xml
cp ../mono-beginning.xml .
deploy/index.rss: mono-rss.exe ../index
./mono-rss.exe ../index deploy/index.rss
$(RUN_MONO) ./mono-rss.exe ../index deploy/index.rss
mono-rss.exe: mono-rss.cs rss.cs
$(CSC) mono-rss.cs rss.cs
../team: render-team-page.exe team.xml
$(RUN_MONO) ./render-team-page.exe team.xml "../team"
render-team-page.exe: render-team-page.cs
$(CSC) render-team-page.cs
clean:
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
push:
cp -f $(NON_HTML_SOURCES) deploy
echo scp -P 2200 -r deploy/* www@www.ximian.com:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh -p 2200' . www@www.ximian.com:/web/cvsmodules/mono )
echo scp -P 2200 -r deploy/* www@www.go-mono.com:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh' . www@www.go-mono.com:/web/cvsmodules/mono )
push2:
scp -r deploy/* primates:public_html/xxx
@@ -96,32 +135,34 @@ $(OBJECTS): $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
#.PRECIOUS: $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
transform.exe: transform.cs
$(CSC) transform.cs
.PRECIOUS: src/%.src
src/%.src: ../% commands makefile template.html.in
src/%.src: ../% commands template.html.in #makefile
perl htmlify $< > $@
.PRECIOUS: ../class-status-%
../class-status-%: src/%.html.in ../class-status.in
cat ../class-status.in $< > $@
.PRECIOUS: src/%.html.in
src/%.html.in: src/%.xml $(CORCOMPARE)/transform.js $(CORCOMPARE)/cormissing.xsl
$(CSCRIPT) /nologo $(CORCOMPARE)/transform.js $< $(CORCOMPARE)/cormissing.xsl > $@
src/%.html.in: src/%.xml transform.exe $(CORCOMPARE)/cormissing.xsl
$(RUN_MONO) ./transform.exe $< $(CORCOMPARE)/cormissing.xsl > $@
.PRECIOUS: src/%.xml
src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -x $@ $<
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -x $@ $<
src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
src/System.Security.xml: ../../../mcs/class/lib/System.Security_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f System.Security -ms System.Security -x $@ $<
../class-status: ../class-status.in
cp -f $< $@
+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;
+352
View File
@@ -0,0 +1,352 @@
//
// RenderTeamPage.cs - Renders an HTML page with team member information from an XML file
//
// Author: Duncan Mak ([email protected])
//
// (C) Copyright 2003, Ximian Inc.
//
using System;
using System.Collections;
using System.IO;
using System.Text;
using System.Xml;
class Write {
static Contributor [] list;
static public XmlNamespaceManager nsmgr;
static void Main (string [] args)
{
if (args.Length != 2) {
Console.WriteLine ("write.exe <input.xml> <output.html>");
Environment.Exit (0);
}
string input = args [0];
string output = args [1];
XmlDocument document = new XmlDocument ();
document.Load (input);
nsmgr = new XmlNamespaceManager (document.NameTable);
nsmgr.AddNamespace ("t", "http://go-mono.org/team.xsd");
XmlNodeList contributors = document.SelectNodes ("/t:contributors/t:contributor", nsmgr);
list = new Contributor [contributors.Count];
Page p = new Page ();
int count = 0;
foreach (XmlNode n in contributors) {
list [count] = new Contributor (n, p.Document);
count ++;
}
Array.Sort (list, new ContributorComparer ());
int length = list.Length % 2 == 0 ? list.Length : list.Length + 1;
int i = 0;
while (i < length) {
try {
p.AddRow (list [i].RenderHtml (), list [i + 1].RenderHtml ());
} catch (IndexOutOfRangeException) {
p.AddRow (list [i].RenderHtml (), null);
}
i += 2;
}
p.Write (output);
}
}
public class ContributorComparer : IComparer
{
public int Compare (object x, object y)
{
return String.Compare (x.ToString (), y.ToString ());
}
}
class Contributor {
public Name name;
public string email;
public string image;
public string location;
public string organization;
public string description;
public string[] tasks;
public XmlDocument document;
public Contributor (XmlNode node, XmlDocument document)
{
name = GetName (node);
image = GetImage (node);
email = GetField (node, "t:e-mail");
location = GetField (node, "t:location");
organization = GetField (node, "t:organization");
description = GetField (node, "t:description");
tasks = GetTasks (node);
this.document = document;
}
public override string ToString ()
{
return name.ToString ();
}
public static string GetImage (XmlNode node)
{
string result = GetField (node, "t:image");
if (result == String.Empty)
return "none.png";
else
return result;
}
public static string GetField (XmlNode node, string selector)
{
XmlNode result = node.SelectSingleNode (selector, Write.nsmgr);
if (result == null)
return String.Empty;
return result.InnerText;
}
public static Name GetName (XmlNode node)
{
string first_name = GetField (node, "t:name/t:first-name");
string last_name = GetField (node, "t:name/t:last-name");
return new Name (first_name, last_name);
}
public static string [] GetTasks (XmlNode node)
{
XmlNodeList nodes = node.SelectNodes ("t:tasks/t:task", Write.nsmgr);
string [] result = new string [nodes.Count];
int i = 0;
foreach (XmlNode n in nodes) {
result [i] = n.InnerText;
i++;
}
return result;
}
public XmlElement RenderHtml ()
{
XmlElement root = document.CreateElement ("td");
XmlElement table = document.CreateElement ("table");
table.SetAttribute ("cellPadding", "0");
table.SetAttribute ("border", "0");
XmlElement tr = document.CreateElement ("tr");
XmlElement td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#c3cda7");
td.SetAttribute ("valign", "top");
td.SetAttribute ("width", "1%");
tr.AppendChild (td);
table.AppendChild (tr);
root.AppendChild (table);
XmlElement img = document.CreateElement ("img");
img.SetAttribute ("align", "top");
img.SetAttribute ("border", "0");
img.SetAttribute ("height", "48");
img.SetAttribute ("width", "48");
img.SetAttribute ("src", "team/" + image);
td.AppendChild (img);
td = document.CreateElement ("TD");
td.SetAttribute ("bgcolor", "#c3cda7");
td.SetAttribute ("valign", "bottom");
td.SetAttribute ("width", "100%");
tr.AppendChild (td);
td.AppendChild (name.ToXml (document));
td.AppendChild (document.CreateElement ("br"));
td.AppendChild (RenderEmail ());
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Location: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (document.CreateTextNode (location));
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Description: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (document.CreateTextNode (description));
tr = document.CreateElement ("tr");
table.AppendChild (tr);
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderLabel ("Tasks: "));
td = document.CreateElement ("td");
td.SetAttribute ("bgcolor", "#f5f8e4");
td.SetAttribute ("valign", "top");
tr.AppendChild (td);
td.AppendChild (RenderTasks ());
return root;
}
public XmlNode RenderTasks ()
{
XmlElement element = document.CreateElement ("ol");
element.SetAttribute ("type", "I");
foreach (string task in tasks) {
XmlElement li = document.CreateElement ("li");
li.AppendChild (document.CreateTextNode (task));
element.AppendChild (li);
}
return element;
}
public XmlNode RenderEmail ()
{
XmlElement a = document.CreateElement ("a");
a.SetAttribute ("href", "mailto:" + email);
XmlElement font = document.CreateElement ("font");
font.SetAttribute ("size", "3");
XmlText t = document.CreateTextNode (email);
a.AppendChild (font);
font.AppendChild (t);
return a;
}
public XmlNode RenderLabel (string label)
{
string text = String.Format ("{0}: ", label);
XmlElement element = document.CreateElement ("b");
XmlText t = document.CreateTextNode (label );
element.AppendChild (t);
return element;
}
}
class Page {
XmlDocument document;
XmlElement tbody;
public Page ()
{
document = new XmlDocument ();
XmlElement table = document.CreateElement ("table");
document.AppendChild (table);
tbody = document.CreateElement ("tbody");
table.AppendChild (tbody);
}
public XmlDocument Document {
get { return document; }
}
public void AddRow (XmlNode left, XmlNode right)
{
if (left == null && right == null)
return;
XmlElement tr = document.CreateElement ("tr");
tbody.AppendChild (tr);
tr.AppendChild (left);
if (right == null)
tr.AppendChild (document.CreateElement ("td"));
else {
tr.SetAttribute ("valign", "top");
tr.AppendChild (right);
}
}
public void Write (TextWriter text_writer)
{
XmlTextWriter writer = new XmlTextWriter (text_writer);
writer.Formatting = Formatting.Indented;
document.WriteContentTo (writer);
writer.Flush ();
}
public void Write (string filename)
{
XmlTextWriter writer = new XmlTextWriter (filename, Encoding.Default);
writer.Formatting = Formatting.Indented;
document.WriteContentTo (writer);
writer.Flush ();
}
}
class Name {
string first_name;
string last_name;
public Name (string a, string b)
{
this.first_name = a;
this.last_name = b;
}
public override string ToString ()
{
if (first_name == null && last_name == null)
return String.Empty;
return first_name + " " + last_name;
}
public XmlNode ToXml (XmlDocument document)
{
XmlElement element = document.CreateElement ("font");
element.SetAttribute ("size", "3");
XmlElement b = document.CreateElement ("B");
XmlText t = document.CreateTextNode (ToString ());
b.AppendChild (t);
element.AppendChild (b);
return element;
}
}
+1440
View File
File diff suppressed because it is too large. Load diff
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<xs:schema id="contributors" targetNamespace="http://go-mono.org/team.xsd" xmlns="http://go-mono.org/team.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="contributor">
<xs:complexType>
<xs:sequence>
<xs:element name="name" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="first-name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="last-name" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="e-mail" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="image" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="location" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="organization" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="tasks" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="task" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

+6 -4
View File
@@ -2,11 +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-image: url("images/bgsquares.gif");
background-attachment: fixed; }
}
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
font-size: 14px; }
@@ -27,7 +29,7 @@
a.navi2:visited { color: #cccccc; }
a.navi2:hover { color: #ee9900; text-decoration: underline; }
// -->
// -->
</style>
#CSS#
#SCRIPT#
@@ -38,7 +40,7 @@
<tr>
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
<td colspan="4">
<a href="http://www.go-mono.com"><img src="images/mono.gif"
<a href="http://www.go-mono.com"><img src="images/mono-new.gif"
alt="mono-logo" border="0"></a></td>
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
</tr>
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Xml;
using System.Xml.Xsl;
namespace Transform
{
class Transform
{
public static void Main (string [] rgstrArgs)
{
XmlDocument xml = new XmlDocument ();
xml.Load (rgstrArgs [0]);
XslTransform xsl = new XslTransform ();
xsl.Load (rgstrArgs [1]);
xsl.Transform (xml, null, Console.Out);
}
}
}
+92 -15
View File
@@ -1,9 +1,66 @@
* System.Windows.Forms
System.Windows.Forms eventually will support multiple
toolkits. Ximian will be delivering a product that will allow
for System.Windows.Forms applications to integrate with GNOME
through Gtk and MacOS X using Cocoa.
Currently Windows.Forms support is not finished.
The System.Windows.Forms effort is taking two paths:
<ul>
<li>Win32/Wine-based: This effort will use the Win32
API, and use a stub program to run the with Wine.
This allows applications that use P/Invoke to
function, and event delivery through the Wndproc
method to work for the most advanced and custom
applications. This is the path of best compatibility.
Also, work on a Gtk-based rendered for Wine will be
done, to make the user interface integrate with your
desktop look.
<li>Gtk# based: This effort will build a subset of
Windows.Forms that uses Gtk#. This gives a better
integration with the desktop, but will not be
completely compatible with the Windows edition. In
particular code that uses P/Invoke to call into Win32
or overwrite the Wndproc method to achieve special
effects will not work.
</ul>
* Win32/Wine edition.
Currently (May 21st, 2003) to get the Windows.Forms support
working, you need a Mono installation from CVS, and you need
to install Wine plus the <a
href="http://www.openlinksw.com">OpenLink patch</a>, and
define the environment variable "SWF" (export SWF=1 from your
shell).
<table>
<tr>
<td>
System.Windows.Forms is currently being implemented using the
Win32 API, we will be using <a
href="http://www.winehq.com">WineLib</a> on Unix systems to
emulate the Win32 API.
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
it use the Gtk+ themes on X11 and Cocoa on MacOS to render the
widgets, and get the native look and feel on each of these
platforms.
</td>
<td>
<a href="images/WINESWF.JPG"><img src="images/WINESWF-mini.JPG"></a>
</td>
</table>
* Gtk# based
The code is contained in CVS.
There are no current plans to support embedded devices, but
Gtk/FrameBuffer is an option. If you have suggestions or
@@ -12,19 +69,28 @@
* Contributing
Currently Ximian developers are busy making our JIT engine
feature complete, and dealing with the low-level details of
the Mono runtime.
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 are interested in contributing, you can start stubbing
out classes and providing enumerations. That will help us
significantly when we start working on the actual bindings.
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).
Christian Meyer is currently organizing this effort.
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
Using existing libraries to implement some of the functionality required
Using existing libraries to implement some of the
functionality required:
<ul>
* gdk-pixbuf is a generic image loader that loads an image
@@ -64,6 +130,7 @@
* Directory Layout
<pre>
System.Drawing (assembly directory)
System.Drawing.Blah
Common code for "Blah"
@@ -75,12 +142,14 @@
MacOS
System.Drawing.Blah
MacOS ports of "System.Drawing.Blah"
Win32
WineLIB
System.Drawing.Blah
Win32 ports of "System.Drawing.Blah"
</pre>
Then we use nant targets to include/exclude the right set of
files to create the assembly.
Notice that there is a proof of concept Gtk-backend for
Windows.Forms, but nobody is working on it, and for the
reasons stated before it is not a long term strategy.
* Open questions:
@@ -88,3 +157,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.
+44
View File
@@ -0,0 +1,44 @@
Mono Ahead Of Time Compiler
===========================
The new mono JIT has sophisticated optimization features. It uses SSA and has a
pluggable architecture for further optimizations. This makes it possible and
efficient to use the JIT also for AOT compilation.
* file format: We use the native object format of the platform. That way it is
possible to reuse existing tools like objdump and the dynamic loader. All we
need is a working assembler, i.e. we write out a text file which is then
passed to gas (the gnu assembler) to generate the object file.
* file names: we simply add ".so" to the generated file. For example:
basic.exe -> basic.exe.so
corlib.dll -> corlib.dll.so
* staring the AOT compiler: mini --aot assembly_name
The following things are saved in the object file:
* version infos:
* native code: this is labeled with method_XXXXXXXX: where XXXXXXXX is the
hexadecimal token number of the method.
* additional informations needed by the runtime: For example we need to store
the code length and the exception tables. We also need a way to patch
constants only available at runtime (for example vtable and class
addresses). This is stored i a binary blob labeled method_info_XXXXXXXX:
PROBLEMS:
- all precompiled methods must be domain independent, or we add patch infos to
patch the target doamin.
- the main problem is how to patch runtime related addresses, for example:
- current application domain
- string objects loaded with LDSTR
- address of MonoClass data
- static field offsets
- method addreses
- virtual function and interface slots
Loaded 100 of 6432 files, more files were not shown because too many files have changed in this diff. Show more