Compare commits

...
4580 Commits
Author SHA1 Message Date
nobody 39c87c56fb This commit was manufactured by cvs2svn to create tag 'MCS_0_95'.
svn path=/tags/MCS_0_95/mcs/; revision=28626
2004-06-01 13:30:40 +00:00
Miguel de Icaza afe6148ebd 2004-06-01 Miguel de Icaza <[email protected]>
* String.cs: Flag concat with four arguments internal.

svn path=/trunk/mcs/; revision=28625
2004-06-01 13:30:40 +00:00
Ravindra da34629417 Minor correction in Pen.Dispose and SolidBrush.Dispose
svn path=/trunk/mcs/; revision=28624
2004-06-01 12:09:36 +00:00
Sebastien Pouliot c68c1bd6c0 2004-06-01 Sebastien Pouliot <[email protected]>
* SortedList.cs: Fixed case where the initial capacity was set to 0.

svn path=/trunk/mcs/; revision=28623
2004-06-01 12:09:27 +00:00
Sebastien Pouliot a2d18abb30 2004-06-01 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Added new test when initial capacity is set to 0
	(so it never returns to default, 16, when Capacity is set to 0) unless
	Clear is called. Cleaned up unused SetUp/TearDown.

svn path=/trunk/mcs/; revision=28622
2004-06-01 12:05:49 +00:00
Marek Safar dd7100cbbd 2004-06-01 Marek Safar <[email protected]>
* cs1555.cs,
	* cs1556.cs,
	* cs3000.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=28621
2004-06-01 11:59:37 +00:00
Raja R Harinath 5a6cb5ce83 (monolite-bootstrap): Update.
svn path=/trunk/mono/; revision=28620
2004-06-01 10:02:34 +00:00
Raja R Harinath a90a8752fa (bootstrap,faststrap,fasterstrap): Refactor.
Fix 'faststrap' to be corlib-version-change-safe.
(one-stage-strap,two-stage-strap,three-stage-strap): Remove.

svn path=/trunk/mono/; revision=28619
2004-06-01 09:50:00 +00:00
Lluis Sanchez 2cf46f9f3a 2004-06-01 Gert Driesen <[email protected]>
* DiscoveryReference.cs: Added missing XmlIgnore attribute.

svn path=/trunk/mcs/; revision=28617
2004-06-01 08:59:06 +00:00
Lluis Sanchez d939457bb9 2004-06-01 Gert Driesen <[email protected]>
* HttpSoapWebServiceHandler.cs: Removed unused variables.
	* SoapHeaderAttribute.cs: Added Obsolete attribute.

svn path=/trunk/mcs/; revision=28616
2004-06-01 08:58:32 +00:00
Lluis Sanchez bc88cf65e9 * Binding.cs: removed extra XmlIgnore attribute on ServiceDescription
* Import.cs: removed extra XmlIgnore attribute on ServiceDescription
	* Message.cs: removed extra XmlIgnore attribute on ServiceDescription
	* MessageBinding.cs: removed extra DefaultValue attribute from Name,
	removed extra XmlIgnoreAttribute from OperationBinding
	* MessagePart.cs: removed extra XmlIgnore attribute on Message
	* MimeContentBinding.cs: removed extra DefaultValue attribute on Part
	* Operation.cs: removed extra XmlIgnore attribute on PortType
	* OperationBinding.cs: removed extra XmlIgnore attribute on Binding
	* OperationMessage.cs: removed extra XmlIgnore attribute on Operation
	* Port.cs: removed extra XmlIgnore attribute on Service
	* PortType.cs: removed extra XmlIgnore on ServiceDescription
	* Service.cs: removed extra XmlIgnore on ServiceDescription
	* ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
	  attribute on Parent
	* SoapHeaderBinding.cs: added XmlElement attribute on Fault
	* HttpSimpleProtocolImporter.cs: removed unused variable
	* ServiceDescriptionImporter.cs: removed unused variable
	* SoapProtocolImporter.cs: removed unused variable

svn path=/trunk/mcs/; revision=28615
2004-06-01 08:49:25 +00:00
Lluis Sanchez 11b23d5c2a * WebServicesConfigurationSectionHandler.cs: removed unused variables
svn path=/trunk/mcs/; revision=28614
2004-06-01 08:48:08 +00:00
Ravindra fdeac5a1d2 Patch from Gert Driesen.
svn path=/trunk/mcs/; revision=28613
2004-06-01 08:29:58 +00:00
Anirban Bhattacharjee 99bc5750c0 test cases for Delegate
svn path=/trunk/mcs/; revision=28612
2004-06-01 06:12:41 +00:00
Gonzalo Paniagua Javier f611271a66 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
	to Markus Kr�utner.

svn path=/trunk/mcs/; revision=28611
2004-06-01 05:47:02 +00:00
Gonzalo Paniagua Javier ab10994d3d 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added CategoryAndNegated test.

svn path=/trunk/mcs/; revision=28610
2004-06-01 05:45:05 +00:00
Gonzalo Paniagua Javier 4d8d5cc311 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
	emitting a Category.All if both a category and its negated value are
	present.

svn path=/trunk/mcs/; revision=28609
2004-06-01 05:43:48 +00:00
Ravindra 46eac4f446 Formatting.
svn path=/trunk/mcs/; revision=28608
2004-06-01 05:10:45 +00:00
Ravindra e21f636e8c * Pen.cs: Added a note on Dispose method.
* Brush.cs: Fixed Dispose method.
	* SolidBrush.cs: Fixed Dispose method.

svn path=/trunk/mcs/; revision=28607
2004-06-01 05:00:16 +00:00
Sebastien Pouliot b1b8611ecf 2004-05-31 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Fixed array used for some tests. Strangely the tests
	didn't fail on MS runtime ?!?! but they should have!

svn path=/trunk/mcs/; revision=28606
2004-06-01 01:42:38 +00:00
Sebastien Pouliot da69c6c63c 2004-05-31 Sebastien Pouliot <[email protected]>
* PathTest.cs: Fixed ChangeExtension_BadExtension to run only on Windows.

svn path=/trunk/mcs/; revision=28605
2004-06-01 01:24:57 +00:00
Gonzalo Paniagua Javier 6e3884f14f 2004-06-01 Gonzalo Paniagua Javier <[email protected]>
* syntax.cs: reverting my previous patch. It causes bigger problems.

svn path=/trunk/mcs/; revision=28604
2004-06-01 01:01:23 +00:00
Sebastien Pouliot 0b06a8ac4c 2004-05-31 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed legal case where value is null.
	* Byte.cs: Fixed ToString when format is an empty string (use "G").

svn path=/trunk/mcs/; revision=28603
2004-06-01 00:49:08 +00:00
Sebastien Pouliot 8b96bfb634 2004-05-31 Sebastien Pouliot <[email protected]>
* Guid.cs: Renamed private fields (and changed some to signed) to
	match MS implementation and allow serialization to work. Fix
	bug #59113.

svn path=/trunk/mcs/; revision=28602
2004-06-01 00:45:29 +00:00
Sebastien Pouliot e2c9c8c0bf 2004-05-31 Sebastien Pouliot <[email protected]>
* Hashtable.cs: Added ArgumentNullException in GetObjectData.

svn path=/trunk/mcs/; revision=28601
2004-06-01 00:44:10 +00:00
Sebastien Pouliot 585d7ffd41 2004-05-31 Sebastien Pouliot <[email protected]>
* ArrayListTest.cs: Added new test for null in BinarySearch.
	* HashtableTest.cs: Added null checking fro GetObjectData.

svn path=/trunk/mcs/; revision=28600
2004-06-01 00:20:08 +00:00
Sebastien Pouliot 93359ce5b4 2004-05-31 Sebastien Pouliot <[email protected]>
* FileTest.cs: Added tests to confirm that Exists never throws
	exceptions even for invalid filenames or for unexisting directories.
	* PathTest.cs: Added windows-specific tests that shows that
	ChangeExtension validate the input patch but doesn't validate the
	resulting path.

svn path=/trunk/mcs/; revision=28599
2004-06-01 00:16:12 +00:00
Sebastien Pouliot de8ffd34ed 2004-05-30 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added tests for null values in BinarySearch.
	* Byte.cs: Added test for default ToString format value.

svn path=/trunk/mcs/; revision=28598
2004-06-01 00:11:50 +00:00
Gonzalo Paniagua Javier f82a1f85dd 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
	when SetFilePath is called. This way the cached values are reset and
	get the right value in case someone (namely SessionStateModule +
	cookieless session) changes the FilePath after the property cached its
	value. Fixes bug #59364.

svn path=/trunk/mcs/; revision=28586
2004-05-31 19:15:56 +00:00
Atsushi Eno e3cfa1cf7c 2004-05-31 Atsushi Enomoto <[email protected]>
* DataSet.cs : Loop-break of the last fix was incorrect.

svn path=/trunk/mcs/; revision=28585
2004-05-31 19:12:07 +00:00
Miguel de Icaza 3343ab394f version
svn path=/trunk/mcs/; revision=28575
2004-05-31 18:22:57 +00:00
Miguel de Icaza 749975515b version
svn path=/trunk/mcs/; revision=28574
2004-05-31 18:22:28 +00:00
Atsushi Eno 29bd87001f 2004-05-31 Atsushi Enomoto <[email protected]>
* DataSet.cs : When a row has no parent row but the table has parent
	  relation(s), that row had been always ignored.

svn path=/trunk/mcs/; revision=28572
2004-05-31 18:16:37 +00:00
Gonzalo Paniagua Javier 1263f41404 tired of those ^M
svn path=/trunk/mcs/; revision=28571
2004-05-31 18:14:08 +00:00
Miguel de Icaza 3389912d8f This is Beta2
svn path=/trunk/mono/; revision=28567
2004-05-31 17:51:14 +00:00
Miguel de Icaza f131483ce6 UPdate
svn path=/trunk/mono/; revision=28566
2004-05-31 17:28:06 +00:00
Atsushi Eno f2bfd9fe48 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
	  rejected same-named tables in different hierarchy. Thanks to Boris.

svn path=/trunk/mcs/; revision=28565
2004-05-31 17:16:55 +00:00
Ben Maurer e45a69164c add multi-6
svn path=/trunk/mcs/; revision=28564
2004-05-31 17:12:21 +00:00
Gonzalo Paniagua Javier 1602cb9de7 2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fixlets for windows.

svn path=/trunk/mono/; revision=28562
2004-05-31 17:01:48 +00:00
Paolo Molaro d273b61a20 Mon May 31 19:41:46 CEST 2004 Paolo Molaro <[email protected]>
* mini.c revert Zoltan's fix to bug#58863 on ppc, since it causes
	regressions in gtk-sharp.

svn path=/trunk/mono/; revision=28561
2004-05-31 17:01:25 +00:00
Miguel de Icaza 81e825559a 2004-05-31 Miguel de Icaza <[email protected]>
* Reverted patch to namespace.cs (Use lookuptypedirect).  This
	caused a regression: #59343.  Referencing nested classes from an
	assembly stopped working.

svn path=/trunk/mcs/; revision=28560
2004-05-31 16:57:21 +00:00
Atsushi Eno b1000500d6 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDiffLoader.cs : Added some Skip() that is required not to go to
	  infinite loop. Thanks to Boris for this fix.

svn path=/trunk/mcs/; revision=28558
2004-05-31 16:50:16 +00:00
Atsushi Eno 4557407d6d 2004-05-31 Atsushi Enomoto <[email protected]>
* Directory.cs, File.cs : Fixed Exists() that raised
	  DirectoryNotFoundException. Quick fix for bug #59354.

svn path=/trunk/mcs/; revision=28557
2004-05-31 16:44:03 +00:00
Zoltan Varga a84be32229 2004-05-31 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Fix CR/LFs.

svn path=/trunk/mono/; revision=28555
2004-05-31 15:47:57 +00:00
Miguel de Icaza 862d515398 Updated with new tests
svn path=/trunk/mcs/; revision=28554
2004-05-31 15:18:47 +00:00
Miguel de Icaza 27adaadb5b Add new test files
svn path=/trunk/mcs/; revision=28553
2004-05-31 15:13:25 +00:00
Atsushi Eno 0820f840a5 2004-05-31 Atsushi Enomoto <[email protected]>
* SignedXml.cs : partial fix for bug #59165 that does not output
	  namespace that conflicts with element's namespace.

svn path=/trunk/mcs/; revision=28551
2004-05-31 12:06:45 +00:00
Atsushi Eno 87aa3d424c The latest tests were by Boris Kirzner (thanks!)
svn path=/trunk/mcs/; revision=28550
2004-05-31 10:47:19 +00:00
Atsushi Eno acec2a5772 2004-05-31 Atsushi Enomoto <[email protected]>
* DataTableTest.cs : Added test for serialization.
	* DataSetInferXmlSchemaTest.cs : Added test for schema element skip.

svn path=/trunk/mcs/; revision=28549
2004-05-31 10:45:27 +00:00
Atsushi Eno c4c84f3d00 2004-05-31 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
	  Thanks to Boris for this fix.

svn path=/trunk/mcs/; revision=28548
2004-05-31 10:29:27 +00:00
Atsushi Eno d538cb0571 2004-05-31 Atsushi Enomoto <[email protected]>
* RncParser.jay : now error output is disabled.
	* RncTokenizer.cs : It should not be public class.

svn path=/trunk/mcs/; revision=28547
2004-05-31 10:23:31 +00:00
Atsushi Eno 9c5f8f2746 2004-05-31 Atsushi Enomoto <[email protected]>
* Misc.cs : made Util class internal.
	* RelaxngDatatypeProvider.cs : looks commit was missing.
	* RelaxngException.cs : made one .ctor() internal that accepts
	  RdpPattern.
	* RelaxngNameClas.cs : Names list should not be settable.
	* RelaxngPattern.cs : RelaxngRefPattern class is internal use only.
	* RelaxngPatternType.cs : there is not "Include" pattern.

svn path=/trunk/mcs/; revision=28546
2004-05-31 10:22:51 +00:00
Atsushi Eno da5275f248 2004-05-31 Atsushi Enomoto <[email protected]>
* anglia-test-runner.cs : Added support for RELAX NG compact syntax
	  parser tests.
	* Makefile : added anglia-test support.
	* README : ditto.

svn path=/trunk/mcs/; revision=28545
2004-05-31 10:22:02 +00:00
Rafael Teixeira 776110a374 2004-05-31 Rafael Teixeira <[email protected]>
* OptionDetails.cs : ShortForm member now a string to favor some simplifications, fixes for Bug 58672
	* OptionList.cs : Fixes for Bug 58672 and better handling for mixed-form options (linux/windows)

svn path=/trunk/mcs/; revision=28543
2004-05-31 09:15:09 +00:00
Rafael Teixeira 386481ff06 Exercise Mono.GetOptions a bit in the testmbas/WriteOK.exe target
svn path=/trunk/mcs/; revision=28542
2004-05-31 08:57:22 +00:00
Ravindra 956c67906f * pie.cs: Made the output image little organized and added a
case where DrawPie and FillPie were crashing the system. It
	was happening with zero degree sweep angle.

svn path=/trunk/mcs/; revision=28541
2004-05-31 08:43:54 +00:00
Rafael Teixeira a9c884eaef 2004-05-31 Rafael Teixeira <[email protected]>
* OptionDetails.cs: Assemble an one-line authors' list in about processor (also abandon after about)

svn path=/trunk/mcs/; revision=28534
2004-05-31 07:03:50 +00:00
Rafael Teixeira 86a295501e 2004/05/31 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs : Anirban is and author too

svn path=/trunk/mcs/; revision=28532
2004-05-31 07:00:05 +00:00
Rafael Teixeira 7ebae8306a 2004-05-31 Rafael Teixeira <[email protected]>
* Financial.cs:
		Correct IRR and MIRR method signatures and prevent public default constructor, all according to Class Status Page (corcompare)

svn path=/trunk/mcs/; revision=28530
2004-05-31 05:35:21 +00:00
Rafael Teixeira b1853cba15 BETTER ALPHA WARNING
svn path=/trunk/mcs/; revision=28529
2004-05-31 04:51:11 +00:00
Martin Baulig 5d7664c3cc 2004-05-31 Martin Baulig <[email protected]>
MCS is now frozen for beta 2.

svn path=/trunk/mcs/; revision=28528
2004-05-31 02:55:34 +00:00
Martin Baulig 1390efe910 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28527
2004-05-31 02:46:01 +00:00
Martin Baulig b5c5563b18 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28526
2004-05-31 02:44:20 +00:00
Martin Baulig a02bf8816d Reverted everything back until 14:15 this afternoon.
svn path=/trunk/mcs/; revision=28525
2004-05-31 02:32:48 +00:00
Martin Baulig 7e9bc7847d 2004-05-30 Ben Maurer <[email protected]>
* decl.cs: If possible, use lookuptypedirect here. We can only do
	this if there is no `.' after the namespace. Avoids using
	LookupType, which does lots of slow processing.
	(FindNestedType) New method, does what it says :-).
	* namespace.cs: use LookupTypeDirect.
	* rootcontext.cs: use membercache, if possible.
	* typemanager.cs (LookupTypeDirect): Cache negative hits too.

svn path=/trunk/mcs/; revision=28523
2004-05-31 02:31:16 +00:00
Martin Baulig 42981c413a 2004-05-30 Ben Maurer <[email protected]>
* expression.cs:
	According to the spec,

	In a member access of the form E.I, if E is a single identifier,
	and if the meaning of E as a simple-name (�7.5.2) is a constant,
	field, property, localvariable, or parameter with the same type as
	the meaning of E as a type-name (�3.8), then both possible
	meanings of E are permitted.

	We did not check that E as a simple-name had the same type as E as
	a type name.

	This trivial check gives us 5-7% on bootstrap time.

2004-05-30 Ben Maurer  <[email protected]>

	* expression.cs (Invocation.OverloadResolve): Avoid the
	use of hashtables and boxing here by allocating on demand.

svn path=/trunk/mcs/; revision=28522
2004-05-31 02:26:38 +00:00
Martin Baulig d31c6ef8d0 2004-05-30 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.LookupType): Don't cache things if
	we're doing a silent lookup.  Don't try to lookup nested types in
	TypeManager.object_type (thanks to Ben Maurer).

2004-05-30  Martin Baulig  <[email protected]>

	Committing a patch from Ben Maurer.

	* rootcontext.cs (RootContext.LookupType): Cache negative results.

svn path=/trunk/mcs/; revision=28521
2004-05-31 02:24:04 +00:00
Martin Baulig 7af71bde6d Reverted everything back until 14:15:00 this afternoon.
svn path=/trunk/mcs/; revision=28520
2004-05-31 02:12:45 +00:00
Martin Baulig 53624cf702 Moved the marker again.
svn path=/trunk/mcs/; revision=28519
2004-05-31 01:18:45 +00:00
Martin Baulig 4f900ec539 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28518
2004-05-31 01:18:06 +00:00
Ben Maurer aa976d180b hush little baby, dont say a word
svn path=/trunk/mcs/; revision=28517
2004-05-31 01:13:30 +00:00
Ben Maurer 9221c586f1 disable this for now
svn path=/trunk/mcs/; revision=28516
2004-05-31 01:11:56 +00:00
Ben Maurer 74df29cff8 2004-05-30 Ben Maurer <[email protected]>
* convert.cs: add a trivial cache for overload operator resolution.

svn path=/trunk/mcs/; revision=28515
2004-05-30 23:11:04 +00:00
Ben Maurer f333a7fbb7 revert this patch, it broke the build
svn path=/trunk/mcs/; revision=28514
2004-05-30 22:49:58 +00:00
Jackson Harper 518da7775c * library.make: Install to 2.0 package if building with the
net_2_0 profile.

svn path=/trunk/mcs/; revision=28513
2004-05-30 22:44:38 +00:00
Ben Maurer de1565c510 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(AttributeTester.GetObsoleteAttribute): Returns instance of
	ObsoleteAttribute when type is obsolete.

	* class.cs
	(TypeContainer.VerifyObsoleteAttribute): Override.
	(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
	(MethodCode.VerifyObsoleteAttribute): Override.

svn path=/trunk/mcs/; revision=28512
2004-05-30 22:10:04 +00:00
Marek Safar df8d224980 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(AttributeTester.GetObsoleteAttribute): Returns instance of
	ObsoleteAttribute when type is obsolete.

	* class.cs
	(TypeContainer.VerifyObsoleteAttribute): Override.
	(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
	(MethodCode.VerifyObsoleteAttribute): Override.
	(MemberBase.VerifyObsoleteAttribute): Override.

	* decl.cs
	(MemberCore.CheckUsageOfObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.

	*delegate.cs
	(Delegate.VerifyObsoleteAttribute): Override.

	* ecore.cs
	(Expression.CheckObsoleteAttribute): Tests presence of ObsoleteAttribute
	and report proper error.
	(FieldExpr.DoResolve): Added tests for ObsoleteAttribute.

	* enum.cs
	(Enum.GetObsoleteAttribute): Returns ObsoleteAttribute for both enum type
	and enum member.

	* expression.cs
	(Probe.DoResolve, Cast.DoResolve, LocalVariableReference.DoResolve,
	New.DoResolve, SizeOf.DoResolve, TypeOf.DoResolce, MemberAccess.DoResolve):
	Added test for ObsoleteAttribute.

	* statement.cs
	(Catch): Derived from Statement.

svn path=/trunk/mcs/; revision=28511
2004-05-30 21:56:07 +00:00
Marek Safar 27e7e8ce15 2004-05-31 Marek Safar <[email protected]>
* attribute.cs
	(GetConditionalAttributeValue): New method. Returns
	condition of ConditionalAttribute.
	(SearchMulti): New method.  Returns all attributes of type 't'.
	Use it when attribute is AllowMultiple = true.

	* class.cs
	(Method.IsExcluded): Implemented. Returns true if method has conditional
	attribute and the conditions is not defined (method is excluded).
	(IMethodData): Extended interface for ConditionalAttribute support.
	(PropertyMethod.IsExcluded): Implemented.

svn path=/trunk/mcs/; revision=28510
2004-05-30 21:37:08 +00:00
Martin Baulig c69e5cf3df Oooops, forgot to add this.
svn path=/trunk/mcs/; revision=28509
2004-05-30 21:32:23 +00:00
Marek Safar 88c51c34b5 2004-05-30 Marek Safar <[email protected]>
* test-240.cs: Enable test.

svn path=/trunk/mcs/; revision=28508
2004-05-30 21:28:21 +00:00
Gonzalo Paniagua Javier a2890ef65c 2004-05-30 Gonzalo Paniagua Javier <[email protected]>
* Mono.Data.SqliteClient.dll.sources: added SqliteTransaction.cs

	* Mono.Data.SqliteClient/SqliteConnection.cs:
	* Mono.Data.SqliteClient/SqliteTransaction.cs: patch from
	[email protected] that adds transactions support.

svn path=/trunk/mcs/; revision=28507
2004-05-30 20:50:33 +00:00
Gonzalo Paniagua Javier 370c785c91 2004-05-30 Gert Driesen ([email protected])
* SetWin32ContextInIDispatchAttribute.cs: only build
	for NET_2_0 profile
	* VariantWrapper.cs: only build for NET_2_0 profile

svn path=/trunk/mcs/; revision=28506
2004-05-30 20:42:47 +00:00
Ben Maurer 03fc690667 2004-05-30 Ben Maurer <[email protected]>
* expression.cs:
	According to the spec,

	In a member access of the form E.I, if E is a single identifier,
	and if the meaning of E as a simple-name (�7.5.2) is a constant,
	field, property, localvariable, or parameter with the same type as
	the meaning of E as a type-name (�3.8), then both possible
	meanings of E are permitted.

	We did not check that E as a simple-name had the same type as E as
	a type name.

	This trivial check gives us 5-7% on bootstrap time.

svn path=/trunk/mcs/; revision=28505
2004-05-30 20:37:58 +00:00
Ben Maurer 9027e9d1b2 add this
svn path=/trunk/mcs/; revision=28504
2004-05-30 20:33:08 +00:00
Atsushi Eno e21ad29117 2004-05-30 Atsushi Enomoto <[email protected]>
* RncTests.cs : fixed test that got impossible to build anymore.

svn path=/trunk/mcs/; revision=28503
2004-05-30 20:23:52 +00:00
Atsushi Eno 5cd74c6e93 2004-05-30 Atsushi Enomoto <[email protected]>
* RncParser.jay :
	  Now RncParser.Parse() returns RelaxngPattern, not RelaxngGrammar.
	  Fixed many "confusing RelaxngPattern and RelaxngPatternList"
	  problems, and ditto for other "List" stuff.
	  To avoid complex situations, mostly removed unused annotation stuff.

svn path=/trunk/mcs/; revision=28502
2004-05-30 20:23:26 +00:00
Atsushi Eno f03957145f 2004-05-30 Atsushi Enomoto <[email protected]>
* RelaxngDatatypeProvider.cs : removed meaningless using alias.
	* RelaxngGrammar.cs : modified ArrayList to RelaxngGrammarContentList.
	  RelaxngMergedProvider.cs : Added #if PNET switch to support non-
	  xmlschema available environment.
	* RelaxngPattern.cs : added IGrammarContent and
	  RelaxngGrammarContentList.

svn path=/trunk/mcs/; revision=28501
2004-05-30 20:22:51 +00:00
Miguel de Icaza 022f2a162c Start
svn path=/trunk/mono/; revision=28500
2004-05-30 20:18:01 +00:00
Martin Baulig 8bdc8dbbb8 2004-05-30 Martin Baulig <[email protected]>
* Makefile (net_2_0_dir): New variable; also use the correct
	directory here.

svn path=/trunk/mcs/; revision=28499
2004-05-30 19:52:04 +00:00
Marek Safar 86108c6777 2004-05-30 Marek Safar <[email protected]>
Fixed bug #59071 & cs0160.cs
	* statement.cs (Try.Resolve): Check here whether order of catch
	clauses matches their dependencies.

svn path=/trunk/mcs/; revision=28498
2004-05-30 19:51:00 +00:00
Sebastien Pouliot 782aff048c 2004-05-30 Sebastien Pouliot <[email protected]>
* FileStream.cs: Added missing validations.

svn path=/trunk/mcs/; revision=28497
2004-05-30 19:34:26 +00:00
Sebastien Pouliot 3666377b63 2004-05-30 Sebastien Pouliot <[email protected]>
* FileStream.cs: Lots of new tests for exception handling (negatives,
	disposed) and test reading a byte ast the end of the stream.

svn path=/trunk/mcs/; revision=28496
2004-05-30 19:18:50 +00:00
Atsushi Eno b20f049e63 2004-05-30 Atsushi Enomoto <[email protected]>
* DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
	  for ReadXml(). Thanks to Boris.

svn path=/trunk/mcs/; revision=28495
2004-05-30 19:13:00 +00:00
Marek Safar 2f31aa3e43 2004-05-30 Marek Safar <[email protected]>
* cs1017.cs: New test.

svn path=/trunk/mcs/; revision=28494
2004-05-30 19:08:00 +00:00
Marek Safar b18d980fab 2004-05-30 Marek Safar <[email protected]>
Fixed bug #58624
	* ecore.cs (SimpleName.SimpleNameResolve): Added test for
	unsafe type.

svn path=/trunk/mcs/; revision=28493
2004-05-30 19:00:12 +00:00
Jackson Harper d857e242ab * AssemblyInfo.cs: Sign corlib for net_2_0 now too.
svn path=/trunk/mcs/; revision=28492
2004-05-30 17:58:43 +00:00
Sebastien Pouliot c716a7bd6f 2004-05-30 Sebastien Pouliot <[email protected]>
* BufferedStreamTest.cs: Added tests for Position after SetLength,
	SetLength after Close and Seek logic exception handling.
	* FileStream.cs: Added test for invalid SeekOrigin in Seek.
	* MemoryStream.cs: Added test for Seek after Close.

svn path=/trunk/mcs/; revision=28491
2004-05-30 17:58:09 +00:00
Sebastien Pouliot 50ad571d70 2004-05-30 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Fixed Seek logic (check for CanSeek and dispose).
	SetLength must also reset Position and check for dispose.
	* FileStream.cs: Added missing check for invalid SeekOrigin.

svn path=/trunk/mcs/; revision=28490
2004-05-30 17:52:35 +00:00
Jackson Harper 1fc3bcc2b8 * reflection.c: Do not hardcode assembly versions or public key
tokens anymore. All of this except the corlib section was dead
	code anyways.

svn path=/trunk/mono/; revision=28489
2004-05-30 17:19:24 +00:00
Martin Baulig 94abf32795 Small fix for NET_2_0.
svn path=/trunk/mcs/; revision=28488
2004-05-30 17:17:15 +00:00
Martin Baulig b47870a87b Small fix.
svn path=/trunk/mcs/; revision=28487
2004-05-30 17:04:33 +00:00
Martin Baulig 957bc1dbe3 Make things work again.
This should have been done during merging.

svn path=/trunk/mcs/; revision=28486
2004-05-30 16:59:41 +00:00
Martin Baulig a5d9b3f229 Fix typo (base_classs_type' -> base_class_type').
svn path=/trunk/mcs/; revision=28485
2004-05-30 16:20:02 +00:00
Martin Baulig 374bdf5cd7 Moved the marker.
svn path=/trunk/mcs/; revision=28484
2004-05-30 16:08:34 +00:00
Martin Baulig fee32a49f5 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28483
2004-05-30 16:06:13 +00:00
Ben Maurer c7f63eecba 2004-05-30 Ben Maurer <[email protected]>
* expression.cs (Invocation.OverloadResolve): Avoid the
	use of hashtables and boxing here by allocating on demand.

svn path=/trunk/mcs/; revision=28482
2004-05-30 15:48:50 +00:00
Martin Baulig 3920aa8c5c 2004-05-30 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.LookupType): Don't cache things if
	we're doing a silent lookup.  Don't try to lookup nested types in
	TypeManager.object_type (thanks to Ben Maurer).

svn path=/trunk/mcs/; revision=28481
2004-05-30 15:42:56 +00:00
Sebastien Pouliot 502882dde2 2004-05-30 Sebastien Pouliot <[email protected]>
* BinaryReader.cs: Added missing disposed check for most methods.
	Reordered some exceptions to match MS implementation.

svn path=/trunk/mcs/; revision=28480
2004-05-30 15:10:15 +00:00
Martin Baulig 6a30d9b3c6 2004-05-30 Martin Baulig <[email protected]>
Merged latest changes into gmcs.  Please keep this comment in
	here, it makes it easier for me to see what changed in MCS since
	the last time I merged.

svn path=/trunk/mcs/; revision=28477
2004-05-30 14:12:23 +00:00
Martin Baulig e1029c24e4 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=28476
2004-05-30 14:10:53 +00:00
Martin Baulig e6971e6673 2004-05-30 Martin Baulig <[email protected]>
Committing a patch from Ben Maurer.

	* rootcontext.cs (RootContext.LookupType): Cache negative results.

svn path=/trunk/mcs/; revision=28475
2004-05-30 12:58:09 +00:00
Gonzalo Paniagua Javier 2f8403bcf4 *** empty log message ***
svn path=/trunk/mcs/; revision=28474
2004-05-30 11:57:18 +00:00
Gonzalo Paniagua Javier 83c5cdea3c 2004-05-30 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: adjust milliseconds for fraction specifier ('f').

svn path=/trunk/mcs/; revision=28473
2004-05-30 11:45:33 +00:00
David Sheldon cd7a35cae1 2004-05-30 David Sheldon <[email protected]>
* StackFrameTest.cs: Mark the failures that have been failing
	for months due to bug 45730 as ignored as it doesn't look like
	it will be fixed soon.

My aim with these commits is that eventually people will run the test cases,
and see what errors they have caused, rather than tens of pages of stacktraces.

svn path=/trunk/mcs/; revision=28472
2004-05-30 08:23:00 +00:00
David Sheldon b03e7fffb8 2004-05-30 David Sheldon <[email protected]>
* DecimalTest.cs: Moved the rounding test that fails due to
    bug 37744 (bankers rounding) into its own test, and annotated it as ignored
    until the bug is fixed.

svn path=/trunk/mcs/; revision=28471
2004-05-30 08:02:01 +00:00
Miguel de Icaza 819395604c 2004-05-30 Miguel de Icaza <[email protected]>
* Console.cs: Remove *again* the version of WriteLine with four
	arguments;  That should *not* be added.

	Flag it as internal as people migrate their code.

svn path=/trunk/mcs/; revision=28469
2004-05-30 05:39:21 +00:00
Atsushi Eno 4fc67d1a14 2004-05-30 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
	  NET_2_0.

svn path=/trunk/mcs/; revision=28468
2004-05-30 04:07:19 +00:00
Sebastien Pouliot 2c47c798a5 2004-05-29 Sebastien Pouliot <[email protected]>
* BinaryReader.cs: Added new cases to check exceptions thrown by Read
	methods.

svn path=/trunk/mcs/; revision=28467
2004-05-29 22:44:01 +00:00
Zoltan Varga 4a791732ff 2004-05-29 Zoltan Varga <[email protected]>
* invoke.cs: Add an Invoke test.

svn path=/trunk/mono/; revision=28465
2004-05-29 19:22:32 +00:00
Zoltan Varga a1e21f8406 2004-05-29 Zoltan Varga <[email protected]>
* object.c (mono_runtime_invoke_array): Automatically create boxed
	objects for byref valuetypes if needed. Fixes #59300.

svn path=/trunk/mono/; revision=28464
2004-05-29 19:20:49 +00:00
Sebastien Pouliot 942bdbd5f4 2004-05-29 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed ChangeTo where null could be misinterpreted
	between null and Empty.

svn path=/trunk/mcs/; revision=28462
2004-05-29 18:47:09 +00:00
Zoltan Varga ae63609233 2004-05-29 Zoltan Varga <[email protected]>
* object.c (mono_method_return_message_restore): Handle
	MONO_TYPE_OBJECT as well.

svn path=/trunk/mono/; revision=28461
2004-05-29 18:29:35 +00:00
Zoltan Varga 5e69101fb5 2004-05-29 Zoltan Varga <[email protected]>
* exceptions.cs: New regression tests.

	* jit-icalls.c (mono_llmult_ovf): Fix some boundary conditions.

svn path=/trunk/mono/; revision=28460
2004-05-29 18:16:08 +00:00
Sebastien Pouliot 71e6af6bfb 2004-05-29 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added test to ChangeType to Empty.

svn path=/trunk/mcs/; revision=28459
2004-05-29 18:12:28 +00:00
Martin Baulig 4cb79d4939 2004-05-29 Martin Baulig <[email protected]>
* class.cs (IMethodData.ShouldIgnore): New method.

	* typemanager.cs (TypeManager.MethodFlags): Don't take a
	`Location' argument, we don't need it anywhere.  Use
	`IMethodData.ShouldIgnore ()' instead of
	`MethodData.GetMethodFlags ()'.
	(TypeManager.AddMethod): Removed.
	(TypeManager.AddMethod2): Renamed to AddMethod.

svn path=/trunk/mcs/; revision=28458
2004-05-29 18:03:07 +00:00
Martin Baulig c299d9423a 2004-05-29 Martin Baulig <[email protected]>
* test-266.cs: New test for #52578.

svn path=/trunk/mcs/; revision=28457
2004-05-29 17:41:42 +00:00
Martin Baulig 4b82041b60 2004-05-29 Martin Baulig <[email protected]>
Committing a patch from Benjamin Jemlich <[email protected]>.

	* convert.cs (Convert.ImplicitReferenceConversion): If we're
	converting from a class type S to an interface type and we already
	have an object on the stack, don't box it again.  Fixes #52578.

svn path=/trunk/mcs/; revision=28456
2004-05-29 17:40:21 +00:00
Martin Baulig fe699eac7f 2004-05-29 Martin Baulig <[email protected]>
* test-265.cs: New test for #59267.

svn path=/trunk/mcs/; revision=28455
2004-05-29 17:29:34 +00:00
Martin Baulig 1a336cbb03 2004-05-29 Martin Baulig <[email protected]>
* test-264.cs: New test for #59188.

svn path=/trunk/mcs/; revision=28454
2004-05-29 17:28:30 +00:00
Martin Baulig 6cb5277b61 2004-05-29 Martin Baulig <[email protected]>
* class.cs (ConstructorInitializer.GetOverloadedConstructor):
	Added support for `params' parameters.  Fixes #59267.

svn path=/trunk/mcs/; revision=28453
2004-05-29 17:27:57 +00:00
Sebastien Pouliot ac9098f000 2004-05-29 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed ToSByte(string,IFormatProvider) to throw
	ArgumentNullException (only case, all other returns 0). Fixed exception
	reporting for hex prefix only strings.

svn path=/trunk/mcs/; revision=28450
2004-05-29 16:56:04 +00:00
Miguel de Icaza 4b541b39b1 Update
svn path=/trunk/mono/; revision=28448
2004-05-29 16:42:23 +00:00
Miguel de Icaza bf7f10d598 update
svn path=/trunk/mcs/; revision=28447
2004-05-29 16:41:43 +00:00
Miguel de Icaza b346b5fdd2 up
svn path=/trunk/mcs/; revision=28446
2004-05-29 16:40:57 +00:00
Zoltan Varga 6dd9ea60dd 2004-05-29 Zoltan Varga <[email protected]>
* configure.in: export CC instead of passing it to libgc/configure.

svn path=/trunk/mono/; revision=28445
2004-05-29 16:32:27 +00:00
Sebastien Pouliot 3f625156e6 2004-05-29 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new parsing tests including special case for
	Convert.ToSByte.
	* Int64Test.cs: Added new test cases for overflows.

svn path=/trunk/mcs/; revision=28444
2004-05-29 16:31:32 +00:00
Gonzalo Paniagua Javier d311a8974f 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog:
	* Comparer.cs: reverted last 2 patches from Gert Driesen. Totally wrong.
	I wonder why.

svn path=/trunk/mcs/; revision=28441
2004-05-29 14:56:35 +00:00
Sebastien Pouliot a9dc7c1423 2004-05-29 Sebastien Pouliot <[email protected]>
* CspProviderFlags.cs: Reverted previous patch as UseExistingKey isn't
	part of the 1.0/1.1 framework.

svn path=/trunk/mcs/; revision=28440
2004-05-29 14:48:10 +00:00
Gonzalo Paniagua Javier 560e4580b9 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* ObjectWriter.cs: reduce contention in GetObjectData.

svn path=/trunk/mcs/; revision=28439
2004-05-29 14:23:10 +00:00
Gert Driesen ddc29a68dc * System.Messaging/Acknowledgment.cs: added/corrected values,
removed TODO
* System.Messaging/MessageQueueErrorCode.cs: fixed typo
* System.Messaging/MessageQueueAccessRights.cs: removed extra
enum field

svn path=/trunk/mcs/; revision=28438
2004-05-29 12:43:03 +00:00
Francisco Figueiredo Jr. b767d8ce93 2004-05-29 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
	It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
([email protected]) for the patch.

svn path=/trunk/mcs/; revision=28437
2004-05-29 12:39:05 +00:00
Gert Driesen 31d3a9249b * Compare.cs: ISerializable should only be implemented
for NET_1_1 profile

svn path=/trunk/mcs/; revision=28436
2004-05-29 12:18:54 +00:00
Gert Driesen 31ce1e8731 * XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
public API in MS.NET 1.1

svn path=/trunk/mcs/; revision=28435
2004-05-29 12:09:06 +00:00
Martin Baulig 0ea9548259 2004-05-29 Martin Baulig <[email protected]>
* literal.cs (NullPointer): Provide a private .ctor which sets
	`type' to TypeManager.object_type.  Fixes #59048.

svn path=/trunk/mcs/; revision=28434
2004-05-29 11:58:51 +00:00
Gert Driesen 6966c937a7 * CspProviderFlags.cs: Added missing enum field UseExistingKey
svn path=/trunk/mcs/; revision=28433
2004-05-29 11:54:24 +00:00
Martin Baulig 4ed05be113 2004-05-29 Martin Baulig <[email protected]>
* test-264.cs: New test for #59188.

2004-05-27  Marek Safar <[email protected]>

	* test-263.cs: New test.

svn path=/trunk/mcs/; revision=28432
2004-05-29 11:50:44 +00:00
Martin Baulig 468605ade8 2004-05-29 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): If we're an
	EventExpr, set `ee.InstanceExpression = left'.  Fixes #59188.

	* ecore.cs (EventExpr.instance_expr): Make the field private.

svn path=/trunk/mcs/; revision=28431
2004-05-29 11:48:06 +00:00
Gert Driesen 8e85175c9f * corlib.dll.sources: added SetWin32ContextInIDispatchAttribute
and VariantWrapper

svn path=/trunk/mcs/; revision=28430
2004-05-29 11:47:40 +00:00
Gert Driesen 52b617c26d * SetWin32ContextInIDispatchAttribute.cs: added
* VariantWrapper.cs: added

svn path=/trunk/mcs/; revision=28429
2004-05-29 11:47:08 +00:00
Gert Driesen 33a27d220a * Compare.cs: Implemented ISerializable, fixes public API
svn path=/trunk/mcs/; revision=28428
2004-05-29 11:10:08 +00:00
Paolo Molaro 14fd5a011c Sat May 29 10:45:58 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: emit castclass/isinst in their own trees (bug #54209/59057).

svn path=/trunk/mono/; revision=28427
2004-05-29 08:05:51 +00:00
Gert Driesen fbc5540411 * AssemblyBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET
* TypeBuilder.cs: removed extra method, fixes public API
compatibility with MS.NET

svn path=/trunk/mcs/; revision=28426
2004-05-29 07:50:08 +00:00
Gonzalo Paniagua Javier 5c116b3809 update version
svn path=/trunk/mcs/; revision=28423
2004-05-29 02:10:28 +00:00
Gonzalo Paniagua Javier 041074c05c update and cleanup
svn path=/trunk/mono/; revision=28422
2004-05-29 02:06:59 +00:00
Duncan Mak 2eec15c2c2 Fix
svn path=/trunk/mcs/; revision=28421
2004-05-29 01:50:37 +00:00
Duncan Mak c036498ee3 2004-05-28 Duncan Mak <[email protected]>
* SharpZipLib.pub: Added public key.

	* AssemblyInfo.cs: Use the new SharpZipLib.pub.

svn path=/trunk/mcs/; revision=28420
2004-05-29 01:43:13 +00:00
Duncan Mak 348cc03c6b 2004-05-28 Duncan Mak <[email protected]>
* Zip/Compression/DeflaterHuffman.cs (FlushBlock): Add some
	parenthesis to help the generics compiler read this source.

svn path=/trunk/mcs/; revision=28419
2004-05-29 01:21:29 +00:00
Jackson Harper bf10762927 * reflection.c: The modified type encoding was causing build
problems. Reverted for now.

svn path=/trunk/mono/; revision=28417
2004-05-29 00:33:48 +00:00
Duncan Mak 539f93dc9b Weird! How did that get in there?
svn path=/trunk/mono/; revision=28416
2004-05-29 00:30:26 +00:00
Ben Maurer 100b11f54e fixeypoo
svn path=/trunk/mcs/; revision=28415
2004-05-29 00:19:40 +00:00
Duncan Mak 9c5054496a Fixity fix
svn path=/trunk/mono/; revision=28414
2004-05-29 00:17:56 +00:00
Duncan Mak 44e346f730 Add mono-find-provides and mono-find-requires
svn path=/trunk/mono/; revision=28413
2004-05-29 00:09:34 +00:00
Gonzalo Paniagua Javier e803963be2 2004-05-29 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.

svn path=/trunk/mcs/; revision=28412
2004-05-28 23:54:19 +00:00
Duncan Mak 00afe48c72 * runtime/Makefile.am:
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

svn path=/trunk/mono/; revision=28411
2004-05-28 23:49:32 +00:00
Sebastien Pouliot 20205363c3 2004-05-28 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed the case when we parse Int64.MinValue (positive
	doesn't fit a signed long).

svn path=/trunk/mcs/; revision=28410
2004-05-28 23:48:05 +00:00
Jackson Harper c5ee2c6e20 * reflection.c/h: Take an assembly ref so that we dont create
fully qualified names when encoding types in the same assembly as
	the custom attribute being emitted.

svn path=/trunk/mono/; revision=28409
2004-05-28 23:37:42 +00:00
Duncan Mak 0462988716 * scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.

* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: New wrapper scripts.

svn path=/trunk/mono/; revision=28408
2004-05-28 23:33:19 +00:00
Duncan Mak 9df2d2b132 2004-05-26 Duncan Mak <[email protected]>
* icall.c
	(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
	Set the full version number (major, minor, build, revision).

svn path=/trunk/mono/; revision=28407
2004-05-28 23:28:44 +00:00
Jackson Harper ab9ac534ec * appdomain.c: Increment version number.
svn path=/trunk/mono/; revision=28404
2004-05-28 22:36:45 +00:00
Ben Maurer 443a7ccc56 import .6
svn path=/trunk/mcs/; revision=28391
2004-05-28 20:53:20 +00:00
Peter Dennis Bartok bbc196f353 - Fixes for ContainerControl, ScrollableControl and UserControl, fixes some
of the issues I found with the pnet Coding Developers (Dining
  Philosophers) sample app. We now at least draw on screen :-)

svn path=/trunk/mcs/; revision=28390
2004-05-28 20:31:10 +00:00
Sebastien Pouliot f712d57b1d 2004-05-28 Sebastien Pouliot <[email protected]>
* Convert.cs: Fixed integer parsing for special cases (0x, 0X for base
	16), non-base 10 negative numbers ... see new unit tests.

svn path=/trunk/mcs/; revision=28389
2004-05-28 20:20:09 +00:00
Sebastien Pouliot 2bba2cb921 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case for a prefixed hexadecimal without a number.

svn path=/trunk/mcs/; revision=28388
2004-05-28 19:51:19 +00:00
Jackson Harper 84b44740df * Environment.cs: Increment version number.
svn path=/trunk/mcs/; revision=28382
2004-05-28 19:01:22 +00:00
Jackson Harper 659bbbf9ed * CustomAttributeBuilder.cs: GetBlob now takes a ref to the
assembly so it can encode type names properly.

svn path=/trunk/mcs/; revision=28381
2004-05-28 18:59:37 +00:00
César Natarén 2f2dc9b0d1 2004-05-28 Cesar Lopez Nataren <[email protected]>
* switch.js: added clause after default

svn path=/trunk/mcs/; revision=28379
2004-05-28 18:47:04 +00:00
Sebastien Pouliot 4a36e8f8d3 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new tests for pasring MinValue and MaxValue
	of integer types in all supported bases.

svn path=/trunk/mcs/; revision=28378
2004-05-28 18:46:47 +00:00
César Natarén df9f0d3bf7 updates from grammar changes
svn path=/trunk/mcs/; revision=28377
2004-05-28 18:39:31 +00:00
César Natarén 3d8ec43e8e 2004-05-28 Cesar Lopez Nataren <[email protected]>
* Statement.cs: changed parent_is_itr_stm method to ParentIsItrStm
	property. Added initial pieces for Break's Resolve. Fixed bug that
	did not let Emit the code for case clauses that came after the
	default clause (we match the jsc behavior).

svn path=/trunk/mcs/; revision=28376
2004-05-28 18:37:29 +00:00
Zoltan Varga d9ac812f0e 2004-05-28 Vladimir Vukicevic <[email protected]>
* marshal.c (emit_struct_conv): increment src/dst after blit
	(mono_marshal_get_managed_wrapper,
	mono_marshal_get_native_wrapper): make sure we have marshalling
	info before marshalling params (info computation affects
	blittable)

	* class.c (class_compute_field_layout): correctly deal with
	blittable
	(mono_class_layout_fields): Don't do gc_aware_layout for AUTO
	value types (as per what windows dows by default)
	(mono_class_setup_mono_type): System.ValueType is blittable
	(mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are
	blittable

	* marshal.c (mono_marshal_load_type_info): flag types  as
	non-blittable if the native layout doesn't match the managed
	layout

svn path=/trunk/mono/; revision=28375
2004-05-28 18:30:22 +00:00
Gonzalo Paniagua Javier ccf4e0f3ad 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: don't add stuff in the private search path that is
	above the application base. If application base is not set, there's
	no private search path.

svn path=/trunk/mono/; revision=28374
2004-05-28 18:28:21 +00:00
César Natarén 0d0977764d set parent of switch's clauses
svn path=/trunk/mcs/; revision=28373
2004-05-28 18:25:53 +00:00
Sebastien Pouliot b7b4ddd52f 2004-05-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Update version number for beta 2.

svn path=/trunk/mcs/; revision=28370
2004-05-28 17:54:19 +00:00
Zoltan Varga be04be228d 2004-05-28 Zoltan Varga <[email protected]>
* mini-sparc.h (MONO_ARCH_NEED_DIV_CHECK): Define this.

svn path=/trunk/mono/; revision=28368
2004-05-28 17:43:38 +00:00
Zoltan Varga 095130eca6 2004-05-28 Zoltan Varga <[email protected]>
* cpu-sparc.md mini-sparc.c: Add overflow detection to div opcodes.

svn path=/trunk/mono/; revision=28366
2004-05-28 17:27:16 +00:00
Zoltan Varga d18c179d5e 2004-05-28 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: New tests for byref struct marshalling.

svn path=/trunk/mono/; revision=28365
2004-05-28 17:26:37 +00:00
Zoltan Varga 778d849ef0 2004-05-28 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Add proper support for
	byref struct arguments in native->managed marshalling.

svn path=/trunk/mono/; revision=28364
2004-05-28 17:23:50 +00:00
Miguel de Icaza 0a2fccb980 Up
svn path=/trunk/mono/; revision=28363
2004-05-28 17:14:27 +00:00
Patrik Torstensson 12561b45b4 2004-05-28 Patrik Torstensson <[email protected]>
* mini.c (mono_jit_runtime_invoke): Init class in this
	method instead of trusting mono_jit_compile_method to
	do the work (because wrappers can be in object class)

svn path=/trunk/mono/; revision=28359
2004-05-28 16:22:40 +00:00
Patrik Torstensson 4dc959ad28 2004-05-28 Patrik Torstensson <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): correctly
	cache methods using signature (special case for methods
	that are value type or string class)

	* image.c (mono_image_close): clean up allocated GSList's
	in runtime_invoke_cache.

svn path=/trunk/mono/; revision=28358
2004-05-28 16:21:23 +00:00
Gonzalo Paniagua Javier 37dc7f44c1 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c: set the correct path for mono_cfg_dir on windows when
	there's no MONO_CFG_DIR environment variable defined.

svn path=/trunk/mono/; revision=28357
2004-05-28 16:18:18 +00:00
Zoltan Varga d8e15dec91 2004-05-28 Zoltan Varga <[email protected]>
* AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
	Fixes #59189.

svn path=/trunk/mcs/; revision=28356
2004-05-28 16:14:00 +00:00
Gonzalo Paniagua Javier 11f4b5566f 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* threads.c: windows version must be >= 0x0500 to include OpenThread.

svn path=/trunk/mono/; revision=28352
2004-05-28 15:27:12 +00:00
Sebastien Pouliot 04c8585361 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added overflow testing for integer types convertion.

svn path=/trunk/mcs/; revision=28348
2004-05-28 14:21:24 +00:00
Zoltan Varga 49066dff5d 2004-05-28 Zoltan Varga <[email protected]>
* static-constructor.cs: Add new regression test for bug #59193.

svn path=/trunk/mono/; revision=28347
2004-05-28 13:27:01 +00:00
Sebastien Pouliot a52fa324e3 2004-05-28 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Removed extra 0 from ToInt16_MinValue.

svn path=/trunk/mcs/; revision=28346
2004-05-28 13:18:11 +00:00
Marek Safar 9919fd997b I forgot
// Compiler options: -unsafe

svn path=/trunk/mcs/; revision=28345
2004-05-28 12:20:06 +00:00
Marek Safar ae2d2298b8 new test
svn path=/trunk/mcs/; revision=28344
2004-05-28 12:13:03 +00:00
Lluis Sanchez f49a9b2ba0 * threadpool.c: Really wait for 500ms after the async call, even if the wait
is interrumped.
	* threads.c: In mono_thread_manage, call OpenThread to ref each handle
	  before waiting for it, and call CloseHandle after the wait to unref it.
	  This will make sure that handles are not disposed too early.

svn path=/trunk/mono/; revision=28343
2004-05-28 12:00:35 +00:00
Atsushi Eno ee9709c1c7 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
	  non-unique results.  Just reordered return values looking at MS
	  invariant behavior.

svn path=/trunk/mcs/; revision=28342
2004-05-28 11:44:02 +00:00
Atsushi Eno efd218530c 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : I reverted my fix by accident :(

svn path=/trunk/mcs/; revision=28341
2004-05-28 11:40:58 +00:00
Zoltan Varga e283a05ca5 2004-05-28 Zoltan Varga <[email protected]>
* setenv.cs: Fix this after marshalling changes.

svn path=/trunk/mono/; revision=28340
2004-05-28 11:24:28 +00:00
Atsushi Eno f9bd23cd5b 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - In ToString(), Don't use culture-dependent daynames to format
	    Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
	  - Fixed GetDateTimeFormats () that generated incorrect 'U' value
	    (since the format string is the same as 'F').

svn path=/trunk/mcs/; revision=28339
2004-05-28 11:00:50 +00:00
Ravindra ae1b49ead9 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
rectangles.
	* Graphics.cs: Implemented Dispose method and changed Draw/Fill
	rectangles implementation (This is basically done to avoid lots
	of brush and pen setup happening in libgdiplus.)

svn path=/trunk/mcs/; revision=28336
2004-05-28 08:31:46 +00:00
Joerg Rosenkranz f417fe531b 2004-05-27 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient/OracleCommandBuilder.cs:
		Fixed namespace.
	* System.Data.OracleClient.dll.sources:
		Added OracleCommandBuilder.cs.

2004-05-26	Joerg Rosenkranz <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Merged in a fix send by Rogerio Pereira Araujo
		<[email protected]>: Fixed a bug with NUMBER data type
		when no parameter is passed to OracleCommand.

svn path=/trunk/mcs/; revision=28333
2004-05-28 07:28:45 +00:00
Atsushi Eno 0cd8291185 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : don't adjust utc value in ToString(). It must output
	  the same time value, just adding 'Z' for UTC.

svn path=/trunk/mcs/; revision=28332
2004-05-28 07:21:45 +00:00
Atsushi Eno e04b91b820 2004-05-28 Atsushi Enomoto <[email protected]>
* DateTime.cs : in 'Z' case, remove the 'Z' char from input before
	  proceeding.

svn path=/trunk/mcs/; revision=28331
2004-05-28 06:34:26 +00:00
Gonzalo Paniagua Javier 71888f0ed0 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: InitAppDomainSetup is not needed now.

svn path=/trunk/mcs/; revision=28326
2004-05-28 03:24:49 +00:00
Gonzalo Paniagua Javier d2a988415f 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* appdomain.h:
	* icall.c: removed
	ves_icall_System_AppDomainSetup_InitAppDomainSetup as it's not
	needed now.

	* object.c: se the application_base only for the domain that
	runs Main. Fixes bug #59216,

svn path=/trunk/mono/; revision=28325
2004-05-28 03:22:35 +00:00
Gonzalo Paniagua Javier 0d9077e0dd 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* object.c: only the domain in which Main is run have
	SetupInformation.ConfigurationFile set, so moved a few lines from
	appdomain.c to object.c.

svn path=/trunk/mono/; revision=28324
2004-05-28 02:57:33 +00:00
Gonzalo Paniagua Javier 4ce94f3420 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: we tried to load [name].(dll|exe), but according
	to bug #57710, we must also try [culture]/[name].(dll|exe) and
	[culture]/[name]/[name](dll|exe). This patch fixes the bug.
	There's a test case attached to bug #58922.

svn path=/trunk/mono/; revision=28323
2004-05-28 02:30:23 +00:00
Sebastien Pouliot 39543dad84 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added tests for int16 limits in various bases.

svn path=/trunk/mcs/; revision=28322
2004-05-28 02:04:36 +00:00
Sebastien Pouliot b1ae573339 2004-05-27 Sebastien Pouliot <[email protected]>
* Convert.cs: Convert with a base parameter cannot parse negative
	string numbers, even "-0".

svn path=/trunk/mcs/; revision=28321
2004-05-28 01:52:38 +00:00
Sebastien Pouliot f0ad255138 2004-05-27 Sebastien Pouliot <[email protected]>
* Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
	* UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.

svn path=/trunk/mcs/; revision=28320
2004-05-28 01:37:50 +00:00
Sebastien Pouliot 984876a733 2004-05-27 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Rethrow original exception when parsing X.509
	certificates (inside a CryptographicException) so people can see if
	their changes affects certificate decoding.

svn path=/trunk/mcs/; revision=28319
2004-05-28 01:22:52 +00:00
Gonzalo Paniagua Javier 6f1dbe972c 2004-05-28 Gonzalo Paniagua Javier <[email protected]>
* DigestClient.cs: cache the sessions based on address and
	credentials, not only address. Added poor men's expiration to
	the session cache. Fixes bug #59202.

svn path=/trunk/mcs/; revision=28316
2004-05-27 23:19:35 +00:00
Sebastien Pouliot f545ed2905 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Mode complete tests for unsigned type convertion wrt
	-0, base != 10, ...

svn path=/trunk/mcs/; revision=28312
2004-05-27 20:57:15 +00:00
Zoltan Varga d80bfe411b 2004-05-27 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Fix sub.imm.

	* basic-long.cs: New regression test.

svn path=/trunk/mono/; revision=28311
2004-05-27 20:47:31 +00:00
Sebastien Pouliot 4404826946 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Another case of -0 - so many to do things, so
	many way to mess them...

svn path=/trunk/mcs/; revision=28310
2004-05-27 20:16:29 +00:00
Sebastien Pouliot 9b8e420c32 2004-05-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case where Convert.ToByte ("-0") is legal.

svn path=/trunk/mcs/; revision=28309
2004-05-27 20:04:34 +00:00
Sebastien Pouliot 3c401168cb 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedList.cs: Setting Capacity to 0 returns it to it's default
	value (16).

svn path=/trunk/mcs/; revision=28308
2004-05-27 19:46:32 +00:00
Sebastien Pouliot 847faa71a9 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedListTest.cs: Test that setting Capacity	to zero return the
	capacity to it's initial default (16).

svn path=/trunk/mcs/; revision=28307
2004-05-27 19:42:57 +00:00
Miguel de Icaza 14974ecb87 2004-05-27 Miguel de Icaza <[email protected]>
* icall.c (ves_icall_System_Text_Encoding_InternalCodePage): The
	test was broken, just make sure that codepage contains utf-8
	string.

svn path=/trunk/mono/; revision=28306
2004-05-27 19:42:01 +00:00
Marek Safar 68cd1cb0ac new test
svn path=/trunk/mcs/; revision=28305
2004-05-27 19:26:33 +00:00
Marek Safar 2460782960 2004-05-27 Marek Safar <[email protected]>
* test-263.cs: New test.

svn path=/trunk/mcs/; revision=28304
2004-05-27 19:16:56 +00:00
Sebastien Pouliot 565c846b77 2004-05-27 Sebastien Pouliot <[email protected]>
* SortedList.cs: Added missing ICloneable support to internal
	enumerator. Added Capacity to the synchronized version of SortedList.

svn path=/trunk/mcs/; revision=28303
2004-05-27 19:15:43 +00:00
Sebastien Pouliot 953e7056d6 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Test for synchronized clones.
	* SortedListTest.cs: Added cases for synchronized capacity and testing
	the interface from the internal enumerator.

svn path=/trunk/mcs/; revision=28302
2004-05-27 19:11:14 +00:00
Dick Porter 9ce3c08653 2004-05-27 Dick Porter <[email protected]>
* FileSystemInfo.cs: Take out the error checking in Refresh(), it
	broke other stuff

svn path=/trunk/mcs/; revision=28299
2004-05-27 18:44:14 +00:00
Zoltan Varga 27489d4d21 2004-05-27 Zoltan Varga <[email protected]>
* configure.in: Pass CC to libgc configure.

svn path=/trunk/mono/; revision=28298
2004-05-27 18:42:54 +00:00
Duncan Mak 8fb99b40b9 2004-05-27 Duncan Mak <[email protected]>
* mono-find-provides.cs
	* mono-find-requires.cs: Added. These are
	helper tools to help RPM packaging.

	* Makefile (Module): Add mono-rpm-helpers

svn path=/trunk/mcs/; revision=28297
2004-05-27 18:03:16 +00:00
Atsushi Eno 4277238022 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
	  strings. Thanks to kangaroo for the hint.

svn path=/trunk/mcs/; revision=28296
2004-05-27 17:54:59 +00:00
César Natarén 897de58083 ChangeLog entries
svn path=/trunk/mcs/; revision=28295
2004-05-27 17:34:06 +00:00
César Natarén be5aa2266b updates from grammar changes
svn path=/trunk/mcs/; revision=28294
2004-05-27 17:31:43 +00:00
Sebastien Pouliot e0fc892e70 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).

svn path=/trunk/mcs/; revision=28293
2004-05-27 17:30:21 +00:00
César Natarén 47c365831a allow continue ast building tree. fixed parent references at iteration_stm
svn path=/trunk/mcs/; revision=28292
2004-05-27 17:29:57 +00:00
César Natarén 476363200c added parent parameter to Continue's constructor. Added parent_is_itr_stm
svn path=/trunk/mcs/; revision=28291
2004-05-27 17:28:30 +00:00
César Natarén b2fa973341 back to Microsoft.JScript namespace
svn path=/trunk/mcs/; revision=28290
2004-05-27 17:18:04 +00:00
Dick Porter 7f436bdc58 Shut up gcc warnings
svn path=/trunk/mono/; revision=28289
2004-05-27 17:06:15 +00:00
Atsushi Eno f6a94472d1 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
	    to common formats (yes, I know it is nothing more than hack)
	  - Fixed some GetDateTimeFormats() that just returned patterns.
	  - For InvariantCulture, now try both supported formats and our
	    predefined formats.
	  - It was accepting incorrectly extraneous characters. That caused
	    some UTC/non-UTC bug.
	  - RFC1123 string should return universal time. Uncomment again (the
	    problem should went away because of the extra characters fix above.

	    With some of the changes above, fixed bug #47720.

svn path=/trunk/mcs/; revision=28288
2004-05-27 17:04:48 +00:00
Atsushi Eno 48e2ca895c 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).

svn path=/trunk/mcs/; revision=28287
2004-05-27 16:59:14 +00:00
Dick Porter d024688825 2004-05-27 Dick Porter <[email protected]>
* MonoIO.cs: Define icalls for Lock() and Unlock()

	* FileStream.cs: Implement Lock() and Unlock().  Also improve IO
	error reporting.

	* FileSystemInfo.cs:
	* File.cs:
	* Directory.cs: Improve IO error reporting

svn path=/trunk/mcs/; revision=28285
2004-05-27 16:25:27 +00:00
Dick Porter ddad604639 2004-05-27 Dick Porter <[email protected]>
* io.h:
	* io.c: Implemented LockFile() and UnlockFile()

2004-05-27  Dick Porter  <[email protected]>

	* icall.c:
	* file-io.c: Implemented icalls for locking and unlocking regions
	in a file.
	(ves_icall_System_IO_MonoIO_FindNextFile): FindNextFile() returns
	FALSE on error (fixes both compiler warning and real bug.)

svn path=/trunk/mono/; revision=28284
2004-05-27 16:24:52 +00:00
Paolo Molaro 0f4f36e3a7 Forgot in previous commit.
svn path=/trunk/mono/; revision=28283
2004-05-27 16:24:04 +00:00
Atsushi Eno 30e4b3f86b 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs : Added some string[] fields for
	  GetAllDateTimePatterns(char). The fields will be filled in metadata
	  and culture info table. Added improved patterns for
	  GetAllDateTimePatterns() (right now works only for invariant).
	* CultureInfo.cs : Use InvariantInfo for InvariantCulture.

svn path=/trunk/mcs/; revision=28282
2004-05-27 16:23:05 +00:00
Atsushi Eno ea57b163a7 2004-05-27 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

	  (Added missing ChangeLog entry for 05/26)

svn path=/trunk/mono/; revision=28281
2004-05-27 15:58:26 +00:00
Atsushi Eno c6346fd7f5 2004-05-27 Atsushi Enomoto <[email protected]>
* en_PH.xml, en_ZW.xml, fr_CA.xml, fr_CH.xml, fr_FR.xml, fr_LU.xml :
	  fixed incorrect markup.

svn path=/trunk/mono/; revision=28279
2004-05-27 15:55:59 +00:00
Jackson Harper cd99189733 * PEAPI.cs: When writing to the blob heap we always set a
size.

svn path=/trunk/mcs/; revision=28277
2004-05-27 15:46:15 +00:00
Jackson Harper 8a50eabb98 * locales.c: Fix some cut and paste errors.
svn path=/trunk/mono/; revision=28276
2004-05-27 15:21:33 +00:00
Anirban Bhattacharjee 238a334118 * delegate.cs:
* expression.cs:
                Few exception checks for delegete

svn path=/trunk/mcs/; revision=28274
2004-05-27 14:48:25 +00:00
Sebastien Pouliot 06257093b5 2004-05-27 Sebastien Pouliot <[email protected]>
* Hashtable.cs: Cloned synchronized Hashtables are now synchronized.

svn path=/trunk/mcs/; revision=28273
2004-05-27 14:46:50 +00:00
Sebastien Pouliot fd3cc90c78 2004-05-27 Sebastien Pouliot <[email protected]>
* HashtableTest.cs: Added case where a cloned hashtable must also be
	synchronized (if the original was).

svn path=/trunk/mcs/; revision=28272
2004-05-27 14:33:38 +00:00
Sebastien Pouliot 5639cebe40 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Added case to ensure that MoveNext always return
	false (after the first time).

svn path=/trunk/mcs/; revision=28271
2004-05-27 14:20:49 +00:00
Anirban Bhattacharjee a6c9098ad4 * mb-parser.jay:
* delegate.cs:
        Few more fixes in delegate grammar

svn path=/trunk/mcs/; revision=28270
2004-05-27 14:19:52 +00:00
Sebastien Pouliot 7638d64d48 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Changed -1 to Int32.MaxValue so calling MoveNext again
	(after a false) still returns false.

svn path=/trunk/mcs/; revision=28269
2004-05-27 14:14:57 +00:00
Sebastien Pouliot b5ab2d09bb 2004-05-27 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed case where we could still get Current after the last
	MoveNext.

svn path=/trunk/mcs/; revision=28268
2004-05-27 14:01:24 +00:00
Sebastien Pouliot 28d5f93fcf 2004-05-27 Sebastien Pouliot <[email protected]>
* QueueTest.cs: Added case where we try to get Current after the last
	MoveNext.

svn path=/trunk/mcs/; revision=28267
2004-05-27 13:59:34 +00:00
Nick Drochak 3dc53f3345 2004-05-27 Nick Drochak <[email protected]>
* DataRelationCollectionTest.cs: Fixed build when using csc.

svn path=/trunk/mcs/; revision=28266
2004-05-27 13:52:07 +00:00
Patrik Torstensson 73613bd9ea Sorry Sorry Sorry
svn path=/trunk/mcs/; revision=28265
2004-05-27 13:41:52 +00:00
Patrik Torstensson 4ea1031684 2004-05-27 Patrik Torstensson <[email protected]>
* ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug

svn path=/trunk/mcs/; revision=28264
2004-05-27 13:34:30 +00:00
Paolo Molaro b7b4d2ff81 Thu May 27 15:50:52 CEST 2004 Paolo Molaro <[email protected]>
* cpu-g4.md, mini-ppc.c: fixes to long add/sub ovf opcodes
	and div/rem checks.

svn path=/trunk/mono/; revision=28263
2004-05-27 13:11:09 +00:00
Gert Driesen b4fd1bcc1a * monowiz.win32.nsi: normalized line-endings to unix (LF)
svn path=/trunk/mono/; revision=28262
2004-05-27 13:04:43 +00:00
Sebastien Pouliot ea3e5137cf 2004-05-27 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Added missing exception handling in
	TransformBlock and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28259
2004-05-27 12:40:08 +00:00
Sebastien Pouliot ead10bbbe3 2004-05-27 Sebastien Pouliot <[email protected]>
* ARC4Managed.cs: Added missing exception handling in TransformBlock
	and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28258
2004-05-27 12:29:28 +00:00
Sebastien Pouliot 467dd77d3e 2004-05-27 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: Added unit tests for exceptions coming from
	ICryptoTransform interface (TransformBlock, TransformFinalBlock).

svn path=/trunk/mcs/; revision=28256
2004-05-27 12:27:16 +00:00
Patrik Torstensson b4aa05b699 2004-05-27 Patrik Torstensson <[email protected]>
* HttpApplicationFactory.cs: Added SignalError (still todo)

svn path=/trunk/mcs/; revision=28255
2004-05-27 12:25:30 +00:00
Patrik Torstensson a596fe4999 2004-05-27 Patrik Torstensson <[email protected]>
* CacheEntry.cs,CacheExpires.cs,ExpiresBucket.cs,
	  Cache.cs : Fixed deadlock issues, fixed
	  items not correctly being flushed, fixed update
	  of item when expiration has been updated more
	  than 1 min (placed in wrong bucket),
	  fixed deadlock during cache callback when item
	  is removed due to expiriation.

	  Rewrite of locking handling in Cache class, leading
	  to better performance and less bugs.

	  This rewrite is due to a number of bugs found
	  in the output caching during load (leading to memory
	  leaks and deadlocks)

svn path=/trunk/mcs/; revision=28254
2004-05-27 12:15:13 +00:00
Sebastien Pouliot 78cde01104 2004-05-27 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed possible integer overflow.

svn path=/trunk/mcs/; revision=28253
2004-05-27 11:57:33 +00:00
Sebastien Pouliot 7e0b188fe3 2004-05-27 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Added missing exception handling to ComputeHash,
	TransformBlock and TransformFinalBlock.

svn path=/trunk/mcs/; revision=28252
2004-05-27 11:47:56 +00:00
Sebastien Pouliot ef48a9ec22 2004-05-27 Sebastien Pouliot <[email protected]>
* HashAlgorithmTest.cs: Added new tests to check for more exceptions.

svn path=/trunk/mcs/; revision=28250
2004-05-27 11:21:20 +00:00
Boris Kirzner d354bd2ab6 DataRow.cs :
- CheckReadOnlyStatus : use typed (and faster comparing).
- EndEdit : bug fix - do not dispose record if it holds original version.
- SetValuesFromDataRecord : Take care about autoincrement columns.

svn path=/trunk/mcs/; revision=28249
2004-05-27 11:14:32 +00:00
Raja R Harinath 2a676e1fa8 reindent with monostyle
svn path=/trunk/mcs/; revision=28248
2004-05-27 10:55:59 +00:00
Anirban Bhattacharjee 90acb9e77f * mb-parser.jay: Changed Delegate instantiation grammar to get it working
svn path=/trunk/mcs/; revision=28247
2004-05-27 10:48:04 +00:00
Raja R Harinath f219cf5a68 revert one unintentional change.
svn path=/trunk/mcs/; revision=28246
2004-05-27 10:46:03 +00:00
Raja R Harinath f50193fb6e Fix formatting using 'c-indent-line-or-region' in csharp-mode.
Only whitespace changes.

svn path=/trunk/mcs/; revision=28245
2004-05-27 10:42:44 +00:00
Boris Kirzner d424220532 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
svn path=/trunk/mcs/; revision=28244
2004-05-27 10:36:17 +00:00
Paolo Molaro a5c830fc40 Thu May 27 12:36:53 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: fix miguel's change to build mono statically against
	libmono (track build dependencies).

svn path=/trunk/mono/; revision=28243
2004-05-27 09:52:02 +00:00
Atsushi Eno a22089fbd5 2004-05-27 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28242
2004-05-27 09:47:17 +00:00
Atsushi Eno 75d61ade9d 2004-05-27 Atsushi Enomoto <[email protected]>
* OleDbDataReader.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28241
2004-05-27 09:46:48 +00:00
Atsushi Eno 7f63eeafcd 2004-05-27 Atsushi Enomoto <[email protected]>
* MergeManager.cs : don't output debug message to Console.

svn path=/trunk/mcs/; revision=28240
2004-05-27 09:46:27 +00:00
Atsushi Eno 261e928b07 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : added test for bug #59142.
	* XmlTextWriterTests.cs : added test for bug #59154.
	* XmlDocumentTests.cs : added test for bug #59155.

svn path=/trunk/mcs/; revision=28238
2004-05-27 09:29:47 +00:00
Atsushi Eno 2ead87db32 2004-05-22 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Add XPathNavigator input support for ToBoolean()
	  and ToNavigator().
	* Expression.cs : In Equality comparison, evaluate XPathNavigator in
	  the same as well as NodeSet. This fixes bug #59134.

svn path=/trunk/mcs/; revision=28237
2004-05-27 09:10:08 +00:00
Atsushi Eno bb195f33c3 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Namespace are not imported to the table
	  structure. Thanks to Boris Kirzner for the fix.

svn path=/trunk/mcs/; revision=28235
2004-05-27 08:32:40 +00:00
Atsushi Eno 00781b75f7 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Save() should indent only when PreserveWhitespace
	  is false. Fixed bug #59155.
	  Modified comment lines a bit.

svn path=/trunk/mcs/; revision=28234
2004-05-27 08:22:09 +00:00
Atsushi Eno 87846a29cd 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
	  (if it is Start). Fixed bug #59154.

svn path=/trunk/mcs/; revision=28233
2004-05-27 07:50:31 +00:00
Umadevi S 59c6edbda5 2004-05-27 Umadevi S <[email protected]>
* added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28232
2004-05-27 07:22:22 +00:00
Ravindra 78693a6be5 Temporarily ignoring a failing test case.
svn path=/trunk/mcs/; revision=28231
2004-05-27 07:20:18 +00:00
Umadevi S c5faa10091 2004-05-27 Umadevi S <[email protected]>
* Added Classes DataColumnMappingCollectionTest and DataTableMappingCollectionTest

svn path=/trunk/mcs/; revision=28230
2004-05-27 07:20:07 +00:00
Atsushi Eno 297c5f5069 2004-05-27 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : simplified ReadCharsInternal(); use ReadEndTag()
	  and don't bork against <foo></foo>. Also mofidied this method to skip
	  <foo/>. Fixed bug #59142.
	  Modified some comments on the code (FIXME->LAMESPEC et al).

svn path=/trunk/mcs/; revision=28229
2004-05-27 07:13:28 +00:00
Marek Safar b0ee1263f2 I forgot commit changelog
svn path=/trunk/mcs/; revision=28228
2004-05-27 06:55:36 +00:00
Umadevi S f561b92c2f 2004-05-27 Umadevi S <[email protected]>
* Corrected small typos in DataTableCollectionTest & DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28227
2004-05-27 06:30:14 +00:00
Ravindra ef9e08f735 Ignored the tests that are failing because of bug #58435.
svn path=/trunk/mcs/; revision=28226
2004-05-27 06:28:06 +00:00
Umadevi S 3453a2f9a4 2004-05-27 Umadevi S <[email protected]>
* DataRelationCollection.cs - fixed nunit test errors

svn path=/trunk/mcs/; revision=28225
2004-05-27 06:27:11 +00:00
Umadevi S ce8fd78890 2004-05-27 Umadevi S <[email protected]>
* DataTableCollection.cs - fixed nunit test errors

svn path=/trunk/mcs/; revision=28223
2004-05-27 05:31:53 +00:00
Gonzalo Paniagua Javier 31172b2d1e 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: delay seeking to the end when FileMode.Append is
	specified until after buffer initialization. Fixes bug #59151.

svn path=/trunk/mcs/; revision=28222
2004-05-27 04:37:28 +00:00
Gert Driesen 2fbc744790 * monowiz.win32.nsi: do not include mono subdirectory in
MonoConfigDir registry key, to match batch files

svn path=/trunk/mono/; revision=28221
2004-05-27 04:25:07 +00:00
Ravindra cb641ea4f1 Changed test for Color.Green.G to make it pass on MS.
svn path=/trunk/mcs/; revision=28220
2004-05-27 04:00:24 +00:00
Ravindra 5d6b742de6 Conforming Color.Green to MS.
svn path=/trunk/mcs/; revision=28219
2004-05-27 04:00:07 +00:00
Gonzalo Paniagua Javier fef90f0a49 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* category.cs: added LastValue field to mark the end of enum Category.
	* syntax.cs: in CharacterClass, use Category.LastValue to get the size
	of the array needed. Use a BitArray instead of bool[].
	In AddCategory(), don't set the opposite category as false. Fixes
	bug #59150. All tests pass.

svn path=/trunk/mcs/; revision=28218
2004-05-27 03:40:44 +00:00
Miguel de Icaza d31dd7f6e4 2004-05-27 Miguel de Icaza <[email protected]>
* loader.c: Only init Wine on non-Windows platforms.

svn path=/trunk/mono/; revision=28217
2004-05-27 03:17:28 +00:00
Gonzalo Paniagua Javier 6e6ffcb1a2 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added tests from bug #59150.

svn path=/trunk/mcs/; revision=28216
2004-05-27 02:36:25 +00:00
Atsushi Eno d813b13d95 2004-05-27 Atsushi Enomoto <[email protected]>
* DateTime.cs : quick revert 'Z' support for certificate verifications.

svn path=/trunk/mcs/; revision=28215
2004-05-27 02:29:42 +00:00
Sebastien Pouliot 2318a431a0 2004-05-26 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Fixed possible integer overflow.
	* FromBase64Transform.cs: Better exception handling and fixed possible
	integer overflow.
	* ToBase64Transform.cs: Better exception handling and fixed possible
	integer overflow.

svn path=/trunk/mcs/; revision=28213
2004-05-27 01:05:57 +00:00
Sebastien Pouliot d1c40d086b 2004-05-26 Sebastien Pouliot <[email protected]>
* ToBase64TransformTest.cs: Added new unit tests for negatives and
	overflows.

svn path=/trunk/mcs/; revision=28212
2004-05-27 00:46:14 +00:00
Sebastien Pouliot 3d66415c6e 2004-05-26 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added new unit tests for overflows.

svn path=/trunk/mcs/; revision=28211
2004-05-27 00:28:58 +00:00
Sebastien Pouliot b45673de55 2004-05-26 Sebastien Pouliot <[email protected]>
* FromBase64Transform.cs: Added new unit tests for undocumented
	exceptions (null, overflows...).

svn path=/trunk/mcs/; revision=28210
2004-05-27 00:09:42 +00:00
Gonzalo Paniagua Javier bfd5dd8e7d 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c: set the correct path for config. directory on windows.

svn path=/trunk/mono/; revision=28209
2004-05-26 23:01:57 +00:00
Gonzalo Paniagua Javier d356ac7a4d 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: when -il, don't stop if one assembly fails to install.

svn path=/trunk/mcs/; revision=28208
2004-05-26 22:48:17 +00:00
Neale Ferguson a4c3047380 Further exception handling refinement for JIT
svn path=/trunk/mono/; revision=28207
2004-05-26 22:30:14 +00:00
Duncan Mak feaf80aae9 Fix typo.
svn path=/trunk/mcs/; revision=28206
2004-05-26 20:59:28 +00:00
Zoltan Varga f045df4406 2004-05-26 Zoltan Varga <[email protected]>
* cfold.c: Some glib versions do not have G_MININT32.

svn path=/trunk/mono/; revision=28205
2004-05-26 20:38:35 +00:00
Sebastien Pouliot c6e84ac1a3 2004-05-26 Sebastien Pouliot <[email protected]>
* Queue.cs: Fixed possible integer overflow in CopyTo methods.
	* Stack.cs: Fixed possible integer overflow in CopyTo methods.

svn path=/trunk/mcs/; revision=28204
2004-05-26 20:18:35 +00:00
Miguel de Icaza 38f87f7c37 2004-05-26 Miguel de Icaza <[email protected]>
* Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
	return value is owned by Cairo.

svn path=/trunk/mcs/; revision=28203
2004-05-26 20:14:09 +00:00
Miguel de Icaza 3b0b8f7c97 Remove old stale directory
svn path=/trunk/mcs/; revision=28202
2004-05-26 20:10:20 +00:00
Sebastien Pouliot 94053e134a 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayList.cs: Fixed possible integer overflows.

svn path=/trunk/mcs/; revision=28201
2004-05-26 20:08:27 +00:00
Miguel de Icaza 4efac0362d 2004-05-26 Miguel de Icaza <[email protected]>
* Syscall.cs: Do not let the runtime handle strings, as we do not
	own those strings, we must transform the char * into a string
	ourselves.

svn path=/trunk/mcs/; revision=28200
2004-05-26 20:07:57 +00:00
Sebastien Pouliot b50dbda591 2004-05-26 Sebastien Pouliot <[email protected]>
* Array.cs: Removed duplicate condition if LastIndexOf.

svn path=/trunk/mcs/; revision=28199
2004-05-26 20:06:56 +00:00
Zoltan Varga 78be95d070 2004-05-26 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Free strings returned
	from pinvoke functions.

svn path=/trunk/mono/; revision=28198
2004-05-26 20:04:09 +00:00
Sebastien Pouliot 1d4370ad9a 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayListTest.cs: Added tests for integer overflows.

svn path=/trunk/mcs/; revision=28197
2004-05-26 20:03:34 +00:00
Miguel de Icaza b7f472596b *** empty log message ***
svn path=/trunk/mono/; revision=28196
2004-05-26 20:03:31 +00:00
Massimiliano Mantione 1c04f49c67 Fixed problem with precision of tan, atan, sin and cos, and implemented
related regressions tests (fixes bug 54467, but one new problem appeared
and is not fixed yet).

svn path=/trunk/mono/; revision=28195
2004-05-26 19:49:55 +00:00
Miguel de Icaza f6c7d28d4f Link libmono statically, its easier to debug, per irc discussion today
svn path=/trunk/mono/; revision=28193
2004-05-26 19:45:59 +00:00
Gonzalo Paniagua Javier 60e721afba long time...
svn path=/trunk/mono/; revision=28192
2004-05-26 19:45:42 +00:00
Zoltan Varga eacf760fd2 2004-05-26 Zoltan Varga <[email protected]>
* cfold.c (FOLD_BINOPZ): Avoid division by zero.

svn path=/trunk/mono/; revision=28190
2004-05-26 19:35:12 +00:00
Zoltan Varga 2a999ebccc 2004-05-26 Zoltan Varga <[email protected]>
* exceptions.cs: Add test for constant folding && division by zero.

svn path=/trunk/mono/; revision=28189
2004-05-26 19:32:28 +00:00
Gonzalo Paniagua Javier 6d36d994dc 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
	values. Now they are URlEncoded.

	* data/browscap.ini.gz: updated.

svn path=/trunk/mono/; revision=28188
2004-05-26 19:25:28 +00:00
Gonzalo Paniagua Javier 3ccd2c085f 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* BrowserCapsUpdater.cs: update URL for browscap.ini.

svn path=/trunk/mcs/; revision=28187
2004-05-26 19:25:21 +00:00
Gonzalo Paniagua Javier d54ba0dbe0 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
	chunked encoding disabled. Fixed chunked suffix and end. Send the
	'lastchunk' marked when in the final Flush even if the content length
	is 0. This makes mod-mono-server work fine with chunked encoding.

	* HttpRuntime.cs: Set the _firstRequest* variables to true
	earlier. TraceContext don't take any parameter now.

	* TraceManager.cs: don't need a context. Use GetAppConfig.

svn path=/trunk/mcs/; revision=28186
2004-05-26 19:25:17 +00:00
Sebastien Pouliot 5d8ff40aa8 2004-05-26 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added integer overflow tests for LastIndexOf.

svn path=/trunk/mcs/; revision=28185
2004-05-26 19:21:45 +00:00
Zoltan Varga c122e0e595 2004-05-26 Zoltan Varga <[email protected]>
* driver.c mini.h mini.c mini-x86.c: Revert most of the previous patch
	since driver.c is in libmono too, so the optimization was useless.

svn path=/trunk/mono/; revision=28184
2004-05-26 19:01:38 +00:00
Atsushi Eno d7a5613ab0 2004-05-26 Atsushi Enomoto <[email protected]>
* DateTimeFormatInfo.cs :
	  hack implementation for GetAllDateTimePatterns().

svn path=/trunk/mcs/; revision=28182
2004-05-26 18:45:56 +00:00
Atsushi Eno cf946a498f 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : more incorrect \ fix.

svn path=/trunk/mcs/; revision=28181
2004-05-26 18:36:54 +00:00
Atsushi Eno 32c0427f83 2004-05-26 Atsushi Enomoto <[email protected]>
* icall.c : Fixed ves_icall_System_DateTime_GetNow() to return utc
	  on win32.

svn path=/trunk/mono/; revision=28180
2004-05-26 18:29:07 +00:00
Lluis Sanchez 0ed89f563f * HttpServerChannel.cs: Default port is 0.
svn path=/trunk/mcs/; revision=28179
2004-05-26 18:25:52 +00:00
Lluis Sanchez 99bb845efd * SoapMessageFormatter.cs: Include soap headers as properties when creating
the IMessage, and add IMessage properties as headers when creating the
	  SoapMessage. LogicalCallContext info will be passed as a header value.

svn path=/trunk/mcs/; revision=28178
2004-05-26 18:24:43 +00:00
Atsushi Eno b725942d10 2004-05-26 Atsushi Enomoto <[email protected]>
* DateTime.cs :
	  - Added "yyyy-MM-dd HH:mm:ss" to "compatible patterns".
	    (Fixed bug #58938.)
	  - As a quick remedy to accept more patterns, Parse() now also tries
	    InvariantInfo patterns (this is because we have no more than one
	    pattern for each pattern component.)
	  - In _DoParse(), 'Z' should not be read as timezone specifier. Some
	    culture uses 'Z' as AM/PM designer, and it should be recognized as
	    part of the UTCpattern (if it actually UTC pattern for the culture
	    contains 'Z').

svn path=/trunk/mcs/; revision=28177
2004-05-26 18:18:39 +00:00
Sebastien Pouliot 9cd88d39f6 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Fixed possible integer overflow.
	* FileStream.cs: Fixed possible integer overflow.
	* MemoryStream.cs: Fixed possible integer overflow.
	* StringReader.cs: Fixed possible integer overflow.

svn path=/trunk/mcs/; revision=28176
2004-05-26 17:40:51 +00:00
Sebastien Pouliot 0683f54f83 2004-05-26 Sebastien Pouliot <[email protected]>
* FileStreamTest.cs: Added new tests for integer overflow checks.
	* StringReaderTest.cs: Added new tests for integer overflow checks.

svn path=/trunk/mcs/; revision=28175
2004-05-26 17:38:02 +00:00
Gert Driesen 86a107d225 * MonoCustomAttrs.cs: Fixed issue with AllowMultiple, as MS
seems to allow multiple attributes with AllowMultiple at
runtime.

svn path=/trunk/mcs/; revision=28174
2004-05-26 17:28:57 +00:00
Sebastien Pouliot 1ca4636760 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStream.cs: Added globalization and fixed exceptions and
	possible integer overflow.
	* TextWriter.cs: Fixed possible integer	overflow.

svn path=/trunk/mcs/; revision=28172
2004-05-26 17:04:43 +00:00
Sebastien Pouliot 825b2dfec3 2004-05-26 Sebastien Pouliot <[email protected]>
* BufferedStreamTest.cs: Added new unit tests for exceptions.

svn path=/trunk/mcs/; revision=28171
2004-05-26 16:42:38 +00:00
Sebastien Pouliot 83e514bc50 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Fixed CrypptReleaseContext (missing parameter).

svn path=/trunk/mono/; revision=28169
2004-05-26 16:12:59 +00:00
Gonzalo Paniagua Javier 5a00aadf38 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* library.make: reference nunti.core.dll and nunit.util.dll when
	building tests.

svn path=/trunk/mcs/; revision=28167
2004-05-26 15:39:32 +00:00
Sebastien Pouliot efd29ca224 *** empty log message ***
svn path=/trunk/mcs/; revision=28165
2004-05-26 15:04:22 +00:00
Sebastien Pouliot b48bc7611d 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Used wrong define in call :(

svn path=/trunk/mono/; revision=28164
2004-05-26 14:59:44 +00:00
Sebastien Pouliot a06631a3e2 2004-05-26 Sebastien Pouliot <[email protected]>
* rand.c: Define PROV_INTEL_SEC and CRYPT_VERIFY_CONTEXT if not
	defined in cygwin version of wincrypt.h.

svn path=/trunk/mono/; revision=28162
2004-05-26 14:33:21 +00:00
Sebastien Pouliot 961f3692e4 2004-05-26 Sebastien Pouliot <[email protected]>
* Byte.cs: Throw an OverflowException for negative numbers.
	* Convert.cs: Accept 0x and 0X as prefix when parsing base16 strings.

svn path=/trunk/mcs/; revision=28160
2004-05-26 14:05:46 +00:00
Sebastien Pouliot b20d1bac54 2004-05-26 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added case where 0X00 is valid when parsed in base16

svn path=/trunk/mcs/; revision=28159
2004-05-26 13:56:12 +00:00
Zoltan Varga a7a8581a85 2004-05-26 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: Add tests for fnptr->delegate marshalling.

svn path=/trunk/mono/; revision=28158
2004-05-26 13:41:24 +00:00
Lluis Sanchez 9bf6263942 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
In encoded format, primitive types can be null. Read them using
	  ReadReferencingElement, that already checks for the null tag.

svn path=/trunk/mcs/; revision=28157
2004-05-26 13:41:23 +00:00
Zoltan Varga 30ffec36d6 2004-05-26 Zoltan Varga <[email protected]>
* marshal.c (mono_ftnptr_to_delegate): Implement this.

svn path=/trunk/mono/; revision=28156
2004-05-26 13:37:30 +00:00
Sebastien Pouliot af43a7a510 2004-05-26 Sebastien Pouliot <[email protected]>
* StringBuilder.cs: Fixed potential integer overflows in several
	methods.

svn path=/trunk/mcs/; revision=28155
2004-05-26 13:37:21 +00:00
Sebastien Pouliot d1f4ff909a 2004-05-26 Sebastien Pouliot <[email protected]>
* StringBuilderTest.cs: Added unit tests to be sure integer overflows
	are catched.

svn path=/trunk/mcs/; revision=28154
2004-05-26 13:24:16 +00:00
Zoltan Varga bdc4bc43d0 2004-05-26 Zoltan Varga <[email protected]>
* Makefile.am (DISABLED_TESTS): appdomain-unload.exe seems to run too.

svn path=/trunk/mono/; revision=28153
2004-05-26 13:23:42 +00:00
Zoltan Varga 6f2d24e6bb 2004-05-26 Zoltan Varga <[email protected]>
* driver.c mini.h mini.c mini-x86.c: Moved the mono_lmf_addr TLS
	variable to driver.c so the compiler can emit more efficient code to
	access them.

svn path=/trunk/mono/; revision=28152
2004-05-26 13:22:42 +00:00
Marek Safar ca91493e38 fix the build
svn path=/trunk/mcs/; revision=28151
2004-05-26 12:44:15 +00:00
Atsushi Eno 103dedd502 2004-05-26 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28150
2004-05-26 12:08:35 +00:00
Atsushi Eno 2bbfe589c8 2004-05-26 Atsushi Enomoto <[email protected]>
* Driver.cs : for af_ZA locale, am/pm part got required to support
	  "empty" string. So check am/pm elements and overwrite AMDesigner/
	  PMDesigner value even if they consist of empty string.

	* (moved logs for supp/ content to supp/)

svn path=/trunk/mono/; revision=28149
2004-05-26 11:53:06 +00:00
Zoltan Varga b12832127c 2004-05-26 Zoltan Varga <[email protected]>
* profiler.c (simple_allocation): Skip icall wrapper methods. Fixes
	#59086.

svn path=/trunk/mono/; revision=28148
2004-05-26 11:52:38 +00:00
Atsushi Eno c24e59e5cd 2004-05-26 Atsushi Enomoto <[email protected]>
* Added ChangeLog also here (and moved the last msg from ..).

	* af_ZA.xml, ar_SA.xml, be_BY.xml, de_AT.xml, en_AU.xml, en_GB.xml,
	  en_NZ.xml, es_AR.xml, es_BO.xml, es_CL.xml, es_CO.xml, es_CR.xml,
	  es_DO.xml, es_EC.xml, es_ES.xml, es_GT.xml, es_HN.xml, es_MX.xml,
	  es_PA.xml, es_PE.xml, es_PR.xml, es_PY.xml, es_SV.xml, es_UY.xml,
	  es_VE.xml, eu_ES.xml,
	  fo_FO.xml, fr_BE.xml, fr_CA.xml, fr_FR.xml, fr_CH.xml, fr_FR.xml,
	  fr_LU.xml, hi_IN.xml, id_ID.xml, it_CH.xml, it_IT.xml, ko_KR.xml,
	  nl_BE.xml, nl_NL.xml, pt_BR.xml, pt_PT.xml, sv_FI.xml, sv_SE.xml,
	  sw_KE.xml, bg.xml, ca.xml, cs.xml, da.xml, de.xml, el.xml, es.xml,
	  et.xml, fa.xml, fi.xml, he.xml, hr.xml, hu.xml, hy.xml, is.xml,
	  lt.xml, lv.xml, mk.xml, ro.xml, ru.xml, sk.xml, sl.xml, sq.xml,
	  tr.xml, uk.xml, vi.xml :
	  Added shortdate/longtime/am/pm etc. for DateTime.ToString().
	* ar_AE.xml, ar_BH.xml, ar_DZ.xml, ar_EG.xml, ar_JO.xml, ar_KW.xml,
	  ar_LB.xml, ar_LY.xml, ar_MA.xml, ar_OM.xml, ar_QA.xml, ar_SY.xml,
	  ar_TN.xml, ar_YE.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_ZA.xml,
	  en_ZW.xml :
	  Added shortdate/longtime.
	* th.xml : ditto.
	* ja.xml : I incorrectly modified long time format. Reverting.

svn path=/trunk/mono/; revision=28147
2004-05-26 11:49:35 +00:00
Umadevi S 1816c5b871 2004-05-26 Umadevi S <[email protected].
* Added files DataTableCollectionTest and DataRelationCollectionTest to the system.data_test.dll.sources

svn path=/trunk/mcs/; revision=28146
2004-05-26 11:35:36 +00:00
Sebastien Pouliot 59a8b939c4 2004-05-26 Sebastien Pouliot <[email protected]>
Environment.cs: Bumped mono_corlib_version to 20 (rng interface).

svn path=/trunk/mcs/; revision=28145
2004-05-26 11:27:56 +00:00
Umadevi S 0b1871044d 2004-05-26 Umadevi S <[email protected].
* Added files DataTableCollectionTest and DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28144
2004-05-26 11:26:34 +00:00
Sebastien Pouliot 2b2c201528 2004-05-26 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProvider.cs: Changed RNG interface with the runtime
	so it could be used in a thread-safe way with CryptoAPI.

svn path=/trunk/mcs/; revision=28143
2004-05-26 11:26:23 +00:00
Umadevi S cae794742c 2004-05-26 Umadevi S <[email protected]>.
* Added files DataTableCollectionTest and DataRelationCollectionTest

svn path=/trunk/mcs/; revision=28142
2004-05-26 11:26:07 +00:00
Lluis Sanchez 78e0f4ad97 * SoapFormatter.cs: Added headers parameter to SoapWriter call.
* SoapReader.cs: Added support for deserialization of headers. Cache
	  both member indexes and member infos in the new TypeMetadata structure.
	* SoapWriter.cs: Added support for serialization of headers.

svn path=/trunk/mcs/; revision=28141
2004-05-26 11:26:05 +00:00
Sebastien Pouliot eb35a5ff05 2004-05-26 Sebastien Pouliot <[email protected]>
* appdomain.cs: Bumped MONO_CORLIB_VERSION to 20.
	* icall.c: Modified icalls for RNG.
	* rand.c|h: Changed RNG interface to allow thread-safe usage under
	Windows (CryptoAPI).

svn path=/trunk/mono/; revision=28140
2004-05-26 11:25:26 +00:00
Marek Safar 3f360142ae 2004-05-26 Marek Safar <[email protected]>
* test-74.cs: Now test passes on my machine too.
	It is not perfect though.

svn path=/trunk/mcs/; revision=28139
2004-05-26 11:07:30 +00:00
Raja R Harinath 57576aabc2 (clean-local): Add $(CLEAN_FILES) too.
svn path=/trunk/mcs/; revision=28137
2004-05-26 09:36:25 +00:00
Marek Safar 0ed51a2049 2004-05-26 Marek Safar <[email protected]>
Fixed bug #50080 & cs0214-2.cs
	* expression.cs (Cast.DoResolve): Check unsafe context here.

	* statement.cs (Resolve.DoResolve): Likewise.

svn path=/trunk/mcs/; revision=28136
2004-05-26 09:29:13 +00:00
Jordi Mas i Hernandez 45329d4007 gif image sample
svn path=/trunk/mcs/; revision=28135
2004-05-26 09:28:55 +00:00
Raja R Harinath 0a91e7c527 Rebuild
svn path=/trunk/mcs/; revision=28134
2004-05-26 09:27:23 +00:00
Raja R Harinath 4a6967728b * nunit20/util/Makefile (EXTRA_DISTFILES): Remove
Transform.resources.
($(the_lib)): Make Transform.resources using internal resgen.
* nunit20/util/Transform.resources: Rebuild.

svn path=/trunk/mcs/; revision=28133
2004-05-26 09:22:25 +00:00
Sanja Gupta cd77a06594 ChangeLog: Updated ChangeLog.
TestImageFormatConverter.cs: Removed duplicate assertion numbers.

svn path=/trunk/mcs/; revision=28132
2004-05-26 08:41:51 +00:00
Sanja Gupta 99f35ca769 ChangeLog: Update ChangeLog.
ImageFormatConverter.cs: Fixed issues discovered from nunit test cases.

svn path=/trunk/mcs/; revision=28131
2004-05-26 08:36:32 +00:00
Raja R Harinath 8ff8dec32b Remove a couple of noise words.
svn path=/trunk/mono/; revision=28129
2004-05-26 08:21:34 +00:00
Ravindra 354be45444 Added test for Color.cs.
svn path=/trunk/mcs/; revision=28128
2004-05-26 08:11:49 +00:00
Ravindra 2a753f23f5 Added a note.
svn path=/trunk/mcs/; revision=28127
2004-05-26 08:08:22 +00:00
Ravindra c2aa7b1c9f Minor fix in Color.Green property.
svn path=/trunk/mcs/; revision=28126
2004-05-26 08:06:07 +00:00
Ravindra 11379f4141 Test for Color.cs.
svn path=/trunk/mcs/; revision=28125
2004-05-26 08:03:52 +00:00
Anirban Bhattacharjee 7fb97ff443 Few property related checks applied
svn path=/trunk/mcs/; revision=28124
2004-05-26 07:59:30 +00:00
Raja R Harinath 28d631d201 * Makefile.am (mcs-do-basic-build): No need to set MCS here.
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Update to
reflect new names for nunit.util and nunit.framework.  Add
nunit.core.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Likewise.

svn path=/trunk/mono/; revision=28123
2004-05-26 07:41:03 +00:00
Martin Baulig b2fb916aed 2004-05-26 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.Lookup): Added `bool silent'.

	* rootcontext.cs (RootContext.NamespaceLookup): Added `bool silent'.
	(RootContext.LookupType): Pass down the `silent' flag.

svn path=/trunk/mcs/; revision=28122
2004-05-26 06:03:37 +00:00
Martin Baulig 3ea141228f Put my changes back.
svn path=/trunk/mcs/; revision=28121
2004-05-26 06:01:33 +00:00
Atsushi Eno 7e8678f8c6 2004-05-26 Atsushi Enomoto <[email protected]>
* FileInfo.cs,
	  DirectoryInfo.cs : ToString() should return constructor arg as is.
	  This fixes bug #58804.

svn path=/trunk/mcs/; revision=28120
2004-05-26 03:54:51 +00:00
Atsushi Eno 2f91adfd77 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : incorrect \ fix. added more cases.

svn path=/trunk/mcs/; revision=28119
2004-05-26 03:45:34 +00:00
Atsushi Eno ac00a4d3f3 2003-05-26 Atsushi Enomoto <[email protected]>
* FileInfoTest.cs : added tests for ToString().

svn path=/trunk/mcs/; revision=28118
2004-05-26 03:33:21 +00:00
Gonzalo Paniagua Javier d1177f0843 fixed 59051
svn path=/trunk/mcs/; revision=28117
2004-05-26 02:51:47 +00:00
Jackson Harper e6b19e2a4a * ILParser.jay: Fix casting for data type constants.
svn path=/trunk/mcs/; revision=28116
2004-05-26 01:37:52 +00:00
Sebastien Pouliot 7672953ef6 2004-05-25 Sebastien Pouliot <[email protected]>
* Makefile: changed case on nunit.framework.dll (lowercase)

svn path=/trunk/mcs/; revision=28115
2004-05-26 01:16:57 +00:00
Sebastien Pouliot 25d6b85e07 2004-05-25 Sebastien Pouliot <[email protected]>
* library.make: changed case on nunit.framework.dll (lowercase)

svn path=/trunk/mcs/; revision=28114
2004-05-26 01:15:07 +00:00
Sebastien Pouliot 7d77e174cb 2004-05-25 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Removed MONO define for strongnaming assembly.

svn path=/trunk/mcs/; revision=28113
2004-05-26 01:10:55 +00:00
Gonzalo Paniagua Javier 2068a5adf9 Details...
svn path=/trunk/mcs/; revision=28112
2004-05-26 01:09:55 +00:00
Sebastien Pouliot 4748a08227 2004-05-25 Sebastien Pouliot <[email protected]>
* Makefile: Allow different case between *.source and assembly name.
	* AssemblyInfo.cs: Nunit.key->nunit.key

svn path=/trunk/mcs/; revision=28111
2004-05-26 01:09:20 +00:00
Sebastien Pouliot 525c601353 2004-05-25 Sebastien Pouliot <[email protected]>
* Allow different filename case for *.source and resulting assembly.

svn path=/trunk/mcs/; revision=28110
2004-05-26 01:08:00 +00:00
Gonzalo Paniagua Javier 05400a27d7 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs:
	(GetFile): not public, and fixed to really return just the file name.
	(InsertSessionId): ensure that the directory ends with a "/". This
	fixes cookieless sessions.

svn path=/trunk/mcs/; revision=28109
2004-05-26 01:05:43 +00:00
Ben Maurer 49cf2ab03e test the regression
svn path=/trunk/mcs/; revision=28108
2004-05-26 00:48:28 +00:00
Sebastien Pouliot 0c2cc49f3e 2004-05-25 Sebastien Pouliot <[email protected]>
* Updated files (and added new ones) for NUnit 2.1.91.

svn path=/trunk/mcs/; revision=28107
2004-05-26 00:38:46 +00:00
Sebastien Pouliot 3465260328 2004-05-25 Sebastien Pouliot <[email protected]>
* forgot to remove TestLoadEventArgs.cs

svn path=/trunk/mcs/; revision=28106
2004-05-26 00:36:51 +00:00
Sebastien Pouliot fe3cd77c73 2004-05-25 Sebastien Pouliot <[email protected]>
* Updated files for nunit-console 2.1.91.

svn path=/trunk/mcs/; revision=28105
2004-05-26 00:35:08 +00:00
Sebastien Pouliot 32a425e1e3 2004-05-25 Sebastien Pouliot <[email protected]>
* Removed old files from previous versions of NUnit.

svn path=/trunk/mcs/; revision=28104
2004-05-26 00:33:22 +00:00
Sebastien Pouliot 05ebe2b79e 2004-05-25 Sebastien Pouliot <[email protected]>
* Update existing files (and added new ones) for nunit 2.1.91.

svn path=/trunk/mcs/; revision=28103
2004-05-26 00:31:38 +00:00
Miguel de Icaza 6e8fda40bb Revert the last two patches, they regress
svn path=/trunk/mcs/; revision=28102
2004-05-26 00:29:07 +00:00
Sebastien Pouliot 7d25a7d718 2004-05-25 Sebastien Pouliot <[email protected]>
* Removed old files from previous Nunit versions.

svn path=/trunk/mcs/; revision=28101
2004-05-26 00:25:00 +00:00
Sebastien Pouliot 7bd8f52d43 2004-05-25 Sebastien Pouliot <[email protected]>
* Update to existing files and new files for NUnit 2.1.91.

svn path=/trunk/mcs/; revision=28100
2004-05-26 00:23:03 +00:00
Sebastien Pouliot e648010cec 2004-05-25 Sebastien Pouliot <[email protected]>
Removed old files (most have been move to other assemblies).

svn path=/trunk/mcs/; revision=28099
2004-05-26 00:20:24 +00:00
Sebastien Pouliot 13d4b3253f 2004-05-25 Sebastien Pouliot <[email protected]>
* Imported NUnit 2.1.91 (2.2 beta) source code for new assembly.

svn path=/trunk/mcs/; revision=28098
2004-05-26 00:12:18 +00:00
Sebastien Pouliot f3400b881b 2004-05-25 Sebastien Pouliot <[email protected]>
* nunit.key: New. NUnit private key. Due to build issues the key
	must be present in this directory.

svn path=/trunk/mcs/; revision=28097
2004-05-26 00:05:37 +00:00
Jordi Mas i Hernandez 471a2a236c fixes compilation problem under win32 using csc
svn path=/trunk/mcs/; revision=28096
2004-05-25 23:33:31 +00:00
Gonzalo Paniagua Javier ff305f8291 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* OracleType.cs: fixed values for Int16 and Int32. Thanks to Artem
	Zabytin for reporting this.

svn path=/trunk/mcs/; revision=28092
2004-05-25 22:27:41 +00:00
Jackson Harper b3175dd00f * PEAPI.cs: Set the has default flag on fields when a default data
constant is assigned to them.

svn path=/trunk/mcs/; revision=28091
2004-05-25 22:27:08 +00:00
Gonzalo Paniagua Javier 00f11231ef 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: don't distribute generated inssel.[ch] files.

svn path=/trunk/mono/; revision=28090
2004-05-25 22:23:23 +00:00
Jackson Harper 5e11dd3483 * PEAPI.cs: Encode string constants as unicode before putting them
in the blob.

svn path=/trunk/mcs/; revision=28089
2004-05-25 22:09:24 +00:00
Gonzalo Paniagua Javier 01040c6fdd 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs:
	* IPEndPoint.cs:
	* IPv6Address.cs: no more warnings about IPAddress.Address.

svn path=/trunk/mcs/; revision=28086
2004-05-25 21:28:41 +00:00
Martin Baulig cd4490d4bd 2004-05-25 Martin Baulig <[email protected]>
* expression.cs
	(MethodGroupExpr.IdenticalTypeName): New public property.
	(Invocation.DoResolve): Don't report a CS0176 if the "instance"
	expression actually refers to a type.

svn path=/trunk/mcs/; revision=28084
2004-05-25 21:15:23 +00:00
Gonzalo Paniagua Javier d51339b19b *** empty log message ***
svn path=/trunk/mcs/; revision=28083
2004-05-25 21:12:04 +00:00
Gonzalo Paniagua Javier 9634b2bb99 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: set culture/uiculture from
	configuration and restore it after each step. Fixes bug #52851.

	* System.Web.Configuration/GlobalizationConfiguration.cs: if we have no
	context, use GetAppConfig instead of GetConfig.

svn path=/trunk/mcs/; revision=28081
2004-05-25 20:59:53 +00:00
Ben Maurer 19c21859ba 2004-05-25 Ben Maurer <[email protected]>
* config.h.in: remove

svn path=/trunk/mono/; revision=28080
2004-05-25 20:18:36 +00:00
Martin Baulig 810bd43c2b New test.
svn path=/trunk/mcs/; revision=28079
2004-05-25 20:18:25 +00:00
Martin Baulig 74dedf71a1 2004-05-25 Martin Baulig <[email protected]>
* expression.cs (Invocation.DoResolve): Applied Ben Maurer's patch
	for #56176 and made it actually work.

svn path=/trunk/mcs/; revision=28078
2004-05-25 20:16:53 +00:00
Zoltan Varga 95a3e3e63b 2004-05-25 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_with_opt): Really emit icall wrappers
	into the default appdomain. Fixes #58707.

svn path=/trunk/mono/; revision=28077
2004-05-25 19:21:00 +00:00
Sebastien Pouliot 47ec8815df 2004-05-25 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed possible integer overflow.
	* BitConverter.cs: Fixed a possible integer overflow in ToString.

svn path=/trunk/mcs/; revision=28070
2004-05-25 18:59:35 +00:00
Sebastien Pouliot 5b9e9f8578 2004-05-25 Sebastien Pouliot <[email protected]>
* MethodBuilder.cs: Now use FastNewGuidArray to create new random
	Guids without using CryptoConfig. Speed up for MCS.

svn path=/trunk/mcs/; revision=28069
2004-05-25 18:53:12 +00:00
Sebastien Pouliot fea3c895fe 2004-05-25 Sebastien Pouliot <[email protected]>
* Guid.cs: Added an internal method to create a random Guid without
	using CryptoConfig (which is heavy on first use). This is only used
	in S.R.E.ModuleBuilder to speedup MCS compilation.

svn path=/trunk/mcs/; revision=28068
2004-05-25 18:51:22 +00:00
Martin Baulig 6025a14c1a 2004-05-25 Martin Baulig <[email protected]>
* ecore.cs (Expression.CacheTemporaries): Make this virtual.
	(FieldExpr, PropertyExpr): Override and implement
	CacheTemporaries.  Fixes #52279.

svn path=/trunk/mcs/; revision=28067
2004-05-25 18:51:11 +00:00
Martin Baulig 351636b5be 2004-05-25 Martin Baulig <[email protected]>
* test-261.cs: New test for #52279.

svn path=/trunk/mcs/; revision=28066
2004-05-25 18:49:36 +00:00
Jackson Harper 3339f45af0 * PEAPI.cs: zero RVAs for abstract, runtime, and internal call
methods.

svn path=/trunk/mcs/; revision=28065
2004-05-25 18:46:37 +00:00
Zoltan Varga 2ce114b1f3 2004-05-25 Zoltan Varga <[email protected]>
* mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
	memory with 0xcc (x86 break).

svn path=/trunk/mono/; revision=28064
2004-05-25 18:29:18 +00:00
Zoltan Varga 9f6a6852c9 2004-05-25 Zoltan Varga <[email protected]>
* locales.c: Fix build.

svn path=/trunk/mono/; revision=28063
2004-05-25 18:18:22 +00:00
Sebastien Pouliot f2f10096e4 2004-05-25 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added tests to check for integer overflow in Clear,
       Copy and Reverse.
       * BitConverterTest.cs: Added test to check for possible integer
       overflow in ToString (byte,int,int)

svn path=/trunk/mcs/; revision=28062
2004-05-25 17:59:05 +00:00
Jackson Harper 000a582758 * parser.cs: Allow creating a regular expression using {,n} as the
specified. The min bounds is set to -1, I am not completely sure
	if that is what it is supposed to be but MS does not set it to 0
	based on testing. Patch by [email protected]. Fixes bug
	#56761.

svn path=/trunk/mcs/; revision=28061
2004-05-25 17:29:44 +00:00
Sebastien Pouliot 1934e429b0 2004-05-25 Sebastien Pouliot <[email protected]>
* String.cs: Fixed reported exception for PadLeft|Right. Fixed
	possible integer overflow in methods that takes index and count
	as parameters.

svn path=/trunk/mcs/; revision=28060
2004-05-25 17:10:39 +00:00
Jackson Harper cc5910d215 fix name
svn path=/trunk/mono/; revision=28059
2004-05-25 17:05:32 +00:00
Atsushi Eno f2e9f1ad8d 2004-05-25 Atsushi Enomoto <[email protected]>
* culture-info-tables.h: reflecting locale-builder updates.

svn path=/trunk/mono/; revision=28057
2004-05-25 16:49:14 +00:00
Patrik Torstensson fc4890ddd2 2004-05-25 18:30 CET Patrik Torstensson <[email protected]>
* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)

svn path=/trunk/mono/; revision=28056
2004-05-25 16:45:08 +00:00
Jordi Mas i Hernandez b9813f94b1 added wrapmode examples
svn path=/trunk/mcs/; revision=28054
2004-05-25 16:08:52 +00:00
Atsushi Eno 0a3f85c02b 2004-05-26 Atsushi Enomoto <[email protected]>
* supp/pl.xml,
	  supp/ja.xml : Added overriding formats. pl.xml fixes bug #58186.

svn path=/trunk/mono/; revision=28053
2004-05-25 15:44:12 +00:00
Jackson Harper 0b904ce407 * Makefile.am: Extract xml files.
svn path=/trunk/mono/; revision=28052
2004-05-25 15:41:50 +00:00
Jackson Harper d49790403c * locales.c: When creating the current culture use the $LANGs
specific culture. So DateTimeFormat and NumberFormat entries are created.

svn path=/trunk/mono/; revision=28050
2004-05-25 15:17:00 +00:00
Sebastien Pouliot fae256a97e 2004-05-25 Sebastien Pouliot <[email protected]>
* StringTest.cs: Added tests for special cases like
	s.LastIndexOf ('o', s.Length, 1) fail but
	s.LastIndexOf ("o", s.Length, 1) works.

svn path=/trunk/mcs/; revision=28049
2004-05-25 14:25:57 +00:00
Lluis Sanchez 2295258581 * XmlSerializationReader.cs: Check for empty element when reading an array
element. This fixes bug #59003. Thanks Atsushi!

svn path=/trunk/mcs/; revision=28048
2004-05-25 13:49:22 +00:00
Zoltan Varga 1c54c6de8e 2004-05-25 Zoltan Varga <[email protected]>
* String.cs: Add new Strcpy icalls which take a char array as
	parameter.

svn path=/trunk/mcs/; revision=28046
2004-05-25 13:23:36 +00:00
Zoltan Varga 56bc7bbd0b 2004-05-25 Zoltan Varga <[email protected]>
* string-icalls.{h,c} icalls.c: Add new icalls for Strcpy which take
	a char array as parameter.

svn path=/trunk/mono/; revision=28045
2004-05-25 13:19:38 +00:00
Zoltan Varga 088a486d76 2004-05-25 Zoltan Varga <[email protected]>
* jit-icalls.c: Remove the broken approximation for truncl, doing
	no conversion is better.

svn path=/trunk/mono/; revision=28044
2004-05-25 13:13:09 +00:00
Sebastien Pouliot 6b6f15ecae 2004-05-25 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: New tests for prefixed hexadecimal strings and
	negative byte convertion.
	* StringTest.cs: Added new tests for integer overflow and negatives.

svn path=/trunk/mcs/; revision=28042
2004-05-25 12:56:02 +00:00
Atsushi Eno 48ff110b43 2004-05-25 Atsushi Enomoto <[email protected]>
* DateTime.cs : added more invariant format patterns. This should
	  really fix bug #57656.

svn path=/trunk/mcs/; revision=28041
2004-05-25 12:44:48 +00:00
Marek Safar ff7f9b6e20 New test
svn path=/trunk/mcs/; revision=28040
2004-05-25 12:43:41 +00:00
Zoltan Varga c945701176 2004-05-25 Zoltan Varga <[email protected]>
* mini.c (handle_stack_args): Avoid reusing variables for stack slots.
	Fixes #58863.

svn path=/trunk/mono/; revision=28039
2004-05-25 12:29:28 +00:00
Patrik Torstensson f13ad4d8cd 2004-05-25 14:14 CET Patrik Torstensson <[email protected]>
* BitConverter.cs (ToBoolean): Return true or false instead
	of unsafe returing byte as bool. Fixes bug #58874.

svn path=/trunk/mcs/; revision=28038
2004-05-25 12:28:09 +00:00
Atsushi Eno ebcf12b2da 2004-05-25 Atsushi Enomoto <[email protected]>
* DateTime.cs : In ToString(string, IFormatProvider), use "G" if
	  string format argument is null. This should fix bug #57656.

svn path=/trunk/mcs/; revision=28037
2004-05-25 12:21:51 +00:00
Lluis Sanchez e4b7a90e7a * BindingCollection.cs: Fixed this[string] property.
svn path=/trunk/mcs/; revision=28036
2004-05-25 12:18:31 +00:00
Paolo Molaro 576aaead4c Tue May 25 14:33:56 CEST 2004 Paolo Molaro <[email protected]>
* mini-ops.h, mini-ppc.c, cpu-g4.md, inssel-ppc.brg: eliminate the use
	of the mcrxr instruction which is not available on some processors
	even if it's documented to be. Implement add and sub overflow correctly
	(still not complete for long unsigned). Speed up icalls a bit.

svn path=/trunk/mono/; revision=28035
2004-05-25 11:55:12 +00:00
Lluis Sanchez 466fabe5ae * HttpServerChannel.cs: Take unused port if the provided prot is 0.
svn path=/trunk/mcs/; revision=28034
2004-05-25 11:34:08 +00:00
Patrik Torstensson 018125cad1 2004-05-25 13:01 CET Patrik Torstenson <[email protected]>
* mini.c (mono_jit_compile_method_with_opt): Make sure that
	we run .cctor in the current domain instead of target_domain.

	Fixes bug #58558, .cctor not being called in -O=shared.

svn path=/trunk/mono/; revision=28032
2004-05-25 11:15:40 +00:00
Lluis Sanchez d3642dfc0c * Version.cs: Rename of data fields to match those in Microsoft.NET.
Patch by [email protected].

svn path=/trunk/mcs/; revision=28031
2004-05-25 10:25:06 +00:00
Paolo Molaro bf19feb145 More tests for div, rem.
svn path=/trunk/mono/; revision=28030
2004-05-25 10:13:30 +00:00
Paolo Molaro 1ade5cf1f1 Tue May 25 12:46:50 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.h, jit-icalls.c: added explicit checks for divide by zero.

svn path=/trunk/mono/; revision=28029
2004-05-25 10:02:28 +00:00
Lluis Sanchez 683bba8ceb * ScriptCompilerInfo.cs: the name used to load the Microsoft.JScript
assembly should not include the .dll extension.

svn path=/trunk/mcs/; revision=28028
2004-05-25 09:09:33 +00:00
Marek Safar 8a6749f11e New tests
svn path=/trunk/mcs/; revision=28027
2004-05-25 08:35:08 +00:00
Atsushi Eno 8db1637866 2004-05-25 Atsushi Enomoto <[email protected]>
* PrintDialog.cs : Build fix related to win32functions.cs changes.

svn path=/trunk/mcs/; revision=28026
2004-05-25 06:14:42 +00:00
Miguel de Icaza 314f866345 2004-05-25 Miguel de Icaza <[email protected]>
* location.cs: In the new compiler listing a file twice is a
	warning, not an error.

svn path=/trunk/mcs/; revision=28025
2004-05-25 04:01:54 +00:00
Gonzalo Paniagua Javier 64f41b5283 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs: patch by Eduard
	Nesiba that implements autocommit behavior for non query statement
	which is out of transaction. In previous implementation changed rows
	stayed locked until client disconnect and hasRows proper settings.

svn path=/trunk/mcs/; revision=28019
2004-05-25 00:49:50 +00:00
César Natarén f482db7298 2004-05-24 Cesar Lopez Nataren <[email protected]>
* StrictEquality.cs, JSFieldInfo.cs: got it back to Microsoft.JScript namespace.

svn path=/trunk/mcs/; revision=28018
2004-05-25 00:30:53 +00:00
César Natarén 8fba3ffa73 2004-05-24 Cesar Lopez Nataren <[email protected]>
* StrictEquality.cs: got it back to Microsoft.JScript namespace.

svn path=/trunk/mcs/; revision=28017
2004-05-25 00:29:10 +00:00
César Natarén 56dd512971 updates from grammar changes
svn path=/trunk/mcs/; revision=28016
2004-05-25 00:27:54 +00:00
César Natarén 7497bd9358 2004-05-24 Cesar Lopez Nataren <[email protected]>
* Statement.cs: Added code generation support for 'switch' statement.

svn path=/trunk/mcs/; revision=28015
2004-05-25 00:25:44 +00:00
César Natarén 27c19dba87 2004-05-24 Cesar Lopez Nataren <[email protected]>
* Added switch.js

svn path=/trunk/mcs/; revision=28014
2004-05-25 00:23:59 +00:00
César Natarén 5fe9ea2627 2004-05-24 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: added 'using' for
	System.Collections. Allow 'switch' statement building of its
	ast. Added parent parameter to constructor of With. Build
	inside_for ast.

svn path=/trunk/mcs/; revision=28013
2004-05-25 00:21:16 +00:00
Gonzalo Paniagua Javier c7038a7ccc 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DateTimeTest.cs: test for bug 56436.

svn path=/trunk/mcs/; revision=28012
2004-05-25 00:15:15 +00:00
Gonzalo Paniagua Javier 49ffcb66e0 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: allow double quotes in the formats. Don't set
	next_not_digit to true in presence of single or double quotes. Patch by
	Martin Probst.

svn path=/trunk/mcs/; revision=28011
2004-05-25 00:14:20 +00:00
Peter Dennis Bartok 96528389da - Added ActiveMdiChild method
svn path=/trunk/mcs/; revision=28010
2004-05-25 00:04:10 +00:00
Peter Dennis Bartok 20772dd521 - Fixed translation of wine pathnames to their unix counterpart
- Added loading of comdlg32 for wine to enable usage of common dialogs.
- Moved the comdlg32 functions into the Win32 section

svn path=/trunk/mcs/; revision=28009
2004-05-24 23:34:20 +00:00
Gonzalo Paniagua Javier 3df8e09908 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* DirectoryTest.cs: added test from bug 58875.

svn path=/trunk/mcs/; revision=28007
2004-05-24 21:56:42 +00:00
Gonzalo Paniagua Javier 8dd5b7a64b no more IsEmptyString
svn path=/trunk/mcs/; revision=28006
2004-05-24 21:49:55 +00:00
Gonzalo Paniagua Javier a7402c9747 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: ERROR_FILE_NOT_FOUND in FindFirstFile means there are
	no files, but the directory was found. Fixes bug #58875.

svn path=/trunk/mcs/; revision=28005
2004-05-24 21:36:27 +00:00
Ben Maurer 893b008e14 2004-05-24 Ben Maurer <[email protected]>
* mini-x86.c (EMIT_COND_BRANCH): If an OP_LABEL has an offset
	which can be done with an imm8, do it that way.
	(mono_arch_output_basic_block): ditto for a jmp
	(mono_arch_emit_prolog): Computate maximum offset of a label.

svn path=/trunk/mono/; revision=28004
2004-05-24 20:57:39 +00:00
Duncan Mak fa66940492 (Close): Remember to set the 'closed' flag.
svn path=/trunk/mcs/; revision=28003
2004-05-24 20:29:04 +00:00
Duncan Mak 955c3bbef4 Fix embarrassing typo.
svn path=/trunk/mcs/; revision=28001
2004-05-24 20:27:58 +00:00
Sebastien Pouliot 03b1d4987c 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamReader.cs: Add checks for null encoding. Fixed possible integer
	overflow and ArgumentNullException in Read.

svn path=/trunk/mcs/; revision=28000
2004-05-24 20:15:47 +00:00
Martin Baulig 5873b67054 2004-05-24 Martin Baulig <[email protected]>
* enum.cs (Enum.DefineType): For the `BaseType' to be a
	TypeLookupExpression; otherwise, report a CS1008.  Fixes #58571.

svn path=/trunk/mcs/; revision=27999
2004-05-24 20:15:03 +00:00
Sebastien Pouliot 15b3b0d548 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamReaderTest.cs: New tests for integer overflow and null handling

svn path=/trunk/mcs/; revision=27998
2004-05-24 20:13:55 +00:00
Martin Baulig dda855e1bf New test.
svn path=/trunk/mcs/; revision=27997
2004-05-24 20:13:16 +00:00
Duncan Mak adac222648 * DirectoryInfo.cs:
* FileInfo.cs: Reformat the whole file to use DOS line endings.
(MoveTo): Return if the destination of Move is the same as the file's
current location.

svn path=/trunk/mcs/; revision=27996
2004-05-24 19:49:18 +00:00
Martin Baulig e0daa067de 2004-05-24 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Try doing an alias lookup before
	walking the `using' list.  Fixes #53921.

svn path=/trunk/mcs/; revision=27995
2004-05-24 19:41:33 +00:00
Martin Baulig 4582bae056 2004-05-24 Martin Baulig <[email protected]>
* test-260.cs: New test for #53921.

svn path=/trunk/mcs/; revision=27994
2004-05-24 19:37:17 +00:00
Sebastien Pouliot f9154436b5 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamWriter.cs: Add dispose check to Write(char) and Write(char[]),
	AutoFlush. Fixed possible integer overflow in Write(char[],int,int).

svn path=/trunk/mcs/; revision=27993
2004-05-24 19:29:11 +00:00
Sebastien Pouliot 51111282bc 2004-05-24 Sebastien Pouliot <[email protected]>
* StreamWriterTest.cs: New tests for integer overflow, disposed
	exceptions and null handling.

svn path=/trunk/mcs/; revision=27992
2004-05-24 19:27:51 +00:00
Duncan Mak 6ecda639c2 Remove debug messages
svn path=/trunk/mcs/; revision=27991
2004-05-24 19:17:23 +00:00
Duncan Mak 263c2985a7 2004-05-22 Duncan Mak <[email protected]>
* Directory.cs: Reformat the whole file to use Unix line endings
	for consistency.
	(GetFileSystemEntries): If pattern is String.Empty, always
	return an empty string array. Throw the ArgumentException if path
	is an empty string (determined using the new helper method)
	(IsEmptyString): Returns true on an empty string or a string with
	only whitespace characters.

	* Path.cs (GetPathRoot): Throw an ArgumentException if the path
	argument is String.Empty.

svn path=/trunk/mcs/; revision=27990
2004-05-24 18:45:35 +00:00
Miguel de Icaza d29ce95d37 Inner release
svn path=/trunk/mono/; revision=27988
2004-05-24 18:28:03 +00:00
Peter Dennis Bartok a1c98f5519 - Added loading of common dialog dll
svn path=/trunk/mcs/; revision=27987
2004-05-24 18:24:38 +00:00
Sebastien Pouliot 2740d6eb84 2004-05-24 Sebastien Pouliot <[email protected]>
* StringWriter.cs: Fixed possible integer overflow in Write. Changed
	spaces for tabs.

svn path=/trunk/mcs/; revision=27986
2004-05-24 18:24:29 +00:00
Sebastien Pouliot 2785a192ff 2004-05-24 Sebastien Pouliot <[email protected]>
* StringWriterTest.cs: New tests for integer overflow and disposed
	exceptions.

svn path=/trunk/mcs/; revision=27985
2004-05-24 18:21:08 +00:00
César Natarén ed63219adf 2004-05-24 Cesar Lopez Nataren <[email protected]>
* With.cs: code generation support for 'with' stm.

svn path=/trunk/mcs/; revision=27983
2004-05-24 17:52:43 +00:00
Lluis Sanchez f69e1ada89 * image.c: In mono_image_open(), always use an absolute path name to
look for already loaded images.

svn path=/trunk/mono/; revision=27982
2004-05-24 16:40:10 +00:00
Patrik Torstensson 35d5369a85 2004-05-24 18:18 CET Patrik Torstenson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): the reg allocator
	now tries to allocate prefered physical reg's for virtual
	regs. This reduces the number of emited spills/loads with
	20-30% on our core assemblies.

svn path=/trunk/mono/; revision=27981
2004-05-24 16:38:32 +00:00
Martin Baulig 90224d7d1f 2004-05-24 Martin Baulig <[email protected]>
* test-259.cs: New test for #55251.

svn path=/trunk/mcs/; revision=27980
2004-05-24 16:35:10 +00:00
Martin Baulig e121c3ecfe 2004-05-24 Martin Baulig <[email protected]>
* const.cs (Const.LookupConstantValue): Added support for
	EmptyCast's; fixes #55251.

svn path=/trunk/mcs/; revision=27979
2004-05-24 16:34:42 +00:00
Martin Baulig 8b049ae604 2004-05-24 Martin Baulig <[email protected]>
* test-258.cs: New test for #58584.

svn path=/trunk/mcs/; revision=27978
2004-05-24 16:17:38 +00:00
Sebastien Pouliot 4494459053 2004-05-24 Sebastien Pouliot <[email protected]>
* MemoryStream.cs: Fixed exception reporting to match MS Fx. Fixed the
	condition to allow zeroization of existing data when we shrink the
	stream.

svn path=/trunk/mcs/; revision=27977
2004-05-24 15:39:39 +00:00
Paolo Molaro 7d16f3f65d Mon May 24 18:21:51 CEST 2004 Paolo Molaro <[email protected]>
* jit-icalls.c: truncl() is not needed and trunc() is
	the correct thing to do anyway (bug #58287).

svn path=/trunk/mono/; revision=27975
2004-05-24 15:38:19 +00:00
Sebastien Pouliot 81abb44b6e 2004-05-24 Sebastien Pouliot <[email protected]>
* MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
	the length of the stream. Verify that we throw the same exceptions as
	MS fx.

svn path=/trunk/mcs/; revision=27974
2004-05-24 15:36:14 +00:00
Martin Baulig 442edc485f 2004-05-24 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Renamed to
	DoSimpleNameResolve() and provide a SimpleNameResolve() wrapper
	which does the CS0135 check.  The reason is that we first need to
	check whether the variable actually exists.

svn path=/trunk/mcs/; revision=27973
2004-05-24 15:34:49 +00:00
Martin Baulig 3384dc1f42 2004-05-24 Martin Baulig <[email protected]>
* class.cs (MemberBase.DoDefine): Use DeclSpace.FindType() rather
	than RootContext.LookupType() to find the explicit interface
	type.  Fixes #58584.

svn path=/trunk/mcs/; revision=27972
2004-05-24 15:09:12 +00:00
Anirban Bhattacharjee 0cdb99143c Few tests on property grammar
svn path=/trunk/mcs/; revision=27971
2004-05-24 14:48:13 +00:00
Anirban Bhattacharjee 5a784c61ef * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
svn path=/trunk/mcs/; revision=27970
2004-05-24 14:41:36 +00:00
Anirban Bhattacharjee 49fbdb1a92 * mb-paresr.jay: Support for abstruct property is added
svn path=/trunk/mcs/; revision=27969
2004-05-24 14:37:20 +00:00
Sebastien Pouliot 18f3b62bdf 2004-05-24 Sebastien Pouliot <[email protected]>
* icall.c: Added define for CSIDL_FLAG_CREATE (0x8000) in case it is
	missing in the windows build (like older cygwin include files).

svn path=/trunk/mono/; revision=27968
2004-05-24 14:32:56 +00:00
Lluis Sanchez 8934a37601 * SoapClientMessage.cs: Get the MethodInfo from the corresponding
SoapMethodStubInfo.

svn path=/trunk/mcs/; revision=27967
2004-05-24 14:03:37 +00:00
Zoltan Varga 4f89b59e58 2004-05-24 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_flush_icache): Call sync_instruction_memory
	if available.

svn path=/trunk/mono/; revision=27965
2004-05-24 12:59:48 +00:00
Zoltan Varga f68dd1444b 2004-05-24 Zoltan Varga <[email protected]>
* AppDomainSetup.cs (InitAppDomainSetup): This one returns void.

svn path=/trunk/mcs/; revision=27964
2004-05-24 12:56:12 +00:00
Jackson Harper 852c973b78 * Driver.cs: Filter on GetFiles so we only get the xml locale
files.

svn path=/trunk/mono/; revision=27963
2004-05-24 12:52:23 +00:00
Lluis Sanchez 013f0130e1 * StringCollection.cs: Renamed internal variable to make serialization
compatible with MS.NET.

svn path=/trunk/mcs/; revision=27962
2004-05-24 11:33:48 +00:00
Lluis Sanchez 3a59ec0931 * Hashtable.cs: Renamed internal class to make serialization compatible
with MS.NET.

svn path=/trunk/mcs/; revision=27961
2004-05-24 11:20:08 +00:00
Gonzalo Paniagua Javier d782507b2b 2004-05-24 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: call DeterminePostBackMode only once per request. Patch by
	Evain Jb.

svn path=/trunk/mcs/; revision=27960
2004-05-24 11:14:46 +00:00
Paolo Molaro 3cad0c0665 Mon May 24 13:36:53 CEST 2004 Paolo Molaro <[email protected]>
* monograph.c: default assembly name is "mscorlib" now.

svn path=/trunk/mono/; revision=27959
2004-05-24 10:57:38 +00:00
Lluis Sanchez 1185f9fb56 * ContractReference.cs: convert relative import uris to absolute uris.
* DiscoveryClientProtocol.cs: Before resolving a reference, always
	  set the Url property.

svn path=/trunk/mcs/; revision=27958
2004-05-24 10:44:17 +00:00
Lluis Sanchez 7bcc59e7ff * ProtocolImporter.cs: issue a warning if no services have been found.
svn path=/trunk/mcs/; revision=27957
2004-05-24 10:42:05 +00:00
Atsushi Eno 814122aadc 2004-05-24 Atsushi Enomoto <[email protected]>
* XmlSchemaBuiltInDataypeTests.cs : 'Z' is not allowed here (maybe it
	  is 'T' that was wanted). More kind error message in Fail().

svn path=/trunk/mcs/; revision=27956
2004-05-24 10:40:09 +00:00
Lluis Sanchez b06d37cfb1 * MonoWSDL.cs: Get the name of the generated file from the first WSDL doc
that has a service. Don't print exception on error.

svn path=/trunk/mcs/; revision=27955
2004-05-24 10:39:05 +00:00
Raja R Harinath bb9e438c4d * Makefile: Simplify. Use executable.make.
* mcs.exe.sources: New file.  List of sources of mcs.exe.

svn path=/trunk/mcs/; revision=27954
2004-05-24 10:37:00 +00:00
Paolo Molaro 255f667098 Mon May 24 12:49:45 CEST 2004 Paolo Molaro <[email protected]>
* driver.c: enable loop optimizations by default.

svn path=/trunk/mono/; revision=27952
2004-05-24 10:10:28 +00:00
Raja R Harinath 785d0c9457 (EXTRA_FLAGS): Remove.
(LIBRARY_COMPILE) [!HAVE_SYSTEM_XML]: Use $(BOOT_COMPILE) for
non-Xml first build.
(all-local) [!SECOND_PASS]: Simplify.

svn path=/trunk/mcs/; revision=27950
2004-05-24 09:33:14 +00:00
Raja R Harinath b2566b1126 * library.make (LIBRARY_COMPILE): New define.
($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).

* executable.make (uninstall-local): Use PROGRAM_INSTALL_DIR.

svn path=/trunk/mcs/; revision=27949
2004-05-24 09:30:22 +00:00
Jordi Mas i Hernandez ec348dff63 remove unnecessary code, since bug 57706 is fixed
svn path=/trunk/mcs/; revision=27948
2004-05-24 09:29:54 +00:00
Raja R Harinath 35a5549966 (PROGRAM_INSTALL_DIR): Install mbas into
$(prefix)/lib/mono/1.0.

svn path=/trunk/mcs/; revision=27947
2004-05-24 08:45:19 +00:00
Raja R Harinath 55767df4e3 (PROGRAM_INSTALL_DIR): Allow makefile to specify
a different directory for installation.

svn path=/trunk/mcs/; revision=27946
2004-05-24 08:43:27 +00:00
Paolo Molaro 31685d7b00 Mon May 24 11:13:46 CEST 2004 Paolo Molaro <[email protected]>
* mini-x86.c: fix calc of max loop size when aligning loops start.

svn path=/trunk/mono/; revision=27945
2004-05-24 08:35:20 +00:00
Atsushi Eno 8aab01d991 2004-05-24 Atsushi Enomoto <[email protected]>
* NamedNodeMap.cs : Modified. "domestic or street" does not mean
	  the exact literal node name, but it means "either 'domestic' or
	  'street'". We always return fixed values.

svn path=/trunk/mcs/; revision=27944
2004-05-24 07:45:24 +00:00
Atsushi Eno 7ba146f2ca 2004-05-24 Atsushi Enomoto <[email protected]>
* Document.cs : am sure that element nodes are up to 36, not 37
	  (maybe counting the element that is in unused entity value?).

svn path=/trunk/mcs/; revision=27943
2004-05-24 07:44:24 +00:00
Atsushi Eno 92f5d743a2 2004-05-24 Atsushi Enomoto <[email protected]>
* XmlNodeTests.cs : added Normalize2().

svn path=/trunk/mcs/; revision=27942
2004-05-24 07:40:48 +00:00
Atsushi Eno 12c0df7558 2004-05-24 Atsushi Enomoto <[email protected]>
* DTDReader.cs : When sequential PE references exist, the reader only
	  expands the first one and in some cases the parser complaints the
	  content (such like expecting name character but found '%').
	  This fixes bug #58818.

svn path=/trunk/mcs/; revision=27941
2004-05-24 07:39:49 +00:00
Sebastien Pouliot 5ca3e2ca6c 2004-05-23 Sebastien Pouliot <[email protected]>
* icall.c: Fixed check for possible integer overflow in Buffer_
	BlockCopy icall. Replaced comments style // by /* */.

svn path=/trunk/mono/; revision=27939
2004-05-23 23:08:32 +00:00
Sebastien Pouliot e860b270f2 2004-05-23 Sebastien Pouliot <[email protected]>
* Buffer.cs: Fixed integer overflow in BlockCopy.

svn path=/trunk/mcs/; revision=27938
2004-05-23 23:03:16 +00:00
Miguel de Icaza 06a4450424 2004-05-24 Anders Carlsson <[email protected]>
* decl.cs:
	* enum.cs:
	Use the invariant culture when doing String.Compare for CLS case
	sensitivity.

svn path=/trunk/mcs/; revision=27937
2004-05-23 22:48:34 +00:00
Sebastien Pouliot fe01f60076 2004-05-23 Sebastien Pouliot <[email protected]>
* BufferTest.cs: Added new tests for integer overflow in BlockCopy.

svn path=/trunk/mcs/; revision=27936
2004-05-23 22:47:11 +00:00
Ben Maurer e979589adb 2004-05-23 Ben Maurer <[email protected]>
* MonoSymbolWriter.cs (AddLocal), etc: kill more arraylists.

svn path=/trunk/mcs/; revision=27935
2004-05-23 20:05:04 +00:00
Jackson Harper 23a351c5ca * MethodDef.cs: Cache vararg signatures so a new memberref is not
created for each vararg pattern.

svn path=/trunk/mcs/; revision=27934
2004-05-23 19:55:40 +00:00
Ben Maurer a530616ba2 2004-05-23 Ben Maurer <[email protected]>
* MonoSymbolTable.cs (BuildLineNumberTable): Avoid arraylist.

svn path=/trunk/mcs/; revision=27933
2004-05-23 19:39:26 +00:00
Martin Baulig 46972b8ca1 New test.
svn path=/trunk/mcs/; revision=27932
2004-05-23 19:10:51 +00:00
Martin Baulig adb9d81270 2004-05-23 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Only check the `using' list if we
	don't have any dots.  Fixes #52622, added cs0246-8.cs.

	* namespace.cs (NamespaceEntry.Lookup): Likewise.

svn path=/trunk/mcs/; revision=27931
2004-05-23 19:09:48 +00:00
Sebastien Pouliot e4283bb1bd 2004-05-23 Sebastien Pouliot <[email protected]>
* Array.cs: Fixed exception when we try to Clear outside bounds.

svn path=/trunk/mcs/; revision=27930
2004-05-23 19:05:32 +00:00
Sebastien Pouliot 5bd99cfb02 2004-05-23 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Oops wrong exception (commited Mono not MS results).

svn path=/trunk/mcs/; revision=27929
2004-05-23 19:02:29 +00:00
Francisco Figueiredo Jr. f045eece2d 2004-05-23 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
connect to cvs built servers which had devel in its version string.

svn path=/trunk/mcs/; revision=27928
2004-05-23 19:01:14 +00:00
Sebastien Pouliot de75a9a1a4 2004-05-23 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear outside the bound of a
	multidimentional array.

svn path=/trunk/mcs/; revision=27927
2004-05-23 18:57:16 +00:00
Sebastien Pouliot e9bea44135 2004-05-23 Sebastien Pouliot <[email protected]>
* Boolean.cs: Fixed Equals for True!=True (see bugzilla #58874).
	* BitConverter.cs: Fixed negative index and integer overflow in
	To... methods.

svn path=/trunk/mcs/; revision=27926
2004-05-23 18:54:17 +00:00
Sebastien Pouliot d0bd0daf44 2004-05-23 Sebastien Pouliot <[email protected]>
* BooleanTest.cs: Added new test to compare booleans using Equals
	and == (case of True!=True). Converted to NUnit2 format.

svn path=/trunk/mcs/; revision=27925
2004-05-23 18:50:05 +00:00
Martin Baulig 735f9f7feb 2004-05-23 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Only report a CS0135 if
	the variable also exists in the current block (otherwise, we need
	to report a CS0103).  Fixes #58670.

svn path=/trunk/mcs/; revision=27924
2004-05-23 18:30:36 +00:00
Marek Safar ccba624489 2004-05-23 Marek Safar <[email protected]>
* class.cs (MemberBase.Define): Reuse MemberType member for
	resolved type. Other methods can use it too.

svn path=/trunk/mcs/; revision=27923
2004-05-23 18:20:09 +00:00
Martin Baulig cc43a724b5 2004-05-23 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for #58322.

svn path=/trunk/mcs/; revision=27922
2004-05-23 17:56:56 +00:00
Martin Baulig 518606c46f 2004-05-23 Martin Baulig <[email protected]>
* flowanalysis.cs (Reachability.Reachable): Compute this
	on-the-fly rather than storing it as a field.

svn path=/trunk/mcs/; revision=27921
2004-05-23 17:55:51 +00:00
Martin Baulig a74d3ab0a4 2004-05-23 Martin Baulig <[email protected]>
* flowanalysis.cs (Reachability.And): Manually compute the
	resulting `barrier' from the reachability.

svn path=/trunk/mcs/; revision=27920
2004-05-23 17:46:31 +00:00
Zoltan Varga 398b275d50 2004-05-23 Zoltan Varga <[email protected]>
* ssa.c (mono_ssa_cprop): Allocate carray dynamically instead of on
	the stack.

svn path=/trunk/mono/; revision=27919
2004-05-23 17:33:50 +00:00
Marek Safar 2b213cf3b7 2004-05-23 Marek Safar <[email protected]>
Fix bug #57835
	* attribute.cs (AttributeTester.GetMethodObsoleteAttribute): Returns
	instance of ObsoleteAttribute when symbol is obsolete.

	* class.cs
	(IMethodData): Extended interface for ObsoleteAttribute support.

svn path=/trunk/mcs/; revision=27917
2004-05-23 15:43:06 +00:00
Sebastien Pouliot 474f053e96 2004-05-23 Sebastien Pouliot <[email protected]>
* BitConverterTest.cs: Modified ToBoolean test to prove that True!=True.

svn path=/trunk/mcs/; revision=27915
2004-05-23 15:38:04 +00:00
Sebastien Pouliot 0c596dda01 2004-05-23 Sebastien Pouliot <[email protected]>
* BitConverterTest.cs: Added new tests for negative integers and
	integer overflow in To... methods. Added new boolean convertion
	tests.

svn path=/trunk/mcs/; revision=27912
2004-05-23 15:09:15 +00:00
Zoltan Varga 00184ee838 2004-05-23 Zoltan Varga <[email protected]>
* Makefile.am (DISABLED_TESTS): Reenable remoting2 and remoting3.

svn path=/trunk/mono/; revision=27910
2004-05-23 13:45:41 +00:00
Atsushi Eno 825cdda66f 2004-05-23 Atsushi Enomoto <[email protected]>
* XmlNode.cs : RemoveChild() should check null argument.
	  Normalize() was broken in some cases.

svn path=/trunk/mcs/; revision=27909
2004-05-23 12:10:52 +00:00
Patrik Torstensson 44f764f69b 2004-04-23 Patrik Torstensson
* RealProxy.cs: Moved async functionlity here, also take
	care of custom proxies (non RemotingProxy) case for async and
	construction calls.

	* RemotingProxy.cs: allow RealProxy to call construction method and
	remove end async control (moved to RealProxy)

	Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.

svn path=/trunk/mcs/; revision=27908
2004-05-22 22:58:16 +00:00
Duncan Mak cd424ecf02 Reformat the whole file to use Unix line endings for consistency.
svn path=/trunk/mcs/; revision=27907
2004-05-22 21:42:10 +00:00
Sebastien Pouliot aa6e918d96 2004-05-22 Sebastien Pouliot <[email protected]>
* Array.cs: Clear can now work on multidimentional arrays.

svn path=/trunk/mcs/; revision=27906
2004-05-22 21:24:51 +00:00
Jackson Harper c0723ff1e2 * InstrTable.cs: ldc.i4.M1 is aliased to ldc.i4.m1. Fixes bug
#58524.

svn path=/trunk/mcs/; revision=27905
2004-05-22 20:08:09 +00:00
Jackson Harper c57f193477 * ILParser.jay: [,] is short form for [...,...] this fixes bug
number 58569.

svn path=/trunk/mcs/; revision=27904
2004-05-22 20:02:26 +00:00
Jackson Harper 401f6b4c60 * ILParser.jay: Handle wchar, it is just an alias for char.
svn path=/trunk/mcs/; revision=27903
2004-05-22 19:40:32 +00:00
Atsushi Eno 3192ef204e 2004-05-22 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : don't use chained obsolete .ctor.

svn path=/trunk/mcs/; revision=27902
2004-05-22 19:39:00 +00:00
Atsushi Eno 4a8aca0670 2004-05-22 Atsushi Enomoto <[email protected]>
* ConformanceLevel.cs : added.

svn path=/trunk/mcs/; revision=27900
2004-05-22 19:11:34 +00:00
Jackson Harper 1459a8a225 * GlobalMethodRef.cs: Check for sentinel properly.
svn path=/trunk/mcs/; revision=27899
2004-05-22 19:01:46 +00:00
Todd Berman 791185b384 2004-05-22 Todd Berman <[email protected]>
* corlib.dll.sources: added Mono/Runtime.cs
        * Mono: added Mono directory back
        * Mono/Runtime.cs: add back Runtime.cs, marked as internal, gnome#
        needs it.

svn path=/trunk/mcs/; revision=27897
2004-05-22 18:01:11 +00:00
Atsushi Eno 68bc8cf585 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs : they are NET_2_0 enums.

svn path=/trunk/mcs/; revision=27896
2004-05-22 17:54:59 +00:00
Zoltan Varga d151274ac0 2004-05-22 Zoltan Varga <[email protected]>
* marshal.c (mono_ftnptr_to_delegate): Fix warning.

svn path=/trunk/mono/; revision=27895
2004-05-22 17:50:37 +00:00
Atsushi Eno 19a8d9c09f 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlNodeChangedEventArgs.cs : the last patch looks true
	  ONLY AFTER .NET 2.0.

svn path=/trunk/mcs/; revision=27894
2004-05-22 17:47:26 +00:00
Zoltan Varga d63bf6de65 2004-05-22 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_proxy_cancast): Move thread interrupt
	check after MONO_VTADDR. Fixes pinvoke2.exe.

svn path=/trunk/mono/; revision=27893
2004-05-22 17:47:19 +00:00
César Natarén 6c51b362ca 2004-05-22 Cesar Lopez Nataren <[email protected]>
* FieldInfo.cs: changed default constructor from internal to protected, so classes
	that inherit from it can get build.

svn path=/trunk/mcs/; revision=27892
2004-05-22 17:43:52 +00:00
Atsushi Eno 521405a974 2004-05-22 Atsushi Enomoto <[email protected]>
* System.Data.SqlXml.dll.sources : updated .net 2.0 classes.

svn path=/trunk/mcs/; revision=27891
2004-05-22 17:23:31 +00:00
Atsushi Eno 79e1bf271d 2004-05-22 Atsushi Enomoto <[email protected]>
* Added ChangeLog.
	* XQueryProcessor.cs,
	  XmlViewSchema.cs,
	  XmlViewSchemaDictionary.cs : removed old classes.
	* XQueryCommand.cs,
	  XmlMapping.cs,
	  XmlMappingDictionary.cs : added new clases.

svn path=/trunk/mcs/; revision=27890
2004-05-22 17:22:27 +00:00
Atsushi Eno 744ed5b65f 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlValueConverter.cs : missed NET_2_0.

svn path=/trunk/mcs/; revision=27889
2004-05-22 17:13:47 +00:00
Atsushi Eno 8c53a3828d 2004-05-22 Atsushi Enomoto <[email protected]>
* XPathAtomicValue.cs : missed NET_2_0.

svn path=/trunk/mcs/; revision=27888
2004-05-22 17:13:00 +00:00
Atsushi Eno 78175a2bdb 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.

svn path=/trunk/mcs/; revision=27887
2004-05-22 17:12:03 +00:00
Zoltan Varga a0abffd305 2004-05-22 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): ADD_IMM and SUB_IMM
	should set carry.

	* basic-long.cs: Add tests for add/subtract of immediates with carry.

svn path=/trunk/mono/; revision=27886
2004-05-22 17:04:16 +00:00
Atsushi Eno 38d8ae1ab7 2004-05-22 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added/removed all NET_2_0 classes.

svn path=/trunk/mcs/; revision=27885
2004-05-22 16:59:50 +00:00
Atsushi Eno edcb7df121 2004-05-22 Atsushi Enomoto <[email protected]>
* IXPathChangeNavigable.cs,
	  IXPathEditable.cs,
	  NodeChangedEventArgs.cs,
	  NodeChangedEventHandler.cs,
	  XPathAtomicValue.cs,
	  XPathChangeNavigator.cs,
	  XPathDocumentNodeChangedAction.cs,
	  XPathEditableNavigator.cs,
	  XPathItem.cs,
	  XmlChangeFilters.cs,
	  XmlNodeChangeType.cs : added NET_2_0 classes.
	* XPathDocument.cs,
	  XPathNavigator.cs : updated NET_2_0 members.

svn path=/trunk/mcs/; revision=27884
2004-05-22 16:59:30 +00:00
Atsushi Eno 01f2cf3765 2004-05-22 Atsushi Enomoto <[email protected]>
* IXmlSchemaInfo.cs,
	  IXmlType.cs,
	  XmlSchemaDatatypeVariety.cs,
	  XmlSchemaValidity.cs,
	  XmlTypeCode.cs,
	  XmlValueConverter.cs : added.

	* XmlSchemaInfo.cs : removed (.NET 1.2).

	* XmlSchemaBuiltInType.cs,
	  XmlSchemaSet.cs : updated.

svn path=/trunk/mcs/; revision=27883
2004-05-22 16:57:46 +00:00
Atsushi Eno 06fd5a823c 2004-05-22 Atsushi Enomoto <[email protected]>
* IXmlCompilerInclude.cs,
	  QueryEventArgs.cs,
	  QuertEventHandler.cs,
	  XmlArgumentList.cs,
	  XsltCommand.cs : added.

	* XmlQueryArgumentList.cs,
	  XsltProcessor.cs : removed (only in .NET 1.2).

	* XmlCommand.cs,
	  XmlQueryCompileException.cs,
	  XmlQueryException.cs : updated API to that of .NET 2.0.

svn path=/trunk/mcs/; revision=27882
2004-05-22 16:56:21 +00:00
Atsushi Eno ab2afd4c7d 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlFactory.cs,
	  XmlItemView.cs,
	  XmlItemViewCollection.cs,
	  XmlReaderSettings.cs,
	  XmlWriterSettings.cs : added new .NET 2.0 classes.

	* AsyncXmlTextWriter.cs,
	  IXPathChangeNavigator.cs,
	  IXPathEditor.cs,
	  IXPathNavigator.cs,
	  XmlChangeFilters.cs,
	  XmlInfoItemType.cs,
	  XmlNodeChangeType.cs,
	  XPathChangeNavigator.cs,
	  XPathDocument2.cs,
	  XPathDocument2ChangedEventAction.cs,
	  XPathDocument2ChangedEventHandler.cs,
	  XPathEditor.cs,
	  XPathNavigator2.cs : removed. (They are only in .NET 1.2)

	* XmlWriter.cs : added new NET_2_0 WriteElementString().

svn path=/trunk/mcs/; revision=27881
2004-05-22 16:54:34 +00:00
Zoltan Varga 64d99d48cc 2004-05-22 Zoltan Varga <[email protected]>
* mini.c exceptions-x86.c: Remove MONO_USE_EXC_TABLES stuff.

svn path=/trunk/mono/; revision=27880
2004-05-22 16:50:22 +00:00
Francisco Figueiredo Jr. eccb3e4616 2004-05-22 Francisco Figueiredo Jr. <[email protected]>
Npgsql.xml: Removed file.

svn path=/trunk/mcs/; revision=27879
2004-05-22 16:47:05 +00:00
Zoltan Varga 94079432ed 2004-05-22 Zoltan Varga <[email protected]>
* Makefile.am (PLATFORM_DISABLED_TESTS): Reenable thread abort test.

svn path=/trunk/mono/; revision=27878
2004-05-22 16:45:44 +00:00
Francisco Figueiredo Jr. 4967a86190 2004-05-22 Francisco Figueiredo Jr. <[email protected]>
Npgsql/NpgsqlCommand.cs,
	Npgsql/NpgsqlConnection.cs,
	Npgsql/NpgsqlDataReader.cs,
	Npgsql/NpgsqlException.cs,
	Npgsql/NpgsqlTransaction.cs,
	Npgsql/Design/ConnectionStringEditor.cs,
	Npgsql/Design/ConnectionStringEditorForm.cs,
	Npgsql/Design/NpgsqlParameterConverter.cs,
	Npgsql/Design/NpgsqlParametersEditor.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
	Glen Parker ([email protected]): Bug #772 ("Using
	Command and Prepare adds single quotes to strings twice")
	is fixed  :-)   It was broken when running on the version 3
	protocol (extended query support) on PostgreSQL 7.4.
	Some of the files in Design were formatted with macintosh line
	terminators. This was screwing up the xmldoc generator in csc,
	so I reformatted to make it work.
	I've added some essential xmldoc comments (<summary> tags).  Much work
remains here, but I wanted to get a few in on common functions and
properties.

	The .build file will now generate the Npgsql.xml file, next to the .dll
file.  I removed the existing Npgsql.xml from CVS.

	Thanks Glen Parker for this patch.

svn path=/trunk/mcs/; revision=27877
2004-05-22 16:44:57 +00:00
Francisco Figueiredo Jr. 7d2226c132 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
        NpgsqlBackEndKeyData.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlCommand.cs,
        NpgsqlConnectedState.cs,
        NpgsqlConnection.cs,
        NpgsqlConnection.resx,
        NpgsqlConnector.cs,
        NpgsqlConnectorPool.cs,
        NpgsqlError.cs,
        NpgsqlMediator.cs,
        NpgsqlMessageTypes.cs,
        NpgsqlPasswordPacket.cs,
        NpgsqlQuery.cs,
        NpgsqlRowDescription.cs,
        NpgsqlStartupPacket.cs,
        NpgsqlState.cs,
        PGUtil.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
        - split more protocol handlers between version 2 and version 3
        - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
        - store BackendKeyData in its own member on Mediator
        - Store ParameterStatus objects in a key map on Mediator
        - Get backend version now from the Mediator if possible
        - Rewrite parsers for server version and connection string
        - Store server version numericially (in a new class ServerVersion)
        - As usual, lots of code cleanup/commenting/etc.

        Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27876
2004-05-22 16:36:46 +00:00
Marek Safar aaf30086d7 2004-05-22 Marek Safar <[email protected]>
* attribute.cs: Fix bug #55970

svn path=/trunk/mcs/; revision=27875
2004-05-22 16:28:29 +00:00
Zoltan Varga 8a68ae48b4 2004-05-22 Zoltan Varga <[email protected]>
* mini.c (inline_method): Allways inline some wrappers even if the cost
	is too large. Fixes #58785.

	* mini.c: Add support for MARSHAL_CONV_FTN_DEL.

svn path=/trunk/mono/; revision=27874
2004-05-22 16:17:35 +00:00
Zoltan Varga 5e0b82b772 2004-05-22 Zoltan Varga <[email protected]>
* marshal.h marshal.c metadata.h: Add beginnings of support for
	ftnptr -> delegate marshalling.

svn path=/trunk/mono/; revision=27873
2004-05-22 16:16:03 +00:00
Marek Safar fcddd26bcd 2004-05-22 Marek Safar <[email protected]>
Fix bug #52705
	* attribute.cs
	(GetObsoleteAttribute): New method. Creates the instance of
	ObsoleteAttribute.
	(AttributeTester.GetMemberObsoleteAttribute): Returns instance of
	ObsoleteAttribute when method is obsolete.
	(AttributeTester.Report_ObsoleteMessage): Common method for
	Obsolete error/warning reporting.

	* class.cs
	(TypeContainer.base_classs_type): New member for storing parent type.

	* decl.cs
	(MemberCore.GetObsoleteAttribute): Returns instance of ObsoleteAttribute
	for this MemberCore.

svn path=/trunk/mcs/; revision=27872
2004-05-22 15:36:43 +00:00
Atsushi Eno d7c2e3753a 2004-05-22 Atsushi Enomoto <[email protected]>
* XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.

svn path=/trunk/mcs/; revision=27870
2004-05-22 15:16:02 +00:00
Sebastien Pouliot cd21cc027f 2004-05-22 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear a multidimentional array.

svn path=/trunk/mcs/; revision=27869
2004-05-22 14:59:07 +00:00
Sebastien Pouliot 850dd9a2f3 2004-05-22 Sebastien Pouliot <[email protected]>
* ArrayTest.cs: Added a new test to clear a jagged array.

svn path=/trunk/mcs/; revision=27868
2004-05-22 14:50:18 +00:00
Jordi Mas i Hernandez 68751ce1c2 ImageAttributes sample
svn path=/trunk/mcs/; revision=27866
2004-05-22 14:31:53 +00:00
Sebastien Pouliot 73901e647f 2004-05-22 Sebastien Pouliot <[email protected]>
* UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
	constructor unless we're on a 64 bits machine.

svn path=/trunk/mcs/; revision=27865
2004-05-22 14:04:59 +00:00
Sebastien Pouliot 28fb1381e1 2004-05-22 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added UIntPtrTest to the build.

svn path=/trunk/mcs/; revision=27864
2004-05-22 14:02:47 +00:00
Sebastien Pouliot fc82ab0f27 2004-05-22 Sebastien Pouliot <[email protected]>
* UIntPtrTest.cs: New. Tests for 32/64 bits behaviour of UIntPtr.

svn path=/trunk/mcs/; revision=27863
2004-05-22 14:01:38 +00:00
Sebastien Pouliot 76bc25fee3 2004-05-22 Sebastien Pouliot <[email protected]>
* IntPtr.cs: We now only accept 32bits values in the long constructor
	unless we're on a 64 bits machine.

svn path=/trunk/mcs/; revision=27862
2004-05-22 13:47:13 +00:00
Sebastien Pouliot bb95a9b54e 2004-05-22 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added IntPtrTest to the build.

svn path=/trunk/mcs/; revision=27861
2004-05-22 13:38:44 +00:00
Sebastien Pouliot 35a2c0856c 2004-05-22 Sebastien Pouliot <[email protected]>
* IntPtrTest.cs: New. Tests for 32/64 bits behaviour of IntPtr.
	* SingleTest.cs: Added tests to compare positive 0 and negative 0.

svn path=/trunk/mcs/; revision=27860
2004-05-22 13:34:07 +00:00
Duncan Mak 6f57519677 The file was mostly in DOS endings already, for the sake of
consistency, converted it all to DOS endings.
(ToType): When value is null, immediately return null and don't ever
throw a NullReferenceException. When conversionType is null, throw an
InvalidCastException. Give a better error message when attempting to
convert to a DBNull as well.

svn path=/trunk/mcs/; revision=27856
2004-05-22 08:09:39 +00:00
Miguel de Icaza 7665cb70ff 2004-05-10 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciCalls.cs:
		Added OCI calls OCICharSetToUnicode and OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
 		Changed statement encoding from UTF8 to OCIUnicodeToCharSet.
 	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
 		Changed string encoding from UTF8 to OCICharSetToUnicode.

svn path=/trunk/mcs/; revision=27855
2004-05-21 22:21:59 +00:00
Bernie Solomon f301225fa7 2004-05-21 Bernie Solomon <[email protected]>
* transform.c: ignore new LMF opcodes

svn path=/trunk/mono/; revision=27854
2004-05-21 21:18:39 +00:00
Jackson Harper 56ca124233 * driver.cs: More fiddling with paths.
svn path=/trunk/mcs/; revision=27853
2004-05-21 20:22:20 +00:00
Neale Ferguson 0620438d6e Remove debugging printfs
svn path=/trunk/mono/; revision=27852
2004-05-21 20:13:49 +00:00
Dick Porter 7d99c5cd37 File share mode notes
svn path=/trunk/mono/; revision=27851
2004-05-21 19:55:14 +00:00
Dick Porter dc53da821c 2004-05-21 Dick Porter <[email protected]>
* io.c (CreateFile): Check for existing share modes when opening
	a file.

	* handles.c:
	* handles-private.h:
	* daemon-messages.h:
	* daemon.c: Maintain a hash of file share modes, keying on device
	and inode (to cope with symlinks.)

svn path=/trunk/mono/; revision=27850
2004-05-21 19:46:43 +00:00
Atsushi Eno 87a6a67327 2004-05-21 Atsushi Enomoto <[email protected]>
* Manager.cs : It should not allow invalid encoding name such as
	  euc_jp and shift-jis.

svn path=/trunk/mcs/; revision=27849
2004-05-21 19:34:42 +00:00
Jackson Harper 2d1255fee8 oops
svn path=/trunk/mcs/; revision=27848
2004-05-21 19:05:43 +00:00
Sebastien Pouliot 020838c2c7 2004-05-21 Sebastien Pouliot <[email protected]>
* Decimal.cs: I say truncate but used floor :(

svn path=/trunk/mcs/; revision=27847
2004-05-21 19:04:42 +00:00
Sebastien Pouliot 66bcd1b91d 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added tests for negative values and large number
	parsing (> Int64).

svn path=/trunk/mcs/; revision=27846
2004-05-21 19:01:11 +00:00
Atsushi Eno 21b31d8da5 2004-05-21 Atsushi Enomoto <[email protected]>
* tools/uni2tab.c : non JIS X 0208 characters could not be decoded.
	  (It is hack!)
	* CJK/jis.table : updated using the latest uni2tab.c

svn path=/trunk/mcs/; revision=27845
2004-05-21 18:59:34 +00:00
Jackson Harper 24cdfee082 * driver.cs: Allow the root and gacdir to both be specified. In
this case they are combined.

svn path=/trunk/mcs/; revision=27844
2004-05-21 18:33:07 +00:00
Neale Ferguson dc8be3c947 Further JIT fixes for S390
svn path=/trunk/mono/; revision=27843
2004-05-21 18:32:16 +00:00
Marek Safar 534934f475 2004-05-21 Marek Safar <[email protected]>
* attribute.cs, const.cs: Fix bug #58590

svn path=/trunk/mcs/; revision=27842
2004-05-21 18:25:21 +00:00
Zoltan Varga 1abb878d0b 2004-05-21 Zoltan Varga <[email protected]>
* threads.c: Fix warnings.

svn path=/trunk/mono/; revision=27841
2004-05-21 18:16:06 +00:00
Zoltan Varga c8c185d620 2004-05-21 Zoltan Varga <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_ResetAbort): Fix compilation on gcc-2.95.

svn path=/trunk/mono/; revision=27840
2004-05-21 18:14:35 +00:00
Zoltan Varga 2e29b7b105 2004-05-21 Zoltan Varga <[email protected]>
* mini-sparc.c exceptions-sparc.c: Applied patch from Mark Crichton
	([email protected]). Beginning of support for sparc/linux.

	* mini-sparc.c: Optimize retrieval of LMF address.

svn path=/trunk/mono/; revision=27839
2004-05-21 17:22:56 +00:00
Jackson Harper c986b021fb * driver.cs: Do not allow gacdir and root to be specified at the
same time. Cleanup help. Add help for options.

svn path=/trunk/mcs/; revision=27838
2004-05-21 17:10:29 +00:00
Patrik Torstensson ef50c1b2e1 2004-05-21 Patrik Torstensson <[email protected]>
* TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.

	(AcceptTcpClient): Don't create TcpClient before a
	connection is accepted.

	(LocalEndPoint): Use Server LocalEndPoint if connected
	otherwise use endpoint from ctor.

	(Init): Save end point, not server endpoint. This did
	cause TcpListener to ignore port sent via constructor.

	(Pending): Fixed wait time (method should return directly)

	(Start): Moved Bind here instead of Init method; old method
	caused us to bind ports even if the listener was stopped.

	(Stop): Null server when stopping

svn path=/trunk/mcs/; revision=27837
2004-05-21 17:05:32 +00:00
César Natarén f773ee528a 2004-05-21 Cesar Lopez Nataren <[email protected]>
* Statement.cs: initial code generation of 'for'.

svn path=/trunk/mcs/; revision=27835
2004-05-21 16:27:55 +00:00
César Natarén 7e9b258ea5 updates from grammar changes for building for_stm ast
svn path=/trunk/mcs/; revision=27834
2004-05-21 16:14:29 +00:00
César Natarén 83c65824c1 *** empty log message ***
svn path=/trunk/mcs/; revision=27833
2004-05-21 16:11:41 +00:00
Martin Baulig eca5827d0f 2004-05-21 Martin Baulig <[email protected]>
* test-257.cs: New test for #28098.

svn path=/trunk/mcs/; revision=27832
2004-05-21 16:03:12 +00:00
Martin Baulig 16dc91b8c3 2004-05-21 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.MergeTopBlock): Don't check for
	out parameters if the end of the method is unreachable.  Fixes
	#58098.

svn path=/trunk/mcs/; revision=27831
2004-05-21 15:53:20 +00:00
Jackson Harper f7b798ebd6 * driver.cs: Add uninstall-specific option. This takes an assembly
file and uninstalls a matching named one from the GAC. Fix search
	string shenanigans when uninstalling.

svn path=/trunk/mcs/; revision=27830
2004-05-21 15:35:40 +00:00
Atsushi Eno a1ad65b95b 2004-05-21 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : NullReferenceException was thrown when
	  the table was not found.
	* DataRowCollection.cs :
	  Find() just returns null for null value under MS.NET 1.1.
	  RemoveAt() should also avoid to call AcceptChanges() like Remove().
	* UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
	  directly under MS.NET (for nunit test).

svn path=/trunk/mcs/; revision=27829
2004-05-21 15:29:30 +00:00
Sebastien Pouliot 5d408e4f96 2004-05-21 Sebastien Pouliot <[email protected]>
* Decimal.cs: Fixed To... methods that needs to trunk the integer part
	of Decimal (and not use the banker's rounding like Convert.To...).

svn path=/trunk/mcs/; revision=27828
2004-05-21 15:10:07 +00:00
Sebastien Pouliot 5d7daac707 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: But IConvertible does share Convert.To behaviour.

svn path=/trunk/mcs/; revision=27827
2004-05-21 15:08:02 +00:00
Sebastien Pouliot a735f6ebfb 2004-05-21 Sebastien Pouliot <[email protected]>
* DecimalTest.cs: Added new unit test to check for correct rounding.
	It appears that Decimal.To... trunk but Convert.To... use banking
	rounding (so we can't use Convert.To... to implement To...).

svn path=/trunk/mcs/; revision=27825
2004-05-21 14:32:36 +00:00
Gonzalo Paniagua Javier f957442c6c removed comment
svn path=/trunk/mono/; revision=27824
2004-05-21 14:01:15 +00:00
Marek Safar 63bb196907 2004-05-21 Marek Safar <[email protected]>
* test-256.cs: New test for #58590.

svn path=/trunk/mcs/; revision=27823
2004-05-21 13:57:16 +00:00
Miguel de Icaza b962e0d7ef Like this
svn path=/trunk/mono/; revision=27822
2004-05-21 13:48:10 +00:00
Paolo Molaro 1b0fe627cd More encoding fixes.
svn path=/trunk/mono/; revision=27820
2004-05-21 13:04:55 +00:00
Gonzalo Paniagua Javier 423cbb8537 2004-05-21 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
	* monowiz.win32.nsi: improved windows installer script.

svn path=/trunk/mono/; revision=27818
2004-05-21 13:00:03 +00:00
Gonzalo Paniagua Javier b7e5206d16 added comment to m_value field
svn path=/trunk/mcs/; revision=27817
2004-05-21 12:42:29 +00:00
Urs C. Muff e18f32c0fd Line ending fix
svn path=/trunk/mono/; revision=27816
2004-05-21 12:24:55 +00:00
Marek Safar 2a5ae6f05f 2004-05-21 Marek Safar <[email protected]>
* codegen.cs, cs-parser.jay: Removed SetAttributes method.
	Hari was right, why extra method.

svn path=/trunk/mcs/; revision=27815
2004-05-21 12:15:22 +00:00
Sebastien Pouliot daa6129e0e 2004-05-21 Sebastien Pouliot <[email protected]>
* Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
	to NaN compares (see new unit tests).

svn path=/trunk/mcs/; revision=27814
2004-05-21 12:07:48 +00:00
Sebastien Pouliot cfede82cd7 2004-05-21 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SingleTest to the build.

svn path=/trunk/mcs/; revision=27813
2004-05-21 11:47:20 +00:00
Sebastien Pouliot 0dcf2237c9 2004-05-21 Sebastien Pouliot <[email protected]>
* SingleTest.cs: New. Unit tests for Single (adapted from Double).

svn path=/trunk/mcs/; revision=27812
2004-05-21 11:44:03 +00:00
Marek Safar 85a4243208 2004-05-21 Marek Safar <[email protected]>
* attribute.cs, cs-parser.jay: Fix errors/cs0579-7.cs.

svn path=/trunk/mcs/; revision=27811
2004-05-21 11:42:47 +00:00
Paolo Molaro f2fb958ea4 Fri May 21 08:00:12 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c:  handle alloca in methods with clauses.

svn path=/trunk/mono/; revision=27809
2004-05-21 11:15:33 +00:00
Paolo Molaro a5dff37d61 Fri May 21 07:35:30 EDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: cleanups, off-by-one fixes, avoid recursive thunks.

svn path=/trunk/mono/; revision=27808
2004-05-21 10:51:09 +00:00
Raja R Harinath f9ea5d99fb remove doubled word, and slightly disambiguate a sentence.
svn path=/trunk/mono/; revision=27807
2004-05-21 09:56:06 +00:00
Raja R Harinath 57f7b34025 Update to include instructions for the various new
bootstrap-like targets.

svn path=/trunk/mono/; revision=27806
2004-05-21 08:51:29 +00:00
Atsushi Eno b13cbb2557 2004-05-21 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
	  caused problem on qualified name to get schema Field name.

svn path=/trunk/mcs/; revision=27803
2004-05-21 08:03:32 +00:00
Atsushi Eno d911c8c4e8 2004-05-21 Atsushi Enomoto <[email protected]>
* Uri.cs :
	  AbsoluteUri does not escape file URI string.
	  ToString() should unescape every file uri. MS.NET.ToString() does
	  not unescape '#' but it looks a bug.

svn path=/trunk/mcs/; revision=27802
2004-05-21 07:55:28 +00:00
Jackson Harper 3c53b46c3b * driver.cs: This is the new gacutil. Right now it wont get built,
after I do a little more testing I will make it the built/installed
	gacutil.

svn path=/trunk/mcs/; revision=27801
2004-05-21 07:21:08 +00:00
Atsushi Eno 1f9f45592a 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlDataReader.cs : Now data reader is namespace aware in all places.
	  When table's namespace is different, it entered to infinite loop.

svn path=/trunk/mcs/; revision=27800
2004-05-21 05:55:55 +00:00
Umadevi S 3b7e9b62a3 2004-05-21 Umadevi S <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs
          Fixed bug 55030. Included checking for size

svn path=/trunk/mcs/; revision=27799
2004-05-21 05:33:18 +00:00
Sebastien Pouliot cfd312dfb2 2004-05-20 Sebastien Pouliot <[email protected]>
* UTF7EncodingTest.cs, UnicodeEncodingTest.cs: Removed unused SetUp
	and TearDown to facilitate searches.

svn path=/trunk/mcs/; revision=27798
2004-05-21 01:24:26 +00:00
Sebastien Pouliot fc84e62f34 2003-05-20 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs, StrongNameTest.cs: SetUp is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27797
2004-05-21 01:22:17 +00:00
Sebastien Pouliot 9c9fd72996 2003-05-20 Sebastien Pouliot <[email protected]>
* PublisherIdentityPermissionTest.cs: SetUp is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27796
2004-05-21 01:18:43 +00:00
Sebastien Pouliot de2fd4fcac 2004-05-20 Sebastien Pouliot <[email protected]>
* X509CapiTest.cs: SetUp and TearDown are now public (required for new
	nunit).
	* X509SpcTest.cs: SetUp and TearDown are now public (required for new
	nunit).

svn path=/trunk/mcs/; revision=27795
2004-05-21 01:16:53 +00:00
Sebastien Pouliot b20fb36b80 2003-05-20 Sebastien Pouliot <[email protected]>
* SecurityElementTest.cs: SetUp is now public (required for new nunit).

svn path=/trunk/mcs/; revision=27794
2004-05-21 01:14:54 +00:00
Sebastien Pouliot 1ebda52a5a 2003-05-20 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: SetUp (renamed) is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27793
2004-05-21 01:13:09 +00:00
Sebastien Pouliot b4ad670189 2004-05-20 Sebastien Pouliot <[email protected]>
* MemoryStream.cs: SetUp is now	public (required for new nunit).

svn path=/trunk/mcs/; revision=27792
2004-05-21 01:10:40 +00:00
Sebastien Pouliot 5dedc57476 2004-05-20 Sebastien Pouliot <[email protected]>
* AppDomainTest.cs: Renamed Unload to TearDown (like it's attribute)
	to ease searches.

svn path=/trunk/mcs/; revision=27791
2004-05-21 01:09:02 +00:00
Sebastien Pouliot 2584b0aaf2 2004-05-20 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
	DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
	HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
	RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
	RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
	RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
	RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
	RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
	public (required for new nunit).

svn path=/trunk/mcs/; revision=27790
2004-05-21 01:03:41 +00:00
Sebastien Pouliot 6556ca5186 2004-05-20 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: SetUp is now public (required for new nunit).
	* ReferenceTest.cs: SetUp is now public (required for new nunit).

svn path=/trunk/mcs/; revision=27789
2004-05-21 00:58:23 +00:00
Jackson Harper dea02cc0e4 * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
svn path=/trunk/mcs/; revision=27788
2004-05-21 00:46:48 +00:00
Francisco Figueiredo Jr. cffa7d149e 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
        NpgsqlBackEndKeyData.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlCommand.cs,
        NpgsqlConnectedState.cs,
        NpgsqlConnection.cs,
        NpgsqlConnection.resx,
        NpgsqlConnector.cs,
        NpgsqlConnectorPool.cs,
        NpgsqlError.cs,
        NpgsqlMediator.cs,
        NpgsqlMessageTypes.cs,
        NpgsqlPasswordPacket.cs,
        NpgsqlQuery.cs,
        NpgsqlRowDescription.cs,
        NpgsqlStartupPacket.cs,
        NpgsqlState.cs,
        PGUtil.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
        - split more protocol handlers between version 2 and version 3
        - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
        - store BackendKeyData in its own member on Mediator
        - Store ParameterStatus objects in a key map on Mediator
        - Get backend version now from the Mediator if possible
        - Rewrite parsers for server version and connection string
        - Store server version numericially (in a new class ServerVersion)
        - As usual, lots of code cleanup/commenting/etc.

        Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27787
2004-05-21 00:05:13 +00:00
Francisco Figueiredo Jr. 737e46dcb5 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
NpgsqlAsciiRow.cs,
	NpgsqlBackEndKeyData.cs,
	NpgsqlBinaryRow.cs,
	NpgsqlCommand.cs,
	NpgsqlConnectedState.cs,
	NpgsqlConnection.cs,
	NpgsqlConnection.resx,
	NpgsqlConnector.cs,
	NpgsqlConnectorPool.cs,
	NpgsqlError.cs,
	NpgsqlMediator.cs,
	NpgsqlMessageTypes.cs,
	NpgsqlPasswordPacket.cs,
	NpgsqlQuery.cs,
	NpgsqlRowDescription.cs,
	NpgsqlStartupPacket.cs,
	NpgsqlState.cs,
	PGUtil.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
	- split more protocol handlers between version 2 and version 3
	- split MessageTypes class on ver2/ver3 and add remaining types for ver3	- removed handlers for deprecated protocol message types
	- store BackendKeyData in its own member on Mediator
	- Store ParameterStatus objects in a key map on Mediator
	- Get backend version now from the Mediator if possible
	- Rewrite parsers for server version and connection string
	- Store server version numericially (in a new class ServerVersion)
	- As usual, lots of code cleanup/commenting/etc.

	Thanks very much Glen Parker ([email protected]) for this patch.

svn path=/trunk/mcs/; revision=27786
2004-05-21 00:04:00 +00:00
Jackson Harper 9c7aa8ac9c * DirectoryInfo.cs: Create subdirectories correctly if more then
one is supplied.

svn path=/trunk/mcs/; revision=27785
2004-05-20 23:59:46 +00:00
Martin Baulig 4b29217cc6 Make this actually compile.
svn path=/trunk/mcs/; revision=27784
2004-05-20 23:17:31 +00:00
Urs C. Muff 1fc1a9d860 Initial checkin for Mono Mac Framework building script by Andy Satori
svn path=/trunk/mono/; revision=27783
2004-05-20 22:43:41 +00:00
Neale Ferguson cf0eedc202 More fixes for code generation (CONV_I1/CONV_I2)
svn path=/trunk/mono/; revision=27782
2004-05-20 21:20:38 +00:00
Sebastien Pouliot ced9344e95 2004-05-20 Sebastien Pouliot <[email protected]>
* Convert.cs: Added checks for integer overflow for From|ToBase64Char.
	Also fixed the case where wide (16 bits) characters were converted to
	bytes.

svn path=/trunk/mcs/; revision=27781
2004-05-20 20:41:29 +00:00
Sebastien Pouliot 1efa9cec28 2004-05-20 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added new unit tests for integer overflow in To/From
	Base64CharArray. Added new test for wide char. Exploded some tests in
	NUnit2 format (to ease add new tests).

svn path=/trunk/mcs/; revision=27780
2004-05-20 20:24:53 +00:00
Lluis Sanchez f6c3bffae5 * interp.c, interp.h: Use the new methods for handling thread.abort.
svn path=/trunk/mono/; revision=27779
2004-05-20 20:19:08 +00:00
Lluis Sanchez 7ef569a756 * mini.c: Delegate most of the abort signal work to
mono_thread_request_interruption, which also handles Stop and Suspend
	  states.

svn path=/trunk/mono/; revision=27778
2004-05-20 20:17:53 +00:00
Lluis Sanchez 72164d6cc3 * daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
	* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
	  Only return an error in this case if there is something in the apc queue
	  (which means that it is an interruption requested by the "user").
	* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
	  true since the wait is small.
	* shared.c: Retry write calls when interrumped by a signal.
	* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
	  returns TRUE if there are pending asynchronous calls (APC) for the
	  provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
	  the enqueued APCs. Defined a new struct ApcInfo that holds information
	  about an enqueued APC.
	* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
	  as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
	  These last two methods call the corresponding apc methods in
	  thread-private using the provided thread handle.
	* threads.h: Added QueueUserAPC.
	* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
	* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
	  WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
	  for APCs in those two methods and also in SleepEx.

svn path=/trunk/mono/; revision=27777
2004-05-20 20:09:58 +00:00
Lluis Sanchez aee60f1e3e * daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
	* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
	  Only return an error in this case if there is something in the apc queue
	  (which means that it is an interruption requested by the "user").
	* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
	  true since the wait is small.
	* shared.c: Retry write calls when interrumped by a signal.
	* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
	  returns TRUE if there are pending asynchronous calls (APC) for the
	  provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
	  the enqueued APCs. Defined a new struct ApcInfo that holds information
	  about an enqueued APC.
	* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
	  as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
	  These last two methods call the corresponding apc methods in
	  thread-private using the provided thread handle.
	* threads.h: Added QueueUserAPC.
	* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
	* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
	  WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
	  for APCs in those two methods and also in SleepEx.

svn path=/trunk/mono/; revision=27776
2004-05-20 20:04:40 +00:00
Lluis Sanchez 49228e033d * Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
Added internal interruption_requested field.

svn path=/trunk/mcs/; revision=27775
2004-05-20 20:02:44 +00:00
Patrik Torstensson bde175a9f7 2004-05-20 Patrik Torstensson
* Hostname.cs: Test for hostname crash

svn path=/trunk/mono/; revision=27774
2004-05-20 19:33:58 +00:00
Gert Driesen 5c0e9dc92e * OleDbPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27773
2004-05-20 19:18:03 +00:00
Gert Driesen 3ac272d35b * OdbcPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27772
2004-05-20 19:16:40 +00:00
Gert Driesen 8663c97122 * DbDataPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27771
2004-05-20 19:15:27 +00:00
Gert Driesen a72f4f118c * SqlClientPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27770
2004-05-20 19:13:10 +00:00
Gert Driesen 2e472fe368 * EventLogPermissionAttribute.cs:
* PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
and Inherited to match .NET

svn path=/trunk/mcs/; revision=27769
2004-05-20 18:56:34 +00:00
Marek Safar ff0310677a Added more test code
svn path=/trunk/mcs/; revision=27768
2004-05-20 18:46:35 +00:00
Atsushi Eno ccdf2e0bc1 2004-05-20 Atsushi Enomoto <[email protected]>
* OracleCommandBuilder.cs : Added (stub).
	* OracleString.cs : Implemented missing bits.

svn path=/trunk/mcs/; revision=27766
2004-05-20 17:59:36 +00:00
Boris Kirzner b0ca597d50 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers for primitive types reviewed. Added check for null values when reading from IDataRecord.
svn path=/trunk/mcs/; revision=27765
2004-05-20 17:35:22 +00:00
Boris Kirzner 91c5bbb326 * MergeManager.cs : AdjustSchema now updates by reference new created table, so in Merge you do not need to lookup for it (were unable to do this for unnamed tables). Code styling.
svn path=/trunk/mcs/; revision=27764
2004-05-20 17:29:12 +00:00
Boris Kirzner d78c46d04e * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
* DataColumnCollection.cs : fixed parantethes.
* DataRow.cs :
- AcceptChanges : do nothing if row state is unchanged.
- GetChildRows, GetParentRows  : bug fix (use correct index).
* DataRowCollection.cs : bug fix (compare all row's values).
* DataTable.cs : bug fix (use correct row version).

svn path=/trunk/mcs/; revision=27763
2004-05-20 17:26:23 +00:00
Marek Safar bb56009ae6 New test
svn path=/trunk/mcs/; revision=27761
2004-05-20 16:41:15 +00:00
Atsushi Eno 12549f8418 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
	  When content type is Mixed, text column is not required (it is
	  required only when the complex type has no particle).
	  "Repeated element" column is also created (considering maxOccurs=0
	  and complex content extension).

svn path=/trunk/mcs/; revision=27759
2004-05-20 15:16:41 +00:00
Atsushi Eno e9ecb880af 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
	  properly.

svn path=/trunk/mcs/; revision=27757
2004-05-20 13:56:00 +00:00
Martin Baulig c5b0f1a534 Small fix from Raja.
svn path=/trunk/mcs/; revision=27756
2004-05-20 13:45:12 +00:00
Martin Baulig 0fd37e4030 2004-05-20 Martin Baulig <[email protected]>
* delegate.cs: Convert this file to Unix mode - like the original
	version in mcs is.

svn path=/trunk/mcs/; revision=27755
2004-05-20 13:38:23 +00:00
Martin Baulig dafa3b82c0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27754
2004-05-20 13:32:19 +00:00
Martin Baulig 04b1daf7bf 2004-05-20 Martin Baulig <[email protected]>
Merged this back from gmcs to keep the differences to a minumum.

	* attribute.cs (Attribute.CheckAttributeType): Take an EmitContext
	instead of a Declspace.
	(Attribute.ResolveType): Likewise.
	(Attributes.Search): Likewise.
	(Attributes.Contains): Likewise.
	(Attributes.GetClsCompliantAttribute): Likewise.

	* class.cs (TypeContainer.VerifyMembers): Added EmitContext
	argument.
	(MethodData.ApplyAttributes): Take an EmitContext instead of a
	DeclSpace.

svn path=/trunk/mcs/; revision=27753
2004-05-20 13:23:04 +00:00
Martin Baulig d17436a244 Moved this to make diff happy.
svn path=/trunk/mcs/; revision=27752
2004-05-20 13:01:34 +00:00
Martin Baulig c0102e3f8c Whitespace changes to make this more similar to the mcs version.
svn path=/trunk/mcs/; revision=27751
2004-05-20 12:58:53 +00:00
Zoltan Varga 2a8360eba0 2004-05-20 Zoltan Varga <[email protected]>
* mini.c: Allow inlining of icall wrappers if the backend supports
	the save/restore lmf opcodes.

svn path=/trunk/mono/; revision=27750
2004-05-20 12:53:35 +00:00
Zoltan Varga 3fd6bd21d6 2004-05-20 Zoltan Varga <[email protected]>
* marshal.c: Insert SAVE_LMF and RESTORE_LMF opcodes around native
	calls.

svn path=/trunk/mono/; revision=27749
2004-05-20 12:50:53 +00:00
Atsushi Eno 5cd8619543 2004-05-20 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
	  Fixed relation inference to consider attribute XPath.

svn path=/trunk/mcs/; revision=27748
2004-05-20 12:49:43 +00:00
Zoltan Varga f284ad8dc6 2004-05-20 Zoltan Varga <[email protected]>
* opcode.def: Add mono_save_lmf and mono_restore_lmf.

svn path=/trunk/mono/; revision=27747
2004-05-20 12:48:40 +00:00
Martin Baulig 1a8c47aaca 2004-05-20 Martin Baulig <[email protected]>
* attribute.cs: Convert this file to Unix mode - like the original
	version in mcs is.

svn path=/trunk/mcs/; revision=27746
2004-05-20 12:48:25 +00:00
Martin Baulig 0e6af1f827 2004-04-20 Martin Baulig <[email protected]>
Merged latest changes into gmcs.  Please keep this comment in
	here, it makes it easier for me to see what changed in MCS since
	the last time I merged.

svn path=/trunk/mcs/; revision=27745
2004-05-20 12:28:27 +00:00
Martin Baulig 38a6d54fcb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27744
2004-05-20 12:26:41 +00:00
Martin Baulig aff5a6b8e0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27743
2004-05-20 12:24:59 +00:00
Martin Baulig 287977829c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27742
2004-05-20 12:08:02 +00:00
Raja R Harinath 903e252fa1 Fix small thinko.
svn path=/trunk/mono/; revision=27741
2004-05-20 11:19:59 +00:00
Raja R Harinath 3eb4ea1425 Fix typo.
svn path=/trunk/mono/; revision=27740
2004-05-20 11:11:44 +00:00
Raja R Harinath 5436b3fb25 (get-monolite-latest, monolite-bootstrap):
New bootstrap targets to build from monolite.
Based on idea from Jaroslaw Kowalski <[email protected]>.

svn path=/trunk/mono/; revision=27739
2004-05-20 11:06:42 +00:00
Marek Safar 3982c48f6e 2004-05-20 Marek Safar <[email protected]>
* test-255.cs: New test.

svn path=/trunk/mcs/; revision=27738
2004-05-20 10:56:16 +00:00
Marek Safar 0492599cb0 New test
svn path=/trunk/mcs/; revision=27737
2004-05-20 10:44:14 +00:00
Raja R Harinath f9078c0a01 (PROGRAM_COMPILE): Define to $(BOOT_COMPILE).
svn path=/trunk/mcs/; revision=27736
2004-05-20 10:41:26 +00:00
Raja R Harinath 4d72b23005 (%.resources): Use INTERNAL_RESGEN.
svn path=/trunk/mcs/; revision=27735
2004-05-20 10:41:09 +00:00
Raja R Harinath 0f06a4fb24 * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
for library to be tested.
* rules.make (INTERNAL_RESGEN): New Define.
* library.make (run-test-local): Move commands to run-test-lib.
Preparartion for allowing creation of addition test dll with .vb
testcases.
* executable.make (PROGRAM_COMPILE): New define.
($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.

svn path=/trunk/mcs/; revision=27734
2004-05-20 10:40:50 +00:00
Raja R Harinath 1138dbc32c (SUBDIRS): Move 'monoresgen' ahead of 'class'.
svn path=/trunk/mcs/; revision=27733
2004-05-20 10:40:31 +00:00
Raja R Harinath 49bc3c3e85 * configure.in (AC_OUTPUT): Add tools/Makefile and
tools/locale-builder/Makefile.
* Makefile.am (SUBDIRS): Remove tools.
(DIST_SUBDIRS): Add 'tools'.
(bootstrap): Rewrite so that we get two new targets.
(faststrap): New two-stage build.
(fasterstrap): New one-stage build.

Make 'faststrap' and 'fasterstrap' are useful for continuing development
once you've bootstrapped a mono/ CVS checkout.

svn path=/trunk/mono/; revision=27732
2004-05-20 10:26:46 +00:00
Sanja Gupta ab2398148d ChangeLog: Updated ChangeLog.
Icon.cs: Fixed issue with Size property.

svn path=/trunk/mcs/; revision=27731
2004-05-20 10:19:19 +00:00
Sanja Gupta f5bd124831 ChangeLog: Updated ChangeLog
TestIcon.cs: Added.
bitmaps/smiley.ico: Added.

svn path=/trunk/mcs/; revision=27730
2004-05-20 10:09:03 +00:00
Sanja Gupta 3d694370cf ChangeLog: Updated ChangeLog
System.Drawing_test.dll.sources: Added TestIcon.cs to the source list.

svn path=/trunk/mcs/; revision=27729
2004-05-20 10:04:19 +00:00
Umadevi S e3ae8dc698 2004-05-20 Umadevi S <[email protected]>
* Fixed bug 58406- implemented the hasrow method, test program used
         to test with the bug report

svn path=/trunk/mcs/; revision=27728
2004-05-20 09:51:47 +00:00
Atsushi Eno 562b65fc66 2004-05-20 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : Added tests for msxsl:node-set().

svn path=/trunk/mcs/; revision=27727
2004-05-20 08:44:01 +00:00
Atsushi Eno 7efc4e561b 2004-05-20 Atsushi Enomoto <[email protected]>
* Expression.cs : We should not catch all kind of exception. Just
	  throwing any kind of exception would be preferable.
	  Added support for XPathNavigator values.

svn path=/trunk/mcs/; revision=27726
2004-05-20 08:42:32 +00:00
Atsushi Eno 7580260949 2004-05-20 Atsushi Enomoto <[email protected]>
* XslCopyOf.cs : When evaluation result was result tree fragment (i.e.
	  XPathNavigator) output its content (children).
	* XslNumber.cs : Reflected CompilePattern() change.
	* XslTemplateContent.cs : Don't throw System.Exception.
	* XslVariable.cs : XslVariableInformation.Evaluate() now returns
	  XPathNavigator, not NodeSet (it should not return "children", since
	  the node pointed by XPathNavigator should be referenced as Root).

svn path=/trunk/mcs/; revision=27725
2004-05-20 08:42:04 +00:00
Atsushi Eno ff370646d6 2004-05-20 Atsushi Enomoto <[email protected]>
* Compiler.cs :
	  - CompilePattern() now throws XsltCompileException for invalid
	    pattern, and add error location support.
	  - In Compiler.TryGetFunction(), compare namespace URI, not prefix.
	    Now it returns MSXslNodeSet instance (for msxsl:node-set).
	* Debug.cs : don't throw System.Exception.
	* XslFunctions.cs : Added MSXslNodeSet class.
	* XslTemplate.cs : reflected CompilePattern() change.
	* XslTransformProcessor.cs : don't throw System.Exception.
	* XsltCompiledContext.cs : don't throw System.Exception.

svn path=/trunk/mcs/; revision=27724
2004-05-20 08:41:12 +00:00
Atsushi Eno 23e602b3cc 2004-05-20 Atsushi Enomoto <[email protected]>
* Pattern.cs : don't throw System.Exception. Delegate error handling to
	  the only one caller CompilePattern().

svn path=/trunk/mcs/; revision=27723
2004-05-20 08:40:21 +00:00
Gonzalo Paniagua Javier b06f9960d5 warnings
svn path=/trunk/mono/; revision=27719
2004-05-20 00:00:19 +00:00
Gonzalo Paniagua Javier 3a53032bfa 2004-05-20 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* assembly.c:
	* gc.c:
	* locales.c:
	* mono-config.c:
	* rand.c: getenv -> g_getenv (windows!)

	* process.c: complete_path is also used on non-windows platforms.

svn path=/trunk/mono/; revision=27718
2004-05-19 23:55:44 +00:00
Jackson Harper 6b4a81594a * tools/
* tools/Makefile.am: Add tools directory
	* tools/locale-builder: Add the locale-builder tool, this tool is
	not built by default as it is only needed by people that wish to
	moidify culture data.
	* Makefile.am: Add tools to build

svn path=/trunk/mono/; revision=27717
2004-05-19 23:18:18 +00:00
Jackson Harper c4e495a504 Ignore Makefile
svn path=/trunk/mono/; revision=27716
2004-05-19 23:16:22 +00:00
Jackson Harper eab58f4b75 ignore generated table
svn path=/trunk/mono/; revision=27715
2004-05-19 23:15:41 +00:00
Jackson Harper 4b7bd9cb4d .cvsignore
svn path=/trunk/mono/; revision=27714
2004-05-19 23:14:53 +00:00
Jackson Harper 6efb874c14 supplemental locale data
svn path=/trunk/mono/; revision=27713
2004-05-19 23:13:38 +00:00
Jackson Harper a236e9766f Add locale builder
svn path=/trunk/mono/; revision=27712
2004-05-19 23:11:58 +00:00
Jackson Harper 5459ad227e * tools/
* tools/Makefile.am: Add tools directory
        CVS: ----------------------------------------------------------------------

svn path=/trunk/mono/; revision=27711
2004-05-19 23:10:38 +00:00
Gonzalo Paniagua Javier 9445db1057 2004-05-20 Gonzalo Paniagua Javier <[email protected]>
* monop.cs: give the correct assembly that fails loading or the type.

svn path=/trunk/mcs/; revision=27710
2004-05-19 23:05:23 +00:00
Gonzalo Paniagua Javier 8886aab23f Fix ChangeLog entry to tell the truth
svn path=/trunk/mcs/; revision=27708
2004-05-19 19:43:16 +00:00
Martin Baulig 954742c93e **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27707
2004-05-19 19:32:24 +00:00
Martin Baulig 20a4365920 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27706
2004-05-19 19:21:20 +00:00
Martin Baulig 5a4dadc551 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27705
2004-05-19 19:10:17 +00:00
Gert Driesen bc796a73b4 * AttributeTest.cs: added tests for Inherited and
AllowMultiple

svn path=/trunk/mcs/; revision=27703
2004-05-19 18:52:17 +00:00
Gert Driesen 57cf39129b * DebuggerHiddenAttribute.cs
* DebuggerStepThroughAttribute.cs : now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

svn path=/trunk/mcs/; revision=27702
2004-05-19 18:48:58 +00:00
Gert Driesen 31d549e2d1 * CustomConstantAttribute.cs
* DateTimeconstantAttribute.cs
* DecimalConstantAttribute.cs
* IDispatchConstantAttribute.cs
* IUnknownConstantAttribute.cs
* MethodImplAttribute.cs
* RequiredAttributeAttribute.cs: now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

svn path=/trunk/mcs/; revision=27701
2004-05-19 18:47:07 +00:00
Gert Driesen 5a74724324 * AutomationProxyAttribute.cs
* BestFitMappingAttribute.cs
        * ClassInterfaceAttribute.cs
        * CoClassAttribute.cs
        * ComAliasNameAttribute.cs
        * ComCompatibleVersionAttribute.cs
	* ComConversionLossAttribute.cs
	* ComEventInterfaceAttribute.cs
	* ComImportAttribute.cs
	* ComRegisterFunctionAttribute.cs
	* ComSourceInterfaceAttribute.cs
	* ComUnregisterFunctionAttribute.cs
	* Comvisible.cs
	* DispIdAttribute.cs
	* DllImportAttribute.cs
	* FieldOffsetAttribute.cs
	* GuidAttribute.cs
	* IDispatchImplAttribute.cs
	* ImportedFromTypeLibAttribute.cs
	* InAttribute.cs
	* InterfaceTypeAttribute.cs
	* LCIDConversionAttribute.cs
	* MarshalAsAttribute.cs
	* OptionalAttribute.cs
	* OutAttribute.cs
	* PreserveSigAttribute.cs
	* PrimaryInteropAssemblyAttribute.cs
	* ProgIdAttribute.cs
	* StructLayoutAttribute.cs
	* TypeLibFuncAttribute.Cs
	* TypeLibTypeAttribute.cs
	* TypeLibVarAttribute.cs
	* TypeLibVersionAttribute.cs now that Inherited is
	false by default on AttributeUsageAttribute (as it
	should be) we need to explicitly set Inherited to
	false for those attributes should where it should be
	false.

svn path=/trunk/mcs/; revision=27700
2004-05-19 18:42:54 +00:00
Gert Driesen e0f962b280 * ThreadStaticAttribute.cs
* ContextStaticAttribute.cs
* FlagsAttribute.cs
* ObsoleteAttribute.cs : now that Inherited is false by
default on AttributeUsageAttribute (as it should be) we
need to explicitly set Inherited to false for those
attributes should it be be false.

svn path=/trunk/mcs/; revision=27699
2004-05-19 18:33:38 +00:00
Gert Driesen 086e51d57e * AttributeUsageAttribute.cs: Inherited property should be
true by defaultrs.cs: respect Inherited property, and

svn path=/trunk/mcs/; revision=27698
2004-05-19 18:32:32 +00:00
Gert Driesen 6a3b002263 * MonoCustomAttrs.cs: respect Inherited property, and
AllowMultiple property of a CustomAttribute. This fixes
a major issue we had with respect to custom attributes.

svn path=/trunk/mcs/; revision=27697
2004-05-19 18:23:02 +00:00
Gonzalo Paniagua Javier 411dc70043 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* icall.c: new signature for Process_Start.

	* process.[ch]: new signature for Process_Start. If we're on windows
	and UseShellExecute is false, we have to search for the program by
	ourselves if we don't get a full path.

svn path=/trunk/mono/; revision=27696
2004-05-19 17:59:26 +00:00
Gonzalo Paniagua Javier d41151034a 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: separate the command and the arguments when calling
	Start_internal.

svn path=/trunk/mcs/; revision=27695
2004-05-19 17:59:11 +00:00
Gert Driesen 65b9ee31d4 * AttributeTest.cs: formatting, and remove commented
code

svn path=/trunk/mcs/; revision=27689
2004-05-19 16:42:02 +00:00
Paolo Molaro 68bfe3719c Wed May 19 13:22:19 EDT 2004 Paolo Molaro <[email protected]>
* configure.in: make MacOSX default to use the included libgc.

svn path=/trunk/mono/; revision=27688
2004-05-19 16:38:37 +00:00
Marek Safar 24a9a0ce48 2004-05-19 Marek Safar <[email protected]>
Fix bug #58688 (MCS does not report error when the same attribute
	is assigned twice)

	* attribute.cs (Attribute.Emit): Distinction between null and default.

svn path=/trunk/mcs/; revision=27687
2004-05-19 16:34:34 +00:00
Gonzalo Paniagua Javier 84943987e3 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: redirecting I/O is not permitted if UseShellExecute is
	false. Also throw if FileName is null.

svn path=/trunk/mcs/; revision=27684
2004-05-19 16:10:46 +00:00
Atsushi Eno 8a17df5cd8 2004-05-19 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : Added System.Xml.Schema/CustomSerializer.cs

svn path=/trunk/mcs/; revision=27681
2004-05-19 14:57:51 +00:00
Atsushi Eno 1b720ab0bd 2004-05-19 Atsushi Enomoto <[email protected]>
* CustomSerializer.cs : Added custom serializer for XmlSchema, that is
	  generated by SerializationCodeGenerator and edited a bit.
	* XmlSchema.cs : Use XmlSchemaSerializationWriter.

svn path=/trunk/mcs/; revision=27680
2004-05-19 14:57:24 +00:00
Marek Safar 0b29f2df3b 2004-05-19 Marek Safar <[email protected]>
* cs0579-6.cs: New test for bug #58688.

svn path=/trunk/mcs/; revision=27677
2004-05-19 14:38:20 +00:00
Martin Baulig 6388883b62 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27676
2004-05-19 14:38:01 +00:00
Martin Baulig 681f649bfb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27675
2004-05-19 14:38:01 +00:00
Miguel de Icaza af6ff4763b Flush
svn path=/trunk/mono/; revision=27674
2004-05-19 14:15:29 +00:00
Martin Baulig 4ee1800ffc **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27673
2004-05-19 14:06:39 +00:00
Martin Baulig 79e7806ea5 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27672
2004-05-19 14:00:31 +00:00
Zoltan Varga 8fc5d2f120 2004-05-19 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Handle code generated
	by gcc-3.4 as well.

	* mini-x86.h mini-x86.c tramp-x86.c: Optimize lmf restoring code.

svn path=/trunk/mono/; revision=27671
2004-05-19 13:17:05 +00:00
Martin Baulig 856cd84f60 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27670
2004-05-19 13:05:18 +00:00
Martin Baulig a3d0b0b6d2 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27669
2004-05-19 12:55:49 +00:00
Martin Baulig 21534e005f **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27668
2004-05-19 12:43:33 +00:00
Martin Baulig b1801db9eb **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27667
2004-05-19 12:35:05 +00:00
Raja R Harinath 3d11af4fd0 * cs-parser.jay (attribute): Create a GlobalAttribute for the case
of a top-level attribute without an attribute target.
* attribute.cs (Attribute.Error_AttributeConstructorMismatch):
Make non-static.
(Attribute.Conditional_GetConditionName),
(Attribute.Obsolete_GetObsoleteMessage): Update.
(Attribute.IndexerName_GetIndexerName): New.  Attribute-specific
part of ScanForIndexerName.
(Attribute.CanIgnoreInvalidAttribute): New function.
(Attribute.ScanForIndexerName): Move to ...
(Attributes.ScanForIndexerName): ... here.
(Attributes.Attrs): Rename from now-misnamed AttributeSections.
(Attributes.Search): New internal variant that can choose not to
complain if types aren't resolved.  The original signature now
complains.
(Attributes.GetClsCompliantAttribute): Use internal variant, with
complaints suppressed.
(GlobalAttribute.CheckAttributeType): Overwrite ds.NamespaceEntry
only if it not useful.
(CanIgnoreInvalidAttribute): Ignore assembly attribute errors at
top-level for attributes that are shared between the assembly
and a top-level class.
* parameter.cs (ImplicitParameter): Rename from ParameterAtribute.
* class.cs: Update to reflect changes.
(DefineIndexers): Fuse loops.
* codegen.cs (GetAssemblyName): Update to reflect changes.  Accept
a couple more variants of attribute names.

(cleans up some issues with Marek's patch.  Most importantly, it fixes
a breaking build: errors/CS0618-2-lib.dll)

svn path=/trunk/mcs/; revision=27666
2004-05-19 12:18:11 +00:00
Zoltan Varga 436e4e989a 2004-05-18 Zoltan Varga <[email protected]>
* configure.in: Get rid of -DMONO_USE_EXC_TABLES.

svn path=/trunk/mono/; revision=27665
2004-05-19 12:09:53 +00:00
Sebastien Pouliot d502be2267 2004-05-19 Sebastien Pouliot <[email protected]>
* PKCS7.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=27664
2004-05-19 12:05:50 +00:00
Atsushi Eno b22296f1b6 2004-05-19 Atsushi Enomoto <[email protected]>
* DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
	  always fails.

svn path=/trunk/mcs/; revision=27663
2004-05-19 11:48:24 +00:00
Sebastien Pouliot 66bce2561f 2004-05-19 Jesper Pedersen <[email protected]>
* PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
	Added support for calculating signature from SignedData content (i.e.
	when UseAuthenticatedAttributes is false). Added contentType to
	AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes
	is true).

svn path=/trunk/mcs/; revision=27662
2004-05-19 11:24:52 +00:00
Martin Baulig bce2e1bb6a **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27661
2004-05-19 10:53:16 +00:00
Martin Baulig b405f11d8c **** Merged from MCS ****
svn path=/trunk/mcs/; revision=27660
2004-05-19 10:42:15 +00:00
Boris Kirzner 899387a887 * DataColumn.cs - removed default member attribute.
svn path=/trunk/mcs/; revision=27659
2004-05-19 10:37:40 +00:00
Martin Baulig 890e868737 Moved the marker.
svn path=/trunk/mcs/; revision=27658
2004-05-19 10:34:56 +00:00
Martin Baulig 3ef288611d **** Merged from MCS ****
(Last time I merged, I forgot the ChangeLog).

svn path=/trunk/mcs/; revision=27657
2004-05-19 10:33:39 +00:00
Martin Baulig 70ce6b2ff0 Moved the marker.
svn path=/trunk/mcs/; revision=27656
2004-05-19 10:17:28 +00:00
Boris Kirzner 033e708f3c * RecordCache.cs - added. Each instance of record cache belongs to specific table and manages pool of records ( indexes into data containers) to be used by data rows.
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays of primitives or objects. Each data container belongs to specific DataColumn.
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable ( to fetch exact number of records required ).

svn path=/trunk/mcs/; revision=27655
2004-05-19 09:46:00 +00:00
Boris Kirzner 256439e2eb * System.Data.dll.sources : Added DataContainer.cs, RecordCache.cs
svn path=/trunk/mcs/; revision=27654
2004-05-19 09:39:27 +00:00
Boris Kirzner 0c5044e5f0 * DataColumn.cs, DataColumnChangeEventArgs.cs, DataColumnCollection.cs, DataRow.cs, DataRowCollection.cs, DataTable.cs, Index.cs : Data storage in the row is redesigned. Now data is stored in typed containers inside DataColumn. Row holds its versions as indexes inside each of data container, accessed through the row that holds it.
svn path=/trunk/mcs/; revision=27653
2004-05-19 09:30:15 +00:00
Boris Kirzner b0324213db * UniqueConstraint.cs - added comment.
svn path=/trunk/mcs/; revision=27652
2004-05-19 09:04:44 +00:00
Gert Driesen b73f20514c * MonoType.cs: throw ArgumentNullException when type parameter in
GetCustomAttributes(Type, bool) is null

svn path=/trunk/mcs/; revision=27651
2004-05-19 09:00:58 +00:00
Atsushi Eno cdf2f09c71 2004-05-19 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
	  constraints and parent keys.

svn path=/trunk/mcs/; revision=27648
2004-05-19 07:17:44 +00:00
Atsushi Eno 92d6b1bec2 2004-05-19 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
	  DataSet.

svn path=/trunk/mcs/; revision=27647
2004-05-19 07:16:23 +00:00
Raja R Harinath ceffb58197 * configure.in: Use proper autoconf idiom to pass additional
arguments to libgc/configure.
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
* acconfig.h: Update to reflect changes.

svn path=/trunk/mono/; revision=27644
2004-05-19 03:42:02 +00:00
Gonzalo Paniagua Javier 6aa078964e 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: force = true requested by Miguel.

svn path=/trunk/mcs/; revision=27643
2004-05-19 02:00:03 +00:00
César Natarén a5f40f69b2 updates from grammar changes
svn path=/trunk/mcs/; revision=27640
2004-05-19 01:18:06 +00:00
César Natarén 79763abfaa 2004-05-18 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: let's build Try/Catch/Finally ast.

svn path=/trunk/mcs/; revision=27639
2004-05-19 01:13:59 +00:00
César Natarén 51e63f0e42 2004-05-18 Cesar Lopez Nataren <[email protected]>
* expression.cs: handle Try case for field or local vars allocation.

svn path=/trunk/mcs/; revision=27638
2004-05-19 01:08:51 +00:00
César Natarén 199306c26c 2004-05-18 Cesar Lopez Nataren <[email protected]>
* Try.cs: implemented Emit.
	* Throw.cs: implemented code generation.

svn path=/trunk/mcs/; revision=27637
2004-05-19 01:06:00 +00:00
César Natarén 556aa1468e 2004-05-18 Cesar Lopez Nataren <[email protected]>
* Throw.cs: implemented code generation.cs

svn path=/trunk/mcs/; revision=27636
2004-05-19 00:58:54 +00:00
César Natarén c06f369f0a 2004-05-18 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: cache some values.

svn path=/trunk/mcs/; revision=27633
2004-05-19 00:51:47 +00:00
Miguel de Icaza 0a7363d72f Remove debugging message
svn path=/trunk/mcs/; revision=27627
2004-05-18 20:36:15 +00:00
Miguel de Icaza 191afb9869 Add warning
svn path=/trunk/mcs/; revision=27626
2004-05-18 19:45:48 +00:00
Atsushi Eno 93ee6369f3 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed operator/ not to return positive always.
	  Halfly fixed ConvertToPrecScale() that was broken.

svn path=/trunk/mcs/; revision=27624
2004-05-18 19:36:51 +00:00
Zoltan Varga 77acfdd06f 2004-05-18 Zoltan Varga <[email protected]>
* marshal9.cs marshal10.cs: Fix custom marshalling tests.

svn path=/trunk/mono/; revision=27620
2004-05-18 19:08:19 +00:00
Zoltan Varga b1091e6ab4 2004-05-18 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Fix up custom
	marshalling and call CleanUpNativeData if needed. Fixes #58646.

svn path=/trunk/mono/; revision=27618
2004-05-18 19:06:36 +00:00
Marek Safar 5fd4e2751c Enabled test-254.cs
svn path=/trunk/mcs/; revision=27616
2004-05-18 18:44:56 +00:00
Atsushi Eno 454a3649fd 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs :
	  - .ctor() should check the valid scale range and throw
	    SqlTypeException.
	  - Value should copy the last int32 value fragment.
	  - Fixed Abs() and Ceiling() to return Null when the input is Null.
	  - Now AdjustScale() should not depend on Truncate() that keeps zero
	    digits correctly. So Round() before returning the final result.
	  - ToString() should insert '-' for minus values.
	  - operator+ should use larger scale of operands rather than smaller
	    scale.

svn path=/trunk/mcs/; revision=27615
2004-05-18 18:44:40 +00:00
Marek Safar 4e8b680d89 2004-05-18 Marek Safar <[email protected]>
Fix bug #52585 (Implemented explicit attribute declaration)

	* attribute.cs:
	(Attributable.ValidAttributeTargets): New abstract method. It gets
	list of valid attribute targets for explicit target declaration.
	(Attribute.Target): It holds target itself.
	(AttributeSection): Removed.
	(Attribute.CheckTargets): New method. It checks whether attribute
	target is valid for the current element.

	* class.cs:
	(EventProperty): New class. For events that are declared like
	property (with add and remove accessors).
	(EventField): New class. For events that are declared like field.
	class.cs

	* cs-parser.jay: Implemented explicit attribute target declaration.

	* class.cs, decl.cs, delegate.cs, enum.cs, parameter.cs:
	Override ValidAttributeTargets.

	* parameter.cs:
	(ReturnParameter): Class for applying custom attributes on
	the return type.
	(ParameterAtribute): New class. Class for applying custom
	attributes on the parameter type.

svn path=/trunk/mcs/; revision=27608
2004-05-18 18:28:40 +00:00
Zoltan Varga e033beea3f 2004-05-18 Zoltan Varga <[email protected]>
* mini.h mini.c (mini_method_compile): Only run abc removal pass on
	methods which contain array accesses.

	* mini.c (CEE_LDTOKEN): Handle this instruction correctly on bb
	boundaries. Fixes #58537.

	* iltests.il: Add regression test for #58537.

svn path=/trunk/mono/; revision=27607
2004-05-18 18:02:30 +00:00
Gert Driesen 752cd8ab7a * corlib_test.dll.sources: added PropertyInfoTest
svn path=/trunk/mcs/; revision=27606
2004-05-18 17:56:15 +00:00
Jordi Mas i Hernandez 62a16ab086 fixes GDI+ parameter call
svn path=/trunk/mcs/; revision=27605
2004-05-18 17:55:45 +00:00
Gert Driesen af7d2eaa1d * PropertyInfoTest.cs: New file. Added test for
bug #58661.

svn path=/trunk/mcs/; revision=27602
2004-05-18 17:19:41 +00:00
Gert Driesen 05ed4022f3 * MonoProperty.cs: return correct MethodInfo for
property with only a get or set method. Fixes
bug #58661.

svn path=/trunk/mcs/; revision=27601
2004-05-18 17:17:52 +00:00
Miguel de Icaza 442df184e6 Flush
svn path=/trunk/mono/; revision=27600
2004-05-18 16:27:54 +00:00
Miguel de Icaza c8b6382bfb Flush
svn path=/trunk/mono/; revision=27599
2004-05-18 16:23:12 +00:00
Patrik Torstensson 5b84854a7a 2004-05-18 Patrik Torstensson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Last part of
	fix for bug #58633 (releasing register to early).

svn path=/trunk/mono/; revision=27596
2004-05-18 15:36:49 +00:00
Miguel de Icaza 884d6fee74 Improve
svn path=/trunk/mono/; revision=27595
2004-05-18 15:14:44 +00:00
Miguel de Icaza 55c35d975a update
svn path=/trunk/mono/; revision=27594
2004-05-18 15:13:40 +00:00
Miguel de Icaza 97575ebbd2 Add new file
svn path=/trunk/mono/; revision=27593
2004-05-18 15:10:23 +00:00
Miguel de Icaza c21e20f026 2004-05-18 Miguel de Icaza <[email protected]>
* basic-long.cs: Add new regression test.

2004-05-18  Patrik Torstensson <[email protected]>

	* mini-x86.c (mono_arch_local_regalloc): Avoid releasing a
	register too early on the chain.

svn path=/trunk/mono/; revision=27591
2004-05-18 14:16:52 +00:00
Atsushi Eno 8426c230c9 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimalTest.cs : Don't use unreliable SqlDecimal to test
	  Truncate(). Just use decimal.

svn path=/trunk/mcs/; revision=27590
2004-05-18 14:14:03 +00:00
Atsushi Eno d356c5ad90 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed Truncate() to work fine.
	* SqlMoney.cs : Added one hack line in operator/ to work fine.

svn path=/trunk/mcs/; revision=27589
2004-05-18 14:12:03 +00:00
Miguel de Icaza f83b3edda4 Update
svn path=/trunk/mono/; revision=27588
2004-05-18 13:49:14 +00:00
Sebastien Pouliot d0a31f5034 2004-05-18 Sebastien Pouliot <[email protected]>
* ASN1Convert.cs: In sync with Mono.Security.dll version.
	* StrongName.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=27587
2004-05-18 13:43:17 +00:00
Sebastien Pouliot 916c8ae86f 2004-05-18 Sebastien Pouliot <[email protected]>
* Assembly.cs: Return an empty Evidence collection to avoid
	NullReferenceException from calling code (as this is never
	null with MS implementation). See bugzilla #53548.

svn path=/trunk/mcs/; revision=27586
2004-05-18 13:02:33 +00:00
Sebastien Pouliot 75dacf7bbd 2004-05-18 Sebastien Pouliot <[email protected]>
* Buffer.cs: Added checks for null source and destination. Fix failing
	CryptoStream unit test.
	* Guid.cs: Fixed thread-safety issue. Simplified implementation to use
	pseudo-random numbers to generate GUIDs (as per section 3.4 of the
	spec). This removes the TODO to get the computer MAC address and
	the chances to get a duplicate GUID (across different machines).

svn path=/trunk/mcs/; revision=27585
2004-05-18 12:04:04 +00:00
Ravindra 18b476a537 * CustomLineCap.cs: Added null checks and corrected Dispose method.
svn path=/trunk/mcs/; revision=27584
2004-05-18 11:52:34 +00:00
Ravindra c945b94ae9 * Pen.cs: Added value checks in DashPattern and CompoundArray
properties.

svn path=/trunk/mcs/; revision=27583
2004-05-18 11:49:42 +00:00
Sebastien Pouliot e2f8d7c4f9 2005-05-18 Sebastien Pouliot <[email protected]>
* BufferTest.cs: Added missing tests for BlockCopy exceptions.

svn path=/trunk/mcs/; revision=27582
2004-05-18 11:43:42 +00:00
Sanja Gupta 82ec1082b2 ChangeLog: Updated ChangeLog
TestImageFormatConverter.cs: Fixed issues with test case.

svn path=/trunk/mcs/; revision=27581
2004-05-18 11:36:29 +00:00
Sanja Gupta d2020ddbb6 ChangeLog: UpdateChangeLog
TestImageConverter.cs: Fixed issues with test case

svn path=/trunk/mcs/; revision=27580
2004-05-18 11:25:20 +00:00
Sanja Gupta fc9972c2d3 ChangeLog: Updated ChangeLog.
TestIconConverter.cs: Fixed issues with test case.

svn path=/trunk/mcs/; revision=27579
2004-05-18 11:12:42 +00:00
Zoltan Varga ff9b2c5410 2004-05-18 Zoltan Varga <[email protected]>
* mini.c (create_helper_signature): Use a helper function to reduce
	the code which needs to be written. Also set the calling convention of
	icalls on windows. Fixes #57840.

svn path=/trunk/mono/; revision=27578
2004-05-18 10:55:15 +00:00
Paolo Molaro ee07ba426d Tue May 18 11:05:18 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, exceptions-x86.c, exceptions-sparc.c, exceptions-s390.c,
	exceptions-ppc.c: added helper function to get the instruction address
	from a signal handler context.

svn path=/trunk/mono/; revision=27577
2004-05-18 08:27:58 +00:00
Ravindra 644e89a1c7 Minor sentence corrections.
svn path=/trunk/mcs/; revision=27576
2004-05-18 08:27:24 +00:00
Ravindra a2a7a67c02 Minor formatting.
svn path=/trunk/mcs/; revision=27574
2004-05-18 08:25:14 +00:00
Ravindra 6daf8ea664 Typo.
svn path=/trunk/mcs/; revision=27573
2004-05-18 08:21:12 +00:00
Ravindra 8f3191ef9d * System.Drawing_test.dll.sources: Added TestHatchBrush.cs to the
test sources list.
	* README: Added some guidelines for writing tests/samples.

svn path=/trunk/mcs/; revision=27572
2004-05-18 08:19:19 +00:00
Marek Safar 47b2cfce7a 2004-05-18 Marek Safar <[email protected]>
* test-254.cs: New test for #52585.

svn path=/trunk/mcs/; revision=27571
2004-05-18 08:02:25 +00:00
Marek Safar f64e0c0b44 2004-05-18 Marek Safar <[email protected]>
* cs0592-8.cs,
	* cs0657-{2-17}.cs,
	* cs1518-3.cs: 18 new error tests.

svn path=/trunk/mcs/; revision=27570
2004-05-18 07:56:35 +00:00
Atsushi Eno a7f134a1a9 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs : Fixed AdjustScale(). When reducing digits, scale
	  parameter was incorrect.

svn path=/trunk/mcs/; revision=27569
2004-05-18 07:46:36 +00:00
Atsushi Eno e57e711f64 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimal.cs :
	  - .ctor(double) initializes the precision as 17. If not sufficient,
	    it calls AdjustScale(), and if too much then it calls Round().
	  - Data should not return the internal array otherwise it might be
	    modified by outer code.
	  - Reimplemented AdjustScale() to work fine.
	  - Reimplemented Parse(). It should rather use Decimal.Parse()
	    rather than SqlDouble.Parse() for parsable value range difference.
	  - Reimplemented Round(). Don't use double.
	  - Fixed ToString() to return "Null" for null value.
	  - Fixed explicit let operator to use double .ctor, not decimal
	    .ctor() so that precision can be handled in the same way as double.

svn path=/trunk/mcs/; revision=27568
2004-05-18 06:55:42 +00:00
Ravindra bde80e3981 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
under Test/System.Drawing.Drawing2D directory.

svn path=/trunk/mcs/; revision=27567
2004-05-18 06:37:14 +00:00
Ravindra 99afc6c7d1 * TestHatchBrush.cs: Added a test case for HatchBrush.cs.
* TestBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.
	* TestColorBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.

svn path=/trunk/mcs/; revision=27566
2004-05-18 06:09:33 +00:00
Atsushi Eno c78ab46991 2004-05-18 Atsushi Enomoto <[email protected]>
* SqlDecimalTest.cs :
	  Don't catch all kind of exception. That hides the exact error info.
	  Don't use ToSqlString() in AdjustScale() test (to make which is
	  wrong).
	  MS.NET's ToSqlInt32() is buggy; no worth following the behavior.
	  Added test for parsing "999999..." (SqlDecimal.MaxValue).

svn path=/trunk/mcs/; revision=27564
2004-05-18 05:14:22 +00:00
Duncan Mak 4f6a26c2a3 Gonzalo reminded me that I need to update the version number as
well. We're at 0.7.6 now.

svn path=/trunk/mcs/; revision=27562
2004-05-18 04:46:40 +00:00
Gonzalo Paniagua Javier eb35fd3737 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
	entities hashtable creation until it's really needed.

svn path=/trunk/mcs/; revision=27561
2004-05-18 04:38:14 +00:00
Duncan Mak cd8af73359 (CreateUnixSocketStream): Instead of hostList [0], which is a char,
use hostList directly. This fixes the build.

svn path=/trunk/mcs/; revision=27560
2004-05-18 04:21:54 +00:00
Gonzalo Paniagua Javier 5b23316dfe 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: field value changed for Int32 from 'value' to 'm_value'.
	Fixes bug #58373.

svn path=/trunk/mono/; revision=27559
2004-05-18 04:17:00 +00:00
Duncan Mak 6269699a07 Build fix
svn path=/trunk/mcs/; revision=27558
2004-05-18 03:47:58 +00:00
Duncan Mak 1da941cf42 * Makefile: Add reference to Mono.Posix.dll.
* ByteFX.Data.dll.sources: Update to latest listing of source
files.

* AssemblyInfo.cs: Revert back to the previous version, because we
don't have bytefx.snk.

* mysqlclient/transcaction.cs: Removed, replaced by the new
transaction.cs.

svn path=/trunk/mcs/; revision=27557
2004-05-18 03:45:54 +00:00
Duncan Mak 54c8857254 Sync the ByteFX source tree to the latest version:
http://www.bytefx.com/releases/ByteFX.MySqlClient.76.src.zip

svn path=/trunk/mcs/; revision=27556
2004-05-18 03:16:43 +00:00
Atsushi Eno e00c1cd980 2004-05-18 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Converted CRLF to LF for line ending comparison.
	  (and added copyright line.)

svn path=/trunk/mcs/; revision=27555
2004-05-18 02:58:18 +00:00
Sebastien Pouliot be18a0f207 2004-05-17 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProviderTest.cs: Added new tests to see how the
	constructor behave with null seeds or if they modify the seed.

svn path=/trunk/mcs/; revision=27553
2004-05-18 01:46:19 +00:00
Ben Maurer c6cf2f4308 2004-05-17 Ben Maurer <[email protected]>
* helpers.c: use g_get_tmp_dir. Invokes happyness
	from gonzalo.

svn path=/trunk/mono/; revision=27552
2004-05-18 01:45:49 +00:00
Ben Maurer 3fec6b9b9b 2004-05-17 Ben Maurer <[email protected]>
* helpers.c: Add new env variable to pass args to objdump.
	Specifically for those of us who love -Mintel. r=miguel, gonzalo.

svn path=/trunk/mono/; revision=27551
2004-05-18 01:35:10 +00:00
Gonzalo Paniagua Javier 1265a06ea4 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* TextBox.cs: don't save the Text if in ViewState if it's a password.
	Save it if the control is not visible or not enabled. Fixes bug #58497.

svn path=/trunk/mcs/; revision=27549
2004-05-18 00:56:18 +00:00
Gonzalo Paniagua Javier 698bb3cd32 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* TextBox.cs: removed ^Ms and reformatted.

svn path=/trunk/mcs/; revision=27548
2004-05-18 00:43:35 +00:00
Jackson Harper 9fc844b793 * CultureInfo.cs: Invariant culture has the invariant culture as
its parent....<insert joke about the south>. It is readonly so we
	can return this.

svn path=/trunk/mcs/; revision=27547
2004-05-18 00:23:19 +00:00
Neale Ferguson d7ce0f424f Fix local variable allocation logic
svn path=/trunk/mono/; revision=27546
2004-05-18 00:12:50 +00:00
Jackson Harper 32cbdd5985 * CultureInfo.cs: Invariant culture has the invariant culture as
its parent....<insert joke about the south>.

svn path=/trunk/mcs/; revision=27545
2004-05-17 23:37:04 +00:00
Gonzalo Paniagua Javier 8e70fc3962 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* WebException.cs: implemented serialization .ctor and GetObjectData().

svn path=/trunk/mcs/; revision=27544
2004-05-17 23:19:06 +00:00
Gonzalo Paniagua Javier b53a254e78 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs: when the response has a not acceptable
	status code, the WebException we throw has a status of ProtocolError.
	Fixes bug #58564.

svn path=/trunk/mcs/; revision=27543
2004-05-17 23:12:01 +00:00
Jackson Harper e0a5360f56 * CultureInfo.cs: Properify error messages when invalid lcid's are
used.

svn path=/trunk/mcs/; revision=27542
2004-05-17 22:47:56 +00:00
Gonzalo Paniagua Javier a221a64c18 2004-05-18 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: if no module matches the name found for a
	possible event, ignore it. Fixes bug #58542.

svn path=/trunk/mcs/; revision=27541
2004-05-17 21:37:33 +00:00
Miguel de Icaza 362bcf6ba3 2004-05-17 Miguel de Icaza <[email protected]>
* class.cs (MemberBase.DoDefine): Pass UNSAFE on interface
	definitions.

	(Method): Allow UNSAFE here.

	* modifiers.cs: Support unsafe reporting.

svn path=/trunk/mcs/; revision=27540
2004-05-17 21:22:51 +00:00
Gonzalo Paniagua Javier 99a2ca96d9 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: don't ask me why, but the .cctor
	initialization of 'instance' field does no longer work.

svn path=/trunk/mcs/; revision=27539
2004-05-17 20:34:32 +00:00
Miguel de Icaza b668d314eb Flush
svn path=/trunk/mono/; revision=27538
2004-05-17 19:55:40 +00:00
Gonzalo Paniagua Javier b71d0f0f70 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs:
	(InstallAssembly): use Array.IndexOf to search for "/f", "-f" or
	"--force" instead of expecting it in a fixed place.

svn path=/trunk/mcs/; revision=27537
2004-05-17 19:47:21 +00:00
Erik Dasque b10714392b added MonoBeta1PressCoverage.htm for Beta 1 press coverage in may. Updated indexes
svn path=/trunk/mono/; revision=27536
2004-05-17 19:31:53 +00:00
Andreas N 02a94c6916 2004-05-17 Andreas Nahr <[email protected]>
* TimeSpan.cs: Only catch expected exceptions, if we get other exceptions
	  than OverflowExceptions then something went wrong internally

svn path=/trunk/mcs/; revision=27535
2004-05-17 19:30:10 +00:00
Duncan Mak 01a193d498 Added section on Nemerle, per request from Kamil Skalski.
svn path=/trunk/mono/; revision=27534
2004-05-17 19:08:42 +00:00
Duncan Mak 6eadf37de4 Untabify and fixed coding style.
(GraphicsPathIterator): Store the path count, path points and path
type arrays instead of calling unmanaged functions in GDI+ each time
to get to get the path data.

(CopyData, Enumerate, HasCurve, Rewind, SubpathCount): Implemented.

svn path=/trunk/mcs/; revision=27533
2004-05-17 18:51:50 +00:00
Miguel de Icaza b538e3116d Fix from Marek to fix pinvoke3.cs
svn path=/trunk/mcs/; revision=27532
2004-05-17 18:51:32 +00:00
Atsushi Eno f4ab0bef2a 2004-05-17 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : Fixed ToString(TimeSpan) that didn't handle Hour
	  correctly. This fixes bug #57786.

svn path=/trunk/mcs/; revision=27531
2004-05-17 18:01:54 +00:00
Atsushi Eno 111d31e19d 2004-05-17 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs :
	  Removed MonoTODO from implemented members and private members.
	  Updated OnNodeRemoved(), OnDataRowDeleted() and OnDataTableRollback()
	  to match with current implementation.

svn path=/trunk/mcs/; revision=27529
2004-05-17 17:41:20 +00:00
Radek Doulik db7caacaa1 2004-05-17 Radek Doulik <[email protected]>
* Makefile.am (common_sources): added abcremoval.h so it get
	disted and daily mono packages on go-mono.com will build again

svn path=/trunk/mono/; revision=27528
2004-05-17 17:29:45 +00:00
Andreas N 3382c797bb 2004-05-17 Andreas Nahr <[email protected]>
* Char.cs: Fix long standing bug with ToLower/ToUpper not being
	  culture - sensitive

svn path=/trunk/mcs/; revision=27527
2004-05-17 17:27:59 +00:00
Atsushi Eno 75feffdcf8 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSet.cs,
	  XmlDataInferenceLoader.cs,
	  XmlDataReader.cs,
	  XmlSchemaDataImporter.cs : XmlDecode every local name to read and
	  XmlEncode every local name to write. This should fix bug #58268.

svn path=/trunk/mcs/; revision=27524
2004-05-17 17:01:57 +00:00
Atsushi Eno 9990778cc9 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Added WriteXmlEncodedXml() test.

svn path=/trunk/mcs/; revision=27523
2004-05-17 16:58:04 +00:00
Miguel de Icaza 4ab87ca826 Flush
svn path=/trunk/mono/; revision=27522
2004-05-17 16:38:49 +00:00
Dick Porter d1e47af8ed 2004-05-17 Dick Porter <[email protected]>
* io.c (CopyFile): Speed up.  Fixes bug 57859.

svn path=/trunk/mono/; revision=27521
2004-05-17 16:07:13 +00:00
Atsushi Eno 9f24e3e501 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSetAssertion.cs : Enabled "Ordinal" check again, unless the test
	  value is -1.
	* DataSetInferXmlSchemaTest.cs,
	  DataSetReadXmlSchemaTest.cs  : Enabled Ordinal check again, as long
	  as working. Added IgnoredNamespaces() to inferxmlschema test.

svn path=/trunk/mcs/; revision=27520
2004-05-17 15:28:12 +00:00
Atsushi Eno 4e8cebe2fa 2004-05-17 Atsushi Enomoto <[email protected]>
* SqlBinary.cs,
	  SqlDateTime.cs,
	  SqlDouble.cs,
	  SqlGuid.cs,
	  SqlMoney.cs,
	  SqlSingle.cs,
	  SqlString.cs : If values are null, ToString() should return "Null".

svn path=/trunk/mcs/; revision=27519
2004-05-17 15:12:17 +00:00
Atsushi Eno aced1da708 2004-05-17 Atsushi Enomoto <[email protected]>
* DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
	  Supported repeated elements. Removed MonoTODOs.
	* XmlDataInferenceLoader.cs : Design change to support ignored
	  namespace and repeated elements.
	* XmlSchemaDataImporter.cs : Added mapping support classes.

svn path=/trunk/mcs/; revision=27518
2004-05-17 15:06:50 +00:00
Sanja Gupta d5ae7da7ca ChangeLog: Updated ChangeLog.
TestIconConverter.cs: Added.
bitmaps/VisualPng.ico: Added.
bitmaps/VisualPng1.ico: Added.

svn path=/trunk/mcs/; revision=27517
2004-05-17 13:28:51 +00:00
Sanja Gupta 56311bab2c ChangeLog: Updated ChangeLog.
System.Drawing_test.dll.sources: Added TestIconConverter to source list.

svn path=/trunk/mcs/; revision=27516
2004-05-17 13:19:33 +00:00
Dick Porter 29aa42c97a Build fixes
svn path=/trunk/mono/; revision=27515
2004-05-17 12:14:29 +00:00
Raja R Harinath 0eb77f0872 (tmpinst-dir): Creates _tmpinst tree if
necessary. Move body ...
(tmpinst-dir.stamp): ... here.
(stage3): Don't remove _tmpinst tree.
(bootstrap-clean, bootstrap-check): New rules.  They run the
corresponding rules in the mcs/ tree.

svn path=/trunk/mono/; revision=27513
2004-05-17 10:08:57 +00:00
Umadevi S f3d8d5e12d 2004-05-17 Umadevi S ([email protected])
* OdbcPermissionAttribute, OdbcPermission.cs - fixed missing methods

svn path=/trunk/mcs/; revision=27512
2004-05-17 10:08:05 +00:00
Massimiliano Mantione f338a0c396 Added documentation for abc removal code.
svn path=/trunk/mono/; revision=27511
2004-05-17 09:35:07 +00:00
Massimiliano Mantione a188e60dac 2004-05-17 Massimiliano Mantione <[email protected]>
svn path=/trunk/mono/; revision=27510
2004-05-17 09:11:53 +00:00
Massimiliano Mantione d1dc118286 Added copyright header.
svn path=/trunk/mono/; revision=27509
2004-05-17 09:11:27 +00:00
Massimiliano Mantione 17cf08c04b Added prototype for abc removal main function.
svn path=/trunk/mono/; revision=27508
2004-05-17 09:04:42 +00:00
Massimiliano Mantione cf45fa5301 Fixed style and moved prototype to mini.h.
svn path=/trunk/mono/; revision=27507
2004-05-17 09:02:27 +00:00
Massimiliano Mantione 659ffa54b9 2004-05-14 Massimiliano Mantione <[email protected]>
svn path=/trunk/mono/; revision=27506
2004-05-17 08:57:51 +00:00
Umadevi S fd9347803b 2004-05-14 Umadevi S ([email protected])
* OleDbAdapter.cs -Implemented attributes, changed method signature for fill

svn path=/trunk/mcs/; revision=27505
2004-05-17 08:56:53 +00:00
Raja R Harinath 37b2ec8785 (all, clean): Remove indirection.
(clean-profiles): New.

svn path=/trunk/mcs/; revision=27504
2004-05-17 08:52:42 +00:00
Massimiliano Mantione b42adeb5e0 Changed header file usage (abcremoval.h).
svn path=/trunk/mono/; revision=27503
2004-05-17 08:49:55 +00:00
Massimiliano Mantione 7213c054ba Fixed coding style.
svn path=/trunk/mono/; revision=27502
2004-05-17 08:45:48 +00:00
Umadevi S cbe452468b 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added SQLDebugging.cs

svn path=/trunk/mcs/; revision=27501
2004-05-17 07:33:01 +00:00
Marek Safar 531dd7c123 2004-05-17 Marek Safar <[email protected]>
* decl.cs: Fix bug #58478.

svn path=/trunk/mcs/; revision=27500
2004-05-17 07:20:58 +00:00
Gert Driesen 88f8cf8c2d * OdbcCategoryAttribute.cs: fixed namespace
* OdbcDataAdapter.cs: removed extra attributes
* OdbcDescriptionAttribute.cs: fixed namespace

svn path=/trunk/mcs/; revision=27499
2004-05-17 06:37:31 +00:00
Gonzalo Paniagua Javier 181a65498c 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: When checking for unreachable code on an EmptyStatement,
	set the location. Fixes bug #58488.

svn path=/trunk/mcs/; revision=27498
2004-05-17 01:23:34 +00:00
Gonzalo Paniagua Javier ebdbd43045 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* process.c: use double quotes to quote program name and arguments on
	windows. Fixes bug #58575.

svn path=/trunk/mono/; revision=27497
2004-05-17 00:42:10 +00:00
Gonzalo Paniagua Javier 7ae1740b3f 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
* file-io.c: don't return "." and ".." when using windows Find*File.

svn path=/trunk/mono/; revision=27496
2004-05-17 00:22:20 +00:00
Patrik Torstensson 41f7ebe345 2003-05-17 Patrik Torstensson <[email protected]>
* marshal.c: Don't pass wrappers to message init because method
	addressed used to lookup metadata. part of remoting[2|3] fix.

svn path=/trunk/mono/; revision=27495
2004-05-16 21:37:33 +00:00
Miguel de Icaza 2db8feaede Fix build
svn path=/trunk/mcs/; revision=27494
2004-05-16 20:53:39 +00:00
Miguel de Icaza ca840c4b36 Fix build
svn path=/trunk/mcs/; revision=27493
2004-05-16 20:52:51 +00:00
Miguel de Icaza f60a3314e3 Disable anonymous methods
svn path=/trunk/mcs/; revision=27490
2004-05-16 17:56:15 +00:00
Patrik Torstensson d3620b8aed 2004-05-16 Patrik Torstensson <[email protected]>
* HttpRuntime (Init): Removed old todo
	* HttApplication : Implemented IHttpHandlerFactory recycling

svn path=/trunk/mcs/; revision=27489
2004-05-16 16:48:41 +00:00
Gert Driesen 0e69868443 * DirectoryServicesPermission.cs: marked sealed, added
Serializable attribute
* SearchResultCollection: made Handle public

svn path=/trunk/mcs/; revision=27488
2004-05-16 16:30:38 +00:00
Gert Driesen 5dbd25316b * System.Windows.Forms.Design/IMenuEditorService.cs:
fixed signature

svn path=/trunk/mcs/; revision=27487
2004-05-16 16:22:12 +00:00
Gert Driesen 23e32ce3cc * System.Windows.Forms.Design/DocumentDesigner.cs:
stubbed
* System.Windows.Forms.Design/ParentControlDesigner.cs:
stubbed
* System.Windows.Forms.Design/ScrollableControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27486
2004-05-16 16:14:11 +00:00
Gert Driesen 20ab038e49 * System.Windows.Forms.Design/ControlDesigner.cs:
stubbed

svn path=/trunk/mcs/; revision=27485
2004-05-16 15:25:23 +00:00
Gert Driesen 3f5d6339ef * UnsafeNativeMethods.cs: added IEnumVariant interface,
added to-do's
* AccessibleObject.cs: stubbed IEnumVariant implementation,
added to-do's

svn path=/trunk/mcs/; revision=27484
2004-05-16 15:23:18 +00:00
Atsushi Eno 99ad74c16d 2004-05-16 Atsushi Enomoto <[email protected]>
* xsd.1 : added description for /generator option.

svn path=/trunk/mono/; revision=27483
2004-05-16 15:21:29 +00:00
Atsushi Eno 8fb3d716a6 2004-05-16 Atsushi Enomoto <[email protected]>
* DirectoryInfo.cs: Fixed ToString() as well as FileInfo.

svn path=/trunk/mcs/; revision=27482
2004-05-16 15:02:47 +00:00
Atsushi Eno 9c425d8ca9 2004-05-16 Atsushi Enomoto <[email protected]>
* FileInfo.cs: ToString() returns not full path but just the file name.

svn path=/trunk/mcs/; revision=27481
2004-05-16 14:53:53 +00:00
Patrik Torstensson d814897206 2004-05-16 Patrik Torstensson <[email protected]>
* ExpiresBucket.cs: Style changes plus;
	(Update): Fixed possible lock bug (bug 54531)
	(Expand): remove lock optimization due to it can cause newly
	added items to be lost.
	(Remove): fixed possible lock bug.

svn path=/trunk/mcs/; revision=27480
2004-05-16 14:43:49 +00:00
Patrik Torstensson 010f3a2087 2004-05-16 Patrik Torstensson <[email protected]>
* basic-long.cs: reg test for complex ceq_long bug.

svn path=/trunk/mono/; revision=27479
2004-05-16 13:18:08 +00:00
Patrik Torstensson 909521f781 2004-05-16 Patrik Torstensson <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Correctly free
	reg in long and clob case (bug #58343). Fixed/added comments.

svn path=/trunk/mono/; revision=27478
2004-05-16 13:16:45 +00:00
Gert Driesen cf47d2d76a * System.Design.dll.sources: added ISelectionUIHandler
* System.Windows.Forms.Design/ISelectionUIHandler.cs:
added
* System.Windows.Forms.Design/ComponentTray.cs: stubbed

svn path=/trunk/mcs/; revision=27477
2004-05-16 12:46:33 +00:00
Gert Driesen 4898dec25d * CodeDomSerializerException.cs: removed default public
ctror, removed finalizer, removed ToString() method

svn path=/trunk/mcs/; revision=27476
2004-05-16 12:06:27 +00:00
Gert Driesen 7c74c82055 * ByteViewer.cs: removed Site property, added GetBytes sub,
added missing attributes
* LocalizationExtenderProvider.cs: added missing attributes

svn path=/trunk/mcs/; revision=27475
2004-05-16 12:01:58 +00:00
Gert Driesen 03c581a77c * Graphics.cs: fixed warning
* ImageAnimator.cs: fixed warning
* FontConverter.cs: fixed public API

svn path=/trunk/mcs/; revision=27474
2004-05-16 11:47:07 +00:00
Gert Driesen c8514597c4 * GraphicsPath.cs: renamed SetMarker to SetMarkers, to fix
public API to match MS.NET

svn path=/trunk/mcs/; revision=27473
2004-05-16 11:34:27 +00:00
Gert Driesen c76c6cfac3 * EncoderParameterValueType.cs: fix Windows build (CSC),
MCS bug #58571

* EncoderParameter.cs: removed ctors taking int value,
to fix public API

svn path=/trunk/mcs/; revision=27472
2004-05-16 11:28:07 +00:00
Gert Driesen b22358ca00 * IManagedInstaller.cs: fixed signature
* Installer.cs: marked parent internal to match MS
* InstallerCollection.cs: implemented
* InstallEventArgs.cs: remove setter for SavedState

svn path=/trunk/mcs/; revision=27471
2004-05-16 09:22:06 +00:00
Vladimir Vukicevic e932bf2d09 * EncoderParameters.cs: Added ToNativePtr() method to marshal
struct correctly to a native struct.  Resulting data should be
FreeHGlobal'd when finished.

* EncoderParameter.cs: Changed data storage to correspond to
native code layout.  Also changed layout to match native layout.

* EncoderParameterValueType.cs: force EncoderParameterValueType to
be Int32

* gdipFunctions.cs: Fixed prototype for
GdipGetEncoderParameterList

* Image.cs: Reworked Save functions to handle EncoderParameters.
Implemented GetEncoderParameterList.
Also removed unused setGDIPalette internal method.

svn path=/trunk/mcs/; revision=27467
2004-05-15 23:33:15 +00:00
Vladimir Vukicevic 6f39e2d5f7 Changes from arch/CVS synchronization
svn path=/trunk/mcs/; revision=27465
2004-05-15 22:03:58 +00:00
Jackson Harper a3470065d5 * assembly.c: Remove user gac and implement MONO_GAC_PATH, this
path is essentially the same as MONO_PATH except that it points to
	GACs instead of lib directories.
	* loader.h: The user gac is gone so we dont need function to
	enable/disable it.
	* mono-config.c: user gac option is now gone.

svn path=/trunk/mono/; revision=27464
2004-05-15 21:49:35 +00:00
Jackson Harper 962d3d6725 * CultureInfo.cs: Initialize optional calendars. A pointer to an
array of ints is passed back from the runtime to the CultureInfo
	object. The ints store the calendar type and any optional data
	needed to construct the calendar.

svn path=/trunk/mcs/; revision=27462
2004-05-15 20:10:49 +00:00
Jackson Harper 1db9e3e313 * culture-info.h: Make defines more consistent, add calendar data
to the culture info table.
	* culture-info-tables.h: Add basic calendar data. Basically
	everyone gets default gregorian until all the data is
	updated.
	* locales.c: Use the new consistent defines. Set calendar data for
	culture info objects.
	* object.h: add a field for calendar data to CultureInfo

svn path=/trunk/mono/; revision=27461
2004-05-15 20:09:06 +00:00
Duncan Mak f7b1c1a722 Instead of casting null to an IntPtr, use IntPtr.Zero instead. Thanks
to Nick Drochak for spotting this.

svn path=/trunk/mcs/; revision=27460
2004-05-15 19:05:00 +00:00
Rafael Teixeira 68ea632bea 2004-05-15 Rafael Teixeira ([email protected])
* Makefile: corrected /libpath: compiler flag (parameter) to point to ../class/lib/default/ the new location of libraries

svn path=/trunk/mcs/; revision=27459
2004-05-15 18:03:02 +00:00
Gert Driesen 000da9d529 * System.Configuration.Install.dll.sources: added
Assembly/Consts.cs

svn path=/trunk/mcs/; revision=27458
2004-05-15 17:24:39 +00:00
Gert Driesen a3b2c81b31 * Consts.cs: Added
svn path=/trunk/mcs/; revision=27457
2004-05-15 17:23:05 +00:00
Gert Driesen dbfef65642 * InstallContext.cs: removed setter for Parameters
* Installer.cs: added missing attributes, remove
setter for Installers, Context

svn path=/trunk/mcs/; revision=27456
2004-05-15 17:21:51 +00:00
Gert Driesen eed0749763 * ClerkInfo.cs: added internal ctor
svn path=/trunk/mcs/; revision=27455
2004-05-15 16:43:04 +00:00
Gert Driesen faa376b487 * ServiceDomain.cs: added private ctor to match MS
* BYOT.cs: added private ctor to match MS
* RegistrationErrorInfo.cs: marked ctor internal

svn path=/trunk/mcs/; revision=27454
2004-05-15 16:26:41 +00:00
Gert Driesen 6f58865771 * System.EnterpriseServices.dll.sources: Added IConfigurationAttribute
interface

svn path=/trunk/mcs/; revision=27453
2004-05-15 16:18:46 +00:00
Gert Driesen fa08baa33a * IConfigurationAttribute: added
* ApplicationAccessControlAttribute.cs:
* ApplicationActivationAttribute.cs:
* ApplicationIDAttribute.cs:
* ApplicationNameAttribute.cs: stubbed implementation of
IConfigurationAttribute

svn path=/trunk/mcs/; revision=27452
2004-05-15 16:16:33 +00:00
Gert Driesen 386a087eed *** empty log message ***
svn path=/trunk/mcs/; revision=27451
2004-05-15 16:12:18 +00:00
Gert Driesen 3496b6439a * AssemblyInfo.cs: fixed assembly attributes to match MS
frameworks

svn path=/trunk/mcs/; revision=27450
2004-05-15 15:19:42 +00:00
Gert Driesen 9b956f2604 * AssemblyInfo.cs: System.Data.OracleClient is CLS compliant
svn path=/trunk/mcs/; revision=27449
2004-05-15 14:21:13 +00:00
Gert Driesen 48cbabfa38 * Makefile: add reference to Accessibility assembly, needed
to check CLS compliance
* Assembly/AssemblyInfo.cs: System.Design is CLS Compliant

svn path=/trunk/mcs/; revision=27448
2004-05-15 14:18:01 +00:00
Gert Driesen 9c68b6f249 * System.Design.dll.sources: remove DataBindingCollection
* System.Web.UI.Design/DataBindingCollection.cs: removed
* System.Web.UI.Design/HtmlControlDesigner.cs: fixed imports
* System.Web.UI.Design/WebControlToolboxItem.cs: fixed
public API
* System.Web.UI.Design/UrlBuilderOptions.cs: added Flags
attribute

svn path=/trunk/mcs/; revision=27447
2004-05-15 14:13:23 +00:00
Gert Driesen 18c12c1052 * System.Design.dll.sources: added IOleDragClient
* System.ComponentModel.Design/ComponentDesigner.cs: fixed public API
* System.Web.UI.Design/ControlDesigner.cs: fixed public API
* System.Web.UI.Design/HtmlControlDesigner: fixed public API
* System.Windows.Forms.Design/AnchorEditor.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/AxImporter.cs: fixed public API,
converted to unix linefeeds
* System.Windows.Forms.Design/ComponentDocumentDesigner.cs: fixed
public API, converted to unix linefeeds
* System.Windows.Forms.Design/SelectionRules.cs: implementation

svn path=/trunk/mcs/; revision=27445
2004-05-15 13:48:12 +00:00
Gert Driesen f523bd044e * System.Windows.Forms.Design/FileNameEditor.cs: code formatting
* System.Windows.Forms.Design/FolderNameEditor.cs: code formatting
* System.Windows.Forms.Design/MenuCommands.cs: code formatting

svn path=/trunk/mcs/; revision=27444
2004-05-15 13:45:15 +00:00
Gert Driesen 8c4761499e * System.Design.dll.sources: remove MenusCommands, added
MenuCommands
* System.Web.UI.Design/ImageUrlEditor.cs: fixed warnings
* System.Windows.Forms.Design/MenuCommands.cs: added impl
* System.Windows.Forms.Design/MenusCommands.cs: removed,
wrong name

svn path=/trunk/mcs/; revision=27443
2004-05-15 12:12:44 +00:00
Nick Drochak 3f569a1079 2004-05-14 Nick Drochak <[email protected]>
* GraphicsPath.cs: fix build with csc.  No implicit conversion from
	null to IntPtr.  Bug in mcs?

svn path=/trunk/mcs/; revision=27442
2004-05-15 10:53:40 +00:00
Gert Driesen fcf987546e * System.Windows.Forms.Design/FolderNameEditor.cs:
converted to unix linefeeds, marked class TODO, added Flags
attribute to FolderBrowserStyles enum
* System.Windows.Forms.Design/FileNameEditor.cs:
completed stubs, converted to unix linefeeds

svn path=/trunk/mcs/; revision=27441
2004-05-15 10:16:46 +00:00
Gert Driesen 073dabbd04 * System.Windows.Forms.Design/FolderNameEditor.cs: added stub
svn path=/trunk/mcs/; revision=27440
2004-05-15 09:44:35 +00:00
Atsushi Eno 94cdcdb50a 2004-05-15 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs :
	  Added property parent "[foo]Row" and children "Get[foo]Row" support
	  for custom DataRow classes.
	  Fixed DataColumn property accessibility (public --> internal).

svn path=/trunk/mcs/; revision=27439
2004-05-15 08:54:45 +00:00
Gert Driesen cfe62586cb rolled back change to use mono runtime, committed by accident
svn path=/trunk/mono/; revision=27438
2004-05-15 06:41:09 +00:00
Peter Dennis Bartok 2435a73b4e - Fixed Text set property. If user updated text field through UI the
text!=value comparison might be off

svn path=/trunk/mcs/; revision=27437
2004-05-15 03:55:07 +00:00
Peter Dennis Bartok 211872b6ec - Fixed Text get property (also fixes bug #55005)
- Removed debug output

svn path=/trunk/mcs/; revision=27436
2004-05-15 03:27:07 +00:00
Peter Dennis Bartok 8b6f2d95b6 - Implemented Graphics.MeasureCharacterRanges method
- Added CharacterRange handling to StringFormat

svn path=/trunk/mcs/; revision=27435
2004-05-15 01:53:31 +00:00
Miguel de Icaza c3a262546c Add a few names
svn path=/trunk/mono/; revision=27434
2004-05-14 22:25:10 +00:00
Carlos Alberto Cortez 3065dfdd67 Support for delegates and nestedt types added
svn path=/trunk/mcs/; revision=27433
2004-05-14 22:21:47 +00:00
Todd Berman cdefe9e8a0 2004-05-14 Todd Berman <[email protected]>
* gacutil.cs: Remove old file/symlink, thanks urs.

svn path=/trunk/mcs/; revision=27432
2004-05-14 22:21:24 +00:00
Ben Maurer 57d4440617 share runtime code, r=zoltan
svn path=/trunk/mono/; revision=27431
2004-05-14 22:05:06 +00:00
Gert Driesen 584bf73dbd Added class status pages for these assemblies:
- System.Configuration.Install
- System.Data.OracleClient
- System.Drawing.Design
- System.Design
- System.Management
- System.Messaging

svn path=/trunk/mono/; revision=27429
2004-05-14 20:49:39 +00:00
Peter Dennis Bartok 3744ec8174 - Added error check
svn path=/trunk/mcs/; revision=27427
2004-05-14 20:28:34 +00:00
Duncan Mak 0a60e85735 * GraphicsPath.cs (ConvertPoints): Removed, we'll do the
conversion in C.
(GraphicsPath): Use GdipCreatePath2I instead.
(SetMarker, ClearMarkers):
(Flatten, GetBounds, IsOutlineVisible, IsVisible):
(StartFigure, CloseFigure, CloseFigures):
(Warp, Widen): Implemented. I left the MonoTODO attribute on for
the methods where the equivalent C function has not yet been
implemented.

* GraphicsPathIterator.cs (Count): Implemented.

* gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
(GdipFlattenPath, GdipWarpPath, GdipWidenPath):
(GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.

svn path=/trunk/mcs/; revision=27424
2004-05-14 19:29:19 +00:00
Mike Kestner e5759e4837 2004-05-14: Mike Kestner <[email protected]>
* ClientRemotingConfig.cs : stub
	* ComSoapPublishError.cs : stub
	* GenerateMetadata.cs : stub
	* IComSoapIISVRoot.cs : impl
	* IComSoapMetadata.cs : impl
	* IISVirtualRoot.cs : impl
	* IServerWebConfig.cs : impl
	* ServerWebConfig.cs : stub

svn path=/trunk/mcs/; revision=27423
2004-05-14 19:18:44 +00:00
Zoltan Varga 5ada7022ff 2004-05-14 Zoltan Varga <[email protected]>
* ChangeLog: Fix author of memory leak patch.

svn path=/trunk/mono/; revision=27422
2004-05-14 18:19:12 +00:00
Zoltan Varga a2b81dff7e 2004-05-14 Zoltan Varga <[email protected]>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

svn path=/trunk/mono/; revision=27421
2004-05-14 18:10:59 +00:00
Sebastien Pouliot b2744fd13e 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8Encoding.cs: Added code to check for overlongs.

svn path=/trunk/mcs/; revision=27419
2004-05-14 17:41:31 +00:00
Atsushi Eno 75833b045e 2004-05-14 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs :
	  - Put classes inside custom DataSet class.
	  - Added automatic DataRelation creation support.
	  - Added Constraints creation support. That is done separate from
	    relations, since they might be independently created.
	  - Added non-MS public DataRelation fields.
	  - Removed extraneous "DataRelation type generation" code.
	  - Fixed custom_dataset.Initialize() not to create "c" field that
	    was created more than once.
	  - Implemented AddxxxRow() that takes parameters for every column.

svn path=/trunk/mcs/; revision=27418
2004-05-14 16:42:48 +00:00
Miguel de Icaza c1385914f5 Flush
svn path=/trunk/mono/; revision=27417
2004-05-14 15:57:56 +00:00
Miguel de Icaza 7f373e776e Flush
svn path=/trunk/mono/; revision=27416
2004-05-14 15:57:22 +00:00
Jackson Harper 4f742c58fc * gacutil.cs: Always install the package files.
svn path=/trunk/mcs/; revision=27415
2004-05-14 15:45:45 +00:00
Jackson Harper 1ab6c801b8 * library.make: Install package files. Get params in magical
correct order.

svn path=/trunk/mcs/; revision=27414
2004-05-14 15:42:24 +00:00
Anirban Bhattacharjee 47c497c0d6 * mb-parser.jay: few Property related grammar changes
svn path=/trunk/mcs/; revision=27413
2004-05-14 14:55:23 +00:00
Anirban Bhattacharjee 7c36d2ed00 * mb-tokenizer.cs: Bug fixed - Got Property working
svn path=/trunk/mcs/; revision=27412
2004-05-14 14:52:55 +00:00
Miguel de Icaza 7b6935eaea Patch from Gonzalo to improve pkg-config handling
svn path=/trunk/mcs/; revision=27411
2004-05-14 14:32:19 +00:00
Jackson Harper cd14db04a0 * library.make: Install package files.
svn path=/trunk/mcs/; revision=27410
2004-05-14 14:26:49 +00:00
Dick Porter de035cb2c7 2004-05-14 Dick Porter <[email protected]>
* HebrewCalendar.cs: Stubbed ToFourDigitYear()

	* HijriCalendar.cs: Stubbed HijriAdjustment

svn path=/trunk/mcs/; revision=27409
2004-05-14 14:05:18 +00:00
Sanja Gupta 5442f16916 ChangeLog: Updated ChangeLog.
ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.

svn path=/trunk/mcs/; revision=27407
2004-05-14 13:40:06 +00:00
Sanja Gupta 7dbb09a87a ChangeLog: Updated ChangeLog
System.Drawing_test.dll.sources: Added TestImageConverter.cs and TestImageFormatCoverter.cs.

svn path=/trunk/mcs/; revision=27406
2004-05-14 13:37:03 +00:00
Sebastien Pouliot 24a73cab4c 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8Encoding.cs: Moved charCount-- after the check for surrogate
	pair. This fix bug #57009 (and 2 failing unit tests).

svn path=/trunk/mcs/; revision=27405
2004-05-14 13:36:37 +00:00
Sebastien Pouliot 9993e4e210 2004-05-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Test both characters in test 2.1.4.

svn path=/trunk/mcs/; revision=27404
2004-05-14 13:33:10 +00:00
Dick Porter 1f181241c9 Shut CVS up
svn path=/trunk/mono/; revision=27403
2004-05-14 13:27:25 +00:00
Sanja Gupta 30d98c1aab ChangeLog: Update ChangeLog
TestBitmap.cs: Modified method signature to static for use in other files.
TestImageConverter.cs: Added.
TestImageFormatConverter.cs: Added.
bitmaps/almogaver24bits1.bmp: Added.

svn path=/trunk/mcs/; revision=27402
2004-05-14 13:25:38 +00:00
Zoltan Varga dbb5513138 2004-05-14 Zoltan Varga <[email protected]>
* Buffer.cs: Optimize BlockCopy.

	* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=27401
2004-05-14 13:06:16 +00:00
Zoltan Varga ffadde26f7 2004-05-14 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_load_with_partial_name): Fix warning.

	* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

	* icall.c: Optimize Buffer.BlockCopy.

svn path=/trunk/mono/; revision=27400
2004-05-14 13:04:47 +00:00
Massimiliano Mantione 29b8cc3208 Added array bounds check (ABC) removal optimization.
svn path=/trunk/mono/; revision=27399
2004-05-14 12:54:27 +00:00
Jordi Mas i Hernandez af528ec870 change for Sachin
svn path=/trunk/mcs/; revision=27398
2004-05-14 12:39:30 +00:00
Umadevi S f1e7f363b3 2004-05-14 Umadevi S ([email protected])
* OdbcParameter.cs - Added Attributes
	* OdbcParamerterConverter.cs - Added File

svn path=/trunk/mcs/; revision=27397
2004-05-14 12:35:56 +00:00
Paolo Molaro 6a2dfc589c Fri May 14 15:13:06 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: fix make dist as well...

svn path=/trunk/mono/; revision=27396
2004-05-14 12:35:18 +00:00
Umadevi S 0e3fa8a5ff 2004-05-14 Umadevi S ([email protected])
* Updated System.Data.dll.sources - Added OdbcParameterConverter.cs

svn path=/trunk/mcs/; revision=27395
2004-05-14 12:31:23 +00:00
Umadevi S cbefdb98c2 *** empty log message ***
svn path=/trunk/mcs/; revision=27393
2004-05-14 12:11:14 +00:00
Paolo Molaro 82078d04eb Fri May 14 14:30:13 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, cfold.c: fix style.

svn path=/trunk/mono/; revision=27392
2004-05-14 11:55:11 +00:00
Paolo Molaro 21005c1758 Fri May 14 14:28:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: handle issue with the low-level implementation of
	some long opcodes (bug #54209).

svn path=/trunk/mono/; revision=27391
2004-05-14 11:51:35 +00:00
Umadevi S 02583168f9 2004-05-14 Umadevi S ([email protected])
* OdbcCommand.cs - Added Attributes

svn path=/trunk/mcs/; revision=27390
2004-05-14 11:51:09 +00:00
Atsushi Eno 618ba6e268 2004-05-14 Atsushi Enomoto <[email protected]>
ChangeLog update was missing.

svn path=/trunk/mcs/; revision=27389
2004-05-14 11:33:40 +00:00
Atsushi Eno 88b09ce83f 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : When primary key is used more than once,
	  DataRelation borked because of empty parent column name.

svn path=/trunk/mcs/; revision=27388
2004-05-14 11:32:49 +00:00
Atsushi Eno bf13e10685 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : Added test014.xsd tes (contains two
	  simple repeatable elements).

svn path=/trunk/mcs/; revision=27387
2004-05-14 11:32:01 +00:00
Atsushi Eno 9f93b9b01a 2004-05-14 Atsushi Enomoto <[email protected]>
* test014.xsd : added.

svn path=/trunk/mcs/; revision=27386
2004-05-14 11:31:09 +00:00
Umadevi S 4b4be57368 2004-05-14 Umadevi S ([email protected])
* OdbcCommand.cs - Added Attributes

svn path=/trunk/mcs/; revision=27385
2004-05-14 11:31:01 +00:00
Raja R Harinath bcba34cecc * SearchResultCollection.cs: Add a few more stubs.
* SchemaNameCollection.cs: Likewise.

svn path=/trunk/mcs/; revision=27384
2004-05-14 11:30:25 +00:00
Dick Porter ae463a57df Fix build
svn path=/trunk/mono/; revision=27382
2004-05-14 11:26:20 +00:00
Zoltan Varga ff39f88dbf 2004-05-14 Zoltan Varga <[email protected]>
* MethodBuilder.cs: Add Equals and GetHashCode.

svn path=/trunk/mcs/; revision=27380
2004-05-14 11:23:29 +00:00
Zoltan Varga 864dd2012c 2004-05-14 Zoltan Varga <[email protected]>
* Assembly.cs: Fix build.

svn path=/trunk/mcs/; revision=27379
2004-05-14 11:22:47 +00:00
Zoltan Varga 2673f7ec67 2004-05-14 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Add IsSubclassOf.

svn path=/trunk/mcs/; revision=27376
2004-05-14 11:09:20 +00:00
Umadevi S 81b45cb3aa 2004-05-14 Umadevi S ([email protected])
* OdbcDataReader.cs - Added Attributes

svn path=/trunk/mcs/; revision=27374
2004-05-14 11:08:12 +00:00
Zoltan Varga 29bd12f2d6 2004-05-14 Zoltan Varga <[email protected]>
* Assembly.cs: Add stub for LoadFrom.

svn path=/trunk/mcs/; revision=27373
2004-05-14 11:06:12 +00:00
Raja R Harinath b90499d893 * DirectoryServicesPermission.cs: Fix typo.
* SchemaNameCollection.cs: Revert.  Add MonoTODO attributes.

svn path=/trunk/mcs/; revision=27372
2004-05-14 10:57:29 +00:00
Marek Safar 29e67c28b3 2004-05-14 Marek Safar <[email protected]>
* cs3008-7.cs: New test for bug #58478.

svn path=/trunk/mcs/; revision=27370
2004-05-14 10:37:41 +00:00
Umadevi S dfdbca7223 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcCategoryAttribute.cs OdbcDescriptionAttribute.cs

svn path=/trunk/mcs/; revision=27369
2004-05-14 10:37:25 +00:00
Umadevi S bf543a48d2 004-05-14 Umadevi S ([email protected])
* Added Classes OdbcCategoryAttribute.cs, OdbcDescriptionAttribute.cs

svn path=/trunk/mcs/; revision=27368
2004-05-14 10:35:40 +00:00
Atsushi Eno 0f953d8d26 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs : When Creating constraints with related
	  to DataRelation creation, also set PrimaryKey to the parent table.

svn path=/trunk/mcs/; revision=27367
2004-05-14 10:35:27 +00:00
Atsushi Eno 2f9b6ea568 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetTest.cs,
	  DataSetReadXmlTest.cs,
	  DataSetReadXmlSchemaTest.cs,
	  DataSetInferXmlSchemaTest.cs,
	  DataSetAssertion.cs : AssertDataTable() now checks Constraint count
	  and ParentKey length.

svn path=/trunk/mcs/; revision=27366
2004-05-14 10:34:26 +00:00
Massimiliano Mantione e5bdea8c56 Added array bounds check (ABC) removal optimization.
svn path=/trunk/mono/; revision=27365
2004-05-14 10:30:10 +00:00
Massimiliano Mantione 496b8a7805 Made so that conversions from pointer to int4 are no-ops on archs where pointers are 4 bytes long.
svn path=/trunk/mono/; revision=27364
2004-05-14 10:26:55 +00:00
Umadevi S 61d48e609d 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcCommandBuilder.cs

svn path=/trunk/mcs/; revision=27363
2004-05-14 10:08:07 +00:00
Umadevi S 4eeb43ddaf 2004-05-14 Umadevi S ([email protected])
* Added Class OdbcCommandBuilder.cs

svn path=/trunk/mcs/; revision=27362
2004-05-14 10:07:10 +00:00
Raja R Harinath c4514f477c * System.DirectoryServices.dll.sources: Add
DirectoryServicesPermission{,Attribute,Entry,EntryCollection}.cs
and TODOAttribute.cs.

svn path=/trunk/mcs/; revision=27361
2004-05-14 10:04:11 +00:00
Raja R Harinath d6dc0dfa37 * DirectoryEntries.cs (SchemaFilter): New stub.
* DirectoryEntry.cs: Add missing [MonoTODO] to NotImplemented
classes.  Remove DesignerCategory attribute.
* DirectorySearcher.cs: Likewise.
* PropertyValueCollection.cs (AddRange([object[]): Don't go into
an infinite loop.
(AddRange(PropertyValueCollection)): New.
(CopyTo): New.
* ResultPropertyCollection.cs (ResultPropertyCollection): Make
internal.
(CopyTo): New.
* SchemaNameCollection.cs: Implement.
* SortOption.cs (PropertyName, Direction): Add DSDescription and
DefaultValue attributes.
* DirectoryServicesPermission.cs: New file.
* DirectoryServicesPermissionAttribute.cs: Likewise.
* DirectoryServicesPermissionEntry.cs: Likewise.
* DirectoryServicesPermissionEntryCollection.cs: Likewise.
* TODOAttribute.cs: Likewise.

svn path=/trunk/mcs/; revision=27360
2004-05-14 10:03:13 +00:00
Atsushi Eno df8f3ff537 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs :
	  Design change to add indirect table and relation structures.
	  Support for "relation" annotation for local element.
	  Support for repeatable simple element column (maxOccurs > 1).
	  Fixed handling of Nested property on DataRelation (for globally
	  annotated relation, Nested is false).

svn path=/trunk/mcs/; revision=27359
2004-05-14 09:59:59 +00:00
Atsushi Eno f487e69db7 2004-05-14 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : Added tests for test012.xsd (repeatable
	  simple element) and test013.xsd (reference to global element;
	  currently failing).

svn path=/trunk/mcs/; revision=27358
2004-05-14 09:54:12 +00:00
Umadevi S 9a537330f5 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcInfoMessageEventArgs.cs, OdbcInfoMessageEventHandler.cs

svn path=/trunk/mcs/; revision=27357
2004-05-14 09:53:18 +00:00
Umadevi S e2ab5d83c5 2004-05-14 Umadevi S ([email protected])
* Added classes OdbcInfoMessageEventArgs.cs - with stubs
        * Added classes OdbcInfoMessageEventInfo.cs

svn path=/trunk/mcs/; revision=27356
2004-05-14 09:51:06 +00:00
Atsushi Eno 52953e9c06 2004-05-14 Atsushi Enomoto <[email protected]>
* test012.xsd, test013.xsd : added.

svn path=/trunk/mcs/; revision=27355
2004-05-14 09:50:56 +00:00
Umadevi S d350c6b33f 2004-05-14 Umadevi S <[email protected]>
* System.Data.dll.sources : Added OdbcPermission.cs,OdbcPermissionAttribute.cs

svn path=/trunk/mcs/; revision=27354
2004-05-14 09:34:09 +00:00
Umadevi S 0b0d7e2355 2004-05-14 Umadevi S ([email protected])
* Added classes OdbcPermission.cs, OdbcPermissionAttribute.cs - with stubs

svn path=/trunk/mcs/; revision=27353
2004-05-14 09:32:29 +00:00
Marek Safar fd587ba8f7 2004-05-14 Marek Safar <[email protected]>
* cs3008-7.cs: New test for bug #58478.

svn path=/trunk/mcs/; revision=27352
2004-05-14 08:42:05 +00:00
Vladimir Vukicevic 8981619146 * binary_serialization_format.htm: renamed filename from having
spaces to _'s (checked with lluis)

svn path=/trunk/mcs/; revision=27351
2004-05-14 07:57:21 +00:00
Umadevi S 4e42fbd18a 2004-05-14 Umadevi S ([email protected])
* OleDbCommand.cs - Completed implementing all the attribute

svn path=/trunk/mcs/; revision=27350
2004-05-14 07:56:30 +00:00
Umadevi S 6a6f2c9260 2004-05-14 Umadevi S ([email protected])
* OleDbCommand.cs - Completed implementing all the attribute

svn path=/trunk/mcs/; revision=27349
2004-05-14 07:44:01 +00:00
Umadevi S fada37ea87 2004-05-14 Umadevi S ([email protected])
* OleDbConnection.cs - Completed implementing all the attributes
                           - Stubbed EnlistDistributedTransaction method

svn path=/trunk/mcs/; revision=27342
2004-05-14 06:30:19 +00:00
Gonzalo Paniagua Javier 10cfe84e20 Got rid of those Internal(1) warnings
svn path=/trunk/mcs/; revision=27341
2004-05-14 06:19:22 +00:00
Gonzalo Paniagua Javier 343a7a5710 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: fire OnDayRender after assigning the calendar cell text.
	Fixes bug #58097.

svn path=/trunk/mcs/; revision=27340
2004-05-14 05:41:49 +00:00
Raja R Harinath 669391d0a1 Revert unlogged unexplained changes.
(stage3): Make 'all-profiles' since the mono source tarball
carries all the net_2_0 preview dlls.

svn path=/trunk/mono/; revision=27339
2004-05-14 05:36:34 +00:00
Umadevi S 98d7031f10 2004-05-14 Umadevi S ([email protected])
* OleDbDataAdapter.cs - Completed implementing all the attributes
                           - Stubbed the Fill methods

svn path=/trunk/mcs/; revision=27338
2004-05-14 05:34:01 +00:00
Gonzalo Paniagua Javier 6724d64da3 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* culture-info-tables.h: seems like Spanish and Portuguese cultures had
	DateTimeFormatInfo.YearMonthPattern like "MMMM' yyyy" (note the single
	quote). Changed them to "MMMM yyyy".

svn path=/trunk/mono/; revision=27337
2004-05-14 05:21:48 +00:00
Umadevi S cdf38c8cb3 2004-05-14 Umadevi S ([email protected])
* OleDbParameter.cs - Completed implementing all the attributes

svn path=/trunk/mcs/; revision=27335
2004-05-14 04:46:17 +00:00
Atsushi Eno d1b83f96c2 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransform.cs : Reverted Ingore attribute that does not
	  seem like incorrect test.

svn path=/trunk/mcs/; revision=27334
2004-05-14 04:38:11 +00:00
Atsushi Eno 4f70c8bd3e 2004-05-14 Atsushi Enomoto <[email protected]>
* Reverted xmlns change that seems my misinterpretation.

svn path=/trunk/mcs/; revision=27333
2004-05-14 04:35:59 +00:00
Gonzalo Paniagua Javier f186acc44a 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: default value for Enctype is "".
	* HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
	we set it to "multipart/form-data". Fixes bug #58359.

svn path=/trunk/mcs/; revision=27332
2004-05-14 04:32:32 +00:00
Atsushi Eno 46d5c0775a 2004-05-14 Atsushi Enomoto <[email protected]>
* __ComObject.cs : This class is not regarded as CLSCompliant by csc.
	  See also bug #58478.

svn path=/trunk/mcs/; revision=27331
2004-05-14 03:56:34 +00:00
Gonzalo Paniagua Javier 21eafae84c 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: use DynamicBase for the output
	assemblies.

	* System.Web.Configuration/CompilationConfiguration.cs: a null value is
	ok for TempDirectory.

	* System.Web.Hosting/AppDomainFactory.cs: set the Dynamic base for the
	AppDomain.

	Fixes bug #57726.

svn path=/trunk/mcs/; revision=27329
2004-05-14 03:01:04 +00:00
Gonzalo Paniagua Javier db9292e4b5 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: don't create a Random object on every call to
	BasePath.

svn path=/trunk/mcs/; revision=27328
2004-05-14 02:30:31 +00:00
Sanja Gupta ab1b18c6c4 ChangeLog: Updated ChangeLog.
ImageFormatConverter.cs: Implemented GetStandardValuesSupported() method.

svn path=/trunk/mcs/; revision=27327
2004-05-14 02:25:44 +00:00
Gonzalo Paniagua Javier 24bbb48eab 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: don't throw an exception if dynamic_base has not
	been set. Just return null as MS. Fixes bug #58120.

svn path=/trunk/mcs/; revision=27326
2004-05-14 01:18:45 +00:00
Gonzalo Paniagua Javier a150227a1e 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* corlib.dll.sources: removed obsolete Mono/Runtime.cs
	* corlib_test.dll.sources: added BinderTests
	* Mono: removed obsolete directory.
	* Mono/ChangeLog: Removed file.
	* Mono/Runtime.cs: Removed file.

svn path=/trunk/mcs/; revision=27325
2004-05-14 01:06:00 +00:00
Gonzalo Paniagua Javier ee18bd70ce removed extra <tr>
svn path=/trunk/mono/; revision=27324
2004-05-14 00:55:36 +00:00
Gonzalo Paniagua Javier 5c8ad0fda3 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: respect trailing slashes. Fixes bug #56802.

svn path=/trunk/mcs/; revision=27323
2004-05-14 00:22:16 +00:00
Gonzalo Paniagua Javier 0dfe2b3696 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: no more ^Ms.

svn path=/trunk/mcs/; revision=27322
2004-05-14 00:16:00 +00:00
Gonzalo Paniagua Javier ee6f7f3b36 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* Makefile: install-local is verbose now.

svn path=/trunk/mcs/; revision=27321
2004-05-14 00:11:23 +00:00
Lluis Sanchez 94ede21d42 * AggregateDictionary.cs: Moved to System.Runtime.Remoting.Channels
namespace.
	* BaseChannelObjectWithProperties.cs: format.
	* BaseChannelWithProperties.cs: Implemented.

svn path=/trunk/mcs/; revision=27319
2004-05-13 23:40:11 +00:00
Ben Maurer 8790f8eec2 move on now
svn path=/trunk/mono/; revision=27318
2004-05-13 23:34:42 +00:00
Ben Maurer 636e687442 2004-05-13 Ben Maurer <[email protected]>
* basic.cs: test for my new cmov stuff.

svn path=/trunk/mono/; revision=27317
2004-05-13 22:39:33 +00:00
Ben Maurer fa6ff5f8a9 fix build
svn path=/trunk/mono/; revision=27316
2004-05-13 22:37:52 +00:00
Miguel de Icaza 310e501c06 FixetyFix
svn path=/trunk/mcs/; revision=27315
2004-05-13 22:35:44 +00:00
Marek Safar 17b718a094 Removed useless [CLSCompliant(false)]
svn path=/trunk/mcs/; revision=27314
2004-05-13 22:28:44 +00:00
Mike Kestner 8b44340c98 add guid
svn path=/trunk/mcs/; revision=27313
2004-05-13 21:37:47 +00:00
Ben Maurer 9d5ce3c2e7 new cases for stuff I have been working on
svn path=/trunk/mono/; revision=27312
2004-05-13 21:22:39 +00:00
Mike Kestner 7c606a6af3 2004-05-13: Mike Kestner <[email protected]>
* SoapClientImportUtil.cs : add a TODO
	* SoapServerTlb.cs : stub
	* SoapServerVRoot.cs : stub
	* SoapUtility.cs : stub

svn path=/trunk/mcs/; revision=27311
2004-05-13 21:17:18 +00:00
Mike Kestner 3738551392 2004-05-13: Mike Kestner <[email protected]>
* AppDomainHelper.cs : stub
	* AssemblyLocator.cs : stub
	* ClrObjectFactory.cs : stub
	* ComManagedImportUtil.cs : stub
	* Publish.cs : stub
	* SoapClientImport.cs : stub

svn path=/trunk/mcs/; revision=27310
2004-05-13 20:42:07 +00:00
Miguel de Icaza 54bad6c8db 2004-05-13 Miguel de Icaza <[email protected]>
* driver.cs: Add -pkg handling.

svn path=/trunk/mcs/; revision=27309
2004-05-13 20:25:05 +00:00
Miguel de Icaza f85048dd21 Flush
svn path=/trunk/mono/; revision=27308
2004-05-13 20:24:49 +00:00
Mike Kestner 1fd039cf92 2004-05-13: Mike Kestner <[email protected]>
* IClrObjectFactory.cs : add guid.
	* IComManagedImportUtil.cs : add guid.
	* IComSoapPublisher.cs : add guid.
	* ISoapClientImport.cs : impl.
	* ISoapServerTlb.cs : impl.
	* ISoapServerVRoot.cs : impl.
	* ISoapUtility.cs : impl.

svn path=/trunk/mcs/; revision=27305
2004-05-13 19:10:55 +00:00
Sebastien Pouliot d2da1f5c88 2004-05-14 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added System/__ComObject.cs to the build.

svn path=/trunk/mcs/; revision=27304
2004-05-13 19:04:02 +00:00
Sebastien Pouliot 2384356529 2004-05-13 Sebastien Pouliot <[email protected]>
* __ComObject.cs: To please corcompare (no implementation).

svn path=/trunk/mcs/; revision=27303
2004-05-13 19:02:30 +00:00
Miguel de Icaza 17d13ed41c Update
svn path=/trunk/mono/; revision=27302
2004-05-13 18:43:26 +00:00
Francisco Figueiredo Jr. 371c6fe74b 2004-05-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
o InvalidOperationException when calling the Hash property and hash value is nul
l. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.

svn path=/trunk/mcs/; revision=27299
2004-05-13 18:23:17 +00:00
Francisco Figueiredo Jr. 1d152084b7 2004-05-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception to InvalidOperationException when calling the Hash property and hash value is null. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.

svn path=/trunk/mcs/; revision=27298
2004-05-13 18:22:18 +00:00
Zoltan Varga bf4a56375a 2004-05-13 Zoltan Varga <[email protected]>
* reflection.h: Updated after changes to managed structures.

	* appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=27297
2004-05-13 18:11:44 +00:00
Zoltan Varga e7b2e50be3 2004-05-13 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=27296
2004-05-13 18:10:09 +00:00
Zoltan Varga 3b67e9fb1e 2004-05-13 Zoltan Varga <[email protected]>
* Assembly.cs: Add ModuleResolve event.

svn path=/trunk/mcs/; revision=27295
2004-05-13 18:09:44 +00:00
Sebastien Pouliot 29ddfa3b81 2004-05-13 Sebastien Pouliot <[email protected]>
* Thread.cs: Added missing MemoryBarrier (only for 1.1) and SpinWait to please
	corcompare. Both throw a NotImplementedException.
	* ThreadPool.cs: Added missing UnsafeRegisterWaitForSingleObject methods (4
	overloads) to please corcompare. All throw a NotImplementedException.

svn path=/trunk/mcs/; revision=27293
2004-05-13 17:47:00 +00:00
Dick Porter 60f4754270 2004-05-13 Dick Porter <[email protected]>
* mono-mutex.c (mono_mutex_unlock): Return EPERM when the current
	thread doesn't own the mutex, rather than assert()ing.

svn path=/trunk/mono/; revision=27292
2004-05-13 17:37:30 +00:00
Zoltan Varga 75e24be1b9 2004-05-13 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Make extra methods internal. mcs was changed
	to handle this a long time ago.

svn path=/trunk/mcs/; revision=27291
2004-05-13 17:37:16 +00:00
Jackson Harper d88e327260 * Makefile: default build is no longer the multi profile build. Do
build both 1.1 and 2.0 profiles use the all-profiles target.

svn path=/trunk/mcs/; revision=27290
2004-05-13 17:25:56 +00:00
Zoltan Varga 320f35b864 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Add IsAssignableFrom and IsInstanceOfType.

svn path=/trunk/mcs/; revision=27289
2004-05-13 17:21:16 +00:00
Zoltan Varga 6d6869d1d4 2004-05-13 Zoltan Varga <[email protected]>
* Module.cs (Mono_GetGuid): Make this internal.

svn path=/trunk/mcs/; revision=27288
2004-05-13 17:20:32 +00:00
Mike Kestner f2fd14aaa5 2004-05-13 Mike Kestner <[email protected]>
* ApplicationCrmEnabledAttribute.cs : add ComVisible.  Hide val field.
	* ClerkInfo.cs : stub
	* ClerkMonitor.cs : stub

svn path=/trunk/mcs/; revision=27287
2004-05-13 16:32:43 +00:00
Dick Porter 0937ade06a 2004-05-13 Dick Porter <[email protected]>
* UdpClient.cs:
	* TcpClient.cs: Public API fixes

svn path=/trunk/mcs/; revision=27286
2004-05-13 16:22:40 +00:00
Lluis Sanchez c75ec101a3 * SerializationTest.cs: Test serialization of empty struct arrays. This
used to fail.

svn path=/trunk/mcs/; revision=27285
2004-05-13 16:08:41 +00:00
Lluis Sanchez 9e8bde8303 * ObjectWriter.cs: Fixed and Simplified WriteGenericArray and
WriteSingleDimensionArrayElements. This also fixes bug #58345.

svn path=/trunk/mcs/; revision=27284
2004-05-13 16:05:38 +00:00
Mike Kestner fb2b8099be 2004-05-13 Mike Kestner <[email protected]>
* RegistrationHelper.cs : add Guid and 2 methods
	* RegistrationHelperTx.cs : add Guid and 2 methods
	* SynchronizationAttribute.cs : add ComVisible

svn path=/trunk/mcs/; revision=27283
2004-05-13 15:59:35 +00:00
Mike Kestner 42d846de70 2004-05-13 Mike Kestner <[email protected]>
* ContextUtil.cs : fix sigs for 2 methods
	* RegistrationConfig.cs : impl

svn path=/trunk/mcs/; revision=27282
2004-05-13 15:39:47 +00:00
Jackson Harper 22c236ffaf * CultureInfo.cs: You can access DateTimeFormat and NumberFormat
from the invariant culture.

svn path=/trunk/mcs/; revision=27281
2004-05-13 15:17:07 +00:00
Lluis Sanchez 30314b972c * XmlSerializationWriter.cs: Implemented some missing methods.
In .NET 1.0, encoded null elements use the attribute null="1", while in
	  1.1 the attribute is nil="true".
	* XmlTypeMapping.cs: Little fix for nested classes.

svn path=/trunk/mcs/; revision=27279
2004-05-13 15:09:35 +00:00
Rafael Teixeira d3b27cce9c 2004-05-13 Rafael Teixeira <[email protected]>
* Utils.cs: 
		Finally implement fully method CopyArray
		Progression: all nunit-tests for this method now pass on Mono, as they do in .NET

svn path=/trunk/mcs/; revision=27278
2004-05-13 14:55:15 +00:00
Mike Kestner 35201fe0d0 2004-05-13 Mike Kestner <[email protected]>
* EventTrackingEnabledAttribute.cs : add ComVisible
	* ExceptionClassAttribute.cs : add ComVisible
	* IISIntrinsicsAttribute.cs : add ComVisible
	* InterfaceQueuingAttribute.cs : add ComVisible
	* JustInTimeActivationAttribute.cs : add ComVisible
	* LoadBalancingSupportedAttribute.cs : add ComVisible
	* MustRunInClientContextAttribute.cs : add ComVisible
	* ObjectPoolingAttribute.cs : add ComVisible
	* PrivateComponentAttribute.cs : add ComVisible

svn path=/trunk/mcs/; revision=27277
2004-05-13 14:54:50 +00:00
Sebastien Pouliot 116797e522 2004-05-13 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Added an internal constructor so a default one
	doesn't appear with corcompare.

svn path=/trunk/mcs/; revision=27276
2004-05-13 14:47:10 +00:00
Jackson Harper ff38205e3c * CultureInfo.cs: DateTimeFormat and NumberFormat can not be
accessed for neutral cultures.

svn path=/trunk/mcs/; revision=27275
2004-05-13 14:43:05 +00:00
Sebastien Pouliot 7fcbfac84a 2004-05-13 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Update TODO informations.

svn path=/trunk/mcs/; revision=27274
2004-05-13 14:36:48 +00:00
Jordi Mas i Hernandez ec2a0dd41e include tests in the process and remove not longer need it TestBitmap case
svn path=/trunk/mcs/; revision=27273
2004-05-13 14:29:54 +00:00
Jordi Mas i Hernandez ba9523ce98 bmpcodec and ImageCodec tests
svn path=/trunk/mcs/; revision=27272
2004-05-13 14:26:53 +00:00
Jordi Mas i Hernandez 76e66b730a JpegCodec Testcase
svn path=/trunk/mcs/; revision=27271
2004-05-13 14:22:47 +00:00
Atsushi Eno bb254c546c 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs :
	  Element namespace is not XPath-selected(selectable) namespace nodes
	  and that should be outputted.
	  Don't return null for empty output.

svn path=/trunk/mcs/; revision=27270
2004-05-13 14:21:58 +00:00
Atsushi Eno 87223a0b93 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlDsigBase64Transform.cs :
	  LoadInput() should retrieve all the descendants.
	  GetOutput() should handle nodes without digging into child nodes.

svn path=/trunk/mcs/; revision=27269
2004-05-13 14:19:22 +00:00
Sebastien Pouliot d81bae3ec2 2004-05-13 Sebastien Pouliot <[email protected]>
* Environement.cs: Removed two security attributes for CurrentDirectory
	that weren't documented (and anyway we don't support them).

svn path=/trunk/mcs/; revision=27268
2004-05-13 14:13:32 +00:00
Lluis Sanchez 569da76f56 Added
svn path=/trunk/mcs/; revision=27267
2004-05-13 14:04:19 +00:00
Atsushi Eno fd25fbd628 2004-05-13 Atsushi Enomoto <[email protected]>
* DataRow.cs : Added DataElement property to avoid storing every row-
	  element mapping. It stored even for nodes that should be removed.

svn path=/trunk/mcs/; revision=27266
2004-05-13 13:59:49 +00:00
Zoltan Varga 9e8399eed9 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs (ToString): Make this consistent with MS.NET.

svn path=/trunk/mcs/; revision=27265
2004-05-13 13:59:13 +00:00
Jordi Mas i Hernandez 088b3927d7 jpeg 24 bits sample
svn path=/trunk/mcs/; revision=27264
2004-05-13 13:52:53 +00:00
Patrik Torstensson cc57331140 2004-05-13 Patrik Torstensson
* mini-x86.c: added OP_X86_COMPARE_MEMBASE_IMM peephole
	opt and added peephole documentation.

svn path=/trunk/mono/; revision=27263
2004-05-13 13:52:01 +00:00
Miguel de Icaza e5a5518fe8 Update with Massi's idea
svn path=/trunk/mono/; revision=27262
2004-05-13 13:30:48 +00:00
Zoltan Varga b52b2342e9 2004-05-13 Zoltan Varga <[email protected]>
* FieldInfo.cs: Add stubs for {Get,Set}ValueDirect.

svn path=/trunk/mcs/; revision=27261
2004-05-13 13:25:50 +00:00
Zoltan Varga 91c673fd99 2004-05-13 Zoltan Varga <[email protected]>
* TypeBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Implement
	ToString ().

svn path=/trunk/mcs/; revision=27260
2004-05-13 13:10:36 +00:00
Umadevi S 131e878b75 2004-05-13 Umadevi S ([email protected])
* OleDbDataReader.cs - Stubbed HasRows method
                        - Implemented EditorBrowsableAttribute
        * OleDbParameterConverter.cs - Stubbed this class
        * OleDbParameter.cs - Added a few attributes.

svn path=/trunk/mcs/; revision=27258
2004-05-13 10:47:06 +00:00
Umadevi S 8dfa1ba968 2004-05-13 Umadevi S <[email protected]>
* System.Data.dll.sources : added OleDbParameterConverter.cs

svn path=/trunk/mcs/; revision=27257
2004-05-13 10:42:14 +00:00
Jordi Mas i Hernandez 4597d0b6d3 helper scripts to run swi tests
svn path=/trunk/mcs/; revision=27256
2004-05-13 10:34:03 +00:00
Jordi Mas i Hernandez 1b3caabcdc 32-bit bitmap sample
svn path=/trunk/mcs/; revision=27255
2004-05-13 10:21:41 +00:00
Umadevi S 894f66fc34 2004-05013 Umadevi S <[email protected]>
* System.Data.dll.sources : added RelationshipConverter.cs

svn path=/trunk/mcs/; revision=27254
2004-05-13 09:54:08 +00:00
Umadevi S ed3eafa6dd 2004-05-13 Umadevi S <[email protected]>
* RelationshipConverter.cs - Stubbed this class
        * DataRelation.cs - added TypeConveterAttribute

svn path=/trunk/mcs/; revision=27253
2004-05-13 09:52:55 +00:00
Atsushi Eno 3231b47e35 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Removed row-element mapping. Just use new
	  DataRow.DataElement property. Added/removed some comments.

svn path=/trunk/mcs/; revision=27251
2004-05-13 09:14:46 +00:00
Lluis Sanchez fecd228e26 * System.Runtime.Remoting.dll.sources: Added:
System.Runtime.Remoting.Channels.Http/AggregateDictionary.cs,
	  System.Runtime.Remoting.Services/RemotingClientProxy.cs,
	  System.Runtime.Remoting.Services/RemotingService.cs

svn path=/trunk/mcs/; revision=27250
2004-05-13 09:13:50 +00:00
Lluis Sanchez 45b9119cdb * RemotingClientProxy.cs, RemotingService.cs: Added.
svn path=/trunk/mcs/; revision=27249
2004-05-13 09:07:24 +00:00
Lluis Sanchez 3e925dd61f * SUDSGeneratorException.cs, SUDSParserException.cs: Removed unneeded
methods and added internal constructor.
	* SdlChannelSink.cs: Fixed public constructor.
	* SdlChannelSinkProvider.cs: Added missing constructor.

svn path=/trunk/mcs/; revision=27248
2004-05-13 09:00:46 +00:00
Paolo Molaro fa36c12eaf Thu May 13 11:41:49 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: rewrote the generic trampoline code.

svn path=/trunk/mono/; revision=27247
2004-05-13 08:59:53 +00:00
Lluis Sanchez fe5721d637 * TcpChannel.cs: Made Init private.
* TcpClientTransportSink.cs, TcpClientTransportSinkProvider.cs,
	  TcpServerTransportSink.cs: Made internal.

svn path=/trunk/mcs/; revision=27246
2004-05-13 08:59:05 +00:00
Lluis Sanchez a1befbed05 * HttpChannel.cs, HttpClientChannel.cs: Added missing IDictionary
properties.
	* HttpRemotingHandler.cs: Added missing constructor.
	* HttpRemotingHandlerFactory.cs: Made ConfigureHttpChannel private.
	* HttpServerChannel.cs: Fixed IDictionary properties.

svn path=/trunk/mcs/; revision=27245
2004-05-13 08:55:28 +00:00
Lluis Sanchez 0a461a9b9c * BinaryCore.cs, SoapCore.cs: Added Properties property.
* BinaryServerFormatterSink.cs, SoapServerFormatterSink.cs: Added missing
	  TypeFilterLevel property.
	* BinaryServerFormatterSinkProvider.cs: Fixed setter for TypeFilterLevel.
	* SoapServerFormatterSinkProvider.cs: Added missing TypeFilterLevel
	  property.

svn path=/trunk/mcs/; revision=27244
2004-05-13 08:48:08 +00:00
Lluis Sanchez 6378e18dd8 AssemblyInfo.cs: Removed CLSCompliant attribute.
svn path=/trunk/mcs/; revision=27243
2004-05-13 08:43:09 +00:00
Umadevi S 606d9f626b 2004-05-13 Umadevi S <[email protected]>
* DataColumnCollection.cs - Added ResDescriptionAttribute
        * DataRelation.cs - Added TypeConverterAttribute
        * DataRelationCollection.cs - Added DefaultPropertyAttribute
        * DataRowView.cs - Added GetHashCode method with a TODO tag
        * DataSet.cs - Added DesignerAttribute
        * DataView.cs - Added DesignerAttribute
        * DataViewManager.cs - Added DesignerAttribute
        * DataViewSetting.cs - Added TypeConverterAttribute

svn path=/trunk/mcs/; revision=27241
2004-05-13 07:46:01 +00:00
Jordi Mas i Hernandez 28eafe391c make private data private
svn path=/trunk/mcs/; revision=27240
2004-05-13 07:39:14 +00:00
Atsushi Eno 37601e10f9 2004-05-13 Atsushi Enomoto <[email protected]>
* XsdValidatingReaderTests.cs : Ignore TestNamespaceFalse(). It is not
	  kind of thing that should be supported.
	* XmlValidatingReaderTests.cs : commented a bit.

svn path=/trunk/mcs/; revision=27238
2004-05-13 07:26:39 +00:00
Atsushi Eno 02fb9f05e2 2004-05-13 Atsushi Enomoto <[email protected]>
* CharacterData.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27237
2004-05-13 07:24:57 +00:00
Atsushi Eno e7849a7aea 2004-05-13 Atsushi Enomoto <[email protected]>
* Document.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27236
2004-05-13 07:24:38 +00:00
Atsushi Eno 7557c9c2ad 2004-05-13 Atsushi Enomoto <[email protected]>
* Text.cs : More don't check error message.

svn path=/trunk/mcs/; revision=27235
2004-05-13 07:24:17 +00:00
Atsushi Eno a30aba7e98 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Removed FIXME. No PSVI required.
	* XmlSchemaAll.cs : Removed FIXME. It was not done.
	* XmlSchemaAttributeGroupRef.cs : Removed FIXME. It can be annotated.
	* XmlSchemaChoice.cs : not FIXME but LAMESPEC.
	* XmlSchemaSimpleTypeRestriction.cs : Added check for non
	  XmlSchemaFacet items on Compile(). Thus removed FIXME.
	* XmlSchemaUtil.cs : Fixed SplitList to handle sequential spaces.
	  Thus removed FIXME.
	* XmlSchemaObjectTable. cs: modified to use HybridDictionary (mostly
	  for avoiding iterator order difference).

svn path=/trunk/mcs/; revision=27232
2004-05-13 07:09:03 +00:00
Peter Dennis Bartok f9665d4497 - Fixed bug #52868, Bitmap(Image, Size) would not resize the image
svn path=/trunk/mcs/; revision=27231
2004-05-13 06:26:25 +00:00
Umadevi S 3f468f6084 2004-05-13 Umadevi S ([email protected])
* DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag

svn path=/trunk/mcs/; revision=27230
2004-05-13 05:49:30 +00:00
Umadevi S d788e9aec7 2004-05-13 Umadevi S <[email protected]>
*  SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
        *  SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
        *  SQLDebugging.cs - Added new file with a TODO tag

svn path=/trunk/mcs/; revision=27229
2004-05-13 05:29:56 +00:00
Sanja Gupta 21b14e727b ChangeLog: Updated ChangeLog.
GraphicsState.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=27226
2004-05-13 05:19:28 +00:00
Sanja Gupta 68aa476b9c ChangeLog: Updated ChangeLog
MetafileHeader.cs: Added internal constructor.
PropertyItem.cs: Added internal constructor.

svn path=/trunk/mcs/; revision=27225
2004-05-13 05:17:42 +00:00
Atsushi Eno da650ba480 2004-05-13 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Removed MonoTODO. done.
	* Expression.cs : handle XPathResultType.Navigator in some places and
	  removed MonoTODO. Mark MonoTODO with explicit comments (though they
	  are mostly pointing out possibilities of optimization).
	  Removed extra check that depended on the old bugs.
	* XPathResultType.cs : Fixed .Navigator that had the same value as
	  .String.

svn path=/trunk/mcs/; revision=27224
2004-05-13 05:09:14 +00:00
Peter Dennis Bartok 3c2237bbe7 - Implemented GetThumbnailImage method
svn path=/trunk/mcs/; revision=27223
2004-05-13 05:07:59 +00:00
Atsushi Eno e0cfce445b 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : Removed MonoTODO. done.

svn path=/trunk/mcs/; revision=27222
2004-05-13 05:01:01 +00:00
Atsushi Eno c90e7f11e6 2004-05-13 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
	  supported).

svn path=/trunk/mcs/; revision=27221
2004-05-13 05:00:37 +00:00
Carlos Alberto Cortez dd76b32ca9 Added the --private option to monop to show private/family members
svn path=/trunk/mcs/; revision=27220
2004-05-13 03:52:53 +00:00
Gonzalo Paniagua Javier 95ed6c4c40 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* WebAsyncResult.cs: don't create the WaitHandle if not needed.

svn path=/trunk/mcs/; revision=27219
2004-05-13 03:37:35 +00:00
Sanja Gupta 4c94a3d5b8 ChangeLog: Updated ChangeLog.
Graphics.cs: Made method FromXDrawable(IntPtr, IntPtr) internal.

svn path=/trunk/mcs/; revision=27218
2004-05-13 03:36:13 +00:00
Umadevi S 1ae45ce41b 2004-05-13 Umadevi S <[email protected]>
*  Literal.cs - made class internal

svn path=/trunk/mcs/; revision=27217
2004-05-13 03:19:21 +00:00
Sanja Gupta de77cf4f59 ChangeLog: Updated ChangeLog.
Graphics.cs: Made method DrawRectangle (Pen, RectangleF) internal.

svn path=/trunk/mcs/; revision=27216
2004-05-13 03:16:37 +00:00
Sanja Gupta 02bc85cf44 ChangeLog: Updated ChangeLog.
GraphicsPath.cs: Added stub for missing method CloseFigure().

svn path=/trunk/mcs/; revision=27215
2004-05-13 03:06:41 +00:00
Sanja Gupta 460cda8266 ChangeLog: Updated ChangeLog.
Metafile.cs: Added Editor attribute to class Metafile.

svn path=/trunk/mcs/; revision=27214
2004-05-13 03:00:29 +00:00
Sanja Gupta 71f4f40e36 ChangeLog: Updated ChangeLog.
WmfPlaceablleFileHeader.cs: Removed extra property Id.

svn path=/trunk/mcs/; revision=27213
2004-05-13 02:50:09 +00:00
Gonzalo Paniagua Javier ec49116c9e 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/HttpWebRequest.cs: added 3 missing properties for 1.1. They
	are not used yet.

	* System.Net/NetConfig.cs: added MaxResponseHeadersLength field.

	* System.Net/ServicePoint.cs:
	* System.Net/ServicePointManager.cs: added missing properties for 1.1.

	* System.Net.Configuration/NetConfigurationHandler.cs: process the
	httpWebRequest node too. Better error checking.

svn path=/trunk/mcs/; revision=27211
2004-05-13 02:26:55 +00:00
Gonzalo Paniagua Javier 21a0b91547 Removed Consoles and ^Ms
svn path=/trunk/mcs/; revision=27210
2004-05-13 02:13:57 +00:00
Gonzalo Paniagua Javier ce62c7590a Removed Consoles and ^Ms
svn path=/trunk/mcs/; revision=27209
2004-05-13 02:05:19 +00:00
Sebastien Pouliot fceba28ede 2004-05-12 Sebastien Pouliot <[email protected]>
* IsolatedStorage.cs: More details on MonoTODO. Throw exceptions on
	AssemblyIdentity and DomainIdentity properties.
	* IsolatedStorageFile.cs: More details on MonoTODO.
	* IsolatedStorageFileStream.cs: Removed MonoTODO on class. Now use
	Path.Combine to build filenames (constructor) and throw an exception
	when we try to get the handle (as documented).

svn path=/trunk/mcs/; revision=27208
2004-05-13 01:32:30 +00:00
Gonzalo Paniagua Javier ad9ebfec30 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* util.c: use the W version of the function. With this, 'make test'
	works now on windows.

svn path=/trunk/mono/; revision=27207
2004-05-13 01:20:31 +00:00
Miguel de Icaza 9ac72b51b6 Fix potential leak
svn path=/trunk/mono/; revision=27205
2004-05-13 00:32:52 +00:00
Gonzalo Paniagua Javier 724a9774ef 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* RegistrationHelper.cs: fixed the build on windows. I will file a bug
	report on mcs for this.

svn path=/trunk/mcs/; revision=27204
2004-05-13 00:32:08 +00:00
Gonzalo Paniagua Javier ea8b58bba8 Cscompmgd -> cscompmgd
svn path=/trunk/mono/; revision=27203
2004-05-13 00:25:09 +00:00
Miguel de Icaza d6766f8afa NetBSD GC patches from [email protected]
svn path=/trunk/mono/; revision=27202
2004-05-13 00:23:34 +00:00
Gonzalo Paniagua Javier b5bd323e56 update win. installer
svn path=/trunk/mono/; revision=27201
2004-05-13 00:14:09 +00:00
Gonzalo Paniagua Javier c6406894fb 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* corlib_test.dll.sources: added BinderTests.cs
	* System.Reflection/Binder.cs: check for ambiguous matches in
	SelectMethod and SelectProperty. Fixes bug #58381
	* Test/System.Reflection/BinderTests.cs: New file.

svn path=/trunk/mcs/; revision=27199
2004-05-12 23:44:10 +00:00
Mike Kestner 326a50c995 2004-05-12 Mike Kestner <[email protected]>
* ApplicationAccessControlAttribute.cs : Add ComVisible and
	s/Impersonation/ImpersonationLevel.
	* ApplicationActivationAttribute.cs : Add ComVisible
	* ApplicationIDAttribute.cs : Add ComVisible
	* ApplicationNameAttribute.cs : Add ComVisible
	* ApplicationQueuingAttribute.cs : Add ComVisible
	* AutoCompleteAttribute.cs : Add ComVisible
	* ComponentAccessControlAttribute.cs : Add ComVisible and remove
	set_Value.
	* COMTIIntrinsicsAttribute.cs : Add ComVisible and remove set_Value.
	* ConstructionEnabledAttribute.cs : Add ComVisible, add Enabled, and
	remove set_Value.
	* DescriptionAttribute.cs : Add ComVisible
	* EventClassAttribute.cs : Add ComVisible and s/InProc/Inproc.
	* SecureMethodAttribute.cs : Add ComVisible
	* SecurityRoleAttribute.cs : Add ComVisible
	* ServicedComponentException.cs : Add ComVisible

svn path=/trunk/mcs/; revision=27197
2004-05-12 20:56:54 +00:00
Atsushi Eno 9ca9de3f91 2004-05-12 Atsushi Enomoto <[email protected]>
* DataRow.cs : Added XmlDataElement initialization code.

svn path=/trunk/mcs/; revision=27196
2004-05-12 20:17:19 +00:00
Mike Kestner 8888648072 2004-05-12 Mike Kestner <[email protected]>
* BOID.cs : add ComVisible attr.
	* ServiceDomain.cs : impl
	* SynchronizationAttribute.cs : add ComVisible attr
	* TransactionAttribute.cs : add ComVisible attr
	* XACTRRANSINFO.cs : add ComVisible attr.

svn path=/trunk/mcs/; revision=27195
2004-05-12 20:10:45 +00:00
Atsushi Eno c62a359a03 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Radical design change.
	  - GetElementFromRow() must return "detached" element, even if it is
	    not added to table's Rows.
	  - Introduced XmlDataElement class to map element (this class itself)
	    and DataRow _always_ . It is impossible to map *all* DataRows
	    to/from elements only in XmlDataDocument API, since DataRow can
	    be created separate from it (i.e. by table.NewRow()).
	  - Removed unreliable GetElementsByTagName() dependency from most
	    of the code, since users might create elements that has the same
	    name of any tables (that is possible especially unmapped elements).
	  - Adding/Removing delegates on every event action is unnecessary.
	    Use just flags.
	  - For Load(), just using base.Load() will do most of the job.
	  - Attributes and SimpleContents are not handled properly.

	  "Removed" and "Rollback" events are still TODO.

svn path=/trunk/mcs/; revision=27194
2004-05-12 20:09:51 +00:00
Atsushi Eno 8d885b0916 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest.cs : use Environment.NewLine. Added more tests.
	* XmlDataDocumentTest2.cs : Test nested relationship, detached row
	  state, and unmapped element as well.

svn path=/trunk/mcs/; revision=27192
2004-05-12 19:51:34 +00:00
Mike Kestner f4237d2357 2004-05-12 Mike Kestner <[email protected]>
* TransactionStatus.cs : impl

svn path=/trunk/mcs/; revision=27191
2004-05-12 19:49:21 +00:00
Dick Porter 6e830e4bb8 2004-05-12 Dick Porter <[email protected]>
* Uri.cs: Reduce(string) is not in the public API.

svn path=/trunk/mcs/; revision=27190
2004-05-12 19:34:24 +00:00
Dick Porter 3cf2eef79b Unbreak the build
svn path=/trunk/mcs/; revision=27189
2004-05-12 19:22:39 +00:00
Miguel de Icaza 1bb57f6eda update
svn path=/trunk/mcs/; revision=27188
2004-05-12 19:21:15 +00:00
Mike Kestner f345a3e920 2004-05-12 Mike Kestner <[email protected]>
* Activity.cs : stub
	* BindingOption.cs : impl
	* InheritanceOption.cs : impl
	* PartitionOption.cs : impl
	* ServiceConfig.cs : stub
	* SxsOption.cs : impl
	* ThreadPoolOption.cs : impl

svn path=/trunk/mcs/; revision=27187
2004-05-12 19:14:35 +00:00
Lluis Sanchez 797c6414c2 * LogicalMethodInfo.cs: Made EnableSession property internal.
svn path=/trunk/mcs/; revision=27186
2004-05-12 19:07:08 +00:00
Lluis Sanchez 9e13c4ccdb * SoapBinding.cs: Added missing attributes. The class is not sealed.
* SoapBodyBinding.cs: Removed unneeded attributes.

svn path=/trunk/mcs/; revision=27185
2004-05-12 19:03:56 +00:00
Dick Porter 27f8a98046 2004-05-12 Dick Porter <[email protected]>
* regex.cs:
	* quicksearch.cs:
	* RegexRunnerFactory.cs:
	* RegexRunner.cs: More public API difference fixes.

svn path=/trunk/mcs/; revision=27184
2004-05-12 19:03:21 +00:00
Mike Kestner 392101edcd 2004-05-12 Mike Kestner <[email protected]>
* IAsyncErrorNotify.cs : oops, should be public
	* IProcessInitComponent.cs : ditto
	* IProcessInitializer.cs : ditto
	* IServiceCall.cs : ditto

svn path=/trunk/mcs/; revision=27181
2004-05-12 18:09:06 +00:00
Sebastien Pouliot 7af6a24eee 2004-05-12 Jaroslaw Kowalski <[email protected]>
* AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL

svn path=/trunk/mcs/; revision=27180
2004-05-12 18:04:18 +00:00
Mike Kestner 80b18a2796 2004-05-12 Mike Kestner <[email protected]>
* System.EnterpriseServices.dll.sources: Added new interface files.

2004-05-12  Mike Kestner <[email protected]>

	* IAsyncErrorNotify.cs : implement new 1.1 iface.
	* IPlaybackControl.cs : implement new 1.1 iface.
	* IProcessInitComponent.cs : implement new 1.1 iface.
	* IProcessInitializer.cs : implement new 1.1 iface.
	* IRegistrationHelper.cs : add GUID, fix some param passing.
	* IRemoteDispatch.cs : add GUID
	* IServiceCall.cs : implement new 1.1 iface.
	* IServicedComponentInfo.cs : add GUID
	* ITransaction.cs : add GUID

svn path=/trunk/mcs/; revision=27179
2004-05-12 17:56:00 +00:00
Jordi Mas i Hernandez 1f5c87144a remove added extra dc
svn path=/trunk/mcs/; revision=27177
2004-05-12 16:30:30 +00:00
Miguel de Icaza c9457beb06 flush
svn path=/trunk/mono/; revision=27176
2004-05-12 16:23:00 +00:00
Dick Porter d500d05763 2004-05-12 Dick Porter <[email protected]>
* GroupCollection.cs:
	* MatchCollection.cs:
	* CaptureCollection.cs: Moved GroupCollection, MatchCollection and
	CaptureCollection so that they no longer inherit from the
	non-standard RegexCollectionBase class.  Fixes the API difference.

svn path=/trunk/mcs/; revision=27175
2004-05-12 16:10:07 +00:00
Zoltan Varga 8c6aacbdfd 2004-05-12 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System.Threading/CompressedStack.cs

svn path=/trunk/mcs/; revision=27174
2004-05-12 16:01:04 +00:00
Zoltan Varga e21949fa8e 2004-05-12 Zoltan Varga <[email protected]>
* CompressedStack.cs: New file.

svn path=/trunk/mcs/; revision=27173
2004-05-12 16:00:10 +00:00
Miguel de Icaza ddd1fba375 Mhm
svn path=/trunk/mono/; revision=27172
2004-05-12 15:44:18 +00:00
Miguel de Icaza 428676040b Update
svn path=/trunk/mono/; revision=27171
2004-05-12 15:43:27 +00:00
Atsushi Eno e0b51a10ce 2004-05-12 Atsushi Enomoto <[email protected]>
* Makefile : added remoting.dll and enterprisesvc.dll.

svn path=/trunk/mono/; revision=27170
2004-05-12 15:40:33 +00:00
Miguel de Icaza 7b1d3ff919 Flush
svn path=/trunk/mono/; revision=27169
2004-05-12 14:30:51 +00:00
Lluis Sanchez de7bdac611 * HttpSimpleWebServiceHandler.cs: Added GetRequestMethod(), which is used
by the handler factory to check if the target method needs session or not.
	  Also factorized error handling in WriteError().
	* HttpSoapWebServiceHandler.cs: Added GetRequestMethod(), for the same
	  reason. Assign the context to the WebService just before invoking the
	  method.
	* SoapHttpClientProtocol.cs: Use helper method to create the xml writer.
	* WebServiceHandler.cs: Added virtual GetRequestMethod().
	* WebServiceHandlerFactory.cs: Use an http handler wrapper when the target
	  method requires session support.
	* WebServiceHelper.cs: Added some helper methods.

svn path=/trunk/mcs/; revision=27168
2004-05-12 14:25:07 +00:00
Lluis Sanchez 42e925fd3a * WebService.cs: Take the session from the context.
svn path=/trunk/mcs/; revision=27167
2004-05-12 14:22:09 +00:00
Sebastien Pouliot 0a2dad82d7 2004-05-12 Jesper Pedersen <[email protected]>
* PKCS12.cs: Removed file exists check from SaveToFile(). Removed
	Equals() and GetHashCode(). Clone the original iteration count.

svn path=/trunk/mcs/; revision=27166
2004-05-12 14:21:25 +00:00
Lluis Sanchez 38c5d018ae * Makefile: Added reference to System.Data.
* services.xml, wsdl.ignore: Updated.
	* wstest.cs: Small improvements.
	* external/BankCodeEJBHomeTest.cs, external/GlobalWeatherTest.cs,
	  external/HPcatalogTest.cs, external/IODCODESPOSTAUXTest.cs,
	  external/TemperatureServiceTest.cs, localhost/ConvDocEncBarTest.cs,
	  localhost/ConvDocEncWraTest.cs, localhost/ConvDocLitBarTest.cs,
	  localhost/ConvDocLitWraTest.cs, localhost/ConvRpcTest.cs
	  Changed namespace to make it easier to select tests in gnunit.
	* localhost/ConvRpcTest.cs: Added test for method that returns "Object".
	* server/ConvDocEncWra.asmx, ConvDocLitWra.asmx, ConvRpc.asmx: New test
	  methods.
	* server/web.config: Added version to vsdisco handler type name.
	* client/localhost/DataServiceTest.cs
	  client/localhost/DuplicateArrayTestTest.cs
	  client/localhost/SessionCounterTest.cs
	  server/DataService.asmx
	  server/DuplicateArrayTest.asmx
	  server/SessionCounter.asmx: New tests.

svn path=/trunk/mcs/; revision=27165
2004-05-12 14:20:47 +00:00
Jordi Mas i Hernandez c8f6299f1b API compatibility changes
svn path=/trunk/mcs/; revision=27164
2004-05-12 13:05:28 +00:00
Ravindra 35e735ec48 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
	Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
	Added missing attributes and some coding style fixes.
	* Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
	some fixes.

svn path=/trunk/mcs/; revision=27163
2004-05-12 12:33:36 +00:00
Jordi Mas i Hernandez 34661a2fac fixes typos
svn path=/trunk/mcs/; revision=27160
2004-05-12 11:44:44 +00:00
Jordi Mas i Hernandez 9269cfde45 fixes class name definition typo
svn path=/trunk/mcs/; revision=27159
2004-05-12 11:34:37 +00:00
Jordi Mas i Hernandez c7c5623c28 LockBitmap tests for different pixel formats
svn path=/trunk/mcs/; revision=27157
2004-05-12 11:07:16 +00:00
Sebastien Pouliot e9aab56cdf 2004-05-12 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Reduce extra/missing in corcompare (again).

svn path=/trunk/mcs/; revision=27156
2004-05-12 10:54:58 +00:00
Umadevi S e072df5639 2004-05-12 Umadevi S <[email protected]>
* Expression.cs, Functions.cs, In.cs, Like.cs, Parser.jay, StringFunctions.cs - made class/enum/interfaces internal

svn path=/trunk/mcs/; revision=27155
2004-05-12 10:48:10 +00:00
Umadevi S 88c950c9cc 2004-05-12 Umadevi S <[email protected]>
* BooleanExpression.cs,ColumnReference.cs, Comparison.cs - made class/enum internal

svn path=/trunk/mcs/; revision=27154
2004-05-12 10:30:48 +00:00
Umadevi S 810d737cda 2004-05-12 Umadevi S <[email protected]>
* ArithmeticExpression.cs - made class internal

svn path=/trunk/mcs/; revision=27153
2004-05-12 10:22:10 +00:00
Umadevi S e00a913152 2004-05-12 Umadevi S <[email protected]>
* Aggregation.cs - made Class/enum internal

svn path=/trunk/mcs/; revision=27152
2004-05-12 10:17:06 +00:00
Atsushi Eno 20efd1a861 2004-05-12 Atsushi Enomoto <[email protected]>
* Parser.jay : made class internal.

svn path=/trunk/mcs/; revision=27151
2004-05-12 09:13:26 +00:00
Atsushi Eno 848a8c8c44 2004-05-12 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : made classes/enums internal.

svn path=/trunk/mcs/; revision=27150
2004-05-12 09:12:13 +00:00
Atsushi Eno 4190429496 2004-05-12 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  DTDReader.cs,
	  XmlDocument.cs,
	  XmlInputStream.cs,
	  XmlParserInput.cs,
	  XmlTextReader.cs,
	  XmlUrlResolver.cs : removed reference to Mono.Xml.
	  Made Mono.Xml.* classes internal.
	* XmlDocument.cs : output xml declaration for TextWriter output in Save()
	* XmlElement.cs : Name character check should be done in .ctor().
	* XmlNamespaceManager.cs : Removed dangerous internal .ctor()

svn path=/trunk/mcs/; revision=27149
2004-05-12 09:11:19 +00:00
Atsushi Eno 8710d9f877 2004-05-12 Atsushi Enomoto <[email protected]>
* XslNumber.cs : made enum internal

svn path=/trunk/mcs/; revision=27148
2004-05-12 09:05:06 +00:00
Atsushi Eno 6447b67d6f 2004-05-12 Atsushi Enomoto <[email protected]>
* XmlOutputter.cs,
	  XslOutput.cs,
	  XslStylesheet.cs : made classes/enums internal.

svn path=/trunk/mcs/; revision=27147
2004-05-12 09:04:23 +00:00
Atsushi Eno c42df60f9e 2004-05-12 Atsushi Enomoto <[email protected]>
* Pattern.cs : made class internal.

svn path=/trunk/mcs/; revision=27146
2004-05-12 09:02:44 +00:00
Nick Drochak fc9998d952 2004-05-12 Nick Drochak <[email protected]>
* PKCS12Test.cs: Do not exceed line length limit.

svn path=/trunk/mcs/; revision=27145
2004-05-12 06:42:48 +00:00
Gonzalo Paniagua Javier b36aa24e62 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added Html32TextWriter.

	* System.Web.Compilation/AspGenerator.cs: ObjectTagBuilder do not
	override HasBody now.

	* System.Web.UI/Html32TextWriter.cs: stub contributed by Matthijs ter
	Woord [meddochat].

	* System.Web.UI/ObjectTagBuilder.cs: remove the HasBody override as MS
	does not have that.

	This makes System.Web free of errors, missing or extra stuff in the
	class status pages.

svn path=/trunk/mcs/; revision=27144
2004-05-12 06:40:13 +00:00
Marek Safar 92759cb93e 2004-05-12 Marek Safar <[email protected]>
* attribute.cs:
	(Attribute.GetAttributeTargets): New method. Gets AttributeTargets
	for attribute.
	(Attribute.IsClsCompliaceRequired): Moved to base for better
	accesibility.
	(Attribute.UsageAttribute): New property for AttributeUsageAttribute
	when attribute is AttributeUsageAttribute.
	(Attribute.GetValidTargets): Simplified.
	(Attribute.GetAttributeUsage): New method returns AttributeUsage
	attribute for this type.
	(Attribute.ApplyAttributes): Method renamed to Emit and make
	non-static.
	(GlobalAttributeSection): New class for special handling of global
	attributes (assembly, module).
	(AttributeSection.Emit): New method.

	* class.cs: Implemented Attributable abstract methods.
	(MethodCore.LabelParameters): Moved to Parameter class.
	(Accessor): Is back simple class.
	(PropertyMethod): Implemented Attributable abstract class.
	(DelegateMethod): Implemented Attributable abstract class.
	(Event): New constructor for disctintion between normal Event
	and Event with accessors.

	* cs-parser.jay: Used new Event ctor and GlobalAttributeSection.

	* codegen.cs, const.cs, decl.cs, delegate.cs:
	(CommonAssemblyModulClass): Implemented Attributable abstract class
	and simplified.

	* enum.cs: Implement IAttributeSupport interface.
	(EnumMember): New class for emum members. Implemented Attributable
	abstract class

	* parameter.cs:
	(ParameterBase): Is abstract.
	(ReturnParameter): New class for easier [return:] attribute handling.

	* typemanager.cs: Removed builder_to_attr.

svn path=/trunk/mcs/; revision=27143
2004-05-12 06:36:15 +00:00
Gonzalo Paniagua Javier a85c5aeb59 lazy Canadians... ;-)
svn path=/trunk/mcs/; revision=27142
2004-05-12 05:22:19 +00:00
Gonzalo Paniagua Javier 8e05172278 Don't try 2.0 on windows. It does not built yet.
svn path=/trunk/mono/; revision=27141
2004-05-12 05:12:14 +00:00
Gonzalo Paniagua Javier 926e37a2d6 Added cleanassemblies target to remove all dlls and exes
svn path=/trunk/mono/; revision=27140
2004-05-12 05:11:14 +00:00
Atsushi Eno b461488ea1 2004-05-12 Atsushi Enomoto <[email protected]>
* Makefile : added vb.dll

svn path=/trunk/mono/; revision=27139
2004-05-12 05:05:05 +00:00
Gonzalo Paniagua Javier bf7344774a 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: also add libmonoos to libmetadata. Fixes the build on
	windows.

svn path=/trunk/mono/; revision=27138
2004-05-12 05:02:11 +00:00
Gonzalo Paniagua Javier d453f6336b 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile: disable net_2_0 on windows. It doesn't build. Don't
	try to build net_1_0 and net_2_0 if we provide a PROFILE=xxx in the
	command line.

svn path=/trunk/mcs/; revision=27137
2004-05-12 04:51:03 +00:00
Gonzalo Paniagua Javier f13c127b3c Version
svn path=/trunk/mcs/; revision=27136
2004-05-12 04:42:56 +00:00
Miguel de Icaza e037b59a7e Gone
svn path=/trunk/mono/; revision=27135
2004-05-12 03:01:09 +00:00
Gonzalo Paniagua Javier 1a952799be 2004-05-12 Gonzalo Paniagua Javier <[email protected]>
* metadata/Makefile.am: link to ../os/libmonoos.la on windows.

	* metadata/assembly.c:
		-If MONO_DEBUG, warn about non-existing directories in
		MONO_PATH.
		-Added mono_assembly_getrootdir() that replaces MONO_ASSEMBLIES
		compile time variable.
		-Removed init_default_path and call mono_set_rootdir from
		libmonoos.a instead (windows only).

	* metadata/assembly.h: declare mono_assembly_getrootdir().

	* metadata/domain.c:
	* metadata/icall.c: use mono_assembly_getrootdir() instead of
	MONO_ASSEMBLIES.

	* metadata/loader.c: s/getenv/g_getenv/
	* os/win32/util.c: the path from GetModuleFileName is UTF-16.

svn path=/trunk/mono/; revision=27134
2004-05-12 01:58:21 +00:00
Patrik Torstensson 26c93c9487 2004-05-11 Patrik Torstensson
* mini-x86.c: optimize long shl/shr asm code (one less branch)

svn path=/trunk/mono/; revision=27133
2004-05-11 21:00:44 +00:00
Zoltan Varga f2b868665f 2004-05-11 Zoltan Varga <[email protected]>
* Makefile.am (EXTRA_DIST): Distribute benchmarks as well.

svn path=/trunk/mono/; revision=27131
2004-05-11 19:13:30 +00:00
Zoltan Varga a8be2bfb51 2004-05-11 Zoltan Varga <[email protected]>
* basic.cs basic-long.cs objects.cs: Make these compile under MS csc.

svn path=/trunk/mono/; revision=27130
2004-05-11 19:04:37 +00:00
Zoltan Varga fe50dc6d3d 2004-05-11 Zoltan Varga <[email protected]>
* mini.h mini.c dominators.c: Applied patch from David Waite
	([email protected]): Fix memory leaks in loop optimizations.

svn path=/trunk/mono/; revision=27129
2004-05-11 18:37:50 +00:00
Jackson Harper d5cc4c8b33 * Makefile: Preserve MONO_PATH
svn path=/trunk/mcs/; revision=27128
2004-05-11 18:16:22 +00:00
Jackson Harper dbe9cb30b2 * Makefile: Use snazzy new PLATFORM_PATH_SEPARATOR when setting
the mono path, so it works on Windows.

svn path=/trunk/mcs/; revision=27127
2004-05-11 18:13:00 +00:00
Jackson Harper 9ceb42d7df * platforms/linux.make:
* platforms/win32.make: Define a PLATFORM_PATH_SEPARATOR used for
	separating paths in env vars. (ie MONO_PATH).
	* profiles/net_2_0.make: Always use gmcs for building the 2.0
	libraries. corlib is the first lib built and it will build
        gmcs.

svn path=/trunk/mcs/; revision=27126
2004-05-11 18:05:18 +00:00
Mike Shaver aac5b8d645 update link to Jim Miller's patent message
svn path=/trunk/mono/; revision=27125
2004-05-11 17:27:41 +00:00
Zoltan Varga efa9f9669b 2004-05-11 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add tests for AsAny marshalling.

svn path=/trunk/mono/; revision=27124
2004-05-11 17:23:17 +00:00
Zoltan Varga aa60db9b32 2004-05-11 Zoltan Varga <[email protected]>
* mini.c: Add new icalls for AsAny marshalling.

svn path=/trunk/mono/; revision=27123
2004-05-11 17:22:14 +00:00
Zoltan Varga 7c41c5c623 2004-05-11 Zoltan Varga <[email protected]>
* marshal.{h,c}: Add support for UnmanagedType.AsAny.

	* marshal.c: Use mono_metadata_signature_{alloc,dup} where appropriate.

	* metadata.h: Add new marshalling conversions.

	* metadata.h metadata.c (mono_metadata_signature_dup): New helper function.

svn path=/trunk/mono/; revision=27122
2004-05-11 17:20:07 +00:00
Zoltan Varga becfd57d95 2004-05-11 Zoltan Varga <[email protected]>
* opcode.def: Add mono_func2.

svn path=/trunk/mono/; revision=27121
2004-05-11 17:17:49 +00:00
Andreas N 6efca4fe71 2004-05-11 Andreas Nahr <[email protected]>
* Char.cs: Fix exceptions

svn path=/trunk/mcs/; revision=27120
2004-05-11 17:05:25 +00:00
Andreas N 6a8c196ae4 2004-05-11 Andreas Nahr <[email protected]>
* OpCodes.cs: Refactored to avoid the static constructor

svn path=/trunk/mcs/; revision=27119
2004-05-11 17:03:52 +00:00
Miguel de Icaza 91b5710fc0 flush
svn path=/trunk/mono/; revision=27118
2004-05-11 16:46:40 +00:00
Carlos Guzmán Álvarez 6f94dbbcef 2004-05-11 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

		- Added fix for better handling of exceptions when
		building the X509 Certificate chain.

svn path=/trunk/mcs/; revision=27117
2004-05-11 16:41:59 +00:00
Jackson Harper 8ac8a83197 * Makefile: Use mono and mcs to build gmcs
svn path=/trunk/mcs/; revision=27116
2004-05-11 16:37:34 +00:00
Gonzalo Paniagua Javier ec3393747f 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: if AutoReset, disable the timer before adding the callback
	to the ThreadPool. Patch by Tim Fries <[email protected]>. Fixes bug
	#57993.

svn path=/trunk/mcs/; revision=27114
2004-05-11 16:06:42 +00:00
Jackson Harper 10ae4cb6c5 * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: cscompmgd.dll is lowercase now.

svn path=/trunk/mono/; revision=27113
2004-05-11 15:35:55 +00:00
Jackson Harper 718ee3cecb * Makefile: Specify correct lowercase assembly name.
svn path=/trunk/mcs/; revision=27112
2004-05-11 15:17:50 +00:00
Atsushi Eno c2a8e95ef6 2004-05-11 Atsushi Enomoto <[email protected]>
* XmlDataInferenceLoader.cs :
	  It now requires XmlDocument as input.  Improved identification of
	  DataSet element.  Removed extra lines.
	  Moved boresome design notes to bottom of the source and
	  added standalone runnable driver (not included on build).
	* DataSet.cs :
	  Update with related to the change above.
	  WriteXml() should call Flush() after writing. This fixes bug #58327.
	* XmlSchemaDataImporter.cs :
	  Improved indentification of DataSet element.

svn path=/trunk/mcs/; revision=27111
2004-05-11 15:16:29 +00:00
Jackson Harper f7313d5ae6 * library.make: Allow assembly names to be different then their
.sources file names.

svn path=/trunk/mcs/; revision=27110
2004-05-11 15:13:51 +00:00
Atsushi Eno f53afd3f14 2004-05-11 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : Added WriteXmlToStream().

svn path=/trunk/mcs/; revision=27109
2004-05-11 15:12:23 +00:00
Paolo Molaro 1d18ae81bd Tue May 11 16:00:38 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c, mini-ppc.c: more cleanups.

svn path=/trunk/mono/; revision=27104
2004-05-11 13:51:39 +00:00
Lluis Sanchez dc510f2bc5 * MethodResponse.cs: Only get the MethodBase from type and method name when
requested.

svn path=/trunk/mcs/; revision=27102
2004-05-11 13:36:05 +00:00
Lluis Sanchez 96b8f0bb74 * ChannelServices.cs: Configure delayed load channels when a chanel lookup
fails.

svn path=/trunk/mcs/; revision=27101
2004-05-11 13:25:21 +00:00
Lluis Sanchez 421c46d503 * RemotingConfiguration.cs: Added method for configuring chanels with the
delayed client load flag. Added locks for accessing internal tables.

svn path=/trunk/mcs/; revision=27100
2004-05-11 13:22:03 +00:00
Lluis Sanchez 9dd73226eb * ChannelCore.cs: Use LoadWithPartialName when configuration information
is not present.

svn path=/trunk/mcs/; revision=27099
2004-05-11 13:19:02 +00:00
Sanja Gupta eae0449500 ImageAnimator.cs: Fixed compilation problem which crept in 'cos of my carelessness.
svn path=/trunk/mcs/; revision=27098
2004-05-11 13:04:23 +00:00
Dick Porter 71b932b3a4 2004-05-11 Dick Porter <[email protected]>
* shared.c (_wapi_shm_attach): Cope when a previous daemon startup
	attempt failed, leaving shared files that look like a daemon is
	still starting.

svn path=/trunk/mono/; revision=27097
2004-05-11 13:02:27 +00:00
Sanja Gupta 556182dbf6 ChangeLog: Updated ChangeLog
ImageAnimator.cs: Implemented first version. UNTESTED

svn path=/trunk/mcs/; revision=27096
2004-05-11 13:01:53 +00:00
Sebastien Pouliot 5330821009 2004-05-11 Jesper Pedersen <[email protected]>
* PKCS12Test.cs: Added unit tests for the new methods.

svn path=/trunk/mcs/; revision=27094
2004-05-11 12:47:58 +00:00
Gonzalo Paniagua Javier c43de4b511 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* mini.c: no warnings.

svn path=/trunk/mono/; revision=27093
2004-05-11 12:29:45 +00:00
Gonzalo Paniagua Javier 28e68025c2 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: added internal property to get the page
	handler when available.

	* WebServiceHandlerFactory.cs: wrap the documentation handler in a class
	that implements IRequiresSessionState and, if requested,
	IReadOnlySessionState, so that we can use Sesion object in the default
	WSDL help generator.

svn path=/trunk/mcs/; revision=27092
2004-05-11 12:18:20 +00:00
Zoltan Varga 0f128ab73f 2004-05-11 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type): Lookup the type in all
	modules of a multi-module assembly. Fixes #58291.

svn path=/trunk/mono/; revision=27091
2004-05-11 11:48:31 +00:00
Sebastien Pouliot 79f1909e01 2004-05-11 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added unit tests for Mono.Security.
	Protocol.Ntlm.MessabeBase and Mono.Security.ASN1Convert.

svn path=/trunk/mcs/; revision=27090
2004-05-11 11:37:30 +00:00
Paolo Molaro b43fb4927f Tue May 11 13:59:28 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, mini.c: use mono_resolve_patch_target ().

svn path=/trunk/mono/; revision=27089
2004-05-11 11:35:59 +00:00
Sebastien Pouliot e2a2d743dc 2004-05-11 Sebastien Pouliot <[email protected]>
* PKCS8.cs: Fixed negative Version check.
	* MD2Managed.cs: Added readonly to static array constants.
	* MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.

svn path=/trunk/mcs/; revision=27088
2004-05-11 11:34:34 +00:00
Sebastien Pouliot 32fa6d4398 2004-05-11 Sebastien Pouliot <[email protected]>
* ARC4ManagedTest.cs: Added missing  unit tests for complete coverage.
	Completed convertion to NUnit 2.
	* CryptoConvertTest.cs: Added/modified unit tests for better coverage.
	* MD2ManagedTest.cs: Added unit tests for better coverage.
	* MD2Test.cs: Added unit tests for better coverage.
	* MD4ManagedTest.cs: Added unit tests for better coverage.
	* MD4Test.cs: Added unit tests for better coverage.
	* PKCS8.cs: Added unit tests for better coverage.

svn path=/trunk/mcs/; revision=27087
2004-05-11 11:30:24 +00:00
Sebastien Pouliot b3dd432929 2004-05-11 Sebastien Pouliot <[email protected]>
* ChallengeResponseTest.cs: Added new unit tests for better coverage.
	* MessageBaseTest.cs: New. Unit tests for the base abstract class.
	* Type2MessageTest.cs: Added new unit tests for better coverage.
	* Type3MessageTest.cs: Added new unit tests for better coverage.

svn path=/trunk/mcs/; revision=27086
2004-05-11 11:25:46 +00:00
Sebastien Pouliot 6c81951fca 2004-05-11 Sebastien Pouliot <[email protected]>
* PrivateKeyTest.cs: Added new unit tests for better coverage.
	* SoftwarePublisherCertificateTest.cs: Added new unit tests for better
	coverage.

svn path=/trunk/mcs/; revision=27085
2004-05-11 11:22:51 +00:00
Sebastien Pouliot 39264c7e95 2004-05-11 Sebastien Pouliot <[email protected]>
* ASN1ConvertTest.cs: New. Unit tests for ASN.1 convertions.
	* StrongNameTest.cs: Added new unit tests for better coverage.

svn path=/trunk/mcs/; revision=27084
2004-05-11 11:20:28 +00:00
Sebastien Pouliot 11bbe77019 2004-05-11 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: Better exception reporting. Added globalization to
	exceptions.
	* SoftwarePublisherCertificate.cs: Better exception reporting. Added
	globalization to exceptions.

svn path=/trunk/mcs/; revision=27083
2004-05-11 11:17:48 +00:00
Sebastien Pouliot 1292d8b337 2004-05-11 Sebastien Pouliot <[email protected]>
* ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
	unit tests.
	* StrongName.cs: Fixed GetBytes() when creating a new strongname.
	Removed	unrequired :base() from a constructor. Removed debugging
	Console.WriteLine.

svn path=/trunk/mcs/; revision=27082
2004-05-11 11:15:13 +00:00
Raja R Harinath 4a6d35661f add test-252.cs
svn path=/trunk/mcs/; revision=27081
2004-05-11 11:09:46 +00:00
Raja R Harinath 84753bc417 Fix bug #57151.
* attribute.cs (Attribute.GetPositionalValue): New function.
* class.cs (TypeContainer.VerifyMembers): New function.
(TypeContainer.Emit): Use it.
(ClassOrStruct): New base class for Class and Struct.
(ClassOrStruct.ApplyAttributeBuilder): New function.  Note if
StructLayout(LayoutKind.Explicit) was ascribed to the struct or
class.
(ClassOrStruct.VerifyMembers): If the struct is explicitly laid out,
then each non-static field should have a FieldOffset attribute.
Otherwise, none of the fields should have a FieldOffset attribute.
* rootcontext.cs (RootContext.ResolveCore): Resolve StructLayout
and FieldOffset attributes.
* typemanager.cs (TypeManager.struct_layout_attribute_type)
(TypeManager.field_offset_attribute_type): New core types.
(TypeManager.InitCoreTypes): Initialize them.

svn path=/trunk/mcs/; revision=27080
2004-05-11 11:08:10 +00:00
Raja R Harinath d5bc2421b7 * class.cs (Event.RemoveDelegateMethod.DelegateMethodInfo):
Return correct type.
From bug #58270.

svn path=/trunk/mcs/; revision=27079
2004-05-11 11:06:18 +00:00
Raja R Harinath c05298354b New test from #58290.
svn path=/trunk/mcs/; revision=27078
2004-05-11 11:01:31 +00:00
Lluis Sanchez bc4032669c * mini.c: In the thread abort signal handler, if the thread is in the
process of being stoped, don't throw the Abort exception, just stop the
	thread.

svn path=/trunk/mono/; revision=27077
2004-05-11 10:24:36 +00:00
Lluis Sanchez 54d84c22c8 * threads.c: Before aborting a background, set the StopRequested state (this
avoids throwing the Abort exception).
	In mono_thread_manage, don't continue with the shutdown until all aborted
	threads have actually stopped.

svn path=/trunk/mono/; revision=27076
2004-05-11 10:22:48 +00:00
Lluis Sanchez acd8316fc2 * MethodResponse.cs: In the serialization constructor, initialize MethodBase
using the method name and type name.

svn path=/trunk/mcs/; revision=27075
2004-05-11 09:55:54 +00:00
Lluis Sanchez 304ffc273f * RemotingServices.cs: In GetMethodBaseFromMethodMessage, look for
constructors if no method is found.

svn path=/trunk/mcs/; revision=27074
2004-05-11 09:54:26 +00:00
Lluis Sanchez 4180bcf78e * MissingMemberException.cs: Fix in serialization constructor.
svn path=/trunk/mcs/; revision=27073
2004-05-11 09:52:57 +00:00
Paolo Molaro d4589317de Tue May 11 12:15:24 CEST 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: removed old code.

svn path=/trunk/mono/; revision=27072
2004-05-11 09:33:33 +00:00
Paolo Molaro d6d345ba92 Tue May 11 12:02:28 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, mini-ppc.c, cfold.c: export mono_is_power_of_two().
	do some simple speed optimizations on ppc.

svn path=/trunk/mono/; revision=27071
2004-05-11 09:21:36 +00:00
Raja R Harinath bd7f2f321a (constructor): Remove. Compiler is a static-only
class.

svn path=/trunk/mcs/; revision=27070
2004-05-11 07:53:53 +00:00
Gonzalo Paniagua Javier 6e2298caa6 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* System.Resources/ResXResourceWriter.cs: implemented.

svn path=/trunk/mcs/; revision=27069
2004-05-11 07:37:19 +00:00
Raja R Harinath 9335a6b796 * Makefile (run-test-local): Run gmcs and multi tests too.
(test-multi-local): Add logging of errors.
* runtest.pl: Change $errors and $warnings to keep track of lines
on which errors are supposed to occur.

svn path=/trunk/mcs/; revision=27068
2004-05-11 07:22:56 +00:00
Atsushi Eno 84976ba908 2004-05-11 Atsushi Enomoto <[email protected]>
* SqlMoney.cs : Handle fixed digits correctly.
	  Round decimal value before casting into other numeric types.
	* SqlInt16.cs,
	  SqlInt32.cs,
	  SqlInt64.cs : Round SqlMoney decimal value before casting into them.
	* SqlDateTime.cs :
	  Added range check.
	  Years and months were ignored in some .ctor().
	  Return invariant culture string in ToString().
	  Return null for operator - when operand is null.

svn path=/trunk/mcs/; revision=27067
2004-05-11 06:48:02 +00:00
Gert Driesen 653eab0b96 * Compiler.cs: marked ctor private to match MS.NET
svn path=/trunk/mcs/; revision=27066
2004-05-11 05:38:10 +00:00
Atsushi Eno 8477a69a08 2004-05-11 Atsushi Enomoto <[email protected]>
* DataSetReadXmlSchemaTest.cs : SingleElementTreatmentDifference() was
	  incorrect. DataSet element is assumed only if there is only one
	  global element.
	* DataSetReadXmlTest.cs : Added error-reported test case.
	* DataSetInferXmlSchemaTest.cs : Modified more tests not to compare
	  Ordinal for non-specified columns (that shouldn't be significant).

svn path=/trunk/mcs/; revision=27065
2004-05-11 05:37:50 +00:00
Gert Driesen 48aec59d1f * SoapFormatter.cs: sealed class and added ComVisible attribute
to FilterLevel property to match MS.NET
* SoapTypeMapper.cs: fixed compiler warnings

svn path=/trunk/mcs/; revision=27064
2004-05-11 05:31:18 +00:00
Ravindra 8627dfa65b Implemented AdjustableArrowCap.cs and CustomLineCap.cs.
svn path=/trunk/mcs/; revision=27063
2004-05-11 05:22:47 +00:00
Ravindra 5316acffbb Implementing AdjustableArrowCap.cs. Added P/Invokes for the same.
svn path=/trunk/mcs/; revision=27062
2004-05-11 05:16:37 +00:00
Gert Driesen 878827c788 * DataTable: marked initStatus enum internal
svn path=/trunk/mcs/; revision=27061
2004-05-11 05:15:45 +00:00
Miguel de Icaza 4357d08d30 Flush
svn path=/trunk/mono/; revision=27058
2004-05-11 01:14:34 +00:00
Miguel de Icaza 13b1f2b04b New hacker for the Hall of Fame
svn path=/trunk/mono/; revision=27056
2004-05-10 23:05:36 +00:00
Miguel de Icaza cdcb8fe9c6 Flush
svn path=/trunk/mono/; revision=27053
2004-05-10 21:12:25 +00:00
Duncan Mak 90c1d4396e Add link to packagers page.
svn path=/trunk/mono/; revision=27047
2004-05-10 20:32:40 +00:00
Jackson Harper d6fc20c125 * locales.c: Remove the modifier from culture names.
svn path=/trunk/mono/; revision=27032
2004-05-10 15:21:00 +00:00
Gonzalo Paniagua Javier 7929d278ea 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* io.c:
	(SetFileAttributes): don't the the exec bit if the corresponding read
	bit is not set.

svn path=/trunk/mono/; revision=27031
2004-05-10 15:16:17 +00:00
Paolo Molaro 5ebcdc8f3c Prettify and include s390 sources.
svn path=/trunk/mono/; revision=27030
2004-05-10 15:06:25 +00:00
Paolo Molaro 68609a3dca Mon May 10 17:21:00 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: fixes to handle large stack frames
	and large offsets in load/store.

svn path=/trunk/mono/; revision=27029
2004-05-10 14:40:13 +00:00
Paolo Molaro 7327191f71 Fix macros.
svn path=/trunk/mono/; revision=27028
2004-05-10 14:37:42 +00:00
Marek Safar ce8edc448d 2004-05-10 Marek Safar <[email protected]>
* cs0577-2, cs0577-3,
	* cs1618.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=27027
2004-05-10 13:49:22 +00:00
Zoltan Varga 167ec58d39 2004-05-10 Zoltan Varga <[email protected]>
* io.c (FindFirstFile): Fix invalid free.

svn path=/trunk/mono/; revision=27026
2004-05-10 13:16:14 +00:00
Ravindra 7cf355e3fe Implementing CustomLineCap. Added P/Invokes for the same. Added few related P/Invokes for Pen also.
svn path=/trunk/mcs/; revision=27025
2004-05-10 12:39:16 +00:00
Gert Driesen 832bb7e90f * AssemblyBuilder.cs: fixed warning
* MethodRental.cs: added private default ctror to match MS.NET

svn path=/trunk/mcs/; revision=27024
2004-05-10 12:31:44 +00:00
Radek Doulik 3b63097d93 2004-05-10 Radek Doulik <[email protected]>
* Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
	cairo_curve_to instead of passing x2, x2

svn path=/trunk/mcs/; revision=27023
2004-05-10 09:58:39 +00:00
Atsushi Eno a4c0443c27 2004-05-10 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
	  node can be it as well) and added check for Attributes existence
	  in GetAttribute() and MoveTo*Attribute().

svn path=/trunk/mcs/; revision=27022
2004-05-10 09:56:16 +00:00
Anirban Bhattacharjee 21e5b6e8dd * mb-parser.jay: Support added for attaching Attributes in methods
svn path=/trunk/mcs/; revision=27021
2004-05-10 09:52:10 +00:00
Gert Driesen 4dc6b21ef5 * Hashtable.cs: marked EnumeratorMode private
* SortedList.cs: marked EnumeratorMode private

svn path=/trunk/mcs/; revision=27020
2004-05-10 08:59:50 +00:00
Raja R Harinath 4c9ff5ff2b Don't mention 'fullbuild'. Mention 'bootstrap'
instead.  Update instructions for 'monocharge'.

svn path=/trunk/mcs/; revision=27019
2004-05-10 07:54:35 +00:00
Gonzalo Paniagua Javier 247fb79d80 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* HttpSoapWebServiceHandler.cs: finish the request after serializing
	the fault message.

svn path=/trunk/mcs/; revision=27018
2004-05-10 06:00:42 +00:00
Atsushi Eno 8cf3257586 2004-05-10 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : comment not in the content state is indented.
	  This fixes bug #58247.

svn path=/trunk/mcs/; revision=27017
2004-05-10 04:47:41 +00:00
Miguel de Icaza d0326ac905 Flush
svn path=/trunk/mono/; revision=27016
2004-05-10 04:10:53 +00:00
Raja R Harinath 9c6c9ea44b (tmpinst-dir): Always add $tmpinst/lib to MONO_PATH.
Fix quoting of commands.

svn path=/trunk/mono/; revision=27015
2004-05-10 03:51:55 +00:00
Raja R Harinath 9c60361ba8 (corlib_net_2_0_bootstrap): Remove extraneous copying.
svn path=/trunk/mcs/; revision=27014
2004-05-10 03:49:29 +00:00
Raja R Harinath e1c0137381 Add back lost 'chomp'.
svn path=/trunk/mcs/; revision=27013
2004-05-10 03:47:14 +00:00
Raja R Harinath 9798870e15 (install-local,test-local,run-test-local,clean-local):
Make cyclic-dependency safe.

svn path=/trunk/mcs/; revision=27012
2004-05-10 03:26:50 +00:00
Gonzalo Paniagua Javier feecc7b0d3 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: monosn is not installed any more. It has been deprecated
	in favor of sn.

svn path=/trunk/mono/; revision=27011
2004-05-10 03:13:24 +00:00
Gonzalo Paniagua Javier 627b96733d 2004-05-10 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: GetGacPath return value is resolved at runtime on
	windows.

svn path=/trunk/mcs/; revision=27010
2004-05-10 01:19:21 +00:00
Francisco Figueiredo Jr. aaee641fbb 2004-05-09 Francisco Figueiredo Jr. <[email protected]>
* HashAlgorithm.cs,
        NpgsqlAsciiRow.cs,
        NpgsqlBinaryRow.cs,
        NpgsqlClosedState.cs,
        NpgsqlCommand.cs,
        NpgsqlCommandBuilder.cs,
        NpgsqlConnection.cs,
        NpgsqlDataReader.cs,
        NpgsqlException.cs,
        NpgsqlParameterCollection.cs,
        NpgsqlReadyState.cs,
        NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
e meaningful exceptions instead of throw NpgsqlException which are now exclusive
ly to sign server errors. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=27009
2004-05-09 22:28:00 +00:00
Francisco Figueiredo Jr. f99302f41a 2004-05-09 Francisco Figueiredo Jr. <[email protected]>
* HashAlgorithm.cs,
	NpgsqlAsciiRow.cs,
	NpgsqlBinaryRow.cs,
	NpgsqlClosedState.cs,
	NpgsqlCommand.cs,
	NpgsqlCommandBuilder.cs,
	NpgsqlConnection.cs,
	NpgsqlDataReader.cs,
	NpgsqlException.cs,
	NpgsqlParameterCollection.cs,
	NpgsqlReadyState.cs,
	NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws more meaningful exceptions instead of throw NpgsqlException which are now exclusively to sign server errors. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=27008
2004-05-09 22:27:14 +00:00
John Luke d8741ce2ea 2004-05-09 John Luke <[email protected]>
* monop.cs: seperate assembly loading into .GetAssembly method,
        fail gracefully, and support loading assemblies from absolute and
        relative paths
        support /r: as well as -r:

svn path=/trunk/mcs/; revision=27007
2004-05-09 18:34:51 +00:00
Miguel de Icaza 69c222394d 2004-05-09 Miguel de Icaza <[email protected]>
* expression.cs (Binary.DoNumericPromotions): 0 long constant can
	be implicitly converted to ulong.

svn path=/trunk/mcs/; revision=27006
2004-05-09 18:24:23 +00:00
Miguel de Icaza 34ee5ffb5a Update test
svn path=/trunk/mcs/; revision=27005
2004-05-09 18:23:29 +00:00
Miguel de Icaza 0ffbd7592c The logic was wrong here, it worked because of a codepath not covered, fixes #57895
svn path=/trunk/mcs/; revision=27004
2004-05-09 18:17:20 +00:00
Miguel de Icaza 6766f8ae59 2004-05-09 Miguel de Icaza <[email protected]>
* class.cs: Applied patch from [email protected] Iain McCoy to
	allow volatile fields to be reference types.

svn path=/trunk/mcs/; revision=27003
2004-05-09 18:02:06 +00:00
Miguel de Icaza 2950fcece1 Add new tests
svn path=/trunk/mcs/; revision=27002
2004-05-09 18:01:03 +00:00
Miguel de Icaza 7f0d49eaf3 Add new test
svn path=/trunk/mcs/; revision=27001
2004-05-09 18:00:13 +00:00
Gert Driesen 082cd2bb14 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
methods internal
* DataRowView.cs: removed extra Error property
* DataRow.cs: reduced accessibility of CollectionChanged method
to private
* DataColumnPropertyDescriptor.cs: made class internal
* DataColumn.cs: removed extra TypeConvertorAttribute
* ConstrainCollection.cs: marked PostEndInit method internal

svn path=/trunk/mcs/; revision=27000
2004-05-09 17:35:45 +00:00
Miguel de Icaza 1e5575e9a9 Fix Build
svn path=/trunk/mcs/; revision=26999
2004-05-09 17:32:35 +00:00
Gert Driesen 0b16822db1 * ComparerFactory.cs: marked internal
svn path=/trunk/mcs/; revision=26998
2004-05-09 17:10:55 +00:00
Atsushi Eno 1b9cbdb49e 2004-05-09 Atsushi Enomoto <[email protected]>
* FileSystemWatcher.cs : csc build fix. Duplicate name between class
	  field and local variable. (already filed in bugzilla #47991).

svn path=/trunk/mcs/; revision=26997
2004-05-09 17:10:32 +00:00
Gert Driesen 2a4777e37a * OleDbCommand.cs: removed setter for Parameters property to
match MS.NET
* OleDbCommandBuilder.cs: fixed GetUpdatetCommand typo
* OleDbErrorCollection: added default internal ctor to match
MS.NET
* OleDbInfoMessageEventArgs.cs: added default internal ctor
to match MS.NET
* OleDbParameter.cs: added setter for IsNullable
* OleDbParameterCollection: added default internal ctor to
match MS.NET
* OleDbPermission.cs: removed extra IsSubsetOf method

svn path=/trunk/mcs/; revision=26996
2004-05-09 17:07:58 +00:00
Gert Driesen 93b9996139 * OdbcDataReader.cs : added HasRows stub
svn path=/trunk/mcs/; revision=26995
2004-05-09 16:54:02 +00:00
Gert Driesen 438cca69ac * SqlString.cs: changed accessibility of CompareOptions property
to private, commented out unreachable code

svn path=/trunk/mcs/; revision=26994
2004-05-09 16:48:38 +00:00
Gert Driesen 1b8b3f6321 * OdbcException.cs : removed ErrorCode property, fixing signature
* OdbcErrorCollection.cs : added internal ctor, reduced
accessibility of Add method to internal
* OdbcCommand.cs: marked hstmt field private, remove setters for
Parameters property
* OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
GetTime to match MS.NET, added HasRows stub

svn path=/trunk/mcs/; revision=26993
2004-05-09 16:38:22 +00:00
Gert Driesen 0a7f465e82 * OdbcError.cs:
* OdbcErrorCollection.cs:
* OdbcException.cs: fixed linefeeds to DOS to match other
sources in System.Data.Odbc

svn path=/trunk/mcs/; revision=26992
2004-05-09 16:20:30 +00:00
Gert Driesen 2005bd3e3d * OdbcCommand.cs: No longer use OdbcConnection.Datareader, in order
to fix signature of OdbcConnection
* OdbcDataReader.cs: No longer use ODbcConnection.Datareader, in
order to fix signature of OdbcConnection
* OdbcConnection.cs: Signature fixes: removed DataReader property,
added setter for ConnectionTimeout, made transaction internal
* OdbcParameter.cs: reduced accessibility of Bind method to
internal, added setter for IsNullable
* OdbcParameterCollection.cs: made default ctor and Bind method
internal

svn path=/trunk/mcs/; revision=26991
2004-05-09 16:15:17 +00:00
Gert Driesen e47651fa06 * OdbcCommand: fixed linefeeds to DOS to match other sources
in System.Data.Odbc

svn path=/trunk/mcs/; revision=26990
2004-05-09 15:51:54 +00:00
Atsushi Eno a49547bbef 2004-05-09 Atsushi Enomoto <[email protected]>
* Manager.cs : Added comment.
	* Handler.cs : Added missing euc-jp support.

svn path=/trunk/mcs/; revision=26989
2004-05-09 15:41:43 +00:00
Atsushi Eno d37d409d7b 2004-05-09 Atsushi Enomoto <[email protected]>
* Added CP51932.cs.
	* I18N.CJK.dll.sources : added it.

svn path=/trunk/mcs/; revision=26988
2004-05-09 15:38:55 +00:00
Gert Driesen def3354f3b * OdbcTransaction.cs: fixed signature to match MS.NET
svn path=/trunk/mcs/; revision=26987
2004-05-09 15:20:35 +00:00
Gert Driesen bdfd6d7584 * OdbcType.cs: fixed typo UniqueIndetifier
* OdbcColumn.cs : fixed typo UniqueIndetifier

svn path=/trunk/mcs/; revision=26986
2004-05-09 15:02:39 +00:00
Gert Driesen 530f7968ec * OdbcType.cs : fixed linefeeds to DOS to match other sources
in System.Data.Odbc

svn path=/trunk/mcs/; revision=26985
2004-05-09 14:54:33 +00:00
Gert Driesen 64c5bf5b67 * Parameter.cs:
* SqlDataSourceCommandEventArgs:
* XmlDataSource.cs : removed temporary workarounds for CLS
compliance as System.Data is now CLS compliant

svn path=/trunk/mcs/; revision=26983
2004-05-09 11:34:35 +00:00
Carlos Guzmán Álvarez 1e0d4468ae 2004-05-09 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/CipherSuiteCollection.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SecurityCompressionType.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Changes for fix FxCop Rules.

		- Reworked CipherSuiteCollection class.

	* Mono.Security.Protocol.Tls.Handshake/HandshakeMessage.cs:

		- Changes for fix FxCop Rules.

	* Mono.Security.Protocol.Tls/DebugHelper.cs:

		- New class.

	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/SslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added debug capabilities.

	* Mono.Security.Protocol.Tls/ServerContext.cs:

		- Added initialization of requested CertificateTypes and CA's

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

		- Modfied exception handling

		- Added debug capabilities.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:

		- Modify SSL implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:

		- Initial implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Modfied exception handling

svn path=/trunk/mcs/; revision=26982
2004-05-09 09:48:56 +00:00
Atsushi Eno ce89d39da9 2004-05-09 Atsushi Enomoto <[email protected]>
* RncParser.jay :
	  Added static Parse () methods.
	  Converted all CRLF to LF, since jay automatically inserts LF lines.

svn path=/trunk/mcs/; revision=26981
2004-05-09 07:49:48 +00:00
Gert Driesen e8f0695f21 * Assembly/AssemblyInfo.cs: Added
* Assembly/Consts.cs : Added
* Assembly/Locale.cs : Added
* Assembly/ChangeLog: Added
* monoresgen.cs : use Assembly.Load with fullly qualified assembly
name for loading swf assembly
* monoresgen.exe.sources : added AssemblyInfo.cs, Consts.cs,
Locale.cs

svn path=/trunk/mcs/; revision=26980
2004-05-09 07:31:57 +00:00
Gonzalo Paniagua Javier fd208f62c0 2004-05-09 Gonzalo Paniagua Javier <[email protected]>
* io.c: translate from GFileError to errno codes and don't free
	variables right after calling mono_io_scandir, as we may overwrite
	errno value.

svn path=/trunk/mono/; revision=26979
2004-05-09 03:47:59 +00:00
Gonzalo Paniagua Javier fec76c733b 2004-05-09 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs:
	* FAMWatcher.cs: use MangledFilter instead of Filter.

	* FileSystemWatcher.cs: added MangledFilter and finalizer.

	* SearchPattern.cs: fixed the case when the pattern is "*".

svn path=/trunk/mcs/; revision=26978
2004-05-09 03:31:54 +00:00
Miguel de Icaza ecbfd40701 Flush
svn path=/trunk/mono/; revision=26971
2004-05-08 16:24:15 +00:00
Gonzalo Paniagua Javier 6661988d1e 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* io.c: g_dir_open return ENOENT for directories on which we don't have
	read/execute permission, while returning EPERM for anything below those.
	So, change ENOENT by EPERM if the directory exists.

svn path=/trunk/mono/; revision=26970
2004-05-08 11:57:37 +00:00
Gonzalo Paniagua Javier 1914aee116 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* monowiz.win32.nsi: some changes i made to build the 0.91 win32 setup
	file.

svn path=/trunk/mono/; revision=26969
2004-05-08 05:31:08 +00:00
Gonzalo Paniagua Javier dc331eebe0 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* Makefile: build NUnit if the dll is not found when running
	'make test'. Use INTERNAL_MCS to build the tests as csc fails miserably
	to compile them.

svn path=/trunk/mcs/; revision=26968
2004-05-08 05:18:36 +00:00
Gonzalo Paniagua Javier 8632a5f443 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* library.make: build NUnit if we try to run 'make test' and the dll
	is not found.

svn path=/trunk/mcs/; revision=26967
2004-05-08 05:17:07 +00:00
Gonzalo Paniagua Javier 7ce3ee29ed 2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* RelaxngValidatingReaderTests.cs: this compiled with mcs but fails with
	csc. Filed as bug #58222.

svn path=/trunk/mcs/; revision=26966
2004-05-08 05:04:11 +00:00
Bernie Solomon 71a62410c3 2004-05-07 Bernie Solomon <[email protected]>
* man/mono.1: mention MONO_EGD_SOCKET

svn path=/trunk/mono/; revision=26959
2004-05-08 01:37:06 +00:00
Bernie Solomon ce2e9e97de 2004-05-07 Bernie Solomon <[email protected]>
* ppc/ppc-codegen.h: remove GCC-ism in ppc_emit32

svn path=/trunk/mono/; revision=26957
2004-05-08 01:03:26 +00:00
Pawel Rozanski fe7b586dba add Bash completion fuction for monop
svn path=/trunk/mcs/; revision=26956
2004-05-08 01:00:46 +00:00
Ben Maurer e43a8bde3a 2004-05-07 Ben Maurer <[email protected]>
* monop.cs: Helpers for completion.

svn path=/trunk/mcs/; revision=26955
2004-05-07 23:31:28 +00:00
Miguel de Icaza d8e4354936 Typo fix
svn path=/trunk/mcs/; revision=26953
2004-05-07 22:38:18 +00:00
Miguel de Icaza 6654adf626 2004-05-07 Miguel de Icaza <[email protected]>
* driver.cs: Add support for /debug-

svn path=/trunk/mcs/; revision=26952
2004-05-07 22:29:09 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00
Neale Ferguson ac63a01b09 Remove debugging printfs
svn path=/trunk/mono/; revision=26945
2004-05-07 20:21:19 +00:00
Neale Ferguson ba14487a65 Bring s390 JIT up to date.
svn path=/trunk/mono/; revision=26943
2004-05-07 19:53:40 +00:00
Zoltan Varga 812a0bced4 2004-05-07 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Remove the previous fix, since
	it causes regressions.

svn path=/trunk/mono/; revision=26936
2004-05-07 17:45:31 +00:00
Sebastien Pouliot 203e626531 2004-05-07 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Fixed SignData to hash data before
	signing it (thanks to Jens Thiel for spotting this).

svn path=/trunk/mcs/; revision=26932
2004-05-07 16:51:34 +00:00
Sebastien Pouliot 2cc5bc406c 2004-05-07 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: Added a new unit test for SignData
	(was badly tested) and simplified test to reduce key pair generations.

svn path=/trunk/mcs/; revision=26931
2004-05-07 16:29:21 +00:00
Atsushi Eno afb2738e0e 2004-05-07 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  In WriteXmlSchema(), when complex type contains simple type content
	  attributes must not added to XmlSchemaComplexType directly. It
	  causes schema compilation error.
	  DataRelation should not be output when related columns are hidden.

svn path=/trunk/mcs/; revision=26930
2004-05-07 16:14:51 +00:00
Jordi Mas i Hernandez d96eab6652 rotate tests
svn path=/trunk/mcs/; revision=26927
2004-05-07 15:05:15 +00:00
Atsushi Eno faa091e5be 2004-05-07 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Previous change broke default C# code generation.
	  XML schema inference output path fix.

svn path=/trunk/mcs/; revision=26924
2004-05-07 14:33:56 +00:00
Sebastien Pouliot ac839a262f 2004-05-07 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProvider.cs: Fixed OID related exception in SignData.

svn path=/trunk/mcs/; revision=26923
2004-05-07 14:28:41 +00:00
Jackson Harper a9c8c3860d * locales.c
(ves_icall_System_Globalization_CultureInfo_internal_get_cultures):
	Fix array construction, add bailout if the length is 0.

svn path=/trunk/mono/; revision=26922
2004-05-07 14:25:26 +00:00
Sebastien Pouliot 2b7558c4f7 2004-05-07 Sebastien Pouliot <[email protected]>
* RSACryptoServiceProviderTest.cs: Oops wrong exception for SignHashNullOID.

svn path=/trunk/mcs/; revision=26921
2004-05-07 14:23:46 +00:00
Sebastien Pouliot a6aa68e2f6 2004-05-07 Sebastien Pouliot <[email protected]>
* PasswordDerivceBytesTest.cs: Added new tests to complete
	coverage.
	* RSACryptoServiceProviderTest.cs: Added new tests to complete
	coverage.

svn path=/trunk/mcs/; revision=26919
2004-05-07 14:01:55 +00:00
Dick Porter 5127e49742 2004-05-07 Dick Porter <[email protected]>
* io.c (SetFileAttributes): Don't have failed chmod()s cause a
	"file not found" error.  Fixes bug 54032.

svn path=/trunk/mono/; revision=26914
2004-05-07 13:35:15 +00:00
Zoltan Varga 0609d6aaf3 2004-05-07 Zoltan Varga <[email protected]>
* mini-sparc.c: Fix vararg support + add beginnings of sigaltstack
	support.

svn path=/trunk/mono/; revision=26913
2004-05-07 13:29:50 +00:00
Dick Porter 3f5302cdb6 2004-05-07 Dick Porter <[email protected]>
* io.c (FindFirstFile): Comment out a windows-compatibility check
	that breaks when directories have metachars in their names.
	Workaround for bug 58116.

svn path=/trunk/mono/; revision=26912
2004-05-07 13:21:27 +00:00
Sebastien Pouliot 0c98b10471 2004-05-07 Sebastien Pouliot <[email protected]>
* ToBase64Transform.cs: Input block may be smaller than a full block
	when calling TransformFinalBlock (fix 2 CryptoStream unit tests).

svn path=/trunk/mcs/; revision=26911
2004-05-07 13:02:24 +00:00
Sebastien Pouliot 06d2660b3e 2004-05-07 Sebastien Pouliot <[email protected]>
* ToBase64TransformTest.cs: Added a (legal) test where the final
	transform receive data smaller than it's input block (padding).

svn path=/trunk/mcs/; revision=26910
2004-05-07 12:59:28 +00:00
Lluis Sanchez f90024c138 * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
the name is empty, convert it to a xmlns attribute.

svn path=/trunk/mcs/; revision=26909
2004-05-07 12:16:06 +00:00
Dick Porter a62a1024f3 2004-05-07 Dick Porter <[email protected]>
* socket-io.c (addrinfo_to_IPHostEntry): Don't crash if the
	machine doesn't have a DNS entry.  Patch by Urs Muff
	([email protected]), fixes bug 57928.

svn path=/trunk/mono/; revision=26908
2004-05-07 12:14:05 +00:00
Sebastien Pouliot f40db6fe6c 2004-05-07 Sebastien Pouliot <[email protected]>
* CipherMode.cs: Moved XML comments to monodoc.
	* CryptoConfig.cs: Changed Array.Copy to Buffer.BlockCopy.
	* CryptoStream.cs: Changed Array.Copy to Buffer.BlockCopy.
	* DSA.cs: Changed Array.Copy to Buffer.BlockCopy.
	* ICryptoTransform.cs: Moved XML comments to monodoc.
	* PasswordDeriveBytes.cs: Changed Array.Copy to Buffer.BlockCopy.
	* FromBase64Transform.cs: Moved XML comments to monodoc.

svn path=/trunk/mcs/; revision=26907
2004-05-07 11:35:22 +00:00
Sebastien Pouliot be7c2ce94c 2004-05-07 Sebastien Pouliot <[email protected]>
* Convert.cs: ToBase64CharArray method was depending on a bug in
	S.S.C.ToBase64Transform class to work. Added an internal method to
	provide the same functionality (multiple block processing).

svn path=/trunk/mcs/; revision=26906
2004-05-07 11:32:06 +00:00
Sebastien Pouliot 7e68c254c8 2004-05-07 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26905
2004-05-07 11:27:12 +00:00
Sebastien Pouliot 0014e1ad65 2004-05-07 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26904
2004-05-07 11:25:12 +00:00
Sebastien Pouliot 8a54113a0d 2004-05-07 Sebastien Pouliot <[email protected]>
* BigInteger.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26903
2004-05-07 11:23:52 +00:00
Sebastien Pouliot 1e5e8d4172 2005-05-07 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: Start the smallPrime vector at
	10 (not 9) as 29 was just tested (more for correctness than speed gain).

svn path=/trunk/mcs/; revision=26902
2004-05-07 11:10:01 +00:00
Sebastien Pouliot c5540d48c0 2004-05-07 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: Applying optimization from HAC section 4.50
	(base == 2) for a 30% gain in primality testing (medium confidence).

svn path=/trunk/mcs/; revision=26901
2004-05-07 11:09:20 +00:00
Sebastien Pouliot 66c031d6aa 2005-05-07 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Faster scan of smallPrimes in IsProbablePrime.
	Commented the methods OddModTwoPow and EvenModTwoPow as they are broken
	in some cases (well tested primes test case).

svn path=/trunk/mcs/; revision=26900
2004-05-07 11:08:26 +00:00
Raja R Harinath 1b5ee8c867 * attribute.cs (Attribute.CheckAttributeType, Attribute.ResolveType):
Add a 'complain' parameter to silence errors.
(Attribute.Resolve): Update to changes.  Put in sanity check to catch
silently overlooked type-resolutions.
(Attribute.ScanForIndexerName, Attribute.DefinePInvokeMethod): Update
to reflect changes.
(Attributes.Search): New function.
(Attributes.Contains, Attributes.GetClsCompliantAttribute): Use Search.
(Attributes.GetAttributeFullName): Remove hack.
* class.cs (MethodCore.LabelParameters, MethodData.ApplyAttributes):
Update to reflect changes.
* codegen.cs (CommonAssemblyModulClass.GetClsCompliantAttribute):
Use Attributes.Search instead of nested loops.

svn path=/trunk/mcs/; revision=26899
2004-05-07 11:00:44 +00:00
Raja R Harinath 6a2b24f38b Simplify sed expression.
svn path=/trunk/mcs/; revision=26898
2004-05-07 10:59:05 +00:00
Paolo Molaro e325a3f84d Fri May 7 13:25:50 CEST 2004 Paolo Molaro <[email protected]>
* jit-icalls.c: remove warnings.
	* inssel-x86.brg, inssel.brg, mini-x86.c, cfold.c: some simple
	speedups for unsafe code.

svn path=/trunk/mono/; revision=26897
2004-05-07 10:53:57 +00:00
Lluis Sanchez 52de36e0df * SoapWriter.cs: Fixed string formatting.
svn path=/trunk/mcs/; revision=26896
2004-05-07 10:51:40 +00:00
Lluis Sanchez 47296304eb * SoapServices.cs: Support encoded namespace names in
DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.

svn path=/trunk/mcs/; revision=26895
2004-05-07 10:43:32 +00:00
Atsushi Eno 2d0f1a15b9 2004-05-07 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : added XmlDataInferenceLoader.cs and
	  XmlDataReader.cs.

svn path=/trunk/mcs/; revision=26894
2004-05-07 10:21:58 +00:00
Lluis Sanchez b37ee973a1 * XmlReflectionImporter.cs: Don't reset the internal tables at every
ImportMembersMapping call. This fixes bug #58112. The problem is that
	  it imported two different arrays (only different in the array item
	  namespace) with the same name. Not sure what was this Reset needed for,
	  everyting seems to work without it.

svn path=/trunk/mcs/; revision=26893
2004-05-07 10:18:23 +00:00
Raja R Harinath 56974f2ad0 New tests.
svn path=/trunk/mcs/; revision=26892
2004-05-07 10:08:33 +00:00
Raja R Harinath 7d07cb3c6c (all-local) [SECOND_PASS]: Rewrite to use 'make' itself
to determine out-of-date-ness.  (This fixes an unlogged change.)
(install-local,test-local,run-test-local,clean-local): Collapse
near-identical rules.

svn path=/trunk/mcs/; revision=26891
2004-05-07 10:02:42 +00:00
Marek Safar 13c581d5cf 2004-05-07 Marek Safar <[email protected]>
* cs0579-4.cs, CS0579-4-1.cs,
	* cs0579-5.cs,
	* cs0657.cs,
	* cs3015-2.cs,
	* cs3019.cs,
	* cs3019-2.cs: 6 new error tests.

svn path=/trunk/mcs/; revision=26890
2004-05-07 09:24:40 +00:00
Atsushi Eno 1fab1be621 2004-05-07 Atsushi Enomoto <[email protected]>
* XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
	  also expected to do ReadXml(), but I will remove that feature and
	  support column reordering).
	* XmlSchemaDataImporter.cs : Always initialize dataset name.
	  Always set Nested and primary key for parent table.
	* XmlDataReader.cs : Now it is used.
	  Top level element might not match to dataset name nor any table
	  name, but still possible to read content tables.
	  Handle empty element correctly in some places.
	  Handle Fragment mode (read up XmlReader to the end).
	* DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
	  XmlDataInferenceLoader and XmlDataReader.

svn path=/trunk/mcs/; revision=26889
2004-05-07 09:16:57 +00:00
Marek Safar d0a522f722 2004-05-07 Marek Safar <[email protected]>
* decl.cs:
	(MemberCore.Flags): Extended for caching presence of CLSCompliantAttribute.
	(MemberCore.VerifyClsCompliance): Implemented CS3019 error report.
	(DeclSpace.GetClsCompliantAttributeValue): Returns simple bool.

	* report.cs: (Report.Warning): Renamed to Warning_T because of
	parameter collision.

svn path=/trunk/mcs/; revision=26888
2004-05-07 07:57:24 +00:00
Gonzalo Paniagua Javier 6b97495b1d 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.

svn path=/trunk/mcs/; revision=26887
2004-05-07 07:47:23 +00:00
Sanja Gupta 9c44d8e19f ChangeLog: Updated ChangeLog
ImageAnimator.cs: Corrected implementation of CanAnimate() method.

svn path=/trunk/mcs/; revision=26886
2004-05-07 06:56:05 +00:00
Raja R Harinath 495c35c8d8 Goodbye 'fullbuild', hello 'bootstrap'.
* Makefile.am (bootstrap): New target for building from CVS.  New
improved version of 'fullbuild' -- does not install any files.
(fullbuild): Obsolete target.  Bootstraps and installs tree.
(mcs-tree-safe-build,xinstall-runtime,mcs-rest,remove-binaries):
Removed.
(stage1,stage1-mcs,stage1-mono,stage2,stage3)
(tmpinst-dir,tmpinst-runtime): New targets used to implement a
two-stage bootstrap.

svn path=/trunk/mono/; revision=26884
2004-05-07 05:05:57 +00:00
Gonzalo Paniagua Javier 33b511cc18 0.91.99.0
svn path=/trunk/mcs/; revision=26883
2004-05-07 04:55:31 +00:00
Gonzalo Paniagua Javier eb14e783aa 0.91.99
svn path=/trunk/mono/; revision=26882
2004-05-07 04:54:45 +00:00
Gonzalo Paniagua Javier 45f6a29944 Attempt to fix cyclic dependency issues.
svn path=/trunk/mcs/; revision=26881
2004-05-07 04:14:54 +00:00
Ben Maurer 65753f5535 2004-05-07 Ben Maurer <[email protected]>
* inssel.brg: Optimize Stind.[ui][12]. r=zoltan.

svn path=/trunk/mono/; revision=26880
2004-05-07 04:11:31 +00:00
Duncan Mak 02cfa4928f Sync from web site
svn path=/trunk/mono/; revision=26879
2004-05-07 03:19:29 +00:00
Raja R Harinath 284a843cb7 (AssemblyDelaySign, AssemblyKeyFile): Disable
with BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes on this.

svn path=/trunk/mcs/; revision=26878
2004-05-07 03:08:25 +00:00
Raja R Harinath 1b5d33ae8b (corlib_net_2_0_bootstrap): Copy System.dll and
System.Xml.dll from 'default' profile build.
($(gmcs)): Always go to 'gmcs' directory.

svn path=/trunk/mcs/; revision=26877
2004-05-07 03:07:36 +00:00
Raja R Harinath a404df78f4 (AssemblyDelaySign, AssemblyKeyFile): Disable
for BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes with them.

svn path=/trunk/mcs/; revision=26876
2004-05-07 03:06:56 +00:00
Raja R Harinath 8749e7b04d (all-local): Built first pass with BOOT_COMPILE.
svn path=/trunk/mcs/; revision=26875
2004-05-07 03:06:19 +00:00
Raja R Harinath db8a554985 (SUBDIRS): Build 'corlib' and first pass of 'System'
before anything else.  Remove duplicated Novell.Directory.Ldap.

svn path=/trunk/mcs/; revision=26874
2004-05-07 03:05:24 +00:00
Sebastien Pouliot d4fcff3e3e 2004-05-06 Sebastien Pouliot <[email protected]>
* README: Updated to match the new version and public token for the
	assembly. Also changed my email address.

svn path=/trunk/mcs/; revision=26873
2004-05-07 00:24:37 +00:00
Sebastien Pouliot 90c4678ede 2004-05-06 Sebastien Pouliot <[email protected]>
* SignatureDescriptionTest.cs: Misspelled [SetUp] attribute.

svn path=/trunk/mcs/; revision=26871
2004-05-07 00:08:33 +00:00
Sebastien Pouliot 56d9b6e86e 2004-05-06 Sebastien Pouliot <[email protected]>
* SignatureDescriptionTest.cs: Removed unimplemented constructor from
	tests. Converted to NUnit2.

svn path=/trunk/mcs/; revision=26870
2004-05-07 00:02:53 +00:00
Sebastien Pouliot 1dc0861ecf 2004-05-06 Jesper Pedersen <[email protected]>
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
	GetBytes ().

svn path=/trunk/mcs/; revision=26867
2004-05-06 23:16:03 +00:00
Jean-Marc Andre 2db3c39529 2004-05-06: Jean-Marc Andr�� <[email protected]>
* SoapTypeMapper.cs: small fix

svn path=/trunk/mcs/; revision=26866
2004-05-06 22:47:13 +00:00
Sebastien Pouliot 3d0fa96491 2004-05-06 Sebastien Pouliot <[email protected]>
* RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
	* RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests.
	* RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.
	* RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests.
	* RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.
	* RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests.
	Added globalization to exceptions.

svn path=/trunk/mcs/; revision=26862
2004-05-06 19:51:45 +00:00
Jackson Harper f7ee0cbe92 * reflection.c: Handle null PublicTokens properly. alloc mem for
assembly names culture so we dont crash when freeing it.

svn path=/trunk/mono/; revision=26861
2004-05-06 19:46:27 +00:00
Sebastien Pouliot 77d0dd9c47 2004-05-06 Sebastien Pouliot <[email protected]>
* RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
	complete coverage.
	* RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
	coverage.
	* RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
	coverage.

svn path=/trunk/mcs/; revision=26860
2004-05-06 19:28:52 +00:00
Jaroslaw Kowalski 2d475bf13b fix for loading I18N.*.dll assemblies from the GAC
svn path=/trunk/mcs/; revision=26859
2004-05-06 19:14:31 +00:00
Jackson Harper 784eeba55e * assembly.c: Check the usergac when loading with
partial names.

svn path=/trunk/mono/; revision=26858
2004-05-06 18:50:28 +00:00
Gonzalo Paniagua Javier ffbd7f9d99 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: use the real wildcard for file names as it is supported
	now in io-layer. SearhPattern is not needed now.

svn path=/trunk/mcs/; revision=26856
2004-05-06 17:48:31 +00:00
Gonzalo Paniagua Javier ad0b5f7489 removed obsolete comment
svn path=/trunk/mono/; revision=26855
2004-05-06 17:43:33 +00:00
Gonzalo Paniagua Javier 5638a610ac 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* io.c: fixed for FindFirstFile for empty directories. Closes
	bug #58147.

svn path=/trunk/mono/; revision=26854
2004-05-06 17:21:00 +00:00
Jackson Harper f827d032d1 * Assembly.cs: remove TODO, this is done.
svn path=/trunk/mcs/; revision=26853
2004-05-06 16:51:09 +00:00
Jackson Harper 5eb7fdb6d8 * Environment.cs: Make $HOME the personal directory.
svn path=/trunk/mcs/; revision=26852
2004-05-06 16:45:01 +00:00
Atsushi Eno e55051f004 2004-05-06 Atsushi Enomoto <[email protected]>
* xml-classes : updates

svn path=/trunk/mono/; revision=26851
2004-05-06 16:38:08 +00:00
Sebastien Pouliot f4149bac0c 2004-05-06 Sebastien Pouliot <[email protected]>
* Convert.cs: ToBase64String method was depending on a bug in
	S.S.C.ToBase64Transform class to work. Added an internal method to
	provide the same functionality (multiple block processing).

svn path=/trunk/mcs/; revision=26850
2004-05-06 16:37:34 +00:00
Sebastien Pouliot 9d7ae50253 2004-05-06 Sebastien Pouliot <[email protected]>
* Rijndael.cs: Source clean up.
	* RijndaelManaged.cs: Moved XML comments to monodoc. Added
	globalization to exceptions.

svn path=/trunk/mcs/; revision=26849
2004-05-06 16:34:41 +00:00
Sebastien Pouliot e7cc9f30bc 2004-05-06 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProvider.cs: Removed TODO and documented them in
	mono doc. Now call runtime when a seed is provided.
	* RSA.cs: Added globalization to exceptions. Removed check for
	<RSAKeyValue> as it is not checked by MS implementation.
	* SignatureDescription.cs: Moved XML comments to monodoc. Added
	globalization to exceptions. Removed TODO and added notes to monodoc.
	* SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
	globalization to exceptions.
	* ToBase64Tranform.cs: Added missing exception handling. Moved XML
	comments to monodoc.

svn path=/trunk/mcs/; revision=26848
2004-05-06 16:31:52 +00:00
Gonzalo Paniagua Javier 581c069a2a ordered last 'In the news' by date
svn path=/trunk/mono/; revision=26847
2004-05-06 16:27:25 +00:00
Sebastien Pouliot 5b3e334040 2004-05-06 Sebastien Pouliot <[email protected]>
* TripleDES.cs: Added globalization to exceptions.
	* TripleDESCryptoServiceProvider.cs: Changed Array.Copy to
	Buffer.BlockCopy. Zeroize decrypted data.

svn path=/trunk/mcs/; revision=26846
2004-05-06 16:27:14 +00:00
Sebastien Pouliot e6dd3a1022 2004-05-06 Sebastien Pouliot <[email protected]>
* SHA1.cs: Moved XML comments to monodoc.
	* SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed CLSCompliance
	attributes from	private fields.
	* SHA256.cs: Moved XML comments to monodoc.
	* SHA256Managed.cs: Moved XML comments to monodoc. Removed CLSCompliance
	attributes from	private fields.
	* SHA384.cs: Moved XML comments to monodoc.
	* SHA512.cs: Moved XML comments to monodoc.

svn path=/trunk/mcs/; revision=26845
2004-05-06 16:24:33 +00:00
Sebastien Pouliot 340663a90a 2004-05-06 Sebastien Pouliot <[email protected]>
* RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize
	when the key is changed.
	* RC2CryptoServiceProvider.cs: Added globalization to exceptions.
	Fixed the KeySize must be equal with EffectiveKeySize to match MS
	implementation.

svn path=/trunk/mcs/; revision=26844
2004-05-06 16:19:57 +00:00
Ravindra f550dce7c5 * RectangleConverter.cs: Implemented GetProperties () method.
* SizeConverter.cs: Implemented GetProperties () method.
	* PointConverter.cs: Implemented GetProperties () method.
	* FontConverter.cs: Implemented some of the methods.

svn path=/trunk/mcs/; revision=26841
2004-05-06 15:47:50 +00:00
Zoltan Varga 7cd4db061f 2004-05-06 Zoltan Varga <[email protected]>
* basic-calls.cs: Add new regression test.

svn path=/trunk/mono/; revision=26840
2004-05-06 15:20:19 +00:00
Zoltan Varga 0a04f6676f 2004-05-06 Zoltan Varga <[email protected]>
* mini.c (mono_runtime_install_handlers): Use SA_ONSTACK since it is
	more portable.

	* mini.c (mono_method_to_ir): Handle opcode emulation for *_OVF opcodes.

svn path=/trunk/mono/; revision=26839
2004-05-06 15:12:34 +00:00
Bernie Solomon ee4f51092b 2004-05-06 Bernie Solomon <[email protected]>
* dump.c:
	* get.c:
	* main.c:
	* util.c:
	* util.h: rename map_t dis_map_t to avoid AIX symbol clash

svn path=/trunk/mono/; revision=26838
2004-05-06 15:10:48 +00:00
Erik Dasque 9b38e544e3 added two "In the news" items. Don't know where to put images for now
svn path=/trunk/mono/; revision=26837
2004-05-06 15:09:11 +00:00
Lluis Sanchez 304353fc3f * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When deserializing an encoded method response, if the return type of the
	  method is Object, assign to it the first element of the message, whatever
	  it is.
	* XmlSerializationReader.cs:
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
	  the imported member.
	* TypeTranslator.cs: Added method to safely get a primitive TypeData.
	* XmlSerializationReader.cs: Don't throw an exception when the CLR type for
	  a given xsi type is not found. Just read it as primitive type.
	* XmlTypeMapMember.cs: Added IsReturnValue property.
	* XmlTypeMapping.cs: Added ReturnMember property.
	* XmlSerializer.cs: Reference System.Data when compiling the serializer.

svn path=/trunk/mcs/; revision=26836
2004-05-06 15:08:58 +00:00
Sebastien Pouliot f105478081 2004-05-06 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SymmetricAlgorithm2Test,
	ToBaseTransformTest, TripleDESTest unit tests to the build.

svn path=/trunk/mcs/; revision=26834
2004-05-06 14:56:32 +00:00
Sebastien Pouliot 2403373982 2004-05-06 Sebastien Pouliot <[email protected]>
* RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
	testing.
	* RSATest.cs: Updated unit tests for importing XML key pairs.
	* SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
	coverage (like exception testing).
	* ToBase64TransformTest.cs: New. Unit tests to complete coverage of
	ToBase64Transform.
	* TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.

svn path=/trunk/mcs/; revision=26833
2004-05-06 14:53:05 +00:00
Atsushi Eno ef60eaba14 2004-05-06 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  Eliminated CRLF injection.
	  More clear message in Clear().
	  Updates reflecting XmlSchemaDataImporter change.
	  Added duplicate check for XmlSerializerNamespaces in BuildSchema().
	  Don't use xmlns attribute for UnhandledAttributes (its not mandatory
	  but that depends on different behavior from ms.net).
	  Set locale also for DataTable.
	  Add xs:element only when target namespace matches to the
	  element's namespace. Otherwise, add xs:import for external namespace.
	  Put xs:sequence for dataset element's particle _only when_ actual
	  contents exist.

svn path=/trunk/mcs/; revision=26832
2004-05-06 14:44:29 +00:00
Ravindra 058b008a9e * Color.cs: Fixed Name property.
* ColorTranslator.cs: Fixed the existing methods and implemented
	the missing methods.
	* ColorConverter.cs: Fixed the existing methods and implemented
	the missing methods. Also, fixed coding style.

svn path=/trunk/mcs/; revision=26831
2004-05-06 14:40:20 +00:00
Sebastien Pouliot 108f7f003d 2004-05-06 Sebastien Pouliot <[email protected]>
* RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
	exceptions to test exception handling (and get more coverage).
	* SHA256Test.cs: Corrected Setup attribtue (was [Test]).

svn path=/trunk/mcs/; revision=26830
2004-05-06 14:36:21 +00:00
Atsushi Eno 51b3c2a98a 2004-05-06 Atsushi Enomoto <[email protected]>
* XmlDataReader.cs : Added. This class will work better when our
	  schema inference and schema read engine gets improved. (It contains
	  standalone testable Driver class.)

svn path=/trunk/mcs/; revision=26829
2004-05-06 14:29:36 +00:00
Nick Drochak 721c5efbdc 2004-05-07 Nick Drochak <[email protected]>
* Makefile (plattest_flags): Add /unsafe.

svn path=/trunk/mcs/; revision=26827
2004-05-06 14:24:45 +00:00
Miguel de Icaza 15e93cd6d7 Fix
svn path=/trunk/mono/; revision=26826
2004-05-06 14:04:46 +00:00
Miguel de Icaza 0e41c30ad3 Fix
svn path=/trunk/mono/; revision=26825
2004-05-06 14:02:31 +00:00
Atsushi Eno 4697c5210b 2004-05-06 Atsushi Enomoto <[email protected]>
* ForeignKeyConstraint.cs : Check step change. Existence then column
	  validity. just for tests.
	* XmlSchemaDataImporter.cs : code simplification. reduced extraneous
	  fields.

svn path=/trunk/mcs/; revision=26824
2004-05-06 13:59:00 +00:00
Atsushi Eno 52ba29c687 2004-05-06 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs : Table name should not be the same as
	  for the purpose of this test.
	* DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
	* DataSetTest.cs : Reordered attributes to pass test in
	  WriteDifferentNamespaceSchema().

svn path=/trunk/mcs/; revision=26822
2004-05-06 13:52:23 +00:00
Atsushi Eno 13b282d1fb 2004-05-06 Atsushi Enomoto <[email protected]>
* New directory.
	  Added test001.xsd - test011.xsd, test101.xsd, test102.xsd

svn path=/trunk/mcs/; revision=26820
2004-05-06 13:48:39 +00:00
Zoltan Varga 6bb7c6244c 2004-05-06 Zoltan Varga <[email protected]>
* Makefile.am: Only disable thread6.exe on x86.

svn path=/trunk/mono/; revision=26819
2004-05-06 13:17:40 +00:00
Zoltan Varga acc71ac3a9 2004-05-06 Zoltan Varga <[email protected]>
* Makefile.am: Disable thread6.exe since it might hang. Fix check for
	failed tests.

svn path=/trunk/mono/; revision=26818
2004-05-06 12:34:18 +00:00
Alon Gazit 6eb1ccb667 fixed LoadViewState() and SaveViewState() in WebControl.
Before the change the Enabled property wasn't updated when a postback
event was raised.
fixed SelectedIndex property implementation in ListControl.
Prevents throwing ArgumentOutOfRangeException (that should not be thrown),
when the list is empty.

svn path=/trunk/mcs/; revision=26817
2004-05-06 12:18:22 +00:00
Atsushi Eno 3f7b10da20 2004-05-06 Atsushi Enomoto <[email protected]>
* ManagedXslTransform.cs : For Stream input, use StreamWriter for
	  input to GenericOutputter. Passing XmlWriter causes unexpected
	  xml declaration output.

svn path=/trunk/mcs/; revision=26816
2004-05-06 12:10:24 +00:00
Zoltan Varga 33ce44982c 2004-05-06 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Free new_dest register when it
	is no longer used.

svn path=/trunk/mono/; revision=26815
2004-05-06 12:01:45 +00:00
Atsushi Eno 7ce87bf23c 2004-05-06 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Added new /generator:typename(,assemblyfile) option
	  support that enables users to use any CodeDomProvider.
	  Added VB support (/language:VB).

svn path=/trunk/mcs/; revision=26812
2004-05-06 10:11:34 +00:00
Patrik Torstensson ccf08337d7 2004-05-06 Patrik Torstensson
* mini-x86.[c|h], inssel-x86.brg, cpu-pentium.md, mini.c: enabled
	long reg allocation in any reg (not only eax:edx) and implemented
	long shl/shr ops in asm instead of helpers.

svn path=/trunk/mono/; revision=26811
2004-05-06 09:33:46 +00:00
Gonzalo Paniagua Javier cbd5ff5515 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* processes.c: set the start time for the current process. Fixes bug
	#58109.

svn path=/trunk/mono/; revision=26810
2004-05-06 09:07:22 +00:00
Gonzalo Paniagua Javier 6dc115d439 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* Assembly.cs: ToString () returns the same as GetName ().ToString ().
	Fixes bug #58104.

svn path=/trunk/mcs/; revision=26809
2004-05-06 06:33:39 +00:00
Gonzalo Paniagua Javier 02767b6e8d <pre> 12px
svn path=/trunk/mono/; revision=26808
2004-05-06 05:40:35 +00:00
Mike Shaver bc92af0f5e Implement StringToCoTaskMem{Ansi,Uni} (bug 58102).
svn path=/trunk/mcs/; revision=26806
2004-05-06 04:03:57 +00:00
Gonzalo Paniagua Javier 6414e56caa 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* configure.in: scandir check is no longer needed.

svn path=/trunk/mono/; revision=26803
2004-05-06 02:19:33 +00:00
Sebastien Pouliot 93dcf1663c 2004-05-05 Sebastien Pouliot <[email protected]>
* rand.c|h: Added new icall for (optionally) seeding the PRNG. This
	does nothing for now (not required for Linux/Windows) but the class
	library can call it (and a newer or modified runtime could need it).
	* icall.c: Registred icall.

svn path=/trunk/mono/; revision=26802
2004-05-06 02:18:47 +00:00
Gonzalo Paniagua Javier 5c7e358321 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* io-private.h: 'namelist' is now a gchar ** in _WapiHandlePrivate_find.
	* io.c: implemented scandir using glib functions.

svn path=/trunk/mono/; revision=26801
2004-05-06 02:18:19 +00:00
Gonzalo Paniagua Javier 19bb38456b update MONO_DEBUG
svn path=/trunk/mono/; revision=26800
2004-05-06 01:07:16 +00:00
Gonzalo Paniagua Javier ee201ca3c4 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* loader.c: prints a message on module loading error we set MONO_DEBUG
	environment variable.

svn path=/trunk/mono/; revision=26799
2004-05-06 00:58:01 +00:00
Gonzalo Paniagua Javier c2cf85f5fa 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: indent a few lines.
	* AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
	attribute value. This way we can simulate reading 2 characters ahead
	(one in ungetc and the other in Peek) and work with values like
	text/javascript. Fixes bug #57302.

svn path=/trunk/mcs/; revision=26798
2004-05-06 00:39:36 +00:00
Gonzalo Paniagua Javier 24a8232adc 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed loading of external files. Closes
	bug #57244.

svn path=/trunk/mcs/; revision=26794
2004-05-06 00:11:28 +00:00
Gonzalo Paniagua Javier e193340b0f 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: removed method that was supposed to be internal.

	* ConfigurationSettings.cs: instead of calling the overload that doesn't
	exist in MS, use what we have when loading an external file.

svn path=/trunk/mcs/; revision=26793
2004-05-06 00:10:42 +00:00
Miguel de Icaza d2c3741000 Update CVS
svn path=/trunk/mono/; revision=26792
2004-05-05 23:56:10 +00:00
Gonzalo Paniagua Javier 8231f0a5ba 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: ignore whitespace after directives. Fixes bug #58057.

svn path=/trunk/mcs/; revision=26790
2004-05-05 23:18:53 +00:00
Bernie Solomon b547e31639 2004-05-05 Bernie Solomon <[email protected]>
* configure.in: set LIBC on HPUX

svn path=/trunk/mono/; revision=26788
2004-05-05 21:11:47 +00:00
Atsushi Eno bb5d2e9138 2004-05-05 Atsushi Enomoto <[email protected]>
* ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
	  Don't catch every kind of exception. That does nothing but keep us
	  away from the exact error location.
	* DataSetTest.cs : Make sure that we read schema correctly, before
	  testing WriteXmlSchema.

svn path=/trunk/mcs/; revision=26786
2004-05-05 19:53:23 +00:00
Jackson Harper 8832b6ba54 * appdomain.c: Handle PublicKeyToken=null properly.
svn path=/trunk/mono/; revision=26785
2004-05-05 19:34:41 +00:00
Atsushi Eno 6daf503610 2004-05-05 Atsushi Enomoto <[email protected]>
* DataSet.cs : Ignore empty content only when output type is diffgram.

svn path=/trunk/mcs/; revision=26784
2004-05-05 19:00:10 +00:00
Gonzalo Paniagua Javier 1332cad5c2 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* Makefile:
	* Npgsql.dll.resources: all the resources command line options are now
	in a separate response file.

svn path=/trunk/mcs/; revision=26783
2004-05-05 18:55:26 +00:00
Gonzalo Paniagua Javier 3e0dca1db9 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services.dll.sources: removed HttpGetWebServiceHandler and
	HttpPostWebServiceHandler.

	* System.Web.Services.Protocols/HttpGetWebServiceHandler.cs:
	* System.Web.Services.Protocols/HttpPostWebServiceHandler.cs: removed.

	* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: changed
	ctor parameters and added EnableSession property.

	* System.Web.Services.Protocols/WebServiceHandler.cs: added EnableSession
	virtual property.

	* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: added a new
	handler that implements IRequiresSessionState used for HttpGet and
	HttpPost.
	(GetHandler): for HttpGet and HttpPost check if the method requires to
	have a Session object and use the new SimpleSyncSessionHandler in that
	case.

	Still missing proper session handler for SOAP requests.

svn path=/trunk/mcs/; revision=26782
2004-05-05 18:51:00 +00:00
Gonzalo Paniagua Javier 36879b3188 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs: added Clone (), which makes and exact copy but
	with a cloned SessionDictionary. When EnableSessionState is set to
	ReadOnly, we can modify the collection, but changes are not propagated.

	* ISessionHandler.cs: changed signature of UpdateContext().

	* SessionDictionary.cs: added Clone.

	* SessionInProcHandler.cs:
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: don't create a new session if the handler
	do not require it. UpdateContext() now returns an HttpSessionState to
	the module.

	* SessionStateModule.cs: removed IsReadOnly as it is now passed as a
	parameter to the session handler. If the session is read-only, clone
	it so that it can be changed but changes are not kept.

	In short, we don't create session objects when not required and we
	honor the ReadOnly sessions.

svn path=/trunk/mcs/; revision=26781
2004-05-05 18:45:08 +00:00
Jackson Harper 6f97ab8d8f * ILParser.jay: Handle endian issues when converting numeric
types.

svn path=/trunk/mcs/; revision=26779
2004-05-05 18:34:06 +00:00
Sebastien Pouliot ff4f6876ba 2004-05-05 Sebastien Pouliot <[email protected]>
* Environment.cs: Completed OSVersion property.
 	* Version.cs: Added internal CreateFromString() to "try" to build the
 	best version number form the specified string.

svn path=/trunk/mcs/; revision=26777
2004-05-05 18:20:02 +00:00
Sebastien Pouliot 219613bdad 2004-05-05 Sebastien Pouliot <[email protected]>
* environment.c|h: Added icall ves_icall_System_Environment_
	GetOSVersionString to get the current OS version as a string.
	* icall.c: Registred icall.

svn path=/trunk/mono/; revision=26776
2004-05-05 18:18:58 +00:00
Atsushi Eno e32685b887 2004-05-05 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs : Modified that DataSet contains each
	  DataTable field so that each table property can access them directly.
	  (plus, modified standalone code driver code: shouldn't affect)

svn path=/trunk/mcs/; revision=26775
2004-05-05 18:03:58 +00:00
Atsushi Eno f1b7456d4a 2004-05-05 Atsushi Enomoto <[email protected]>
* DataColumnCollectionTest.cs : catch only specific exception. Don't
	  rely on localizable error message.
	* DataSetTest.cs : Attribute orders should not be significant, so
	  just hacked to match current implementation's order.
	  Added WriteNestedTableXml().

svn path=/trunk/mcs/; revision=26774
2004-05-05 17:48:54 +00:00
Sebastien Pouliot dc581bf25d 2004-05-05 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization
	to exceptions.
	* KeyedHashAlgorithm.cs: Added globalization to exceptions.
	* KeySizes.cs: Moved XML comments to monodoc.
	* MaskGenerationMethod.cs: Source clean up.
	* MD5.cs: Moved XML comments to monodoc.
	* MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from
	private fields. Changed constants from enum to array. Zeroize data on
	Dispose.
	* PaddingMode.cs: Moved XML comments to monodoc.
	* PasswordDeriveBytes.cs: Added globalization to exceptions. Removed
	TODO and documented as "not supported" in MonoDoc.
	* RandomNumberGenerator.cs: Source clean up.

svn path=/trunk/mcs/; revision=26773
2004-05-05 17:40:22 +00:00
Lluis Sanchez 5850916c3c * object.c: in mono_object_get_virtual_method(), take into account that
non-virtual methods don't have a slot in the vtable. Check needed when
	the object is a proxy.

svn path=/trunk/mono/; revision=26772
2004-05-05 17:27:48 +00:00
Lluis Sanchez 158becb0c3 * BooleanConverter.cs: Improved ConverFrom method.
svn path=/trunk/mcs/; revision=26771
2004-05-05 17:05:53 +00:00
Zoltan Varga 881f005dfd 2004-05-05 Zoltan Varga <[email protected]>
* mini-sparc.h: Fix warnings.

	* exceptions-sparc.c (mono_arch_find_jit_info): Pop unused lfm off the
	stack.

	* mini-exceptions.c (mono_handle_exception): Call the filter in a
	separate statement for clarity.

svn path=/trunk/mono/; revision=26770
2004-05-05 17:02:52 +00:00
Rafael Teixeira e4289f8c21 2004/04/07 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs : Correcting information and version number

svn path=/trunk/mcs/; revision=26768
2004-05-05 15:37:17 +00:00
Jordi Mas i Hernandez eb6166abf0 Let GDI+ to calculate the strides
svn path=/trunk/mcs/; revision=26767
2004-05-05 15:26:37 +00:00
Jaroslaw Kowalski 7afbf82c34 NpgsqlDataReader.RecordsAffected fix
svn path=/trunk/mcs/; revision=26765
2004-05-05 14:59:16 +00:00
Sebastien Pouliot 85d5a4d1f0 2004-05-05 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Added globalization to exceptions.
	* HMACSHA1.cs: Cleanup.
	* SHA1CryptoServiceProvider.cs: Removed unused private methods.
	* SHA1Managed.cs: Removed unused private methods.
	* SHA384Managed.cs: Don't zeroize buffer on first initialization.
	* SHA512Managed.cs: Don't zeroize buffer on first initialization.

svn path=/trunk/mcs/; revision=26763
2004-05-05 14:14:26 +00:00
Lluis Sanchez fb9c1efbf0 * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
When reading an object using the typeof(object) map, an emty xsi:type
	  means that it has to read the contents into an XmlNode[].
	* TypeData.cs: Return the correct full name for inner classes.
	* XmlSchemaImporter.cs: Improved detection of types that represent
	  "anyType", and must be mapped to XmlElement, XmlNode or Object.
	* XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
	  the correct namespace.
	  In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
	  not known.

svn path=/trunk/mcs/; revision=26761
2004-05-05 13:32:08 +00:00
Sebastien Pouliot 58b47ca476 2004-05-05 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added SHAConstants to the build.

svn path=/trunk/mcs/; revision=26760
2004-05-05 13:28:10 +00:00
Sebastien Pouliot 81f86a80e8 2004-05-05 Sebastien Pouliot <[email protected]>
* SHA256Managed.cs: Updated to use shared constants.
	* SHA384Managed.cs: Updated to use shared constants.
	* SHA512Managed.cs: Updated to use shared constants.
	* SHAConstants.cs: New. Shared constants for SHA implementations.

svn path=/trunk/mcs/; revision=26759
2004-05-05 13:27:12 +00:00
Zoltan Varga fd85c965b3 2004-05-05 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

svn path=/trunk/mono/; revision=26758
2004-05-05 13:13:54 +00:00
Gonzalo Paniagua Javier 5cc63db76a removed ^Ms
svn path=/trunk/mcs/; revision=26757
2004-05-05 13:12:40 +00:00
Sebastien Pouliot e7c5c21986 2004-05-05 Jesper Pedersen <[email protected]>
* PKCS12.cs: Added support for SafeBag attributes. Added support for
	Clone() (ICloneable), Equals and GetHashCode. New methods:
	- AddCertificate (X509Certificate cert)
	- AddCertificate (X509Certificate cert, IDictionary attributes)
	- RemoveCertificate (X509Certificate cert)
	- RemoveCertificate (X509Certificate cert, IDictionary attributes)
	- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
	- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
	- RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
	- AddKeyBag (AsymmetricAlgorithm aa)
	- AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
	- RemoveKeyBag (AsymmetricAlgorithm aa)
	- AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
	- X509Certificate GetCertificate (IDictionary attrs)
	- IDictionary GetAttributes (AsymmetricAlgorithm aa)
	- IDictionary GetAttributes (X509Certificate cert)

svn path=/trunk/mcs/; revision=26756
2004-05-05 13:11:57 +00:00
Zoltan Varga 96a0804643 2004-05-05 Zoltan Varga <[email protected]>
* mono-jni.c: Implement some missing JNI functions.

svn path=/trunk/mono/; revision=26755
2004-05-05 13:08:34 +00:00
Sebastien Pouliot 3099aafc6f 2004-05-05 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added Base64Constants to the build.

svn path=/trunk/mcs/; revision=26754
2004-05-05 12:48:11 +00:00
Sebastien Pouliot e57fe275fc 2004-05-05 Sebastien Pouliot <[email protected]>
* Base64Constants.cs: New. Convert code into tables for better base64
	performance.
	* FromBase64Transform.cs: Updated to use the new tables. Source code
	cleanup.
	* ToBase64Transform.cs: Updated to use the new tables. Added
	globalization. Commented finalizer as it isn't required in this case.

svn path=/trunk/mcs/; revision=26753
2004-05-05 12:46:44 +00:00
Boris Kirzner 2797c8f00d * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
svn path=/trunk/mcs/; revision=26752
2004-05-05 12:19:07 +00:00
Raja R Harinath 9d7ffb37f5 testcases for bug 57151
svn path=/trunk/mcs/; revision=26751
2004-05-05 11:06:41 +00:00
Zoltan Varga b92d0b7e63 2004-05-05 Zoltan Varga <[email protected]>
* MarshalTest.cs: Add test for UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mcs/; revision=26750
2004-05-05 11:04:42 +00:00
Zoltan Varga 35d646caeb 2004-05-05 Zoltan Varga <[email protected]>
* Makefile (test_flags): Add /unsafe.

svn path=/trunk/mcs/; revision=26749
2004-05-05 11:03:44 +00:00
Zoltan Varga 8310dc4160 2004-05-05 Zoltan Varga <[email protected]>
* Marshal.cs: Applied patch from [email protected] (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mcs/; revision=26748
2004-05-05 11:02:41 +00:00
Zoltan Varga ea46e43b38 2004-05-05 Zoltan Varga <[email protected]>
* marshal.h marshal.c icall.c: Applied patch from [email protected] (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mono/; revision=26747
2004-05-05 11:01:24 +00:00
Raja R Harinath 5d805e2561 test for bug #57151
svn path=/trunk/mcs/; revision=26746
2004-05-05 11:01:22 +00:00
Zoltan Varga c36e12ba54 2004-05-05 Zoltan Varga <[email protected]>
* configure.in: Detect JNI headers in GNU classpath sources as well.

svn path=/trunk/mono/; revision=26745
2004-05-05 10:36:41 +00:00
Raja R Harinath e6064df91a revert log for uncommitted part.
svn path=/trunk/mono/; revision=26743
2004-05-05 10:11:18 +00:00
Raja R Harinath c0b5da8923 (install-data-local, uninstall-local):
Only disable this if INSTALL_2_0 is disabled.

svn path=/trunk/mono/; revision=26742
2004-05-05 10:10:28 +00:00
Zoltan Varga f6645dec47 2004-05-05 Zoltan Varga <[email protected]>
* object.c (mono_class_compute_gc_descriptor): Fix warning.

	* object.c (mono_runtime_invoke_array): Add an assert so null cannot be
	passed when a valuetype is expected.

	* object.c (mono_unhandled_exception): Only set the exit code if the
	exception happens in the main thread. Fixes thread5.exe.

svn path=/trunk/mono/; revision=26741
2004-05-05 09:54:12 +00:00
Zoltan Varga d66f74de02 2004-05-05 Zoltan Varga <[email protected]>
* appdomain.c (get_info_from_assembly_name): Fix infinite loop on
	invalid names. Fixes #58047.

svn path=/trunk/mono/; revision=26740
2004-05-05 09:19:34 +00:00
Raja R Harinath be37528cc3 * expression.cs (MemberAccess.ResolveMemberAccess):
Exit with non-zero status after Report.Error.
* rootcontext.cs (RootContext.BootstrapCorlib_ResolveDelegate):
Likewise.
* typemanager.cs (TypeManager.CoreLookupType): Likewise.

svn path=/trunk/mcs/; revision=26739
2004-05-05 08:49:33 +00:00
Atsushi Eno 6b9acee880 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : trivia fix

svn path=/trunk/mcs/; revision=26738
2004-05-05 04:56:09 +00:00
Atsushi Eno b13d1c2c41 2004-05-05 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : added BUGGY_MS_COMPLIANT condition and that
	  handles ms-compatible properties.
	* XmlSchemaComplexType.cs : ditto for ContentTypeParticle of xs:anyType.
	  Make sure ContentType for xs:anyType is Mixed.
	* XmlSchemaUtil.cs : ditto for <xs:attribute use="prohibited" ..>

svn path=/trunk/mcs/; revision=26737
2004-05-05 04:44:49 +00:00
Atsushi Eno 622f40ad6d 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSerializationWriter.cs : It do not have to handle schema
	  namespace as special one.

svn path=/trunk/mcs/; revision=26736
2004-05-05 04:28:54 +00:00
Atsushi Eno c381e2e366 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Write() handles schema namespace for xmlserializer
	  (it does not look to be handled inside xmlserializer).

svn path=/trunk/mcs/; revision=26735
2004-05-05 04:27:22 +00:00
Atsushi Eno 2b323defa8 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : Added TestWriteNamespaces().

svn path=/trunk/mcs/; revision=26734
2004-05-05 04:25:02 +00:00
Atsushi Eno 9e692caa42 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlDsigBase64Transform.cs : LoadInputAsXmlNodeList() is testable.
	* XmlDsigC14NTransformTest.cs : Ignore LoadInputAsXmlNodeList(); that
	  test premises incorrect namespace handling.
	* XmlDsigXPathTransformTest.cs : Removed some FIXMEs (counting node
	  will give more expected results),
	  plus some noise on FunctionHereObsolete().

svn path=/trunk/mcs/; revision=26732
2004-05-05 03:51:51 +00:00
Atsushi Eno 461b2e57a5 2004-05-05 Atsushi Enomoto <[email protected]>
* SignedXml.cs,
	  Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
	* XmlDsigBase64Transform.cs : Should not output the content of the
	  selected element nodes. Put text content only those text nodes are
	  in the node list.
	* XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
	* XmlDsigXsltTransform.cs : Use XmlResolver to load document and
	  to transform. Throw null reference exception explicitly when
	  the input was not loaded.

svn path=/trunk/mcs/; revision=26731
2004-05-05 03:45:49 +00:00
Atsushi Eno 792d4a585f 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlSchemaDataImporter.cs :
	  SimpleContent column support.
	  Annotated relation support.
	  Top-level element is counted only when its type is complex.
	  xs:anyType is no longer treated as complex type.
	  dataset existence is mandatory now.
	  Improved DataType and DefaultValue support.
	  Attribute namespace is properly handled now.
	  Prohibited attribute is now treated as hidden column.
	  Reject list or union simple type.

	  Still incomplete 1) to read relationship in some cases, 2) to
	  determine whether an element is dataset or table, 3) thus to
	  exclude extraneous column, 4) to remove extraneous *_Id column.

svn path=/trunk/mcs/; revision=26730
2004-05-05 03:32:02 +00:00
Atsushi Eno 3180468065 2004-05-05 Atsushi Enomoto <[email protected]>
* DataTable.cs :
	  We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
	  serialization .ctor() (thus schema read/inference should be easier).
	  DataRowSorter should consider Table's Locale.

svn path=/trunk/mcs/; revision=26729
2004-05-05 03:20:44 +00:00
Atsushi Eno 6981b2a7a7 2004-05-05 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : We already had AutoIncrementValue(), so
	  use it instead of duplicating logic.

svn path=/trunk/mcs/; revision=26728
2004-05-05 03:11:57 +00:00
Atsushi Eno 551ac66cd4 2004-05-05 Atsushi Enomoto <[email protected]>
* ConstraintCollection.cs :
	  Use Table.CaseSensitive and Table.Locale to compare strings.
	  Duplicate constraint name exception does not occur under .NET 1.1.

svn path=/trunk/mcs/; revision=26727
2004-05-05 03:09:47 +00:00
Atsushi Eno 9b717ebc15 2004-05-05 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs : uncommented some tests that should be
	  implemented until mono 1.0.
	* ConstraintTest.cs : use ExpectedException. Don't expect localizable
	  error message.
	* DataColumnTest.cs,
	  DataRelationTest.cs,
	  DataRowCollectionTest.cs : catch only specific type exception.
	  Don't rely on (test) localizable messages.
	* DataSetAssertion.cs : We shouldn't expect exact column ordinals
	  when infering/reading the structures from documents/schemas.

svn path=/trunk/mcs/; revision=26726
2004-05-05 02:59:48 +00:00
Atsushi Eno 5b732c062a 2004-05-05 Atsushi Enomoto <[email protected]>
* ArithmeticExpressions.cs: avoid null exception on add operation.

svn path=/trunk/mcs/; revision=26725
2004-05-05 02:45:02 +00:00
Ben Maurer f16bf50d6d shhhhh
svn path=/trunk/mcs/; revision=26724
2004-05-05 02:35:09 +00:00
Gonzalo Paniagua Javier a162b3ef2f 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* monop.cs: use assembly.LoadWithPartialName.

svn path=/trunk/mcs/; revision=26723
2004-05-05 02:29:39 +00:00
Gonzalo Paniagua Javier 1056209871 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services/WebService.cs: added a HttpSessionState field
	and a setter method. Session now returns null if EnableSession is not
	set for the method invoked.

	* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs:
	* System.Web.Services.Protocols/HttpSoapWebServiceHandler.cs:  use
	the session if the method has EnableSession set.

	* System.Web.Services.Protocols/LogicalMethodInfo.cs: added
	EnableSession property.

	* System.Web.Services.Protocols/WebServiceHandler.cs: set the Session
	object of the WebService.

	Fixes bug #57905 (needs the latest DefaultWsdlHelpGenerator.aspx).

svn path=/trunk/mcs/; revision=26722
2004-05-05 02:25:10 +00:00
Gonzalo Paniagua Javier 0618c232f9 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
	the request we do for the actual web service.

svn path=/trunk/mono/; revision=26721
2004-05-05 02:19:07 +00:00
Lluis Sanchez 2eba3b227e * support.cs: Don't hang when the file is empty.
svn path=/trunk/mcs/; revision=26720
2004-05-04 23:59:21 +00:00
Jordi Mas i Hernandez f63772fa3c rawformat should be handled by GDI+
svn path=/trunk/mcs/; revision=26719
2004-05-04 22:39:44 +00:00
Vladimir Vukicevic 840e2f96ba * BitmapData.cs: re-synchronized with libgdiplus; also
removed memory deallocs here (as the data is always owned
by libgdiplus)

svn path=/trunk/mcs/; revision=26718
2004-05-04 22:19:34 +00:00
Paolo Molaro 13a7c7d3bb Add inssel.h to the sources.
svn path=/trunk/mono/; revision=26717
2004-05-04 21:23:28 +00:00
Paolo Molaro 15694a95ca Fix Miguel's last minute breakage.
svn path=/trunk/mono/; revision=26716
2004-05-04 20:38:32 +00:00
Miguel de Icaza 58be6972de Remove gtk#
svn path=/trunk/mono/; revision=26715
2004-05-04 19:43:18 +00:00
Miguel de Icaza 2de4a59cd2 Map our internal codes to the C# codes
svn path=/trunk/mcs/; revision=26714
2004-05-04 19:23:48 +00:00
Miguel de Icaza 85f380edab For the Beta1, we will fix later
svn path=/trunk/mono/; revision=26712
2004-05-04 19:20:51 +00:00
Atsushi Eno 6f4a74d971 2004-05-04 Atsushi Enomoto <[email protected]>
* net_1_1/Makefile.am,
	  net_2_0/Makefile.am : replace gacutil -i with gacutil /i.

svn path=/trunk/mono/; revision=26711
2004-05-04 19:12:57 +00:00
Lluis Sanchez cd7ea36139 * support.cs: In SeekableStreamReader, compute the preamble size of the
underlying stream. Position changes should take into account that initial
	  count of bytes.

svn path=/trunk/mcs/; revision=26709
2004-05-04 19:01:17 +00:00
Jackson Harper 278eaf8351 * gacutil.cs: We need to overwrite existing libraries if they
already exist in the package directory on windows. Also made the
	code somewhat readable with 80 cols.

svn path=/trunk/mcs/; revision=26705
2004-05-04 17:04:53 +00:00
Dick Porter 9d0125942b 2004-05-04 Dick Porter <[email protected]>
* daemon.c (read_message): Return FALSE on error so the GSource
	callback itself can return FALSE.  Cures the infinite loop poll()
	warning on MacosX.
	* shared.c: Fix some daemon startup race conditions.

svn path=/trunk/mono/; revision=26704
2004-05-04 16:20:16 +00:00
Lluis Sanchez 6292505861 * XmlSchemaDataImporter.cs: Added little type check.
svn path=/trunk/mcs/; revision=26702
2004-05-04 15:08:03 +00:00
Ravindra b91fbf25a1 Minor change to make sample output little better with a white background and black color text.
svn path=/trunk/mcs/; revision=26701
2004-05-04 14:43:12 +00:00
Miguel de Icaza fdb156fd3b Update to include echos
svn path=/trunk/mono/; revision=26700
2004-05-04 14:34:43 +00:00
Ravindra 668a50ae10 Fixed Transform property in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26699
2004-05-04 14:16:33 +00:00
Gonzalo Paniagua Javier b5d55265c2 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: now it defaults to 'web.config' and if
	not found, 'Web.config'. Don't throw exception if both exists. Thanks
	to urs and dru for bugging me about this.

svn path=/trunk/mcs/; revision=26698
2004-05-04 14:16:12 +00:00
Ravindra 238da299bc * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
	properties and SetLineCap method. In constructors use IntPtr instead
	of int.
	* SolidBrush.cs: Modified exception message.
	* TextureBrush.cs: Fixed Transform property.
	* gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
	LinearGradientBrush.cs.

svn path=/trunk/mcs/; revision=26697
2004-05-04 14:11:34 +00:00
Paolo Molaro a75d2e4a41 This may help with threads in FreeBSD.
svn path=/trunk/mono/; revision=26695
2004-05-04 14:02:07 +00:00
Jordi Mas i Hernandez 13e610d13e ImageRotateFlip sample
svn path=/trunk/mcs/; revision=26694
2004-05-04 13:57:58 +00:00
Lluis Sanchez f9d0715287 * DataSet.cs: Implemented support for runtime serialization. Fixed support
for xml serialization.
	* XmlDiffLoader.cs: Skip diffgram element when it is empty.

svn path=/trunk/mcs/; revision=26692
2004-05-04 12:11:44 +00:00
Zoltan Varga 2695c6169e 2004-05-04 Zoltan Varga <[email protected]>
* mini-exceptions.c (ves_icall_get_frame_info): Flush register windows
	here.

svn path=/trunk/mono/; revision=26691
2004-05-04 12:11:13 +00:00
Gonzalo Paniagua Javier af9bb14dd7 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: check for SIGEV_THREAD being defined before checking
	for AIO support. Fixes compilation under FreeBSD.

svn path=/trunk/mono/; revision=26690
2004-05-04 12:04:03 +00:00
Zoltan Varga bf3f31ae02 2004-05-04 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method_with_context): Disable explicit assignment
	of 'esi' to the ip variable, since it causes register allocation errors
	on some versions of gcc. Fixes #58010.

svn path=/trunk/mono/; revision=26689
2004-05-04 11:47:19 +00:00
Lluis Sanchez c3c02a50b3 Added version to the ASMX handler type name
svn path=/trunk/mono/; revision=26687
2004-05-04 10:01:42 +00:00
Sanja Gupta c67423f29b ChangeLog: Updated ChangeLog
Image.cs: Implemented FrameDimensionsList property

svn path=/trunk/mcs/; revision=26686
2004-05-04 07:46:16 +00:00
Raja R Harinath 465c6f4ab4 * runtime/net_1_1/Makefile.am (mono_runtime): Use USE_JIT, not
JIT_SUPPORTED.
(install-data-local, uninstall-data-local): Run runtime with
libtool.
* runtime/net_2_0/Makefile.am: Likewise.
Report from Urs C Muff <[email protected]>.

svn path=/trunk/mono/; revision=26685
2004-05-04 07:38:05 +00:00
Roopa Wilson d3ad603ced 2004-05-04 Roopa Wilson ([email protected]
* ForeignKeyConstraint.cs : Added code to handle InvalidOperationException
* ForeignKeyConstraint.cs : Changed few exception types thrown
* ForeignKeyConstraintTest.cs : Changed few exception types to be thrown

svn path=/trunk/mcs/; revision=26680
2004-05-04 03:27:03 +00:00
Miguel de Icaza 8d739b4066 Add nice reporting
svn path=/trunk/mono/; revision=26679
2004-05-04 02:58:25 +00:00
Miguel de Icaza 937562082b Drop Mono.Posix dep, its simpler to bind it here
svn path=/trunk/mcs/; revision=26677
2004-05-04 01:44:58 +00:00
Miguel de Icaza 8be5c64a32 The real fix
svn path=/trunk/mcs/; revision=26676
2004-05-03 23:57:36 +00:00
Todd Berman a0d6ef5494 2004-05-03 Todd Berman <[email protected]>
* gacutil.cs: potential fix for miguel.

svn path=/trunk/mcs/; revision=26675
2004-05-03 23:49:51 +00:00
Miguel de Icaza b67a89edbb update this one
svn path=/trunk/mono/; revision=26673
2004-05-03 23:29:38 +00:00
Miguel de Icaza aa3db94101 LastOne
svn path=/trunk/mcs/; revision=26667
2004-05-03 23:11:05 +00:00
Miguel de Icaza 580005df30 gmcs too
svn path=/trunk/mcs/; revision=26666
2004-05-03 23:10:44 +00:00
Miguel de Icaza 73531913d9 :Flush
svn path=/trunk/mcs/; revision=26665
2004-05-03 23:09:38 +00:00
Miguel de Icaza 7fcd80e77d one by one
svn path=/trunk/mono/; revision=26664
2004-05-03 23:09:25 +00:00
Miguel de Icaza 744134eea4 up
svn path=/trunk/mcs/; revision=26662
2004-05-03 23:03:48 +00:00
Miguel de Icaza 4bcc9079d6 Up
svn path=/trunk/mono/; revision=26660
2004-05-03 22:57:23 +00:00
Miguel de Icaza aabbb0f81d Need config to remap calls to libc, from Mono.Posix, used by gacutil
svn path=/trunk/mono/; revision=26655
2004-05-03 22:23:00 +00:00
Jackson Harper c587d1baef * assembly.c: This line was committed accidently and is
unneeded.

svn path=/trunk/mono/; revision=26653
2004-05-03 22:17:01 +00:00
Miguel de Icaza b89aa55245 Reverting incorrect removal
svn path=/trunk/mcs/; revision=26650
2004-05-03 21:56:29 +00:00
Gonzalo Paniagua Javier d865f236f5 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs:
	* TemplateParser.cs: for the assembly names given in the 'assembly'
	attribute, use LoadWithPartialName instead of Load.

svn path=/trunk/mcs/; revision=26649
2004-05-03 21:54:08 +00:00
Miguel de Icaza 466b4c0fec Flush
svn path=/trunk/mono/; revision=26646
2004-05-03 21:41:59 +00:00
Gonzalo Paniagua Javier 7d49d4eb0f 1.1 -> 1.0
svn path=/trunk/mcs/; revision=26645
2004-05-03 21:29:01 +00:00
Miguel de Icaza 65719b7388 1.0 instead of 1.1
svn path=/trunk/mono/; revision=26643
2004-05-03 20:54:09 +00:00
Lluis Sanchez f1e94cf35b * Encoding.cs: Use name const to load I18N assembly.
svn path=/trunk/mcs/; revision=26642
2004-05-03 20:36:08 +00:00
Lluis Sanchez 7e057fa954 * ModuleBuilder.cs: Use name const to load the debugger assembly.
svn path=/trunk/mcs/; revision=26641
2004-05-03 20:33:11 +00:00
Lluis Sanchez 6bee5f5af0 * corlib.dll.sources: Added Assembly/Consts.cs.
svn path=/trunk/mcs/; revision=26640
2004-05-03 20:32:06 +00:00
Lluis Sanchez b6440a99ae * Consts.cs: Added.
svn path=/trunk/mcs/; revision=26639
2004-05-03 20:30:46 +00:00
Lluis Sanchez da49df1e1c * Consts.cs: Added consts for NET_2_0.
svn path=/trunk/mcs/; revision=26638
2004-05-03 20:22:26 +00:00
Paolo Molaro c0272200a9 Mon May 3 22:58:51 CEST 2004 Paolo Molaro <[email protected]>
* inssel-ppc.brg: another small pre-release workaround:
	we don't do overflow detection for long_sub_un.

svn path=/trunk/mono/; revision=26637
2004-05-03 20:19:55 +00:00
Gonzalo Paniagua Javier 48b65204d4 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: fix for BeginConnect and non-blocking sockets.

svn path=/trunk/mcs/; revision=26636
2004-05-03 20:10:59 +00:00
Sebastien Pouliot 3664d705e2 2004-05-03 Sebastien Pouliot <[email protected]>
* WebConnection.cs: Added missing Consts.

svn path=/trunk/mcs/; revision=26635
2004-05-03 20:06:32 +00:00
Jordi Mas i Hernandez bc6db2a51f pixelformat parameter is taken into account
svn path=/trunk/mcs/; revision=26634
2004-05-03 19:58:28 +00:00
Sebastien Pouliot 8747afb6bc 2004-05-03 Sebastien Pouliot <[email protected]>
* ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.

svn path=/trunk/mcs/; revision=26631
2004-05-03 19:52:41 +00:00
Todd Berman 2eab6eabe0 fix from jaroslaw kowalski
svn path=/trunk/mono/; revision=26630
2004-05-03 19:50:07 +00:00
Sebastien Pouliot 24051a0107 2004-05-03 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Specify version and public key token when loading
	System.Security.dll for XML Digital Signature classes.

svn path=/trunk/mcs/; revision=26629
2004-05-03 19:41:11 +00:00
Sebastien Pouliot 0a531ec57c 2004-05-03 Sebastien Pouliot <[email protected]>
* WebConnection.cs: Use assembly name const to load Mono.Security.

svn path=/trunk/mcs/; revision=26628
2004-05-03 19:34:22 +00:00
Lluis Sanchez 8450b5abbd * Socket.cs: Use assembly name const to load Mono.Posix.
svn path=/trunk/mcs/; revision=26627
2004-05-03 19:26:58 +00:00
Lluis Sanchez d51db8022f * NtlmClient.cs: Use assembly name const to load Mono.Security.
svn path=/trunk/mcs/; revision=26626
2004-05-03 19:25:34 +00:00
Lluis Sanchez 0dc1b76db4 * Consts.cs: Added consts for Mono.Posix and Mono.Security.
svn path=/trunk/mcs/; revision=26625
2004-05-03 19:23:06 +00:00
Todd Berman 04ff5cb6fd 2004-05-03 Todd Berman <[email protected]>
* driver.cs: remove unused GetSysVersion function.

svn path=/trunk/mcs/; revision=26623
2004-05-03 19:19:39 +00:00
Miguel de Icaza 0889216e07 This was broken
svn path=/trunk/mono/; revision=26622
2004-05-03 18:30:57 +00:00
Sebastien Pouliot b958bbf804 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Match version numbers with MS (VS.NET numbers).

svn path=/trunk/mcs/; revision=26621
2004-05-03 18:20:35 +00:00
Todd Berman fd17e9cfa2 2004-05-03 Todd Berman <[email protected]>
* driver.cs: Remove the hack from saturday, as well as the hack
        from jackson (LoadAssemblyFromGac), also adds the CWD to the
        link_paths to get that bit proper.

svn path=/trunk/mcs/; revision=26620
2004-05-03 18:17:02 +00:00
Miguel de Icaza cf69187832 My version is better
svn path=/trunk/mono/; revision=26619
2004-05-03 18:11:11 +00:00
Jackson Harper 243e9df1f7 Add gacutil
svn path=/trunk/mono/; revision=26618
2004-05-03 18:06:44 +00:00
Jackson Harper a258d27e4f * man/gacutil.1: Basic man page for gacutil. This doesn't include
the new non-standard options yet.

svn path=/trunk/mono/; revision=26617
2004-05-03 18:06:25 +00:00
Miguel de Icaza 0b40de8176 update usage
svn path=/trunk/mcs/; revision=26616
2004-05-03 17:30:17 +00:00
Jackson Harper bbd0ed5def * Assembly.cs: Implement LoadWithPartialName. The bulk of this
method is done in the runtime.

svn path=/trunk/mcs/; revision=26615
2004-05-03 17:28:26 +00:00
Jackson Harper e1968e7606 * icall.c: Add new icall for Assembly::LoadWithPartialName
* assembly.c/.h: new function that probes the GAC to load partial
	assembly names by Paolo Molaro.

svn path=/trunk/mono/; revision=26614
2004-05-03 17:25:56 +00:00
Miguel de Icaza 68b04d317d Also update this
svn path=/trunk/mcs/; revision=26613
2004-05-03 17:23:48 +00:00
Miguel de Icaza d19af8f11d Fix
svn path=/trunk/mono/; revision=26612
2004-05-03 17:21:42 +00:00
Lluis Sanchez e1753c687c * XmlSerializationReaderInterpreter.cs: Removed the check for null
AttributeMembers collection. Even if there are no attribute members,
	  attributes need to be read.

svn path=/trunk/mcs/; revision=26611
2004-05-03 17:21:23 +00:00
Todd Berman 4f53387275 2004-05-03 Todd Berman <[email protected]>
* gacutil.cs: support /package in /u now as well.

svn path=/trunk/mcs/; revision=26610
2004-05-03 17:13:24 +00:00
Miguel de Icaza d2ca162e63 Be more verbose
svn path=/trunk/mcs/; revision=26609
2004-05-03 17:08:53 +00:00
Miguel de Icaza 467a19737f update to use /package
svn path=/trunk/mono/; revision=26608
2004-05-03 17:08:07 +00:00
Sebastien Pouliot b22ff4122d 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Returned to match original version (0.7.4.*). We
	now use 0.7.4.0 for Fx1.0, 0.7.4.1. for Fx1.1 and 0.7.4.2 for Fx 2.0.

svn path=/trunk/mcs/; revision=26606
2004-05-03 16:52:47 +00:00
Todd Berman 64c6ad6c52 fix for gacutil and /package
svn path=/trunk/mcs/; revision=26605
2004-05-03 16:39:25 +00:00
Sebastien Pouliot 18d97eba56 2004-05-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Returned to original version (2.1.4.0) for 1.0/1.1
	and 2.1.4.2 for Fx 2.0.

svn path=/trunk/mcs/; revision=26604
2004-05-03 16:36:32 +00:00
Miguel de Icaza 3bff7cd83c Fix versions
svn path=/trunk/mcs/; revision=26603
2004-05-03 16:31:52 +00:00
Miguel de Icaza 782b21f442 2004-05-03 Miguel de Icaza <[email protected]>
* Syscall.cs: Add symlink

svn path=/trunk/mcs/; revision=26601
2004-05-03 16:25:08 +00:00
Miguel de Icaza 598ab05160 Add --with-icu=yes/no
Add --with-preview=yes/no
Install mcs/mbas into $prefix/lib/mono/1.1
Install gmcs into $prefix/lib/mono/2.0

This is in preparation for the dual installation of libraries GAC + devel.

svn path=/trunk/mono/; revision=26599
2004-05-03 16:21:01 +00:00
Lluis Sanchez 401825e0c2 Who forgot to commit this ChangeLog?
svn path=/trunk/mcs/; revision=26597
2004-05-03 16:17:46 +00:00
Miguel de Icaza 206e5076b2 Update web
svn path=/trunk/mono/; revision=26596
2004-05-03 16:17:01 +00:00
Lluis Sanchez 0070609855 * AsyncCalls.cs, BaseCalls.cs, DelegateCalls.cs, ReflectionCalls.cs,
ServerObject.cs, SyncCalls.cs: Improved PrimitiveParamsInOut test case.

svn path=/trunk/mcs/; revision=26595
2004-05-03 16:16:43 +00:00
Gonzalo Paniagua Javier dce6ad24b5 use g_ascii_strncasecmp. g_strcasecmp is deprecated.
svn path=/trunk/mono/; revision=26593
2004-05-03 16:07:05 +00:00
Gonzalo Paniagua Javier 93fc2bc5c6 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: use g_strncasecmp when looking for 'Culture=' et al.
	* reflection.c: use g_strncasecmp when looking for 'Culture=' et al.
	(type_get_fully_qualified_name): Added PublicKeyToken when building a
	full type name.

svn path=/trunk/mono/; revision=26592
2004-05-03 16:02:24 +00:00
Gonzalo Paniagua Javier e2f20e4b3e updated
svn path=/trunk/mono/; revision=26591
2004-05-03 15:51:28 +00:00
Gonzalo Paniagua Javier 2392e479f6 Added version and publickeytoken
svn path=/trunk/mono/; revision=26590
2004-05-03 15:50:37 +00:00
Gonzalo Paniagua Javier 7d0c8ee744 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: fixed check for 'neutral' culture and removed warning.
	* reflection.c: fix bug when parsing a full type name and Version is not
	the last thing in the string.

svn path=/trunk/mono/; revision=26589
2004-05-03 15:38:01 +00:00
Lluis Sanchez ea46762091 * XmlSerializationReader.cs: In ReadSerializable(), take into account that
the IXmlSerializable object may not read all the EndElement it read.
	  This fixes bug #57413.

svn path=/trunk/mcs/; revision=26588
2004-05-03 15:36:24 +00:00
Zoltan Varga ba4fb4f513 2004-05-03 Zoltan Varga <[email protected]>
* appdomain.c (get_info_from_assembly_name): Strdup "" to prevent
	crashes when it is freed.

svn path=/trunk/mono/; revision=26584
2004-05-03 14:06:24 +00:00
Gonzalo Paniagua Javier 574a79aae9 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: print the compat warning to stderr.

svn path=/trunk/mono/; revision=26583
2004-05-03 13:21:33 +00:00
Lluis Sanchez 3d5583bd64 * MessageFormatter.cs: In the all-are-primitive case, serialize Args,
not OutArgs.

svn path=/trunk/mcs/; revision=26582
2004-05-03 11:47:27 +00:00
Lluis Sanchez 1fdc2d497d * MethodResponse.cs, ReturnMessage.cs: More null checks.
svn path=/trunk/mcs/; revision=26581
2004-05-03 11:42:06 +00:00
Lluis Sanchez 787d5c6931 XmlSerializer.cs: Enable serializer generation by default.
svn path=/trunk/mcs/; revision=26580
2004-05-03 11:38:52 +00:00
Marek Safar c1fb15a59e 2004-05-03 Marek Safar <[email protected]>
* cs0579-3.cs,
	* cs0592-7.cs,
	* cs0626.cs: 3 new error tests.

svn path=/trunk/mcs/; revision=26579
2004-05-03 07:21:41 +00:00
Paolo Molaro 5f379ccd9f Mon May 3 08:34:32 CEST 2004 Paolo Molaro <[email protected]>
* main.c, defs.h: use the proper header files instead of broken
	prototypes (thanks to Marcus for reporting).

svn path=/trunk/mcs/; revision=26578
2004-05-03 05:58:25 +00:00
Miguel de Icaza 3763abdafb 2004-05-03 Miguel de Icaza <[email protected]>
* codegen.cs: Add patch from Robert Shade
	<[email protected]>, use FileAccess.Read on the keyfile, to

svn path=/trunk/mcs/; revision=26577
2004-05-03 04:18:55 +00:00
Miguel de Icaza d300d2b860 Do not remove files on make clean for regular users
svn path=/trunk/mono/; revision=26573
2004-05-03 03:43:10 +00:00
Miguel de Icaza f076ec8e5d Exitcode fix
svn path=/trunk/mono/; revision=26569
2004-05-02 22:58:37 +00:00
Miguel de Icaza e1397181f0 Ignore error on uninstall, we have a greedy removed
svn path=/trunk/mono/; revision=26564
2004-05-02 22:28:12 +00:00
Miguel de Icaza 7f40a020b4 flush
svn path=/trunk/mcs/; revision=26562
2004-05-02 22:05:13 +00:00
Duncan Mak f1242fd770 2004-05-02 Duncan Mak <[email protected]>
* ByteFX.Data/AssemblyInfo.cs:
	* Mono.GetOptions/AssemblyInfo.cs:
	* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26561
2004-05-02 21:16:02 +00:00
Duncan Mak 869be87292 2004-05-02 Duncan Mak <[email protected]>
* ByteFX.Data/AssemblyInfo.cs:
	* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26560
2004-05-02 21:09:34 +00:00
Sebastien Pouliot 903c03d677 2004-05-02 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now that bug #57941 (incomplete key pairs) is fixed
	we now use nunit.key to sign their assemblies.

svn path=/trunk/mcs/; revision=26559
2004-05-02 20:01:41 +00:00
Sebastien Pouliot 7ee363eb21 2004-05-02 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Updated to latest version. Fix issue with
	incomplete key pairs (#57941).

svn path=/trunk/mcs/; revision=26558
2004-05-02 19:58:31 +00:00
Duncan Mak f247570dc5 2004-05-02 Duncan Mak <[email protected]>
* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
	attributes for versioning (1.0 vs. 1.1 vs. 2.0).

svn path=/trunk/mcs/; revision=26557
2004-05-02 19:40:04 +00:00
Sebastien Pouliot be564a8e30 2004-05-02 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added missing using clause. Fixed the build.

svn path=/trunk/mcs/; revision=26556
2004-05-02 19:19:13 +00:00
Miguel de Icaza 6ea101ac47 Version
svn path=/trunk/mcs/; revision=26555
2004-05-02 18:50:20 +00:00
Miguel de Icaza fe8e294a03 This did not make it
svn path=/trunk/mcs/; revision=26554
2004-05-02 18:49:42 +00:00
Paolo Molaro aa25b5b9ba Sun May 2 20:12:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c, mini-ops, inssel-long32.brg: speedup ulong >> 32
	(also works around a weird ppc bug: 57957).

svn path=/trunk/mono/; revision=26553
2004-05-02 17:37:04 +00:00
Paolo Molaro fc3bf7b68f Use EXTRA_DIST, the dist_ hack is not compatible with automake 1.4.
svn path=/trunk/mono/; revision=26552
2004-05-02 17:26:50 +00:00
Ben Maurer 2ec61ae5c6 ver
svn path=/trunk/mcs/; revision=26548
2004-05-02 16:35:08 +00:00
Miguel de Icaza ab389f474f First batch of changes
svn path=/trunk/mcs/; revision=26547
2004-05-02 16:22:24 +00:00
Ben Maurer 546a1fdca5 version
svn path=/trunk/mcs/; revision=26546
2004-05-02 16:21:35 +00:00
Paolo Molaro 647a6756c4 Output first to a temp file, in case jay fails.
svn path=/trunk/mcs/; revision=26545
2004-05-02 08:56:40 +00:00
Miguel de Icaza add2a0a95b Fix
svn path=/trunk/mcs/; revision=26544
2004-05-02 04:34:39 +00:00
Miguel de Icaza 5491497f41 2004-05-02 Miguel de Icaza <[email protected]>
* mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
	to test against BYTE_ORDER, and this caused trouble.  We now use
	G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.

svn path=/trunk/mono/; revision=26543
2004-05-02 03:34:48 +00:00
Miguel de Icaza 7c05e2230a that was a useless patch
svn path=/trunk/mono/; revision=26542
2004-05-02 02:31:58 +00:00
Miguel de Icaza b1e4ddc0f7 Endian fix, attempt for the Mac
svn path=/trunk/mono/; revision=26541
2004-05-02 01:30:17 +00:00
Ben Maurer efdec70f0c some nice little micro-benchmarks
svn path=/trunk/mono/; revision=26540
2004-05-01 23:39:27 +00:00
Dennis Hayes c917cc45a8 more java code from Mainsoft converted, cleaned
svn path=/trunk/mcs/; revision=26533
2004-05-01 20:44:06 +00:00
Paolo Molaro d8cd755daa Enable JIT by default, add flags for GC thread support.
svn path=/trunk/mono/; revision=26532
2004-05-01 20:16:00 +00:00
Paolo Molaro 5e3947e098 Sat May 1 16:56:10 EDT 2004 Paolo Molaro <[email protected]>
* tramp-ppc.c: trampoline fixes.

svn path=/trunk/mono/; revision=26531
2004-05-01 20:15:00 +00:00
Miguel de Icaza d57ec5a502 Flush
svn path=/trunk/mono/; revision=26527
2004-05-01 19:17:44 +00:00
Todd Berman 798e31bc35 2004-05-01 Todd Berman <[email protected]>
* gacutil.cs: copy the config file, not the assembly again.

svn path=/trunk/mcs/; revision=26525
2004-05-01 18:56:58 +00:00
Miguel de Icaza 0938562356 2004-05-01 Miguel de Icaza <[email protected]>
* assembly.c (mono_assembly_load_references): Add a compatibility
	hack to run old applications that might be still referencing the
	3300-based assemblies, only do this for System.xxx.

svn path=/trunk/mono/; revision=26524
2004-05-01 18:16:08 +00:00
Todd Berman 4c8915a1ed 2004-05-01 Todd Berman <[email protected]>
* driver.cs: Try a LoadFrom before a Load, this checks the current
        path. This is currently a bug in mono that is be fixed, however, this
        provides a workaround for now. This will be removed when the bug
        is fixed.

svn path=/trunk/mcs/; revision=26523
2004-05-01 18:15:26 +00:00
Francisco Figueiredo Jr. 0510fb2d4c 2004-05-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs,
        Npgsql/NpgsqlConnection.cs,
        Npgsql/NpgsqlConnector.cs,
        Npgsql/NpgsqlConnectorPool.cs,
        Npgsql/NpgsqlError.cs,
        Npgsql/NpgsqlException.cs,
        Npgsql/NpgsqlParameterCollection.cs,
        NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=26522
2004-05-01 18:09:43 +00:00
Miguel de Icaza 88307d130e Add
svn path=/trunk/mono/; revision=26520
2004-05-01 18:07:33 +00:00
Francisco Figueiredo Jr. fa3dd41561 2004-05-01 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs,
	Npgsql/NpgsqlConnection.cs,
	Npgsql/NpgsqlConnector.cs,
	Npgsql/NpgsqlConnectorPool.cs,
	Npgsql/NpgsqlError.cs,
	Npgsql/NpgsqlException.cs,
	Npgsql/NpgsqlParameterCollection.cs,
	NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=26519
2004-05-01 18:07:32 +00:00
Todd Berman 0f7790812d 2004-05-01 Todd Berman <[email protected]>
* gacutil.cs: ack, miguel is right, cmdline handling needs some love.

svn path=/trunk/mcs/; revision=26518
2004-05-01 17:33:47 +00:00
Miguel de Icaza 6de7606dda Remove patch that *did* regress the build, it was even flagged on Bugzilla
svn path=/trunk/mcs/; revision=26517
2004-05-01 17:26:22 +00:00
Jackson Harper 8d693af83b * appdomain.c: If the culture is neutral we set it to "".
svn path=/trunk/mono/; revision=26516
2004-05-01 17:21:29 +00:00
Sebastien Pouliot 2bbbaab331 2004-05-01 Sebastien Pouliot <[email protected]>
* nunit.key: New. (Truncated) key pair used to sign nunit assemblies.

svn path=/trunk/mcs/; revision=26515
2004-05-01 17:12:30 +00:00
Sebastien Pouliot ae3d06a4d8 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Synched with Mono.Security.dll. Fix bug #57941
	(truncated key pair).
	* RSAManaged.cs: Synched with Mono.Security.dll. Fix bug #57941
	(truncated key pair).

svn path=/trunk/mcs/; revision=26514
2004-05-01 17:09:57 +00:00
Sebastien Pouliot 4732aebe0c 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Updated to latest version. Fix issue with
	incomplete key pairs (#57941).

svn path=/trunk/mcs/; revision=26513
2004-05-01 17:05:11 +00:00
Sebastien Pouliot da1d4959f6 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added support for truncated, but still valid, RSA
	private key blob. Fix #57941 (couldn't sign with nunit key).
	* RSAManaged.cs: Normalized the size of D when not present. This
	allows us to output a compatible base64 representation of 1024bits 0.

svn path=/trunk/mcs/; revision=26511
2004-05-01 16:46:01 +00:00
Sebastien Pouliot a4bc7e162c 2004-05-01 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: Added test case where a strongname key pair
	(RSA 1024 bits) was truncated in the last parameter (D) (i.e. the
	private key) but saved by the use of CRT (Chinese Remainder Theorem).

svn path=/trunk/mcs/; revision=26508
2004-05-01 15:36:40 +00:00
Gonzalo Paniagua Javier 1b298ca6d1 2004-05-01 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
	I will remove this once THE bug is hunted.

svn path=/trunk/mcs/; revision=26507
2004-05-01 13:20:28 +00:00
Andreas N cf4719089a 2004-05-01 Andreas Nahr <[email protected]>
* Comparer.cs: ensure culture is set to null , removed
	  static constructor, removed unneccesary checks

svn path=/trunk/mcs/; revision=26506
2004-05-01 12:45:50 +00:00
Andreas N 6bd6fd3ecb ups
svn path=/trunk/mcs/; revision=26505
2004-05-01 12:43:35 +00:00
Andreas N bf88b7ef2b 2004-05-01 Andreas Nahr <[email protected]>
* CaseInsensitiveComparer.cs: Fix the default constructor (needs to
	  set CurrentCulture, ensure culture is set to null for invariant case,
	  construct early
	* Comparer.cs: Restyle, change lineendings

svn path=/trunk/mcs/; revision=26504
2004-05-01 12:30:44 +00:00
Andreas N 5f83ba45db 2004-05-01 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs
	* CaseInsensitiveComparer.cs: Change lineendings
	* CaseInsensitiveComparer.cs: Restyle

svn path=/trunk/mcs/; revision=26503
2004-05-01 11:53:01 +00:00
Andreas N d2f65ad9d1 2004-05-01 Andreas Nahr <[email protected]>
* BitArray.cs: Fix parameter names
	* CaseInsensitiveHashCodeProvider.cs: Fix signature
	* DictionaryEntry.cs: Fix parameter names
	* Hashtable.cs: Fix signatures
	* SortedList.cs: Fix signatures

svn path=/trunk/mcs/; revision=26502
2004-05-01 10:23:55 +00:00
Andreas N 361df94e59 2004-05-01 Andreas Nahr <[email protected]>
* TimeSpan.cs: Redid a lot of stuff in TimeSpan from scratch.
	  Fixes several potential bugs and makes things way faster.

svn path=/trunk/mcs/; revision=26501
2004-05-01 09:10:38 +00:00
Andreas N 7a0fcc9e3f 2004-05-01 Andreas Nahr <[email protected]>
* TimeSpan.cs: Formatting changes

svn path=/trunk/mcs/; revision=26500
2004-05-01 09:07:32 +00:00
Todd Berman 981817788f 2004-05-01 Todd Berman <[email protected]>
* ModuleBuilder.cs: Load the proper assembly for a gac-only install.

svn path=/trunk/mcs/; revision=26499
2004-05-01 08:28:54 +00:00
Duncan Mak 1e496650d1 Why am I such a loser sometimes?
svn path=/trunk/mono/; revision=26498
2004-05-01 05:52:42 +00:00
Duncan Mak 138f7a9b67 * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Add NUnit
dlls here.
(non_gac_assemblies): Removed, every thing is migrated over to gac_assemblies.
(EXTRA_DIST): Include only gac_assemblies.
(dist_assemblies_DATA): It's referring to $(non_gac_assemblies)
and that is no gone now. So remove as well.
($(non_gac_assemblies)): Bye bye.

svn path=/trunk/mono/; revision=26497
2004-05-01 05:46:50 +00:00
Sebastien Pouliot 2eed3abb0f 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fixed path so it works with CVS.

svn path=/trunk/mcs/; revision=26496
2004-05-01 05:08:21 +00:00
Sebastien Pouliot d9e8faf864 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Delay signed using Mono public key.
	* NUnit.Util.dll.sources: Added AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26495
2004-05-01 05:02:51 +00:00
Sebastien Pouliot 87d4372ff5 2004-05-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Delay signed using Mono public key.

svn path=/trunk/mcs/; revision=26494
2004-05-01 05:02:09 +00:00
Miguel de Icaza 9aabf93774 Remove from build assemblies that we no longer support. Rationale: they are not signed
svn path=/trunk/mcs/; revision=26493
2004-05-01 04:52:56 +00:00
Miguel de Icaza d3cc0dfc09 Fix
svn path=/trunk/mcs/; revision=26492
2004-05-01 04:49:59 +00:00
Miguel de Icaza 5008ca9b8d Only use the GAC
svn path=/trunk/mcs/; revision=26491
2004-05-01 04:41:14 +00:00
Miguel de Icaza 702e262e98 Make monocharge work
svn path=/trunk/mcs/; revision=26490
2004-05-01 04:19:34 +00:00
Miguel de Icaza 30213811ec update
svn path=/trunk/mcs/; revision=26489
2004-05-01 04:13:39 +00:00
Duncan Mak 6ce5133227 (gac_assemblies_list): Add
System.Web.Services. Someone accidentally took the line out.

svn path=/trunk/mono/; revision=26488
2004-05-01 04:06:55 +00:00
Todd Berman 793c192cf2 2004-05-01 Todd Berman <[email protected]>
* driver.cs: Remove '.' from path_chars, now System.* loads properly
        from the GAC

svn path=/trunk/mcs/; revision=26486
2004-05-01 03:49:21 +00:00
Jackson Harper 389f2a42bc * codegen.cs: Open keys readonly.
svn path=/trunk/mcs/; revision=26484
2004-05-01 03:00:26 +00:00
Todd Berman dbd00fe2d8 properly use /root. also, noticed the 2_0 makefile is using the 1_1 dir, not sure how intentional that is, leaving it for now.
svn path=/trunk/mono/; revision=26483
2004-05-01 00:43:21 +00:00
Todd Berman 24bdf5f03f 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: cleanup help.

svn path=/trunk/mcs/; revision=26482
2004-05-01 00:32:22 +00:00
Todd Berman 3090a7128c 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: remove /prefix, now --root and /root

svn path=/trunk/mcs/; revision=26481
2004-04-30 23:59:08 +00:00
Todd Berman eeb3228d8b 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: Change the way of handling the /prefix stuff.
        Now all gacbased operations will work with /prefix or --root. This
        *MUST* be at the end of the commandline for it to work.
        Also note, that in a Makefile changing /i to /u will not work, as the
        gac uninstalls based on AssemblyName.Name, so forexample:

        gacutil /i some/path/blah/System.dll --root /usr/lib/somefakegac

        will install and

        gacutil /u System --root /usr/lib/somefakegac

        will uninstall.

svn path=/trunk/mcs/; revision=26480
2004-04-30 23:56:58 +00:00
Miguel de Icaza a4ab6ed0d3 More verbosity
svn path=/trunk/mcs/; revision=26479
2004-04-30 23:33:08 +00:00
Miguel de Icaza ab10169107 Remove missing assemblies
Clean files
Use root argument

svn path=/trunk/mono/; revision=26478
2004-04-30 23:32:48 +00:00
Jackson Harper 9a59621e35 remove some unused, remove extension
svn path=/trunk/mono/; revision=26477
2004-04-30 23:27:38 +00:00
Todd Berman 8a7ea8757a 2004-04-30 Todd Berman <[email protected]>
* Npgsql/AssemblyInfo.cs: use the proper path to the .pub file

svn path=/trunk/mcs/; revision=26476
2004-04-30 23:22:33 +00:00
Miguel de Icaza ec6340ec21 Make argument handling decent
svn path=/trunk/mcs/; revision=26475
2004-04-30 23:14:52 +00:00
Jackson Harper 74b002224e * runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: These assemblies are signed
        now.

svn path=/trunk/mono/; revision=26474
2004-04-30 22:07:24 +00:00
Duncan Mak 6fde2dd7fe * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
* Npgsql/Npgsql.pub: Added to CVS.

svn path=/trunk/mcs/; revision=26473
2004-04-30 22:04:44 +00:00
Duncan Mak f2cc34034d Slience CVS for a bit
svn path=/trunk/mcs/; revision=26472
2004-04-30 21:57:31 +00:00
Duncan Mak 702e9d9237 2004-04-30 Duncan Mak <[email protected]>
* AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

svn path=/trunk/mcs/; revision=26471
2004-04-30 21:49:43 +00:00
Duncan Mak 268e6f3366 Added Assembly/AssemblyInfo.cs and Locale.cs to build.
2004-04-30  Duncan Mak  <[email protected]>

        * AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

svn path=/trunk/mcs/; revision=26470
2004-04-30 21:49:07 +00:00
Sebastien Pouliot 092b16491e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now delay-signed with IBM public key.

svn path=/trunk/mcs/; revision=26469
2004-04-30 21:17:51 +00:00
Sebastien Pouliot fd3a4fb08b 2004-04-30 Sebastien Pouliot <[email protected]>
* ibm.pub: IBM public key (thanks to Victor :-)

svn path=/trunk/mcs/; revision=26468
2004-04-30 21:15:07 +00:00
Ben Maurer b3e8df5aa1 more readonly/const
svn path=/trunk/mcs/; revision=26467
2004-04-30 21:11:55 +00:00
Ben Maurer 5db92a2ab9 readonlyificate
svn path=/trunk/mcs/; revision=26466
2004-04-30 20:56:49 +00:00
Sebastien Pouliot 4ade88bc3d 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added delay-signing with Mono public key.

svn path=/trunk/mcs/; revision=26465
2004-04-30 20:52:54 +00:00
Ben Maurer bc37e00fc3 constify
svn path=/trunk/mcs/; revision=26464
2004-04-30 20:46:43 +00:00
Sebastien Pouliot 9746ca750d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Posix.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to build.

svn path=/trunk/mcs/; revision=26463
2004-04-30 20:41:23 +00:00
Sebastien Pouliot 71facb1b0e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26462
2004-04-30 20:40:37 +00:00
Sebastien Pouliot 9cb898a713 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Use Mono public key toi delay-sign assembly.

svn path=/trunk/mcs/; revision=26461
2004-04-30 20:32:03 +00:00
Sebastien Pouliot 6ea13cfc6e 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fixing version number to match MS releases

svn path=/trunk/mcs/; revision=26460
2004-04-30 20:22:33 +00:00
Sebastien Pouliot 2e15ff8428 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.West.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26459
2004-04-30 20:17:37 +00:00
Sebastien Pouliot e9acf7e701 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.Rare.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26458
2004-04-30 20:16:53 +00:00
Sebastien Pouliot e60105ce5c 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.Other.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26457
2004-04-30 20:16:00 +00:00
Sebastien Pouliot 601c4396ff 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.MidEast.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26456
2004-04-30 20:15:14 +00:00
Sebastien Pouliot a6e9177ffb 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26455
2004-04-30 20:14:25 +00:00
Ben Maurer 3761545f6a 2004-04-30 Ben Maurer <[email protected]>
* BigInteger.cs: use readonly for prime array.

svn path=/trunk/mcs/; revision=26454
2004-04-30 20:13:36 +00:00
Sebastien Pouliot 9720be703b 2004-04-30 Sebastien Pouliot <[email protected]>
* I18N.CJK.dll.sources: Added Assembly/AssemblyInfo.cs to build.

svn path=/trunk/mcs/; revision=26453
2004-04-30 20:13:35 +00:00
Sebastien Pouliot 9e2667ddd3 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=26452
2004-04-30 20:11:54 +00:00
Sebastien Pouliot fcbb15e2c4 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.TdsClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26451
2004-04-30 20:10:10 +00:00
Ben Maurer 58cd296e3f oops
svn path=/trunk/mcs/; revision=26450
2004-04-30 20:09:01 +00:00
Ben Maurer 85154e396d 2004-04-30 Ben Maurer <[email protected]>
* BinaryWriter.cs, Stream.cs: ensure we have beforefieldinit.

svn path=/trunk/mcs/; revision=26449
2004-04-30 20:08:08 +00:00
Sebastien Pouliot 66d41afc3d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.SybaseClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26448
2004-04-30 20:06:07 +00:00
Duncan Mak c5a6aa5768 * runtime/net_1_1/Makefile.am (non_gac_assemblies):
* runtime/net_2_0/Makefile.am (non_gac_assemblies): Added
Microsoft.Web.Services.dll

svn path=/trunk/mono/; revision=26447
2004-04-30 20:05:15 +00:00
Sebastien Pouliot 78bc6edb5d 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Data.SqliteClient.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26446
2004-04-30 20:02:22 +00:00
Sebastien Pouliot ed67009673 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26445
2004-04-30 20:01:21 +00:00
Sebastien Pouliot a999f9d3c5 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.CSharp.Debugger.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26444
2004-04-30 19:57:18 +00:00
Sebastien Pouliot 733e4b173e 2004-04-30 Sebastien Pouliot <[email protected]>
* Mono.Cairo.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26443
2004-04-30 19:54:19 +00:00
Sebastien Pouliot f5fd77b49a 2004-04-30 Sebastien Pouliot <[email protected]>
* Commons.Xml.Relaxng.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to build.

svn path=/trunk/mcs/; revision=26442
2004-04-30 19:42:28 +00:00
Sebastien Pouliot b54774a0ef 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26441
2004-04-30 19:41:28 +00:00
Paolo Molaro ebf0f6773c Fri Apr 30 15:54:26 EDT 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: fixed typos.

svn path=/trunk/mono/; revision=26439
2004-04-30 19:13:29 +00:00
Dick Porter 5bf74d3499 2004-04-30 Dick Porter <[email protected]>
* StringInfo.cs:
	* TextElementEnumerator.cs: Implemented

svn path=/trunk/mcs/; revision=26436
2004-04-30 18:37:15 +00:00
Jackson Harper 26f394a668 * gacutil.cs: Install config files.
svn path=/trunk/mcs/; revision=26434
2004-04-30 18:01:40 +00:00
Jackson Harper a2cb7759f5 * gacutil.cs: Use invariant culture for ToLower. Patch from
Urs Muff.

svn path=/trunk/mcs/; revision=26432
2004-04-30 17:22:45 +00:00
Nick Drochak 57af64e73b 2004-05-01 Nick Drochak <[email protected]>
* ThreadTest.cs: Un-ignore some tests that seem to run pretty well
	now.  Getting one failure from these, but at least they run without
	crashing, or throwing some nasty _wapi exception thingy.

svn path=/trunk/mcs/; revision=26429
2004-04-30 16:25:21 +00:00
Ravindra 19e7ccfc13 Changed exception messages.
svn path=/trunk/mcs/; revision=26426
2004-04-30 16:20:37 +00:00
Ravindra b2ef4f74e5 Some fixes in LinearGradientBrush.cs.
svn path=/trunk/mcs/; revision=26425
2004-04-30 15:36:13 +00:00
Ravindra bf5a5cbd42 Added few more P/Invokes for lineargradientbrush.
svn path=/trunk/mcs/; revision=26424
2004-04-30 15:21:00 +00:00
Jackson Harper fd1cff9840 * Makefile: Add dependancies.
svn path=/trunk/mcs/; revision=26416
2004-04-30 13:24:17 +00:00
Sebastien Pouliot b4ce68d783 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use mono.pub for Mono assemblies (not the ECMA key).

svn path=/trunk/mcs/; revision=26415
2004-04-30 13:10:49 +00:00
Sebastien Pouliot bdb95c4c44 2004-04-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use mono.pub for Mono assemblies (not the ECMA key).

svn path=/trunk/mcs/; revision=26414
2004-04-30 12:37:58 +00:00
Raja R Harinath e900d5c188 (clean): Quick hack to get 'make clean' to work better.
svn path=/trunk/mcs/; revision=26411
2004-04-30 12:06:58 +00:00
Jordi Mas i Hernandez bb7b29380b fixes MemoryBmp when saving images
svn path=/trunk/mcs/; revision=26410
2004-04-30 11:22:03 +00:00
Raja R Harinath d1e6b9b42f (SUBDIRS): Remove 'gmcs' for now.
(all): Simplify.

svn path=/trunk/mcs/; revision=26408
2004-04-30 11:19:08 +00:00
Umadevi S 746ac6edd1 2004-04-30 Umadevi S <[email protected]>
* DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
        * DataTableCollection.cs  : Tested and removed TODO
        * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs

svn path=/trunk/mcs/; revision=26407
2004-04-30 10:49:11 +00:00
Umadevi S 31ff4c172a 2004-04-30 Umadevi S ([email protected])
* Modified testcases in DataColumnCollectionTest.cs and DataRowTest.cs

svn path=/trunk/mcs/; revision=26406
2004-04-30 10:46:03 +00:00
Lluis Sanchez f92af01a01 * NewMonoXSD.cs: Import elements in the order they are declared in the schema.
svn path=/trunk/mcs/; revision=26405
2004-04-30 09:39:50 +00:00
Lluis Sanchez 9f1366ce76 * MethodResponse.cs, ReturnMessage.cs: Added null checks.
svn path=/trunk/mcs/; revision=26404
2004-04-30 09:35:47 +00:00
Lluis Sanchez 1e0b8d3c0e * HttpServer.cs: Removed dead code.
svn path=/trunk/mcs/; revision=26403
2004-04-30 09:25:15 +00:00
Lluis Sanchez c5c061ddd0 * SoapClientFormatterSink.cs: The deserialized message can be actually a
SoapFault. Taken this into account.
	* SoapMessageFormatter.cs: Added FormatFault method. In FormatResponse(),
	  the array of output parameters must also include placeholders for the
	  input parameters (set to null).
	  ParameterInfo.IsOut does not correspond to the "out" keyword in C#, but
	  to the OutAttribute applied to parameters. There can be input parameters
	  with the OutAttribute. Fixed this in a couple of places.
	  Added CreateSoapMessage method, which creates a SoapMessage including
	  the parameter types (only for responses, since for requests the target
	  method is not known).
	* SoapServerFormatterSink.cs: Use soapMsgFormatter.CreateSoapMessage to
	  create the SoapMessage.

svn path=/trunk/mcs/; revision=26402
2004-04-30 09:23:42 +00:00
Ravindra 5c7ef12360 Adding status checks in StringFormat.cs.
svn path=/trunk/mcs/; revision=26401
2004-04-30 09:18:29 +00:00
Lluis Sanchez db86a174c3 * SoapReader.cs: If the SoapMessage instance being filled includes the
array of parameter types, use those to deserialize the parameter values.
	  Use the new method SoapTypeMapper.ParseXsdValue() to parse primitive values.
	* SoapTypeMapper.cs: Added GetXsdValue and ParseXsdValue.
	* SoapWriter.cs: Always include parameter types when serializing a message.
	  MS.NET does it.

svn path=/trunk/mcs/; revision=26400
2004-04-30 09:04:06 +00:00
Sanja Gupta 096009de71 ChangeLog: Updated ChangeLog
Image.cs: Now make uniform function calls for differnt platforms.
gdipFunctions.cs: Removed *IX specific calls

svn path=/trunk/mcs/; revision=26399
2004-04-30 08:44:02 +00:00
Raja R Harinath 393bda8a4f * runtime/net_1_1/Makefile.am (gac_assemblies_list): Remove .dll
suffix.
(gac_assemblies, non_gac_assemblies, corlibdir, dist_corlib_DATA):
New variables.  Use Automake idioms.
(dist-hook): Remove.
(install-local, uninstall-local): Use mscorlib.dll from current
tree when running gacutil.
(mono_runtime): New variable.  Points to either JIT compiler or
interpreter.
Report from Bernie Solomon <[email protected]>
* runtime/net_2_0/Makefile.am: Likewise.
* runtime/Makefile.am (dist_monobins_DATA): Rename from
monobins_DATA.
(EXTRA_DIST): Remove.
* Makefile.am (fullbuild): Update to changes.

svn path=/trunk/mono/; revision=26398
2004-04-30 08:13:44 +00:00
Gonzalo Paniagua Javier 2cbb40dfe5 move previous 2 lines after checkig that we have no cycles
svn path=/trunk/mcs/; revision=26397
2004-04-30 07:49:23 +00:00
Gonzalo Paniagua Javier a86f878762 2004-04-30 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: don't report cyclic struct layout when a struct
	contains 2 or more fields of the same type. Failed for Pango.AttrShape
	which has 2 Pango.Rectangle fields.

svn path=/trunk/mcs/; revision=26396
2004-04-30 07:47:04 +00:00
Raja R Harinath 57f1cfe8cd revert
svn path=/trunk/mcs/; revision=26395
2004-04-30 06:13:20 +00:00
Raja R Harinath cd1d7d2de5 (Attributes.GetClsCompliantAttribute):
Simplify.  Attribute.ResolveType does what we need.

svn path=/trunk/mcs/; revision=26393
2004-04-30 05:16:53 +00:00
Todd Berman 23d21079f3 2004-04-30 Todd Berman <[email protected]>
* gacutil.cs: Add a missing .Trim ()

svn path=/trunk/mcs/; revision=26392
2004-04-30 05:01:56 +00:00
Anirban Bhattacharjee cfcfff5f3d Test cases for enum
svn path=/trunk/mcs/; revision=26390
2004-04-30 04:47:23 +00:00
Jackson Harper 7222301a6a * library.make: Fix uninstall
svn path=/trunk/mcs/; revision=26389
2004-04-30 04:43:36 +00:00
Jackson Harper adbde0e4e5 flush
svn path=/trunk/mono/; revision=26388
2004-04-30 04:21:08 +00:00
Jackson Harper f0809c5c1e * runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: /lib/mono/gac. Dont forget the
        mono.

svn path=/trunk/mono/; revision=26387
2004-04-30 04:15:47 +00:00
Ravindra c14d4cee8f Adding more checks for status.
svn path=/trunk/mcs/; revision=26386
2004-04-30 04:10:59 +00:00
Jackson Harper 86d9940104 Add sn.exe
svn path=/trunk/mono/; revision=26385
2004-04-30 04:01:25 +00:00
Bernie Solomon cc495b9376 2004-04-29 Bernie Solomon <[email protected]>
* ppc/tramp.c: use sizeof (stackval), fix
	delegate tramp frame layout for Apple

svn path=/trunk/mono/; revision=26383
2004-04-30 03:47:45 +00:00
Jackson Harper a58d0c1dff * Makefile: Put the PROFILE= stuff before the target, this is more
pleasurable to cygwin users.

svn path=/trunk/mcs/; revision=26381
2004-04-30 03:42:47 +00:00
Peter Dennis Bartok cdd3e6dafc - Fixed bug #52695
svn path=/trunk/mcs/; revision=26380
2004-04-30 03:41:46 +00:00
Sebastien Pouliot 439d0bc5c7 2004-04-30 Sebastien Pouliot <[email protected]>
* Makefile.am: regrouped security tools. corrected sn directory.

svn path=/trunk/mono/; revision=26379
2004-04-30 03:40:48 +00:00
Duncan Mak a041a911c0 Add gmcs here as well
svn path=/trunk/mono/; revision=26378
2004-04-30 03:34:53 +00:00
Duncan Mak b23c418673 ($(monobins_DATA)): Add sn.exe and sn.
svn path=/trunk/mono/; revision=26377
2004-04-30 03:32:00 +00:00
Miguel de Icaza fc17542d26 2004-04-29 Miguel de Icaza <[email protected]>
* io.c (CopyFile): Use 32k buffers to copy the file instead of 2k,
	use the stack, do not use dynamic memory.

svn path=/trunk/mono/; revision=26376
2004-04-30 02:38:59 +00:00
Ben Maurer a6f358d804 2004-04-29 Ben Maurer <[email protected]>
* expression.cs: Handle IntPtr comparisons with IL code
	rather than a method call.

svn path=/trunk/mcs/; revision=26375
2004-04-30 02:13:47 +00:00
Jackson Harper 8791774427 add gmcs.exe
svn path=/trunk/mono/; revision=26374
2004-04-30 02:06:45 +00:00
Jackson Harper d07e1e7f92 pas de line breaks
svn path=/trunk/mono/; revision=26373
2004-04-30 02:01:23 +00:00
Jackson Harper 656ae7bc85 specify a prefix to make packaging easier
svn path=/trunk/mono/; revision=26372
2004-04-30 01:55:23 +00:00
Duncan Mak 73e26b394f Add gmcs.in
svn path=/trunk/mono/; revision=26371
2004-04-30 01:30:47 +00:00
Duncan Mak 4742641781 (EXTRA_DIST, bin_SCRIPTS, CLEANFILES): Add
gmcs script.

svn path=/trunk/mono/; revision=26370
2004-04-30 01:30:33 +00:00
Jackson Harper 177383f805 * gacutil.cs: Allow a prefix to be specified. This is only for
packaging if you install to some wack prefix it wont work.

svn path=/trunk/mcs/; revision=26369
2004-04-30 01:28:47 +00:00
Jackson Harper debb0a5582 * runtime/net_2_0/Makefile.am: install 2.0 corlib to its own
special little place.

svn path=/trunk/mono/; revision=26368
2004-04-30 01:03:12 +00:00
Sebastien Pouliot c4fc0b30e9 2004-04-29 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: New unit tests fo better coverage.
	* FromBase64Transform.cs: New unit tests for better coverage.
	* HashAlgorithmTest.cs: New unit tests for better coverage.
	* HMACSHA1Test.cs: New unit tests for better coverage. Updated to
	NUnit2.
	* KeyedHashAlgorithmTest.cs: Coverage already complete. Updated to
	NUnit 2.
	* SHA1Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA1CryptoServiceProviderTest.cs: Coverage almost complete. Updated
	to NUnit2.
	* SHA256Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA256ManagedTest.cs: Coverage already complete. Updated to NUnit2.
	* SHA384Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA384ManagedTest.cs: Coverage almost complete. Updated to NUnit2.
	* SHA512Test.cs: Coverage already complete. Updated to NUnit2.
	* SHA512ManagedTest.cs: Coverage almost complete. Updated to NUnit2.

svn path=/trunk/mcs/; revision=26367
2004-04-30 00:48:45 +00:00
Sebastien Pouliot b234b4df2d 2004-04-29 Sebastien Pouliot <[email protected]>
* Makefile: (Reintroduced) Removed Mono.CSharp.Debugger.dll from
	the Windows/cygwin build as this break the Linux build.

svn path=/trunk/mcs/; revision=26366
2004-04-30 00:30:30 +00:00
Jackson Harper a9959cf1db * Makefile: net_2_0 corlib goes to a special place.
svn path=/trunk/mcs/; revision=26365
2004-04-30 00:17:44 +00:00
Martin Baulig d71ef6ed8b Enable gmcs in the net_2_0 profile.
svn path=/trunk/mcs/; revision=26364
2004-04-29 23:27:24 +00:00
Miguel de Icaza b4d9bf80c5 Flush
svn path=/trunk/mcs/; revision=26363
2004-04-29 23:20:52 +00:00
Martin Baulig be120c2189 Don't crash here ;-)
svn path=/trunk/mcs/; revision=26362
2004-04-29 23:19:20 +00:00
Martin Baulig 892deb91c0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=26361
2004-04-29 22:56:32 +00:00
Jackson Harper 9cf7559a12 * Makefile: Set MONO_PATH to use the bootstrap corlib
* driver.cs: Check the GAC for referenced assemblies.

svn path=/trunk/mcs/; revision=26360
2004-04-29 22:34:13 +00:00
Jackson Harper a229221ba5 * AssemblyInfo.cs: Set version number correctly for the bootstrap
corlib. For some reason setting key files does not work with gmcs
	and the bootstrap corlib.

svn path=/trunk/mcs/; revision=26359
2004-04-29 22:23:02 +00:00
Martin Baulig 54e1ed0735 2004-04-29 Martin Baulig <[email protected]>
* property-il.il, property-main.cs: New test for #56013.

svn path=/trunk/mcs/; revision=26358
2004-04-29 22:22:55 +00:00
Martin Baulig bfc42e49b1 2004-04-29 Martin Baulig <[email protected]>
* rules.make: Added `INTERNAL_ILASM'.

svn path=/trunk/mcs/; revision=26357
2004-04-29 22:22:01 +00:00
Martin Baulig 7e50bfc52d 2004-04-29 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.FindAccessor): New private method.  Walk
	the list of PropertyInfo's in class hierarchy and find the
	accessor.  Fixes #56013.

svn path=/trunk/mcs/; revision=26355
2004-04-29 22:17:40 +00:00
Jackson Harper 271ea47d36 Attempt to bootstrap gmcs when the 2.0 profile is used.
svn path=/trunk/mcs/; revision=26354
2004-04-29 22:11:24 +00:00
Ben Maurer a322a8c901 constify
svn path=/trunk/mcs/; revision=26353
2004-04-29 22:10:51 +00:00
Jackson Harper 7657152ae5 use the bootstrap path to build gmcs
svn path=/trunk/mcs/; revision=26352
2004-04-29 22:10:41 +00:00
Jackson Harper 2644e617a5 .cvsignore
svn path=/trunk/mcs/; revision=26351
2004-04-29 22:07:55 +00:00
Ben Maurer 5f19f39562 ...
svn path=/trunk/mcs/; revision=26350
2004-04-29 22:05:39 +00:00
Ben Maurer 645621c057 const/readonly lovin'
svn path=/trunk/mcs/; revision=26349
2004-04-29 22:01:06 +00:00
Martin Baulig 2e0946b41b 2004-04-29 Martin Baulig <[email protected]>
* Makefile (gmcs.exe): Set MONO_PATH to use `../class/lib/net_2_0'.

svn path=/trunk/mcs/; revision=26348
2004-04-29 21:57:05 +00:00
Ben Maurer 3db65a8365 readonly-lovin'
svn path=/trunk/mcs/; revision=26347
2004-04-29 21:48:00 +00:00
Ben Maurer 6c57356507 2004-04-29 Ben Maurer <[email protected]>
* ILGenerator.cs, ModuleBuilder.cs: readonlyificate.

svn path=/trunk/mcs/; revision=26346
2004-04-29 21:42:11 +00:00
Martin Baulig 4af90009b6 Reverted back to revision 1.1
svn path=/trunk/mcs/; revision=26345
2004-04-29 21:38:00 +00:00
Ben Maurer 8bdd07e8bd 2004-04-29 Ben Maurer <[email protected]>
* Path.cs: readonlyificate.

svn path=/trunk/mcs/; revision=26344
2004-04-29 21:36:40 +00:00
Ben Maurer 9ef8c059cf 2004-04-29 Ben Maurer <[email protected]>
* FileStream.cs: constify.

svn path=/trunk/mcs/; revision=26343
2004-04-29 21:34:26 +00:00
Ben Maurer 80edecb430 2004-04-29 Ben Maurer <[email protected]>
* Activator.cs: change _flags to a const.
	* IntegerFormatter.cs: make tables readonly.
	* Convert.cs: tables readonly
	* DateTime.cs: ditto.
	* IntPtr.cs: avoid a cctor.

svn path=/trunk/mcs/; revision=26342
2004-04-29 21:31:15 +00:00
Miguel de Icaza c8c58d320c revert, it was wrong, breaks the Unix build
svn path=/trunk/mcs/; revision=26339
2004-04-29 21:02:04 +00:00
Martin Baulig 46d6f59c0e *** empty log message ***
svn path=/trunk/mcs/; revision=26338
2004-04-29 20:17:58 +00:00
Martin Baulig cef0e28eb2 2004-04-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.CheckStructCycles): Fixed.

svn path=/trunk/mcs/; revision=26337
2004-04-29 20:17:40 +00:00
Zoltan Varga b74d87f482 2004-04-29 Zoltan Varga <[email protected]>
* io.c: Add scandir implementation for platforms which do not have
	it, like solaris.

svn path=/trunk/mono/; revision=26333
2004-04-29 19:17:31 +00:00
Zoltan Varga a2babe924f 2004-04-29 Zoltan Varga <[email protected]>
* acconfig.h configure.in: Add check for scandir.

svn path=/trunk/mono/; revision=26331
2004-04-29 19:10:38 +00:00
Jackson Harper a16fdc275e * MonoType.cs:
* Type.cs: NET_2_0 now instead of 1_2.

svn path=/trunk/mcs/; revision=26329
2004-04-29 19:01:17 +00:00
Paolo Molaro d397777ac0 Fix stmw opcode with signed offsets.
svn path=/trunk/mono/; revision=26328
2004-04-29 18:59:24 +00:00
Juraj Skripsky d9fb2965c9 2004-04-29 Juraj Skripsky <[email protected]>
* Parser.jay: Fix rule for negative expressions.
	Add precedence rules for '<' and '>'.

svn path=/trunk/mcs/; revision=26327
2004-04-29 18:45:13 +00:00
Jackson Harper 8b03e0a826 * AssemblyInfo.cs: Add 2.0 version attributes.
svn path=/trunk/mcs/; revision=26326
2004-04-29 18:40:18 +00:00
Martin Baulig 9558365e84 Use NET_2_0', not GENERICS'.
svn path=/trunk/mcs/; revision=26325
2004-04-29 18:30:34 +00:00
Bernie Solomon ec18e6de29 2004-04-29 Bernie Solomon <[email protected]>
* transform.c (generate): missed a couple
	of places that should use ADD_CODE so buffer
	gets grown properly.

	* interp.c (interp_mono_runtime_invoke):
	restore state better on catching exception
	via longjmp here

svn path=/trunk/mono/; revision=26324
2004-04-29 18:17:23 +00:00
Jordi Mas i Hernandez 5ed6e91963 fixes save method using formatID instead of ClsID
svn path=/trunk/mcs/; revision=26322
2004-04-29 18:12:47 +00:00
Paolo Molaro 70d3c04b5d Thu Apr 29 20:15:41 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: more code saves registers
	at the top of the stack. Fixed typos. Use a frame registers
	for all the methods with exception clauses.

svn path=/trunk/mono/; revision=26321
2004-04-29 17:39:31 +00:00
Jackson Harper 102949fd8c * locales.c: Add some missing MONO_ARCH_SAVE_REGS'.
svn path=/trunk/mono/; revision=26320
2004-04-29 17:27:25 +00:00
Martin Baulig c80397b9f6 2004-04-29 Martin Baulig <[email protected]>
* test-248.cs: New test for #52731.

svn path=/trunk/mcs/; revision=26319
2004-04-29 17:20:12 +00:00
Martin Baulig b22fa68407 2004-04-29 Martin Baulig <[email protected]>
Applying a patch from Benjamin Jemlich <[email protected]>.

	* ecore.cs (FieldExpr.AddressOf): Make this work for valuetypes.

svn path=/trunk/mcs/; revision=26318
2004-04-29 17:19:33 +00:00
Martin Baulig 2272f0d57b New test.
svn path=/trunk/mcs/; revision=26317
2004-04-29 17:06:56 +00:00
Martin Baulig c7942e96c6 2004-04-29 Martin Baulig <[email protected]>
* class.cs (ConstructorInitializer.Resolve): Check whether the
	parent .ctor is accessible.  Fixes #52146.

svn path=/trunk/mcs/; revision=26316
2004-04-29 17:05:40 +00:00
Martin Baulig d167b7385c Ooops, make this actually work.
svn path=/trunk/mcs/; revision=26315
2004-04-29 17:03:43 +00:00
Jordi Mas i Hernandez 1a3c323141 remove dead code
svn path=/trunk/mcs/; revision=26313
2004-04-29 16:39:29 +00:00
Jackson Harper becd5f7046 optimize me baby
svn path=/trunk/mcs/; revision=26312
2004-04-29 16:33:31 +00:00
Jackson Harper 656abef537 * library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
gacutil. gacutil needs to be run on our runtime.

svn path=/trunk/mcs/; revision=26311
2004-04-29 16:27:55 +00:00
Martin Baulig 0d4171a8f7 2004-04-29 Martin Baulig <[email protected]>
Applying a patch from Benjamin Jemlich <[email protected]>.

	* statement.cs (Using.EmitLocalVariableDecls): Use
	TypeManager.idisposable_type, not typeof (IDisposable).
	(Foreach.EmitCollectionForeach): Added support for valuetypes.

svn path=/trunk/mcs/; revision=26310
2004-04-29 16:24:15 +00:00
Martin Baulig fbc1b60b34 2004-04-29 Martin Baulig <[email protected]>
* test-246.cs, test-247.cs: New tests for #52597.

svn path=/trunk/mcs/; revision=26309
2004-04-29 16:23:56 +00:00
Paolo Molaro 71c423f5cf Thu Apr 29 18:52:09 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: restore fp registers.

svn path=/trunk/mono/; revision=26308
2004-04-29 16:13:20 +00:00
Martin Baulig a75654cf0f 2004-04-29 Martin Baulig <[email protected]>
* class.cs (Event.Define): Don't emit the field and don't set
	RTSpecialName and SpecialName for events on interfaces.  Fixes
	#57703.

svn path=/trunk/mcs/; revision=26306
2004-04-29 16:06:52 +00:00
Paolo Molaro e6950689a6 Thu Apr 29 18:26:56 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: save the registers in reverse
	order from the stack top (moved the stack room to save the
	return value for trace after the param area). Fixed corruption
	in restoring registers on unwind.

svn path=/trunk/mono/; revision=26305
2004-04-29 15:49:08 +00:00
Gonzalo Paniagua Javier b8d3b0940b 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* gacutil.cs: return non-zero when something fails.

svn path=/trunk/mcs/; revision=26304
2004-04-29 15:18:34 +00:00
Bernie Solomon 10e8adffcc 2004-04-29 Bernie Solomon <[email protected]>
* transform.c:
	* interp.c:
	Implement STARG for valuetypes as mcs needs it.

svn path=/trunk/mono/; revision=26303
2004-04-29 15:03:54 +00:00
Atsushi Eno 8247de8b90 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRow.cs : My previous patch unintentionally reverted Boris patch.

svn path=/trunk/mcs/; revision=26302
2004-04-29 15:00:57 +00:00
Ravindra 5b520c3d83 Adding checks for status of the GDI+ P/Invokes.
svn path=/trunk/mcs/; revision=26300
2004-04-29 14:48:19 +00:00
Urs C. Muff 15b4e55bf7 Enable Mono.CSharp.Debugger for the windows build, since otherwise mcs will not be able to produce debug symbols.
svn path=/trunk/mcs/; revision=26299
2004-04-29 14:44:04 +00:00
Paolo Molaro c48e2dcc43 Thu Apr 29 16:47:15 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: fixed unisgned -> double conversion.

svn path=/trunk/mono/; revision=26297
2004-04-29 14:08:24 +00:00
Gonzalo Paniagua Javier 54fbc2cb51 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* Mono.Data.SqliteClient/SqliteCommand.cs: implement LastInsertRowId.
	* Mono.Data.SqliteClient/SqliteDataReader.cs: remove dangling ^Ms.
	Patch by Philipp <[email protected]>.

svn path=/trunk/mcs/; revision=26296
2004-04-29 13:54:32 +00:00
Gonzalo Paniagua Javier 784f3ba3b5 2004-04-29 Andreas Nahr <[email protected]>
* string-icalls.c: added low overhead function for copying chars
 	* icall.c: added needed icall for the above function

svn path=/trunk/mono/; revision=26295
2004-04-29 12:55:58 +00:00
Sebastien Pouliot 12f2db339e 2004-04-29 Sebastien Pouliot <[email protected]>
* DES.cs: Removed redundant weak/semi-weak key check in Key property.
	* DESCryptoServiceProvider.cs: Implementation already had 100%
	coverage.

svn path=/trunk/mcs/; revision=26294
2004-04-29 12:43:23 +00:00
Paolo Molaro 134f26b4c2 Thu Apr 29 13:50:51 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c, mini-ppc.h, mini-ppc.c: fixed localloc
	and prolog/epilog for methods that use it. Allow
	enough param area room for varargs methods. Fix miguel's
	breakage in exception handling.

svn path=/trunk/mono/; revision=26293
2004-04-29 11:14:03 +00:00
Anirban Bhattacharjee 526c6ba9e8 * enum.cs: bug fixing - setting one enum member to another
svn path=/trunk/mcs/; revision=26292
2004-04-29 11:07:53 +00:00
Raja R Harinath 56d34ea044 Refactor Attribute.ApplyAttributes.
* attribute.cs (Attributable): New base class for objects that can
have Attributes applied on them.
(Attribute): Make AttributeUsage fields public.
(Attribute.GetFieldValue, Attribute.GetMarshal): Make non-static.
(Attribute.IsInternalCall): New property.
(Attribute.UsageAttr): Convert to a public read-only property.
(Attribute.CheckAttributeType): Use a DeclSpace, not an	EmitContext.
(Attribute.ResolveType, Attribute.Resolve)
(Attribute.ScanForIndexerName): Update to reflect changes.
(Attribute.CheckAttributeTarget): Re-format.
(Attribute.ApplyAttributes): Refactor, to various
Attributable.ApplyAttributeBuilder methods.
* decl.cs (MemberCore): Make Attributable.
* class.cs (Accessor): Make Attributable.
(MethodData.ApplyAttributes): Use proper attribute types, not
attribute names.
(TypeContainer.LabelParameters): Pass Parameter to ApplyAttributes.
(TypeContainer.ApplyAttributeBuilder)
(Method.ApplyAttributeBuilder, Constructor.ApplyAttributeBuilder)
(Field.ApplyAttributeBuilder, Accessor.ApplyAttributeBuilder)
(PropertyBase.ApplyAttributeBuilder, Event.ApplyAttributeBuilder)
(Operator.ApplyAttributeBuilder): New factored-out methods.
* const.cs (Const.ApplyAttributeBuilder): Likewise.
* delegate.cs (Delegate.ApplyAttributeBuilder): Likewise.
* enum.cs (Enum.ApplyAttributeBuilder): Likewise.
* parameter.cs (ParameterBase): New Attributable base class
that can also represent Return types.
(Parameter): Update to the changes.

svn path=/trunk/mcs/; revision=26291
2004-04-29 11:03:59 +00:00
Marek Safar 6a329d951d 2004-04-29 Marek Safar <[email protected]>
* cs-11.cs: Renamed to cs1501-5.cs.

svn path=/trunk/mcs/; revision=26290
2004-04-29 10:50:23 +00:00
Raja R Harinath 9d302f3280 (MethodResponse.GetOutArg): Make reference to _args null-safe.
svn path=/trunk/mcs/; revision=26289
2004-04-29 10:28:56 +00:00
Paolo Molaro 7982ec0540 Ooops, wrong extension.
svn path=/trunk/mono/; revision=26288
2004-04-29 10:24:39 +00:00
Raja R Harinath 68a21db35d (MethodResponse.OutArgCount): Make reference
to _args null-safe.

svn path=/trunk/mcs/; revision=26287
2004-04-29 10:12:47 +00:00
Boris Kirzner 695cff19a1 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if constraint is defined on single column.
svn path=/trunk/mcs/; revision=26286
2004-04-29 10:02:04 +00:00
Marek Safar 1a332152cf 2004-04-29 Marek Safar <[email protected]>
* cs0629.cs,
	* cs1667-3.cs: 2 new error tests.

svn path=/trunk/mcs/; revision=26285
2004-04-29 10:01:20 +00:00
Paolo Molaro fc4712d839 Thu Apr 29 12:06:51 CEST 2004 Paolo Molaro <[email protected]>
* Makefile.am: run genmdesc only on current arch.

svn path=/trunk/mono/; revision=26284
2004-04-29 09:28:52 +00:00
Anirban Bhattacharjee 31e7964545 * enum.cs:
* expression.cs:
          Implemented check for access modifier in enum

svn path=/trunk/mcs/; revision=26283
2004-04-29 09:08:59 +00:00
Atsushi Eno d3424e3206 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
	  not ArgumentException (maybe changed after 1.1).

svn path=/trunk/mcs/; revision=26282
2004-04-29 08:17:55 +00:00
Atsushi Eno f7a9186bf7 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRow.cs : When Column was added and it was AutoIncrement column,
	  it extended the item object array incorrectly.
	  (Plus tiny comment and incorrect indentation fix.)

svn path=/trunk/mcs/; revision=26281
2004-04-29 08:01:47 +00:00
Atsushi Eno c342dc38c5 2004-04-29 Atsushi Enomoto <[email protected]>
* DataRowTest.cs : Added a test for auto increment column and item
	  integrity (it caused index out of range exception).

svn path=/trunk/mcs/; revision=26280
2004-04-29 07:43:45 +00:00
Jackson Harper a1a7a4de52 * driver.cs: Prefer the corlib system version when looking for
assemblies in the GAC. This is still a hack, but its a better hack
	now.

svn path=/trunk/mcs/; revision=26279
2004-04-29 06:57:45 +00:00
Marek Safar c3f8a80e99 2004-04-29 Marek Safar <[email protected]>
* decl.cs, enum.cs: Improved error 3005 reporting.

	* report.cs (SymbolRelatedToPreviousError): New method for error reporting.
        (related_symbols): New private member for list of symbols
	related to reported error/warning.

	* tree.cs: Do not use now obsolete Report.LocationOfPreviousError.

svn path=/trunk/mcs/; revision=26278
2004-04-29 06:49:16 +00:00
Raja R Harinath c94c8e6b21 * runtime/Makefile.am (SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.

svn path=/trunk/mono/; revision=26277
2004-04-29 06:43:25 +00:00
Raja R Harinath 75be3d94d7 * runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
* runtime/net_2_0/Makefile.am: Likewise.

svn path=/trunk/mono/; revision=26274
2004-04-29 06:33:22 +00:00
Boris Kirzner e75b2fae3f * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
svn path=/trunk/mcs/; revision=26270
2004-04-29 06:24:24 +00:00
Boris Kirzner 53a0234046 * DataRow.cs : Bug fix in CopyValuesToRow().
svn path=/trunk/mcs/; revision=26265
2004-04-29 06:08:25 +00:00
Boris Kirzner a26dec1728 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because each of the columns should not be unique, but only all the constraint's columns together.
svn path=/trunk/mcs/; revision=26262
2004-04-29 05:59:30 +00:00
Jackson Harper f43322253b * library.make: Use the proper runtime, make sure gacutil is
built.

svn path=/trunk/mcs/; revision=26261
2004-04-29 05:58:20 +00:00
Raja R Harinath 06570fc615 ($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.

svn path=/trunk/mono/; revision=26260
2004-04-29 05:54:01 +00:00
Raja R Harinath 687ff89de3 * Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).

svn path=/trunk/mono/; revision=26259
2004-04-29 05:36:41 +00:00
Jackson Harper 0645d871b4 * library.make: Install these bad actors to the GAC.
svn path=/trunk/mcs/; revision=26258
2004-04-29 05:30:04 +00:00
Jackson Harper 5fc4b0d052 Add 2.0 version attributes
svn path=/trunk/mcs/; revision=26254
2004-04-29 05:19:58 +00:00
Martin Baulig 10d03e419e 2004-04-29 Martin Baulig <[email protected]>
* dll-2.cs, prog-2.cs: New test for #56178.

svn path=/trunk/mcs/; revision=26248
2004-04-29 04:40:33 +00:00
Martin Baulig 622ec9166b 2004-04-29 Martin Baulig <[email protected]>
* ecore.cs (Expression.Constantify): If we're an enum and
	TypeManager.TypeToCoreType() doesn't give us another type, use
	t.UnderlyingSystemType.  Fixes #56178.

svn path=/trunk/mcs/; revision=26247
2004-04-29 04:31:01 +00:00
Gonzalo Paniagua Javier 2d16d5e1d2 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* Environment.cs: implemented GetLogicalDrives.

svn path=/trunk/mcs/; revision=26246
2004-04-29 04:11:26 +00:00
Gonzalo Paniagua Javier 0b8fa759a4 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io.[ch]: implemented GetLogicalDriveStrings.
	* metadata/icall.c: fix return value of get_global_assembly_cache.
	Implemented Environment.GetLogicalDrives.

svn path=/trunk/mono/; revision=26245
2004-04-29 04:10:40 +00:00
Martin Baulig c76c37466c 2004-04-29 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Look over all our
	interfaces and for each interface, only add members directly
	declared in that interface.  Fixes #53255.

svn path=/trunk/mcs/; revision=26244
2004-04-29 04:02:54 +00:00
Martin Baulig d1d77ab123 2004-04-29 Martin Baulig <[email protected]>
* test-245.cs: New test for #53255.

svn path=/trunk/mcs/; revision=26243
2004-04-29 03:57:38 +00:00
Jackson Harper 9b9f3cc416 * runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
	* runtime/net_2_0/Makefile.am: Do not assume gacutil is
	installed.

svn path=/trunk/mono/; revision=26242
2004-04-29 03:55:46 +00:00
Todd Berman 4bc6fc2601 2004-04-29 Todd Berman <[email protected]>
* gacutil.cs: Add assembly name to installation message.

svn path=/trunk/mcs/; revision=26241
2004-04-29 03:39:15 +00:00
Jackson Harper 866d567457 * configure.in: Add new Makefile.amS
svn path=/trunk/mono/; revision=26240
2004-04-29 02:27:58 +00:00
Martin Baulig 737d26b3c0 2004-04-28 Martin Baulig <[email protected]>
* test-244.cs: New test for #52588.

svn path=/trunk/mcs/; revision=26239
2004-04-29 01:30:57 +00:00
Martin Baulig 70b2cf1f66 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (ConditionalLogicalOperator): Use a temporary
	variable for `left' to avoid that we evaluate it more than once;
	bug #52588.

svn path=/trunk/mcs/; revision=26238
2004-04-29 01:30:40 +00:00
Gonzalo Paniagua Javier 2621a93295 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* exceptions-x86.c:
	* mini-x86.h: fix the build on windows.

svn path=/trunk/mono/; revision=26237
2004-04-29 01:22:40 +00:00
Jackson Harper 5655abd48d * Makefile: build the net_1_1 and net_2_0 profiles by
default.

svn path=/trunk/mcs/; revision=26235
2004-04-29 01:01:17 +00:00
Gonzalo Paniagua Javier 86a9490c12 undo. it doesn't fix anything
svn path=/trunk/mono/; revision=26234
2004-04-29 00:50:24 +00:00
Jackson Harper 41c25f13a7 * data/Makefile.am: cleanup browscap.ini
svn path=/trunk/mono/; revision=26233
2004-04-29 00:49:51 +00:00
Jackson Harper e6253dd243 * runtime/Makefile.am: libs are now in profile dependant
directories.
	* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
	libs to the GAC.
	* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
	libs to the GAC.

svn path=/trunk/mono/; revision=26232
2004-04-29 00:37:11 +00:00
Gonzalo Paniagua Javier 1ca9b1187c 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* mini-arch.h: fix the build on windows.

svn path=/trunk/mono/; revision=26231
2004-04-29 00:35:12 +00:00
Martin Baulig d5f072826a 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (ComposedCast.DoResolveAsTypeStep): Don't allow
	`void[]' (CS1547).

svn path=/trunk/mcs/; revision=26230
2004-04-29 00:18:42 +00:00
Martin Baulig c98e865c01 New tests.
svn path=/trunk/mcs/; revision=26229
2004-04-29 00:17:54 +00:00
Martin Baulig ccf6641b26 2004-04-28 Martin Baulig <[email protected]>
* statement.cs (LocalInfo.Resolve): Check whether the type is not
	void (CS1547).

	* class.cs (MemberBase.CheckParameters, FieldBase.DoDefine): Check
	whether the type is not void (CS1547).

svn path=/trunk/mcs/; revision=26228
2004-04-29 00:10:46 +00:00
Martin Baulig 4bd054f79c 2004-04-28 Martin Baulig <[email protected]>
* expression.cs (Unary.DoResolveLValue): Override this and report
	CS0131 for anything but Operator.Indirection.

svn path=/trunk/mcs/; revision=26227
2004-04-29 00:10:32 +00:00
Miguel de Icaza f9b9bf87df Couple of other warnings out
svn path=/trunk/mono/; revision=26226
2004-04-29 00:01:10 +00:00
Bernie Solomon 0a202cbe49 2004-04-28 Bernie Solomon <[email protected]>
* configure.in: reword message re EGD support
	now it is there

svn path=/trunk/mono/; revision=26225
2004-04-29 00:00:17 +00:00
Miguel de Icaza 1d2a763879 remove a few warnings and dead code
svn path=/trunk/mono/; revision=26224
2004-04-28 23:59:00 +00:00
Miguel de Icaza 6286fb8e52 Indendation fixes, get PPC up to speed to latest API changes
svn path=/trunk/mono/; revision=26223
2004-04-28 23:50:58 +00:00
Miguel de Icaza 2e77952b32 Sencond part of the patch
svn path=/trunk/mcs/; revision=26222
2004-04-28 23:49:52 +00:00
Martin Baulig b04808f58e New test.
svn path=/trunk/mcs/; revision=26221
2004-04-28 23:46:27 +00:00
Martin Baulig d7304aaf4c 2004-04-28 Martin Baulig <[email protected]>
Committing a patch from Ben Maurer; see bug #50820.

	* typemanager.cs (TypeManager.FilterWithClosure): Added CS1540
	check for classes.

	* ecore.cs (Expression.MemberLookupFailed): Added CS1540 check for
	classes.

svn path=/trunk/mcs/; revision=26220
2004-04-28 23:29:13 +00:00
Miguel de Icaza 08a27e948f 2004-04-28 Miguel de Icaza <[email protected]>
* Applied patch from Atsushi Enomoto that allows Synchronized
	writers to have a `dont close' flag, this fixes 52094

svn path=/trunk/mcs/; revision=26219
2004-04-28 23:27:28 +00:00
Gonzalo Paniagua Javier ab74034a9d 2004-04-29 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
	* configure.in: check for field name in 'union sigval'.

	* mono/io-layer/io.c:
	* mono/io-layer/sockets.c: use the field name from configure when
	accessing sigval pointer field. Makes this work on the Mac.

svn path=/trunk/mono/; revision=26218
2004-04-28 23:03:59 +00:00
Lluis Sanchez 5040d56b4e * outline.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26217
2004-04-28 22:29:15 +00:00
Lluis Sanchez 31d8327486 * typemanager.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26216
2004-04-28 22:26:17 +00:00
Lluis Sanchez 1214b3ed3a * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
	worked before the fix.

svn path=/trunk/mcs/; revision=26215
2004-04-28 22:14:53 +00:00
Lluis Sanchez 1418f55f33 * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
the method if it is private (it did until now because of a bug). Make sure
	it works as it worked before the fix.
	* Type.cs: Implemented FilterAttribute delegate.

svn path=/trunk/mcs/; revision=26214
2004-04-28 22:13:25 +00:00
Lluis Sanchez 07478d04ba * Makefile: Removed unneeded System.Web.Services dependency.
svn path=/trunk/mcs/; revision=26213
2004-04-28 22:02:28 +00:00
Bernie Solomon d32bf8887e 2004-04-28 Bernie Solomon <[email protected]>
* atomic.c: (InterlockedExchange) fix typo for
	mutex name

svn path=/trunk/mono/; revision=26212
2004-04-28 21:54:04 +00:00
Bernie Solomon b238f9c5c3 2004-04-28 Bernie Solomon <[email protected]>
* rand.c: try and talk to egd or prngd
	for random bytes if opening devices fail.

svn path=/trunk/mono/; revision=26209
2004-04-28 21:51:04 +00:00
Martin Baulig d5bf41a33c 2004-04-28 Martin Baulig <[email protected]>
* statement.cs (Block.LookupLabel): Also lookup in implicit child blocks.
	(Block.AddLabel): Call DoLookupLabel() to only search in the
	current block.

svn path=/trunk/mcs/; revision=26207
2004-04-28 20:48:50 +00:00
Bernie Solomon 35b20cc565 2004-04-28 Bernie Solomon <[email protected]>
* transform.c: Make sure ENSURE_I4 does something
	32 bit machines too.
	(mono_interp_transform_method): allow some stack
	space for tracing to work.

svn path=/trunk/mono/; revision=26206
2004-04-28 20:46:37 +00:00
Lluis Sanchez 0243460628 * TypeDescriptor.cs: Do not return attributes that have the same TypeID.
This fixes bug #57655.

svn path=/trunk/mcs/; revision=26204
2004-04-28 20:21:55 +00:00
Martin Baulig f7dd6a8b14 Small fix.
svn path=/trunk/mcs/; revision=26203
2004-04-28 19:54:28 +00:00
Martin Baulig f37066aedd 2004-04-28 Martin Baulig <[email protected]>
* cfold.cs (ConstantFold.BinaryFold): Added special support for
	comparing StringConstants and NullLiterals in Equality and Inequality.

svn path=/trunk/mcs/; revision=26202
2004-04-28 19:44:09 +00:00
Sebastien Pouliot 537b1f30a1 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Now use the mono.pub key for delay-signing.

svn path=/trunk/mcs/; revision=26200
2004-04-28 19:26:21 +00:00
Martin Baulig 71ce0f66da Adding it again as a binary.
svn path=/trunk/mcs/; revision=26199
2004-04-28 19:25:58 +00:00
Martin Baulig 8fdc359cc7 Removing.
svn path=/trunk/mcs/; revision=26198
2004-04-28 19:25:43 +00:00
Sebastien Pouliot 3ecf312dc4 2004-04-28 Sebastien Pouliot <[email protected]>
* Mono.Data.Tds.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26195
2004-04-28 19:24:42 +00:00
Sebastien Pouliot 3870af671b 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=26194
2004-04-28 19:24:01 +00:00
Zoltan Varga 13105fe6e4 2004-04-28 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: New tests for long fields inside structs.

svn path=/trunk/mono/; revision=26193
2004-04-28 19:15:05 +00:00
Martin Baulig 8b26754ee7 Added our Mono public key.
svn path=/trunk/mcs/; revision=26191
2004-04-28 19:13:09 +00:00
Jackson Harper da30c35395 * driver.cs: Attempt to load referenced assemblies from the
GAC. This is the quick and dirty version of this method that
	doesnt take into account versions and just takes the first
	canidate found. Will be good enough for now as we will not have more
	then one version installed into the GAC until I update this
	method.

svn path=/trunk/mcs/; revision=26190
2004-04-28 19:01:06 +00:00
Zoltan Varga 40188a9bbf 2004-04-28 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_load_type_info): Calculate the minimum
	alignment for the type using the native alignment of its members
	instead of using klass->min_align.

svn path=/trunk/mono/; revision=26189
2004-04-28 18:53:13 +00:00
Martin Baulig c93afff024 Don't check for cycles in builtin types while compiling corlib.
svn path=/trunk/mcs/; revision=26188
2004-04-28 18:46:32 +00:00
Lluis Sanchez 6d68a94581 * MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
svn path=/trunk/mcs/; revision=26187
2004-04-28 18:41:10 +00:00
Lluis Sanchez 7a1bf072da * CADMessages.cs: Revert last change. It was ok.
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
	  different way. The message is constructed from an array that has all
	  parameters, including input parameters (which will be set to null).
	  The Args property returns all arguments. OutArgs returns only the
	  output arguments, which are taken from the provided args list.

svn path=/trunk/mcs/; revision=26186
2004-04-28 18:39:26 +00:00
Lluis Sanchez e9b7d5bc33 * RemotingServices.cs: When create a ReturnMessage, provide an array with
all parameters, including input parameters.

svn path=/trunk/mcs/; revision=26185
2004-04-28 18:37:47 +00:00
Gonzalo Paniagua Javier 592ce119d7 no need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe
svn path=/trunk/mcs/; revision=26184
2004-04-28 18:30:10 +00:00
Zoltan Varga 30adea7bb1 Remove conflict indicators.
svn path=/trunk/mono/; revision=26183
2004-04-28 18:03:05 +00:00
Zoltan Varga 6e199a9222 2004-04-28 Zoltan Varga <[email protected]>
* metadata.c (mono_type_stack_size): Fix size of TYPEDBYREF.

svn path=/trunk/mono/; revision=26182
2004-04-28 18:02:23 +00:00
Jackson Harper ebe88ceace * scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script

svn path=/trunk/mono/; revision=26181
2004-04-28 17:53:53 +00:00
Jackson Harper 07688f781c * Makefile: Add gacutil to the build
svn path=/trunk/mcs/; revision=26179
2004-04-28 17:46:44 +00:00
Martin Baulig cd034e28a8 Ooops.
svn path=/trunk/mcs/; revision=26178
2004-04-28 17:46:40 +00:00
Martin Baulig a59cdc0103 2004-04-28 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.CheckStructCycles): New public
	static method to check for cycles in the struct layout.

	* rootcontext.cs (RootContext.PopulateTypes): Call
	TypeManager.CheckStructCycles() for each TypeContainer.
	[Note: We only need to visit each type once.]

svn path=/trunk/mcs/; revision=26177
2004-04-28 17:21:02 +00:00
Andreas N 95458f0f4b 2004-04-28 Andreas Nahr <[email protected]>
* IntegerFormatter.cs: Prevent the use of the explicit static constuctor

svn path=/trunk/mcs/; revision=26176
2004-04-28 16:40:52 +00:00
Martin Baulig 8d92643a42 2004-04-28 Martin Baulig <[email protected]>
* test-243.cs: New test for #57014.

svn path=/trunk/mcs/; revision=26175
2004-04-28 16:32:17 +00:00
Martin Baulig c5cbe53e87 2004-04-27 Martin Baulig <[email protected]>
* test-154.cs: Added test case for #52625.

svn path=/trunk/mcs/; revision=26174
2004-04-28 16:31:50 +00:00
Martin Baulig 1635409484 2004-04-28 Martin Baulig <[email protected]>
* constant.cs (StringConstant.Emit): Emit Ldnull if we're null.

	* const.cs (Const.LookupConstantValue): Return a `bool' signalling
	success and added `out object value'.  Use a `bool resolved' field
	to check whether we've already been called rather than
	`ConstantValue != null' since this breaks for NullLiterals.

svn path=/trunk/mcs/; revision=26173
2004-04-28 16:30:35 +00:00
Anirban Bhattacharjee a8344479e2 * expression.cs: fixed bug to get enum running
* enum.cs: handling several negative scenarios
             Changed several exception numbers
  * assign.cs: Changed exception number

svn path=/trunk/mcs/; revision=26172
2004-04-28 15:54:48 +00:00
Gonzalo Paniagua Javier 4b73dd9390 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* DigestAuthenticationModule.cs: introduces new overridable method
	GetUserByName(), which by default works exactly like it used to, but
	inherited classes can implement their own version. Patch by Tambet Ingo.

svn path=/trunk/mcs/; revision=26171
2004-04-28 15:45:27 +00:00
Sebastien Pouliot 109ef4ee99 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Re-activated ClsCompliant(true).

svn path=/trunk/mcs/; revision=26170
2004-04-28 15:25:20 +00:00
Sebastien Pouliot 759e9077d7 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26169
2004-04-28 14:43:34 +00:00
Sebastien Pouliot f14ede09cd 2004-04-28 Sebastien Pouliot <[email protected]>
* SequentialSearchPrimeGeneratorBase.cs: In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26168
2004-04-28 14:42:20 +00:00
Sebastien Pouliot 50d63734de 2004-04-28 Sebastien Pouliot <[email protected]>
* X509SpcTest.cs: Commented tests as the root certificates aren't part
	of the Mono trusted store.

svn path=/trunk/mcs/; revision=26167
2004-04-28 14:39:53 +00:00
Gonzalo Paniagua Javier d46235062d 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
	* configure.in:
	* mono/io-layer/io.c:
	* mono/io-layer/sockets.c:
	* mono/metadata/file-io.c:
	* mono/metadata/socket-io.c: added check for sys/aio.h.

svn path=/trunk/mono/; revision=26166
2004-04-28 14:39:15 +00:00
Sebastien Pouliot b40162af9b 2004-04-28 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added X509ChainStatusFlags, X509CRL, X509Store,
	X509StoreManager, X509Stores, BasicConstraintsExtension,
	KeyUsageExtension and SubjectKeyIdentifierExtension to the build.
	Removed ITrustAnchors.cs, TestAnchors.cs and TrustAnchors from the
	build.

svn path=/trunk/mcs/; revision=26165
2004-04-28 14:36:44 +00:00
Sebastien Pouliot 2b3369fd91 2004-04-28 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Changed delegate signature.
	* RSACryptoServiceProvider.cs: Changed delegate signature.

svn path=/trunk/mcs/; revision=26164
2004-04-28 14:32:36 +00:00
Sebastien Pouliot e3d26d5a02 2004-04-28 Sebastien Pouliot <[email protected]>
* BasicConstaintExtension.cs: New in corlib. In sync with
	Mono.Security.dll version.
	* KeyUsageExtension.cs: New in corlib. In sync with Mono.Security.dll
	version.
	* SubjectKeyIdentifierExtension.cs: New in corlib. In sync with
	Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26163
2004-04-28 14:30:30 +00:00
Sebastien Pouliot 5ec432e710 2004-04-28 Sebastien Pouliot <[email protected]>
* X501Name.cs: In sync with Mono.Security.dll version.
	* X509CRL.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509Certificate.cs: In sync with Mono.Security.dll version.
	* X509CertificateCollection.cs: In sync with Mono.Security.dll version.
	* X509Chain.cs: In sync with Mono.Security.dll version.
	* X509ChainStatusFlag.cs: New in corlib. In sync with Mono.Security.dll
	version.
	* X509Extension.cs: In sync with Mono.Security.dll version.
	* X509Extensions.cs: In sync with Mono.Security.dll version.
	* X509Store.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509StoreManager.cs: New in corlib. In sync with Mono.Security.dll version.
	* X509Stores.cs: New in corlib. In sync with Mono.Security.dll version.
	* X520Attributes.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26162
2004-04-28 14:27:30 +00:00
Sebastien Pouliot 1ef79845d6 2004-04-28 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: In sync with Mono.Security.dll version.
	* CryptoTools.cs: In sync with Mono.Security.dll version.
	* DSAManaged.cs: Changed delegate to please FxCop.
	* PKCS1.cs: In sync with Mono.Security.dll version.
	* RSAManaged.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26161
2004-04-28 14:20:26 +00:00
Sebastien Pouliot 1745a13d21 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26160
2004-04-28 14:17:04 +00:00
Sebastien Pouliot 1c15105669 2004-04-28 Sebastien Pouliot <[email protected]>
* ASN1.cs: In sync with Mono.Security.dll version.
	* ASN1Convert.cs: In sync with Mono.Security.dll version.
	* PKCS7.cs: In sync with Mono.Security.dll version.
	* StrongName.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26159
2004-04-28 14:15:28 +00:00
Sebastien Pouliot 9cba2c0001 2004-04-28 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: In sync with Mono.Security.dll version.
	* PrimeGeneratorBase.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26158
2004-04-28 14:12:51 +00:00
Sebastien Pouliot 8161b435c0 2004-04-28 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26157
2004-04-28 14:10:59 +00:00
Sebastien Pouliot 91ce8a6e3e 2004-04-28 Sebastien Pouliot <[email protected]>
* BigInteger.cs: In sync with Mono.Security.dll version.

svn path=/trunk/mcs/; revision=26156
2004-04-28 14:09:20 +00:00
Patrik Torstensson efd223c3f1 2004-04-28 Patrik Torstensson
* HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
	removed MonoTodo

svn path=/trunk/mcs/; revision=26155
2004-04-28 14:05:11 +00:00
Sebastien Pouliot 34612c2260 2004-04-28 Sebastien Pouliot <[email protected]>
* KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum.

svn path=/trunk/mcs/; revision=26154
2004-04-28 13:59:06 +00:00
Sebastien Pouliot 2d7978cee9 2004-04-28 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
	directives to hides type and enum in corlib.

svn path=/trunk/mcs/; revision=26153
2004-04-28 13:54:09 +00:00
Sanja Gupta ef1ee6e268 ImageCodecInfo.cs: Removed unwanted characters which crept in bcos of my carelessness.
svn path=/trunk/mcs/; revision=26148
2004-04-28 13:37:06 +00:00
Sebastien Pouliot 4fc0645385 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Uncommented assembly key file attribute as MCS can
	now strongname assembly. This makes Mono.Http compile with CSC (now
	that Mono.Http is also strongnamed).

svn path=/trunk/mcs/; revision=26147
2004-04-28 13:36:50 +00:00
Gonzalo Paniagua Javier 2cc683aa8d 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* error.[ch]: added _wapi_get_win32_file_error...
	* io.c: ... which was _wapi_get_win32_error here.
	* sockets.c: rename the function calls here too.

svn path=/trunk/mono/; revision=26146
2004-04-28 13:31:48 +00:00
Sanja Gupta 6c4e289c38 ChangeLog: Updated ChangeLog
Modified Files: Converted from dos2unix format

 Modified Files:
 	BitmapData.cs ChangeLog ColorAdjustType.cs ColorChannelFlag.cs
 	ColorMap.cs ColorMapType.cs ColorMatrix.cs ColorMatrixFlag.cs
 	ColorMode.cs ColorPalette.cs EmfPlusRecordType.cs EmfType.cs
 	Encoder.cs EncoderParameter.cs EncoderParameterValueType.cs
 	EncoderParameters.cs EncoderValue.cs FrameDimension.cs
 	ImageAttributes.cs ImageCodecFlags.cs ImageCodecInfo.cs
 	ImageFlags.cs ImageFormat.cs ImageLockMode.cs MetaHeader.cs
 	Metafile.cs MetafileFrameUnit.cs MetafileHeader.cs
 	MetafileType.cs PaletteFlags.cs PixelFormat.cs
 	PlayRecordCallback.cs PropertyItem.cs
 	WmfPlaceableFileHeader.cs

svn path=/trunk/mcs/; revision=26145
2004-04-28 13:21:54 +00:00
Sanja Gupta 1e10204eff ChangeLog: Updated ChangeLog
ColorTranslator.cs, StringFormat.cs, SystemIcons.cs,ToolboxBitmapAttribute.cs:
Converted to unix format from dos format

svn path=/trunk/mcs/; revision=26144
2004-04-28 12:58:23 +00:00
Sebastien Pouliot 688721f002 2004-04-28 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added DESCryptoServiceProviderTest.cs.

svn path=/trunk/mcs/; revision=26143
2004-04-28 12:57:02 +00:00
Sebastien Pouliot fc73420e28 2004-03-28 Sebastien Pouliot <[email protected]>
* DESCryptoServiceProviderTest.cs: New. Completes coverage for
	DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
	implementation.
	* DESTest.cs: Added test vectors from FIPS 81.

svn path=/trunk/mcs/; revision=26142
2004-04-28 12:54:53 +00:00
Sanja Gupta e1a9ba90c1 ChangeLog: Updated ChangeLog.
ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported() methods.

svn path=/trunk/mcs/; revision=26141
2004-04-28 12:51:44 +00:00
Zoltan Varga 1502a80419 2004-04-28 Zoltan Varga <[email protected]>
* Makefile.am mini.h mini-exceptions.c mini-x86.h mini-sparc.h exceptions-sparc.c: Move parts of the sparc exception handling code to XP code.

svn path=/trunk/mono/; revision=26140
2004-04-28 12:49:44 +00:00
Sebastien Pouliot 9a9983c077 2004-04-28 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed bug when offset > 0 in destination
	buffer.

svn path=/trunk/mcs/; revision=26139
2004-04-28 12:44:22 +00:00
Sebastien Pouliot 49522e9076 2004-04-28 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: Fixed a bug when offset > 0 in destination
	buffer. Changed Array.Copy to Buffer.BlockCopy.

svn path=/trunk/mcs/; revision=26138
2004-04-28 12:42:41 +00:00
Jordi Mas i Hernandez 50ef6981e5 remove C sharp based codec info
svn path=/trunk/mcs/; revision=26137
2004-04-28 12:22:16 +00:00
Dick Porter 7486fe18a0 Whoops, need to change pthread_mutex functions to mono_mutex here.
svn path=/trunk/mono/; revision=26136
2004-04-28 12:15:11 +00:00
Sebastien Pouliot e7e787e337 2004-04-28 Sebastien Pouliot <[email protected]>
* DSA.cs: Moved XML comments to monodoc. Added globalization to
	exceptions. Already had 100% coverage.
	* DSAParameters.cs: Moved XML comments to monodoc.
	* DSASignatureDeformetter.cs: Added globalization to exceptions.
	Limited catch to expected exception. Already had 100% coverage.
	* DSASignatureFormatter.cs: Added globalization to exceptions. Limited
	catch to expected exception. Already had 100% coverage.

svn path=/trunk/mcs/; revision=26135
2004-04-28 12:11:16 +00:00
Zoltan Varga 48ebc4ea55 2004-04-28 Zoltan Varga <[email protected]>
* exceptions-sparc.c exceptions-ppc.c exceptions-s390.c mini-ppc.h mini-s390.h mini-sparc.h: Fix up ports after changes.

svn path=/trunk/mono/; revision=26133
2004-04-28 12:08:14 +00:00
Dick Porter 7bd3d2f57b 2004-04-28 Dick Porter <[email protected]>
* threads.c: Don't abort a thread thats already aborting, when
	terminating everything.

svn path=/trunk/mono/; revision=26132
2004-04-28 11:55:04 +00:00
Zoltan Varga 6a78753dd7 2004-04-28 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System.Reflection.Emit/MethodRental.cs.

	* corlib_test.dll.sources: Added Test/System.Reflection.Emit/MethodRentalTest.cs.

svn path=/trunk/mcs/; revision=26131
2004-04-28 11:00:49 +00:00
Dick Porter 37abb73efe 2004-04-28 Dick Porter <[email protected]>
* daemon-messages.c: Avoid a deadlock when a thread is killed while
	waiting for the daemon by using a recursive mutex.  Helps bug 56699.

svn path=/trunk/mono/; revision=26130
2004-04-28 10:48:44 +00:00
Raja R Harinath f9199c3841 (test_flags): NUnit.Framework.dll is now in
class/lib/$(PROFILE).

** YA Quick fix for breaking mcs/ tree

svn path=/trunk/mcs/; revision=26129
2004-04-28 10:24:50 +00:00
Raja R Harinath 5b890173c5 (Driver.MainDriver) [IsModuleOnly]: Open code the
setting of this flag, since the 'set' method may be non-public.

** Quick fix for breaking mcs/ build: mcs/errors/CS3013-module.cs
   See corlib/System.Reflection/ChangeLog
   2004-04-27  Lluis Sanchez Gual  <[email protected]>

svn path=/trunk/mcs/; revision=26128
2004-04-28 10:09:15 +00:00
Jordi Mas i Hernandez 410a1889ad fixes method signature
svn path=/trunk/mcs/; revision=26127
2004-04-28 09:53:51 +00:00
Zoltan Varga 3d758470a8 2004-04-28 Zoltan Varga <[email protected]>
* mini-exceptions.c: New file.

	* mini.c mini-exceptions.c mini-x86.h exceptions-x86.c Makefile.am:
	Move some parts of the x86 exception handling code to an
	arch-independent file so it can be shared with other ports.

svn path=/trunk/mono/; revision=26126
2004-04-28 09:41:22 +00:00
Ravindra a8a1eee996 Implemented ImageAttributes.SetWrapMode method.
svn path=/trunk/mcs/; revision=26125
2004-04-28 09:36:32 +00:00
Jordi Mas i Hernandez f7df114f5c ImageCodecs sample
svn path=/trunk/mcs/; revision=26124
2004-04-28 09:18:54 +00:00
Jordi Mas i Hernandez acf920e23f Codecs use gdi+ and fixes
svn path=/trunk/mcs/; revision=26123
2004-04-28 09:08:30 +00:00
Jordi Mas i Hernandez 476ea6ebd4 fixes typo
svn path=/trunk/mono/; revision=26122
2004-04-28 08:41:02 +00:00
Raja R Harinath 66d6415c5d (FlowBranchingException.LookupLabel): Add a null
check on current_vector.Block.

** Quick fix for breaking mcs/ build (tools/monop/monop.cs).

svn path=/trunk/mcs/; revision=26121
2004-04-28 08:07:00 +00:00
Alon Gazit 3b474d99b6 fixed LoadViewState() implementation.
Always loading the saved attributes collection.

svn path=/trunk/mcs/; revision=26120
2004-04-28 07:55:39 +00:00
Boris Kirzner 6edb8c8ad1 * ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row value to get an access to deleted rows also.
svn path=/trunk/mcs/; revision=26119
2004-04-28 07:39:07 +00:00
Boris Kirzner ac96d95467 * DataRow.cs :
- Perfomance fixes:
  - Added using of list of autoIncrement columns
  - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
  - Fix in CheckNullConstraints
  - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
  - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
  - Added onColumnRemoved() method to threat column removal accurately.

* DataRowCollection.cs :
  - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
  - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)

* DataTable.cs :
  - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)

* DataColumnCollection.cs :
  - Perfomance fixes :
     - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
     - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
     - automatic creation of column names rewrited (bug fixes + perfomance improvement)

* DataColumn.cs :
  - Uses autoincrement list of a table

svn path=/trunk/mcs/; revision=26118
2004-04-28 07:35:15 +00:00
Sanja Gupta 7a9a226722 ChangeLog: Updated ChangeLog
ImageFormat.cs: Implemented Equals() method

svn path=/trunk/mcs/; revision=26117
2004-04-28 06:47:41 +00:00
Sanja Gupta d9230a0d71 ChangeLog: Updated ChangeLog
ImageFormatConverter.cs: Corrected ConvertFrom() method.

svn path=/trunk/mcs/; revision=26116
2004-04-28 06:45:10 +00:00
Urs C. Muff 4bffd776c2 cleanup
svn path=/trunk/mcs/; revision=26115
2004-04-28 04:23:32 +00:00
Urs C. Muff c3969c1f6a cleanup
svn path=/trunk/mono/; revision=26114
2004-04-28 03:59:07 +00:00
Sebastien Pouliot e2c7b743a1 2004-04-28 Sebastien Pouliot <[email protected]>
* System.Data.SqlXml.dll.sources: Added Assembly/AssemblyInfo.cs
	and Locale.cs to the build.

svn path=/trunk/mcs/; revision=26112
2004-04-28 03:45:40 +00:00
Gonzalo Paniagua Javier 8c47468687 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io.c: fixed leak in async_notifier().

	* io-layer/sockets.[ch]: added AIO support for sockets and fixed
	WSAIoctl declaration.

	* io-layer/threads.c: removed old comment.

	* metadata/icall.c: added 2 new async calls for Socket.

	* metadata/socket-io.[ch]: fixed some warnings. Added support for
	asynchronous IO on *nix systems.

	* metadata/threadpool.c: removed unused variable.

svn path=/trunk/mono/; revision=26111
2004-04-28 03:45:35 +00:00
Gonzalo Paniagua Javier 53beb817a2 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added support for unmanaged asynchronous IO. Speed up
	error checking.
	* UdpClient.cs: fixed Dispose so that it only closes the socket when
	called explicitly.

svn path=/trunk/mcs/; revision=26110
2004-04-28 03:45:16 +00:00
Sebastien Pouliot c5141f5acf 2004-04-28 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added
	* TODOAttribute.cs: Added

svn path=/trunk/mcs/; revision=26109
2004-04-28 03:43:11 +00:00
Sebastien Pouliot f7c9f34274 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26108
2004-04-28 03:41:07 +00:00
Sebastien Pouliot aeb7c5d12a 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.VisualC.dll.sources: Added Assembly/AssemblyInfo.cs,
	Locale.cs and TODO to the build.

svn path=/trunk/mcs/; revision=26107
2004-04-28 03:36:37 +00:00
Sebastien Pouliot a9dd9c1b9d 2004-04-28 Sebastien Pouliot <[email protected]>
* Microsoft.JScript.dll.sources: Added Assembly/AssemblyInfo.cs and
	Locale.cs to the build.

svn path=/trunk/mcs/; revision=26106
2004-04-28 03:33:11 +00:00
Sebastien Pouliot 15e2805931 2004-04-26 Sebastien Pouliot <[email protected]>
* System.Runtime.InteropServices.CustomMarshalers.dll.sources:
	Added Assembly/AssemblyInfo.cs, Locale.cs and TODO to the build.

svn path=/trunk/mcs/; revision=26105
2004-04-28 03:28:19 +00:00
Ben Maurer 1b4780d167 a bit cleaner
svn path=/trunk/mcs/; revision=26104
2004-04-28 03:24:03 +00:00
Raja R Harinath 0bdb6e720b (SetCustomAttribute): Handle the presence of the
full type name in the data stream.  This is emitted for value
types by the Mono runtime.

svn path=/trunk/mcs/; revision=26103
2004-04-28 03:21:10 +00:00
Ben Maurer e851148e6d 2004-04-27 Ben Maurer <[email protected]>
* outline.cs: Don't show the interfaces of an enum,
	s/;/, for enum. Style cop.

svn path=/trunk/mcs/; revision=26102
2004-04-28 03:15:22 +00:00
Sebastien Pouliot 3bdcf2d791 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to mswse.pub to match MS

svn path=/trunk/mcs/; revision=26101
2004-04-28 03:13:33 +00:00
Sebastien Pouliot 5e8a2bc0a4 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

svn path=/trunk/mcs/; revision=26100
2004-04-28 03:10:42 +00:00
John Luke 4bcccdc4b2 add enum improvement
and type name kinds

svn path=/trunk/mcs/; revision=26098
2004-04-28 02:55:24 +00:00
Martin Baulig d35fe3d88d 2004-04-27 Martin Baulig <[email protected]>
* expression.cs (BaseAccess.CommonResolve): Don't allow `base' in
	a field initializer.  Fixes #56459.

svn path=/trunk/mcs/; revision=26097
2004-04-28 02:55:04 +00:00
Sebastien Pouliot 367da590d0 2004-04-27 Sebastien Pouliot
* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

svn path=/trunk/mcs/; revision=26096
2004-04-28 02:47:15 +00:00
Martin Baulig ade4bb3964 New tests for bug #52154.
svn path=/trunk/mcs/; revision=26095
2004-04-28 02:46:59 +00:00
Martin Baulig 8312ede90e 2004-04-27 Martin Baulig <[email protected]>
* ecore.cs (PropertyExpr.DoResolve/DoResolveLValue): Check whether
	we're not attempting to use an indexer.  Fixes #52154.

svn path=/trunk/mcs/; revision=26094
2004-04-28 02:46:25 +00:00
Martin Baulig 753818777e 2004-04-27 Martin Baulig <[email protected]>
* statement.cs (Return): Don't create a return label if we don't
	need it; reverts my change from January 20th.  Thanks to Ben
	Maurer for this.

svn path=/trunk/mcs/; revision=26090
2004-04-28 01:06:18 +00:00
Martin Baulig a101870c02 2004-04-27 Martin Baulig <[email protected]>
According to the spec, `goto' can only leave a nested scope, but
	never enter it.

	* statement.cs (Block.LookupLabel): Only lookup in the current
	block, don't recurse into parent or child blocks.
	(Block.AddLabel): Check in parent and child blocks, report
	CS0140/CS0158 if we find a duplicate.
	(Block): Removed this indexer for label lookups.
	(Goto.Resolve): Call LookupLabel() on our current FlowBranching;
	this already does the error reporting for us.

	* flowanalysis.cs
	(FlowBranching.UsageVector.Block): New public variable; may be null.
	(FlowBranching.CreateSibling): Added `Block' argument.
	(FlowBranching.LookupLabel): New public virtual method.  Lookup a
	label for the target of a `goto' and check whether we're not
	leaving a `finally'.

svn path=/trunk/mcs/; revision=26089
2004-04-28 00:44:58 +00:00
Jackson Harper 9d360bae66 delay sign assemblies with the ecma key
svn path=/trunk/mcs/; revision=26087
2004-04-27 21:59:21 +00:00
Martin Baulig bdf3404d76 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
	a finite loop block, also do the ALWAYS->SOMETIMES for throws (not
	just for returns).

svn path=/trunk/mcs/; revision=26086
2004-04-27 21:25:18 +00:00
Jackson Harper 81ad818c9f * gacutil.cs: Temporarily disable strong name verification
when installing.

svn path=/trunk/mcs/; revision=26085
2004-04-27 21:02:00 +00:00
Atsushi Eno e4ff98d731 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
	  type that has an immediate Particle (W3C specified as restriction
	  of ur-type).

svn path=/trunk/mcs/; revision=26084
2004-04-27 20:54:30 +00:00
Martin Baulig 41c0bd00f2 2004-04-27 Martin Baulig <[email protected]>
* statement.cs (Block.AddLabel): Also check for implicit blocks
	and added a CS0158 check.

svn path=/trunk/mcs/; revision=26083
2004-04-27 20:47:44 +00:00
Atsushi Eno c84978551d 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Even when it should ignore schema, it was
	  infering schema.
	* XmlSchemaDataImporter.cs : DataRelation creation support.
	  Improved "DataSet" element handing. When attributes are on the
	  element, it is not a "DataSet" element.
	  Fixed parent key column name.
	  Unique name creation is not required. Just raise an error.
	  Fill facet also for attribute types.

svn path=/trunk/mcs/; revision=26082
2004-04-27 20:31:51 +00:00
Atsushi Eno 9b5eed037e 2004-04-27 Atsushi Enomoto <[email protected]>
* ConstraintCollectionTest.cs,
	  DataSetTest.cs,
	  DataTableTest.cs,
	  ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
	* DataRowCollectionTest.cs : just check exception type. Don't check
	  localizable error message.
	* DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
	  Added relation count parameter for AssertDataTable().
	  Added Nested check parameter for AssertDataRelation().
	* DataSetInferXmlSchemaTest.cs,
	  DataSetReadXmlTest.cs,
	  DataSetReadXmlSchemaTest.cs :
	  Applied new AssertDataTable().  Added more check on
	  DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().

svn path=/trunk/mcs/; revision=26081
2004-04-27 20:24:30 +00:00
Martin Baulig bce9c2cbdf Ooops, this was a bad idea.
svn path=/trunk/mcs/; revision=26080
2004-04-27 20:07:47 +00:00
Martin Baulig 07e4a27adc 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs: Also track initializations in unreachable
	code.  Fixes #56439.

svn path=/trunk/mcs/; revision=26079
2004-04-27 19:56:03 +00:00
Jackson Harper e941d20ce1 * gacutil.cs: Remove hack for removing strong name headers. The
strong name type now handles these properly and this screwed up
	the ecma key.

svn path=/trunk/mcs/; revision=26078
2004-04-27 19:50:36 +00:00
Martin Baulig f07e1d2ecc *** empty log message ***
svn path=/trunk/mcs/; revision=26077
2004-04-27 19:33:55 +00:00
Martin Baulig 9d306efa56 Make this work again.
svn path=/trunk/mcs/; revision=26076
2004-04-27 19:33:32 +00:00
Martin Baulig f6c386a5d4 2004-04-27 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranchingLoop): New class.
	(FlowBranching.UsageVector.MergeJumpOrigins): Take a list of
	UsageVector's instead of an ArrayList.
	(FlowBranching.Label): Likewise.
	(FlowBranching.UsageVector.MergeBreakOrigins): New method.
	(FlowBranching.AddBreakVector): New method.

svn path=/trunk/mcs/; revision=26075
2004-04-27 19:32:37 +00:00
Martin Baulig 75165a7532 2004-04-27 Martin Baulig <[email protected]>
* test-154.cs: Added test case for #52625.

svn path=/trunk/mcs/; revision=26074
2004-04-27 19:30:17 +00:00
Miguel de Icaza 3d6ac8d7e8 2004-04-27 Miguel de Icaza <[email protected]>
* attribute.cs: Small regression fix: only convert the type if we

svn path=/trunk/mcs/; revision=26073
2004-04-27 19:06:37 +00:00
Jackson Harper aea995615c * sn.cs: Attempt to load the strongnames.config file from the GAC
path.

svn path=/trunk/mcs/; revision=26072
2004-04-27 19:02:23 +00:00
Miguel de Icaza 0d19ae8fe1 Flush
svn path=/trunk/mcs/; revision=26071
2004-04-27 18:44:16 +00:00
Jackson Harper 6bed07a24a * Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.

svn path=/trunk/mono/; revision=26070
2004-04-27 18:41:12 +00:00
Martin Baulig a133f96a04 2004-04-27 Martin Baulig <[email protected]>
* attribute.cs (Attribute.Resolve): If we have a constant value
	for a named field or property, implicity convert it to the correct
	type.

svn path=/trunk/mcs/; revision=26069
2004-04-27 18:08:09 +00:00
Atsushi Eno 55ad9ba391 2004-04-27 Atsushi Enomoto <[email protected]>
* DataRow.cs : Null check for CheckReadOnlyStatus() and
	  CheckNullConstraints(), with some coding guideline fixes.
	  Type check should be done by Type instance comparison.

svn path=/trunk/mcs/; revision=26068
2004-04-27 17:57:12 +00:00
Andreas N 6d1b9f43de 2004-04-27 Andreas Nahr <[email protected]>
* IntegerFormatter.cs: Made functions internal (needed by other patches)

svn path=/trunk/mcs/; revision=26067
2004-04-27 17:40:47 +00:00
Atsushi Eno d2ad88f9d2 2004-04-27 Atsushi Enomoto <[email protected]>
* DataColumnCollection.cs : When add a column to the collection, fill
	  auto-increment column.

svn path=/trunk/mcs/; revision=26066
2004-04-27 17:34:24 +00:00
Zoltan Varga aa1a81d7fb 2004-04-27 Zoltan Varga <[email protected]>
* marshal.c: Handle null properly in PtrToString* icalls. Fixes #57706.

svn path=/trunk/mono/; revision=26065
2004-04-27 17:33:27 +00:00
Zoltan Varga 1ae838cfbd 2004-04-27 Zoltan Varga <[email protected]>
* Makefile: Fix tests with new directory structure.

svn path=/trunk/mcs/; revision=26064
2004-04-27 17:32:21 +00:00
Jackson Harper 176c37f0de * CultureInfo.cs: Make specific names lower case, because all data
in the culture info tables is lowercase.

svn path=/trunk/mcs/; revision=26063
2004-04-27 17:31:26 +00:00
Zoltan Varga e543124a63 2004-04-27 Zoltan Varga <[email protected]>
* MarshalTest.cs: New tests for PtrTo* methods and null.

svn path=/trunk/mcs/; revision=26062
2004-04-27 17:31:24 +00:00
Andreas N dfd8716c00 2004-04-25 Andreas Nahr <[email protected]>
* SearchPattern.cs: Call invariant String.ToLower

svn path=/trunk/mcs/; revision=26061
2004-04-27 16:41:59 +00:00
Erik Dasque a8a40df0e1 Cleaned up some more --help / --version type stuff
svn path=/trunk/mono/; revision=26059
2004-04-27 16:09:44 +00:00
Erik Dasque f28833c8c8 updated the --version output to use mscorlib.dll instead of corlib.dll
already fixed in the code to use mscorlib.dll by default

svn path=/trunk/mono/; revision=26058
2004-04-27 15:51:15 +00:00
Paolo Molaro 05163a2bd9 Tue Apr 27 15:55:17 CEST 2004 Paolo Molaro <[email protected]>
* locales.c: put back string_invariant_tolower () and
	string_invariant_toupper ().

svn path=/trunk/mono/; revision=26056
2004-04-27 13:17:37 +00:00
Nick Drochak 42f642b006 2004-04-27 Nick Drochak <[email protected]>
* ConvertTest.cs: Remove compiler warnings.

svn path=/trunk/mcs/; revision=26055
2004-04-27 12:24:35 +00:00
Nick Drochak e8d2964ca9 2004-04-27 Nick Drochak <[email protected]>
* ReaderWriterLockTest.cs: Remove compiler warnings.

svn path=/trunk/mcs/; revision=26054
2004-04-27 12:13:34 +00:00
Sanja Gupta 0604a6f44d ChangeLog: Updated ChangeLog
ImageFormat.cs: Implemented ToString() method.

svn path=/trunk/mcs/; revision=26053
2004-04-27 11:39:09 +00:00
Sanja Gupta 806e6b08d2 ChangeLog: Updated ChangeLog
ImageFormatConverter.cs: Implemented first version.
ImageConverter.cs: Added exception message.
IconConverter.cs: Added exception message.

svn path=/trunk/mcs/; revision=26052
2004-04-27 11:33:17 +00:00
Lluis Sanchez 4e06ac2b42 * ICustomAttributeProvider.cs, IReflect.cs, MemberInfo.cs, AssemblyName.cs:
Removed completed	TODOs.
	* MonoProperty.cs: In GetAccessors(), GetGetMethod() and GetSetMethod(),
	  do not return private methods if nonPublic == false.
	* ReflectionTypeLoadException.cs: Implemented serialization support.

svn path=/trunk/mcs/; revision=26051
2004-04-27 11:02:44 +00:00
Atsushi Eno c35e3cfe51 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs : When type was inline simple type, it is not
	  validated correctly.
	* XmlSchemaSimpleType.cs : When Content was restriction, DataType was
	  not indicating base type's Datatype correctly.

svn path=/trunk/mcs/; revision=26050
2004-04-27 10:34:28 +00:00
Paolo Molaro fcdb1b8846 Properly return != 0 on error.
svn path=/trunk/mono/; revision=26049
2004-04-27 09:41:50 +00:00
Paolo Molaro 102167b742 Tue Apr 27 12:15:59 CEST 2004 Paolo Molaro <[email protected]>
* trace.c, cpu-g4.md, inssel-ppc.brg, mini-ppc.c: some fixes for FP code.

svn path=/trunk/mono/; revision=26048
2004-04-27 09:39:52 +00:00
Atsushi Eno a9e66d5cae 2004-04-27 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : don't use NET_1_0.

svn path=/trunk/mcs/; revision=26047
2004-04-27 09:26:42 +00:00
Lluis Sanchez 9f4f93832c * DateTime.cs: TODO cleaning.
* Delegate.cs: GetObjectData should be virtual.
	* IntegerFormatter.cs: Method factorization. I don't want to fix bugs in
	  30 methods almost identical.
	* MulticastDelegate.cs: Implemented GetObjectData.

svn path=/trunk/mcs/; revision=26046
2004-04-27 08:40:48 +00:00
Jackson Harper 0a71b6366a ignore things
svn path=/trunk/mcs/; revision=26044
2004-04-27 06:38:53 +00:00
Jackson Harper 601f284b9c dummy
svn path=/trunk/mcs/; revision=26043
2004-04-27 06:37:12 +00:00
Jackson Harper 80dcf1d8e1 * Makefile.am: Grab libraries from lib/default now.
svn path=/trunk/mono/; revision=26042
2004-04-27 06:20:02 +00:00
Sanja Gupta 778bda2a7e ChangeLog: Update ChangeLog.
ImageConverter.cs: Implemented first version.

svn path=/trunk/mcs/; revision=26041
2004-04-27 06:09:47 +00:00
Jackson Harper 3205202c30 Put libraries in profile dependant directories so we can build all profiles at once.
svn path=/trunk/mcs/; revision=26040
2004-04-27 06:02:52 +00:00
Sanja Gupta 60cd7f5dc9 ChangeLog: Updated ChangeLog
IconConverter.cs: Implemented first version

svn path=/trunk/mcs/; revision=26039
2004-04-27 05:50:05 +00:00
David Waite d0f3ef4750 2004-04-26 David Waite <[email protected]>
* unknown.c: modify to have content for defined platforms (to
	avoid ISO C warning)

svn path=/trunk/mono/; revision=26036
2004-04-27 04:13:19 +00:00
David Waite 444bbce821 2004-04-26 David Waite <[email protected]>
in interpreter
	* interp.h: remove comma from end of enumeration constants
	declarations

in io-layer
	* daemon-messages.h:
	* daemon-private.h
	* error.h:
	* io.h:
	* processes.h:
	* shared.h:
	* thread-private.h:
	* wapi-private.h: remove comma from end of enumeration declarations
	* status.h: cast unsigned int types to int for enum assignment

in metadata
	* file-io.h:
	* socket-io.h:
	* threads.h:
	* unicode.h: remove comma from end of enumeration declarations

in mini
	* driver.c: remove comma from end of enumeration declaration

in utils
	* mono-logger.h: remove comma from end of enumeration declaration

svn path=/trunk/mono/; revision=26035
2004-04-27 04:07:07 +00:00
Peter Dennis Bartok cb2ec75c01 - Fixed DoEvent. Now properly processes and removes all events from queue.
svn path=/trunk/mcs/; revision=26034
2004-04-27 04:02:55 +00:00
Miguel de Icaza b2214b317a Add update from Joshua here
svn path=/trunk/mono/; revision=26033
2004-04-27 03:59:56 +00:00
Miguel de Icaza 2aad1091e5 This does no longer exist here
svn path=/trunk/mcs/; revision=26032
2004-04-27 03:59:45 +00:00
Miguel de Icaza ff26a2ee66 240 does not pass
svn path=/trunk/mcs/; revision=26031
2004-04-27 03:30:26 +00:00
Raja R Harinath 92cf68ba10 * statement.cs (Block.Block): Implicit blocks share
'child_variable_names' fields with parent blocks.
(Block.AddChildVariableNames): Remove.
(Block.AddVariable): Mark variable as "used by a child block" in
every surrounding block.
* ecore.cs (SimpleName.SimpleNameResolve): If the name has already
been used in a child block, complain about violation of "Invariant
meaning in blocks" rule.
* cs-parser.jay (declare_local_variables): Don't use
AddChildVariableNames.
(foreach_statement): Don't create an implicit block: 'foreach'
introduces a scope.

svn path=/trunk/mcs/; revision=26030
2004-04-27 03:25:10 +00:00
David Waite 636eb7b6f9 2004-04-26 David Waite <[email protected]>
in io-layer
	* io.c:
	* timefuncs.c: Define 64 bit constants as long long types (i.e. 10ULL)
in metadata
	* debug-mono-symfile.h:
	* decimal.c:
	* mono_debug.h:
	* sysmath.c: Define 64 bit constants as long long types (i.e. 10ULL)

svn path=/trunk/mono/; revision=26029
2004-04-27 02:32:25 +00:00
Jackson Harper f3df410e0e flush
svn path=/trunk/mono/; revision=26028
2004-04-27 00:18:04 +00:00
César Natarén bbd4ddd214 2004-04-26 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: let's make function name formation
	(get_name ()) a little bit less dumb. We cache the prefix now so
	we don't have to recalculate it everytime.

svn path=/trunk/mcs/; revision=26027
2004-04-26 23:25:16 +00:00
Sebastien Pouliot 7575d79067 2004-04-26 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Oops - forgot to commit

svn path=/trunk/mcs/; revision=26026
2004-04-26 22:58:32 +00:00
Sebastien Pouliot c3b76e3750 2004-04-26 Sebastien Pouliot <[email protected]>
* DES.cs: Fixes to weak/semi-weak checking to pass new unit tests (it
	requires to set odd parity on keys before comparing).

svn path=/trunk/mcs/; revision=26025
2004-04-26 22:55:08 +00:00
Sebastien Pouliot 2756778c90 2004-04-26 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added DESTest.cs.

svn path=/trunk/mcs/; revision=26024
2004-04-26 22:51:20 +00:00
Sebastien Pouliot d56f38d348 2004-03-26 Sebastien Pouliot <[email protected]>
* DESTest.cs: New. Unit tests for DES including checks for weak and
	semi-weak keys (with and without parity applied on keys). Completes
	coverage for DES class.

svn path=/trunk/mcs/; revision=26023
2004-04-26 22:49:04 +00:00
Sebastien Pouliot 56a1dfe6e8 2004-04-26 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
	globalization to exceptions. Already had 100% coverage.
	* AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc.
	Already had 100% coverage.
	* CryptoAPITransform.cs: Unused by Mono (added note to monodoc).
	Class will stay at 0% coverage.
	* CryptoConfig.cs: Added globalization to exceptions. 98% coverage.
	* CryptographicException.cs: Added globalization to exceptions.
	Already had 100% coverage.
	* CryptoStream.cs: Added globalization to exceptions. Removed (unused)
	field _previousBlock to get 100% coverage.
	* CspParameters.cs: Moved XML comments to monodoc. Already had 100%
	coverage.
	* CspProviderFlags.cs: Moved XML comments to monodoc.
	* DeriveBytes.cs: Moved XML comments to monodoc. Already had 100%
	coverage.

svn path=/trunk/mcs/; revision=26022
2004-04-26 22:42:53 +00:00
Jackson Harper 2d7e6af086 * appdomain.c: Increment version number.
svn path=/trunk/mono/; revision=26021
2004-04-26 20:51:31 +00:00
Jackson Harper 04a0982fa5 * Environment.cs: Things going bump in the night.
svn path=/trunk/mcs/; revision=26020
2004-04-26 20:49:48 +00:00
Jackson Harper 5a02bd5261 * Assembly.cs: Add icall to determine if an assembly has been
loaded from the GAC.

svn path=/trunk/mcs/; revision=26019
2004-04-26 20:47:48 +00:00
Miguel de Icaza aa957b6a39 Align options, update doc
svn path=/trunk/mono/; revision=26017
2004-04-26 20:22:43 +00:00
Miguel de Icaza 07035a5350 Update
svn path=/trunk/mono/; revision=26016
2004-04-26 20:20:00 +00:00
Bernie Solomon b44cc09572 2004-04-26 Bernie Solomon <[email protected]>
* configure.in: move setting of NO_VERSION_SCRIPT
	until after checking for GNU ld

svn path=/trunk/mono/; revision=26015
2004-04-26 20:03:11 +00:00
Jackson Harper 0497003e49 * driver.c: parse config file before loading first assembly. This
allows the user gac to be enabled/disabled.

svn path=/trunk/mono/; revision=26014
2004-04-26 19:59:58 +00:00
Jackson Harper e2618f5984 * driver.c: parse config file before loading first assembly. This
allows the user gac to be enabled/disabled.

svn path=/trunk/mono/; revision=26013
2004-04-26 19:31:35 +00:00
Jackson Harper 4f5212b6e6 * appdomain.c: Set assembly references public token value when
PublicKeyToken is specified, not the hash_value. Free public token
	values when free assembly name data. Previously the public key
	token was hex decoded, however we are using hex encoded public key
	tokens, so this is not neccasary.
	* assembly.c: Lookup assemblies in the gac if their public token
	value is set. Add function to allow enabling user gac
	lookups. Specify whether or not the assembly was loaded from the
	GAC. Compare full assembly names when checking the cache for
	assemblies (Temporarily disabled see comment in code). Remove
	mscorlib -> corlib mapping cruft. Add trace-loading. When a user
	specifies trace-loader they get extra info to stdout on the
	loading of assemblies.
	* image.h: Add a field for an assembly references public token
	value to MonoAssemblyname. Add a field to MonoAssembly to specifiy
	whether an assembly has been loaded from the GAC.
	* image.c: Remove a corlib -> mscorlib name mapping.
	* loader.h: Add function to enable/disable the user gac.
	* mono-config.c: Check if the usergac is enabled in the config
	file.
	* icall.c: New icall to determine whether or not an assembly has
	been loaded from the GAC. Remove some mscorlib -> corlib mappings.
	* tabldefs.h: Add constant for assemblyref flag that specifies a
	full public key is used instead of a public token.
	* reflection.c: Remove mscorlib -> corlib mappings. Set
	PublicTokenValue instead of hash value. This value is a hex
	string so it does not need to be expanded.

svn path=/trunk/mono/; revision=26012
2004-04-26 19:26:41 +00:00
Lluis Sanchez 3ea9677f51 * ObjectReader.cs, ObjectWriter.cs: FIXME cleaning.
svn path=/trunk/mcs/; revision=26011
2004-04-26 18:50:16 +00:00
Zoltan Varga a81a6786aa 2004-04-26 Zoltan Varga <[email protected]>
* Makefile.am test-driver: Disable some failing tests.

svn path=/trunk/mono/; revision=26010
2004-04-26 18:49:17 +00:00
Lluis Sanchez 0e6220d1ac * CADMessages.cs: Marshal the correct return args for the return message.
svn path=/trunk/mcs/; revision=26008
2004-04-26 18:44:10 +00:00
Lluis Sanchez a86a1ae101 * ObjRef.cs: Little optimization.
svn path=/trunk/mcs/; revision=26007
2004-04-26 18:42:01 +00:00
Martin Baulig 29a4430fbd 2004-04-26 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_initialize): Set
	`mono_debugger_initialized' before calling mono_debug_lock().

svn path=/trunk/mono/; revision=26006
2004-04-26 18:36:53 +00:00
Lluis Sanchez 2ddb1c0348 * ChannelServices.cs: Implemented partial support for CustomErrors
configuraiton option.

svn path=/trunk/mcs/; revision=26005
2004-04-26 18:36:04 +00:00
Lluis Sanchez 974aad1fb4 Added man page for XSD
svn path=/trunk/mono/; revision=26002
2004-04-26 17:57:46 +00:00
Rafael Teixeira be584ae939 2004-04-26 Rafael Teixeira <[email protected]>
* DateAndTime.cs:
		Catch FormatException and rethrow as InvalidCastException in:
 		- public static System.DateTime DateValue (string StringDate) - return only the Date Part
		- public static System.DateTime TimeValue (string StringTime) - return only the Time Part

svn path=/trunk/mcs/; revision=25997
2004-04-26 14:49:51 +00:00
Rafael Teixeira 0856cf64a5 2004-04-26 Rafael Teixeira <[email protected]>
* DateAndTimeTest.cs:
		Allow some slack for rounding differences on test #TI02

svn path=/trunk/mcs/; revision=25996
2004-04-26 13:21:23 +00:00
Rafael Teixeira aa763dab7e 2004-04-26 Rafael Teixeira <[email protected]>
* Collection.cs:
		Verify and throw correct exception on Remove for a null key

svn path=/trunk/mcs/; revision=25995
2004-04-26 13:03:32 +00:00
Sanja Gupta e114dc6627 ChangeLog: Updated ChangeLog
Image.cs: Corrected implementation of property RawFormat.
gdipFunctions.cs: Corrected declaration of function GdipGetImageRawFormat.

svn path=/trunk/mcs/; revision=25994
2004-04-26 11:14:30 +00:00
Lluis Sanchez b36d6b6bd0 Updated
svn path=/trunk/mono/; revision=25993
2004-04-26 11:14:03 +00:00
Jochen Wezel f1f7a2ed69 I'd better written correctly
svn path=/trunk/mcs/; revision=25991
2004-04-26 09:57:49 +00:00
Jochen Wezel 4d5faad7a7 Fixed attribute declaration
svn path=/trunk/mcs/; revision=25990
2004-04-26 09:53:56 +00:00
Atsushi Eno f99ea552e3 2004-04-26 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Enabled /d option (typed dataset generation support
	  using newly implemented TypedDataSetGenerator).

svn path=/trunk/mcs/; revision=25989
2004-04-26 09:06:00 +00:00
Jordi Mas i Hernandez 5c69899417 removes warning
svn path=/trunk/mcs/; revision=25988
2004-04-26 08:41:05 +00:00
Atsushi Eno 77a1bf1b73 2004-04-26 Atsushi Enomoto <[email protected]>
* CSharpCodeGenerator.cs : implemented GenerateEvent.
	  Delegate was output as usual class.

svn path=/trunk/mcs/; revision=25987
2004-04-26 08:37:02 +00:00
Atsushi Eno b666e8ec01 2004-04-26 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs : delegate was output as usual class.

svn path=/trunk/mcs/; revision=25986
2004-04-26 08:36:24 +00:00
Dennis Hayes f0a8efed64 big changes to ObjectType from Mainsoft Java code. Cleanup in other files. several more complete
svn path=/trunk/mcs/; revision=25985
2004-04-26 07:00:37 +00:00
Dennis Hayes 97d0a43464 added VBUtils.cs to build for Mainsoft compatablity
svn path=/trunk/mcs/; revision=25984
2004-04-26 06:55:30 +00:00
Dennis Hayes 4091ca8967 VBUtils.cs added for Mainsoft compatablity
svn path=/trunk/mcs/; revision=25983
2004-04-26 06:52:52 +00:00
Boris Kirzner ae50fa33bc * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25982
2004-04-26 06:22:27 +00:00
Boris Kirzner 6b77e51f9c * DataColumnMappingCollection.cs : Small fix in exception message thrown.
svn path=/trunk/mcs/; revision=25981
2004-04-26 06:15:35 +00:00
Atsushi Eno 75cb18978e 2004-04-26 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : added CustomDataClassGenerator.cs.

svn path=/trunk/mcs/; revision=25980
2004-04-26 03:39:49 +00:00
Atsushi Eno bf3f6f16c4 2004-04-26 Atsushi Enomoto <[email protected]>
* CustomDataClassGenerator.cs : Added.
	* TypedDataSetGenerator.cs : Implemented Generate().
	  Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
	* XmlSchemaDataImporter.cs : Table Locale should be supplied.

svn path=/trunk/mcs/; revision=25979
2004-04-26 03:39:06 +00:00
Miguel de Icaza 0581d482c3 2004-04-25 Miguel de Icaza <[email protected]>
* Convert.cs (toBase64Transform): Make private.

svn path=/trunk/mcs/; revision=25965
2004-04-25 16:25:58 +00:00
Sanja Gupta 556ce7bdbb ChangeLog: Updated ChangeLog
gdipFunctions.cs: Added few linux only function calls.
Image.cs: Changed the implementation of few methods to proceed with
          ImageAnimator class.
Bitmap.cs: Resolved a compile time error.
Icon.cs: Removed an unused variable

svn path=/trunk/mcs/; revision=25964
2004-04-25 16:12:30 +00:00
Boris Kirzner 4a5e291e23 * DbDataAdapter.cs : Fixed bug in Fill :
- Reader can have empty results (fo example from UPDATE or DELETE).
  - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
  - In FillTable - skip rows only once for each table.

svn path=/trunk/mcs/; revision=25961
2004-04-25 15:46:07 +00:00
Jordi Mas i Hernandez cf33111a7b Font class, Pattern class, fixes, new methods, and updating Mono.Cairo to the latest Cairo API
svn path=/trunk/mcs/; revision=25959
2004-04-25 15:31:58 +00:00
Boris Kirzner 6b33e369b2 DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25958
2004-04-25 15:25:02 +00:00
Boris Kirzner 9716e8d4e3 Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
svn path=/trunk/mcs/; revision=25957
2004-04-25 15:06:09 +00:00
Nick Drochak adc88a7895 2004-04-25 Nick Drochak <[email protected]>
* MathTest.cs: Check precision only so far.

svn path=/trunk/mcs/; revision=25956
2004-04-25 13:14:35 +00:00
Andreas N 9eb634afed 2004-04-25 Andreas Nahr <[email protected]>
* Convert.cs:
	* Decimal.cs:
	* DecimalFormatter.cs:
	* FloatingPointFormatter.cs: Call invariant Char functions
	* Guid.cs: Call invariant Char and String functions
	* String.cs: Call invariant Char functions

svn path=/trunk/mcs/; revision=25955
2004-04-25 11:44:08 +00:00
Andreas N 755b03ad5d 2004-04-25 Andreas Nahr <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: Fix the default constructor (needs to
	  set CurrentCulture, Add null check to other constructor, Call correct function
	  for invariant case, ensure culture is set to null for invariant case, removed
	  static constructor, made invariant version available as internal in .Net 1.0

svn path=/trunk/mcs/; revision=25954
2004-04-25 11:42:52 +00:00
Andreas N 6197a70345 2004-04-25 Andreas Nahr <[email protected]>
* CultureInfo.cs: Call invariant String.ToLower
	* RegionInfo.cs: Call invariant String.ToUpper

svn path=/trunk/mcs/; revision=25953
2004-04-25 11:42:27 +00:00
Andreas N 32b4f4138b 2004-04-25 Andreas Nahr <[email protected]>
* DSACryptoServiceProvider.cs: Call invariant compare

svn path=/trunk/mcs/; revision=25952
2004-04-25 11:41:27 +00:00
Andreas N 0536605926 2004-04-25 Andreas Nahr <[email protected]>
* StrongNamePublicKeyBlob: Call invariant Char.ToLower

svn path=/trunk/mcs/; revision=25951
2004-04-25 11:41:03 +00:00
Andreas N 1c83dc0f15 2004-04-25 Andreas Nahr <[email protected]>
* Url.cs: Call invariant ToUpper

svn path=/trunk/mcs/; revision=25950
2004-04-25 11:40:40 +00:00
Andreas N 185b7d68b0 2004-04-25 Andreas Nahr <[email protected]>
* WindowsPrincipal.cs: Call invariant ToUpper

svn path=/trunk/mcs/; revision=25949
2004-04-25 11:40:16 +00:00
Andreas N 978da5becb 2004-04-25 Andreas Nahr <[email protected]>
* Encoding.cs: Call shortcut String.ToLowerInvariant

svn path=/trunk/mcs/; revision=25948
2004-04-25 11:39:54 +00:00
Andreas N e517a4e683 2004-04-25 Andreas Nahr <[email protected]>
* String.cs: Refactored the Invariant ToXXX into its own internal methods
	  so they are directly callable within corlib (can prevent early
	  construction of CultureInfo, InvariantCulture and related classes)

svn path=/trunk/mcs/; revision=25947
2004-04-25 09:07:45 +00:00
Vladimir Vukicevic 8451185106 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
svn path=/trunk/mcs/; revision=25946
2004-04-25 07:09:00 +00:00
Andreas N 4dbaecce8c 2004-04-24 Andreas Nahr <[email protected]>
* String.cs: Managed impl. of Invariant parts of ToLower, ToUpper
	* Char.cs: Managed impl. of Invariant parts of ToLower, ToUpper

svn path=/trunk/mcs/; revision=25943
2004-04-24 22:19:06 +00:00
Andreas N d270a4c2d1 2004-04-42 Robert Shade <[email protected]>
* icall.c: icalls for Char.ToUpper/ToLower are now hooked to
	  InternalToUpper/InternalToLower.
	* locales.c: (ves_icall_System_{Char,String}_InternalTo{Upper,Lower}_Comp)
	  removed invariant culture shortcut.  This is now done in managed code.
	* locales.c: (string_invariant_toupper/tolower) removed.

svn path=/trunk/mono/; revision=25942
2004-04-24 22:16:32 +00:00
Atsushi Eno 1034c62002 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlComment.cs. XmlProcessingInstruction.cs : missing commits.

svn path=/trunk/mcs/; revision=25939
2004-04-24 14:36:28 +00:00
Atsushi Eno 268271966d 2004-04-24 Atsushi Enomoto <[email protected]>
W3C DOM compliant read-only check support (buggy part in MS.NET).
	* XmlAttribute.cs,
	  XmlCDataSection.cs,
	  XmlCharacterData.cs,
	  XmlDocument.cs,
	  XmlElement.cs,
	  XmlNode.cs,
	  XmlSignificantWhitespace.cs,
	  XmlText.cs
	  : CloneNode() - set read-only when copied node is read-only.
	    Check IsReadOnly on attempt to modify value.
	* XmlEntity.cs,
	  XmlEntityReference.cs : Set descendant nodes read-only.
	* XmlAttributeCollection.cs,
	  XmlNode.cs
	  : Fixed incompatible exception type.
	* XmlEntityReference.cs : CloneNode() should not pass an empty string
	  as its name.
	* XmlEntityReference.cs,
	  XmlProcessingInstruction.cs : Check XML name validity.
	* XmlText.cs : CloneNode() does not have to check children.

svn path=/trunk/mcs/; revision=25938
2004-04-24 14:23:56 +00:00
Gonzalo Paniagua Javier 7c316b27ce Fixed XML link and added one for crypto
svn path=/trunk/mono/; revision=25937
2004-04-24 14:22:51 +00:00
Atsushi Eno 682d3c1cab 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Uncommented now-testable lines.
	  Commented out that should not be allowed, such as non-XML-name node.

svn path=/trunk/mcs/; revision=25936
2004-04-24 14:22:00 +00:00
Atsushi Eno 0bbdf65532 2004-04-24 Atsushi Enomoto <[email protected]>
Updated all nist_dom tests.
	* Don't check locale-dependent message. Just check type name.

svn path=/trunk/mcs/; revision=25935
2004-04-24 14:19:33 +00:00
Atsushi Eno 97bc8e7584 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs : More InnerText tests.

svn path=/trunk/mcs/; revision=25934
2004-04-24 12:11:10 +00:00
Atsushi Eno 087038913c 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlDeclaration.cs : More strict check on InnerText and Value.

svn path=/trunk/mcs/; revision=25933
2004-04-24 12:10:48 +00:00
Atsushi Eno b2b13b8207 2004-04-24 Atsushi Enomoto <[email protected]>
* XslChoose.cs, XslCopy.cs, XslCopyOf.cs, XslElement.cs XslFallback.cs:
	  missing updates

svn path=/trunk/mcs/; revision=25932
2004-04-24 12:06:30 +00:00
Atsushi Eno 07fa5b0f39 2004-04-24 Atsushi Enomoto <[email protected]>
* XslApplyImport.cs, XslApplyTemplates.cs, XslAttribute.cs,
	  XslAvt.cs, XslCallTemplate.cs, XslComment.cs, XslCompiledElement.cs,
	  XslCopy.cs, XslCopyOf.cs, XslElement.cs, XslFallback.cs,
	  XslForeach.cs, XslIf.cs, XslLiteralElement.cs, XslMessage.cs,
	  XslNumber.cs, XslOperation.cs, XslProcessingInstruction.cs,
	  XslTemplateContent.cs, XslText.cs, XslValueOf.cs, XslVariable.cs :
	  make extra classes internal.

svn path=/trunk/mcs/; revision=25931
2004-04-24 10:46:00 +00:00
Atsushi Eno ec5cb9f3a3 2004-04-24 Atsushi Enomoto <[email protected]>
* Attribute.cs, Compiler.cs, Debug.cs, Emitter.cs,
	  MSXslScriptCompiler.cs, Outputter.cs, XslAttributeSet.cs,
	  XslDecimalFormat.cs, XslKey.cs, XslStylesheet.cs, XslTemplate.cs,
	  XslTransformProcessor.cs : Make extra classes internal.

	* XslKey.cs : It should require sorting.
	* Debug.cs : Just avoid debug output. Only who want to output should
	  turn it on.

svn path=/trunk/mcs/; revision=25930
2004-04-24 10:44:10 +00:00
Atsushi Eno a5e122f6a2 2004-04-24 Atsushi Enomoto <[email protected]>
* DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
	  XmlNode.cs : Culture independency fix.

svn path=/trunk/mcs/; revision=25929
2004-04-24 10:15:09 +00:00
Atsushi Eno a0a20ae6a4 2004-04-24 Atsushi Enomoto <[email protected]>
* XslProcessingInstruction.cs : Culture independency fix.

svn path=/trunk/mcs/; revision=25928
2004-04-24 10:13:25 +00:00
Atsushi Eno e20a117cc8 2004-04-12 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : Culture-independency fix.
	  Replaced StringCollection to ArrayList.
	* XslOutput.cs : Culture-independency fix.

svn path=/trunk/mcs/; revision=25927
2004-04-24 10:12:50 +00:00
Todd Berman 6f2ec249b3 fix old changelog *again* and add control.Show handle check/fix.
New Form in the FormsTest.cs works now.

svn path=/trunk/mcs/; revision=25925
2004-04-24 08:48:07 +00:00
Ravindra 55cf131903 pie.cs: Added a case to clear the graphics surface
svn path=/trunk/mcs/; revision=25924
2004-04-24 08:41:36 +00:00
Todd Berman e27067089e this is *not* MD, and the changelog structure is a bit different :)
svn path=/trunk/mcs/; revision=25922
2004-04-24 08:22:56 +00:00
Todd Berman d33302a1a5 2004-04-24 Todd Berman <[email protected]>
* System.Windows.Forms/ContextMenu.cs:
        * System.Windows.Forms/Menu.cs: Whitespace fixes.
        * System.Windows.Forms/MenuItem.cs: fix the check for a null parent.

svn path=/trunk/mcs/; revision=25921
2004-04-24 08:19:23 +00:00
Andreas N e336cfb995 2004-04-24 Andreas Nahr <[email protected]>
* String.cs: Check for null values

svn path=/trunk/mcs/; revision=25920
2004-04-24 08:13:58 +00:00
Gonzalo Paniagua Javier 64490c7b36 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: fixed ComponentInfo.GetAttributes(). Now it returns
	all the attributes, not just DesignerAttribute instances. nGallery
	complained.

svn path=/trunk/mcs/; revision=25919
2004-04-24 04:04:54 +00:00
Gonzalo Paniagua Javier e707ebe894 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: MakeRelative was returning null for virtual paths without
	directory.

svn path=/trunk/mcs/; revision=25918
2004-04-24 03:46:04 +00:00
Vladimir Vukicevic 1c71ff6d78 * Commited patch from [email protected] (Bnehamin Jemlich) for
serialization for Bitmaps.  (Bugzilla #52568)

svn path=/trunk/mcs/; revision=25917
2004-04-24 02:38:30 +00:00
Gonzalo Paniagua Javier 19dcc66634 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* io-layer/socket-wrappers.h: _wapi_socket == WSASocket now. Added
	WSA_FLAG_OVERLAPPED.

	* io-layer/sockets.c: new unused parameters for _wapi_socket.

	* metadata/icall.c: added GetSupportsAsync for Socket (same as MonoIO).
	Added Poll internal call.

	* metadata/socket-io.[ch]: _wapi_socket == WSASocket. Added internal
	call for Poll. Select was too heavy for polling a single socket.

	* metadata/threadpool.[ch]: added mono_threadpool_cleanup.
	* metadata/threads.c: use it. Don't use Thread_Abort on windows.

svn path=/trunk/mono/; revision=25915
2004-04-24 02:03:49 +00:00
Gonzalo Paniagua Javier 5360b96f46 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
	Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
	when the socket is non-blocking before getting EWOULDBLOCK error.

svn path=/trunk/mcs/; revision=25914
2004-04-24 02:03:26 +00:00
Gonzalo Paniagua Javier 849f938123 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: avoid the exception when getting the content
	length if possible.

svn path=/trunk/mcs/; revision=25912
2004-04-24 01:23:49 +00:00
Gonzalo Paniagua Javier 717523d752 dum
svn path=/trunk/mcs/; revision=25911
2004-04-23 23:02:13 +00:00
Gonzalo Paniagua Javier 07e90dfa45 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
* FileStreamAsyncResult.cs: invoke the callback if set as completed
	before the asynchronous stuff jumps in.

svn path=/trunk/mcs/; revision=25910
2004-04-23 23:01:13 +00:00
Peter Dennis Bartok f87eede761 - GetLogicalDrives now returns "/" instead of null. Not the real fix but
an improvement.

svn path=/trunk/mcs/; revision=25909
2004-04-23 22:47:02 +00:00
Miguel de Icaza 5b35b9ac5f 2004-04-23 Miguel de Icaza <[email protected]>
* mini-ppc.c (ppc_patch): Replaced the branch code patching with a
	simpler mechanism: we do not care what is encoded initially
	(branch absolute or relative), we care about the code and its
	target.  I kept the old code for reference for now.

	The new code tries first to determine if the jump is anywhere in
	the -/+32 absolute meg range, if it succeeds, it encodes using the
	absolute branch;  If not, it tried to find something in the
	relative range, if not, it uses the handle_thunk code.

svn path=/trunk/mono/; revision=25908
2004-04-23 21:54:31 +00:00
Miguel de Icaza 8ec2526f70 Change BIND_ROOM to 4 for now
svn path=/trunk/mono/; revision=25907
2004-04-23 21:46:56 +00:00
Martin Baulig 079c004434 2004-04-23 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_lookup_assembly): New function.

svn path=/trunk/mono/; revision=25901
2004-04-23 20:17:07 +00:00
Peter Dennis Bartok 57fd8e6bb5 - Fixed RadioButton display
- Switched RadioButton to use System.Drawing instead of Wine for text
  output

svn path=/trunk/mcs/; revision=25898
2004-04-23 19:19:03 +00:00
Paolo Molaro 05c1123b49 Fri Apr 23 14:20:40 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: use the correct ip register on macosx.

svn path=/trunk/mono/; revision=25897
2004-04-23 17:42:29 +00:00
Miguel de Icaza a7c9431130 Improve test
svn path=/trunk/mcs/; revision=25896
2004-04-23 15:39:41 +00:00
Miguel de Icaza 6f0096570b 2004-04-23 Miguel de Icaza <[email protected]>
* convert.cs (ImplicitNumericConversion): 0 is also positive when
	converting from 0L to ulong.  Fixes 57522.

svn path=/trunk/mcs/; revision=25895
2004-04-23 15:38:08 +00:00
Sebastien Pouliot 01a3d70d9b 2004-04-23 Sebastien Pouliot <[email protected]>
* KeyPairPersistence.cs: Completed key pair protection for both
	Linux and Windows (protection done by runtime).

svn path=/trunk/mcs/; revision=25894
2004-04-23 15:04:13 +00:00
Sebastien Pouliot 79312b594e 2004-04-23 Sebastien Pouliot <[email protected]>
* Environment.cs: Better support for GetFolderPath (same results as MS
	on Windows).

svn path=/trunk/mcs/; revision=25893
2004-04-23 15:02:26 +00:00
Sebastien Pouliot 440bbf88f2 2004-04-23 Sebastien Pouliot <[email protected]>
* icall.c: Registred new icalls for key pair protection and added an
	icall for Environment.GetFolderPath on Windows.
	* security.c|h: Added new icalls for key pair protection.

svn path=/trunk/mono/; revision=25892
2004-04-23 14:58:44 +00:00
Anirban Bhattacharjee 6df028ddcc test cases for Array grammar
svn path=/trunk/mcs/; revision=25890
2004-04-23 14:52:25 +00:00
Anirban Bhattacharjee b1c52da8e1 * mb-parser.jay: Grammar changes for array
* expression.cs: exception number changed for "Incorrectly structured array initializer" exception

svn path=/trunk/mcs/; revision=25889
2004-04-23 14:49:00 +00:00
Paolo Molaro 9afc085798 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <[email protected]>
* mono-codeman.c: macosx pretends an argument (which is ignored)
	to be -1. Make sure the thunks area is zeroed.

svn path=/trunk/mono/; revision=25888
2004-04-23 14:27:47 +00:00
Ravindra 357b6eb952 Fixed ConvertTo method in Size/Point/Rectangle converters.
svn path=/trunk/mcs/; revision=25887
2004-04-23 13:48:35 +00:00
Ravindra 54b5de4118 Corrected few test failures in TestSizeConverter.cs, TestPointConverter.cs and TestRectangleConverter.cs tests.
svn path=/trunk/mcs/; revision=25886
2004-04-23 13:02:50 +00:00
Sanja Gupta a8f3d5bc5c ChangeLog: Updated ChangeLog
ImageAnimator.cs: Implemented CanAnimate() method

svn path=/trunk/mcs/; revision=25885
2004-04-23 11:48:28 +00:00
Umadevi S dba62a948c 2004-04-23 Umadevi S ([email protected])
* DataRow.cs - Added error conditions handling in Edit methods

svn path=/trunk/mcs/; revision=25884
2004-04-23 10:56:15 +00:00
Atsushi Eno 55f5240b53 2004-04-23 Atsushi Enomoto <[email protected]>
* ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
	  GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
	  OpCodes.cs, TypeBuilder.cs :
	  The fix should be easier ;)

svn path=/trunk/mcs/; revision=25883
2004-04-23 04:36:13 +00:00
Atsushi Eno 5fad7c3594 2004-04-23 Atsushi Enomoto <[email protected]>
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
	  The fix should be easier ;)

svn path=/trunk/mcs/; revision=25882
2004-04-23 04:35:37 +00:00
Atsushi Eno bd1e4b847d 2004-04-23 Atsushi Enomoto <[email protected]>
* ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
	  GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
	  OpCodes.cs, TypeBuilder.cs :
	  NET_2_0 related build fix.

svn path=/trunk/mcs/; revision=25881
2004-04-23 04:19:38 +00:00
Atsushi Eno 26b01be2d4 2004-04-23 Atsushi Enomoto <[email protected]>
* MethodBase.cs, MonoMethod.cs, TypeDelegator.cs :
	  NET_2_0 related build fix.

svn path=/trunk/mcs/; revision=25880
2004-04-23 04:18:45 +00:00
Martin Baulig cf2e617398 2004-04-22 Martin Baulig <[email protected]>
* profiles/net_1_2.make: Removed.
	* profiles/martin-generics.make: Remove.

svn path=/trunk/mcs/; revision=25879
2004-04-23 02:42:03 +00:00
Martin Baulig 84a08e67be 2004-04-22 Martin Baulig <[email protected]>
Use `#if NET_2_0 || BOOTSTRAP_2_0' for the generic reflection stuff.

svn path=/trunk/mcs/; revision=25878
2004-04-23 02:40:05 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Martin Baulig 84ce456dd2 Ooops.
svn path=/trunk/mcs/; revision=25876
2004-04-23 02:09:26 +00:00
Martin Baulig 26284401bf Small fix to make this compile with gmcs.
svn path=/trunk/mcs/; revision=25875
2004-04-23 02:08:07 +00:00
Sebastien Pouliot a1c09ac2c2 2004-04-22 Sebastien Pouliot <[email protected]>
* Tds70.cs: Updated to match changes in Mono.Security.dll.

svn path=/trunk/mcs/; revision=25874
2004-04-23 00:10:04 +00:00
Sebastien Pouliot f00550e867 2004-04-22 Sebastien Pouliot <[email protected]>
* cert2spc.cs: Updated to match changes in Mono.Security.dll. Better
	handling of files.
	* certmgr.cs: Updated to match changes in Mono.Security.dll.
	* signcode.cs: Updated to match changes in Mono.Security.dll.

svn path=/trunk/mcs/; revision=25873
2004-04-23 00:06:52 +00:00
César Natarén 18a3125849 add precedence.js tests
svn path=/trunk/mcs/; revision=25872
2004-04-22 23:27:30 +00:00
César Natarén 9850787186 test for operator's precedence
svn path=/trunk/mcs/; revision=25871
2004-04-22 23:26:43 +00:00
Miguel de Icaza 8f7d169fa9 2004-04-22 Miguel de Icaza <[email protected]>
* timed-thread.c: Replace sem_init with MONO_SEM_INIT to handle
	the fact that MacOS X is a piece of junk (sem_init is *defined* in
	the libc, but they return `not implemented').

svn path=/trunk/mono/; revision=25870
2004-04-22 21:05:37 +00:00
Sebastien Pouliot 93dd6ebe35 turning off CLS compliance because MCS reports three 3005 errors (works with CSC)
svn path=/trunk/mcs/; revision=25869
2004-04-22 20:35:21 +00:00
Sebastien Pouliot 9fcde97bac 2004-04-24 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Remove ITrustAnchors.cs and
	TrustAnchors.cs from build.

svn path=/trunk/mcs/; revision=25868
2004-04-22 20:23:54 +00:00
Sebastien Pouliot eab1929c35 2004-04-24 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Add ClsCompliant(true). Remove RequestOptional.

svn path=/trunk/mcs/; revision=25867
2004-04-22 20:21:47 +00:00
Sebastien Pouliot d172ad276f 2004-04-22 Sebastien Pouliot <[email protected]>
* SoftwarePublisherCertificateTest.cs: Ajusted to changes in the
	assembly.

svn path=/trunk/mcs/; revision=25866
2004-04-22 20:18:12 +00:00
Sebastien Pouliot db04455502 2004-04-22 Sebastien Pouliot <[email protected]>
* GcdBigTest.cs: Ajusted to changes in assembly.
	* ModInverseBigTest.cs: Ajusted to changes in assembly.
	* PrimeGenerationTest.cs: Ajusted to changes in assembly.
	* PrimeTestingTest.cs: Ajusted to changes in assembly.
	* SearchGeneratorTest.cs: Ajusted to changes in assembly.

svn path=/trunk/mcs/; revision=25865
2004-04-22 20:16:07 +00:00
Sebastien Pouliot f334080fc7 2004-04-22 Sebastien Pouliot <[email protected]>
* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
	* X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.

svn path=/trunk/mcs/; revision=25864
2004-04-22 20:10:23 +00:00
Sebastien Pouliot 09fd902624 2004-04-22 Sebastien Pouliot <[email protected]>
* TlsClientCertificateVerify.cs: Use Buffer.BlockCopy instead of
	Array.Copy.
	* TlsServerCertificate.cs: Changed KeyUsage to KeyUsages and CertType
	to CertTypes.

svn path=/trunk/mcs/; revision=25863
2004-04-22 20:07:56 +00:00
Sebastien Pouliot 9949ca5a4d 2004-04-22 Sebastien Pouliot <[email protected]>
* AuthorityKeyIdentifierExtension.cs: FxCop-ized.
	* BasicConstraintsExtension.cs: FxCop-ized. Added INSIDE_CORLIB.
	* CRLDistributionPointsExtension.cs: Added constructor for DP to
	remove compilation warnings.
	* CertificatePoliciesExtension.cs: Ajusted for changes in ASN1Convert.
	* ExtendedKeyUsageExtension.cs: Ajusted for changes in ASN1Convert.
	Added missing OID strings in ToString ().
	* KeyAttributesExtension.cs: FxCop-ized.
	* KeyUsageExtension.cs: FxCop-ized. Added INSIDE_CORLIB.
	* NetscapeCertTypeExtension.cs: FxCop-ized.
	* PrivateKeyUsagePeriodExtension.cs: FxCop-ized.
	* SubjectAltNameExtension.cs: FxCop-ized.
	* SubjectKeyIdentifierExtension.cs: FxCop-ized. Added INSIDE_CORLIB.

svn path=/trunk/mcs/; revision=25862
2004-04-22 19:58:36 +00:00
Sebastien Pouliot d286b81cce 2004-04-22 Sebastien Pouliot <[email protected]>
* PKCS12.cs: FxCop-ized. CLS compliance.
	* X501Name.cs: FxCop-ized.
	* X509Builder.cs: FxCop-ized. Replaced Array.Copy with
	Buffer.BlockCopy.
	* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
	* X509Certificate.cs: FxCop-ized. Replaced Array.Copy with
	Buffer.BlockCopy. Removed unused private method GetHash.
	* X509CertificateBuilder.cs: Ajusted with changes. Replaced
	Array.Copy with Buffer.BlockCopy.
	* X509CertificateCollection.cs: Added INSIDE_CORLIB as the class is
	shared with corlib assembly.
	* X509Chain.cs: FxCop-ized. Removed old ITrustAnchor support.
	* X509ChainStatusFlags.cs: Added missing [Flags].
	* X509Extension.cs: FxCop-ized. Added Equals, GetHashCode methods.
	* X509Extensions.cs: FxCop-ized. Sealed class, renamed to
	X509ExtensionCollection and inherit from CollectionBase. Added missing
	methods.
	* X509Store.cs: FxCop-ized.
	* X509StoreManager.cs: FxCop-ized. Sealed class.
	* X509Stores.cs: Added INSIDE_CORLIB as the class is shared with
	corlib assembly.

svn path=/trunk/mcs/; revision=25861
2004-04-22 19:52:15 +00:00
Sebastien Pouliot 8cf50bf204 2004-04-22 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: FxCop-ized.
	* NtlmFlags.cs: FxCop-ized. CLS compliance.
	* Type1Message.cs: FxCop-ized.
	* Type3Message.cs: FxCop-ized.

svn path=/trunk/mcs/; revision=25860
2004-04-22 19:40:34 +00:00
Sebastien Pouliot c1b45e5540 2004-04-22 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy.
	* CryptoTools.cs: FxCop-ized. Sealed KeyBuilder class. Delay creation
	of RNG object. Use Buffer.BlockCopy.
	* DiffieHellman.cs: FxCop-ized. Removed public constructor.
	* DiffieHellmanManaged.cs: FxCop-ized. Actualized with changes from
	BigInteger.
	* KeyPairPersistance.cs: FxCop-ized. Updated version for management
	of keypairs.
	* MD2Managed.cs: Use Buffer.BlockCopy instead of Array.Copy.
	* PKCS1.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy instead of
	Array.Copy. Also includes endian patches from Bernie Solomon.
	* PKCS8.cs: FxCop-ized. Sealed class.
	* RSAManaged.cs: FxCop-ized. Actualized with changes from BigInteger.
	* SymmetricTransform.cs: Use Buffer.BlockCopy instead of Array.Copy.

svn path=/trunk/mcs/; revision=25859
2004-04-22 19:33:27 +00:00
Sebastien Pouliot 24ab78f958 2004-04-22 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: FxCop-ized. CLS compliance. Also includes
	endian fixes from Bernie Solomon.
	* AuthenticodeDeformatter.cs: FxCop-ized. CLS compliance.
	* AuthenticodeFormatter.cs: FxCop-ized. CLS compliance.
	* PrivateKey.cs: Replaced Array.Copy with Buffer.BlockCopy.
	* SoftwarePublisherCertificate.cs: FxCop-ized.

svn path=/trunk/mcs/; revision=25858
2004-04-22 19:16:21 +00:00
Sebastien Pouliot b1cfae8dd0 2004-04-22 Sebastien Pouliot <[email protected]>
* ASN1.cs: FxCop-ized. CLS compliance.
	* ASN1Convert.cs: FxCop-ized. CLS compliance.
	* PKCS7.cs: FxCop-ized. CLS compliance.
 	* StrongName: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25857
2004-04-22 19:08:10 +00:00
Sebastien Pouliot 6e27215ddc 2004-04-22 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: FxCop-ized. CLS compliance.
	* PrimeGeneratorBase.cs: FxCop-ized. CLS compliance.
	* SequentialSearchPrimeGeneratorBase.cs: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25856
2004-04-22 19:04:08 +00:00
Sebastien Pouliot 98ea62808e 2004-04-22 Sebastien Pouliot <[email protected]>
* PrimalityTests.cs: FxCop-ized. CLS compliance. Removed local RNG.

svn path=/trunk/mcs/; revision=25855
2004-04-22 19:01:28 +00:00
Sebastien Pouliot cd4c8bf863 2004-04-22 Sebastien Pouliot <[email protected]>
* BigInteger.cs: FxCop-ized. CLS compliance.

svn path=/trunk/mcs/; revision=25854
2004-04-22 18:57:19 +00:00
Atsushi Eno edd32ac8b7 2004-04-22 Atsushi Enomoto <[email protected]>
All fixes are to make them pass under MS.NET 1.1.

	* ConstraintCollectionTest.cs : Fixed to pass under MS.NET 1.1.
	* DataRelationTest.cs : Creation4() never works.
	* DataSetInferXmlSchemaTest.cs :
	  Fixed xml9 test (relation count).
	  Some mappings were incorrectly specified int.
	  ConflictColumnTable() test incorrectly tested different columns.
	  Fixed exception type on ConflictExistingPrimaryKey().
	* DataSetReadXmlSchemaTest.cs :
	  Use fixed current culture.
	  Fixed exceptoin type on NestedReferenceNotAllowed().
	* DataSetReadXmlTest.cs :
	  InferSchema mode is said as to load rows.
	* DataSetTest.cs :
	  SqlGuid test depends on the runtime version.
	  In WriteDifferentNamespaceSchema(), we're going to set the same
	  order for namespaces (just for ease of tests).
	  Fixed many bugs on SerializeDataSet() test.
	* DataTableTest.cs :
	  Set culture only on NET_1_0. Culture difference causes exception
	  under .NET 1.1.
	  Don't depend on error message string (consider localization).
	  Under .NET 1.1, constraints looks also vanishes on table's Clear().
	* ForeignKeyConstraintTest.cs :
	  Ignore TestCtor5(). That does not work under .NET 1.1.
	  Fixed some exception type differences.

svn path=/trunk/mcs/; revision=25853
2004-04-22 18:04:31 +00:00
Gonzalo Paniagua Javier 4d198f784d Documented -main
svn path=/trunk/mono/; revision=25852
2004-04-22 17:08:18 +00:00
Jordi Mas i Hernandez f479764f0e adds gdi+ calls for two image methods
svn path=/trunk/mcs/; revision=25851
2004-04-22 17:05:28 +00:00
César Natarén a07d4dbe1e changelog entries
svn path=/trunk/mcs/; revision=25850
2004-04-22 17:01:15 +00:00
César Natarén 49dd80a182 updates from grammar changes
svn path=/trunk/mcs/; revision=25849
2004-04-22 16:57:55 +00:00
César Natarén a99aad7315 2004-04-22 Cesar Lopez Nataren <[email protected]>
* Literal.cs: emit the correct code for negative numbers.
	* jscript-lexer-parser.g: set parent unary_expr.

svn path=/trunk/mcs/; revision=25848
2004-04-22 16:57:24 +00:00
Paolo Molaro 6fe0e4a249 Thu Apr 22 13:23:16 EDT 2004 Paolo Molaro <[email protected]>
* exceptions.c, mini.c, mini-ppc.h: adapt code to macosx.

svn path=/trunk/mono/; revision=25847
2004-04-22 16:45:12 +00:00
Urs C. Muff 9f723040fe 2004-04-22 Urs C Muff <[email protected]>
move .net assemblies from $prefix/bin/*.exe to $prefix/lib/*.exe on windows/cygwin
        refactor .nsi to simply maintenance on script/batch generation
        * runtime/Makefile.am
        * script/Makefile.am
        * monowiz.win32.nsi

svn path=/trunk/mono/; revision=25846
2004-04-22 16:04:32 +00:00
Urs C. Muff 2b69682ce1 Remove some ? files that are generated
svn path=/trunk/mono/; revision=25845
2004-04-22 15:56:33 +00:00
Paolo Molaro ebeda466dc Thu Apr 22 18:08:37 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md: made the branch macros more flexible.
	Raise exception on integer divide by zero by hand since the hw
	doesn't support it. Handle NaNs in FP compares.

svn path=/trunk/mono/; revision=25844
2004-04-22 15:36:13 +00:00
Ravindra 5e75a6be3e Added TestPointConverter.cs, TestRectangleConverter.cs and TestSizeConverter.cs to the test sources list.
svn path=/trunk/mcs/; revision=25843
2004-04-22 15:27:24 +00:00
Lluis Sanchez d877095c15 * AppDomainSetupTest.cs: Changed again test 3 to test that the appdomain is
relative to the current dir, rather than the temp dir. I confirment that
	  this is how ms.net works.

svn path=/trunk/mcs/; revision=25842
2004-04-22 15:24:52 +00:00
Ravindra 14fbf18a13 Added tests for SizeConverter.cs and PointConverter.cs.
svn path=/trunk/mcs/; revision=25841
2004-04-22 15:24:11 +00:00
Lluis Sanchez 7a4ed1f95d * Activator.cs: Removed TODOs for finished methods.
* AppDomainSetup.cs: When setting a relative path to ApplicationBase, it
	  must be relative to the current directory, not the temp directory.
	  Implemented DynamicBase.
	* Convert.cs: No need to create a ToBase64Transform instance at every call
	  to ToBase64CharArray.
	* DateTime.cs: Implemented missing methods FromFileTimeUtc and
	  ToFileTimeUtc.
	* Decimal.cs: Implemented FromOACurrency and ToOACurrency.
	* Delegate.cs: Removed class TODO.
	* IntegerFormatter.cs: Use Char.IsLetter and Char.IsDigit instead of ad-hoc
	  methods.
	* Type.cs: Removed TODOs for things already implemented.

svn path=/trunk/mcs/; revision=25840
2004-04-22 15:23:11 +00:00
Marek Safar 71a6035aed 2004-04-22 Marek Safar <[email protected]>
* decl.cs (FindMemberToOverride): Fix wrong warning for case when
        derived class hides via 'new' keyword field from base class (test-242.cs).
        TODO: Handle this in the more general way.

	* class.cs (CheckBase): Ditto.

svn path=/trunk/mcs/; revision=25839
2004-04-22 15:22:32 +00:00
Gonzalo Paniagua Javier de10dec1d0 XSP 0.12
svn path=/trunk/mono/; revision=25837
2004-04-22 15:04:27 +00:00
Dick Porter c1ec0bdbd3 2004-04-22 Dick Porter <[email protected]>
* handles.c:
	* handles-private.h: Reference the handle when it is locked, so
	that another thread can't blow it away while we're waiting for it
	to become signalled.

	* wait.c:
	* timed-thread.c:
	* threads.c:
	* sockets.c:
	* semaphores.c:
	* mutexes.c:
	* mono-mutex.c:
	* io.c:
	* handles.c:
	* handles-private.h:
	* events.c:
	* error.c:
	* daemon-messages.c:
	* critical-sections.c:
	* atomic.c: Added pthreads cleanup handlers and error asserts

	* shared.c:
	* handles.c: Fixed the gcc "variable might be used uninitialised"
	warnings.  They can't happen, but gcc doesn't know that
	g_assert()s don't return.

	Fixed the declaration of _wapi_handle_process_kill() so that it
	expects the correct type for the pid.

	* threads.c: Removed the TLS_PTHREAD_MUTEX style locking that
	hasn't been used in ages and just made the code more complex.

svn path=/trunk/mono/; revision=25834
2004-04-22 14:37:44 +00:00
Ravindra 40b3380378 Added a test for RectangleConverter.cs.
svn path=/trunk/mcs/; revision=25833
2004-04-22 14:37:43 +00:00
Paolo Molaro 9147372044 Thu Apr 22 16:10:31 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c, mini-ppc.h, mini.c: simplified some
	code reducing duplication between the platforms and enabled
	signal exception handling (on linux for now).

svn path=/trunk/mono/; revision=25831
2004-04-22 13:49:57 +00:00
Miguel de Icaza 8bb47ab68c Flush
svn path=/trunk/mcs/; revision=25830
2004-04-22 13:13:10 +00:00
Raja R Harinath 797ebbd608 (test-compiler-jit-real): Simplify sed expression.
List compiler options in logfile.

svn path=/trunk/mcs/; revision=25829
2004-04-22 12:44:36 +00:00
Marek Safar bcdf5aa2b7 2004-04-12 Marek Safar <[email protected]>
* cs0109.cs: New test.

svn path=/trunk/mcs/; revision=25828
2004-04-22 12:26:08 +00:00
Marek Safar e8afd9bacc 2004-04-22 Marek Safar <[email protected]>
* Makefile: Add support for custom test compiler options.

	* test-242.cs: New test.

svn path=/trunk/mcs/; revision=25827
2004-04-22 12:20:22 +00:00
Juraj Skripsky ed5ada30fe 2004-04-22 Juraj Skripsky <[email protected]>
* Parser.jay: Allow computed expressions on left-hand side of
	"like" operator.
	Correct ordering for "is null" rule ("NOT IS NULL" => "IS NOT NULL").

svn path=/trunk/mcs/; revision=25826
2004-04-22 09:46:17 +00:00
Ravindra a30ba4c6bc Implemented RectangleConverter.cs and fixed ToString methods in Rectangle.cs and RectangleF.cs.
svn path=/trunk/mcs/; revision=25825
2004-04-22 09:12:12 +00:00
Ravindra ad15621af6 Implemented PointConverter.cs and some of the functions in SizeConverter.cs.
svn path=/trunk/mcs/; revision=25824
2004-04-22 09:07:28 +00:00
Jordi Mas i Hernandez 2645a7fdba fixes webpage formmating
svn path=/trunk/mono/; revision=25823
2004-04-22 09:05:37 +00:00
Atsushi Eno 2204c2602c 2004-04-22 Atsushi Enomoto <[email protected]>
* DataSetInferXmlSchemaTest.cs : Added ConflictExistingPrimaryKey().
	* DataSetReadXmlTest.cs : Added IgnoreSchemaShouldFillData().
	* DataSetTest.cs : Added IgnoreColumnEmptyNamespace() and
	  SerializeDataSet().

svn path=/trunk/mcs/; revision=25822
2004-04-22 08:54:40 +00:00
Atsushi Eno 7342531888 2004-04-22 Atsushi Enomoto <[email protected]>
* DataSet.cs : Data should be read when mode is IgnoreSchema (well,
	  the support is incomplete yet).
	* XmlDataLoader.cs :
	  Reverted ReadModeSchema() argument change. XmlReadMode would be
	  useful to handle IgnoreSchema.
	  Don't overwrite DataSetName when mode is not such kind.
	  Set Prefix and Namespace as well as DataSetName.
	  AllowDBNull looks set false by default for element column.
	  Set unique constraint as primary key when infering the table schema.

svn path=/trunk/mcs/; revision=25821
2004-04-22 08:48:45 +00:00
Raja R Harinath 047fb09b74 (test-compiler-jit-real): Create a test result log file
for all tests.

svn path=/trunk/mcs/; revision=25820
2004-04-22 08:29:08 +00:00
Anirban Bhattacharjee 1008654fd4 Test cases for Structure
svn path=/trunk/mcs/; revision=25819
2004-04-22 08:01:46 +00:00
Vladimir Vukicevic 6add7311fb * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
returning portions of the peek buffer back.  Fixes #57379.

svn path=/trunk/mcs/; revision=25818
2004-04-22 07:38:10 +00:00
Marek Safar dc7ec25ceb 2004-04-22 Marek Safar <[email protected]>
* decl.cs (caching_flags): New member for storing cached values
	as bit flags.
	(MemberCore.Flags): New enum where bit flags for caching_flags
	are defined.
	(MemberCore.cls_compliance): Moved to caching_flags.
	(DeclSpace.Created): Moved to caching_flags.

	* class.cs: Use caching_flags instead of DeclSpace.Created

svn path=/trunk/mcs/; revision=25816
2004-04-22 06:59:12 +00:00
Bernie Solomon 13ee1d477e * interp.c: reenable instruction tracing for DEBUG_INTERP
svn path=/trunk/mono/; revision=25815
2004-04-22 03:59:22 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Peter Dennis Bartok 818b02f357 - Now uses System.Drawing for drawing text in Label & Button
- Enabled font handling for Control

svn path=/trunk/mcs/; revision=25813
2004-04-22 03:06:51 +00:00
Gonzalo Paniagua Javier ddb3f5549f Removed unused fields
svn path=/trunk/mcs/; revision=25812
2004-04-22 03:02:16 +00:00
Bernie Solomon fad78e2aae 2004-04-21 Bernie Solomon <[email protected]>
* interp.h: put in space for old type field
	for PPC as tramp.c assumes it. Quick fix until that's fixed.

svn path=/trunk/mono/; revision=25811
2004-04-22 02:58:58 +00:00
Gonzalo Paniagua Javier 86aa6c34d5 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources:
	* System.Web.Util/FileAction.cs:
	* System.Web.Util/FileChangeEventHandler.cs:
	* System.Web.Util/FileChangedEventArgs.cs:
	* System.Web.Util/FileChangesMonitor.cs:
	* System.Web.Util/FilePathParser.cs: removed unused/obsolete files.

svn path=/trunk/mcs/; revision=25810
2004-04-22 02:50:28 +00:00
Gonzalo Paniagua Javier 6fc6d1e1a9 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: don't display the non-supported family warning for known
	families. Now this is not displayed on windows when checking support
	for IPv4/IPv6.

svn path=/trunk/mono/; revision=25809
2004-04-22 02:41:17 +00:00
Peter Dennis Bartok 1a56e392fc - Implemented Font.FromHfont method
svn path=/trunk/mcs/; revision=25807
2004-04-22 02:15:18 +00:00
Atsushi Eno 29ce0f9990 2004-04-22 Atsushi Enomoto <[email protected]>
* NewMonoXSD.cs : Added support for (ADO.NET based) xsd inference.
	  Changed command line usage to require /c for serialization class
	  generation, or /d for typed dataset generation (not supported yet).
	  Modified usage message due to the changes above.
	* Makefile : Added reference to System.Data.dll.

svn path=/trunk/mcs/; revision=25806
2004-04-22 01:45:37 +00:00
Gonzalo Paniagua Javier cea39e665c 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* UriBuilderTest.cs: added tests for bug #57082.

svn path=/trunk/mcs/; revision=25805
2004-04-22 01:03:12 +00:00
Gonzalo Paniagua Javier afbe0477f3 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* UriBuilder.cs: ignore empty Query. Fixes bug #57082.

svn path=/trunk/mcs/; revision=25804
2004-04-22 01:02:26 +00:00
Gonzalo Paniagua Javier a241bd4dfa 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* class.c: don't display the layout warning for static fields.

svn path=/trunk/mono/; revision=25803
2004-04-22 00:25:32 +00:00
Miguel de Icaza ac57fc6c86 2004-04-21 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.GetAccesor): Only perform the 1540 check
	if we are only a derived class, not a nested class.

	* typemanager.cs: Same as above, but do this at the MemberLookup
	level (used by field and methods, properties are handled in
	PropertyExpr).   Allow for the qualified access if we are a nested
	method.

svn path=/trunk/mcs/; revision=25802
2004-04-22 00:04:52 +00:00
Atsushi Eno 65911b5298 2004-04-22 Atsushi Enomoto <[email protected]>
* XmlEntityReference.cs : Added XPathNodeType (just for workaround).
	  This should really fix bug #57248.

svn path=/trunk/mcs/; revision=25800
2004-04-21 23:30:39 +00:00
Gonzalo Paniagua Javier 8426e37ab5 Fix the build on windows
svn path=/trunk/mcs/; revision=25799
2004-04-21 23:19:48 +00:00
Gonzalo Paniagua Javier 916f7a42f8 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed argument exception if the directory
	we're trying to watch does not exists.

svn path=/trunk/mcs/; revision=25798
2004-04-21 22:48:54 +00:00
Miguel de Icaza 9ee26ffbae Add
svn path=/trunk/mcs/; revision=25797
2004-04-21 22:41:38 +00:00
Lluis Sanchez 0cc0202ef8 * CaseInsensitiveHashCodeProvider.cs: If the culture is null, don't use
Char.ToLower(c,culture), since it does not accept null as culture.

svn path=/trunk/mcs/; revision=25795
2004-04-21 21:29:28 +00:00
Jackson Harper cf3f9a7220 * ILTokenizer.cs: Handle whitespace in hexbytes.
svn path=/trunk/mcs/; revision=25789
2004-04-21 17:47:25 +00:00
Jordi Mas i Hernandez bae9bd1444 new font methods and rectangleconverter wrapper
svn path=/trunk/mcs/; revision=25788
2004-04-21 17:03:37 +00:00
Paolo Molaro e153ee53e2 Wed Apr 21 12:27:48 EDT 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: more macosx support.

svn path=/trunk/mono/; revision=25787
2004-04-21 15:50:25 +00:00
Francisco Figueiredo Jr. 87b04a27a1 2004-04-21 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
	* Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
	* Npgsql/NpgsqlCommand.cs                                                       * Npgsql/NpgsqlCommand.resx                                                     * Npgsql/NpgsqlConnection.cs                                                    * Npgsql/NpgsqlConnection.resx                                                  * Npgsql/NpgsqlDataAdapter.cs                                                   * Npgsql/NpgsqlError.cs                                                         * Npgsql/NpgsqlException.cs                                                     * Npgsql/NpgsqlException.resx                                                   * Npgsql/NpgsqlMediator.cs                                                      * Npgsql/NpgsqlState.cs                                                         * Npgsql/NpgsqlState.resx                                                       * Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker ([email protected]) for the patch. NpgsqlException now gives aceess to error collection through the Errors property. This property return a collection of NpgsqlErrors objects. Also it gives access to error message, hint, severity and code. This fixes the feature request 689 in gborg.

svn path=/trunk/mcs/; revision=25786
2004-04-21 15:39:50 +00:00
Gonzalo Paniagua Javier 57c1476d93 xsp 0.11
svn path=/trunk/mono/; revision=25785
2004-04-21 15:36:22 +00:00
Lluis Sanchez 8d64f3240d * Char.cs: Implemented culture-dependent ToLower and ToUpper methods.
* MulticastDelegate.cs: Removed unused code.

svn path=/trunk/mcs/; revision=25784
2004-04-21 15:01:12 +00:00
Lluis Sanchez a6b03d63de * icall.cs: Registered new icalls for Char.ToLower and Char.ToUpper.
* locales.c, locales.h: Added new icalls for culture-specific Char.ToLower
	  and Char.ToUpper.

svn path=/trunk/mono/; revision=25782
2004-04-21 14:58:37 +00:00
Carlos Guzmán Álvarez 3a685ef746 Added a new class file
svn path=/trunk/mcs/; revision=25779
2004-04-21 14:32:03 +00:00
Carlos Guzmán Álvarez 1241791257 2004-04-21 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/DebugHelper.cs:

		- New class.

	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/SslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added debug capabilities.

	* Mono.Security.Protocol.Tls/ServerContext.cs:

		- Added initialization of requested CertificateTypes and CA's

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

		- Modfied exception handling

		- Added debug capabilities.


	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:

		- Modify SSL implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:

		- Initial implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Modfied exception handling

svn path=/trunk/mcs/; revision=25778
2004-04-21 14:31:11 +00:00
Atsushi Eno c7fca05bd2 2004-04-21 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  Never set null string for Prefix and Namespace.
	  In InferXmlSchema() when null XmlReader is passed, just do nothing.
	  In WriteXmlSchema(string), earlier try block.
	  In BuildSchema(), try to add serialization namespaces for each
	  namespaces in DataSet/DataTable/DataColumn.
	  Removed namespace argument from WriteColumnAsElement() and don't
	  overwrite when namespace is "". This fixes bug #57330.
	* DataColumn.cs : For Namespace and Prefix, never set null.

svn path=/trunk/mcs/; revision=25777
2004-04-21 14:06:26 +00:00
Paolo Molaro 6fa485e4cd Wed Apr 21 16:38:28 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.h, mini-ppc.c, cpu-g4.md: enable bigmul optimization.

svn path=/trunk/mono/; revision=25776
2004-04-21 14:01:49 +00:00
Lluis Sanchez a23b84c5df * BooleanConverter.cs: GetStandardValues must return an array of booleans,
not an array of strings.

svn path=/trunk/mcs/; revision=25775
2004-04-21 13:56:52 +00:00
Paolo Molaro d24f4a7397 Wed Apr 21 16:20:32 CEST 2004 Paolo Molaro <[email protected]>
* mini.h, mini-ppc.c, cpu-g4.md: support for implicit exceptions.

svn path=/trunk/mono/; revision=25774
2004-04-21 13:44:28 +00:00
Marek Safar f5c9bbba68 2004-04-21 Marek Safar <[email protected]>
* class.cs: Refactoring.
	(IMethodData): New inteface; Holds links to parent members
	to avoid member duplication (reduced memory allocation).
	(Method): Implemented IMethodData interface.
	(PropertyBase): New inner classes for get/set methods.
	(PropertyBase.PropertyMethod): Implemented IMethodData interface
	(Event): New inner classes for add/remove methods.
	(Event.DelegateMethod): Implemented IMethodData interface.

	* cs-parser.jay: Pass DeclSpace to Event class for creation of valid
	EmitContext (related to class.cs refactoring).

svn path=/trunk/mcs/; revision=25773
2004-04-21 12:32:56 +00:00
Boris Kirzner 3b6b481141 *XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref() before creating and adding foreign key constraint and relation.
svn path=/trunk/mcs/; revision=25772
2004-04-21 12:06:16 +00:00
Marek Safar 161717426e 2004-04-21 Marek Safar <[email protected]>
* test-238.cs,
	test-239.cs,
	test-239.cs: Tests for ObsoleteAttribute

svn path=/trunk/mcs/; revision=25771
2004-04-21 10:48:34 +00:00
Boris Kirzner 4ac3308211 * MergeManager.cs : In AdjustSchema() source table clone should be added and not the table itself.
svn path=/trunk/mcs/; revision=25769
2004-04-21 10:05:12 +00:00
Jordi Mas i Hernandez 6b90ca47cb updates SWF implementation details and installation instructions. Thanks to Peter for its help
svn path=/trunk/mono/; revision=25768
2004-04-21 10:03:41 +00:00
Gonzalo Paniagua Javier d20bb0558f 2004-04-21 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthenticationModule.cs: re-read configuration files if needed
	when determining if forms auth. is used.

svn path=/trunk/mcs/; revision=25767
2004-04-21 09:55:42 +00:00
Boris Kirzner 12d6be3dc6 * DataSet.cs :
- CaseSensitive : Additional fix (removed unnesessary assignment).
  - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.

svn path=/trunk/mcs/; revision=25766
2004-04-21 09:22:36 +00:00
Raja R Harinath 8a0ed3eeaa (test-compiler-jit-real): Create log files for failed
testcases.
(test-generic, test-2, test-unsafe-compiler-jit): Update.

svn path=/trunk/mcs/; revision=25765
2004-04-21 08:01:41 +00:00
Raja R Harinath 550e65d26a Test for #56442.
svn path=/trunk/mcs/; revision=25764
2004-04-21 07:48:42 +00:00
Raja R Harinath 71e8b0a51d (Delegate.VerifyApplicability): If the number of
arguments are the same as the number of parameters, first try to
verify applicability ignoring  any 'params' modifier on the last
parameter.
Fixes #56442.

svn path=/trunk/mcs/; revision=25763
2004-04-21 07:37:12 +00:00
Boris Kirzner f079a6227a DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
svn path=/trunk/mcs/; revision=25762
2004-04-21 06:32:21 +00:00
Ravindra dfe7356974 Added TestPens and TestBrushes to the test sources list.
svn path=/trunk/mcs/; revision=25761
2004-04-21 05:58:50 +00:00
Ravindra dcc7534bab Added test for Pens.cs class.
svn path=/trunk/mcs/; revision=25760
2004-04-21 05:33:51 +00:00
Ravindra c9b38dedec Added test for Brushes.cs class.
svn path=/trunk/mcs/; revision=25759
2004-04-21 05:32:32 +00:00
Gonzalo Paniagua Javier 169825846e use 'exec'
svn path=/trunk/mono/; revision=25757
2004-04-21 03:48:21 +00:00
Gonzalo Paniagua Javier 4f5c0c951c xsp 0.10 and mod_mono 0.8 released
svn path=/trunk/mono/; revision=25756
2004-04-21 03:47:43 +00:00
Gonzalo Paniagua Javier 1c800f71d8 2004-04-21 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: modify realpath when we reach the
	virtual root of the application.

svn path=/trunk/mcs/; revision=25748
2004-04-21 02:03:14 +00:00
Gonzalo Paniagua Javier 2a921acd08 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
* threads.c: the 2nd argument when aborting a thread is NULL now. Patch
	by David Waite.

svn path=/trunk/mono/; revision=25744
2004-04-20 20:57:25 +00:00
Jordi Mas i Hernandez 2a102aef65 new location of the wine stuff
svn path=/trunk/mcs/; revision=25743
2004-04-20 19:17:14 +00:00
Lluis Sanchez 2bce35182e * Queue.cs: Renamed internal membesr to match MS.NET (to allow serialization
interoperability). I also had to make some changes in the implementation:
	I added a field _tail that points at the first free position in the array, and
	changed the type of growFactor, which is now an int (its value is the old
	growFactor * 100).

svn path=/trunk/mcs/; revision=25742
2004-04-20 18:58:14 +00:00
Neale Ferguson 67df1371c4 Fix LMF handling for S/390 JIT
svn path=/trunk/mono/; revision=25741
2004-04-20 18:44:13 +00:00
Lluis Sanchez d1948fa79a * CodeGenerator.cs, ObjectReader.cs, ObjectWriter.cs: Serialize decimals
as strings, like in MS.NET. This fixes bug #57186.

svn path=/trunk/mcs/; revision=25740
2004-04-20 18:29:15 +00:00
Jordi Mas i Hernandez 141d3b8844 fixes sample was not running of .net
svn path=/trunk/mcs/; revision=25739
2004-04-20 18:14:39 +00:00
Lluis Sanchez 1ac535f2eb * TypeTranslator.cs: Mapped again anyUri, but now it is mapped to String.
* XmlSchemaImporter.cs: If a map was initially imported as a class, but it
	  turns out that it is an array, import it again as array. This fixes
	  bug #57133.

svn path=/trunk/mcs/; revision=25735
2004-04-20 16:38:53 +00:00
Boris Kirzner 00362947fe * DataTable.cs :
- EndLoadData() : perfomance fix in case of null constraint violation during data load (also in DataRow.cs).
  - CaseSensitive : If DataTable belongs to DataSet it should always use DataSet.CaseSensitive untill explicitly changed.
  - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.

* DataRow.cs :
  - Pefromance fix in case of null constraint violation during data load (also in DataTable.cs).
  - CollectionChanged() : use correct column number after new DataColumn was added (differs in case some DataColumn was previosly removed).
  - EndEdit() - throw away  proposed values only after CheckChildRows() complete.

svn path=/trunk/mcs/; revision=25734
2004-04-20 16:17:13 +00:00
Atsushi Eno 551710f275 2004-04-20 Atsushi Enomoto <[email protected]>
* DataSetInferXmlSchema.cs : added more 16 patterns.
	  (mostly fails as yet).
	* DataSetReadXmlTest.cs : Reverted yesterday's incorrect part.
	  As for XmlReadMode = Auto, data row should be read.
	* DataSetTest.cs : Added Namespace and Prefix tests.
	  Added WriteDifferentNamespaceSchema().

	  hmm... WriteXmlSchema() also needs more love :(

svn path=/trunk/mcs/; revision=25733
2004-04-20 16:03:13 +00:00
Martin Baulig 9a0e40108e 2004-04-20 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_lookup_type): Make a copy
	of the type name before passing it to mono_reflection_type_from_name().

svn path=/trunk/mono/; revision=25732
2004-04-20 15:53:40 +00:00
Boris Kirzner ebcb2433be DataColumnCollection.cs : Since unique constraint is added now
in DataColumn.SetTable() the additional creation of constraint in
DataColumnCollection.Add() is redundant and causes exception - fixed.

svn path=/trunk/mcs/; revision=25731
2004-04-20 15:44:16 +00:00
Gonzalo Paniagua Javier 3cca8848f5 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
* ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
	sets the file name.

	* ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
	loading sections.

	* NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
	attribute doesn't have a directory.

	Closes bug #57244.

svn path=/trunk/mcs/; revision=25728
2004-04-20 14:44:06 +00:00
Dick Porter 3d84d87096 Fix the build
svn path=/trunk/mono/; revision=25727
2004-04-20 14:34:28 +00:00
Juraj Skripsky 2ec8ac5258 2004-04-20 Juraj Skripsky <[email protected]>
* Tokenizer.cs (ReadNumber): Correctly consume decimal point
	when reading numbers. Fixes bug #57251.

svn path=/trunk/mcs/; revision=25726
2004-04-20 14:12:07 +00:00
Sebastien Pouliot 70f7f8c7fa 2004-04-20 Sebastien Pouliot <[email protected]>
* ASN1.cs: Added SaveToFile for easier debugging. Patch from
	Jesper Pedersen.

svn path=/trunk/mcs/; revision=25725
2004-04-20 12:36:32 +00:00
Sebastien Pouliot fe65b0ebfb 2004-04-20 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added AssemblyInfo.cs, Locale.cs and
	BitConverterLE.cs to build.

svn path=/trunk/mcs/; revision=25724
2004-04-20 12:31:15 +00:00
Sebastien Pouliot a29b7a29fc 2004-04-20 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Synched with corlib version to get endian fixes
	from Bernie Solomon.

svn path=/trunk/mcs/; revision=25723
2004-04-20 12:28:43 +00:00
Sebastien Pouliot 444c1db193 2004-04-20 Sebastien Pouliot <[email protected]>
* ASN1.cs: Added SaveToFile for easier debugging. Patch from
	Jesper Pedersen.
	* BitConverterLE.cs: New. Added Little-Endian BitConverter from
	Bernie Solomon to sync versions with corlib.
	* StrongName.cs: Synched with corlib version. Adds ECMA key fixes,
	endian fixes from Bernie Solomon and removed compilation warning.

svn path=/trunk/mcs/; revision=25722
2004-04-20 12:27:45 +00:00
Sebastien Pouliot 68f1bda3b4 2004-04-20 Sebastien Pouliot <[email protected]>
* NtlmFlags.cs: Changed enum to int for CLS compliance.

svn path=/trunk/mcs/; revision=25721
2004-04-20 12:24:24 +00:00
Sebastien Pouliot 439b1d7800 2004-04-20 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Copied and ajusted from System.Security.
	* Locale.cs: New. Copied (verbatim) from System.Security.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=25720
2004-04-20 12:17:29 +00:00
Atsushi Eno 0c2454195d 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlCharacterDataTests.cs : Added more tests for Substring().
	* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Added LoadEntityReference().

svn path=/trunk/mcs/; revision=25719
2004-04-20 12:13:21 +00:00
Atsushi Eno efbe5ce8d5 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
	  only an EntityReference (not navigatable) child. Bug #57248 fixed.
	* XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
	  instead of WriteAttributes() only for MS.NET behavior compatibility.
	  This change makes SgmlReader usable (due to SgmlReader bug).

svn path=/trunk/mcs/; revision=25718
2004-04-20 11:59:33 +00:00
Sebastien Pouliot bdf0d5a6dc 2004-04-20 Sebastien Pouliot <[email protected]>
* StrongName.cs: Removed compilation warning (unused variable).

svn path=/trunk/mcs/; revision=25717
2004-04-20 11:53:50 +00:00
Sebastien Pouliot 5d3bf03878 2004-04-20 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Don't fail on Windows for some contructor
	tests (in NET_1_1). Checking for Windows 2003 Server isn't enough as
	the domain must also be Windows 2003 Server based to work. Also skip
	the GetRolesViaReflection when running os POSIX systems.

svn path=/trunk/mcs/; revision=25716
2004-04-20 11:37:48 +00:00
Jordi Mas i Hernandez 018bbe09e7 Complete region test
svn path=/trunk/mcs/; revision=25714
2004-04-20 10:58:18 +00:00
Bernie Solomon eedf0bce72 2004-04-19 Bernie Solomon <[email protected]>
* Makefile.am:
	* interp.h:
	* interp.c: now interprets different VM code
	* mintops.h:
	* mintops.def:
	* mintops.c: definition of new VM code
	* transform.c: convert CIL to new VM code

svn path=/trunk/mono/; revision=25712
2004-04-20 05:18:35 +00:00
Zoltan Varga 9dcc6c8cbc 2004-04-19 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Handle different string
	encodings here. Fixes #56965.

svn path=/trunk/mono/; revision=25704
2004-04-19 21:11:02 +00:00
Ben Maurer a20a28cc9a 2004-04-19 Ben Maurer <[email protected]>
* iltests.il: more tests.

svn path=/trunk/mono/; revision=25702
2004-04-19 20:32:31 +00:00
Miguel de Icaza 51ddaa5c4e 2004-04-19 Miguel de Icaza <[email protected]>
* Syscall.cs: Use hex values for FileMode, since C# does not have
	an octal integer mode.

svn path=/trunk/mcs/; revision=25700
2004-04-19 20:09:02 +00:00
Todd Berman 5754c54f4e update my email
svn path=/trunk/mono/; revision=25699
2004-04-19 20:00:50 +00:00
Neale Ferguson 07b8473e29 Cleanup S/390 with .30/.31 changes
svn path=/trunk/mono/; revision=25698
2004-04-19 19:05:05 +00:00
Miguel de Icaza e41c95f108 remove astray char
svn path=/trunk/mono/; revision=25697
2004-04-19 18:47:17 +00:00
Zoltan Varga fe55f5b00b 2004-04-19 Zoltan Varga <[email protected]>
* mini-*.c (mono_arch_get_allocatable_int_vars): Skip written-only
	vars as well.

svn path=/trunk/mono/; revision=25696
2004-04-19 18:28:59 +00:00
David Waite 4ab56d97fc * image.c: load_metadata_ptrs changed to correctly increment past the
stream header in the case of unrecognised names
	* metadata.c: mono_metadata_encode_value changed to correctly handle
	  a value of exactly 16k. Also, the expression is changed to use the
	  same comparison and hex values for easier comprehension.

svn path=/trunk/mono/; revision=25695
2004-04-19 17:36:13 +00:00
Lluis Sanchez b370142742 * Assembly.cs: Removed TODO for CreateQualifiedName.
* AssemblyName.cs: Fixed serialization code.
	* AssemblyNameProxy.cs: Implemented.
	* Module.cs: Implemented GetMethod() methods, FindTypes() and GetObjectData.

svn path=/trunk/mcs/; revision=25694
2004-04-19 17:35:08 +00:00
Lluis Sanchez 0e4acbd71f * Comparer.cs: Made constructor public.
svn path=/trunk/mcs/; revision=25693
2004-04-19 17:32:23 +00:00
Lluis Sanchez c105610ceb * AppDomain.cs: Implemented DynamicDirectory and SetDynamicBase.
* Array.cs: Removed some TODOs in CreateInstance and IndexOf.
	* BadImageFormatException.cs: TODO reformat.
	* DateTime.cs: Implemented GetDateTimeFormats and GetDateTimeFormats.
	* DelegateSerializationHolder.cs: Made class internal.
	* Enum.cs: Removed TODO for localization, since this is something that has
	  to be done for all classes.
	* Environment.cs: Removed TODO.
	* Exception.cs: Changed ToString to use StringBuilder.
	* MonoDummy.cs: Made class internal.
	* UnitySerializationHolder.cs: Added support for modules.

svn path=/trunk/mcs/; revision=25692
2004-04-19 17:25:16 +00:00
Gonzalo Paniagua Javier 3917ace10c 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* System.Text.RegularExpressions/arch.cs:
	* System.Text.RegularExpressions/compiler.cs:
	* System.Text.RegularExpressions/interpreter.cs:
	* System.Text.RegularExpressions/parser.cs:
	* System.Text.RegularExpressions/syntax.cs:
	* Test/System.Text.RegularExpressions/PerlTrials.cs:
	Patch by Eric Durand Tremblay.
	1) Capture inner group when named.
	2) Resolved parse error caused by not capturing inner group
	3) Resolved incorrect capture group
	4) Now, not capturing anything when unnamed ( correct behavior)

svn path=/trunk/mcs/; revision=25691
2004-04-19 17:07:46 +00:00
Paolo Molaro 321774cc4d Mon Apr 19 19:39:47 CEST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: some fixes to bootstrap mcs/corlib/etc.

svn path=/trunk/mono/; revision=25690
2004-04-19 17:03:57 +00:00
Gonzalo Paniagua Javier c64b8ad0bf 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* PerlTrials.cs: unix line endings.

svn path=/trunk/mcs/; revision=25689
2004-04-19 16:56:13 +00:00
Gonzalo Paniagua Javier 2e689c7335 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* arch.cs:
	* compiler.cs:
	* interpreter.cs:
	* parser.cs:
	* syntax.cs: converted to unix line endings.

svn path=/trunk/mcs/; revision=25688
2004-04-19 16:54:36 +00:00
Sanja Gupta bae8c159bf ChangeLog: Updated ChangeLog
Icon.cs: Fixed problem in extracting Bitmap from Icon

svn path=/trunk/mcs/; revision=25685
2004-04-19 13:21:03 +00:00
Zoltan Varga 6cd93004ba 2004-04-19 Zoltan Varga <[email protected]>
* liveness.c: Mark variables as volatile in all basic blocks reachable
	from exception clauses.

svn path=/trunk/mono/; revision=25683
2004-04-19 10:38:25 +00:00
Atsushi Eno 4d70422bec 2004-04-19 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.

svn path=/trunk/mcs/; revision=25682
2004-04-19 10:09:45 +00:00
Atsushi Eno 74ae6b8bec 2004-04-19 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Added "never add data rows" mode.
	  Removed unused code. However, it is temporary fixes to unify
	  ReadXml() and InferXmlSchema().
	* DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.

	  I'll create another XmlDataLoader since there are many problems
	  such that 1) it is too waste to read the entire xml into an
	  XmlDocument, 2) it does not handle attributes correctly, and 3) it
	  must handle "ignored namespaces".

svn path=/trunk/mcs/; revision=25681
2004-04-19 10:06:54 +00:00
Atsushi Eno 5c45255f34 2004-04-19 Atsushi Enomoto <[email protected]>
* Added DataSetInferXmlSchemaTest.cs.
	* DataSetReadXmlTest.cs : Fixed test bogus. When ReadMode is
	  InferSchema, it should not load any data rows.
	* DataSetAssertion.cs : Added AssertDataSet() overroad that takes
	  relation count.

svn path=/trunk/mcs/; revision=25680
2004-04-19 10:06:06 +00:00
Atsushi Eno 8bc824bf78 2004-04-19 Atsushi Enomoto <[email protected]>
* region.xsd : To make sure that "msdata" prefix has nothing to do
	  with the actual "msdata namespace", modified namespace URI string.
	  (This modification never affects on the results under MS.NET.)
	* XmlDataDocumentTest.cs : Make sure Read2() loaded the table just fine.

svn path=/trunk/mcs/; revision=25679
2004-04-19 10:05:02 +00:00
Peter Dennis Bartok fa7e8e5e71 - Fixed to use proper graphics object for drawing the button background
svn path=/trunk/mcs/; revision=25678
2004-04-19 05:57:29 +00:00
Raja R Harinath c31d9e6e84 (%-recursive): Honor 'make -k'.
svn path=/trunk/mcs/; revision=25677
2004-04-19 04:33:25 +00:00
Atsushi Eno 61b577f5b5 2004-04-19 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : Added XmlSchemaDataImporter.cs

svn path=/trunk/mcs/; revision=25674
2004-04-19 02:26:18 +00:00
Atsushi Eno c57d2819be 2004-04-19 Atsushi Enomoto <[email protected]>
* Added XmlSchemaDataImporter.cs (new schema reader).
	* DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
	  for ReadXmlSchema().
	  Let schema reading work to ReadXmlSchema().
	  Don't return ReadSchema when argument read mode was DiffGram.

svn path=/trunk/mcs/; revision=25673
2004-04-19 02:25:47 +00:00
Atsushi Eno d2e97ea2dd 2004-04-19 Atsushi Enomoto <[email protected]>
* Added missing ChangeLog entry.
	* ConstraintCollectionTest.cs :
	  Ignore some tests that should fail (They also fail under MS.NET).
	* DataSetReadXmlSchemaTest.cs :
	  - Added SingleElementTreatmentDifference() and PrefixedTargetNS().
	  - Modified UnusedComplexTypesInored() to make sure DataSetName is set.
	  - Renamed DataSetElementCannotBeReferenced() to
	    NestedReferenceNotAllowed().
	  - Modified ReadElemAttrPattern() to LocaleOnRootWithoutIsDataSet()
	    to test msdata:Locale.
	* DataSetTest.cs : Due to mcs bug #57200, csc does not allow
	  System.Type.GetType(), so modified them all.

svn path=/trunk/mcs/; revision=25672
2004-04-19 02:15:35 +00:00
Gonzalo Paniagua Javier 7a98da2455 2004-04-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fixed MakeRelative. nGallery goes one step further.

svn path=/trunk/mcs/; revision=25671
2004-04-18 22:01:21 +00:00
Dennis Hayes fe3bfe1bf1 fixed compiler warning
svn path=/trunk/mcs/; revision=25669
2004-04-18 19:35:08 +00:00
Zoltan Varga a11233a5bf 2004-04-18 Zoltan Varga <[email protected]>
* exceptions.cs (test_0_rethow_stacktrace): Make this work with
	inlining.

svn path=/trunk/mono/; revision=25668
2004-04-18 17:44:28 +00:00
Bernie Solomon 5f6eb86e74 2004-04-18 Bernie Solomon <[email protected]>
* icall.c (ves_icall_System_Text_Encoding_InternalCodePage):
	fix test on strstr result not that I can see anything that
	relies on the result.

svn path=/trunk/mono/; revision=25667
2004-04-18 16:12:13 +00:00
Ben Maurer 244a80c8e5 2004-04-18 Ben Maurer <[email protected]>
* iltests.il, basic.cs: more tests for regalloc.

svn path=/trunk/mono/; revision=25666
2004-04-18 16:00:47 +00:00
Zoltan Varga 2a861ac62c 2004-04-18 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs marshal4.cs Makefile.am: Add more tests for
	marshalling delegate fields in structs. Merge marshal4.cs into
	pinvoke2.cs.

svn path=/trunk/mono/; revision=25665
2004-04-18 13:35:07 +00:00
Zoltan Varga acacf92c68 2004-04-18 Zoltan Varga <[email protected]>
* metadata.c (mono_type_to_unmanaged): Handle MONO_NATIVE_FUNC as well.
	Fixes #57081.

svn path=/trunk/mono/; revision=25664
2004-04-18 13:22:38 +00:00
Zoltan Varga 5213ed7404 2004-04-18 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add more tests for unicode marshalling.

svn path=/trunk/mono/; revision=25663
2004-04-18 13:04:46 +00:00
Zoltan Varga 9be40a7311 2004-04-18 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_string_encoding): New helper function.

	* marshal.c (mono_marshal_get_native_wrapper): Use the new helper
	function to determine which marshalling to use for strings. Fixes
	#56965.

	* marshal.c (mono_marshal_string_array_to_unicode): Fix warning.

svn path=/trunk/mono/; revision=25662
2004-04-18 13:01:30 +00:00
Zoltan Varga 6e60562552 2004-04-18 Zoltan Varga <[email protected]>
* reflection.c (encode_marshal_blob): Add support for LPARRAY.

svn path=/trunk/mono/; revision=25661
2004-04-18 12:58:22 +00:00
Jordi Mas i Hernandez f4fb68e6b3 lamespec doc for rectangle
svn path=/trunk/mcs/; revision=25659
2004-04-18 11:18:56 +00:00
Alon Gazit 09c0ac42ad fixed InstantiateItem() and DataSource property.
The change in DataSource prevents throwing ArgumentException while
setting property value to null.
The change in InstantiateItem() prevents NullReferenceException.

svn path=/trunk/mcs/; revision=25658
2004-04-18 07:39:27 +00:00
César Natarén a1b58b27bc 2004-04-18 Cesar Lopez Nataren <[email protected]>
* expression.cs: added code generation for 'x1 ? x2 :x3' op.

svn path=/trunk/mcs/; revision=25657
2004-04-18 07:23:06 +00:00
César Natarén 3b78aef4b7 added iteration-stmts
svn path=/trunk/mcs/; revision=25655
2004-04-18 05:02:50 +00:00
César Natarén 12e268e5ba 2004-04-18 Cesar Lopez Nataren <[email protected]>
* Statement.cs: Added code generation for while and do-while.

svn path=/trunk/mcs/; revision=25654
2004-04-18 04:30:27 +00:00
César Natarén 33298e8111 added tests for while and do-while statements.
svn path=/trunk/mcs/; revision=25653
2004-04-18 04:25:48 +00:00
Dennis Hayes 5074d95ddd current mono code at top, commented out work in progress code below. Jujst gets some stuff under version control
svn path=/trunk/mcs/; revision=25652
2004-04-18 03:27:43 +00:00
Dennis Hayes 85899ff8bc Added Mainsoft java code, lots of todos where the code has not been completly translated.
* LateBinding.cs
 	* Utils.cs
	* StringType.cs

svn path=/trunk/mcs/; revision=25650
2004-04-18 03:15:35 +00:00
César Natarén 3365f39899 2004-04-17 Cesar Lopez Nataren <[email protected]>
* Statement.cs (class if): reimplemented Emit based on fall_false.
	* Equality.cs: added code generation for != and emit jumping code
	only in the case we are at a global expression not statement.
	* CodeGenerator.cs (fall_true, fall_false): Check if convertion to
	boolean needed. Made emit_to_boolean internal. Added need_convert_to_boolean.

svn path=/trunk/mcs/; revision=25649
2004-04-18 03:15:05 +00:00
Dennis Hayes 2242752246 Removed extra parameter from StrCmp
added check for null to Len(string)
	
	* Strings.cs

svn path=/trunk/mcs/; revision=25648
2004-04-18 03:11:41 +00:00
Ben Maurer 3581897215 2004-04-17 Ben Maurer <[email protected]>
* iltests.il: Some tests for register allocation modifications
	I have locally.

svn path=/trunk/mono/; revision=25642
2004-04-17 17:01:33 +00:00
Zoltan Varga aa582516cd 2004-04-17 Zoltan Varga <[email protected]>
* processes.c: Include <signal.h> for SIGKILL and SIGILL + fix some
	warnings. Fixes #57168.

svn path=/trunk/mono/; revision=25641
2004-04-17 14:22:56 +00:00
Anirban Bhattacharjee f2d00638fd * mb-parser.jay:
* class.cs:
        * const.cs
                a little better structure grammar

svn path=/trunk/mcs/; revision=25640
2004-04-17 08:03:20 +00:00
Martin Baulig abc2c0c9c5 Don't fuck with the locks here.
svn path=/trunk/mono/; revision=25637
2004-04-17 02:41:57 +00:00
Lluis Sanchez 62438a9912 * TypeDescriptorTests.cs: Added new tests for TypeDescriptor.
* System_test.dll.sources: Added
		System.ComponentModel/TypeDescriptorTests.cs.

svn path=/trunk/mcs/; revision=25617
2004-04-16 18:24:43 +00:00
Lluis Sanchez 13e6c4c423 2004-04-16 Lluis Sanchez Gual <[email protected]>
* ReflectionPropertyDescriptor.cs: Access internal PropertyInfo through
	GetPropertyInfo(). Take into account that a component may not be sited or
	not have some services.
	* TypeDescriptor.cs: GetTypeFromName():  Added null check for Site property.
	Other minor fixes.

2004-04-16	Joerg Rosenkranz <[email protected]>

	* TypeDescriptor.cs: Fixed implementation of GetConverter.
	  This fixes #57137.

svn path=/trunk/mcs/; revision=25616
2004-04-16 18:22:14 +00:00
Jordi Mas i Hernandez 1b602d73d1 region test. Part completed
svn path=/trunk/mcs/; revision=25613
2004-04-16 17:54:34 +00:00
Atsushi Eno 03d8c1c700 2004-04-16 Atsushi Enomoto <[email protected]>
* DataSetAssertion.cs : Added AssertDataColumn().
	* DataSetReadXmlSchemaTest.cs : Added more strange cases.

svn path=/trunk/mcs/; revision=25612
2004-04-16 17:32:23 +00:00
Carlos Guzmán Álvarez 02d2d05cfb 2004-04-16 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsException.cs:

		- Make it public until npgsql people can fix their sources.

2004-04-15 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25610
2004-04-16 15:41:01 +00:00
Carlos Guzmán Álvarez f70ffed67b 2004-04-16 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsException.cs:

		- Make it public until npgsql people can fix their sources.

2004-04-15 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25609
2004-04-16 15:24:01 +00:00
Miguel de Icaza 6a34b68211 Up
svn path=/trunk/mono/; revision=25608
2004-04-16 15:23:02 +00:00
Dick Porter e6fe202cba 2004-04-16 Dick Porter <[email protected]>
* threads.c (Sleep): Using div(3) with a negative (when signed)
	numerator causes the quotient to be 0 and the remainder to be the
	numerator.  This feeds a small negative value to nanosleep(3),
	which will return immediately and cause a busy wait.  Fixes bug
	56351.

svn path=/trunk/mono/; revision=25603
2004-04-16 11:42:04 +00:00
Raja R Harinath 8614d2ee2a Test for #56300.
svn path=/trunk/mcs/; revision=25599
2004-04-16 11:11:29 +00:00
Raja R Harinath 7e44a6599d (TypeContainer.AddIndexer): Use
'ExplicitInterfaceName' to determine if interface name was
explicitly specified.  'InterfaceType' is not initialized at this time.
(TypeContainer.DefineIndexers): Remove use of temporary list.  The
Indexers array is already in the required order.  Initialize
'IndexerName' only if there are normal indexers.
(TypeContainer.DoDefineMembers): Don't initialize IndexerName.
(TypeContainer.Emit): Emit DefaultMember attribute only if
IndexerName is initialized.
Fixes #56300.

svn path=/trunk/mcs/; revision=25598
2004-04-16 11:11:08 +00:00
Gonzalo Paniagua Javier 87a82df5c4 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: only pass the async flag set to true when opening the
	file and AIO is supported by the underlying system. Fixes bug #56883.

svn path=/trunk/mcs/; revision=25597
2004-04-16 10:53:06 +00:00
Lluis Sanchez 3631cd3d34 * TcpClientChannel.cs: Initialize the sink provider in the default
constructor.

svn path=/trunk/mcs/; revision=25596
2004-04-16 10:17:25 +00:00
Ravindra 6d729d47ec Minor fixes to Pen.cs, Pens.cs, Solidbrush.cs and coding style/cosmetic changes to Brushes.cs SystemBrushes.cs SystemPens.cs.
svn path=/trunk/mcs/; revision=25595
2004-04-16 10:06:57 +00:00
Zoltan Varga 9bc23d5486 2004-04-16 Zoltan Varga <[email protected]>
* exceptions.cs: Add regression test for bug #56782.

svn path=/trunk/mono/; revision=25594
2004-04-16 09:51:42 +00:00
Anirban Bhattacharjee e62904ed4a few module related test cases
svn path=/trunk/mcs/; revision=25593
2004-04-16 09:51:25 +00:00
Zoltan Varga 2970d8aef7 2004-04-16 Zoltan Varga <[email protected]>
* exceptions-*.c (mono_arch_handle_exception): Do not overwrite the
	original stack trace if an exception is rethrown. Fixes #56782. Oh,
	the beauty of fixing the same thing in 5 different files...

svn path=/trunk/mono/; revision=25592
2004-04-16 09:51:05 +00:00
Gonzalo Paniagua Javier 0ad6482f3a 2004-04-16 David Sheldon <[email protected]>
* DecimalFormatter.cs: Don't append a decimal point after the
    end of a number. ((decimal)1).ToString("P0") should be "100 %", not
    "100. %"

svn path=/trunk/mcs/; revision=25591
2004-04-16 09:47:57 +00:00
Anirban Bhattacharjee 19fb2987ef * mb-parser.jay: few clean-ups
svn path=/trunk/mcs/; revision=25590
2004-04-16 09:32:00 +00:00
Anirban Bhattacharjee f6bacc8ae3 * class.cs: Duplicate entry point exception number changed
Checked delaration of Types, fields, methods as Protected if they are member of Module type
        * const.cs: Checked delaration of constructor as Protected if it is member of Module type
        * driver.cs: exception number is changed for "Entry point does not exist" exception

svn path=/trunk/mcs/; revision=25589
2004-04-16 08:57:19 +00:00
Ravindra f0c3fead2b Adding TestSystemPens.cs to the test sources list.
svn path=/trunk/mcs/; revision=25588
2004-04-16 06:03:36 +00:00
Ravindra e3d01e4336 Added tests for SystemPens.cs.
svn path=/trunk/mcs/; revision=25587
2004-04-16 06:01:13 +00:00
Gonzalo Paniagua Javier 93996eb4ff 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: return null in HtmlDecode for null input instead of
	throwing an exception. Patch by Jan Jaros (bug #57083).

svn path=/trunk/mcs/; revision=25586
2004-04-16 05:25:28 +00:00
Gonzalo Paniagua Javier 876e05bb03 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
* Cache.cs: fix from Jan Jaros for NullRef (bug #56996).

svn path=/trunk/mcs/; revision=25583
2004-04-16 04:51:44 +00:00
Miguel de Icaza 07f37d6831 Flush
svn path=/trunk/mono/; revision=25579
2004-04-16 03:05:41 +00:00
Jean-Marc Andre 0c66a0d168 2004-04-15 Jean-Marc Andre <[email protected]>
* SoapFormatter.cs, SoapWriter.cs, SoapReader.cs, SoapTypeMapper.cs:
		Some parts of the code have been rewritten to make it easier
		to understand and maintain.
		AssemblyFormat and TypeFormat are implemented.
	* ISoapParser.cs, ISoapReader.cs, ISoapWriter.cs, SoapCommon.cs,
	ObjectReader.cs, ObjectWriter.cs, SoapParser.cs, SoapTypeMapping.cs:
		Removed for the same reasons as above.
	* SerializationTest.cs:
		New unit test.

svn path=/trunk/mcs/; revision=25570
2004-04-15 21:48:37 +00:00
Carlos Guzmán Álvarez adcd6d1dfd 2004-04-15 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25568
2004-04-15 20:13:35 +00:00
Bernie Solomon ac827bc84a 2004-04-15 Bernie Solomon <[email protected]>
* icall.c: #include mono-config.h

svn path=/trunk/mono/; revision=25562
2004-04-15 18:08:12 +00:00
Zoltan Varga d0176a39cf 2004-04-15 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Do not compute coverage for inlined
	methods.

svn path=/trunk/mono/; revision=25561
2004-04-15 17:53:50 +00:00
Carlos Guzmán Álvarez 3c2d31f2e0 2004-04-15 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Alert.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/TlsException.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Reworked Alert and Exception (TlsException) handling.

	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:

		- Added new CertificateRSA property.

	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:

		- Added two new methods: CreateSignature and VerifySignature.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Added Ssl3 implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:

		- Added initial implementation.

svn path=/trunk/mcs/; revision=25558
2004-04-15 16:43:07 +00:00
Lluis Sanchez eb342fa1b2 * XmlSchemaExporter.cs: When checking if a map has been exported or not,
don't use type name for array types, since we can have different classes
	  that represent the same array type (for example StringCollection and
	  string[]).

svn path=/trunk/mcs/; revision=25557
2004-04-15 16:08:12 +00:00
Jackson Harper 050dfada09 * culture-info-tables.h: Fix date formats for en-US culture.
svn path=/trunk/mono/; revision=25556
2004-04-15 15:49:17 +00:00
Paolo Molaro 4a4717ec5b Remove references to the docs which were moved to another dir.
svn path=/trunk/mono/; revision=25554
2004-04-15 15:19:01 +00:00
Dick Porter f8e1afbeba 2004-04-15 Dick Porter <[email protected]>
* io-private.h:
	* io.c: Rewrite FindFirstFile and FindNextFile using scandir(3)
	and fnmatch(3) instead of glob(3).  glob() can't cope with being
	given filenames containing metachars.  This fixes bug 40557.

svn path=/trunk/mono/; revision=25553
2004-04-15 14:50:08 +00:00
Lluis Sanchez 74276c5768 * ThreadPool.cs: Added GetMinThreads and SetMinThreads.
* Timer.cs: In Change, return false if the timer has been disposed.
	In Dispose, notify the WaitHandle.

svn path=/trunk/mcs/; revision=25552
2004-04-15 14:40:58 +00:00
Lluis Sanchez be788d7bda * icall.c: Registered icalls for ThreadPool.GetMinThreads and
ThreadPool.SetMinThreads.
	* threadpool.c: Implemented ThreadPool.GetMinThreads and
	ThreadPool.SetMinThreads.

svn path=/trunk/mono/; revision=25551
2004-04-15 14:37:39 +00:00
Bernie Solomon c831dae7b8 2004-04-15 Bernie Solomon <[email protected]>
Somehow missed my ChangeLog change of 2004-04-08

svn path=/trunk/mcs/; revision=25550
2004-04-15 14:36:07 +00:00
Jordi Mas i Hernandez 5322e7d552 fixes typo
svn path=/trunk/mcs/; revision=25549
2004-04-15 14:21:43 +00:00
Jordi Mas i Hernandez eeb87c2406 makes sample cleaner and nicer
svn path=/trunk/mcs/; revision=25548
2004-04-15 14:13:41 +00:00
Benjamin Jemlich dc5962e08c 2004-04-15 Benjamin Jemlich <[email protected]>
* enum.cs (Enum.DefineType): Don't allow char as type for enum.
Fixes #57007

svn path=/trunk/mcs/; revision=25547
2004-04-15 14:07:59 +00:00
Paolo Molaro 15bb92c23c Thu Apr 15 15:36:40 CEST 2004 Paolo Molaro <[email protected]>
* mono-config.c: also load the .config file in the directory
	where the assembly was found.

svn path=/trunk/mono/; revision=25546
2004-04-15 13:01:59 +00:00
Paolo Molaro fc212678dc Remove meaningless call.
svn path=/trunk/mono/; revision=25542
2004-04-15 11:58:01 +00:00
Paolo Molaro 1bb6df0047 Thu Apr 15 14:24:49 CEST 2004 Paolo Molaro <[email protected]>
* assembly.c: load per-assembly config files.
	* icall.c: decrapified code to get the config dir and moved to
	mono-config.c.
	* image.h, loader.c, loader.h, mono-config.c, mono-config.h: allow
	per-assembly config files. When doing a dll map lookup give precedence
	to the per-assembly data.

svn path=/trunk/mono/; revision=25541
2004-04-15 11:57:16 +00:00
Sanja Gupta d25daeeb62 ChangeLog: Updated ChangeLog
Icon.cs: Added more missing bits and fixed the problem of Icon not getting
saved in proper format.

svn path=/trunk/mcs/; revision=25540
2004-04-15 11:28:27 +00:00
Umadevi S c14781362b 2004-04-15 Umadevi S ([email protected])
* Copy/Clone methods in DataSet
		* ForeignKeyConstraint - implemented ctor in which datatable name is given.

svn path=/trunk/mcs/; revision=25539
2004-04-15 11:17:30 +00:00
Anirban Bhattacharjee 1d24bdfaaf * mb-parser.jay: Classes can't be delared static impicitly as other module members
svn path=/trunk/mcs/; revision=25538
2004-04-15 11:03:23 +00:00
Umadevi S 1467f74a71 2004-04-15 Umadevi S ([email protected])
* ForeignKeyConstraintTest - constructor testing,
		* DataSet - test for Clone and Copy methods.

svn path=/trunk/mcs/; revision=25537
2004-04-15 10:50:14 +00:00
Anirban Bhattacharjee 23cb2ac333 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
svn path=/trunk/mcs/; revision=25536
2004-04-15 08:37:30 +00:00
Atsushi Eno b2f2f990c7 2004-04-15 Atsushi Enomoto <[email protected]>
* XmlSchemaMapper.cs : set parent key and foreign key info to
	  DataRelation when reading refkey constraints.
	  Supply constraint name for fkey.

svn path=/trunk/mcs/; revision=25535
2004-04-15 06:50:33 +00:00
Atsushi Eno 6f5ad15df1 2004-04-15 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources :
	  added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.

svn path=/trunk/mcs/; revision=25534
2004-04-15 06:48:32 +00:00
Atsushi Eno e30a8707c7 2004-04-15 Atsushi Enomoto <[email protected]>
* Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
	* DataSetReadXmlTest.cs : separate assertion methods into
	  DataSetAssertion.cs. Added label argument to AssertDataTable.

svn path=/trunk/mcs/; revision=25533
2004-04-15 06:48:09 +00:00
Raja R Harinath d4383ca4a8 * attribute.cs (Attribute.CheckAttributeType): Check for ambiguous
attributes.
Fix for #56456.

* attribute.cs (Attribute.Resolve): Check for duplicate named
attributes.
Fix for #56463.

svn path=/trunk/mcs/; revision=25532
2004-04-15 05:06:55 +00:00
Jackson Harper 8c145e73fb * ILParser.jay: Correct args for version numbers.
svn path=/trunk/mcs/; revision=25531
2004-04-15 04:54:49 +00:00
Miguel de Icaza 5a5223c626 2004-04-15 Miguel de Icaza <[email protected]>
* iterators.cs (MarkYield): track whether we are in an exception,
	and generate code accordingly.  Use a temporary value to store the
	result for our state.

	I had ignored a bit the interaction of try/catch with iterators
	since their behavior was not entirely obvious, but now it is
	possible to verify that our behavior is the same as MS .NET 2.0

	Fixes 54814

svn path=/trunk/mcs/; revision=25530
2004-04-15 04:18:51 +00:00
Miguel de Icaza 36e6f962c7 2004-04-14 Miguel de Icaza <[email protected]>
* iterators.cs: Avoid creating temporaries if there is no work to
	do.

	* expression.cs (ArrayAccess.EmitLoadOpcode): If dealing with
	Enumerations, use TypeManager.EnumToUnderlying and call
	recursively.

svn path=/trunk/mcs/; revision=25529
2004-04-15 03:13:00 +00:00
Atsushi Eno 15330f784e 2004-04-15 Atsushi Enomoto <[email protected]>
* XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
	  mode is Auto, just ignore the schema if there is already schema info.
	* DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.

svn path=/trunk/mcs/; revision=25528
2004-04-15 02:33:19 +00:00
Atsushi Eno 164503969f 2004-04-15 Atsushi Enomoto <[email protected]>
* DataSetReadXmlTest.cs : Tests were incorrect. They should be done
	  against new dataset. So just added another sequential read tests.

svn path=/trunk/mcs/; revision=25527
2004-04-15 02:28:42 +00:00
Martin Baulig 61b17c5ef5 2004-04-14 Martin Baulig <[email protected]>
* mono-debug-debugger.h (MonoDebuggerEvent): Removed
	MONO_DEBUGGER_EVENT_TYPE_ADDED and MONO_DEBUGGER_EVENT_METHOD_ADDED
	and added MONO_DEBUGGER_EVENT_RELOAD_SYMTABS.

	* mono-debugger-debugger.c: While the debugger is locked, remember
	whether the symbol tables have changes and send one single
	MONO_DEBUGGER_EVENT_RELOAD_SYMTABS when releasing the lock.

svn path=/trunk/mono/; revision=25526
2004-04-15 01:50:04 +00:00
César Natarén ada55037a4 2004-04-14 Cesar Lopez Nataren <[email protected]>
* Added log-ops.js, we'll be adding all sort of test for logic
	operators here.

svn path=/trunk/mcs/; revision=25518
2004-04-15 00:10:01 +00:00
César Natarén 624b89da10 ChangeLog entry
svn path=/trunk/mcs/; revision=25517
2004-04-15 00:07:55 +00:00
César Natarén b6f22ba295 2004-04-14 Cesar Lopez Nataren <[email protected]>
* expression.cs (Binary.Emit): treat boolean operator
	specially. Added emit_jumping_code.
	* CodeGenerator.cs: Added emit_to_boolean. Added fall_true and
	fall_false, which will express all boolean expressions and control
	flow conditions.

svn path=/trunk/mcs/; revision=25514
2004-04-14 23:57:22 +00:00
Miguel de Icaza 1843180aa8 Large iterator refactoring, needed for some changes in the anonymous methods
support.   What started as an innocent 10-line patch turned into a big
witch hunt.

2004-04-14  Miguel de Icaza  <[email protected]>

	* expression.cs (This.Emit): Use EmitContext.EmitThis to emit our
	instance variable.

	(This.EmitAssign): Ditto.

	* ecore.cs (FieldExpr.Emit): Remove RemapToProxy special
	codepaths, we will move all the functionality into
	Mono.CSharp.This

	(FieldExpr.EmitAssign): Ditto.

	This fixes several hidden bugs that I uncovered while doing a code
	review of this today.

	* codegen.cs (EmitThis): reworked so the semantics are more clear
	and also support value types "this" instances.

	* iterators.cs: Changed so that for iterators in value types, we
	do not pass the value type as a parameter.

	Initialization of the enumerator helpers is now done in the caller
	instead of passing the parameters to the constructors and having
	the constructor set the fields.

	The fields have now `assembly' visibility instead of private.

svn path=/trunk/mcs/; revision=25513
2004-04-14 23:32:01 +00:00
Miguel de Icaza 68b75621f5 Add new iterators test
svn path=/trunk/mcs/; revision=25512
2004-04-14 23:18:43 +00:00
Andreas N 90718432ec removed/ added files
svn path=/trunk/mcs/; revision=25510
2004-04-14 21:58:59 +00:00
Andreas N 5d903c17e5 2004-04-14 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Removed
	* TODOAttribute.cs: Removed (duplicate)

	* System.Windows.Forms.Design.csproj.user
	* System.Windows.Forms.Design.csproj: Removed (outdated)

	* WindowsFormsComponentEditor.cs
	* ComponentEditorPage.cs: Added, mostly implemented

	* ComponentEditor.cs: Removed (does not belong here)

svn path=/trunk/mcs/; revision=25509
2004-04-14 21:58:19 +00:00
Andreas N fe091a4ccf 2004-04-14 Andreas Nahr <[email protected]>
* LinkArea.cs: Added attributes, implemented

svn path=/trunk/mcs/; revision=25507
2004-04-14 20:43:06 +00:00
Andreas N 55bd06aa94 2004-04-13 Andreas Nahr <[email protected]>
* win32structs: made members internal
	* FileDialog.cs
	* OpenFileDialog.cs
	* SaveFileDialog.cs: made methods pure internal

svn path=/trunk/mcs/; revision=25506
2004-04-14 20:41:00 +00:00
Miguel de Icaza 4a2f5f8f3a Added missing semicolons
svn path=/trunk/mono/; revision=25505
2004-04-14 20:17:12 +00:00
Andreas N b292d44b4d 2004-04-14 Andreas Nahr <[email protected]>
* win32enum: made Msg internal
	* Control.cs
	* NativeWindow.cs
	* ScrollableControl.cs
	* Form.cs
	* Application.cs
	* ButtonBase.cs
	* ListBox.cs
	* CheckedListBox.cs
	* ComboBox.cs
	* TextBoxBase.cs
	* DateTimePicker.cs
	* GroupBox.cs
	* ScrollBar.cs
	* Label.cs
	* ListView.cs
	* StatusBar.cs
	* TabControl.cs
	* TrackBar.cs
	* UpDownBase.cs
	* Message.cs: Changes that were neccessary because of
	  making Msg internal

svn path=/trunk/mcs/; revision=25503
2004-04-14 20:02:19 +00:00
Zoltan Varga 70b33f5bfb 2004-04-14 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add test for unicode string array marshalling.

svn path=/trunk/mono/; revision=25502
2004-04-14 19:51:56 +00:00
Zoltan Varga 767853ce34 2004-04-14 Zoltan Varga <[email protected]>
* mini.c: Add support for STRWLPARRAY marshalling convention.

svn path=/trunk/mono/; revision=25501
2004-04-14 19:50:44 +00:00
Zoltan Varga 84da1439fe 2004-04-14 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method_with_context): Add support for STRWLPARRAY
	marshalling convention.

svn path=/trunk/mono/; revision=25500
2004-04-14 19:48:37 +00:00
Zoltan Varga 9592bf02d5 2004-04-14 Zoltan Varga <[email protected]>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.

	* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
	function.

	* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
	account when marshalling string arrays. Fixes #56965.

svn path=/trunk/mono/; revision=25499
2004-04-14 19:46:05 +00:00
Zoltan Varga 20b4ecfc60 2004-04-14 Zoltan Varga <[email protected]>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.

	* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
	function.

	* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
	account when marshalling string arrays. Fixes #56965.

svn path=/trunk/mono/; revision=25498
2004-04-14 19:45:32 +00:00
Atsushi Eno fffc6aee71 2004-04-14 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  - In MS output, XML declaration looks to have standalone decl (yes).
	  - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
	  - ReadXml(reader, mode)
	    1) return originally specified mode, instead of (always) Auto.
	    2) Check empty reader.
	    3) Check diffgram schema and content separately.
	    4) When diffgram exists, remaining (the same-level) contents
	       won't be consumed.
	    5) Similar fact should be applied, but somewhat different.
	       InferSchema and IgnoreSchema just skips, Fragment reads both
	       schema and content, others just reads schema.
	  - Removed unused code.
	* XmlDataLoader.cs :
	  - Read() should skip in some ReadMode.
	  - Don't compare schema element name as case-insensitive (well,
	    should schemas be checked here?)
	  - Avoided BuildDocument() not to create confusing DataSet
	    document element.
	  - Don't add any tables when reader has single element.
	* XmlDiffLoader.cs :
	  When target table was not found, MS.NET doesn't raise an error.
	* XmlSchemaMapper.cs :
	  When XmlSchema.Read() left xml reader at </xs:schema>, read once.

svn path=/trunk/mcs/; revision=25494
2004-04-14 17:29:47 +00:00
Atsushi Eno 9e5dfd977a 2004-04-14 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added DataSetReadXmlTest.cs.

svn path=/trunk/mcs/; revision=25493
2004-04-14 17:27:29 +00:00
Atsushi Eno 9bc0baad9e 2004-04-14 Atsushi Enomoto <[email protected]>
* Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).

svn path=/trunk/mcs/; revision=25492
2004-04-14 17:26:22 +00:00
Sebastien Pouliot 124190248e 2004-04-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Ajusted test 3.3.6 and 3.3.7 because MS accept
	invalid UTF8 (when it shouldn't) and Mono doesn't. Both case are now
	accepted by the unit tests.

svn path=/trunk/mcs/; revision=25486
2004-04-14 16:09:29 +00:00
Bernie Solomon 9e8f8f5d76 2004-04-14 Bernie Solomon <[email protected]>
* security.c: #warning is a GCC-ism

svn path=/trunk/mono/; revision=25483
2004-04-14 15:52:15 +00:00
Paolo Molaro dd7216a255 Wed Apr 14 18:15:55 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: missing fixes in mono_jit_walk_stack (need
	to init the context to setup the regs pointer).

svn path=/trunk/mono/; revision=25482
2004-04-14 15:40:49 +00:00
Anirban Bhattacharjee 7db428325e Test cases for mbas
svn path=/trunk/mcs/; revision=25481
2004-04-14 15:37:35 +00:00
Anirban Bhattacharjee cd8ea7a116 * class.cs: Added support for Shadows modifier in Variables
svn path=/trunk/mcs/; revision=25480
2004-04-14 15:30:05 +00:00
Paolo Molaro 0743e2399d Wed Apr 14 17:59:09 CEST 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: more exceptions work.

svn path=/trunk/mono/; revision=25479
2004-04-14 15:23:46 +00:00
Miguel de Icaza 42305fb06a Update
svn path=/trunk/mono/; revision=25478
2004-04-14 15:18:15 +00:00
Paolo Molaro 368560f482 Wed Apr 14 17:46:22 CEST 2004 Paolo Molaro <[email protected]>
* mini.c: avoid reusing the same MonoInst on multiple trees: this is
	not allowed.

svn path=/trunk/mono/; revision=25477
2004-04-14 15:12:40 +00:00
Sebastien Pouliot d3cc9890c9 2004-04-14 Sebastien Pouliot <[email protected]>
* UTF8EncodingTest.cs: Added 70 new unit tests from UTF-8-test.txt
	(available from http://www.cl.cam.ac.uk/~mgk25/). Tests are adapted
	so MS implementation pass them all.

svn path=/trunk/mcs/; revision=25476
2004-04-14 15:05:37 +00:00
Anirban Bhattacharjee 239d5dbcb1 * const.cs: Added support for Shadows modifier in constan
svn path=/trunk/mcs/; revision=25475
2004-04-14 15:01:14 +00:00
Lluis Sanchez 650c8f9a5b * System.dll.sources: Added
System.ComponentModel/ReflectionEventDescriptor.cs,
		System.ComponentModel/ReflectionPropertyDescriptor.cs.

svn path=/trunk/mcs/; revision=25474
2004-04-14 14:52:33 +00:00
Lluis Sanchez a0ea05369d * AttributeCollection.cs: Added new internal constructor.
* DesignerAttribute.cs: Fixed property TypeId.
	* EventDescriptorCollection.cs: Added internal constructor. Added new
	  method Filter that removes events that do not have the specified
	  attributes.
	* MemberDescriptor.cs: Minor fixes.
	* PropertyDescriptor.cs: Implemented some missing methods.
	* PropertyDescriptorCollection.cs: Added internal constructor. Implemented
	  Sort methods.
	* ReferenceConverter.cs: Removed some TODOs.
	* SyntaxCheck.cs: Implemented CheckMachineName and CheckPath.
	* TypeDescriptor.cs: Implemented most of missing methods.

svn path=/trunk/mcs/; revision=25473
2004-04-14 14:44:09 +00:00
Ravindra ac0cb3ec24 Adding fail conditions to the test.
svn path=/trunk/mcs/; revision=25472
2004-04-14 14:30:01 +00:00
Sanja Gupta 0ed67652d5 ChangeLog: Updated ChangeLog
Icon.cs: Implemented more missing bits

svn path=/trunk/mcs/; revision=25471
2004-04-14 14:18:38 +00:00
Marek Safar 6fea64ca79 2004-04-14 Marek Safar <[email protected]>
* cs0612.cs,
	* cs0672-2.cs: 2 new error tests.

svn path=/trunk/mcs/; revision=25470
2004-04-14 13:32:28 +00:00
Anirban Bhattacharjee 964dab6c01 * expression.cs: Removed the check which was stoping type instances to access the shared members
svn path=/trunk/mcs/; revision=25469
2004-04-14 13:30:31 +00:00
Anirban Bhattacharjee c1c4ec3003 * modifiers.cs: changed exception number for invalid modifiers exception
svn path=/trunk/mcs/; revision=25468
2004-04-14 13:15:22 +00:00
Sebastien Pouliot 25a55bf367 2004-04-14 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Added reflection and serialization tests.

svn path=/trunk/mcs/; revision=25467
2004-04-14 12:47:09 +00:00
Sebastien Pouliot fec3b3f87a 2004-04-14 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented IDeserializationCallback and
	ISerializable interfaces.

svn path=/trunk/mcs/; revision=25466
2004-04-14 12:44:38 +00:00
Lluis Sanchez ef8f047dbe * TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
not present in MS.NET.
	* XmlSerializationWriter.cs: Improved error message.

svn path=/trunk/mcs/; revision=25465
2004-04-14 11:33:19 +00:00
Lluis Sanchez df9a9c5261 ReaderWriterLockTest.cs: Added more tests for bugs 55911 and 55909.
svn path=/trunk/mcs/; revision=25464
2004-04-14 11:25:39 +00:00
Jordi Mas i Hernandez c1a3219b4a removes anonying warning
svn path=/trunk/mcs/; revision=25463
2004-04-14 10:51:37 +00:00
Anirban Bhattacharjee 294d13924b * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
* class.cs: Handling couple of negative scenarios related to static constructors and bug fixes

svn path=/trunk/mcs/; revision=25462
2004-04-14 10:47:00 +00:00
Paolo Molaro c2b052409a Consolidated a few rules to show the new monoburg feature.
svn path=/trunk/mono/; revision=25461
2004-04-14 10:31:49 +00:00
Paolo Molaro b94f7952f6 Wed Apr 14 12:40:54 CEST 2004 Paolo Molaro <[email protected]>
* monoburg.c, monoburg.h, monoburg.y: changed the grammar so that
	the same emit code can be easily associated with multiple rules.
	Coalesce identical emit functions to reduce code size (10 KB - 10 % -
	with the current unchanged x86 JIT rules).

svn path=/trunk/mono/; revision=25460
2004-04-14 10:10:00 +00:00
Raja R Harinath 75dd4f4495 ($(assemblies_DATA)): Copy file into
$(srcdir).  Clean up output.
($(monobins_DATA)): Likewise.

svn path=/trunk/mono/; revision=25456
2004-04-14 03:20:02 +00:00
Raja R Harinath 8c3001bb4c (mcs-tree-safe-build): Fix typo.
svn path=/trunk/mono/; revision=25455
2004-04-14 03:06:47 +00:00
Atsushi Eno ddbfcbbc13 2004-04-13 Atsushi Enomoto <[email protected]>
* DataSet.cs :
	  - InferXmlSchema(): Throw explicit NotImplementedException now.
	  - Don't put XML declaration everywhere. Write just for filename arg.
	  - xmlns="" should not be written. Maybe WebService problem is
	    because default namespace is overwritten. This patch will keep
	    the WS problem away and actually fixes some unit tests (i.e. use
	    explicit String.Empty for null namespace in WriteStartElement()).
	  - MoveToContent() should always be called, not only when
	    LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
	  - Even XmlReadMode is DiffGram, reader might not be "diffgram"
	    element. As to MSDN, diffgram does not contain schema.

svn path=/trunk/mcs/; revision=25448
2004-04-14 00:22:00 +00:00
Sebastien Pouliot ec9269729a 2004-04-13 Sebastien Pouliot <[email protected]>
* icall.c: Add new icalls mapping for security.
	* security.c|h: Add internal calls for WindowsIdentity,
	WindowsImpersonationContext and WindowsPrincipal.

svn path=/trunk/mono/; revision=25445
2004-04-13 23:01:12 +00:00
Sebastien Pouliot 5db7283609 2004-04-13 Sebastien Pouliot <[email protected]>
* security.c|h: Removed GetUserName as glib g_get_user_name does a
	better (portability) job. Added ImpersonateLoggedOnUser and
	RevertToSelf.

svn path=/trunk/mono/; revision=25444
2004-04-13 22:59:55 +00:00
Sebastien Pouliot 04ab333c08 2004-04-13 Sebastien Pouliot <[email protected]>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
	getpwnam_r, getpwuid_r, getresuid and setresuid.

svn path=/trunk/mono/; revision=25443
2004-04-13 22:58:50 +00:00
Andreas N 0b790edbd3 2004-04-13 Andreas Nahr <[email protected]>
* same kind of line terminators in this file and cleanup

svn path=/trunk/mcs/; revision=25442
2004-04-13 21:56:07 +00:00
Andreas N 3ca85acb80 2004-04-13 Andreas Nahr <[email protected]>
* Shortcut.cs
	* SelectionMode.cs
	* ScrollEventType.cs
	* RichTextBoxSelectionTypes.cs
	* RichTextBoxFinds.cs
	* PropertySort.cs
	* MouseButtons.cs
	* MessageBoxOptions.cs
	* LeftRightAlignment.cs
	* Keys.cs
	* ImeMode.cs
	* HorizontalAlignment.cs
	* DockStyle.cs
	* BoundsSpecified.cs
	* BorderStyle.cs
	* Border3DStyle.cs
	* Border3DSide.cs
	* ArrangeDirection.cs
	* Appearance.cs
	* AnchorStyles.cs
	* AccessibleStates.cs: Added/ corrected attributes

svn path=/trunk/mcs/; revision=25441
2004-04-13 21:02:43 +00:00
Andreas N a85326f048 added file
svn path=/trunk/mcs/; revision=25440
2004-04-13 21:00:06 +00:00
Andreas N f66ff439d4 2004-04-13 Andreas Nahr <[email protected]>
* Consts.cs: Added

svn path=/trunk/mcs/; revision=25439
2004-04-13 20:59:35 +00:00
Gert Driesen 261f8554cd * class.c: Added comment to ensure the System.MonoDummy class is removed
from CVS when no longer needed.

svn path=/trunk/mono/; revision=25435
2004-04-13 20:19:54 +00:00
Miguel de Icaza 5546279737 2004-04-13 Miguel de Icaza <[email protected]>
* Console.cs: Use new codepage setup.

2004-04-13  Miguel de Icaza  <[email protected]>

        * Encoding.cs: Use new internal codepage setup.

svn path=/trunk/mcs/; revision=25434
2004-04-13 20:19:08 +00:00
Miguel de Icaza 8951001915 2004-04-13 Miguel de Icaza <[email protected]>
* appdomain.c: Pass arguments to the bootstraping exceptions to
	minimize JITed methods at boot

	* metadata.c (mono_exception_from_name_two_strings): Allow for the
	second string to be null.

	* icall.c (ves_icall_System_Text_Encoding_InternalCodePage):
	Change the protocol to minimize the JIT methods at startup.  Now
	it Returns the internal codepage, if the value of "int_code_page"
	is 1 at entry, and we can not compute a suitable code page
	number, returns the code page as a string.

2004-04-13  Miguel de Icaza  <[email protected]>

	* inssel-x86.brg (reg): Add new rules for add, sub and mul that
	can use the memory directly.

	* cpu-pentium.md: Update documentation from a post from Zoltan.

	add x86_add_membase, x86_sub_membase, x86_mul_membase

svn path=/trunk/mono/; revision=25433
2004-04-13 20:15:05 +00:00
Andreas N cd454a93a1 removed file
svn path=/trunk/mcs/; revision=25432
2004-04-13 20:14:18 +00:00
Andreas N c68afad8d4 2004-04-13 Andreas Nahr <[email protected]>
* ComVisible.cs: Removed - does not belong here
	* SplitterEventArgs.cs
	* FormWindowState.cs
	* FormStartPosition.cs
	* FormBorderStyle.cs
	* DragAction.cs
	* DialogResult.cs: Added needed using

svn path=/trunk/mcs/; revision=25431
2004-04-13 20:13:45 +00:00
Gert Driesen 0f22d81dca * MonoDummy: added MonoTODO to make sure this class is removed when its
no longer needed

svn path=/trunk/mcs/; revision=25430
2004-04-13 20:11:55 +00:00
Miguel de Icaza 44a2314a04 2004-04-13 Miguel de Icaza <[email protected]>
* mini-ppc.c: Remove unused definitions FLOAT_REGS and
	GENERAL_REGS they were also hardcoded for all PPC ports.

	(add_general): Use PPC_NUM_REG_ARGS instead of GENERAL_REGS.

	Remove hard-coded limit for floating point registers, use
	PPC_LAST_FPARG_REG instead in MONO_TYPE_R4 and MONO_TYPE_R8.

	Notice that in MacOS X calling conventions you can fit a lot more
	floating point values in registers, so I should update the PInvoke
	test to excercise the passing of floating point values on the
	stack (currently broken).

svn path=/trunk/mono/; revision=25429
2004-04-13 19:45:11 +00:00
Sebastien Pouliot ec05b8f232 2004-04-13 Sebastien Pouliot <[email protected]>
* Mono.Security.Win32.dll.sources: Added AssemblyInfo.cs and Locale.cs
	to the assembly.

svn path=/trunk/mcs/; revision=25428
2004-04-13 18:38:57 +00:00
Sebastien Pouliot dae00e3334 2004-04-13 Sebastien Pouliot <[email protected]>
* MD2Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD4Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD5Test.cs: Removed obsolete NUnit1 TestCase references.
	* MD5Test.cs: Removed obsolete NUnit1 TestCase references.
	* RandomNumberGeneratorTest.cs: Removed obsolete NUnit1 TestCase
	and SetUp references.
	* SHA1Test.cs: Removed obsolete NUnit1 TestCase references.

svn path=/trunk/mcs/; revision=25427
2004-04-13 18:37:02 +00:00
Sebastien Pouliot e2a0fbd2dd 2004-04-13 Sebastien Pouliot <[email protected]>
* CapiContext.cs: Better support to create key container (when non
	existing). Added machine key container support. FxCop-ized.
	* CapiHash.cs: FxCop-ized for CLS compliance and GC awareness.
	* CapiRandomNumberGenerator.cs: Now use properties (not fields).
	* CryptoAPI.cs: Changed some uint to int for easier CLS compliance.

svn path=/trunk/mcs/; revision=25426
2004-04-13 18:35:59 +00:00
Sebastien Pouliot b4320370e4 2004-04-13 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Copied and ajusted from System.Security.
	* Locale.cs: New. Copied (verbatim) from System.Security.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=25425
2004-04-13 18:34:44 +00:00
Jackson Harper 0cb9660a1c * culture-info-tables.h: Fix number of decimal digits for all
english locales.

svn path=/trunk/mono/; revision=25424
2004-04-13 18:30:53 +00:00
Jackson Harper 0fded31482 * icall.c: Clairfy out of sync error message. It is not always
your corlib that is out of sync.

svn path=/trunk/mono/; revision=25422
2004-04-13 17:11:29 +00:00
Lluis Sanchez 7cfcb809d0 * RealProxy.cs: IRemotingTypeInfo.TypeName can return null, beware of that.
svn path=/trunk/mcs/; revision=25403
2004-04-13 16:19:42 +00:00
Gonzalo Paniagua Javier e5863ab02c added comment on bug related to last change here
svn path=/trunk/mcs/; revision=25401
2004-04-13 15:10:44 +00:00
Sebastien Pouliot f61512b08f 2004-04-13 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Removed [Ignore] on WindowsPrincipal test. Adjusted
	CurrentPrincipal tests to work on both Windows and Linux.

svn path=/trunk/mcs/; revision=25400
2004-04-13 14:30:18 +00:00
Sanja Gupta 906719e98d ChangeLog: Updated ChangeLog
Icon.cs: Added few more missing bits

svn path=/trunk/mcs/; revision=25399
2004-04-13 13:49:18 +00:00
Sebastien Pouliot bce4c4355b 2004-04-13 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: Adjusted unit tests to run on both Windows
	and Linux (or any POSIX compliant OS).
	* WindowsPrincipalTest.cs: Removed [Ignore] from some tests.

svn path=/trunk/mcs/; revision=25398
2004-04-13 13:41:34 +00:00
Anirban Bhattacharjee e43ae0cf6f some negative testcases related to instance constructor
svn path=/trunk/mcs/; revision=25397
2004-04-13 11:41:32 +00:00
Zoltan Varga b8237cff72 2004-04-13 Zoltan Varga <[email protected]>
* TypeTest.cs: Add new regression test for bug #55874.

svn path=/trunk/mcs/; revision=25396
2004-04-13 11:36:28 +00:00
Sebastien Pouliot ffec19d89e 2004-04-13 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented for both Windows and Linux. Fix bug
	#52532. Class is only missing serialization bits.
	* WindowsImpersonationContext.cs: Implemented for both Windows and
	Linux. Fix bug #52532.
	* WindowsPrincipal.cs: Implemented for both Windows and Linux.  Fix
	bug #52532.

svn path=/trunk/mcs/; revision=25395
2004-04-13 11:35:42 +00:00
Zoltan Varga 55a573e243 2004-04-13 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_GetPropertiesByName): Avoid duplicate
	properties when only the set accessor is overriden. Fixes #55874.

svn path=/trunk/mono/; revision=25394
2004-04-13 11:33:29 +00:00
Anirban Bhattacharjee 7a7c955c25 class.cs: Couple of negative scenario handling
svn path=/trunk/mcs/; revision=25393
2004-04-13 10:45:09 +00:00
Gonzalo Paniagua Javier 4e83e0fb63 2004-04-13 Gonzalo Paniagua Javier <[email protected]>
* DataTable.cs: made _initStatus private so that System.Data is CLS
	compliant.

svn path=/trunk/mcs/; revision=25392
2004-04-13 10:29:44 +00:00
Anirban Bhattacharjee ae63beedb5 * mb-parser.jay: Few clean-up
svn path=/trunk/mcs/; revision=25391
2004-04-13 10:28:26 +00:00
Lluis Sanchez e4e40de014 * ReaderWriterLock.cs: More fixes: never wait where acquiring a reader lock
if the thread already has the lock. Added readyWaitingReaders variable to
	  keep track of threads ready to get the reader lock.

svn path=/trunk/mcs/; revision=25390
2004-04-13 10:28:24 +00:00
Zoltan Varga 10274799d1 2004-04-13 Zoltan Varga <[email protected]>
* mono-jni.c: Use <stdarg.h> instead of <varargs.h>.

svn path=/trunk/mono/; revision=25388
2004-04-13 07:44:56 +00:00
Jordi Mas i Hernandez e1f404882c bitmaps is other pixel/bits formats
svn path=/trunk/mcs/; revision=25387
2004-04-13 07:22:34 +00:00
Marek Safar 788ac9afd2 2004-04-13 Marek Safar <[email protected]>
* cs1618-2.cs,
	* cs1619-{27-36}.cs,
	* cs1667.cs, cs1667-2.cs: 13 new error tests.

svn path=/trunk/mcs/; revision=25386
2004-04-13 07:16:43 +00:00
Jordi Mas i Hernandez f385bd3f3a bitmap is os/2 format
svn path=/trunk/mcs/; revision=25385
2004-04-13 07:15:37 +00:00
Umadevi S f84971782e 2004-04-13 Umadevi S ([email protected])
* ConstraintCollectionTest.cs - Added Testcase for UniqueConstraint constructor
	 to be used with the AddRange method

svn path=/trunk/mcs/; revision=25384
2004-04-13 05:48:37 +00:00
Umadevi S 9acd0ced64 2004-04-13 Umadevi S ([email protected])
* Added comments on checkin for UniqueConstraint constructor

svn path=/trunk/mcs/; revision=25383
2004-04-13 05:28:42 +00:00
Umadevi S dd94d929fa 2004-04-13 Umadevi S ([email protected])
* Modified UniqueConstraint.cs, ConstraintCollection.cs, DataTable.cs for
		* special constructor in UniqueConstraint.cs

svn path=/trunk/mcs/; revision=25382
2004-04-13 05:15:47 +00:00
Atsushi Eno 4287265b53 2004-04-13 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest.cs : still path problem.

svn path=/trunk/mcs/; revision=25381
2004-04-13 04:59:06 +00:00
Raja R Harinath f5feec81ed Allow 'make fullbuild' to work on non-srcdir build.
* Makefile.am (mcs_topdir): New variable.
(mcs-tree-safe-build,mcs-rest,remove-binaries): Work in non-srcdir
build.
(xinstall-runtime): Likewise.  Use $(libgc_dir) directly, don't
grep for 'libgc'.
(fullbuild): Make ordering dependencies explicit.

svn path=/trunk/mono/; revision=25380
2004-04-13 04:32:16 +00:00
Raja R Harinath 4b568d4270 ignores
svn path=/trunk/mono/; revision=25379
2004-04-13 04:31:05 +00:00
Atsushi Eno 49bb2d5160 2004-04-13 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.

svn path=/trunk/mcs/; revision=25378
2004-04-13 02:27:51 +00:00
Atsushi Eno 00ae95648a 2004-04-13 Atsushi Enomoto <[email protected]>
* Added XmlDataDocumentTest2.cs (XmlDataDocumentTest.cs is too big)

svn path=/trunk/mcs/; revision=25377
2004-04-13 02:25:56 +00:00
Atsushi Eno 6b5e609d91 2004-04-13 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs:
	  Load() should not read xml multiple time nor expect BaseURI (and it
	  indicates the resource location is readable).
	  Simplified event handling logic, and fixed missing event removal.
	  Quick hack to avoid new XmlDataDocument(DataSet ds).Load ().
	  Enabled CreateNavigator() that was commented out.

svn path=/trunk/mcs/; revision=25376
2004-04-13 00:59:41 +00:00
David Sheldon 4819fbaeb7 2004-04-12 David Sheldon <[email protected]>
* BinaryReaderTest.cs: Changed series of bytes in
  ReadDecimal to be a cleaner representation of a real
  decimal, as was not a technically correct decimal.

Do we need to add some more tests for what we do with values such as those
in the old test case? With the old code, you could get a single value that
was not equal to its lexical representation. Not ideal.

> d is -18295873486192640
> d != -18295873486192640

svn path=/trunk/mcs/; revision=25372
2004-04-12 18:10:55 +00:00
David Sheldon db1335dcfa 2004-04-12 David Sheldon <[email protected]>
* TimeZoneTest.cs: Make pass when in "GMT".

This probably isn't the same as MS.NET, but the CET doesn't look like it will
be either. Where does one alter the strings/dates we see?

svn path=/trunk/mcs/; revision=25371
2004-04-12 17:36:41 +00:00
Sachin Kumar 1fa84a245c * Makefile.am: Added 'web' in SUBDIRS
svn path=/trunk/mono/; revision=25367
2004-04-12 15:36:42 +00:00
Atsushi Eno 85bcbb0dec 2004-04-12 Atsushi Enomoto <[email protected]>
* Compiler.cs : When BaseURI is an empty string, it should not try to
	  create Uri instance. This will fix bug #56832, but not sure.
	* XslFunctions.cs : for XsltDocument.Resolve(), did the same.
	* HtmlEmitter.cs : Environment.NewLine was incorrectly used (it
	  should be the TextReader's NewLine).
	* MSXslScriptManager.cs : Should raise an error when the prefix which
	  was specified by "implements-prefix" was not found.

svn path=/trunk/mcs/; revision=25365
2004-04-12 14:55:27 +00:00
Sanja Gupta d0104db19e ChangeLog: Updated ChangeLog
Icon.cs: Implemented first version

svn path=/trunk/mcs/; revision=25363
2004-04-12 13:59:45 +00:00
Nick Drochak 9170f6e27b 2004-04-12 Nick Drochak <[email protected]>
* WebConfigurationSettings.cs: Fix build.  Forgot the '?'

svn path=/trunk/mcs/; revision=25362
2004-04-12 13:05:07 +00:00
Atsushi Eno ee0f616ea4 2004-04-12 Atsushi Enomoto <[email protected]>
* WebConfigurationSettings.cs : On Windows "Web.config" is "web.config".

svn path=/trunk/mcs/; revision=25361
2004-04-12 12:26:42 +00:00
Zoltan Varga c5562020f2 2004-04-12 Zoltan Varga <[email protected]>
* mono-jni.c: Fix compilation under gcc 2.95 + fix warnings.

svn path=/trunk/mono/; revision=25360
2004-04-12 12:22:21 +00:00
Anirban Bhattacharjee 7081dad1ac Few constructor related positive test cases
svn path=/trunk/mcs/; revision=25359
2004-04-12 11:47:58 +00:00
Anirban Bhattacharjee 5a39971e3d * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
svn path=/trunk/mcs/; revision=25358
2004-04-12 11:43:23 +00:00
Anirban Bhattacharjee 3964a0a474 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statements like
Me.New
                or
                MyClass.New

svn path=/trunk/mcs/; revision=25357
2004-04-12 11:34:30 +00:00
Roopa Wilson 57fe549848 2004-04-12 Roopa Wilson ([email protected])
* DataRowCollection.cs : Added code to check for exceptions in Add () and InsertAt () methods
* DataRowCollectionTest.cs : Added tests for Add () and InsertAt () methods

svn path=/trunk/mcs/; revision=25356
2004-04-12 10:59:40 +00:00
Gert Driesen f5c6d93f3a * FileSystemInfo.cs: corrected COM visibility of UTC properties
svn path=/trunk/mcs/; revision=25355
2004-04-12 09:30:54 +00:00
Gert Driesen 38f5601f7d * FileSystemInfo.cs: Implemented ISerializable.
svn path=/trunk/mcs/; revision=25354
2004-04-12 09:19:24 +00:00
Atsushi Eno 04ca864002 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlDateTimeTest.cs : ToStringTest() is locale dependent.

svn path=/trunk/mcs/; revision=25353
2004-04-12 08:52:07 +00:00
Atsushi Eno df471d99c8 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlBoolean.cs : Allow "0" and "1" on Parse(). Allow SqlString.Null
	  in conversion.
	* SqlString.cs : CompareOption should not be None.

svn path=/trunk/mcs/; revision=25352
2004-04-12 08:42:40 +00:00
Atsushi Eno 3e770c8919 2004-04-12 Atsushi Enomoto <[email protected]>
* SqlStringTest.cs : Removed locale-dependent test.
	* SqlDecimalTest.cs : Removed runtime-dependent test.

svn path=/trunk/mcs/; revision=25351
2004-04-12 08:41:35 +00:00
Atsushi Eno 21804bdc7d 2004-04-12 Atsushi Enomoto <[email protected]>
* DataSetTest.cs : More path fix. Don't expect End of Line = "\n".
	  It might be "\r\n" or else.

svn path=/trunk/mcs/; revision=25350
2004-04-12 08:38:43 +00:00
Ravindra b64923d940 Added TestSystemBrushes.cs to the test sources list.
svn path=/trunk/mcs/; revision=25345
2004-04-12 03:36:05 +00:00
Ravindra bfe172025a Adding TestSystemBrushes.cs
svn path=/trunk/mcs/; revision=25344
2004-04-12 03:32:51 +00:00
Peter Dennis Bartok bcb5c4cdf5 - Removed several hacks that are no longer needed with the latest
System.Drawing and libgdiplus
- Fixed up Button

svn path=/trunk/mcs/; revision=25339
2004-04-12 02:13:01 +00:00
Peter Dennis Bartok c9ebe8618a - Implemented Font.ToHfont method
svn path=/trunk/mcs/; revision=25337
2004-04-12 01:52:52 +00:00
Gonzalo Paniagua Javier d9ecd58c5c Oops. This is for the ChangeLog entry on day 2004-03-27. Fixes bug #56080.
svn path=/trunk/mcs/; revision=25335
2004-04-11 21:02:28 +00:00
Lluis Sanchez a7668b245f * LockQueue.cs: Moved lockCount change inside the rwlock lock. Removed
lock(this) when entering the rwlock to avoid a deadlock.
	* ReaderWriterLock.cs: In AcquireWriterLock, queue the thread if the queue
	  is not empty (even if state==0).

svn path=/trunk/mcs/; revision=25332
2004-04-11 14:17:06 +00:00
Miguel de Icaza c2182304e4 2004-04-11 Miguel de Icaza <[email protected]>
* expression.cs (Argument.Resolve): Check if fields passed as ref
	or out are contained in a MarshalByRefObject.

	* typemanager.cs, rootcontext.cs: Add System.Marshalbyrefobject as
	another compiler type.

svn path=/trunk/mcs/; revision=25331
2004-04-11 05:02:19 +00:00
Miguel de Icaza ad36a21963 Fix
svn path=/trunk/mcs/; revision=25330
2004-04-11 04:47:55 +00:00
Vladimir Vukicevic e494f54426 * Image.cs: Save should use encoder.FormatID, not Clsid
svn path=/trunk/mcs/; revision=25329
2004-04-11 04:26:19 +00:00
Miguel de Icaza 71ca5a9afb Flush
svn path=/trunk/mono/; revision=25328
2004-04-11 03:26:55 +00:00
Atsushi Eno 15beb27f40 2004-04-11 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : All GetXXXGroupSizes() should not return
	  internal array. Return clone as MS.NET does.

	  There still looks somewhere breaking CurrentInfo.

svn path=/trunk/mcs/; revision=25326
2004-04-11 01:28:20 +00:00
Daniel Morgan 0249cea012 2004-04-10 Daniel Morgan <[email protected]>
* ado-net
	* sqlclient
	* oracle
	* postgresql
	* mysql: clean up Mono ADO.NET web pages

	* makefile: remove building of obsolete web page tds-providers

svn path=/trunk/mono/; revision=25325
2004-04-11 00:26:21 +00:00
Miguel de Icaza 7380b58dec Flush
svn path=/trunk/mono/; revision=25320
2004-04-10 23:20:26 +00:00
Bernie Solomon b464269f20 2004-04-10 Bernie Solomon <[email protected]>
* libtest.c: declare SetLastError on Windows

svn path=/trunk/mono/; revision=25319
2004-04-10 22:55:37 +00:00
Ben Maurer 79cbed9790 2004-04-10 Ben Maurer <[email protected]>
* test-12.cs: test for concat inside array.

svn path=/trunk/mcs/; revision=25309
2004-04-10 18:59:59 +00:00
Miguel de Icaza 1abd7ec48e errors
svn path=/trunk/mcs/; revision=25308
2004-04-10 18:58:44 +00:00
Miguel de Icaza 36af0739b6 2004-04-06 Ben Maurer <[email protected]>
* class.cs (Indexer.Define): use the new name checking method.
	Also, return false on an error.
	* cs-tokenizer.cs (IsValidIdentifier): Checks for a valid identifier.
	(is_identifier_[start/part]_character): make static.

svn path=/trunk/mcs/; revision=25307
2004-04-10 18:56:55 +00:00
Miguel de Icaza 771f2e1e02 2004-04-10 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Do no append strings
	twice: since we can be invoked more than once (array evaluation)
	on the same concatenation, take care of this here.  Based on a fix
	from Ben (bug #56454)

svn path=/trunk/mcs/; revision=25306
2004-04-10 18:54:28 +00:00
Atsushi Eno 35a90fa827 2004-04-10 Atsushi Enomoto <[email protected]>
* UTF7Encoding.cs : GetMaxByteCount() was based on incorrect formula.

svn path=/trunk/mcs/; revision=25305
2004-04-10 15:03:35 +00:00
Gert Driesen fcc9a4adda explicit implementation of IDisposable to match MS corlib
svn path=/trunk/mcs/; revision=25303
2004-04-10 14:05:28 +00:00
Vladimir Vukicevic d267fa0a98 * TimeoutManager.cs: Swap the order of initialization of contexts
and the Timer, to avoid race condition of CheckTimeouts being called
before contexts gets initialized.

svn path=/trunk/mcs/; revision=25301
2004-04-10 10:09:04 +00:00
Gonzalo Paniagua Javier 1c7ec0236b 2004-04-10 Gonzalo Paniagua Javier <[email protected]>
* OciDefineHandle.cs: added support for basic RAW data type. Patch by
	Eduard Nesiba.

svn path=/trunk/mcs/; revision=25269
2004-04-10 05:24:24 +00:00
Atsushi Eno 15384d4307 2004-04-10 Atsushi Enomoto <[email protected]>
* XmlParserContext.cs : Fixed .ctor() not to reference null namespace
	  manager. This fixes bug #56770.

svn path=/trunk/mcs/; revision=25268
2004-04-10 01:46:06 +00:00
David Sheldon f7b86d6d4c 2004-04-09 David Sheldon <[email protected]>
Fixes for bug 56744

    * System/Convert.cs: Allow + signs in strings for ToInt32, and
	- if it is base 10.

    * ConvertTest.cs: Tests for Convert.ToInt32(string, base), with
	signs on the strings.

svn path=/trunk/mcs/; revision=25254
2004-04-09 17:39:44 +00:00
Sebastien Pouliot c6b4762ea5 2004-04-09 Sebastien Pouliot <[email protected]>
* chktrust.1: Added some details and documented the CAB format
	restriction (not supported).
	* makecert.1: Added missing options, details for existing options and
	removed duplicate options.
	* setreg.1: Minor changes.
	* signcode.1: Added some details and documented the CAB format
	restriction (not supported). Also added a warning when using both a
	strongname and an Authenticode signature on a assembly.

svn path=/trunk/mono/; revision=25253
2004-04-09 17:14:38 +00:00
Francisco Figueiredo Jr. a3e7e16e5c 2004-04-09 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdatin
g and RowUpdated events. This also fixes some issues in gborg 710 bug. This modi
fication may have broken CommandBuilder support. Working on that.

svn path=/trunk/mcs/; revision=25251
2004-04-09 15:07:10 +00:00
Sebastien Pouliot d5ae820fbc 2004-04-09 Sebastien Pouliot <[email protected]>
* certmgr.1: Update the man file to specifiy the current location and
	format of the certificate files. Also added a WARNING that this info
	can change anytime and that the only safe way to manipulate the stores
	are by using the certmgr tool.

svn path=/trunk/mono/; revision=25249
2004-04-09 14:10:13 +00:00
Zoltan Varga 6c24e2335b 2004-04-09 Zoltan Varga <[email protected]>
* corlib_test.dll.sources: Added System.Threading/TimerTest.cs.

svn path=/trunk/mcs/; revision=25247
2004-04-09 13:17:41 +00:00
Zoltan Varga 588e491fc8 2004-04-09 Zoltan Varga <[email protected]>
* TimerTest.cs: Beginnings of regression tests for the Timer class.

svn path=/trunk/mcs/; revision=25246
2004-04-09 13:16:16 +00:00
Zoltan Varga 587b8babef 2004-04-09 Zoltan Varga <[email protected]>
* Timer.cs: Call the callback immediately if dueTime is 0. Fixes
	#56728.

svn path=/trunk/mcs/; revision=25245
2004-04-09 13:15:21 +00:00
Zoltan Varga fd68cf7ce7 2004-04-09 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_load_references): Make this thread safe.
	Fixes #56327.

svn path=/trunk/mono/; revision=25244
2004-04-09 12:19:52 +00:00
Atsushi Eno d4bcf4ccd2 2004-04-09 Atsushi Enomoto <[email protected]>
* DataColumnTest.cs,
	  DataRowTest.cs,
	  DataTableTest.cs : build fix: csc does not allow
	  System.Type inside namespace MonoTests.System.Data.
	* DataSetTest.cs : path fix.
	* DataRelationTest.cs : path fix. Don't test error message: It should
	  vary by message translations. Split tests and use ExpectedException.

svn path=/trunk/mcs/; revision=25242
2004-04-09 08:17:10 +00:00
Bernie Solomon bf84c822b7 2004-04-08 Bernie Solomon <[email protected]>
* DSA.cs: Use Mono.Security.BitConverterLE

svn path=/trunk/mcs/; revision=25241
2004-04-08 22:06:45 +00:00
Bernie Solomon 6eee65cb65 2004-04-08 Bernie Solomon <[email protected]>
* AuthenticodeBase.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25238
2004-04-08 20:38:46 +00:00
Bernie Solomon 96dbfe507d 2004-04-08 Bernie Solomon <[email protected]>
* PKCS1.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25237
2004-04-08 20:36:03 +00:00
Bernie Solomon 60f983f7ed 2004-04-08 Bernie Solomon <[email protected]>
* corlib.dll.sources: Added Mono.Security/BitConverterLE.cs

svn path=/trunk/mcs/; revision=25236
2004-04-08 20:34:17 +00:00
Bernie Solomon e3d7bcb3ba 2004-04-08 Bernie Solomon <[email protected]>
* BitConverterLE.cs: added which always does
	little endian conversion
   	* StrongName.cs: Use BitConverterLE
   	* ASN1Convert.cs: Use BitConverterLE

svn path=/trunk/mcs/; revision=25235
2004-04-08 20:33:54 +00:00
Neale Ferguson 7cf3213586 Add JIT for s390
svn path=/trunk/mono/; revision=25234
2004-04-08 20:07:42 +00:00
Lluis Sanchez 8a9527c0c0 * CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
thread, not the one of the thread that created the instance.
	* Comparer.cs: Added DefaultInvariant property and missing constructor.
	Use the specified culture info to compare strings.

svn path=/trunk/mcs/; revision=25233
2004-04-08 20:05:14 +00:00
Lluis Sanchez ab1391e476 * ResourceSet.cs: Added minor null check.
svn path=/trunk/mcs/; revision=25232
2004-04-08 19:57:47 +00:00
Lluis Sanchez f86d09a098 Oops, fixed compilation issue.
svn path=/trunk/mcs/; revision=25231
2004-04-08 19:53:17 +00:00
Lluis Sanchez 858b24b072 * BufferedStreamTest.cs: Added test for Position.
svn path=/trunk/mcs/; revision=25230
2004-04-08 19:50:30 +00:00
Lluis Sanchez c315382a2a * AmbientValueAttribute.cs, EnumConverter.cs, ListChangedEventArgs.cs:
Removed unneded TODOs.
	* ComponentResourceManager.cs: Implemented ApplyResources.
	* EventDescriptorCollection.cs: Implemented several missing methods.
	* LicFileLicenseProvider.cs: Implemented.
	* MemberDescriptor.cs: Implemented some missing methods. Handle correctly
	  the creation of the Attribute list.
	* TypeConverter.cs: Use null as default value for attribute array parameter.

svn path=/trunk/mcs/; revision=25229
2004-04-08 19:49:21 +00:00
Neale Ferguson 9d12b8316e S390 JIT
svn path=/trunk/mono/; revision=25228
2004-04-08 19:30:31 +00:00
Jackson Harper 9a9381e6a3 * ReaderWriterLock.cs: Fix tyop
svn path=/trunk/mcs/; revision=25227
2004-04-08 19:20:10 +00:00
Zoltan Varga 069b4108d5 2004-04-08 Zoltan Varga <[email protected]>
* monosn.c: Add missing initialization calls.

svn path=/trunk/mono/; revision=25226
2004-04-08 18:37:43 +00:00
Bernie Solomon fc64c3c4c5 2004-04-08 Bernie Solomon <[email protected]>
* locales.c:
	ves_icall_System_Globalization_CultureInfo_construct_number_format
        Fix g_assert so it compiles on fussier compilers re int/ptr
	mismatch

svn path=/trunk/mono/; revision=25225
2004-04-08 18:22:22 +00:00
Miguel de Icaza a74a3b47fd 2004-04-06 Miguel de Icaza <[email protected]>
* tramp-ppc.c (create_trampoline_code): Added
	JUMP_TRAMPOLINE_SIZE.
	(ppc_magic_trampoline): Follow the pattern from
	x86_magic_trampoline: if code is set to zero, return.
	(create_trampoline_code): Always pass MonoMethod to the jump
	trampoline, before it was passing a null.
	(mono_arch_create_jump_trampoline): Implement the jump stub, could
	share the code with mono_arch_create_jit_trampoline.

	* mini-ppc.c (mono_arch_output_basic_block): CEE_JMP opcode
	implemented.
	(mono_arch_patch_code): MONO_PATCH_INFO_METHOD_JUMP patch type
	implemented.

	* cpu-g4.md: Added length for jmp instruction, the worst case
	scenario is 92 bytes (4 mandatory bytes, potential 19 registers
	for save_lmf).

svn path=/trunk/mono/; revision=25224
2004-04-08 18:15:31 +00:00
Zoltan Varga 9ed9fe0663 2004-04-08 Zoltan Varga <[email protected]>
* aot.c (mono_compile_assembly): Add back unlink removed by mistake.

svn path=/trunk/mono/; revision=25223
2004-04-08 18:01:12 +00:00
Jordi Mas i Hernandez 5fe90ff60a fixes region methods signature
svn path=/trunk/mcs/; revision=25222
2004-04-08 17:51:09 +00:00
Sebastien Pouliot f6698af5ae 2004-04-08 Sebastien Pouliot <[email protected]>
* codegen.cs: Fix another case where CS1548 must be reported (when
	delay-sign isn't specified and no private is available #56564). Fix
	loading	the ECMA "key" to delay-sign an assembly. Report a CS1548
	error when MCS is used on the MS runtime and we need to delay-sign
	(which seems unsupported by AssemblyBuilder - see #56621).

svn path=/trunk/mcs/; revision=25220
2004-04-08 17:26:10 +00:00
Rafael Teixeira 278f56368c 2004-04-08 Rafael Teixeira <[email protected]>
* OptionDetails.cs: Implemented Jonathan Pryor request for multiplicity in boolean properties

svn path=/trunk/mcs/; revision=25219
2004-04-08 14:57:44 +00:00
Lluis Sanchez 1940817233 * CompareInfo.cs, CultureInfo.cs, NumberFormatInfo.cs, TextInfo.cs:
Made those serializable-compatible with MS.NET: modified fields names to
	match MS.NET ones, and in CultureInfo added a flag to control when a
	deserialized instance need to be initialized.

svn path=/trunk/mcs/; revision=25218
2004-04-08 14:10:11 +00:00
Dick Porter 15f11aeb01 2004-04-08 Dick Porter <[email protected]>
* Socket.cs: Rearrange the internal calls so that the exceptions
	are thrown from managed code

svn path=/trunk/mcs/; revision=25217
2004-04-08 11:56:14 +00:00
Dick Porter 37fa834714 2004-04-08 Dick Porter <[email protected]>
* socket-io.h:
	* socket-io.c: Don't set SO_REUSEADDR on windows.  Fixes bug
	53992.  Also rearrange the code so that the internal calls return
	an error value and exceptions are thrown from managed code.

	* icall.c: Add type info to the socket icalls.

svn path=/trunk/mono/; revision=25216
2004-04-08 11:55:44 +00:00
Lluis Sanchez 0f75c6d4a4 * ReaderWriterLock.cs: Changed some methods to private.
* WaitHandle.cs: In Wait methods, release the synchronization context when
	  exitContext is true.

svn path=/trunk/mcs/; revision=25215
2004-04-08 11:37:30 +00:00
Lluis Sanchez 3bc6b565c4 * SystemInformation.cs: Fixed bad pointer arithmetic in _gethostname.
Fix by Carlos A. Barcenilla.

svn path=/trunk/mcs/; revision=25214
2004-04-08 11:31:56 +00:00
Marek Safar 5e2b02ba99 2004-04-08 Marek Safar <[email protected]>
* cs1677.cs: Changed name from cs1667.cs

svn path=/trunk/mcs/; revision=25213
2004-04-08 09:57:19 +00:00
Marek Safar c593396c2c 2004-04-08 Marek Safar <[email protected]>
* typemanager.cs (TypeManager.TypeToCoreType): Handle IntPtr too.
	(TypeManager.ComputeNamespaces): Faster implementation for
	Microsoft runtime.

	* compiler.csproj: Updated AssemblyName to mcs.

svn path=/trunk/mcs/; revision=25212
2004-04-08 08:14:56 +00:00
Umadevi S aa06685be5 2004-04-08 Umadevi S ([email protected])
* DataRowCollection.cs - Find method - handled all error cases

svn path=/trunk/mcs/; revision=25211
2004-04-08 07:34:38 +00:00
Umadevi S b830a80d6f 2004-04-08 Umadevi S ([email protected])
* Added a TestCase for additionalConstraint

svn path=/trunk/mcs/; revision=25208
2004-04-08 06:47:31 +00:00
Umadevi S 7305979ba5 2004-04-08 Umadevi S ([email protected])
* Implemented TODO on DataColumn.Unique

svn path=/trunk/mcs/; revision=25207
2004-04-08 06:43:46 +00:00
Gonzalo Paniagua Javier 786e70ee30 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: call Abort on the Runner instance too.

svn path=/trunk/mcs/; revision=25206
2004-04-08 04:30:13 +00:00
Gonzalo Paniagua Javier b06a6911d4 lalala
svn path=/trunk/mcs/; revision=25205
2004-04-08 03:59:15 +00:00
Gonzalo Paniagua Javier 13f730ebb2 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* object.h: synchronize MonoCompareInfo with CompareInfo class. Someone
	owes me a beer.

svn path=/trunk/mono/; revision=25204
2004-04-08 03:56:18 +00:00
Atsushi Eno 82c7a5bf5c 2004-04-08 Atsushi Enomoto <[email protected]>
* Nullable.cs : usingdecl should also be conditional.

svn path=/trunk/mcs/; revision=25203
2004-04-07 23:38:12 +00:00
Gonzalo Paniagua Javier c78844fda2 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Assembly/AssemblyInfo.cs:
	* System.Windows.Forms/AxHost.cs:
	* System.Windows.Forms/ScrollableControl.cs:
	* System.Windows.Forms/win32Enums.cs:
	* System.Windows.Forms/win32Structs.cs: patch by Gert Driesen that makes
	SWF CLS compliant.

svn path=/trunk/mcs/; revision=25202
2004-04-07 23:21:25 +00:00
Gonzalo Paniagua Javier df807a0282 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10024 (WSAEMFILE).

svn path=/trunk/mcs/; revision=25201
2004-04-07 23:06:04 +00:00
Martin Baulig fe2356d971 Make this work for multiple constraints.
svn path=/trunk/mcs/; revision=25200
2004-04-07 22:49:35 +00:00
Martin Baulig 4ed3abf497 Ooooops, the conditional for this is GENERICS', not NET_1_2'.
svn path=/trunk/mcs/; revision=25199
2004-04-07 22:42:36 +00:00
Martin Baulig caae5da372 Small fix.
svn path=/trunk/mcs/; revision=25198
2004-04-07 21:20:47 +00:00
Martin Baulig c1dfb34e6d They're not CLS-compliant.
svn path=/trunk/mcs/; revision=25197
2004-04-07 21:20:39 +00:00
Martin Baulig 9309e840e1 Ok, I'm too stupid to merge things :-(
svn path=/trunk/mcs/; revision=25196
2004-04-07 21:11:30 +00:00
Martin Baulig 4e56691542 **** Merged from mcs ****
svn path=/trunk/mcs/; revision=25195
2004-04-07 21:06:57 +00:00
Martin Baulig 8da2d1710a *** Merged from mcs ****
svn path=/trunk/mcs/; revision=25194
2004-04-07 21:05:51 +00:00
Martin Baulig 63ead0b569 This is gone for a long time.
svn path=/trunk/mcs/; revision=25193
2004-04-07 20:32:38 +00:00
Martin Baulig 5d067ea534 Hmm, remove this for the moment.
svn path=/trunk/mcs/; revision=25192
2004-04-07 20:29:28 +00:00
Martin Baulig 92912b4186 2004-04-07 Martin Baulig <[email protected]>
* Nullable.cs: New file.

svn path=/trunk/mcs/; revision=25191
2004-04-07 20:20:07 +00:00
Martin Baulig b431ad5e52 Set TYPE_ATTRIBUTES_PUBLIC.
svn path=/trunk/mono/; revision=25190
2004-04-07 20:03:55 +00:00
Martin Baulig 387fb57a96 Type parameters are always public.
svn path=/trunk/mcs/; revision=25189
2004-04-07 20:03:45 +00:00
Martin Baulig fefa40d451 2004-04-07 Martin Baulig <[email protected]>
* expression.cs (Binary.ResolveOperator): Added special case for
	Equality/Inequality between a type parameter and a null literal.

svn path=/trunk/mcs/; revision=25188
2004-04-07 19:59:22 +00:00
Martin Baulig ea6720b7ba 2004-04-07 Martin Baulig <[email protected]>
* class.c (mono_class_from_generic_parameter): Don't default
	`klass->parent' to `mono_defaults.object_type'.

svn path=/trunk/mono/; revision=25187
2004-04-07 19:44:48 +00:00
Martin Baulig 9cc92e4e28 2004-04-07 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_initialize_generic_parameter): Set
	`param->pklass->reflection_info'.

svn path=/trunk/mono/; revision=25186
2004-04-07 19:42:11 +00:00
Martin Baulig 015f7b6e57 2004-04-07 Martin Baulig <[email protected]>
* convert.cs: Check null literal -> type parameter conversions.

svn path=/trunk/mcs/; revision=25185
2004-04-07 19:39:35 +00:00
Martin Baulig 869d12aa6b Use TypeManager.GetInterfaces().
svn path=/trunk/mcs/; revision=25183
2004-04-07 19:01:10 +00:00
Martin Baulig 851d036da5 New tests.
svn path=/trunk/mcs/; revision=25182
2004-04-07 19:01:00 +00:00
Jackson Harper a0c6e79318 * Thread.cs: Use new culture info method for constructing the
current culture.

svn path=/trunk/mcs/; revision=25181
2004-04-07 18:58:44 +00:00
Martin Baulig 55a2a2f6fc 2004-04-07 Martin Baulig <[email protected]>
* Type.cs (Type.GetGenericArguments): Make this abstract.

svn path=/trunk/mcs/; revision=25180
2004-04-07 18:55:30 +00:00
Martin Baulig 81bbf34caa 2004-04-07 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetGenericArguments): Moved this icall
	from System.Type to System.MonoType.

svn path=/trunk/mono/; revision=25179
2004-04-07 18:54:34 +00:00
Gonzalo Paniagua Javier 59c9523923 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* TypeTest.cs: enumerated the tests.

svn path=/trunk/mcs/; revision=25178
2004-04-07 18:49:26 +00:00
Jackson Harper f5ccbb23f3 * culture-info-tables.h: Fix date separator symbol.
svn path=/trunk/mono/; revision=25177
2004-04-07 18:47:10 +00:00
Martin Baulig 26a561dbb0 2004-04-07 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Enforce the
	`class' and `struct' constraints.

svn path=/trunk/mcs/; revision=25176
2004-04-07 18:40:24 +00:00
Martin Baulig 61d95498bc Actually set the class' and struct' constraint on the GenericTypeParameterBuilder.
svn path=/trunk/mcs/; revision=25175
2004-04-07 18:30:06 +00:00
Martin Baulig 294ffb51ed 2004-04-07 Martin Baulig <[email protected]>
* reflection.h
	(MonoReflectionGenericParam): Added `has_reference_type' and
	`has_value_type' fields.

	* reflection.c (mono_image_get_generic_param_info): Encode the
	correct flags if we have the `class' or `struct' constraint.

svn path=/trunk/mono/; revision=25174
2004-04-07 18:29:42 +00:00
Martin Baulig 00b6519690 2004-04-07 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(Mono_SetReferenceTypeConstraint): New public method.
	(Mono_SetValueTypeConstraint): New public method.

svn path=/trunk/mcs/; revision=25173
2004-04-07 18:28:29 +00:00
Martin Baulig ce99cc460c 2004-04-07 Martin Baulig <[email protected]>
* generic.cs (SpecialConstraint): New public enum.
	(Constraints.Resolve): Added support for the `class' and `struct'
	constraints.

	* cs-parser.jay (type_parameter_constraint): Added support for the
	`class' and `struct' constraints.

svn path=/trunk/mcs/; revision=25172
2004-04-07 18:11:03 +00:00
Martin Baulig 1e663e3c40 Put back support for the new () constraint.
svn path=/trunk/mcs/; revision=25171
2004-04-07 17:32:42 +00:00
Martin Baulig e489beedf2 2004-04-07 Martin Baulig <[email protected]>
* GenericTypeParameterBuilder.cs
	(Mono_SetConstructorConstraint): New public method.

svn path=/trunk/mcs/; revision=25170
2004-04-07 17:32:21 +00:00
Martin Baulig 05d3f9e3be 2004-04-07 Martin Baulig <[email protected]>
* reflection.h
	(MonoReflectionGenericParam): Added `MonoBoolean has_ctor_constraint'.

svn path=/trunk/mono/; revision=25169
2004-04-07 17:32:07 +00:00
Bernie Solomon 4892d91139 2004-04-07 Bernie Solomon <[email protected]>
* MethodBuilder.cs, TypeBuilder.cs: always have
	slot for generic_params for consistent offsets.

svn path=/trunk/mcs/; revision=25168
2004-04-07 17:20:04 +00:00
Martin Baulig 80832d275a 2004-04-07 Martin Baulig <[email protected]>
* support.cs (GenericConstraints): Replaced `Types' by
	`ClassConstraint' and `InterfaceConstraints'; added
	`HasClassConstraint'.

svn path=/trunk/mcs/; revision=25167
2004-04-07 17:18:53 +00:00
Miguel de Icaza 4997bfb470 Add
svn path=/trunk/mcs/; revision=25164
2004-04-07 17:04:07 +00:00
Miguel de Icaza 8a979ffd25 Add new errors
svn path=/trunk/mcs/; revision=25163
2004-04-07 16:46:30 +00:00
Jackson Harper 763ba8d86e * appdomain.c: Revert extra patches, just wanted to bump the
version number.

svn path=/trunk/mono/; revision=25162
2004-04-07 16:42:25 +00:00
Jackson Harper e04b0bfe79 * Environment.cs: Increase corlib version number.
svn path=/trunk/mcs/; revision=25161
2004-04-07 16:22:52 +00:00
Jackson Harper e5ac52c12a * CultureInfo.cs: Use new ICUless implementation in the runtime.
* CompareInfo.cs: Get ICU name from a cultureinfo object instead
	of looking it up in the culture map.
	* RegionInfo.cs: Dont check if the LCID is neutral unless its not
	found in the switch. Avoids an icall.

svn path=/trunk/mcs/; revision=25160
2004-04-07 16:20:39 +00:00
Jackson Harper 3740a2179b * Makefile.am: Add culture-info private headers.
* icall.c: Add new icalls for contructing locales.
	* locales.c: Construct CultureInfo objects from lookup tables instead of using ICU.
	* locales.h: Declare new culture info construction methods.
	* object.h: Add new fields used to avoid the CultureMap to
	MonoCultureInfo.
	* culture-info.h: Definition of structs used in the culture info
	tables.
	* culture-info-tables.h: Autogenerated tables that contain culture
	info data. This file was generated with the locale-builder tool.
	* appdomain.c: Incement corlib version number.

svn path=/trunk/mono/; revision=25159
2004-04-07 16:17:26 +00:00
Bernie Solomon 4654dd6641 2004-04-07 Bernie Solomon <[email protected]>
* appdomain.c: (mono_runtime_init) move mono_thread_init
	to before mono_object_new calls so critical sections
	are initialized before use.

svn path=/trunk/mono/; revision=25158
2004-04-07 15:42:44 +00:00
Zoltan Varga 1fc3cac429 2004-04-07 Zoltan Varga <[email protected]>
* configure.in Makefile.am ikvm-jni: Add IKVM JNI interface library.

svn path=/trunk/mono/; revision=25157
2004-04-07 15:14:08 +00:00
Rafael Teixeira 6b963a2954 correcting Dennis having erased Joerg copyright accidentaly
svn path=/trunk/mcs/; revision=25156
2004-04-07 14:55:00 +00:00
Zoltan Varga fb9534eae3 2004-04-07 Zoltan Varga <[email protected]>
* mini.c: Only set bblock->real_offset when adding a new bblock, and
	before each IL instruction.

	* mini.c (CEE_BOX): Fix warnings.

svn path=/trunk/mono/; revision=25154
2004-04-07 14:21:39 +00:00
Rafael Teixeira 3d9e7276ab 2004/04/07 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs : Better error message when dealing with date literals

svn path=/trunk/mcs/; revision=25153
2004-04-07 13:58:04 +00:00
Sebastien Pouliot 1df3f407b2 2004-04-07 Sebastien Pouliot <[email protected]>
* cs1606.pub: New file. ECMA key.
	* cs1606.cs: New file. This is the same problem as cs1548-3.cs but CSC
	report a different error number when the ECMA key is being used.

svn path=/trunk/mcs/; revision=25152
2004-04-07 13:44:37 +00:00
Gonzalo Paniagua Javier 1ccb72ca77 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* System/Environment.cs:
	(ExpandEnvironmentVariables): on windows, env. vars. are case
	insensitive.

	* Test/System/EnvironmentTest.cs: use uppercase for PATH. Added test
	to check the expected substitutions.

svn path=/trunk/mcs/; revision=25151
2004-04-07 11:20:23 +00:00
Nick Drochak e2fcc9ea5e Fix Build
svn path=/trunk/mcs/; revision=25150
2004-04-07 11:16:18 +00:00
Lluis Sanchez 74f52190d1 * BaseValidator.cs: Store Display property in the correct ViewState
property. Don't render anything if Display is ValidatorDisplay.None.

svn path=/trunk/mcs/; revision=25149
2004-04-07 09:25:12 +00:00
Lluis Sanchez c589dd6958 * Cache.cs, CacheEntry.cs, ExpiresBuckets.cs: The value to use to specify
infinite timeout in ReaderWriterLock is -1, not 0.

svn path=/trunk/mcs/; revision=25148
2004-04-07 09:24:25 +00:00
Lluis Sanchez d92027fad2 * ReaderWriterLockTest.cs: Added one more test.
svn path=/trunk/mcs/; revision=25147
2004-04-07 09:06:45 +00:00
Lluis Sanchez 02524eecbd * ReaderWriterLock.cs: When a thread holds a writer lock, a call to
AcquireReaderLock works like a call to AcquireWriterLock.

svn path=/trunk/mcs/; revision=25146
2004-04-07 09:04:57 +00:00
Martin Baulig 9f66a3745e *** empty log message ***
svn path=/trunk/mcs/; revision=25145
2004-04-07 08:22:24 +00:00
Martin Baulig d2bf56daae 2004-04-07 Martin Baulig <[email protected]>
* generic.cs
	(Constraints.InterfaceConstraints): New public property.
	(Constraints.Types): Make this property public
	(TypeParameter): Implement IMemberContainer.
	(TypeParameter.Define): Take a `GenericTypeParameterBuilder'
	instead of a TypeBuilder/MethodBuilder; pass the interface
	constraints to TypeManager.AddTypeParameter().
	(TypeParameter.DefineType): Just take an EmitContext and no
	TypeBuilder/MethodBuilder.  Use the new public API.

	* typemanager.cs (TypeManager.AddTypeParameter): Added
	`TypeExpr[]' argument; add the interfaces to the
	`builder_to_ifaces' hash.
	(TypeManager.LookupMemberContainer): For
	GenericTypeParameterBuilders, get the TypeParameter from the
	`builder_to_type_param'.

svn path=/trunk/mcs/; revision=25144
2004-04-07 08:15:17 +00:00
Martin Baulig 2458c9140f 2004-04-07 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_TypeBuilder_define_generic_parameter): Removed.
	(ves_icall_MethodBuilder_define_generic_parameter): Removed.
	(ves_icall_MonoGenericParam_initialize): Removed.
	(monogenericparam_icalls): Removed.
	(generictypeparambuilder_icalls): Added new table for
	System.Reflection.Emit.GenericTypeParameterBuilder.

	* reflection.c
	(mono_reflection_define_generic_parameter): Removed.
	(mono_reflection_initialize_generic_parameter): This is now called
	from GenericTypeParameterBuilder's .ctor.

svn path=/trunk/mono/; revision=25143
2004-04-07 08:08:24 +00:00
Martin Baulig 8c36d8ac0c Added GenericTypeParameterBuilder
svn path=/trunk/mcs/; revision=25142
2004-04-07 08:01:56 +00:00
Martin Baulig 39eeb07f51 2004-04-07 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam): Removed.

svn path=/trunk/mcs/; revision=25141
2004-04-07 08:01:43 +00:00
Martin Baulig bedfae2e15 2004-04-01 Martin Baulig <[email protected]>
* OpCodes.cs (OpCodes.Constrained): New opcode.

svn path=/trunk/mcs/; revision=25140
2004-04-07 08:01:01 +00:00
Marek Safar bf0f92de0b 2004-04-07 Marek Safar <[email protected]>
* Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.

svn path=/trunk/mcs/; revision=25139
2004-04-07 06:46:47 +00:00
Miguel de Icaza f53011c46f 2004-04-07 Miguel de Icaza <[email protected]>
* rootcontext.cs: Add new types to the boot resolution.

	* ecore.cs (TypeExpr.CanInheritFrom): Inheriting from
	MulticastDelegate is not allowed.

svn path=/trunk/mcs/; revision=25138
2004-04-07 05:47:31 +00:00
Miguel de Icaza b2edc99b28 2004-04-07 Miguel de Icaza <[email protected]>
* typemanager.cs: Add new types to lookup: System.TypedReference
	and ArgIterator.

	* paramter.cs (Parameter.Resolve): if we are an out/ref parameter,
	check for TypedReference or ArgIterator, they are not allowed.

	* ecore.cs (BoxedCast): Set the eclass to ExprClass.Value, this
	makes us properly catch 1510 in some conditions (see bug 56016 for
	details).

svn path=/trunk/mcs/; revision=25136
2004-04-07 05:36:16 +00:00
Gonzalo Paniagua Javier 09d5a1a6e8 Small patch from Gert to match MS
svn path=/trunk/mcs/; revision=25134
2004-04-07 04:54:21 +00:00
Ravindra 9fb646a4e5 Use PNG instead of BMP.
svn path=/trunk/mcs/; revision=25133
2004-04-07 04:34:51 +00:00
Martin Baulig 1c7a604e5c 2004-04-06 Martin Baulig <[email protected]>
* class.c (mono_class_init): Don't inflate nested classes in a
	generic instance.
	(mono_type_get_name_recurse): Include the generic arguments for
	generic instances and generic type declarations.
	(inflate_generic_type): Correctly inflate MONO_TYPE_SZARRAY.
	(_mono_class_get_instantiation_name): Removed.
	(mono_class_create_generic): Always use `gklass->name' as our name.

	* class.h (MonoGenericInst): Removed `nested_in', and `nested'.

	* icall.c (ves_icall_MonoGenericInst_GetDeclaringType): Removed.
	(ves_icall_MonoGenericInst_GetNestedTypes): Removed.
	(ves_icall_MonoMethod_GetGenericParameters): Renamed to
	ves_icall_MonoMethod_GetGenericArguments() and correctly handle
	closed generic methods here.

	* reflection.c
	(mono_reflection_generic_inst_get_nested_types): Removed.
	(inflate_mono_method): Copy the generic parameters from the
	MonoMethodHeader into out MonoGenericMethod.

svn path=/trunk/mono/; revision=25132
2004-04-07 04:06:48 +00:00
Martin Baulig e4b9d98583 2004-04-07 Martin Baulig <[email protected]>
* MethodBase.cs
	(MethodBase.GetGenericParameters): Renamed to GetGenericArguments().

	* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Removed.
	(MonoGenericInst.GetNestedTypes): Just call
	`generic_type.GetNestedTypes (bf)' here.

	* MonoMethod.cs (MonoMethod.ToString): If we're a generic method,
	include the type arguments.

svn path=/trunk/mcs/; revision=25131
2004-04-07 03:57:02 +00:00
Martin Baulig 27c1676ab9 2004-04-07 Martin Baulig <[email protected]>
* class.cs
	(MethodCore.GenericMethod): Moved this field here from Method.
	(MethodCore.IsDuplicateImplementation): Take the number of type
	parameters into account if we're a generic method.

	* expression.cs (Invocation.InferTypeArguments): Don't return true
	if `arguments' is null; we still need to check whether we actually
	don't need to infer anything in this case.
	(MemberAccess): Merged the functionality from GenericMemberAccess
	into this class.

	* generic.cs (GenericMemberAccess): Removed.

svn path=/trunk/mcs/; revision=25130
2004-04-07 03:54:06 +00:00
Duncan Mak 3565d711c3 Try this as well.
svn path=/trunk/mcs/; revision=25127
2004-04-07 03:41:08 +00:00
Duncan Mak 8fc38979e6 Added a case where the sweep angle is greater than 360
degrees.

svn path=/trunk/mcs/; revision=25126
2004-04-07 03:28:09 +00:00
Duncan Mak b1c50589c8 * GraphicsPath.cs (GraphicsPath): Filled out the missing
constructors.
(ConvertPoints): New helper function. Converts a Point array to a
PointF array.

* gdipFunctions.cs (GdipCreatePath2): Fixed signature.

* pie.cs: Save to PNG, instead of BMP.

svn path=/trunk/mcs/; revision=25125
2004-04-07 02:19:42 +00:00
Martin Baulig 6ae453cebf 2004-04-06 Martin Baulig <[email protected]>
* row-indexes.h
	(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

	* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

	* reflection.c (build_compressed_metadata): If we have any entries
	in the GenericParam, MethodSpec or GenericParamConstraint tables,
	set the header version to 1.1.

svn path=/trunk/mono/; revision=25123
2004-04-06 23:40:35 +00:00
Gonzalo Paniagua Javier e2eb69acc2 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* mini.c: removed a few unused vars and extra whitespace.

svn path=/trunk/mono/; revision=25122
2004-04-06 21:40:18 +00:00
Bernie Solomon 97872d9a1d 2004-04-06 Bernie Solomon <[email protected]>
* CryptoConvert.cs: update from corlib version
	with endian fixes.

svn path=/trunk/mcs/; revision=25121
2004-04-06 21:35:06 +00:00
Gonzalo Paniagua Javier be8cf2ca69 2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't try-run the tests for nptl and/or sigaltstack
	if they are disabled in the command line.

svn path=/trunk/mono/; revision=25120
2004-04-06 21:33:21 +00:00
Martin Baulig 68d2803b80 Ooops.
svn path=/trunk/mono/; revision=25119
2004-04-06 21:32:28 +00:00
Bernie Solomon eae4d4ff17 2004-04-06 Bernie Solomon <[email protected]>
* CryptoConvert.cs: Add private methods to always
	handle data as little endian (GetBytesLE, ToInt32LE, ToUInt32LE).

svn path=/trunk/mcs/; revision=25118
2004-04-06 21:30:46 +00:00
Martin Baulig a7801383b3 Reverted the table change for the moment.
svn path=/trunk/mono/; revision=25117
2004-04-06 21:26:07 +00:00
Andreas N 7e7e125621 added files
svn path=/trunk/mcs/; revision=25116
2004-04-06 20:20:53 +00:00
Andreas N 6e2cdc3d95 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=25115
2004-04-06 20:20:39 +00:00
Martin Baulig 8c5f516cfe 2004-04-06 Martin Baulig <[email protected]>
* class.c (mono_class_init): If we're a generic instance,
	initialize our nested classes, too.
	(_mono_class_get_instantiation_name): Deal with the new `!%d'
	suffix.

svn path=/trunk/mono/; revision=25114
2004-04-06 20:18:47 +00:00
Martin Baulig c97b532a72 2004-04-06 Martin Baulig <[email protected]>
* row-indexes.h
	(MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.

	* metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".

svn path=/trunk/mono/; revision=25113
2004-04-06 20:17:37 +00:00
Andreas N a034e004a8 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=25112
2004-04-06 20:11:24 +00:00
Andreas N 5eb7d8c2d6 removed
svn path=/trunk/mcs/; revision=25111
2004-04-06 20:10:22 +00:00
Andreas N 2a20596b8e added files
svn path=/trunk/mcs/; revision=25110
2004-04-06 20:09:58 +00:00
Andreas N 0d8fdfcee8 2004-04-06 Andreas Nahr <[email protected]>
* System.Management.dll.sources: Sorted, added assemblyinfos

svn path=/trunk/mcs/; revision=25109
2004-04-06 20:06:44 +00:00
Sebastien Pouliot d0bc1d9b9c 2004-04-06 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Added static to [ThreadStatic] _principal field.
	Removed	[ThreadStatic] for _principalPolicy (not required).

svn path=/trunk/mcs/; revision=25108
2004-04-06 20:02:33 +00:00
Andreas N 55d838249e 2004-04-06 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: also remove the fixme

svn path=/trunk/mcs/; revision=25107
2004-04-06 20:01:27 +00:00
Sebastien Pouliot 58abfd687c 2004-05-06 Sebastien Pouliot <[email protected]>
* cs1548.pub: New file. Strongname file with only the public key.
	* cs1548-3.cs: New file to test signing with a strongname containing
	only the public key.

svn path=/trunk/mcs/; revision=25106
2004-04-06 19:13:42 +00:00
Lluis Sanchez 14c59cfad1 * DiagnosticsConfigurationHandler.cs: If initializeData is provided, use the
constructor that only takes one string as parameter to construct the
	listener. The name is set using the Name property, not the constructor.

	* TextWriterTraceListener.cs: In Write*, do nothing if no writer was
	provided.

svn path=/trunk/mcs/; revision=25105
2004-04-06 19:05:13 +00:00
Gonzalo Paniagua Javier 8f63d91200 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* mono-mutex.h: move pthread_mutex_timedlock declaration to...
	* mono-mutex.c: ...here. It was causing a warning that prevented
	libgdiplus compilation.

svn path=/trunk/mono/; revision=25104
2004-04-06 18:57:13 +00:00
Gonzalo Paniagua Javier 6047aba012 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* System.Data/Constraint.cs:
	* System.Data/DataColumnCollection.cs:
	* System.Data/DataRelationCollection.cs:
	* System.Data/DataRowCollection.cs:
	* System.Data/DataTableCollection.cs:
	* System.Data/InternalDataCollectionBase.cs:
	* System.Data/Node.cs: CLS compliance for System.Data. Patch by Gert
	Driesen. Fixes bug #56557.

	* Assembly/AssemblyInfo.cs:
	* System.Data.OleDb/OleDbPermissionAttribute.cs: missing bits from
	Gert's patch.

svn path=/trunk/mcs/; revision=25103
2004-04-06 18:25:51 +00:00
Sebastien Pouliot e7718dd4ac 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Now returns a correct StrongName instance when
	the ECMA "key" is used.

svn path=/trunk/mcs/; revision=25102
2004-04-06 17:16:15 +00:00
Sebastien Pouliot 554fadbb15 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added support for ECMA "key" to StringName(byte[])
	constructor.

svn path=/trunk/mcs/; revision=25101
2004-04-06 17:13:59 +00:00
Jordi Mas i Hernandez 2eccfa3ea9 region samples
svn path=/trunk/mcs/; revision=25100
2004-04-06 16:35:13 +00:00
Jordi Mas i Hernandez 3c03e01ae8 fixes GetRegionScans
svn path=/trunk/mcs/; revision=25099
2004-04-06 16:33:20 +00:00
Lluis Sanchez 93e028cdd1 * BufferedStream.cs: On Position change, do not reset the buffer if the
new position is in the limits of the buffer. This fixes #49403.

svn path=/trunk/mcs/; revision=25098
2004-04-06 16:11:18 +00:00
Gonzalo Paniagua Javier 52addb38a9 2004-04-06 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the argument passed to the shell on windows.

svn path=/trunk/mono/; revision=25097
2004-04-06 15:53:26 +00:00
Sebastien Pouliot 4e06b2fb6f 2004-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Added support for ECMA "key".

svn path=/trunk/mcs/; revision=25096
2004-04-06 14:59:20 +00:00
Lluis Sanchez 8e5e1174f6 * SynchronizationAttributeTest.cs: Added test for Monitor.Exit.
svn path=/trunk/mcs/; revision=25095
2004-04-06 14:42:59 +00:00
Sebastien Pouliot f1cc308de2 2003-04-06 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: Added test case for ECMA "key".

svn path=/trunk/mcs/; revision=25094
2004-04-06 14:34:50 +00:00
Neale Ferguson bd13a9521b S/390 JIT
svn path=/trunk/mono/; revision=25093
2004-04-06 14:29:48 +00:00
Lluis Sanchez 24b16194a7 * Monitor.cs: In Wait(), release the synchronization context when
exitContext is true.

svn path=/trunk/mcs/; revision=25092
2004-04-06 14:11:22 +00:00
Vladimir Vukicevic 2a17599938 Note: Some functionality is (temporarily) lost from System.Drawing --
reading bmp files is not yet implemented, and only png files can be
written.  Support for the rest will show up in the next few days.

* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux

* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.

* BitmapData.cs: synced up data structure with libgdiplus

* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus

* ImageCodecInfo.cs: removed encode/decode delegates

svn path=/trunk/mcs/; revision=25083
2004-04-06 09:05:48 +00:00
Anirban Bhattacharjee a12e65bd94 Couple of Accessibility and Inheritence related test cases
svn path=/trunk/mcs/; revision=25082
2004-04-06 09:03:40 +00:00
Anirban Bhattacharjee 51ac2e89c1 2004-04-06 Anirban Bhattacharjee <[email protected]>
* class.cs:
        * ecore.cs:
        * expression.cs:
        * modifiers.cs:
        Changed/added serveral Accessibility related expections

svn path=/trunk/mcs/; revision=25081
2004-04-06 08:56:43 +00:00
Miguel de Icaza f6775ef5f1 Another one gone
svn path=/trunk/mono/; revision=25079
2004-04-06 05:31:02 +00:00
Miguel de Icaza 41b7c7e9b3 Remove from build
svn path=/trunk/mono/; revision=25078
2004-04-06 05:29:38 +00:00
Miguel de Icaza 6aa59a8fa6 2004-04-06 Miguel de Icaza <[email protected]>
* Guid.cs: Flag as Sequential.

svn path=/trunk/mcs/; revision=25077
2004-04-06 05:29:23 +00:00
Miguel de Icaza af7d3984cc Add
svn path=/trunk/mcs/; revision=25076
2004-04-06 05:28:41 +00:00
Miguel de Icaza 4ad681847b Revert mistake
svn path=/trunk/mcs/; revision=25075
2004-04-06 05:28:12 +00:00
Miguel de Icaza 1affeb05b3 Added test
svn path=/trunk/mcs/; revision=25074
2004-04-06 03:00:57 +00:00
Miguel de Icaza 424c702adc 2004-04-05 Miguel de Icaza <[email protected]>
* class.cs (Indexer.Define): Check indexername declaration

svn path=/trunk/mcs/; revision=25073
2004-04-06 02:54:57 +00:00
Atsushi Eno 865fccec0d 2004-04-06 Atsushi Enomoto <[email protected]>
* DTDReader.cs : In ProcessDTDSubset(), 1)error message was
	  generated with incorrect stream character, 2)entity nest check
	  should not depend on line info which might not be supplied, 3)
	  empty PE should be skipped.
	* XmlParserInput.cs : use index for StringBuilder instead of calling
	  Remove() many times. This highly optimizes DTD parser.

	* XmlAttribute.cs : removed commented code.
	* XmlEntity.cs : removed unused field.

svn path=/trunk/mcs/; revision=25070
2004-04-06 01:42:14 +00:00
Martin Baulig e2432fba9d 2004-04-05 Martin Baulig <[email protected]>
* gmcs-expect-wrong-error: New file.

svn path=/trunk/mcs/; revision=25069
2004-04-05 23:58:23 +00:00
Martin Baulig f1f341f47c Beautify ...
svn path=/trunk/mcs/; revision=25068
2004-04-05 23:54:28 +00:00
Martin Baulig 75d01eb617 2004-04-05 Martin Baulig <[email protected]>
* decl.cs (MemberCore): For generic classes, interfaces and
	structs, `Name' now includes the number of type parameters
	("Stack!1.Node!1").
	(DeclSpace.FindType): Removed the `num_type_args' argument; we now
	encode the number of type arguments in the type name.

	* expression.cs (Expression.MemberLookup): Removed the
	`num_type_args' argument; we now encode the number of type
	arguments in the type name.

	* ecore.cs (SimpleName): Encode the number of type arguments in
	the type name itself.

	* generic.cs (ConstructedType): Likewise.

	* tree.cs (Tree.RecordDecl): Take a `string' instead of a
	`MemberName'; we now include the number of type parameters in the
	type name.

	* typemanager.cs (TypeManager.CheckGeneric): Removed.
	(TypeManager.MemberLookup): Removed the
	`num_type_args' argument; we now encode the number of type
	arguments in the type name.

svn path=/trunk/mcs/; revision=25067
2004-04-05 23:34:55 +00:00
Bernie Solomon cdc7995ccd 2004-04-05 Bernie Solomon <[email protected]>
* DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
	to fix for big endian machines.

svn path=/trunk/mcs/; revision=25066
2004-04-05 23:23:32 +00:00
Atsushi Eno 628f4cd017 2004-04-06 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : optimized Normalize() not to create
	  extraneous string objects.

svn path=/trunk/mcs/; revision=25065
2004-04-05 23:20:40 +00:00
Martin Baulig 84eea802a7 Ooops, this stuff is actually in configure.in ;-)
svn path=/trunk/mono/; revision=25064
2004-04-05 23:20:19 +00:00
Ben Maurer c92a1bf956 cls happyfication
svn path=/trunk/mcs/; revision=25063
2004-04-05 22:24:13 +00:00
Ben Maurer 2aea421381 build fixes, someone should do the correct thing...
svn path=/trunk/mcs/; revision=25062
2004-04-05 22:16:27 +00:00
Lluis Sanchez 267039533c * corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.
svn path=/trunk/mcs/; revision=25061
2004-04-05 22:13:35 +00:00
Lluis Sanchez fa9ad3bb50 * ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
svn path=/trunk/mcs/; revision=25060
2004-04-05 22:11:08 +00:00
Lluis Sanchez 47a9988450 * LockCookie.cs: Keep in this class the count of reader or writer locks
for a thread, not only whether it has locks or not.
	* LockQueue.cs: Added property for checking if a thread is waiting in
	  the queue. Wait now returns a boolean that set to false on timeout
	  expiration.
	* ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
	  The main change is that now it keeps a reader lock count for each
	  thread. This is needed since methods like ReleaseLock or
	  UpgradeToWriterLock need to return a per-thread status in LockCookie.
	  Also added support for recursive writer-lock requests.

svn path=/trunk/mcs/; revision=25059
2004-04-05 22:07:58 +00:00
Ben Maurer 04ef2a08bc 2004-04-05 Ben Maurer <[email protected]>
* inssel.brg (MONO_EMIT_BOUNDS_CHECK): a new macro to emit bounds
	checks.
	(MONO_EMIT_BOUNDS_CHECK_IMM): the above, but when you know the
	index.
	(OP_GETCHR): use the above
	(CEE_LDELEMA): use the above.

	* inseel-x86.brg (MONO_EMIT_BOUNDS_CHECK): a faster and smaller
	version of the generic impl.
	(MONO_EMIT_BOUNDS_CHECK_IMM): the same
	(CEE_LDELEMA): use the above.

svn path=/trunk/mono/; revision=25058
2004-04-05 21:27:50 +00:00
Martin Baulig 14dafe0da7 2004-04-05 Martin Baulig <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Reverted Zoltan's
	last commit to make it build again.

svn path=/trunk/mono/; revision=25057
2004-04-05 20:04:52 +00:00
Zoltan Varga b638966907 2004-04-05 Zoltan Varga <[email protected]>
* threads.c (mono_alloc_special_static_data): Allow this to be
	called during startup.

svn path=/trunk/mono/; revision=25056
2004-04-05 19:41:51 +00:00
Jackson Harper ed6be11a52 * DataTable.cs: Add rows to the row list if there is
no filter.

svn path=/trunk/mcs/; revision=25053
2004-04-05 18:02:54 +00:00
Jackson Harper a2c2d33a29 * man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.

svn path=/trunk/mono/; revision=25052
2004-04-05 17:48:42 +00:00
Zoltan Varga 09585dd904 2004-04-05 Zoltan Varga <[email protected]>
* inssel-long32.brg (CEE_CONV_OVF_I8): Sign extend the i4 value to i8.
	Fixes #56317.

svn path=/trunk/mono/; revision=25051
2004-04-05 17:44:21 +00:00
Zoltan Varga b07dc694ee 2004-04-05 Zoltan Varga <[email protected]>
* iltests.il: Added new regression test for #56317.

svn path=/trunk/mono/; revision=25050
2004-04-05 17:40:54 +00:00
Jackson Harper fcec96424f * Driver.cs: Accept output option. Usage shows /output instead of
/out like MS.

svn path=/trunk/mcs/; revision=25049
2004-04-05 17:39:00 +00:00
Jackson Harper 08abfbd92a * Driver.cs: Accept output option.
svn path=/trunk/mcs/; revision=25048
2004-04-05 17:35:30 +00:00
Jordi Mas i Hernandez c55f0d28c6 fixes
svn path=/trunk/mcs/; revision=25047
2004-04-05 16:25:36 +00:00
Jordi Mas i Hernandez be9e053790 added missing members
svn path=/trunk/mcs/; revision=25044
2004-04-05 15:50:40 +00:00
Zoltan Varga ba06ea98a4 2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.

svn path=/trunk/mono/; revision=25043
2004-04-05 15:46:24 +00:00
Zoltan Varga f8f93f7008 2004-04-05 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Use pthread_attr_get_np
	under NetBSD. Fixes #56450.

svn path=/trunk/mono/; revision=25042
2004-04-05 15:44:45 +00:00
Rafael Teixeira 4680449e54 partially addressing bug #56477
svn path=/trunk/mcs/; revision=25041
2004-04-05 15:31:20 +00:00
Miguel de Icaza 5ba6e3b95d 2004-04-05 Marek Safar <[email protected]>
* attribute.cs (IsClsCompliant): Fixed problem with handling
        all three states (compliant, not-compliant, undetected).

svn path=/trunk/mcs/; revision=25039
2004-04-05 14:15:04 +00:00
Lluis Sanchez 2a724d4747 * AttributeCollection.cs: Don't try to create a default attribute if the
attribute type does not have a default constructor. Fix by Jon Wagner.
	This fixes #53898.

svn path=/trunk/mcs/; revision=25038
2004-04-05 14:14:11 +00:00
Zoltan Varga 77f8343505 2004-04-05 Zoltan Varga <[email protected]>
* liveness.c (update_gen_kill_set): Fix previous patch.

svn path=/trunk/mono/; revision=25037
2004-04-05 13:42:05 +00:00
Anirban Bhattacharjee 3aaf39928b * class.cs:
* decl.cs:
        * expression.cs:
        * pending.cs:
        Several error messages and their numbers are changed in all the above four classes

svn path=/trunk/mcs/; revision=25036
2004-04-05 12:41:13 +00:00
Lluis Sanchez 87ac7fa9d1 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
svn path=/trunk/mcs/; revision=25035
2004-04-05 11:41:32 +00:00
Lluis Sanchez 5cc78b769a Moved to Mono.Data.Tds
svn path=/trunk/mcs/; revision=25034
2004-04-05 10:55:27 +00:00
Lluis Sanchez 9f0f5fe6d0 * Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
* Mono.Data.SybaseClient/SybaseConnection.cs: Use connection pool
	  implemented in Mono.Data.Tds.

svn path=/trunk/mcs/; revision=25033
2004-04-05 10:50:02 +00:00
Lluis Sanchez 4d13dcb351 * Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.
svn path=/trunk/mcs/; revision=25032
2004-04-05 10:45:27 +00:00
Lluis Sanchez 481e74c10e * TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.
svn path=/trunk/mcs/; revision=25031
2004-04-05 10:44:35 +00:00
Lluis Sanchez 046a411e89 * System.Data.dll.sources: removed SqlConnectionPool.cs.
svn path=/trunk/mcs/; revision=25030
2004-04-05 10:40:17 +00:00
Lluis Sanchez 1c005a5e35 * Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.
svn path=/trunk/mcs/; revision=25029
2004-04-05 10:36:34 +00:00
Lluis Sanchez e13bc13a13 * ITds.cs: Added method for reseting a connection.
* Tds.cs: Added base implementation for ITds.Reset.
	* Tds70.cs: Implemented ITds.Reset().
	* TdsConnectionPool.cs: Implemented connection pool that can be reused by
	  all Tds clients.

svn path=/trunk/mcs/; revision=25028
2004-04-05 10:35:49 +00:00
Marek Safar a0827b3427 2004-04-05 Marek Safar <[email protected]>
* cs3009-3.cs: New error test.

svn path=/trunk/mcs/; revision=25027
2004-04-05 10:33:09 +00:00
Atsushi Eno b123e6f7c5 2004-04-05 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList
	  only when they are required.
	* DTDReader.cs,
	  XmlParserInput.cs : raw tag string now don't have to be kept, while
	  it cost so much. Removed unused code. 20% to 30% memory got saved.
	* XmlNotation.cs : removed unused code.
	* XmlTextReader.cs : Removed unused code. ReadString() now uses
	  XmlReader's internal method. Fixed BaseURI to be conformant with
	  W3C XML InfoSet and (subsequently) xml:base specification (i.e.
	  reflect xml:base attribute correctly).

svn path=/trunk/mcs/; revision=25026
2004-04-05 09:32:48 +00:00
Dennis Hayes f9602f964e added to changelog
svn path=/trunk/mcs/; revision=25025
2004-04-05 07:15:34 +00:00
Dennis Hayes 734a693816 Complete. Includes code from both Mono and Mainsoft.
* BooleanType.cs
	* CharArrayType.cs
	* CharType.cs
	* IncompleteInitialization.cs
	* LongType.cs
	* OptionCompareAttribute.cs
	* OptionTextAttribute.cs
	* ShortType.cs
	* DateType.cs

	Close. Unconverted java code from Mainsoft in comments included inthe code.
	* IntegerType.cs
	* ByteType.cs
	* DecmialType.cs
	* SingleType.cs
	* DoubleType.cs


	Work in progress
	* ExceptionUtils.cs

svn path=/trunk/mcs/; revision=25024
2004-04-05 07:10:24 +00:00
Miguel de Icaza 87efd77c8b Parameter capturing test
svn path=/trunk/mcs/; revision=25019
2004-04-05 04:07:58 +00:00
Atsushi Eno 5c9cf1e30d 2004-04-05 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : get_Value should return all children's value.
	* XmlCharacterData.cs : DOM's substring does not raise an error when
	  startIndex + count exceeds the length of Data.
	* XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
	  does not replace another named item.
	* XmlElement.cs : with related to the XmlNamedNodeMap change,
	  SetAttributeNode() is required to fix as to return null when it does
	  not replace existing attribute.

svn path=/trunk/mcs/; revision=25018
2004-04-05 03:35:08 +00:00
Miguel de Icaza b0310b480f 2004-04-04 Miguel de Icaza <[email protected]>
* security.c (GetUserName): Make it work on MacOS X

svn path=/trunk/mono/; revision=25017
2004-04-05 02:15:48 +00:00
Martin Baulig 54313cfb69 When constructing the new classes MemberName, include the parent's type
parameters in the TypeName.

svn path=/trunk/mcs/; revision=25016
2004-04-05 00:57:27 +00:00
Martin Baulig 8f88fd5821 Compute the number of type parameters immediately when creating the DeclSpace.
svn path=/trunk/mcs/; revision=25015
2004-04-04 21:29:41 +00:00
Anirban Bhattacharjee 95b2a5f6c6 Few more new test cases and some modified test cases
svn path=/trunk/mcs/; revision=25011
2004-04-04 11:18:20 +00:00
Gonzalo Paniagua Javier 90f49aff5b 2004-04-04 Gonzalo Paniagua Javier <[email protected]>
* mini-x86.h: SA_STACK defined as SA_ONSTACK. Fixed build under NetBSD.

svn path=/trunk/mono/; revision=25010
2004-04-04 10:31:40 +00:00
Anirban Bhattacharjee 566855f957 * delegate.cs: changed default access modifier
* enum.cs: changed default access modifier
 * interface.cs: changed default access modifier
 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods

svn path=/trunk/mcs/; revision=25009
2004-04-04 10:11:13 +00:00
Anirban Bhattacharjee 57b3e30b64 * class.cs: Changed exception messages and their numbers to align better with VB
Changed default access modifier of method to Public
                    Bug fixed to get NotOverridable modifier working
        * decl.cs:  Changed exception messages and numbers

svn path=/trunk/mcs/; revision=25008
2004-04-04 10:00:54 +00:00
Gonzalo Paniagua Javier 972d9121d0 2004-04-04 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: "/" is the virtual root directory of
	the application. This fixes a bug reported by Vlad that caused
	configuration error because files were read twice when there's an
	application different from "/" defined.

svn path=/trunk/mcs/; revision=25007
2004-04-04 08:38:46 +00:00
Duncan Mak f48e250dbc (PrintTypes): show the number of types in the assembly as well.
svn path=/trunk/mcs/; revision=25002
2004-04-04 00:55:09 +00:00
Martin Baulig 33d2fc699a 2004-04-03 Martin Baulig <[email protected]>
* decl.cs (MemberCore.ctor): Take a MemberName instead of a sting.
	(MemberCore.MemberName): Moved here from MemberBase.
	(DeclSpace.SetParameterInfo): Just take the constraints as an
	ArrayList; we already have the type parameters in our
	`MemberName'; also do the CS0080 reporting here.

	* cs-parser.jay (struct_declaration): Use `member_name' instead of
	`IDENTIFIER opt_type_parameter_list'; when constructing our
	`MemberName', it'll already include our type parameters.
	(class_declaration, interface_declaration): Likewise.
	(delegate_declaration): Likewise.
	(MakeName): Take a MemberName and return a MemberName.
	The following two changes are required to avoid shift/reduce conflicts:
	(member_name): Don't include a TypeName anymore; ie. this is now
	just 'IDENTIFIER opt_type_parameter_list'.
	(property_declaration, event_declaration): Use a
	`namespace_or_type_name' instead of a `member_name'.

svn path=/trunk/mcs/; revision=25001
2004-04-03 22:56:23 +00:00
Martin Baulig ba0d83e5ae 2004-04-03 Martin Baulig <[email protected]>
* decl.cs (MemberName): Renamed to `TypeName' and created a new
	`MemberName' class.
	(TypeName): Formerly known as MemberName.

	* namespace.cs (NamespaceEntry.UsingAlias): Take a `TypeName'
	instead of a `MemberName'.

	* cs-parser.jay (namespace_or_type_name): Create a TypeName.
	(member_name): New rule; create a MemberName.

svn path=/trunk/mcs/; revision=24999
2004-04-03 20:48:49 +00:00
Jackson Harper 5d006a62c3 * CodeGen.cs: cast
svn path=/trunk/mcs/; revision=24998
2004-04-03 18:14:25 +00:00
Jackson Harper fd5756b9d3 * ILParser.jay: Dont use hash alg enum its too restrictive
svn path=/trunk/mcs/; revision=24997
2004-04-03 18:13:12 +00:00
Miguel de Icaza ca52e918c1 Patch from Joerg Rosenkranz
2004-03-31  Joerg Rosenkranz  <[email protected]>

	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
		Changed DefineChar to allow retrieval of
		multibyte characters (i.e. german umlauts).
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
		OciDefineHandles are now disposed in the
		Dispose function.

svn path=/trunk/mcs/; revision=24996
2004-04-03 17:19:03 +00:00
Jackson Harper 747d1c0cd5 * ILParser.jay: Set assembly info.
svn path=/trunk/mcs/; revision=24995
2004-04-03 08:11:48 +00:00
Jackson Harper d199bc9514 * CodeGen.cs: Allow setting assembly info.
svn path=/trunk/mcs/; revision=24994
2004-04-03 08:09:05 +00:00
Jackson Harper 3c1e8fe8e9 * PEAPI.cs: Allow hash algorithms to be any integer.
svn path=/trunk/mcs/; revision=24993
2004-04-03 08:06:24 +00:00
Martin Baulig 027587df3d Small fix.
svn path=/trunk/mcs/; revision=24990
2004-04-03 03:38:33 +00:00
Martin Baulig 1fd5cf4de9 2004-04-02 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
	(CS0305 and CS0308).

svn path=/trunk/mcs/; revision=24989
2004-04-03 03:30:23 +00:00
Martin Baulig c467301990 2004-04-02 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
	(CS0305 and CS0308).

svn path=/trunk/mcs/; revision=24988
2004-04-03 03:26:46 +00:00
Martin Baulig 5fd937e4e0 New tests.
svn path=/trunk/mcs/; revision=24987
2004-04-03 03:25:37 +00:00
Atsushi Eno 4413a675d8 2003-04-03 Atsushi Enomoto <[email protected]>
* Path.cs : ChangeExtension() does not remove dot(.) when extension is
	  an empty string.

svn path=/trunk/mcs/; revision=24986
2004-04-02 23:29:30 +00:00
Atsushi Eno dae65f4674 2003-04-03 Atsushi Enomoto <[email protected]>
* PathTest.cs : Added more patterns on TestChangeExtension().

svn path=/trunk/mcs/; revision=24985
2004-04-02 23:27:27 +00:00
Martin Baulig 05d7ee5919 New test.
svn path=/trunk/mcs/; revision=24984
2004-04-02 23:25:15 +00:00
Martin Baulig 2f8675f072 2004-04-02 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.

svn path=/trunk/mcs/; revision=24983
2004-04-02 22:13:38 +00:00
Martin Baulig 19aa372a2e 2004-04-02 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_MonoGenericInst_GetDeclaringType): New icall.

svn path=/trunk/mono/; revision=24982
2004-04-02 22:12:41 +00:00
Martin Baulig 431fc11c0a 2004-04-02 Martin Baulig <[email protected]>
* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Added
	support for nested types.

svn path=/trunk/mcs/; revision=24981
2004-04-02 22:08:20 +00:00
Martin Baulig 9b81b10ba9 2004-04-02 Martin Baulig <[email protected]>
* ecore.cs (IAlias): New public interface.
	(TypeExpr, TypeExpression): Implement IAlias.
	(TypeAliasExpression): New public class.

	* namespace.cs (Namespace): Implement IAlias.
	(Namespace.Lookup): Return an IAlias instead on an object.
	(Namespace.DefineName): Take an IAlias instead of an object.
	(NamespaceEntry.AliasEntry.Resolve): Return an IAlias instead of
	an object.
	(NamespaceEntry.UsingAlias): Take a Membername instead of an
	Expression.
	(NamespaceEntry.LookupAlias): Return an IAlias instead on an
	object.
	(NamespaceEntry.Lookup): Likewise.

	* rootcontext.cs (RootContext.LookupType): Return a TypeExpr
	instead of a Type.

	* decl.cs (DeclSpace): Implement IAlias.
	(DeclSpace.LookupAlias): Return an IAlias instead of a string.

	* generic.cs (ConstructedType): Improved error checking.

svn path=/trunk/mcs/; revision=24980
2004-04-02 20:58:18 +00:00
Bernie Solomon 6402cf7df7 2004-04-02 Bernie Solomon <[email protected]>
* PasswordDeriveBytesTest.cs: Add ToInt32LE so
	it works on big endian machines.

svn path=/trunk/mcs/; revision=24978
2004-04-02 18:58:03 +00:00
Gonzalo Paniagua Javier 679ebd0a95 2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
	* configure.in: check for getpwuid_r.
	* mono/io-layer/security.c: use getpwuid_r if available. This one is
	thread-safe.

svn path=/trunk/mono/; revision=24977
2004-04-02 16:27:38 +00:00
Zoltan Varga 2fdc1dbe2a 2004-04-02 Zoltan Varga <[email protected]>
* icall.c: Fix build.

svn path=/trunk/mono/; revision=24976
2004-04-02 16:04:11 +00:00
Zoltan Varga c54198fc63 2004-04-02 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Avoid handle_loaded_temps in
	ldsfld and ldsflda.

svn path=/trunk/mono/; revision=24975
2004-04-02 15:51:53 +00:00
Sebastien Pouliot 92ef579d02 2004-04-02 Sebastien Pouliot <[email protected]>
* security.c|h: wrong version. Removed second icall.

svn path=/trunk/mono/; revision=24974
2004-04-02 15:36:15 +00:00
Zoltan Varga 7253a098cc 2004-04-02 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add more optimizations.

	* mini-sparc.c: Replace multiply/divide with shifts if possible.

svn path=/trunk/mono/; revision=24973
2004-04-02 15:23:11 +00:00
Sebastien Pouliot b5a530047c 2004-04-02 Sebastien Pouliot <[email protected]>
* Environment.cs: Now call the runtime to get the username (#56144).

svn path=/trunk/mcs/; revision=24972
2004-04-02 15:13:32 +00:00
Sebastien Pouliot c1b92d3514 2004-04-02 Sebastien Pouliot <[email protected]>
* Makefile.am: Added security.c|h.
	* icall.c: Added icall for get_UserName;
	* security.c: New file for security related icalls. Added function
	get_UserName for System.Environment (fix #56144).
	* security.h: New. Header file for security.c

svn path=/trunk/mono/; revision=24971
2004-04-02 15:10:35 +00:00
Sebastien Pouliot 9f6cfb65b3 2004-04-02 Sebastien Pouliot <[email protected]>
* Makefile.am: Added security.c|h.
	* security.c: New file for security related functions. Added function
	GetUserName to fix #56144.
	* security.h: New. Header file for security.c
	* wapi.h: Added include for security.h

svn path=/trunk/mono/; revision=24970
2004-04-02 15:08:46 +00:00
Dick Porter e57a521766 2004-04-02 Dick Porter <[email protected]>
* icall.c: Deleted the icalls that were obsoleted some time ago
	by the ICU string code, and which were mixed into the icall
	rearranging.  Fixes bug 55969.

	* string-icalls.h:
	* string-icalls.c: Deleted the code that those icalls reference.

svn path=/trunk/mono/; revision=24969
2004-04-02 14:45:07 +00:00
Dick Porter d66835fdb4 2004-04-02 Dick Porter <[email protected]>
* String.cs: More sanity checks in Replace().  Fixes bug 55822.

svn path=/trunk/mcs/; revision=24968
2004-04-02 13:35:25 +00:00
Sebastien Pouliot ee7b8f3e97 2004-04-02 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added System/EnvironmentTest.cs.

svn path=/trunk/mcs/; revision=24967
2004-04-02 13:03:05 +00:00
Sebastien Pouliot 5c97433738 2004-04-02 Sebastien Pouliot <[email protected]>
* EnvironmentTest.cs: New. Add unit tests for ExpandEnvironmentVariables.

svn path=/trunk/mcs/; revision=24966
2004-04-02 13:01:57 +00:00
Sebastien Pouliot 8a1114738e 2004-04-02 Sebastien Pouliot <[email protected]>
* Environment.cs: Implement ExpandEnvironmentVariables static method.

svn path=/trunk/mcs/; revision=24965
2004-04-02 12:55:16 +00:00
Gonzalo Paniagua Javier d69f0bb7f1 2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: AssemblyQualifiedName now displays culture, version...
	Fixes bug #56341.

svn path=/trunk/mcs/; revision=24964
2004-04-02 12:43:48 +00:00
Jordi Mas i Hernandez 50f2605df2 region c# implementation
svn path=/trunk/mcs/; revision=24961
2004-04-02 09:08:12 +00:00
César Natarén 472da834ca changelog entry
svn path=/trunk/mcs/; revision=24960
2004-04-02 07:49:37 +00:00
César Natarén c484de5721 2004-04-02 Cesar Lopez Nataren <[email protected]>
* Equality.cs: Moved the Emit and Resolve code here.
	* jscript-lexer-parser.g: Build a Equality object instead of a
	Binary object for equality_expr.
	* expression.cs: moved equality oeprators (resolve and IL gen) to
	Equality.Emit and Equality.Resolve.

svn path=/trunk/mcs/; revision=24959
2004-04-02 07:47:52 +00:00
Roopa Wilson efbe4b6865 2004-04-02 Roopa Wilson ([email protected])
* DataTable.cs : Included code to copy extended properties in CopyProperties() method
        * DataTable.cs : CaseSensitive and Locale properties cannot be changedif the table belongs to a data relation
        * DataTable.cs : Prefix property should not contain any specialcharacters
        * DataTable.cs : Added code to BeginLoadData and EndLoadData methods tohandle tables not belonging to any data set
        * DataTable.cs :  Implemented an private property EnforceConstraints to enforceconstraints in EndLoadData when table is not part of any dataset
        * DataTable.cs : Removed TODO tags for Clone (), Copy (), EndLoadData() and GetChanges ()
        * DataTable.cs : Clear method should throw a NotSupportedException when the table is part of a DataSet bound to a XmlDataDocument
        * DataSet.cs : Clear method should throw a NotSupportedException when DataSet is bound to a XmlDataDocument
        * XmlDataDocument.cs : Included code to indicate to the DataSet that it is bound to this particular XmlDataDocument
        * DataTableTest.cs: Included tests for the changes made in DatTable.cs

svn path=/trunk/mcs/; revision=24958
2004-04-02 05:54:59 +00:00
Miguel de Icaza 75c4f9d421 Add new tests
svn path=/trunk/mcs/; revision=24956
2004-04-02 05:13:05 +00:00
Miguel de Icaza dc206763c4 Flush
svn path=/trunk/mono/; revision=24954
2004-04-02 04:49:26 +00:00
Martin Baulig 5bc7391528 Add it.
svn path=/trunk/mcs/; revision=24953
2004-04-02 04:37:18 +00:00
Martin Baulig 0660833bf3 2004-04-02 Martin Baulig <[email protected]>
* convert.cs: Added type parameter conversions.

	* ecore.cs
	(UnboxCast.Emit): Emit an `unbox.any' for type params.
	(ClassCast.Emit): If the source type is a type parameter, box it.
	If the target type is a type parameter, emit an `unbox.any'
	instead of a `classcast'.

svn path=/trunk/mcs/; revision=24952
2004-04-02 04:37:10 +00:00
Martin Baulig 40ab003390 New test.
svn path=/trunk/mcs/; revision=24951
2004-04-02 04:32:48 +00:00
Martin Baulig 9001f7dbe3 2004-04-01 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
	this and always return false.

svn path=/trunk/mcs/; revision=24950
2004-04-02 04:15:15 +00:00
Martin Baulig 98d19962b1 A type parameter is no longer an interface.
svn path=/trunk/mcs/; revision=24949
2004-04-02 04:14:39 +00:00
Martin Baulig cb5b80d323 2004-04-01 Martin Baulig <[email protected]>
* metadata.h (MONO_CLASS_IS_INTERFACE): New macro.

	* class.c (mono_class_from_generic_parameter): Don't set
	TYPE_ATTRIBUTE_INTERFACE.
	(my_mono_class_from_generic_parameter): Likewise.

svn path=/trunk/mono/; revision=24948
2004-04-02 04:14:16 +00:00
Martin Baulig 7331471550 2004-04-01 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.

svn path=/trunk/mcs/; revision=24945
2004-04-02 03:07:58 +00:00
Martin Baulig b9072a07f5 2004-04-01 Martin Baulig <[email protected]>
* cs-tokenizer.cs (parse_less_than): Allow Token.DOT.

svn path=/trunk/mcs/; revision=24943
2004-04-02 02:25:03 +00:00
Martin Baulig 3a7f7ee35c Added gen-53.cs
svn path=/trunk/mcs/; revision=24942
2004-04-02 02:24:41 +00:00
Martin Baulig e646373d34 New test.
svn path=/trunk/mcs/; revision=24941
2004-04-02 02:19:24 +00:00
Martin Baulig 8745dbaf69 Ooops, I screwed this up again.
svn path=/trunk/mcs/; revision=24940
2004-04-02 02:16:52 +00:00
Martin Baulig 08f04ff692 2004-04-01 Martin Baulig <[email protected]>
* mini.c (handle_box): New static function; moved the
	implementation of CEE_BOX here.
	(mono_method_to_ir): Added `constrained_call' variable.
	(mono_method_to_ir:CEE_CONSTRAINED_): Set it.
	(mono_method_to_ir:CEE_CALL): If `constrained_call' is set, use
	mono_method_get_constrained() to get the method.

svn path=/trunk/mono/; revision=24939
2004-04-02 02:16:36 +00:00
Martin Baulig d26360d838 Ooops.
svn path=/trunk/mono/; revision=24938
2004-04-02 02:15:16 +00:00
Martin Baulig 82a606b6a5 2004-04-01 Martin Baulig <[email protected]>
* loader.c (find_method): Added an optional `MonoClass *ic'
	argument to search in a specific interface.
	(mono_get_method_constrained): New public function.

svn path=/trunk/mono/; revision=24937
2004-04-02 01:44:37 +00:00
Duncan Mak e052b7bdd0 * GraphicsPath.cs (AddCurve, AddClosedCurve): Added all overloads.
* Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.

* gdipFunctions.cs (GdipAddPathCurveI):
(GdipAddPathCurve2, GdipAddPathCurve2I):
(GdipAddPathCurve3, GdipAddPathCurve3I):
(GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
(GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
wrappers from GDI+.

svn path=/trunk/mcs/; revision=24936
2004-04-02 01:20:34 +00:00
Lluis Sanchez 81db054b23 * TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24934
2004-04-01 22:51:21 +00:00
Lluis Sanchez bff3be23b3 * FolderBrowserDialog.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24933
2004-04-01 22:49:44 +00:00
Lluis Sanchez b8301c0212 * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.

svn path=/trunk/mcs/; revision=24932
2004-04-01 22:48:52 +00:00
Lluis Sanchez 30c6002f2c * X509Chain.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24931
2004-04-01 22:48:05 +00:00
Martin Baulig a129151604 2004-04-01 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): If we're invoking a method
	on a type parameter, use the new `Constrained' prefix opcode.

svn path=/trunk/mcs/; revision=24929
2004-04-01 22:04:55 +00:00
Martin Baulig ec200f2ab1 2004-04-01 Martin Baulig <[email protected]>
* OpCodes.cs (OpCodes.Constrained): New opcode.

svn path=/trunk/mcs/; revision=24928
2004-04-01 22:01:04 +00:00
Martin Baulig 73e8a8ed61 2004-04-01 Martin Baulig <[email protected]>
* dump.c (dump_table_memberref): Added support for TypeDef's.

svn path=/trunk/mono/; revision=24927
2004-04-01 21:55:07 +00:00
Martin Baulig 75cc2624a6 2004-04-01 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_generic_field_token): Use the
	`handleref' cache here.

svn path=/trunk/mono/; revision=24926
2004-04-01 21:54:41 +00:00
Martin Baulig 3184184468 2004-04-01 Martin Baulig <[email protected]>
* reflection.h (MonoDynamicImage): Added `GHashTable *typespec'.

	* reflection.c (create_generic_typespec): Use the `typespec' hash
	here, not the `typeref' one.

svn path=/trunk/mono/; revision=24925
2004-04-01 21:42:56 +00:00
Martin Baulig 8386ca4925 Make this actually work; user-defined implicit conversions are not allowed here.
svn path=/trunk/mcs/; revision=24923
2004-04-01 20:18:34 +00:00
Martin Baulig a0ec91a4f2 New test, formerly known as gen-51.cs.
svn path=/trunk/mcs/; revision=24922
2004-04-01 20:16:57 +00:00
Martin Baulig 773ada8ef7 2004-04-01 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Use
	Convert.ImplicitStandardConversionExists(); user-defined implicit
	conversions are not allowed according to the spec.

svn path=/trunk/mcs/; revision=24921
2004-04-01 20:13:48 +00:00
Martin Baulig 0bce073ecd 2004-04-01 Martin Baulig <[email protected]>
* mini.c (TYPE_PARAM_TO_TYPE, TYPE_PARAM_TO_CLASS): Removed.
	(MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): Removed.
	(mono_method_to_ir): We don't need these macros anymore since
	mono_class_get_full() already takes care of it.

svn path=/trunk/mono/; revision=24920
2004-04-01 19:45:49 +00:00
Martin Baulig 32d286c36f 2004-04-01 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Moved the
	functionality into a new static inflate_generic_type() which
	returns NULL if it didn't do anything.  Only increment the
	`mono_stats.inflated_type_count' if we actually inflated
	something.
	(mono_class_get_full): Check the classes type to see whether we
	need to inflate it; also inflate MONO_TYPE_(M)VAR.

svn path=/trunk/mono/; revision=24919
2004-04-01 19:44:25 +00:00
Miguel de Icaza 9c7c5090f1 Update
svn path=/trunk/mono/; revision=24918
2004-04-01 18:38:54 +00:00
Jackson Harper 52e817c8af * reflection.c: Set culture for assembly references.
svn path=/trunk/mono/; revision=24917
2004-04-01 18:37:44 +00:00
Miguel de Icaza 972b04815b MCS now checks for CLS compliance.
Patch from Marek Safar, thanks a lot Marek for working so hard in getting
every detail right.

2004-03-30  Marek Safar  <[email protected]>

	* attribute.cs (Attribute): Location is now public.
        (Resolve): Store resolved arguments (pos_values) in attribute class.
        Attribute extractors (now GetClsCompliantAttributeValue) can reuse them.
        (GetClsCompliantAttributeValue): New method that gets
        CLSCompliantAttribute value.
        (GetClsCompliantAttribute): Returns CLSCompliantAttribute for DeclSpace
        if exists else null.
        (AttributeTester): New class for CLS-Compliant verification routines.

	* class.cs (Emit): Add CLS-Compliant verification.
        (Method.GetSignatureForError): Implemented.
        (Constructor.GetSignatureForError): Implemented
        (Constructor.HasCompliantArgs): Returns if constructor has
        CLS-Compliant arguments.
        (Constructor.Emit): Override.
        (Construcor.IsIdentifierClsCompliant): New method; For constructors
        is needed to test only parameters.
        (FieldBase.GetSignatureForError): Implemented.
        (TypeContainer): New member for storing base interfaces.
        (TypeContainer.FindMembers): Search in base interfaces too.

        * codegen.cs (GetClsComplianceAttribute): New method that gets
        assembly or module CLSCompliantAttribute value.
        (ResolveClsCompliance): New method that resolve CLSCompliantAttribute
        for assembly.
        (ModuleClass.Emit): Add error 3012 test.

        * const.cs (Emit): Override and call base for CLS-Compliant tests.

        * decl.cs (ClsComplianceValue): New enum that holds CLS-Compliant
        state for all decl types.
        (MemberCore.Emit): Emit is now virtual and call VerifyClsCompliance
        if CLS-Compliant tests are required.
        (IsClsCompliaceRequired): New method. Analyze whether code
        must be CLS-Compliant.
        (IsExposedFromAssembly): New method. Returns true when MemberCore
        is exposed from assembly.
        (GetClsCompliantAttributeValue): New method. Resolve CLSCompliantAttribute
        value or gets cached value.
        (HasClsCompliantAttribute): New method. Returns true if MemberCore
        is explicitly marked with CLSCompliantAttribute.
        (IsIdentifierClsCompliant): New abstract method. This method is
        used to testing error 3005.
        (IsIdentifierAndParamClsCompliant): New method. Common helper method
        for identifier and parameters CLS-Compliant testing.
        (VerifyClsCompliance): New method. The main virtual method for
        CLS-Compliant verifications.
        (CheckAccessLevel): In one special case (System.Drawing) was TypeBuilder
        null. I don't know why is null (too many public members !).
        (GetClsCompliantAttributeValue). New method. Goes through class hierarchy
        and get value of first CLSCompliantAttribute that found.

        delegate.cs (Emit): Override and call base for CLS-Compliant tests.
        (VerifyClsCompliance): Override and add extra tests.

        * driver.cs (CSCParseOption): New command line options (clscheck[+|-]).
        clscheck- disable CLS-Compliant verification event if assembly is has
        CLSCompliantAttribute(true).

        * enum.cs (Emit): Override and call base for CLS-Compliant tests.
        ApllyAttribute is now called in emit section as in the other cases.
        Possible future Emit integration.
        (IsIdentifierClsCompliant): New override.
        (VerifyClsCompliance): New override.
        (GetEnumeratorName): Returns full enum name.

        * parameter.cs (GetSignatureForError): Implemented.

        * report.cs (WarningData): New struct for Warning message information.
        (LocationOfPreviousError): New method.
        (Warning): New method. Reports warning based on the warning table.
        (Error_T): New method. Reports error based on the error table.

        * rootcontext.cs (EmitCode): Added new Emit(s) because CLS-Compliant
        verifications are done here.

        * tree.cs (RecordDecl): Used new LocationOfPreviousError method.

        * typemanager.cs (cls_compliant_attribute_type): New member thath holds
        CLSCompliantAttribute.
        (all_imported_types): New member holds all imported types from other
        assemblies.
        (LoadAllImportedTypes): New method fills static table with exported types
        from all referenced assemblies.
        (Modules): New property returns all assembly modules.

svn path=/trunk/mcs/; revision=24916
2004-04-01 18:32:01 +00:00
Ben Maurer 0beb19d44f 2004-04-01 Ben Maurer <[email protected]>
* LocalBuilder.cs: Fix pinned support.

svn path=/trunk/mcs/; revision=24915
2004-04-01 18:01:47 +00:00
Ben Maurer 467d1c3c50 2004-04-01 Ben Maurer <[email protected]>
* reflection.[ch], icall.[ch], Fix support for pinning variables.

svn path=/trunk/mono/; revision=24914
2004-04-01 18:00:35 +00:00
Lluis Sanchez af38ee880d * TdsMetaParameter.cs: When the size of the parameter is not specified,
use the same default sizes as in MS.NET.

svn path=/trunk/mcs/; revision=24911
2004-04-01 17:17:37 +00:00
Lluis Sanchez 7ba957d0b1 * RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
MS.NET behavior.

svn path=/trunk/mcs/; revision=24909
2004-04-01 14:40:32 +00:00
Lluis Sanchez 6bf0e8bc3a * TdsDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.

svn path=/trunk/mcs/; revision=24908
2004-04-01 14:32:28 +00:00
Lluis Sanchez bf0470eb91 * SoapTypeAttribute.cs: Reverted last change. MS.NET don't return the full
assembly name.

svn path=/trunk/mcs/; revision=24907
2004-04-01 14:30:54 +00:00
Lluis Sanchez 5bf3783f45 * Tds.cs: All methods now return DBNull instead of null for null values.
* Tds50.cs, Tds70.cs: Support parameters with DBNull value.

svn path=/trunk/mcs/; revision=24906
2004-04-01 14:22:08 +00:00
Lluis Sanchez f8c66bdceb * Mono.Data.SybaseClient/SybaseDataReader.cs: Null values are now
represented with DBNull instances. Deal with this.
	* Mono.Data.SybaseTypes/SybaseNullValueException.cs: Use a more clarifying
	  error message.

svn path=/trunk/mcs/; revision=24905
2004-04-01 14:21:04 +00:00
Lluis Sanchez cbd49bed1d * TdsNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24904
2004-04-01 14:20:11 +00:00
Lluis Sanchez 85c74ce9a4 * SqlNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24903
2004-04-01 14:17:49 +00:00
Lluis Sanchez ee12b47161 * SqlDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.

svn path=/trunk/mcs/; revision=24902
2004-04-01 14:16:59 +00:00
Lluis Sanchez b1f6ebcee7 * FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
classes can override to perform class specific refreshing.
	* FileInfo.cs: Refresh existence flag when Refresh is called.
	* TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
	  The method Write(char) should do nothing by default.

svn path=/trunk/mcs/; revision=24901
2004-04-01 13:29:53 +00:00
Jackson Harper 014b6c44ab * Driver.cs: The parser now needs to take a scanner object in its
constructor so it can set a flag when parsing byte arrays.

svn path=/trunk/mcs/; revision=24900
2004-04-01 10:29:05 +00:00
Jackson Harper 8d021d6591 * ILParser.jay: Set a flag in the tokenizer when parsing byte
arrays. Otherwise we can't tell WTF they are. Set assemblyref
	attributes.

svn path=/trunk/mcs/; revision=24899
2004-04-01 10:28:33 +00:00
Jackson Harper ab36b10dac * CodeGen.cs: Add a current assembly ref and methods to create/end
it so we can set assembly ref attributes.
	* ExternTable.cs: Make the ExternAssembly public so that its
	attributes can be set.

svn path=/trunk/mcs/; revision=24898
2004-04-01 10:28:05 +00:00
Jackson Harper 8bb9244990 * ILTokenizer.cs: Add flag and special parsing routine for byte
arrays.

svn path=/trunk/mcs/; revision=24897
2004-04-01 10:27:25 +00:00
Gonzalo Paniagua Javier f42e2d45bb 2004-04-01 Gonzalo Paniagua Javier <[email protected]>
* assembly.c:
	(do_mono_assembly_open): the critical section also covers
	mono_image_open and mono_image_open_from_data. Fixes bug #56327.

svn path=/trunk/mono/; revision=24896
2004-04-01 09:12:05 +00:00
Atsushi Eno 7cce1f15e4 2004-04-01 Atsushi Enomoto <[email protected]>
* XslVariable.cs : When evaluated variable was BaseIterator, its
	  iterated nodes must be collected in prior. Otherwise, it might be
	  evaluated later with inconsistent level of variable stack in
	  XslTransformProcessor. This fixes bug #55876.

svn path=/trunk/mcs/; revision=24895
2004-04-01 04:53:44 +00:00
César Natarén a84d8483a7 2004-03-31 Cesar Lopez Nataren <[email protected]>
* expression.cs: Added shift operators IL emit.

svn path=/trunk/mcs/; revision=24890
2004-03-31 22:34:39 +00:00
Atsushi Eno 9f6eaebb3a 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests by Mainsoft hackers.

svn path=/trunk/mcs/; revision=24887
2004-03-31 21:45:14 +00:00
César Natarén 63f1149bef 2004-03-31 Cesar Lopez Nataren <[email protected]>
* BitwiseBinary.cs: added constructor for building it according to
	JSToken enum. return a new object on EvaluateBitwiseBinary (this
	needs a real implementation).
	* expression.cs: added code for evaluation of bitwise operators at emit_op_eval.

svn path=/trunk/mcs/; revision=24886
2004-03-31 21:32:02 +00:00
Miguel de Icaza 113eb576a1 Flush
svn path=/trunk/mono/; revision=24885
2004-03-31 21:13:09 +00:00
Gonzalo Paniagua Javier 5ae78dbc23 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* aot.c: set aot_verbose to 0, fixed format string that caused sigsegv,
	use @function (as doesn't accept #function here) and check the return
	value of system and stop if fails.

svn path=/trunk/mono/; revision=24884
2004-03-31 21:09:49 +00:00
César Natarén 2aa5543290 updates from grammar changes
svn path=/trunk/mcs/; revision=24883
2004-03-31 20:49:51 +00:00
Gonzalo Paniagua Javier 6b06ae74fc 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* mini.c: set the timeout to 2s when calling mono_domain_finalize.

svn path=/trunk/mono/; revision=24882
2004-03-31 20:45:53 +00:00
César Natarén dce3701df5 2004-03-31 Cesar Lopez Nataren <[email protected]>
* Statement.cs: added stub for While and DoWhile ast
	representation (reworking my Emit code).
	* jscript-parser-lexer.g: allow iteration statement ast build.

svn path=/trunk/mcs/; revision=24881
2004-03-31 20:45:07 +00:00
Gonzalo Paniagua Javier 55a4076507 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* threads.c:
	(mono_manage_threads): abort the background threads when finishing.
	Fixes bug #47232.

svn path=/trunk/mono/; revision=24880
2004-03-31 20:44:04 +00:00
Juraj Skripsky 970687296e 2004-03-31 Juraj Skripsky <[email protected]>
* DataColumn.cs : Setting Caption to null sets it to the empty string
	(ms.net behaviour, testcase is in DataColumnTest).

	* DataRow.cs : Evaluate DataColumn.Expression when such a column's value is
	requested.

svn path=/trunk/mcs/; revision=24879
2004-03-31 20:40:13 +00:00
Gonzalo Paniagua Javier 3ce3f9d882 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* gc.c: only close the done_event handle if there was no timeout.
	C-ified comments.

svn path=/trunk/mono/; revision=24878
2004-03-31 20:38:07 +00:00
César Natarén 9f2765e392 2004-03-31 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: agrouped code for setting custom attribute.

svn path=/trunk/mcs/; revision=24877
2004-03-31 20:33:29 +00:00
Andreas N f48d138b56 2004-03-31 Andreas Nahr <[email protected]>
* System.Runtime.Remoting.dll.sources: Added:
	  AssemblyInfo and Locale

svn path=/trunk/mcs/; revision=24876
2004-03-31 20:11:12 +00:00
Andreas N ed3a1fce00 2004-03-31 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=24875
2004-03-31 20:10:52 +00:00
Andreas N 4c52b2e5aa 2004-03-31 Andreas Nahr <[email protected]>
* System.Runtime.Serialization.Formatters.Soap.dll.sources:
	  Added new AssemblyInfo, removed old one, added Locale.cs
	* Makefile: Removed unused ref

svn path=/trunk/mcs/; revision=24874
2004-03-31 20:10:01 +00:00
Andreas N 7c91db675b removed
svn path=/trunk/mcs/; revision=24873
2004-03-31 20:08:35 +00:00
Sebastien Pouliot 5b88a07295 2004-03-31 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added Mono.Security/StrongNameManager.cs.

svn path=/trunk/mcs/; revision=24872
2004-03-31 19:57:11 +00:00
César Natarén 3ee2a8b4df 2004-03-31 Cesar Lopez Nataren <[email protected]>
* expression.cs: added Modulo operator case.

svn path=/trunk/mcs/; revision=24871
2004-03-31 19:52:25 +00:00
Sebastien Pouliot 846df6fec5 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Removed #if for NET_1_2

svn path=/trunk/mcs/; revision=24870
2004-03-31 19:52:07 +00:00
Sebastien Pouliot 4297e21543 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongNameManager.cs: Synched with corlib version (updated graphic).

svn path=/trunk/mcs/; revision=24869
2004-03-31 19:50:40 +00:00
Sebastien Pouliot ca18aacc70 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Update to include new static method that can be
	called from the runtime to validate strongname signatures.
	Refactored the existing class to reduce code duplication.

svn path=/trunk/mcs/; revision=24868
2004-03-31 19:48:32 +00:00
Juraj Skripsky 5c9c273f14 2004-03-31 Juraj Skripsky <[email protected]>
* Parser.jay, ColumnReference.cs, Comparison.cs, Functions.cs,
	Aggregation.cs : fix bugs exposed by DataColumnTest.cs.

svn path=/trunk/mcs/; revision=24867
2004-03-31 19:29:19 +00:00
Juraj Skripsky 7b04e56289 2004-03-31 Juraj Skripsky <[email protected]>
* DataColumnTest.cs : fixes here and there,
	make all tests pass on ms.net.

svn path=/trunk/mcs/; revision=24866
2004-03-31 19:27:53 +00:00
Sebastien Pouliot 9434214e29 2004-03-31 Sebastien Pouliot <[email protected]>
* StrongName.cs: Update to include new static method that can be
	called from the runtime to validate strongname signatures.
	Refactored the existing class to reduce code duplication.
	* StrongNameManager.cs: New. This class keeps the configuration
	required to map a public key token to an alternative public key
	(e.g. ECMA public key token -> Mono public key) and to skip
	strongname validation for specific assemblies/token/users.

svn path=/trunk/mcs/; revision=24865
2004-03-31 19:11:00 +00:00
Zoltan Varga 9d10a98a84 2004-03-31 Zoltan Varga <[email protected]>
* mini-ppc.c (mono_arch_patch_code): Fix ppc build.

svn path=/trunk/mono/; revision=24861
2004-03-31 18:01:31 +00:00
Zoltan Varga 74e7840e46 2004-03-31 Zoltan Varga <[email protected]>
* inssel-sparc.brg mini-sparc.c aot.c: Implement AOT support.

svn path=/trunk/mono/; revision=24860
2004-03-31 17:53:54 +00:00
Atsushi Eno 7e06f9555c 2004-03-31 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources :
	  Added new test files: nist_dom stuff, XmlSecureResolverTests.cs,
	  XmlSchemaAssertion.cs, MsxslScriptTests.cs.

svn path=/trunk/mcs/; revision=24858
2004-03-31 17:39:50 +00:00
Atsushi Eno 4db85d18f2 2004-03-31 Atsushi Enomoto <[email protected]>
* Added MsxslScriptTests.cs.

svn path=/trunk/mcs/; revision=24857
2004-03-31 17:39:22 +00:00
Atsushi Eno a361089332 2004-03-31 Atsushi Enomoto <[email protected]>
* Added XmlSchemaAssertion.cs.
	* XmlSchemaTests.cs : now uses XmlSchemaAssertion.

svn path=/trunk/mcs/; revision=24856
2004-03-31 17:38:42 +00:00
Atsushi Eno dc95e2d6d2 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests from Mainsoft hackers.
	* Added XmlSecureResolverTests.cs.

svn path=/trunk/mcs/; revision=24855
2004-03-31 17:37:43 +00:00
Atsushi Eno 044b38e2b5 2004-03-31 Atsushi Enomoto <[email protected]>
* Added readme.txt from Mainsoft team.

svn path=/trunk/mcs/; revision=24854
2004-03-31 17:28:10 +00:00
Atsushi Eno 29f34d7641 2004-03-31 Atsushi Enomoto <[email protected]>
* Added nist_dom tests by Mainsoft hackers.

svn path=/trunk/mcs/; revision=24853
2004-03-31 17:26:23 +00:00
Atsushi Eno a115c5aede 2004-03-31 Atsushi Enomoto <[email protected]>
* removed System.XML_linux_test.args.

svn path=/trunk/mcs/; revision=24852
2004-03-31 17:15:13 +00:00
Jordi Mas i Hernandez d34e25c9e7 more image methods implemented
svn path=/trunk/mcs/; revision=24848
2004-03-31 15:15:18 +00:00
Rafael Teixeira 00f7a882af 2004-03-31 Rafael Teixeira <[email protected]>
* BooleanType.cs, ByteType.cs, CharArrayType.cs, CharType.cs, DateType.cs, IntegerType.cs, LongType.cs, ShortType.cs:
		Translated Mainsoft code by Dennis Hayes with additional revisions by me - formatting still a problem
		Testing: No regressions, One advance

svn path=/trunk/mcs/; revision=24847
2004-03-31 15:05:51 +00:00
Rafael Teixeira b029034579 2004-03-31 Rafael Teixeira <[email protected]>
* AssemblyInfo.cs: Bumped version and completed some more infos
	* OptionDetails.cs: Incorporated C.J. Collier patch to make help screen more Windows-ish when mode==windows

svn path=/trunk/mcs/; revision=24846
2004-03-31 14:36:00 +00:00
Rafael Teixeira c93b50cb0e 2003-08-25 Rafael Teixeira <[email protected]>
* OptionDetails.cs:
		- Incorporated C.J. Collier patch to make help screen more Windows-ish when mode==windows

svn path=/trunk/mcs/; revision=24845
2004-03-31 14:29:18 +00:00
Zoltan Varga f214b3a053 2004-03-31 Zoltan Varga <[email protected]>
* inssel-long32.brg (OP_LNEG): Use ADC instead of ADD here. Fixes
	#56223.

svn path=/trunk/mono/; revision=24844
2004-03-31 14:25:18 +00:00
Zoltan Varga 53fa85ce2d 2004-03-31 Zoltan Varga <[email protected]>
* basic-long.cs: Add test for negation of Int64.MinValue.

svn path=/trunk/mono/; revision=24843
2004-03-31 14:24:09 +00:00
Dick Porter 7816bd41db 2004-03-31 Dick Porter <[email protected]>
* I18N/CJK/gb2312.table:
	* I18N/CJK/Gb2312Convert.cs:
	* I18N/CJK/CP936.cs: Rewrote the GB2312 conversion, using the iconv
	algorithm as a base.  Fixes bug 53841.

svn path=/trunk/mcs/; revision=24840
2004-03-31 13:15:46 +00:00
Atsushi Eno 0c7bf47bb5 2004-03-31 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : Added PropertiesOnNamespace().

svn path=/trunk/mcs/; revision=24839
2004-03-31 13:01:23 +00:00
Atsushi Eno 22937e9d73 2004-03-31 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : When this instance is created from xmlns
	  attributes, it should be Namespace node.

svn path=/trunk/mcs/; revision=24838
2004-03-31 12:59:35 +00:00
Umadevi S 82cc321b75 2004-03-31 Umadevi S ([email protected])
- Thanks to Vineeth N for fixing Find method in DataRowCollection.

svn path=/trunk/mcs/; revision=24836
2004-03-31 09:17:26 +00:00
Gonzalo Paniagua Javier 6fa8420951 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* BinaryReader.cs: don't modify the underlying stream in Peek(). Fixes
	bug #51741. Patch by Nick Vaughan.

svn path=/trunk/mcs/; revision=24835
2004-03-31 09:00:37 +00:00
Gonzalo Paniagua Javier 0d5e26f283 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixes bug 56267.

svn path=/trunk/mcs/; revision=24834
2004-03-31 07:12:02 +00:00
Miguel de Icaza 89652977ea Flush
svn path=/trunk/mono/; revision=24833
2004-03-31 04:39:47 +00:00
Martin Baulig 4e4a25b5fc 2004-03-30 Martin Baulig <[email protected]>
* icall.c (icall_entries): It's called "System.Activator", not
	"System.Activation".

svn path=/trunk/mono/; revision=24830
2004-03-31 02:23:29 +00:00
Martin Baulig e37bddb7b2 2004-03-30 Martin Baulig <[email protected]>
* expression.cs (New): Added support for type parameters.

	* typemanager.cs
	(TypeManager.activator_type): New public static field.
	(TypeManager.activator_create_instance): Likewise.

svn path=/trunk/mcs/; revision=24829
2004-03-31 02:14:11 +00:00
Martin Baulig 60af003048 2004-03-30 Martin Baulig <[email protected]>
* class.c (mono_ldtoken): Added `MonoGenericContext *' argument.
	(mono_class_create_from_typespec): Likewise.

svn path=/trunk/mono/; revision=24828
2004-03-31 02:12:49 +00:00
Martin Baulig 9f75d17177 New test.
svn path=/trunk/mcs/; revision=24827
2004-03-31 02:11:35 +00:00
Martin Baulig 999b93b280 Return typeof (object).
svn path=/trunk/mcs/; revision=24826
2004-03-31 01:59:37 +00:00
Joshua Tauberer 34afc3ac6e 2004-03-30 Joshua Tauberer <[email protected]>
* Added readlink, strerror, opendir, readdir, closedir
	* Added Mono.Posix.Stat.UnixToDateTime(long unixtime) --> DateTime

svn path=/trunk/mcs/; revision=24825
2004-03-31 01:54:34 +00:00
Martin Baulig 774149a24d 2004-03-30 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.HasConstructorConstraint): New
	public method.

svn path=/trunk/mcs/; revision=24824
2004-03-31 01:47:28 +00:00
Martin Baulig e2fa92cd3e More tests ....
svn path=/trunk/mcs/; revision=24823
2004-03-31 01:46:15 +00:00
Ben Maurer 055d1b119d Monop: the all requrests station
svn path=/trunk/mcs/; revision=24822
2004-03-31 01:23:00 +00:00
Martin Baulig 91fd729353 New tests.
svn path=/trunk/mcs/; revision=24821
2004-03-31 01:06:58 +00:00
Martin Baulig 6ab9c0ca2a New test.
svn path=/trunk/mcs/; revision=24820
2004-03-31 01:06:32 +00:00
Martin Baulig a6a6392313 We now actually catch this.
svn path=/trunk/mcs/; revision=24819
2004-03-31 01:06:27 +00:00
Martin Baulig f6dc04932a 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.CheckConstraints): Actually follow
	the spec here: the argument type must be convertible to the
	constraints.

svn path=/trunk/mcs/; revision=24818
2004-03-31 01:01:05 +00:00
Martin Baulig a600309533 2004-03-30 Martin Baulig <[email protected]>
* generic.cs
	(TypeParameter.Define, TypeParameter.DefineMethod): Call
	TypeManager.AddTypeParameter().
	(ConstructedType.CheckConstraints): Re-enable this and actually
	check whether we have a constructor constraint.

	* typemanager.cs
	(TypeManager.builder_to_type_param): New static field.
	(TypeManager.AddTypeParameter): New static method.
	(TypeManager.LookupTypeParameter): New public method.

svn path=/trunk/mcs/; revision=24817
2004-03-31 00:35:40 +00:00
Miguel de Icaza 0c43b4eb26 Revert until we fix the regression on test-169
svn path=/trunk/mcs/; revision=24816
2004-03-31 00:12:15 +00:00
Sebastien Pouliot 0a1726ee7c 2004-03-30 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added Mono.Xml.XmlCanonicalizer
	* Microsoft.Web.Services.dll.sources: Added Mono.Xml.XmlCanonicalizer

svn path=/trunk/mcs/; revision=24815
2004-03-30 23:42:24 +00:00
Sebastien Pouliot bd689a3655 2004-03-30 Sebastien Pouliot <[email protected]>
* XmlCanonicalizer.cs: New. Copy of System.Security assembly.
	Original by Aleksey Sanin. Modified by Atsushi Enomoto.

svn path=/trunk/mcs/; revision=24814
2004-03-30 23:39:42 +00:00
Sebastien Pouliot ed7250786b 2004-03-30 Sebastien Pouliot <[email protected]>
* XmlDsigExcC14NTransform.cs: Updated to match current System.Security
	XmlDSigC14NTransform.
	* XmlDSigExcC14NWithCommentsTransform.cs: Updated to match current
	System.Security XmlDSigC14NWithCommentsTransform.

svn path=/trunk/mcs/; revision=24813
2004-03-30 23:36:42 +00:00
Martin Baulig 80502f6e30 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (TypeParameter.DefineType): Return a boolean and use
	the new API to actually define the constructor constraint.

	* typemanager.cs
	(TypeManager.new_constraint_attr_type): New static field.
	(TypeManager.InitCoreTypes): Initialize it.

svn path=/trunk/mcs/; revision=24812
2004-03-30 23:33:52 +00:00
Martin Baulig 8313557d2d Make this private.
svn path=/trunk/mcs/; revision=24811
2004-03-30 23:31:56 +00:00
Martin Baulig 976a12e528 2004-03-30 Martin Baulig <[email protected]>
* reflection.h (MonoReflectionGenericParam): Use MonoBoolean for
	`has_ctor_constraint' and `initialized'.

svn path=/trunk/mono/; revision=24810
2004-03-30 23:31:42 +00:00
Martin Baulig 2aedd1a320 2004-03-30 Martin Baulig <[email protected]>
* MonoGenericInst.cs
	(MonoGenericParam): Added `bool	has_ctor_constraint' field.
	(MonoGenericParam.SetConstraints): Added `bool
	has_ctor_constraint' argument.

svn path=/trunk/mcs/; revision=24808
2004-03-30 22:42:27 +00:00
Martin Baulig 88a57683fe 2004-03-30 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.SetGenericParameterConstraints):
	Added `bool has_ctor_constraint' argument.

	* MethodBuilder.cs (MethodBuilder.SetGenericParameterConstraints):
	Added `bool has_ctor_constraint' argument.

svn path=/trunk/mcs/; revision=24807
2004-03-30 22:41:18 +00:00
Martin Baulig baadb7b449 2004-03-30 Martin Baulig <[email protected]>
* reflection.c (encode_new_constraint): New static function to add
	the constructor constraint attribute to a type parameter.
	(encode_constraints): Call encode_new_constraint() if necessary.

	* reflection.h
	(MonoReflectionGenericParam): Added `guint32 has_ctor_constraint'.

	* row-indexes.h: Added CUSTOM_ATTR_GENERICPAR.

svn path=/trunk/mono/; revision=24806
2004-03-30 22:40:14 +00:00
Martin Baulig 7923ac9122 This whole class is #if NET_1_2.
svn path=/trunk/mcs/; revision=24802
2004-03-30 20:09:08 +00:00
Martin Baulig e4c7fbbef6 Added System.Runtime.CompilerServices/NewConstraintAttribute.cs
svn path=/trunk/mcs/; revision=24801
2004-03-30 20:03:17 +00:00
Martin Baulig d3d0492591 2004-03-30 Martin Baulig <[email protected]>
* NewConstraintAttribute.cs: New file.

svn path=/trunk/mcs/; revision=24800
2004-03-30 20:03:00 +00:00
Martin Baulig 3d30150b0a More tests ...
svn path=/trunk/mcs/; revision=24799
2004-03-30 19:42:57 +00:00
Martin Baulig e9cb787f55 2004-03-30 Martin Baulig <[email protected]>
* generic.cs (Constraints): Completed error checking, use correct
	error numbers.

svn path=/trunk/mcs/; revision=24798
2004-03-30 19:42:16 +00:00
Lluis Sanchez e51b4ea2ce * RegexBugs.cs: Added test for bug #52890.
svn path=/trunk/mcs/; revision=24797
2004-03-30 18:57:14 +00:00
Lluis Sanchez fa11b56bb1 * collections.cs: In the indexer, return an empty group if the requested
group is not found.
	* match.cs: Added default constructor for Group.

svn path=/trunk/mcs/; revision=24796
2004-03-30 18:54:53 +00:00
Zoltan Varga 441f0b4d71 2004-03-30 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

	* mini-sparc.c tramp-sparc.c: Save lmf in trampolines.

	* exceptions-sparc.c: Fix return value in filters.

svn path=/trunk/mono/; revision=24795
2004-03-30 17:19:19 +00:00
Zoltan Varga ab7dba0599 2004-03-30 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Fix register allocation in some rules.

svn path=/trunk/mono/; revision=24794
2004-03-30 17:12:51 +00:00
Miguel de Icaza ecf9b47002 Add options
svn path=/trunk/mcs/; revision=24793
2004-03-30 17:05:01 +00:00
Miguel de Icaza d83809d51e 2004-03-30 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a rule to catch wrong event syntax instead of
	throwing a parser error.

svn path=/trunk/mcs/; revision=24792
2004-03-30 16:58:56 +00:00
Miguel de Icaza e7829de108 Add
svn path=/trunk/mcs/; revision=24791
2004-03-30 16:57:46 +00:00
Lluis Sanchez ac7f2f9bac * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
since it is already a physical path. Fixes bug #55334.

svn path=/trunk/mcs/; revision=24790
2004-03-30 16:41:31 +00:00
Sebastien Pouliot ec5c7da049 2004-03-30 Sebastien Pouliot <[email protected]>
* StrongNameManager.cs: New. Added a check for "*" (any) assembly
	when the spcific assembly isn't found for skipping.

svn path=/trunk/mcs/; revision=24789
2004-03-30 16:02:23 +00:00
Miguel de Icaza 4a55bfc2c8 2004-03-30 Miguel de Icaza <[email protected]>
* ecore.cs (PropertyExpr.GetAccessor): Apply patch from Patrik Reali
	which removes the hardcoded get_/set_ prefixes for properties, as
	IL allows for the properties to be named something else.

	Bug #56013

svn path=/trunk/mcs/; revision=24788
2004-03-30 16:00:32 +00:00
Lluis Sanchez 2efebf1552 * CaseInsensitiveHashCodeProvider.cs: Added support for CultureInfo.
Implemented property DefaultInvariant.

svn path=/trunk/mcs/; revision=24787
2004-03-30 15:29:11 +00:00
Lluis Sanchez 70f0ce1e2e * DataTools.cs: in FillDataSet(string,SelectCommand), use the connection
got from the configuration file to create the data adapter. Patch by
	Matthijs ter Woord.

svn path=/trunk/mcs/; revision=24786
2004-03-30 15:04:33 +00:00
Miguel de Icaza cd49b02b57 Add new test
svn path=/trunk/mcs/; revision=24785
2004-03-30 14:39:55 +00:00
Miguel de Icaza 79d4015f89 2004-03-30 Miguel de Icaza <[email protected]>
* expression.cs: Do not override operand before we know if it is
	non-null.  Fix 56207

svn path=/trunk/mcs/; revision=24784
2004-03-30 14:38:36 +00:00
Lluis Sanchez fd26f0c2bf * DataColumn.cs: In Expression setter, set the expression member even if
it is an empty string.
	* DataSet.cs: Support serialization of byte[] columns.
	* XmlDataLoader.cs: Support deserialization  of Guid columns.
	  Set MappingType.Attribute to columns infered from attributes.

svn path=/trunk/mcs/; revision=24783
2004-03-30 14:35:28 +00:00
Sebastien Pouliot 25191510fa 2004-03-30 Sebastien Pouliot <[email protected]>
* Reference.cs: Changed code to use CryptoConfig to create transforms.
	This is "the" way to do it (e.g. to allow new transforms to be added)
	but cause problems when using VS.NET for debugging. Old code is still
	present, but commented, for that cause.

svn path=/trunk/mcs/; revision=24782
2004-03-30 13:06:10 +00:00
Gonzalo Paniagua Javier 43bfd6c50f 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* FAMWatcher.cs: support monitoring subdirectories. FAM doesn't do that,
	so we have to register the existing directories and add the new ones
	that might be created.

	* SearchPattern.cs: provide the pattern when it's wrong.

svn path=/trunk/mcs/; revision=24781
2004-03-30 12:26:18 +00:00
Lluis Sanchez 55dc9d8dd2 * SerializationCodeGenerator.cs, XmlReflectionImporter.cs,
XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs:
	  Support deserialization of members of type XmlDocument. This fixes #56169.

svn path=/trunk/mcs/; revision=24780
2004-03-30 11:14:36 +00:00
Jordi Mas i Hernandez 794d54cea1 use gdi+ functions to get image details
svn path=/trunk/mcs/; revision=24778
2004-03-30 10:43:01 +00:00
Lluis Sanchez caba73b8a4 * synchronized.cs: Monitor.Exit does not throw an exception anymore if the
lock is not owned by the current thread (see bug #56157). Modified test that
	checked this.

svn path=/trunk/mono/; revision=24777
2004-03-30 09:43:59 +00:00
Gonzalo Paniagua Javier ec0ca1bf87 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
	configuration when the file is created or modified.

svn path=/trunk/mcs/; revision=24776
2004-03-30 09:42:11 +00:00
Miguel de Icaza 16b79cc3d8 Added new test
svn path=/trunk/mcs/; revision=24773
2004-03-30 04:59:20 +00:00
Ben Maurer f885e949c2 2004-03-29 Ben Maurer <[email protected]>
* typemanager.cs: support for pinned variables.

svn path=/trunk/mcs/; revision=24771
2004-03-30 03:31:02 +00:00
Ben Maurer bee57c4bee 2004-03-29 Ben Maurer <[email protected]>
* LocalBuilder.cs: pinned support.

svn path=/trunk/mcs/; revision=24770
2004-03-30 03:29:36 +00:00
Ben Maurer 7907cdc48f 2004-03-29 Ben Maurer <[email protected]>
* reflection.c, icall.c: add support for pinning variables.

svn path=/trunk/mono/; revision=24769
2004-03-30 03:26:16 +00:00
Miguel de Icaza a86e019990 2004-03-29 Ben Maurer <[email protected]>
* decl.cs, typemanager.cs: Avoid using an arraylist
	as a buffer if there is only one result set.

svn path=/trunk/mcs/; revision=24768
2004-03-30 03:14:52 +00:00
Miguel de Icaza 9672ee04f8 update
svn path=/trunk/mcs/; revision=24767
2004-03-30 03:14:43 +00:00
Ben Maurer b0e462e488 move along now
svn path=/trunk/mcs/; revision=24766
2004-03-30 03:13:43 +00:00
Ben Maurer 2e6f4526dc 2004-03-29 Ben Maurer <[email protected]>
* cs0176.cs: make this test better.

svn path=/trunk/mcs/; revision=24765
2004-03-30 03:01:54 +00:00
Ben Maurer f3b9ca39d9 2004-03-29 Ben Maurer <[email protected]>
* decl.cs, typemanager.cs: Avoid using an arraylist
	as a buffer if there is only one result set.

svn path=/trunk/mcs/; revision=24764
2004-03-30 02:55:35 +00:00
Ben Maurer 0916de0e84 get the right #
svn path=/trunk/mcs/; revision=24763
2004-03-30 02:52:04 +00:00
Ben Maurer c58c4f882a 2004-03-29 Ben Maurer <[email protected]>
* expression.cs: Make sure you cant call a static method
	with an instance expression, bug #52587.

svn path=/trunk/mcs/; revision=24762
2004-03-30 02:49:32 +00:00
Miguel de Icaza b697ceb261 2004-03-29 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Do not require whitespace when a ( or " will do
	in preprocessor directives.

svn path=/trunk/mcs/; revision=24759
2004-03-30 02:38:39 +00:00
Miguel de Icaza 3fc8e41c64 Improve test
svn path=/trunk/mcs/; revision=24758
2004-03-30 02:36:57 +00:00
Miguel de Icaza 9b419b97df 2004-03-29 Miguel de Icaza <[email protected]>
* location.cs (LookupFile): Allow for the empty path.

svn path=/trunk/mcs/; revision=24757
2004-03-30 02:19:09 +00:00
Miguel de Icaza d00bf47261 2004-03-29 Miguel de Icaza <[email protected]>
* attribute.cs (DefinePInvokeMethod): Fix 56148;  I would like a
	better approach for some of that patch, but its failing with the
	CharSet enumeration.  For now try/catch will do.

svn path=/trunk/mcs/; revision=24756
2004-03-30 01:58:53 +00:00
Bernie Solomon e59b4bfb19 2004-03-29 Bernie Solomon <[email protected]>
* hppa/hppa-codegen.h:
	fix displacements in FP instrs

svn path=/trunk/mono/; revision=24755
2004-03-30 01:44:17 +00:00
Martin Baulig 1898a55203 Added some comments.
svn path=/trunk/mcs/; revision=24754
2004-03-30 01:37:38 +00:00
Bernie Solomon 21fc7bfb3f 2004-03-29 Bernie Solomon <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper):
	init bool local with zero rather than null.

svn path=/trunk/mono/; revision=24753
2004-03-30 01:25:08 +00:00
Bernie Solomon 3b18ad7d95 2004-03-29 Bernie Solomon <[email protected]>
* interp.c interp.h: remove child from MonoInvocation
	as it isn't used.

svn path=/trunk/mono/; revision=24752
2004-03-30 01:20:01 +00:00
Bernie Solomon 0670ce44aa 2004-03-29 Bernie Solomon <[email protected]>
* amd64/tramp.c:
	* arm/tramp.c:
	* hppa/tramp.c:
	* ppc/tramp.c:
	* s390/tramp.c:
	* sparc/tramp.c:
	* x86/tramp.c:
	remove child from MonoInvocation as it isn't used.

svn path=/trunk/mono/; revision=24751
2004-03-30 01:18:11 +00:00
Miguel de Icaza cd8b67392c Use -unsafe instead of --unsafe in error messages
svn path=/trunk/mcs/; revision=24746
2004-03-30 01:02:29 +00:00
Lluis Sanchez 7cdfc9e181 Updated
svn path=/trunk/mono/; revision=24745
2004-03-30 01:00:14 +00:00
Martin Baulig e55918ff99 2004-03-29 Martin Baulig <[email protected]>
* delegate.cs (Delegate.VerifyMethod): Infer type arguments.

	* expression.cs (Invocation.InferTypeArguments): Added overloaded
	public version which takes a `ParameterData pd' instead of an
	`ArrayList args'.

svn path=/trunk/mcs/; revision=24744
2004-03-30 00:56:19 +00:00
Martin Baulig 8ac45022bb New test.
svn path=/trunk/mcs/; revision=24743
2004-03-30 00:54:29 +00:00
Martin Baulig 0fc82bc096 2004-03-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsGenericMethod): Take a MethodBase,
	not a MethodInfo.

svn path=/trunk/mcs/; revision=24742
2004-03-30 00:38:48 +00:00
Martin Baulig c4d8354ea7 Use Mono_IsInflatedMethod.
svn path=/trunk/mcs/; revision=24741
2004-03-30 00:30:09 +00:00
Martin Baulig 95c7c99b76 2004-03-29 Martin Baulig <[email protected]>
* MethodBase.cs (MethodBase.Mono_IsInflatedMethod): New public
	virtual property.
	(MethodBase.HasGenericParameters): Use the "official" behavior
	here, ie. return false if we're not a generic method.

svn path=/trunk/mcs/; revision=24740
2004-03-30 00:27:57 +00:00
Martin Baulig ec85a9d265 2004-03-29 Martin Baulig <[email protected]>
* icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
	the "official" behavior here.
	(ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.

svn path=/trunk/mono/; revision=24739
2004-03-30 00:25:53 +00:00
Martin Baulig e66850b1ac Reflect latest API changes.
svn path=/trunk/mcs/; revision=24738
2004-03-30 00:13:34 +00:00
Martin Baulig e7be538508 2004-03-29 Martin Baulig <[email protected]>
* icall.c: Reflect latest API changes.

svn path=/trunk/mono/; revision=24737
2004-03-30 00:13:12 +00:00
Martin Baulig 0f0cba4028 2004-03-29 Martin Baulig <[email protected]>
* MethodBase.cs: Moved the generics stuff here, made it virtual
	where neccessary and use the correct API.

svn path=/trunk/mcs/; revision=24736
2004-03-30 00:12:32 +00:00
Martin Baulig 4e0944c69c 2004-03-29 Martin Baulig <[email protected]>
* expression.cs (Argument.ResolveMethodGroup): If we're a
	ConstructedType, call GetMemberAccess() on it.

svn path=/trunk/mcs/; revision=24735
2004-03-29 22:35:09 +00:00
Miguel de Icaza 622538d2a9 2004-03-29 Miguel de Icaza <[email protected]>
* Console.cs: If we fail to open stdin/stdout/stderr, create
	readers with a NullStream.  This can happen if our caller does not
	setup stdin/stoud/stderr file handles.  #56158 exposed this, but
	it will happen elsewhere.

svn path=/trunk/mcs/; revision=24734
2004-03-29 22:07:24 +00:00
Martin Baulig ecbe385c3a New test.
svn path=/trunk/mcs/; revision=24733
2004-03-29 22:01:54 +00:00
Martin Baulig ab0b6207b2 The base type of a generic parameter is always TypeManager.object_type.
svn path=/trunk/mcs/; revision=24732
2004-03-29 22:00:23 +00:00
Martin Baulig aae1ecfc66 2004-03-29 Martin Baulig <[email protected]>
* loader.c (mono_get_method_from_token): Also call
	mono_metadata_load_generic_params () for abstract and interface
	methods; replace the type arguments in the method signature with
	the ones which are loaded from the metadata.

svn path=/trunk/mono/; revision=24731
2004-03-29 21:59:13 +00:00
Miguel de Icaza e7aee0473e 2004-03-29 Miguel de Icaza <[email protected]>
* typemanager.cs: Do not crash if a struct does not have fields.
	Fixes 56150.

svn path=/trunk/mcs/; revision=24730
2004-03-29 21:41:46 +00:00
Miguel de Icaza 67593bde69 Add new test
svn path=/trunk/mcs/; revision=24729
2004-03-29 21:40:49 +00:00
Martin Baulig f8730fad92 2004-03-29 Martin Baulig <[email protected]>
* class.cs (MethodBase.CheckGenericOverride): New abstract method.
	(MethodCore.CheckGenericOverride): When overriding a generic
	method, check whether the constraints match.

	* support.cs (GenericConstraints): New public interface.
	(ParameterData.GenericConstraints): New public method.

	* parameter.cs (Parameter.Resolve): Check whether we're a generic
	method parameter and compute our constraints if appropriate.
	(Parameter.GenericConstraints): New public property.

	* generic.cs (Constraints): Implement GenericConstraints.

svn path=/trunk/mcs/; revision=24728
2004-03-29 21:15:59 +00:00
Martin Baulig f374af4097 We may get called to create the parent of a dynamic generic instance; in this
case, we're dynamic as well.

svn path=/trunk/mono/; revision=24727
2004-03-29 20:49:30 +00:00
Martin Baulig 7a35aefce7 2004-03-29 Martin Baulig <[email protected]>
* decl.cs (MemberCache.FindMemberToOverride): Use
	`paramTypes [j].Equals (cmpAttrs [j])' instead of `=='.

svn path=/trunk/mcs/; revision=24726
2004-03-29 18:23:28 +00:00
Lluis Sanchez 896d1d147d * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Created a new method GetSafeTypeName to support this.

svn path=/trunk/mcs/; revision=24725
2004-03-29 17:59:33 +00:00
Martin Baulig bdb8bedaef 2004-03-29 Martin Baulig <[email protected]>
* generic.cs (GenericMethod.Define): Resolve our type parameters.

svn path=/trunk/mcs/; revision=24724
2004-03-29 17:59:21 +00:00
Lluis Sanchez ff071e16b9 * Executor.cs: Implemented.
svn path=/trunk/mcs/; revision=24723
2004-03-29 17:56:19 +00:00
Martin Baulig 8141b44f06 Damn, no debugging code here.
svn path=/trunk/mcs/; revision=24722
2004-03-29 17:47:34 +00:00
Martin Baulig 2c9e2b7267 2004-03-29 Martin Baulig <[email protected]>
* cs-parser.jay: Report CS0080 instead of -200 ("Constraints are
	not allowed on non-generic declarations").

svn path=/trunk/mcs/; revision=24721
2004-03-29 17:47:18 +00:00
Martin Baulig 3410806903 2004-03-29 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.ContainsGenericParameters): Implemented.

svn path=/trunk/mcs/; revision=24720
2004-03-29 17:39:29 +00:00
Martin Baulig b0a4fd7452 2004-03-29 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferTypeArguments): Added overloaded
	public version of this method.

	* class.cs (MethodCore.IsDuplicateImplementation): Use
	Invocation.InferTypeArguments() to check this.

svn path=/trunk/mcs/; revision=24719
2004-03-29 17:16:47 +00:00
Martin Baulig 15dd555246 Generics ...
svn path=/trunk/mcs/; revision=24718
2004-03-29 17:12:25 +00:00
Martin Baulig 9439bca677 Oooops, forgot to add them.
svn path=/trunk/mcs/; revision=24717
2004-03-29 17:12:09 +00:00
Martin Baulig eba72a4444 Added testcase.
svn path=/trunk/mcs/; revision=24716
2004-03-29 17:11:51 +00:00
Marek Safar ce6dfca587 2004-03-29 Marek Safar <[email protected]>
* cs0029-3.cs,
          cs0173-2.cs,
          cs0619-{2-26}.cs,
          cs0672.cs: 29 new error tests.

svn path=/trunk/mcs/; revision=24715
2004-03-29 16:46:08 +00:00
Lluis Sanchez 4c61101387 * GuidTest.cs: Test constructor when the input string is in format "P"
or "N".

svn path=/trunk/mcs/; revision=24714
2004-03-29 16:07:59 +00:00
Lluis Sanchez d8c9c66f19 * Convert.cs: In ToSingle(double), removed checks for Single.MaxValue and
Single.MinValue. MS.NET don't do it. This fixes bug #56005.
	* Guid.cs: Added support for guid strings in the "N" and "P" formats in
	  the constructor. This fixes bug #54019.

svn path=/trunk/mcs/; revision=24713
2004-03-29 16:06:43 +00:00
Martin Baulig bf2e29c9af 2004-03-29 Martin Baulig <[email protected]>
* convert.cs: Use TypeManager.IsDelegateType() instead of
	comparing types correctly.

svn path=/trunk/mcs/; revision=24712
2004-03-29 15:57:30 +00:00
Martin Baulig 2fec3e1cb0 2004-03-29 Martin Baulig <[email protected]>
* convert.cs: Use TypeManager.IsSubclassOf() instead of comparing
	types directly to make it work for generic instances.

svn path=/trunk/mcs/; revision=24711
2004-03-29 15:28:00 +00:00
Jackson Harper 9062693011 * main.c: Handle pinvoke info where there is not an impl_map
entry.

svn path=/trunk/mono/; revision=24709
2004-03-29 15:16:18 +00:00
Martin Baulig 1637d92729 New test.
svn path=/trunk/mcs/; revision=24708
2004-03-29 15:07:20 +00:00
Martin Baulig 380b7177a9 New tests ...
svn path=/trunk/mcs/; revision=24707
2004-03-29 15:07:11 +00:00
Martin Baulig 371ed2b666 2004-03-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.MayBecomeEqualGenericTypes): Added
	support for arrays.

svn path=/trunk/mcs/; revision=24706
2004-03-29 15:05:54 +00:00
Umadevi S c6bd5a2e34 2004-03-29 Umadevi S ([email protected])
- Removed TODO tags from Find methods since .NET also returns null

svn path=/trunk/mcs/; revision=24705
2004-03-29 12:46:32 +00:00
Lluis Sanchez 5b6c491d20 * HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
the lock is released in case of exception (for example, a
	ThreadAbortException). This also "fixes" bug #52417.
	Beware, this requires a runtime update (due to a bug in Monitor.Exit).
	* ServicePoint.cs: Changed method from internal to private, since it is not
	called from outside the class.

svn path=/trunk/mcs/; revision=24704
2004-03-29 12:17:03 +00:00
Lluis Sanchez bae9c99f04 * monitor.c: In mono_monitor_exit(), don't throw an exception if the owner
of the lock is not the current thread. MS.NET don't do it, in spite of
	what the documentation says. See bug #56157.

svn path=/trunk/mono/; revision=24703
2004-03-29 12:03:10 +00:00
Jordi Mas i Hernandez b0669678dd added missing methods and properties to a few classes and fixes
svn path=/trunk/mcs/; revision=24702
2004-03-29 11:32:22 +00:00
Lluis Sanchez 836e1ee470 * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
(to allow serialization interoperability).

svn path=/trunk/mcs/; revision=24701
2004-03-29 10:16:32 +00:00
Juraj Skripsky 15ee7d7d9c 2004-03-29 Juraj Skripsky <[email protected]>
* System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
	* Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs

	* ExpressionElements.cs : remove
	* DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
	Integration of new Mono.Data.SqlExpressions classes used in
	DataTable.{Select, Compute}.
	Fixes bug #55503 and lots of failures in DataTableTest.cs.

	* DataTableTest.cs : add test case for bug #55503,
	comment out meaningless test cases.

	* Initial implementation of Mono.Data.SqlExpressions.

svn path=/trunk/mcs/; revision=24700
2004-03-29 07:56:47 +00:00
Jackson Harper e88d29709a * ILParser.jay: Fix typo.
svn path=/trunk/mcs/; revision=24698
2004-03-29 05:18:33 +00:00
Ben Maurer 73e4eb6fe3 revert -- breaks build
svn path=/trunk/mcs/; revision=24696
2004-03-29 05:13:03 +00:00
Martin Baulig a02966ad51 New test.
svn path=/trunk/mcs/; revision=24691
2004-03-29 01:58:26 +00:00
Martin Baulig 1f6ebe7d07 2004-03-28 Martin Baulig <[email protected]>
* mini.c (mmono_method_to_ir): In CEE_STELEM, do a handle_stobj()
	if neccessary.

svn path=/trunk/mono/; revision=24690
2004-03-29 01:57:45 +00:00
Ben Maurer 9dd7da12ce 2004-03-28 Ben Maurer <[email protected]>
* expression.cs: cs0213, cant fix a fixed expression.
	fixes 50231.

svn path=/trunk/mcs/; revision=24689
2004-03-29 01:35:41 +00:00
Ben Maurer 9242312142 more test
svn path=/trunk/mcs/; revision=24688
2004-03-29 01:18:06 +00:00
Ben Maurer bab8026c40 2004-03-28 Ben Maurer <[email protected]>
* cs-parser.jay: detect invalid embeded statements gracefully.
	bug #51113.

svn path=/trunk/mcs/; revision=24687
2004-03-29 01:16:29 +00:00
Ben Maurer 5c47a80b00 test case
svn path=/trunk/mcs/; revision=24686
2004-03-29 01:14:22 +00:00
Ben Maurer a484159dae 2004-03-28 Ben Maurer <[email protected]>
* ecore.cs, typemanager.cs: Correct impl of cs1540 check.
	As a regex:
	s/
	the invocation type may not be a subclass of the tye of the item/
	The type of the item must be a subclass of the invocation item.
	/g

	Fixes bug #50820.

svn path=/trunk/mcs/; revision=24685
2004-03-29 01:09:06 +00:00
Francisco Figueiredo Jr. ae76670a6a 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor ([email protected]) for spotting that.

svn path=/trunk/mcs/; revision=24684
2004-03-29 00:01:19 +00:00
Jackson Harper 7958f0fd7b * PeapiTypeRef.cs: Check for null bounds in bound arrays. Patch by
Vladimir Vukicevic.
	* ModifiablyType.cs: Set names properly for bound arrays.

svn path=/trunk/mcs/; revision=24683
2004-03-28 20:56:50 +00:00
Rafael Teixeira 4df233a657 updating mbas text a bit
svn path=/trunk/mono/; revision=24680
2004-03-28 19:43:01 +00:00
Martin Baulig afecbccec5 Bug fixes ....
svn path=/trunk/mcs/; revision=24679
2004-03-28 19:28:13 +00:00
Jackson Harper 0dea250c4d * ILParser.jay: Set true and false literals properly. Add instance
property attribute.

svn path=/trunk/mcs/; revision=24678
2004-03-28 19:27:39 +00:00
Martin Baulig def6da12f5 2004-03-28 Martin Baulig <[email protected]>
* class.c (mono_class_init): Don't call init_properties() and
	init_events() for generic instances; set `prop->parent' when
	inflating properties.

	* reflection.c (mono_generic_inst_get_object): Call
	`mono_class_init (ginst->klass)'.
	(mono_type_get_object): Only create a MonoGenericInst if your
	generic type is a TypeBuilder.
	(do_mono_reflection_bind_generic_parameters): Only set
	`ginst->is_dynamic' if our generic type is a TypeBuilder.

svn path=/trunk/mono/; revision=24677
2004-03-28 19:26:40 +00:00
Martin Baulig 6c4548a0db Don't crash here ;-)
svn path=/trunk/mono/; revision=24676
2004-03-28 19:24:50 +00:00
Rafael Teixeira 5f04bf7763 2004-02-20 Rafael Teixeira <[email protected]>
* Utils.cs:
		Spacing corrections

svn path=/trunk/mcs/; revision=24675
2004-03-28 19:20:34 +00:00
Jackson Harper 1ccb359a79 * get.c (get_constant): output bool consts as bool(true) or
bool(false)  (to be same as ildasm, also what mono and ms
       ilasm expect). Patch by Vladimir Vukicevic.

svn path=/trunk/mono/; revision=24674
2004-03-28 18:30:48 +00:00
Francisco Figueiredo Jr. 7f5038bb84 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.

svn path=/trunk/mcs/; revision=24673
2004-03-28 18:27:08 +00:00
Zoltan Varga b3bf168074 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_patch_code): Fix warnings.

svn path=/trunk/mono/; revision=24672
2004-03-28 17:16:54 +00:00
Zoltan Varga 4b0536a9eb 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Fix CEE_MUL_OVF_UN if
	dreg is not EAX. Thanks to Willibard Krenn for spotting this. Also
	remove unused conv_u4 opcode.

svn path=/trunk/mono/; revision=24671
2004-03-28 17:08:57 +00:00
Zoltan Varga 8f149cd3b0 2004-03-28 Zoltan Varga <[email protected]>
* appdomain.c (unload_thread_main): Do not clear proxy_vtable_hash.
	Fixes #56091.

svn path=/trunk/mono/; revision=24670
2004-03-28 16:15:17 +00:00
Zoltan Varga 777c0e929e 2004-03-28 Zoltan Varga <[email protected]>
* mini-x86.c: Remove valgrind workaround since it slows down things
	even when mono is not run under valgrind.

svn path=/trunk/mono/; revision=24669
2004-03-28 16:12:42 +00:00
Juraj Skripsky 45d4798fd3 This fixes bugs #56129 and #56014.
svn path=/trunk/mcs/; revision=24668
2004-03-28 11:43:28 +00:00
Duncan Mak 92eb528cce Remove OpenModeTypes
svn path=/trunk/mcs/; revision=24666
2004-03-28 06:06:31 +00:00
Atsushi Eno b6b4660de1 2004-03-27 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : #line directive now holds dummy filename
	  when BaseURI for msxsl:script node is not available. This fixes
	  bug #56070.
	  Don't output line number in the error message, when it is 0.

svn path=/trunk/mcs/; revision=24663
2004-03-27 22:33:16 +00:00
Atsushi Eno fc0cf34f1a 2004-03-27 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadInnerXml() should progress reader when it is on
	  an empty element. This fixes bug #56064.

svn path=/trunk/mcs/; revision=24662
2004-03-27 22:14:43 +00:00
Atsushi Eno dcdf2745d6 2004-03-27 Atsushi Enomoto <[email protected]>
* DTDReader.cs : In some places sequential parameter entity was
	  incorrectly skipped (and caused invalid result).

svn path=/trunk/mcs/; revision=24661
2004-03-27 22:00:44 +00:00
Atsushi Eno e3de3e6de0 2004-03-27 Atsushi Enomoto <[email protected]>
* Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm.

svn path=/trunk/mcs/; revision=24660
2004-03-27 20:21:53 +00:00
Atsushi Eno 3ab4d9d56e 2004-03-27 Atsushi Enomoto <[email protected]>
* XsltContext.cs : Supply NameTable to base ctor().

svn path=/trunk/mcs/; revision=24659
2004-03-27 20:21:18 +00:00
Atsushi Eno de60011134 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : namespace nodes also should be supplied for enveloped
	  objects.
	* KeyInfoRetrievalMethod.cs : Keep input element as well as others.

svn path=/trunk/mcs/; revision=24658
2004-03-27 19:59:31 +00:00
Atsushi Eno cad79eadd9 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : XPath transformation output is not type of Stream.
	  Fix to support them by canonicalizing it.

svn path=/trunk/mcs/; revision=24657
2004-03-27 19:46:40 +00:00
Atsushi Eno d4bb04c931 2004-03-27 Atsushi Enomoto <[email protected]>
* XmlDsigXsltTransform.cs : GetOutput() now just returns
	  transformation output.

svn path=/trunk/mcs/; revision=24656
2004-03-27 19:21:31 +00:00
Sebastien Pouliot a7d06aa439 2004-03-27 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added (manual) certificates for Phaos tests using
	Manifests.

svn path=/trunk/mcs/; revision=24655
2004-03-27 18:48:10 +00:00
Atsushi Eno 4c107154e6 2004-03-27 Atsushi Enomoto <[email protected]>
* SignedXml.cs : Added xmlns support for Manifest.

svn path=/trunk/mcs/; revision=24654
2004-03-27 18:13:50 +00:00
Gonzalo Paniagua Javier 13cb1a0dcd 2004-03-27 Gonzalo Paniagua Javier <[email protected]>
* HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
	Now the posted file content does not have the boundaries and headers
	included.

svn path=/trunk/mcs/; revision=24652
2004-03-27 13:19:57 +00:00
Duncan Mak 5b25626063 * ForEachEnum.cs:
* OpenModeTypes.cs: Implemented according to the
Mainsoft Java implementation.

* Globals.cs:
* VBFixedArrayAttribute.cs:
* VBFixedStringAttribute: Changes made by Dennis Hayes
<[email protected]> from
 studying the Mainsoft implementation.

* Utils.cs (GetResourceString): Added stub for easing the port
from the Mainsoft Java implementation.

svn path=/trunk/mcs/; revision=24651
2004-03-27 06:07:16 +00:00
Duncan Mak b6709b4200 Remove Changelog, it's ChangeLog now
svn path=/trunk/mcs/; revision=24650
2004-03-27 06:04:24 +00:00
Duncan Mak cc19469b20 Fix the filename
svn path=/trunk/mcs/; revision=24649
2004-03-27 06:03:18 +00:00
Sebastien Pouliot 39a2e843aa 2004-03-26 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added internal class Manifest.

svn path=/trunk/mcs/; revision=24647
2004-03-26 21:16:36 +00:00
Sebastien Pouliot 60a062e2e5 2004-03-26 Sebastien Pouliot <[email protected]>
* XmlSignature.cs: Added constants for Manifest element and URI.

svn path=/trunk/mcs/; revision=24646
2004-03-26 21:14:07 +00:00
Sebastien Pouliot 5f7ab7bca8 2004-03-26 Sebastien Pouliot <[email protected]>
* Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
	This should help us to validate more tests from the Phaos suite.
	Note: Microsoft doesn't support this and we only support it for
	verification (not signature generation).
	* SignedXml.cs: Added support for Manifest, including recursive
	manifests. Made some changes to reuse existing code as much as
	possible. Better support for local/remote files - but requires
	catching an Uri exception for local files :-(.

svn path=/trunk/mcs/; revision=24645
2004-03-26 21:10:40 +00:00
Sebastien Pouliot d8ac76b4c4 2004-03-26 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Reactivated <Manifest> tests as support for them will be
	present in Mono. Changed directory for Phaos tests because of some
	documents' references.

svn path=/trunk/mcs/; revision=24644
2004-03-26 20:58:04 +00:00
Ben Maurer ef5149d209 2004-03-26 Ben Maurer <[email protected]>
* do-tests.pl: i think this fixes the problem with
	tests that have comp options alway passing
	* mcs-expect*: update for above.

svn path=/trunk/mcs/; revision=24642
2004-03-26 18:39:17 +00:00
Jordi Mas i Hernandez c4330b9186 added missing members and complete the wrapper
svn path=/trunk/mcs/; revision=24641
2004-03-26 17:53:51 +00:00
Atsushi Eno fccfc83559 2004-03-26 Atsushi Enomoto <[email protected]>
* System.Security_test.dll.sources :
	  Added XmlDsigEnvelopedSignatureTest.cs.

svn path=/trunk/mcs/; revision=24640
2004-03-26 16:24:04 +00:00
Atsushi Eno 4877ba6e10 2004-03-26 Atsushi Enomoto <[email protected]>
* Added XmlDsigEnvelopedSignatureTransformTest.cs.
	* SignedXmlTest.cs : Added some KeyInfo and error handling repro.

svn path=/trunk/mcs/; revision=24639
2004-03-26 16:22:39 +00:00
Atsushi Eno d4842b8b74 2004-03-26 Atsushi Enomoto <[email protected]>
* Makefile : Use alias for mcs and mono and debuginfo.

svn path=/trunk/mcs/; revision=24638
2004-03-26 16:18:06 +00:00
Atsushi Eno 9c7eff6100 2004-03-26 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs :
	  Don't output &#xD; for Whitespace node.
	  To filter every kind of nodes, make sure node.Attributes isnot null.
	  This makes some phaos tests passed.

svn path=/trunk/mcs/; revision=24637
2004-03-26 16:12:40 +00:00
Atsushi Eno da7c4adefd 2004-03-26 Atsushi Enomoto <[email protected]>
* SignedXml.cs :
	  - Use specified (or default) XmlResolver to get external resource,
	    instead of using WebRequest directly. Also modified it easier.
	  - ApplyTransform() : Clone only when it is required. Handle
	    transformation output other than Stream.
	  - Even if applicable key was not found in GetHash(), don't throw
	    crypto exception every time and just return false (MS does it).
	    Throw an exception only when no key was specified as KeyInfo.
	* XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
	  incorrectly set InputTypes internally.
	* XmlDsigXPathTransform.cs : Context namespace nodes in loaded
	  transform parameter (i.e. <XPath>..</XPath>) should be registered
	  to XsltContext. Otherwise prefix binding error occurs.
	  Just filter attribute node, instead of filtering attribute children.

svn path=/trunk/mcs/; revision=24636
2004-03-26 16:08:47 +00:00
Zoltan Varga 6ff3c958de 2004-03-26 Zoltan Varga <[email protected]>
* mini-sparc.c: Update status.

svn path=/trunk/mono/; revision=24635
2004-03-26 15:30:23 +00:00
Zoltan Varga 057ad4726f 2004-03-26 Zoltan Varga <[email protected]>
* inssel-sparc.brg: Add some optimizations.

	* inssel-sparc.brg mini-sparc.c: Rework branch instructions to allow
	future delay slot filling. Add support for varargs, tail calls and JMP.

svn path=/trunk/mono/; revision=24634
2004-03-26 15:27:57 +00:00
Zoltan Varga 4cff0234b5 2004-03-26 Zoltan Varga <[email protected]>
* inssel.brg mini-ops.h mini.c: Use OP_REFANYTYPE instead of
	CEE_REFANYTYPE, since CEE_REFANYTYPE needs a prefix to be unique.

	* inssel.brg: Fix register allocation in OP_ARGLIST.

	* inssel.brg: Fix warnings.

svn path=/trunk/mono/; revision=24633
2004-03-26 15:24:16 +00:00
Ravindra 202f2c78b7 dos2unix and some cosmatic changes.
svn path=/trunk/mcs/; revision=24630
2004-03-26 13:48:00 +00:00
Ravindra 3fdef174ec Fixed wrapmode enum values.
svn path=/trunk/mcs/; revision=24629
2004-03-26 13:33:58 +00:00
Umadevi S eb77b71731 2004-03-26 Umadevi S ([email protected])
* Changed SqlClientPermission Attribute to fix a build issue using csc

svn path=/trunk/mcs/; revision=24625
2004-03-26 05:05:21 +00:00
Gonzalo Paniagua Javier f1ef8875fb removed debugging output
svn path=/trunk/mono/; revision=24624
2004-03-25 23:54:57 +00:00
Gonzalo Paniagua Javier f5a5e15e0e 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* SearchPattern.cs: small improvement for files with no wildcard.

svn path=/trunk/mcs/; revision=24623
2004-03-25 23:52:50 +00:00
Gonzalo Paniagua Javier 77338acee6 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: use the ISynchronizeInvoke object to invoke the event.
	Implemented Close, CloseMainWindow and Kill.

svn path=/trunk/mcs/; revision=24622
2004-03-25 23:45:44 +00:00
Gonzalo Paniagua Javier e5cfa4874d 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* io-layer/daemon-messages.h: added kill structs.

	* io-layer/daemon.c: implemented process_process_kill.
	* io-layer/handles-private.h:  define process_process_kill.
	* io-layer/handles.c: implemented _wapi_handle_process_kill.
	* io-layer/processes.[ch]: implemented TerminateProcess.
	* metadata/icall.c: added Kill_internal icall.
	* metadata/process.[ch]: added Kill_internal icall.

svn path=/trunk/mono/; revision=24621
2004-03-25 23:45:40 +00:00
Ben Maurer acc92b9017 build fix for 1.2 prof
svn path=/trunk/mcs/; revision=24620
2004-03-25 23:00:27 +00:00
Martin Baulig 39383d95a8 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoStats): Added `generic_instance_count',
	`inflated_method_count', `inflated_type_count' and
	`generics_metadata_size'.

svn path=/trunk/mono/; revision=24619
2004-03-25 22:50:04 +00:00
Bernie Solomon 63d7f48a78 2004-03-25 Bernie Solomon <[email protected]>
* daemon.c (rem_fd): On solaris you seem to get an
	error even after removing the input source so don't
	try and rem_fd it twice.

svn path=/trunk/mono/; revision=24618
2004-03-25 22:14:54 +00:00
Martin Baulig feef4c0745 Oooops.
svn path=/trunk/mono/; revision=24617
2004-03-25 22:09:06 +00:00
Martin Baulig bddbb74152 2004-03-25 Martin Baulig <[email protected]>
* interp.c (stackval_from_data): Added MONO_TYPE_GENERICINST.
	(stackval_to_data): Added MONO_TYPE_GENERICINST.
	(calc_offsets): Use mono_class_get_full() and mono_get_method_full().
	(ves_exec_method_with_context): Likewise.

svn path=/trunk/mono/; revision=24616
2004-03-25 22:06:32 +00:00
Martin Baulig ca63aad4ab 2004-03-25 Martin Baulig <[email protected]>
* mini.c (inflate_generic_field): Removed.
	(mini_get_method): Removed, use mono_get_method_full(),
	(mini_get_class): Removed, use mono_class_get_full().
	(mono_method_to_ir): Pass our generic context to
	mono_field_from_token().

svn path=/trunk/mono/; revision=24615
2004-03-25 22:06:20 +00:00
Martin Baulig 9ea8b218ce 2004-03-25 Martin Baulig <[email protected]>
* class.c (mono_class_get_full): New public function; does a
	mono_class_get(), but also takes a `MonoGenericContext *'.

	* loader.c (mono_field_from_memberref): Renamed to
	`field_from_memberref', made static and added `MonoGenericContext *'
	argument.
	(mono_field_from_token): Added `MonoGenericInst *' argument.
	(method_from_memberef): Likewise.
	(mono_get_method_from_token): Likewise.
	(mono_get_method_full): New public function; does a
	mono_get_method(), but also takes a `MonoGenericContext *'.

	* verify.c (mono_method_verify): Get the method's generic context
	and pass it to mono_field_from_token(), mono_get_method_full() and
	mono_class_get_full().

svn path=/trunk/mono/; revision=24614
2004-03-25 22:06:07 +00:00
Sebastien Pouliot 094b9a02c1 2004-03-25 Sebastien Pouliot <[email protected]>
* mcs-expect-no-errors: Removed cs1548 and cs1458-2.cs (fixed #55364).

svn path=/trunk/mcs/; revision=24613
2004-03-25 21:04:28 +00:00
Gonzalo Paniagua Javier c7ee4eee67 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
* reflection.c: no warnings now.

svn path=/trunk/mono/; revision=24612
2004-03-25 21:01:00 +00:00
Sebastien Pouliot a9f00ccce0 2004-03-25 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: Changed strongname support to match MS
	implementation (i.e. attributes are used by the compiler - not by
	AssemblyBuilder).

svn path=/trunk/mcs/; revision=24610
2004-03-25 20:31:32 +00:00
Sebastien Pouliot 3bb31787d8 2004-03-25 Sebastien Pouliot <[email protected]>
* attribute.cs: Added methods to get a string and a bool from an
	attribute. Required to information from AssemblyKeyFileAttribute,
	AttributeKeyNameAttribute (string) and AssemblyDelaySign (bool).
	* codegen.cs: Modified AssemblyName creation to include support for
	strongnames. Catch additional exceptions to report them as CS1548.
	* compiler.csproj: Updated include CryptoConvert.cs.
	* compiler.csproj.user: Removed file - user specific configuration.
	* CryptoConvert.cs: New. A COPY of the class CryptoConvert from
	Mono.Security assembly. The original class is maintained and tested in
	/mcs/class/Mono.Security/Mono.Security.Cryptography/CryptoConvert.cs.
	* drivers.cs: Added support for /keyfile, /keycontainer and /delaysign
	like CSC 8.0 (C# v2) supports.
	* Makefile: Added CryptoConvert.cs to mcs sources.
	* rootcontext.cs: Added new options for strongnames.

svn path=/trunk/mcs/; revision=24609
2004-03-25 20:29:43 +00:00
Martin Baulig 41f4f20e6f 2004-03-25 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Take a
	`MonoGenericContext *' instead of a `MonoGenericInst *' and a
	`MonoGenericMethod *'.

svn path=/trunk/mono/; revision=24608
2004-03-25 20:15:56 +00:00
Martin Baulig 0814c3a131 2004-03-25 Martin Baulig <[email protected]>
* mini.c (mini_get_class): Take a `MonoGenericContext *' instead
	of a `MonoMethod *'.

svn path=/trunk/mono/; revision=24607
2004-03-25 19:55:13 +00:00
Martin Baulig c22a515bf4 2004-03-25 Martin Baulig <[email protected]>
* mini.c (mini_get_method): Take a `MonoGenericContext *' instead
	of a `MonoGenericMethod *'.
	(TYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_TYPE): mono_method_to_ir() has
	a new local variable called `generic_context' which holds the
	current `MonoGenericContext *'; use it to lookup things.

svn path=/trunk/mono/; revision=24606
2004-03-25 19:51:03 +00:00
Martin Baulig cebc768df0 2004-03-25 Martin Baulig <[email protected]>
* loader.h (MonoMethodInflated): Store the MonoGenericContext
	instead of the MonoGenericMethod here.

svn path=/trunk/mono/; revision=24605
2004-03-25 19:50:48 +00:00
Martin Baulig ec919d864b 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `MonoGenericContext *context';
	each time we create a new MonoGenericInst, we also create a new
	context which points back to us.

	* class.c (inflate_method): Use `ginst->context' instead of
	creating a new context.

	* loader.c (method_from_memberref): Use
	`klass->generic_inst->context' instead of creating a new context.

svn path=/trunk/mono/; revision=24604
2004-03-25 19:00:17 +00:00
Jackson Harper 7e1ba4d437 * gacutil.cs: Add culture to assemblies version string.
svn path=/trunk/mcs/; revision=24603
2004-03-25 18:56:33 +00:00
Martin Baulig 831824a02f 2004-03-25 Martin Baulig <[email protected]>
* class.h (MonoGenericContext): New struct.
	(MonoGenericMethod): Removed `generic_inst'.

	* class.c (mono_class_inflate_generic_method): Take a
	`MonoGenericContext *' instead of a `MonoGenericMethod *'.

svn path=/trunk/mono/; revision=24602
2004-03-25 18:52:25 +00:00
Martin Baulig 8bad6df06e 2004-03-25 Martin Baulig <[email protected]>
* loader.h (MonoMethodInflated): New typedef.

	* metadata.h (MonoMethodSignature): Removed `gen_method', make
	`generic_param_count' consume just 30 bits, added `is_inflated'
	and `has_type_parameters' flags (one bit each).

	* class.c (mono_class_inflate_generic_method): Create a
	MonoMethodInflated instead of a MonoMethodNormal and set
	`is_inflated' in the method signature.

	* class.h (MonoGenericMethod): Removed `generic_method'.

svn path=/trunk/mono/; revision=24600
2004-03-25 18:26:11 +00:00
Sebastien Pouliot 04f2e11aeb 2004-03-25 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
	false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
	-retrieval-method.xml in the Phaos test suite.

svn path=/trunk/mcs/; revision=24599
2004-03-25 18:01:12 +00:00
Sebastien Pouliot c943e26188 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Some of the Phaos test files uses <Manifest> with having
	*manifest* in their name. Manually load certificates for Phaos tests
	that requires it (as RetrievalMethod isn't support automatically).

svn path=/trunk/mcs/; revision=24598
2004-03-25 18:00:13 +00:00
Ben Maurer 951cd331b8 2004-03-25 Ben Maurer <[email protected]>
* cs1510-2.cs: test for 56016.
	* cs0154-2.cs: test for 55780.
	* cs0246-6.cs: test for 55770.

svn path=/trunk/mcs/; revision=24597
2004-03-25 17:29:52 +00:00
Ben Maurer 7cbe0d4846 2004-03-25 Ben Maurer <[email protected]>
* cs1510-2.cs: test for 56016.

svn path=/trunk/mcs/; revision=24596
2004-03-25 16:49:33 +00:00
Ben Maurer ac79f2b708 2004-03-25 Ben Maurer <[email protected]>
* cs0122-4.cs: test for bug 55970.

svn path=/trunk/mcs/; revision=24595
2004-03-25 16:41:52 +00:00
Lluis Sanchez a42a017e8d * soapsuds.cs: Execute the tool from a new domain that has the current
directory as application base for locating assemblies. This fixes #55586.

svn path=/trunk/mcs/; revision=24593
2004-03-25 15:54:38 +00:00
Gonzalo Paniagua Javier 52d0ad051a fix the build on windows
svn path=/trunk/mono/; revision=24592
2004-03-25 15:18:16 +00:00
Sebastien Pouliot ab3f34d8d3 2004-03-25 Sebastien Pouliot <[email protected]>
* cs1548.cs: More descriptive comment  (missing file).
	* cs1548-2.cs: New. Invalid strongname file (content).
	* mcs-expect-no-errors: Added cs1458-2.cs.

svn path=/trunk/mcs/; revision=24591
2004-03-25 15:11:49 +00:00
Ravindra 70d5c09ef2 Added a sample for TextureBrush wrapmodes.
svn path=/trunk/mcs/; revision=24590
2004-03-25 14:37:35 +00:00
Lluis Sanchez e84bdd437f * FileStream.cs: ReadByte(): when buffering is disabled, read the byte with
a direct call to ReadData. In InitBuffer(), if buffering is disabled,
	  create a buffer of one byte, to be used in ReadByte.
	  This fixes bug #52361.

svn path=/trunk/mcs/; revision=24589
2004-03-25 14:35:31 +00:00
Ravindra c43a4ee35f Added ChangeLog and a bmp for samples.
svn path=/trunk/mcs/; revision=24588
2004-03-25 14:31:20 +00:00
Sebastien Pouliot bbcc5c79c3 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to automagically ajust for presence of
	HMAC-MD5 and ExC14N in the framework and to manualy skip signatures
	containing <Manifest> (not supported).

svn path=/trunk/mcs/; revision=24587
2004-03-25 14:09:45 +00:00
Sebastien Pouliot a7dac8bbbd 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to ignore tests using HMAC-MD5 (1 in Phaos
	suite) as it is	unsupported in Fx 1.0/1.1.

svn path=/trunk/mcs/; revision=24586
2004-03-25 13:03:06 +00:00
Sebastien Pouliot f05621510b 2004-03-25 Sebastien Pouliot <[email protected]>
* mcs.1: Added documentation for the new options /delaysign[+|-],
	/keyfile and /keycontainer to the man page.

svn path=/trunk/mono/; revision=24585
2004-03-25 12:46:03 +00:00
Lluis Sanchez 58a75d1054 * daemon.c: in process_post_mortem, If the child terminated due to the
receipt of a signal, the exit status must be based on WTERMSIG, since
	WEXITSTATUS returns 0 in this case.

svn path=/trunk/mono/; revision=24584
2004-03-25 12:34:03 +00:00
Alon Gazit 0bcca74d66 fix ValidateCookieCollection() to prevent InvalidCastException.
svn path=/trunk/mcs/; revision=24583
2004-03-25 12:30:25 +00:00
Lluis Sanchez b2284676c9 * Path.cs: In GetDirectoryName, fixed check for volumeSeparator. This
fixes bug #53892.

svn path=/trunk/mcs/; revision=24582
2004-03-25 11:44:40 +00:00
Lluis Sanchez 6cadb125f1 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
stream after writing the dataset. This fixes bug #52581.
	  Also added several writer.Close into finally blocks, so writers are properly
	  closed in case of an exception.

svn path=/trunk/mcs/; revision=24580
2004-03-25 11:24:12 +00:00
Umadevi S 9d75ea2873 2004-03-25 Umadevi S ([email protected])
* Implemented missing methods in SqlClientPermission & SqlClientPermissionAttribute

svn path=/trunk/mcs/; revision=24579
2004-03-25 10:48:50 +00:00
Lluis Sanchez 48b051754c * image.c: Make sure the name of a MonoImage is always an absolute path.
This fixes bug #54415.

svn path=/trunk/mono/; revision=24578
2004-03-25 10:45:33 +00:00
Lluis Sanchez dbd77e59a0 * WebServiceHelper.cs: In GetContentEncoding, chop off the single & double
quotes around the encoding name. Patch by George Kodinov. This fixes
	  bug #55806.

svn path=/trunk/mcs/; revision=24577
2004-03-25 09:46:07 +00:00
Anirban Bhattacharjee 5ba3fe53f4 * class.cs: bug fixing - creating default constructor when no constructor is specified
Few modifiers are changed to align with Vb

svn path=/trunk/mcs/; revision=24576
2004-03-25 09:44:54 +00:00
Ben Maurer f211f5d3c4 2004-03-24 Ben Maurer <[email protected]>
* Makefile, do-tests.pl: A new system for testing.
	* mcs-expect-no-errors, mcs-expect-wrong-error: a list
	of tests that we fail on.
	* CONTRIBUTORS_README: update docs.

svn path=/trunk/mcs/; revision=24562
2004-03-25 04:55:54 +00:00
Ben Maurer 63cf8b1c33 2004-03-24 Ben Maurer <[email protected]>
* driver.cs: For --expect-error, report error code `2'
	if the program compiled with no errors, error code `1' if
	it compiled with an error other than the one expected.

svn path=/trunk/mcs/; revision=24560
2004-03-25 04:18:59 +00:00
Sebastien Pouliot 8b336570e2 2004-03-24 Sebastien Pouliot <[email protected]>
* Makefile: Updated sn.exe to include StrongNameManager.cs.
	* sn.cs: Updated to use StrongNameManager. This allows remapping a
	public key token to another public key (e.g. ECMA key). Also added
	support for -Vl.
	* StrongNameManager.cs: New. First version. Allows remapping of
	public key tokens to alternate public keys (e.g. ECMA) and disabling
	strongname verification for specific tokens/assemblies/users combo.

svn path=/trunk/mcs/; revision=24559
2004-03-25 03:12:57 +00:00
Martin Baulig 5f9165e4da 2004-03-24 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.FindType): Also use
	TypeManager.CheckGeneric() for types from the using clauses.

svn path=/trunk/mcs/; revision=24557
2004-03-25 02:42:47 +00:00
Martin Baulig 68e478cf8a 2004-03-24 Martin Baulig <[email protected]>
* class.c (mono_class_setup_vtable): If we're a generic instance,
	use our generic type's vtable size.

svn path=/trunk/mono/; revision=24556
2004-03-25 02:21:27 +00:00
Martin Baulig 3a735b0403 2004-03-24 Martin Baulig <[email protected]>
* mini.c (mini_get_class): New static method; if we're inside a
	generic instance, inflate the class if neccessary.
	(mono_method_to_ir): Use mini_get_class() instead of mono_class_get().

svn path=/trunk/mono/; revision=24555
2004-03-25 02:20:23 +00:00
Gonzalo Paniagua Javier 020c22b732 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* NumberFormatInfo.cs: this fixes bug #56000 for me. And it doesn't
	break anything as NumberFormatInfo is sealed.

svn path=/trunk/mcs/; revision=24554
2004-03-25 00:49:57 +00:00
Lluis Sanchez ef6734e55d * SerializationCodeGenerator.cs: Generate an integer for unknown enum values.
Use a special method to generate default values, since default enum values
	  will come as integers, so a special cast is needed.
	* XmlSerializationReaderInterpreter.cs,
	* SerializationSource.cs, SoapAttributeAttribute.cs, SoapAttributeOverrides.cs,
	  SoapAttributes.cs, SoapElementAttribute.cs, SoapEnumAttribute.cs,
	  SoapTypeAttribute.cs, XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs,
	  XmlArrayAttribute.cs, XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs,
	  XmlAttributeAttribute.cs, XmlAttributeOverrides.cs, XmlAttributes.cs,
	  XmlChoiceIdentifierAttribute.cs, XmlElementAttribute.cs, XmlElementAttributes.cs,
	  XmlEnumAttribute.cs, XmlReflectionMember.cs, XmlRootAttribute.cs,
	  XmlTextAttribute.cs, XmlTypeAttribute.cs: Had to change the implementation
	  of SerializationSource. It can't keep and use the XmlAttributeOverride
	  instances as key values, since those instances can be modified after the
	  xml map has been generated. Now, SerializationSource generates a unique
	  string hash from XmlAttributeOverride and uses it for comparisons.

svn path=/trunk/mcs/; revision=24553
2004-03-25 00:07:43 +00:00
Gonzalo Paniagua Javier 0d062a34e6 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added new test with a regex used when discovering the
	wsdl document for a asmx page.

svn path=/trunk/mcs/; revision=24552
2004-03-24 23:53:11 +00:00
Gonzalo Paniagua Javier b55ee14579 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: fixed group numbering.

svn path=/trunk/mcs/; revision=24551
2004-03-24 23:27:24 +00:00
Gonzalo Paniagua Javier b24f2374e0 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: added the exception status to the error message.
	* WebConnection.cs: add headers using SetInternal instead of Add to
	bypass header name validation. Fixes bug #55994.
	* WebHeaderCollection.cs: added SetInternal (string header).

svn path=/trunk/mcs/; revision=24549
2004-03-24 22:06:56 +00:00
Sebastien Pouliot eeeca84ae4 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added CanSign property for AssemblyBuilder. Current
	Fx design requires an exception to know if the private key is present
	in an RSA instance. In some case (inside corlib) we can do without...

svn path=/trunk/mcs/; revision=24547
2004-03-24 20:25:12 +00:00
Zoltan Varga 6ff626ab00 2004-03-24 Zoltan Varga <[email protected]>
* iltests.il: New regression test for #55976.

	* mini.c (mono_method_to_ir): Empty the stack in endfinally. Fixes
	#55976.

svn path=/trunk/mono/; revision=24546
2004-03-24 20:20:48 +00:00
Sebastien Pouliot 6525978790 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added CanSign property for AssemblyBuilder. Current
	Fx design requires an exception to know if the private key is present
	in an RSA instance. In some case (inside corlib) we can do without...

svn path=/trunk/mcs/; revision=24545
2004-03-24 20:15:57 +00:00
Lluis Sanchez e5aad3e5cf * System.Xml_test.dll.sources: Added
System.Xml.Serialization/ComplexDataStructure.cs.

svn path=/trunk/mcs/; revision=24543
2004-03-24 19:33:16 +00:00
Lluis Sanchez 5c0505d232 added literal-data.xml. This file is used by ComplexDataStructure.cs.
svn path=/trunk/mcs/; revision=24542
2004-03-24 19:32:45 +00:00
Lluis Sanchez bb3d1a73c9 * XmlSerializerTests.cs: Added some identifiers for AssertEquals.
Minor fixes in Infoset method.
	* ComplexDataStructure.cs: New set of tests for testing complex object
	  serialization.

svn path=/trunk/mcs/; revision=24541
2004-03-24 19:31:28 +00:00
Lluis Sanchez a303d9ab6f * SerializationCodeGenerator.cs: Several fixes: generate valid names for
WriteRoot_ and ReadRoot_ methods. Cast result of ReadTypedPrimitive to
	  the adequate type. Set the default value of members that do have a default
	  value. Other minor fixes.
	* SoapReflectionImporter.cs, XmlReflectionImporter.cs: All maps must derive
	  from typeof(object) map, even those that have another base class.
	* XmlCustomFormatter.cs: Fixed generation of conversion from char to string.
	  It must serialize the char as number, not as character.
	* XmlSerializationReaderInterpreter.cs: Set the default value of members
	  that do have a default value.
	* XmlTypeMapping.cs: Added property MembersWithDefault, which returns a list
	  of members that have a default value.

svn path=/trunk/mcs/; revision=24540
2004-03-24 19:30:12 +00:00
Sebastien Pouliot 4df7e1bd7c 2004-03-24 Sebastien Pouliot <[email protected]>
* StrongNameKeyPair.cs: Added an internal method to return a
	StrongName object (for AssemblyBuilder). Simplified implementation
	using Mono.Security.Cryptography.CryptoConvert class.

svn path=/trunk/mcs/; revision=24539
2004-03-24 19:17:35 +00:00
Atsushi Eno f06178f71d 2004-03-24 Atsushi Enomoto <[email protected]>
* xmldsig.cs : Ok, time to test phaos collection ;-)

svn path=/trunk/mcs/; revision=24535
2004-03-24 18:40:57 +00:00
Atsushi Eno 5d47dd82a3 2004-03-24 Atsushi Enomoto <[email protected]>
* ReferenceTest.cs : Test for keeping document object identity.
	* XmlDsigC14NTransformTest.cs : Fixed LoadInputAsXmlNodeList(). Here,
	  passed XmlNodeList means filtered (e.g. XPath) nodes, which might
	  contain parent and children as each node in the list.
	  Added LoadInputAsXmlNodeList2(), which fails in the meantime.

svn path=/trunk/mcs/; revision=24534
2004-03-24 18:38:08 +00:00
Atsushi Eno f4e851c96f 2004-03-24 Atsushi Enomoto <[email protected]>
* Reference.cs, Signature.cs : They should keep input element and hence
	  keep namespace context nodes on LoadXml() as same as SignedInfo.
	* SignedXml.cs : Fixed SignedInfoTransformed() to fill context
	  namespace nodes into the input document (unlike other classes, there
	  seems no other way to keep ns-nodes here).
	  Now some of W3C phaos xmldsig test passes.

svn path=/trunk/mcs/; revision=24532
2004-03-24 18:32:58 +00:00
Atsushi Eno 5e6c273dd5 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
	  namespace nodes which has the same name as already-iterated nodes.
	  Also xmlns='' should not be selected, and once it appeared, default
	  namespace should not be selected anymore.

svn path=/trunk/mcs/; revision=24531
2004-03-24 18:20:14 +00:00
Atsushi Eno 8fc32b5ea4 2004-03-24 Atsushi Enomoto <[email protected]>
* SelectNodesTests.cs : Added test for 1) not selecting previously-
	  selected prefixes, and that 2) default namespace erasure (i.e.
	  xmlns="") should not be selected.

svn path=/trunk/mcs/; revision=24530
2004-03-24 18:19:51 +00:00
Atsushi Eno 0b1403e780 2004-03-24 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : Added InvalidStylesheet2().

svn path=/trunk/mcs/; revision=24529
2004-03-24 18:19:24 +00:00
Sebastien Pouliot c31e0ddac6 2003-03-24 Sebastien Pouliot <[email protected]>
* StrongNameKeyPairTest.cs: Converted to NUnit2 format. Removed
	unneeded code and false comments (too much copy-n-paste).

svn path=/trunk/mcs/; revision=24528
2004-03-24 18:05:30 +00:00
Lluis Sanchez a186746a8a * File.cs: In Move, throw IOException instead of ArgumentException if destination
is a directory.
	* MonoIO.cs: In ExistsDirectory, return ERROR_PATH_NOT_FOUND instead of
	  ERROR_FILE_NOT_FOUND, since we are looking for a directory, not a file.

svn path=/trunk/mcs/; revision=24527
2004-03-24 17:24:29 +00:00
Urs C. Muff 2be7ee27e0 use platform specific file extension for shared libraries (.so / .dylib)
svn path=/trunk/mono/; revision=24526
2004-03-24 16:39:02 +00:00
Sebastien Pouliot dcb5fa8f0b 2004-03-24 Sebastien Pouliot <[email protected]>
* AssemblyBuilderTest.cs: Added new tests to build strongnamed
	assemblies.

svn path=/trunk/mcs/; revision=24525
2004-03-24 16:12:50 +00:00
Zoltan Varga 33a23c3a09 2004-03-24 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Add
	MONO_NO_UNLOAD env var as a temporary workaround for unloading
	problems.

svn path=/trunk/mono/; revision=24524
2004-03-24 16:11:29 +00:00
Sebastien Pouliot 415bd840fe 2004-03-24 Sebastien Pouliot <[email protected]>
* other: Added Mono Brazil for fxjr

svn path=/trunk/mono/; revision=24523
2004-03-24 15:22:29 +00:00
Sebastien Pouliot e553e75bff 2004-03-24 Sebastien Pouliot <[email protected]>
* compiler.csproj: Updated for Visual Studio .NET 2003.
	* compiler.csproj.user: Updated for Visual Studio .NET 2003.
	* compiler.sln: Updated for Visual Studio .NET 2003.

svn path=/trunk/mcs/; revision=24522
2004-03-24 15:20:36 +00:00
Jordi Mas i Hernandez 5a48761f6e fixes image and bmp dpi
svn path=/trunk/mcs/; revision=24521
2004-03-24 14:52:41 +00:00
Zoltan Varga 52811a9526 2004-03-24 Zoltan Varga <[email protected]>
* TypeBuilder.cs (GetMethod): Implement.

svn path=/trunk/mcs/; revision=24520
2004-03-24 13:46:51 +00:00
Jordi Mas i Hernandez 093adb768b drawimage sample
svn path=/trunk/mcs/; revision=24519
2004-03-24 12:51:20 +00:00
Zoltan Varga 2a9356d23e 2004-03-24 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Reenable argument checking with MS.NET
	compatibility tweaks.

svn path=/trunk/mcs/; revision=24518
2004-03-24 12:16:53 +00:00
Zoltan Varga 86d3150fbf 2004-03-24 Zoltan Varga <[email protected]>
* AssemblyFileVersionAttribute.cs (.ctor): Add argument checking.

svn path=/trunk/mcs/; revision=24517
2004-03-24 12:14:09 +00:00
Jordi Mas i Hernandez bdea42d3f5 added missing DrawImage gdi+ calls and example
svn path=/trunk/mcs/; revision=24516
2004-03-24 12:11:25 +00:00
Ravi Pratap M bd51c35c2b oops. forgot to add this
svn path=/trunk/mcs/; revision=24515
2004-03-24 11:49:58 +00:00
Umadevi S af584a5538 2004-03-24 Umadevi S ([email protected])
* DataColumn.cs - removed the TODOs since I had checkedin earlier
		* DataViewRowState.cs - Implemented EditorAttribute

svn path=/trunk/mcs/; revision=24514
2004-03-24 05:04:40 +00:00
Ravi Pratap M faaa614056 2004-03-24 Ravi Pratap M <[email protected]>
* expression.cs: Fix bug #47234. We basically need to apply the
	rule that we prefer the conversion of null to a reference type
	when faced with a conversion to 'object' (csc behaviour).

svn path=/trunk/mcs/; revision=24513
2004-03-24 04:51:11 +00:00
Ravi Pratap M 76a39fc985 2004-03-24 Ravi Pratap M <[email protected]>
* test-235.cs: test for 47234.

svn path=/trunk/mcs/; revision=24512
2004-03-24 04:49:26 +00:00
Atsushi Eno ca7962559c 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlCharacterData.cs : ReplaceData() should reject negative integer
	  value for count argument.
	* XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
	  On RemoveNamedItem(), default attribute value should be restored.

svn path=/trunk/mcs/; revision=24511
2004-03-24 03:45:22 +00:00
Ben Maurer 4ffc99365d 2004-03-23 Ben Maurer <[email protected]>
* statement.cs: Shorter form for foreach, eliminates
	a local variable. r=Martin.

svn path=/trunk/mcs/; revision=24510
2004-03-24 03:35:19 +00:00
Atsushi Eno 3aee5d6284 2004-03-24 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : Remove() should throw an exception when
	  target attribute is not included in the collection.
	* XmlDocument.cs : ImportNode() should reject null node.
	* XmlNode.cs : Fixed type of exception for invalid insertion.
	  It should throw an exception not only when the owner document of the
	  reference element is different but its parent element is different.
	  Some error message improvement.

svn path=/trunk/mcs/; revision=24509
2004-03-24 02:21:48 +00:00
Martin Baulig 07e8a49a47 Make this actually work.
svn path=/trunk/mcs/; revision=24508
2004-03-23 23:10:24 +00:00
Martin Baulig 8237dc9cd5 2004-03-23 Martin Baulig <[email protected]>
* MonoGenericInst.cs: Added support for events.

svn path=/trunk/mcs/; revision=24507
2004-03-23 23:08:19 +00:00
Martin Baulig 9956d5ddab 2004-03-23 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.GetEvents_internal): New internal
	method; this is basically GetEvents(), but see the FIXME in that method.

svn path=/trunk/mcs/; revision=24506
2004-03-23 23:08:03 +00:00
Martin Baulig 9deab5bbd9 2004-03-23 Martin Baulig <[email protected]>
* class.h (MonoDynamicGenericInst): Added `int count_events' and
	`MonoEvent *events'.

	* icall.c (ves_icall_MonoGenericInst_GetEvents): New interncall.
	(typebuilder_icalls): Added "get_event_info"; calls
	mono_reflection_event_builder_get_event_info().

	* reflection.c (mono_reflection_generic_inst_initialize): Added
	`MonoArray *events'.
	(mono_reflection_event_builder_get_event_info): New function.

svn path=/trunk/mono/; revision=24505
2004-03-23 23:07:39 +00:00
Bernie Solomon 46c8ebe6e7 2004-03-23 Bernie Solomon <[email protected]>
* hppa/hppa-codegen.h: created

	* hppa/tramp.c: changed style to be more like
	other platforms.

	* hppa/Makefile.am: add hppa-codegen.h

svn path=/trunk/mono/; revision=24504
2004-03-23 22:01:55 +00:00
Sebastien Pouliot 7443900426 2004-03-23 Sebastien Pouliot <[email protected]>
* cs1548.cs: New test for signing an assembly.

svn path=/trunk/mcs/; revision=24503
2004-03-23 21:46:15 +00:00
Ben Maurer a68914c645 2004-03-23 Ben Maurer <[email protected]>
* Switch.cs: Don't throw when there is no switches section.

svn path=/trunk/mcs/; revision=24502
2004-03-23 20:57:13 +00:00
Ben Maurer fe7f428306 2004-03-23 Ben Maurer <[email protected]>
* constant.cs, ecore.cs, literal.cs: New prop IsZeroInteger that
	checks if we can use brtrue/brfalse to test for 0.
	* expression.cs: use the above in the test for using brtrue/brfalse.
	cleanup code a bit.

svn path=/trunk/mcs/; revision=24501
2004-03-23 20:47:18 +00:00
Bernie Solomon 57db628494 2004-03-23 Bernie Solomon <[email protected]>
* object.h: add mono_type_initialization_init

	* object.c (mono_runtime_class_init):
	implement class constructor synchronization rules
	to cope with threading issues.
	add mono_type_initialization_init

	* appdomain.c (mono_runtime_init): call
	mono_type_initialization_init

	* class.h: removing initializing field from MonoVTable

svn path=/trunk/mono/; revision=24500
2004-03-23 20:19:53 +00:00
Martin Baulig 710c8b2251 2004-03-23 Martin Baulig <[email protected]>
* expression.cs (Invocation.OverloadResolve): Added `bool
	may_fail' argument and use it instead of the Location.IsNull() hack.

svn path=/trunk/mcs/; revision=24499
2004-03-23 20:09:21 +00:00
Martin Baulig b4c9545e53 Make the delegate stuff actually working.
svn path=/trunk/mcs/; revision=24498
2004-03-23 19:44:48 +00:00
Sebastien Pouliot 6a15b2e6b3 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added support for public keys preceded by an
	header like the one generated by "sn -e".

svn path=/trunk/mcs/; revision=24497
2004-03-23 19:35:01 +00:00
Sebastien Pouliot 4f7dba8f47 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: Added test case where the public key structure
	is inside preceded by an header (like the one produced by "sn -e").

svn path=/trunk/mcs/; revision=24496
2004-03-23 19:28:36 +00:00
Zoltan Varga 1c4ecb7cc2 2004-03-23 Zoltan Varga <[email protected]>
* exceptions-sparc.c (mono_sparc_handle_exception): Remove debugging
	output.

svn path=/trunk/mono/; revision=24495
2004-03-23 19:05:56 +00:00
Sebastien Pouliot cf58d12c72 2004-03-23 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources: Added unit tests for CryptoConvert.

svn path=/trunk/mcs/; revision=24494
2004-03-23 19:04:13 +00:00
Zoltan Varga 14ecce8181 2004-03-23 Zoltan Varga <[email protected]>
* liveness.c: Consider SSA stores as well as loads when making vars
	volatile.

	* exceptions.cs: New regression tests for register allocation.

svn path=/trunk/mono/; revision=24493
2004-03-23 19:03:38 +00:00
Martin Baulig b4a3bf5b12 Make this actually work.
svn path=/trunk/mcs/; revision=24492
2004-03-23 19:03:16 +00:00
Sebastien Pouliot bad72976dc 2004-03-23 Sebastien Pouliot <[email protected]>
* RSAManaged.cs: CryptographicException thrown when trying to export
	the private key when only the public key is present (CRT aware).

svn path=/trunk/mcs/; revision=24491
2004-03-23 19:02:23 +00:00
Martin Baulig fd3fd3e481 2004-03-23 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferType): Use correct type inference
	rules here.

svn path=/trunk/mcs/; revision=24490
2004-03-23 19:01:54 +00:00
Sebastien Pouliot 6130002f5e 2004-03-23 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added exceptions for null or invalid keys.

svn path=/trunk/mcs/; revision=24489
2004-03-23 19:01:31 +00:00
Martin Baulig b6cf2c1d21 New test ...
svn path=/trunk/mcs/; revision=24488
2004-03-23 19:00:52 +00:00
Martin Baulig 406e2d49cb New tests .....
svn path=/trunk/mcs/; revision=24487
2004-03-23 19:00:21 +00:00
Sebastien Pouliot 626aa8535f 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added exception for null and bad parameters.
	* RSAManaged.cs: CryptographicException thrown when trying to export
	the private key when only the public key is present (CRT aware).

svn path=/trunk/mcs/; revision=24486
2004-03-23 18:58:52 +00:00
Sebastien Pouliot 1c8c4fc566 2004-03-23 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added exceptions for null or invalid keys.

svn path=/trunk/mcs/; revision=24485
2004-03-23 18:54:54 +00:00
Martin Baulig 616da98cd5 2004-03-23 Martin Baulig <[email protected]>
* ecore.cs (MethodGroupExpr.Name): Use
	TypeManager.CSharpSignature() instead of just the name.

	* expression.cs (Invocation.OverloadResolve): Provide better error
	reporting.
	(Invocation.DoResolve): OverloadResolve() never returns null
	without reporting an error, so removed the error -6 reporting here.

svn path=/trunk/mcs/; revision=24484
2004-03-23 18:41:03 +00:00
Martin Baulig 6949d3ce57 2004-03-23 Martin Baulig <[email protected]>
* MonoMethod.cs (MonoMethod.ToString): Don't include the namespace
	if it's the empty string.

svn path=/trunk/mcs/; revision=24483
2004-03-23 18:38:22 +00:00
Martin Baulig fa0f9b72cd 2004-03-23 Martin Baulig <[email protected]>
* class.c (my_mono_class_from_generic_parameter): Use
	`param->name' if it's not NULL.

svn path=/trunk/mono/; revision=24482
2004-03-23 18:37:07 +00:00
Lluis Sanchez 7b84b60a8e * ByteTest.cs, Int32Test.cs, Int64Test, SingleFormatterTest.cs, UInt16Test.cs, UInt32Test.cs, UInt64Test.cs: Made some tests depend on the current culture.
svn path=/trunk/mcs/; revision=24481
2004-03-23 18:30:34 +00:00
Gonzalo Paniagua Javier 8a6eee694d added socket-wrappers.h
svn path=/trunk/mono/; revision=24480
2004-03-23 18:18:45 +00:00
Ben Maurer fa92ddc567 2004-03-23 Ben Maurer <[email protected]>
* expression.cs: Rewrite string concat stuff. Benefits:

	- "a" + foo + "b" + "c" becomes "a" + foo + "bc"
	- "a" + foo + "b" + bar + "c" + baz ... uses concat (string []).
	rather than a concat chain.

	* typemanager.cs: Add lookups for more concat overloads.

svn path=/trunk/mcs/; revision=24479
2004-03-23 17:55:34 +00:00
Dick Porter 08b6a9b61f 2004-03-23 Dick Porter <[email protected]>
* DateTime.cs: Allow any character for DateSeparator when parsing,
	except TimeSeparator, a digit or a letter.  Fixes bug 54047.  Also
	deleted the previous fix for 54721, because this covers it too.

svn path=/trunk/mcs/; revision=24478
2004-03-23 17:41:46 +00:00
Martin Baulig de3886106c Reset dynamic_info and is_initialized.
svn path=/trunk/mono/; revision=24477
2004-03-23 17:37:51 +00:00
Martin Baulig 13d5d4ad7b 2004-03-23 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetMethodFlags): Fixed the FIXME for
	generic methods.

	* cs-parser.jay (delegate_declaration): Support generic delegates.

	* delegate.cs: Support generic delegates.

svn path=/trunk/mcs/; revision=24476
2004-03-23 17:36:32 +00:00
Lluis Sanchez 2aedf9aecf * FloatingPointFormatter.cs: Made the class thread safe. Had to move some
internal variables to structures that are moved around methods.
	  Factorized some common formatting code into FormatNumberInternal.

svn path=/trunk/mcs/; revision=24475
2004-03-23 17:33:49 +00:00
Gonzalo Paniagua Javier 93973d690f 2004-03-23 Gonzalo Paniagua Javier <[email protected]>
* ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
	Jaros.

svn path=/trunk/mcs/; revision=24473
2004-03-23 17:27:09 +00:00
Zoltan Varga d8d89aaede 2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.

svn path=/trunk/mono/; revision=24472
2004-03-23 17:21:21 +00:00
Sebastien Pouliot 6e79ed7e60 2004-02-23 Sebastien Pouliot <[email protected]>
* PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
	FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.

svn path=/trunk/mcs/; revision=24471
2004-03-23 17:19:20 +00:00
Sebastien Pouliot e82e7ed41b 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added exception for null and bad parameters.

svn path=/trunk/mcs/; revision=24470
2004-03-23 17:11:32 +00:00
Sebastien Pouliot 06b8b783ff 2004-03-23 Sebastien Pouliot <[email protected]>
* CryptoConvertTest.cs: New. Unit tests for CryptoConvert.

svn path=/trunk/mcs/; revision=24469
2004-03-23 16:38:40 +00:00
Ben Maurer a71d8a5ce4 2004-03-23 Ben Maurer <[email protected]>
* expression.cs: Emit shorter il code for array init.

	newarr
	dup
	// set 1

	// set 2

	newarr
	stloc.x

	ldloc.x
	// set 1

	ldloc.x
	// set 2

svn path=/trunk/mcs/; revision=24467
2004-03-23 16:19:47 +00:00
Atsushi Eno 1cc064583f 2004-03-23 Atsushi Enomoto <[email protected]>
* SignedInfo.cs : It holds input element and directly returns it
	  unless the properties are not set.
	  Throw CryptographicException when Reference is empty *and* GetXml()
	  is *created*. (when just returning input element, no exception is
	  thrown).

svn path=/trunk/mcs/; revision=24465
2004-03-23 15:55:37 +00:00
Atsushi Eno 8c9368f811 2004-03-23 Atsushi Enomoto <[email protected]>
* SignedInfoTest.cs : assure the owner document object equality /
	  inequality with related to LoadXml() and setting properties.

svn path=/trunk/mcs/; revision=24464
2004-03-23 15:55:14 +00:00
Rafael Teixeira 9a6472f418 2004/03/22 Rafael Teixeira <[email protected]>
* typemanager.cs :  being more carefull with null arguments in some places,
						null checking in GetPertinentStandardModules() loop
	* namespace.cs : a helper ToString override
	* ecore.cs : Dealing with finding more than a pertinent standard module having a global member
	* testmbas/WriteOk.vb : Exercising correct standard module resolution
    NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working

svn path=/trunk/mcs/; revision=24463
2004-03-23 15:39:36 +00:00
Dick Porter a6f53e92e7 2004-03-23 Dick Porter <[email protected]>
* DateTime.cs: Check the date string for too many digits when
	parsing.  Fixes bugs 53023 and 53025.

svn path=/trunk/mcs/; revision=24462
2004-03-23 15:29:47 +00:00
Sebastien Pouliot 0ba2b0fe8f 2004-03-23 Sebastien Pouliot <[email protected]>
* mswse.pub: New. Microsoft WSE public key to be used for
	strongnaming the Microsoft.Web.Service assembly.

svn path=/trunk/mcs/; revision=24461
2004-03-23 13:23:05 +00:00
Sebastien Pouliot 558f4d0af6 2004-03-23 Sebastien Pouliot <[email protected]>
* ecma.pub: New. ECMA key to be used for strongnaming assemblies.
	* msfinal.pub: New. Microsoft public key to be used for strongnaming
	assemblies.

svn path=/trunk/mcs/; revision=24460
2004-03-23 13:21:28 +00:00
Atsushi Eno f343ebfeaf 2004-03-23 Atsushi Enomoto <[email protected]>
* DataObject.cs : It now hold element instead of each parameters.
	  Avoid loading element content to different document unless its
	  properties were modified (to keep namespace node context).

svn path=/trunk/mcs/; revision=24459
2004-03-23 13:05:03 +00:00
Atsushi Eno 80da194523 2004-03-23 Atsushi Enomoto <[email protected]>
* DataObjectTest.cs : assure that owner document object are different
	  after setting properties.

svn path=/trunk/mcs/; revision=24458
2004-03-23 13:04:06 +00:00
Carlos Guzmán Álvarez fa65933310 2004-03-19 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:

		- Fixed cipher suite selection.

	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

		- Added new CertificateRSA property.

		- Added new UpdateCErtfificateRSA method.

	* Mono.Security.Protocol.Tls/CipherSuite.cs:

		- Removed CertificateRSA() method.

svn path=/trunk/mcs/; revision=24457
2004-03-23 12:03:35 +00:00
Zoltan Varga a90895fec7 2004-03-23 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs: Disable argument checking since it causes
	regressions.

svn path=/trunk/mcs/; revision=24456
2004-03-23 11:30:08 +00:00
Anirban Bhattacharjee 0d1e1a3346 * mb-parser.jay: handled implicit static modifier for module members in const
* const.cs: changed supported modifiers

svn path=/trunk/mcs/; revision=24455
2004-03-23 11:14:22 +00:00
Anirban Bhattacharjee 3829d69daf modifiers.cs: Return name of modifiers changed to vb specific
svn path=/trunk/mcs/; revision=24454
2004-03-23 11:03:17 +00:00
Umadevi S 3dd5e6fe1a 2004-03-23 Umadevi S ([email protected])
* implemented Attributes, methods in OleDbError.cs & OleDbErrorCollection.cs

svn path=/trunk/mcs/; revision=24453
2004-03-23 10:41:16 +00:00
Ravindra bb8fe26a6e Implementing LinearGradientBrush.cs public methods.
svn path=/trunk/mcs/; revision=24452
2004-03-23 08:23:43 +00:00
Ravindra c9a34c38b6 Added few P/Invoke calls for LinearGradientBrush.
svn path=/trunk/mcs/; revision=24451
2004-03-23 08:21:07 +00:00
Umadevi S ba0568eb5e 2004-03-23 Umadevi S ([email protected])
* OleDbException.cs - implemented Attributes, GetObjectData Method

svn path=/trunk/mcs/; revision=24450
2004-03-23 08:06:50 +00:00
Francisco Figueiredo Jr. 208f6badd8 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlAsciiRow.cs
        * Npgsql/NpgsqlBinaryRow.cs
        * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=24447
2004-03-23 01:36:45 +00:00
Francisco Figueiredo Jr. df182db1fa 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlAsciiRow.cs
	* Npgsql/NpgsqlBinaryRow.cs
	* Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.

svn path=/trunk/mcs/; revision=24446
2004-03-23 01:35:54 +00:00
Ben Maurer 954a17f84b 2004-03-22 Ben Maurer <[email protected]>
* mono-todo: I finished the vtable task :-).

svn path=/trunk/mono/; revision=24445
2004-03-23 01:34:02 +00:00
Francisco Figueiredo Jr. 92f68ebf28 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=24444
2004-03-23 01:31:25 +00:00
Ben Maurer 8944bfdf8e 2004-03-22 Ben Maurer <[email protected]>
* class.c: do not insert non-virtual methods in the vtable.
	* icall.c, mono-debug-debugger.c, object.c: if method->slot == -1,
	that means the method is non-virtual. This never would have
	happened before.

svn path=/trunk/mono/; revision=24443
2004-03-23 01:31:08 +00:00
Martin Baulig 193b3d3665 delegate test ....
svn path=/trunk/mcs/; revision=24442
2004-03-22 23:10:46 +00:00
Gonzalo Paniagua Javier 799e70ce7e Don't dispose the handler
svn path=/trunk/mcs/; revision=24441
2004-03-22 21:55:44 +00:00
Gonzalo Paniagua Javier f7bff4ab5d 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs:  don't create the output file on error reading the
	input. Fixes bug #55916.

svn path=/trunk/mcs/; revision=24440
2004-03-22 21:45:17 +00:00
Gonzalo Paniagua Javier 1586e985e1 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: support EnableRaisingEvents + Exited event.

svn path=/trunk/mcs/; revision=24439
2004-03-22 21:36:03 +00:00
Gonzalo Paniagua Javier f6086dacfc 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
* daemon.c: turned a warning into a DEBUG statement. Now we may hit it.

svn path=/trunk/mono/; revision=24438
2004-03-22 21:35:17 +00:00
Martin Baulig d7f60118e7 Ravi fixed this in July 2003, but somehow it didn't make it into gmcs ....
svn path=/trunk/mcs/; revision=24436
2004-03-22 20:57:05 +00:00
Sebastien Pouliot 980cad64ca 2004-03-22 Sebastien Pouliot <[email protected]>
* Makefile: Added /nowarn to cleanup display when building.

svn path=/trunk/mcs/; revision=24435
2004-03-22 20:52:45 +00:00
Sebastien Pouliot af1a3f3de7 2004-03-22 Sebastien Pouliot <[email protected]>
* PublisherMembershipCondition.cs: Now use CryptoConvert for
	Hexadecimal convertions.

svn path=/trunk/mcs/; revision=24434
2004-03-22 20:46:38 +00:00
Sebastien Pouliot 03ba0a2b3e 2004-03-22 Sebastien Pouliot <[email protected]>
* PublisherIdentityPermission.cs: Now use CryptoConvert for Hexadecimal
	convertions.
	* PublisherIdentityPermissionAttribute.cs: Now use CryptoConvert for
	Hexadecimal convertions.

svn path=/trunk/mcs/; revision=24433
2004-03-22 20:44:30 +00:00
Sebastien Pouliot 10d6ca59f8 2004-03-22 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
	new version of FromCapiPublicKeyBlob with an integer offset.

svn path=/trunk/mcs/; revision=24432
2004-03-22 20:39:39 +00:00
Zoltan Varga b30d135056 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
	#55840.

svn path=/trunk/mono/; revision=24431
2004-03-22 20:15:01 +00:00
Zoltan Varga 68930f5be9 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Disable -version-script if not using GNU ld. Fixes
	#55910.

svn path=/trunk/mono/; revision=24430
2004-03-22 20:03:53 +00:00
Atsushi Eno c3dcc27b30 2004-03-22 Atsushi Enomoto <[email protected]>
* XslApplyTemplates.cs,
	  XslAvt.cs,
	  XslCallTemplate.cs,
	  XslChoose.cs,
	  XslIf.cs,
	  XslMessage.cs,
	  XslNumber.cs,
	  XslVariable.cs :
	  Throw XsltCompileException instead of Exception.
	* XslVariable.cs : Reject invalid attributes.

svn path=/trunk/mcs/; revision=24429
2004-03-22 18:36:28 +00:00
Atsushi Eno f10189a439 2004-03-22 Atsushi Enomoto <[email protected]>
* Compiler.cs,
	  XslAttributeSet.cs,
	  XslFunctions,
	  XslTransformProcessor.cs :
	  Throw specific types of exceptions instead of Exception.
	* XslFunctions.cs, XsltCompiledContext.cs :
	  added node argument for XsltExtensionFunction ctor() etc.

svn path=/trunk/mcs/; revision=24428
2004-03-22 18:35:34 +00:00
Lluis Sanchez eb44e1e8c5 * mini-ppc.c, tramp-ppc.c: Added lock for accessing the domain code manager.
* mini.c: Removed domain lock from mono_jit_compile_method_with_opt. Use
	  domain lock only to protect puntual access to data structures.
	  Added access lock for sighash, jit_icall_hash_name,
	  jit_icall_hash_addr and domain->code_mp.

svn path=/trunk/mono/; revision=24427
2004-03-22 17:51:15 +00:00
Lluis Sanchez 7c6c029fdd profiler.c: Added lock for accessing coverage_hash.
svn path=/trunk/mono/; revision=24426
2004-03-22 17:48:46 +00:00
Zoltan Varga 4e7119ec6e 2004-03-22 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs (Initialize): Add more argument checking.
	Fixes #55793.

svn path=/trunk/mcs/; revision=24425
2004-03-22 17:45:35 +00:00
Martin Baulig 12bbb89749 Added params argument.
svn path=/trunk/mcs/; revision=24424
2004-03-22 17:33:10 +00:00
Martin Baulig b763764593 2004-03-22 Martin Baulig <[email protected]>
* expression.cs (Invocation.InferParamsTypeArguments): New static
	method; does type inference for params arguments.

svn path=/trunk/mcs/; revision=24423
2004-03-22 17:32:02 +00:00
Jordi Mas i Hernandez 86f440a319 pie sample
svn path=/trunk/mcs/; revision=24421
2004-03-22 17:00:13 +00:00
Dick Porter 4f6c31d26a 2004-03-22 Dick Porter <[email protected]>
* String.cs (System): Use the provider when converting strings to
	other types.

	* DateTime.cs (System): Add MM-dd-yyyy to the list of standard
	date parsing formats.  Fixes bug 54721.

2004-03-22  Dick Porter  <[email protected]>

	* DateTimeTest.cs (System): Test the MM-dd-yyyy date parse format.

svn path=/trunk/mcs/; revision=24420
2004-03-22 16:58:33 +00:00
Andreas N ac5c121ab5 2004-03-22 Andreas Nahr <[email protected]>
* Console.cs: Styled, optimized calls
	* CrossAppDomainDelegate.cs: Small header fix
	* Buffer.cs: Style, improve errors
	* BitConverter.cs: Style, improve errors, remove obsolete comment
	* Attribute.cs: Style, improve errors, small fix
	* Array.cs: Style, improve errors, small fix, added TODOs
	* Activator.cs: Style, localized errors, added error checks
	* Byte.cs: Style, localized errors, fixed wrong exception parameters
	* Char.cs: Style
	* Boolean.cs: Style
	* AppDomainSetup.cs: Style
	* AppDomain.cs: Style, implemented two methods (redirect)

svn path=/trunk/mcs/; revision=24419
2004-03-22 16:13:32 +00:00
Jackson Harper edfe1fb025 * parser.cs: Use the group number as the name in mapping. Patch by Gert Driesen.
* regex.cs: Fix off by one error. Patch by Gert Driesen.

svn path=/trunk/mcs/; revision=24418
2004-03-22 16:09:39 +00:00
Jackson Harper 100076871e * RegexBugs.cs: Add test case for multiple matches.
svn path=/trunk/mcs/; revision=24417
2004-03-22 16:02:15 +00:00
Zoltan Varga c57317920c 2004-03-22 Zoltan Varga <[email protected]>
* CustomAttributeBuilderTest.cs: Call GetCustomAttributes with false
	so custom attributes on Object do not screw the results.

svn path=/trunk/mcs/; revision=24416
2004-03-22 15:51:54 +00:00
Rafael Teixeira e944cbe7d1 2004/03/22 Rafael Teixeira <[email protected]>
* ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067

svn path=/trunk/mcs/; revision=24415
2004-03-22 15:42:23 +00:00
Zoltan Varga 01d63e525c 2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Speedup successful sigaltstack test.

svn path=/trunk/mono/; revision=24414
2004-03-22 15:40:42 +00:00
Ravindra 0147ab6cff Implementing LinearGradientBrush.cs and fixing PathGradientBrush.cs.
svn path=/trunk/mcs/; revision=24413
2004-03-22 12:21:04 +00:00
Ravindra 5c37570079 Added few P/Invoke calls for LinearGradientBrush and couple of coding style fixes.
svn path=/trunk/mcs/; revision=24412
2004-03-22 12:08:55 +00:00
Anirban Bhattacharjee 689e7f0b41 one more test case for constant
svn path=/trunk/mcs/; revision=24410
2004-03-22 10:50:24 +00:00
Anirban Bhattacharjee bd83779db8 mb-parser.jay: One more negative scenario is addressed in const grammar
svn path=/trunk/mcs/; revision=24409
2004-03-22 10:44:04 +00:00
Anirban Bhattacharjee 92f0be3983 VariablesB.vb: small correction in test case
svn path=/trunk/mcs/; revision=24408
2004-03-22 08:22:09 +00:00
Anirban Bhattacharjee 85de23e1ec Test cases for constant
svn path=/trunk/mcs/; revision=24407
2004-03-22 08:15:52 +00:00
Anirban Bhattacharjee 20807d2f0f const.cs: Change type of constant to the type of its value if no explicit type declaration found
svn path=/trunk/mcs/; revision=24406
2004-03-22 07:22:15 +00:00
Jackson Harper e6c9c07fe5 * DoubleFormatterTest.cs: test setting the number of decimal
digits.

svn path=/trunk/mcs/; revision=24405
2004-03-22 07:17:41 +00:00
Anirban Bhattacharjee e81d868b80 mb-parser.jay: Grammar for declaring constant inside block is changed
svn path=/trunk/mcs/; revision=24404
2004-03-22 07:00:54 +00:00
Jackson Harper c69f40cecd * FloatingPointFormatter.cs: Set precision from number format info
when it is not specified. This fixes bug #54983.

svn path=/trunk/mcs/; revision=24403
2004-03-22 06:57:06 +00:00
Jackson Harper cc615ced8d * Uri.cs: Equals should be case insensitive for all parts except
the path.

svn path=/trunk/mcs/; revision=24401
2004-03-22 06:16:01 +00:00
Jackson Harper b27193fd68 * TestUri.cs: Make sure Uri::Equals is case insensitive for
everything but paths.

svn path=/trunk/mcs/; revision=24400
2004-03-22 06:11:25 +00:00
Atsushi Eno 1da9ad39e9 2004-03-22 Atsushi Enomoto <[email protected]>
* XsltException.cs, XsltCompileException.cs : They had used
	  message field which were never set.

svn path=/trunk/mcs/; revision=24399
2004-03-22 05:47:56 +00:00
Atsushi Eno 63532431bb 2004-03-22 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : Modified compilation processing. Now it uses
	  CodeDom. Compilation error should be caught. This fixes bug #55875.

svn path=/trunk/mcs/; revision=24398
2004-03-22 05:45:07 +00:00
Anirban Bhattacharjee da96838a27 const.cs: Changed exception numbers
svn path=/trunk/mcs/; revision=24397
2004-03-22 05:02:44 +00:00
Anirban Bhattacharjee 99e554c1d8 Changed grammar for constant
svn path=/trunk/mcs/; revision=24396
2004-03-22 04:58:27 +00:00
Ben Maurer eeb2c98e2a 2004-03-22 Ben Maurer <[email protected]>
* test-234.cs: test for 25885.

svn path=/trunk/mcs/; revision=24394
2004-03-22 04:52:05 +00:00
Martin Baulig 5b4e8f69cf 2004-03-21 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsGenericMethod): New public static
	method; checks whether a method is a generic method.

	* expression.cs (Invocation.InferTypeArguments): New static method;
	infer type arguments for generic method invocation.

	* ecore.cs (MethodGroupExpr.HasTypeArguments): New public
	property; we set this to true if we're resolving a generic method
	invocation and the user specified type arguments, ie. we're not
	doing type inference.

svn path=/trunk/mcs/; revision=24393
2004-03-22 04:48:22 +00:00
Ben Maurer a04d5b5535 2004-03-22 Ben Maurer <[email protected]>
* statement.cs: Before, two switch blocks would be merged if the
	total size of the blocks (end_item - begin_item + 1) was less than
	two times the combined sizes of the blocks.

	Now, it will only merge if after the merge at least half of the
	slots are filled.

	fixes 55885.

svn path=/trunk/mcs/; revision=24392
2004-03-22 04:47:45 +00:00
Martin Baulig 5035bc9109 2004-03-22 Martin Baulig <[email protected]>
* icall.c (ves_icall_MethodInfo_get_IsGenericMethod): Use
	`method->method->signature->generic_param_count != 0' to make it
	work for interface methods.

svn path=/trunk/mono/; revision=24391
2004-03-22 04:47:31 +00:00
Martin Baulig f7f3447776 Don't crash here ;-)
svn path=/trunk/mono/; revision=24390
2004-03-22 04:47:22 +00:00
Martin Baulig 2c36ea0a1e 2004-03-21 Martin Baulig <[email protected]>
* gen-45.cs: New generics test for type inference.

svn path=/trunk/mcs/; revision=24389
2004-03-22 00:44:09 +00:00
Sebastien Pouliot 688896e493 2004-03-21 Sebastien Pouliot <[email protected]>
* ChangeLog: commited missing ChangeLog entries.

svn path=/trunk/mcs/; revision=24388
2004-03-21 14:09:24 +00:00
Gonzalo Paniagua Javier 1c963cb88d 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: when Dispose (bool) is called from the finalizer, always
	do the cleanup. Fixes yet another nullref with xsp.

svn path=/trunk/mcs/; revision=24387
2004-03-21 07:56:15 +00:00
Gonzalo Paniagua Javier 271bb68c4e 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* ThreadAbortException.cs: use same HResult as MS.
	* Timer.cs: abort the running thread when disposing the Timer. This
	fixes NullRefs when finishing xsp.

svn path=/trunk/mcs/; revision=24386
2004-03-21 07:38:16 +00:00
Gonzalo Paniagua Javier 6c6bd263f9 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* configure.in: this test for sigaltstack works.

svn path=/trunk/mono/; revision=24385
2004-03-21 06:43:13 +00:00
Atsushi Eno 0a270288b5 2004-03-21 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
	  This fixes bug #55856.

svn path=/trunk/mcs/; revision=24384
2004-03-21 06:02:29 +00:00
Sebastien Pouliot ef584c35f0 2004-03-20 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Renamed GetPublicKey to PublicGetPublicKey to
	remove warning.

svn path=/trunk/mcs/; revision=24382
2004-03-21 01:05:21 +00:00
Sebastien Pouliot 189c0f1443 2004-03-20 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Removed unused (and commented) ComputeHash method.

svn path=/trunk/mcs/; revision=24381
2004-03-21 01:03:10 +00:00
Sebastien Pouliot 829860f3d3 2004-03-20 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore Phaos test suite files.

svn path=/trunk/mcs/; revision=24380
2004-03-20 23:59:33 +00:00
Sebastien Pouliot 6acbbf4401 2004-03-20 Sebastien Pouliot <[email protected]>
* crypto: Updated status after 0.31 release.

svn path=/trunk/mono/; revision=24379
2004-03-20 23:52:53 +00:00
Martin Baulig ab40303b89 2004-03-20 Martin Baulig <[email protected]>
* gen-44.cs: New generics test for operators.

	* gen-21.cs: Use the new `default(T)' syntax.

svn path=/trunk/mcs/; revision=24378
2004-03-20 22:41:57 +00:00
Martin Baulig f80ed8bc1f 2004-03-20 Martin Baulig <[email protected]>
* class.cs (MethodData.DeclaringType): New public property.
	(MethodData.Define): Set DeclaringType here.
	(Operator.Define): Use OperatorMethod.MethodData.DeclaringType
	instead of OperatorMethodBuilder.DeclaringType.

svn path=/trunk/mcs/; revision=24377
2004-03-20 22:38:30 +00:00
Zoltan Varga 1ecb1f0a45 2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Disable sigaltstack test for now since it can hang.

svn path=/trunk/mono/; revision=24374
2004-03-20 22:24:04 +00:00
Zoltan Varga 370f56f417 2004-03-20 Zoltan Varga <[email protected]>
* driver.c: Print SIGSEGV handling method.

svn path=/trunk/mono/; revision=24373
2004-03-20 22:02:47 +00:00
Martin Baulig b6368b82c3 2004-03-20 Martin Baulig <[email protected]>
* cs-tokenizer.cs (xtoken): Return a special
	Token.DEFAULT_OPEN_PARENS for "`default' followed by open parens".

	* cs-parser.jay (default_value_expression): Switch to the new
	syntax (14.5.13).

svn path=/trunk/mcs/; revision=24372
2004-03-20 22:00:41 +00:00
Zoltan Varga 08f7402ccc 2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Add test for working sigaltstack.

svn path=/trunk/mono/; revision=24371
2004-03-20 21:41:08 +00:00
Martin Baulig 3cf991243b 2004-03-19 Martin Baulig <[email protected]>
* decl.cs (MemberName): New class.  We use this to "construct"
	namespace_or_type_name's.

	* generics.cs (TypeArguments.GetDeclarations): New public method;
	returns the type arguments as a string[] and reports a CS0081 if
	one of them is not an identifier.

	* class.cs (MemberBase): The .ctor now takes the name as a
	MemberName instead of a string.
	(MemberBase.ExplicitInterfaceName): Changed type from string to
	Expression.
	(MemberBase.DoDefine): If we're an explicit implementation, the
	InterfaceType may be a generic instance.

	* cs-parser.jay (namespace_or_type_name): Return a MemberName.
	(namespace_name): Call MemberName.GetName () to transform the
	MemberName into a string and ensure we don't have any type
	arguments.
	(type_name): Call MemberName.GetTypeExpression() to transfrom the
	MemberName into an expression.
	(method_header): Use namespace_or_type_name instead of member_name.

svn path=/trunk/mcs/; revision=24369
2004-03-20 21:15:39 +00:00
Ben Maurer 02731a145e build fixie for 1.2
svn path=/trunk/mcs/; revision=24368
2004-03-20 20:19:49 +00:00
Zoltan Varga 3c6672f72b 2004-03-20 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_free_jit_tls_data): Add missing ifdef.

svn path=/trunk/mono/; revision=24367
2004-03-20 20:16:13 +00:00
Atsushi Eno a9b3ada7f4 2004-03-20 Atsushi Enomoto <[email protected]>
* class.cs : csc build fix for GetMethods(). See bug #52503.

svn path=/trunk/mcs/; revision=24366
2004-03-20 19:51:06 +00:00
Ben Maurer cfcc060f4e test for fp comparison
svn path=/trunk/mcs/; revision=24365
2004-03-20 19:49:57 +00:00
Ben Maurer aaf21d9349 2004-03-20 Ben Maurer <[email protected]>
* expression.cs: Make sure fp comparisons work with NaN.
	This fixes bug #54303. Mig approved this patch a long
	time ago, but we were not able to test b/c the runtime
	had a related bug.

svn path=/trunk/mcs/; revision=24364
2004-03-20 19:49:24 +00:00
Zoltan Varga 0d1216c266 2004-03-20 Zoltan Varga <[email protected]>
* mini.c (setup_jit_tls_data): Handle case when this is called
	multiple times for a thread.

svn path=/trunk/mono/; revision=24363
2004-03-20 19:05:57 +00:00
Zoltan Varga f84ea977f9 2004-03-20 Zoltan Varga <[email protected]>
* mini-x86.c cpu-pentium.md: Fix floating point branch opcodes so fbxx
	is different from fbxx_un. Fixes #54303. Also use constants instead of
	magic numbers in a lot of places.

svn path=/trunk/mono/; revision=24362
2004-03-20 17:54:20 +00:00
Atsushi Eno 3e55c81d52 2004-03-20 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.

svn path=/trunk/mcs/; revision=24361
2004-03-20 00:35:54 +00:00
Gonzalo Paniagua Javier 8def85bdc8 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Watcher.cs: Removed file. Jackson made it obsolete and already
	removed it from the .sources file.

svn path=/trunk/mcs/; revision=24359
2004-03-19 23:00:41 +00:00
Gonzalo Paniagua Javier b40bb7ed5f updated changelog
svn path=/trunk/mcs/; revision=24358
2004-03-19 22:55:45 +00:00
Gonzalo Paniagua Javier 58fd85e029 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: removed FileWatcherCache.

svn path=/trunk/mcs/; revision=24357
2004-03-19 22:51:13 +00:00
Martin Baulig 17267042e5 Small fix.
svn path=/trunk/mcs/; revision=24356
2004-03-19 22:40:32 +00:00
Martin Baulig 0a458b4720 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MemberCore.IsDuplicateImplementation): Check whether
	two overloads may unify for some type parameter substitutions and
	report a CS0408 if appropriate.

svn path=/trunk/mcs/; revision=24355
2004-03-19 22:22:01 +00:00
Miguel de Icaza c60f36decb 2004-03-19 Miguel de Icaza <[email protected]>
* ecore.cs (TypExpr.GetHashCode): implement this overload.

svn path=/trunk/mcs/; revision=24354
2004-03-19 22:17:26 +00:00
Martin Baulig 0a84bfe1b1 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MemberCore.IsDuplicateImplementation): Report the
	error here and not in our caller.

svn path=/trunk/mcs/; revision=24353
2004-03-19 22:08:02 +00:00
Gonzalo Paniagua Javier 01e17ca3b1 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: return HttpContext.Current if _context has not yet been
	assigned to. Fixes bug #55245.

svn path=/trunk/mcs/; revision=24352
2004-03-19 21:53:04 +00:00
Gonzalo Paniagua Javier 5447d87bd4 forgot this from George's patch
svn path=/trunk/mcs/; revision=24351
2004-03-19 21:33:44 +00:00
Martin Baulig 81c71a8039 *** Merged from MCS ****
svn path=/trunk/mcs/; revision=24350
2004-03-19 20:45:44 +00:00
Gonzalo Paniagua Javier 1efb7820d0 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* daemon.c: only call getdtablesize () once.
	* processes.c: wait 500 ms to check if execve failed and throw the same
	exception as MS on failure. Fixes bug #32809.

svn path=/trunk/mono/; revision=24349
2004-03-19 20:28:19 +00:00
Gonzalo Paniagua Javier b0cbd68a34 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added ERROR_PATH_NOT_FOUND that reports the same
	message as ERROR_FILE_NOT_FOUND.

svn path=/trunk/mcs/; revision=24348
2004-03-19 20:23:09 +00:00
Martin Baulig a89e8725b4 Removed interface.cs from the makefile.
svn path=/trunk/mcs/; revision=24347
2004-03-19 20:06:57 +00:00
Martin Baulig 546736488f Added newline at the end of the file.
svn path=/trunk/mcs/; revision=24346
2004-03-19 20:01:15 +00:00
Martin Baulig 9afacc15d7 2004-03-19 Martin Baulig <[email protected]>
* interface.cs: Completely killed this file.
	(Interface): We're now a TypeContainer and live in class.cs.

	* class.cs (TypeContainer.GetClassBases): Added `bool is_iface'
	argument; we're now also called for interfaces.
	(TypeContainer.DefineMembers): Allow this method being called
	multiple times.
	(TypeContainer.GetMethods): New public method; formerly known as
	Interface.GetMethod().  This is used by PendingImplementation.
	(TypeContainer.EmitDefaultMemberAttr): Moved here from Interface;
	it's now private and non-static.
	(Interface): Moved this here; it's now implemented similar to
	Class and Struct.
	(Method, Property, Event, Indexer): Added `bool is_interface'
	argument to their .ctor's.
	(MemberBase.IsInterface): New public field.

	* cs-parser.jay: Create normal Method, Property, Event, Indexer
	instances instead of InterfaceMethod, InterfaceProperty, etc.
	(opt_interface_base): Removed; we now use `opt_class_base' instead.
	(InterfaceAccessorInfo): Create `Get' and `Set' Accessor's.

svn path=/trunk/mcs/; revision=24345
2004-03-19 19:59:38 +00:00
Miguel de Icaza a62a2ce584 Update after testing
svn path=/trunk/mono/; revision=24344
2004-03-19 19:49:17 +00:00
Miguel de Icaza 5900e84b84 Update
svn path=/trunk/mono/; revision=24343
2004-03-19 19:21:34 +00:00
Zoltan Varga 6451a9be2e 2004-03-19 Zoltan Varga <[email protected]>
* exceptions.cs: Fix cctor test when --regression is used.

svn path=/trunk/mono/; revision=24342
2004-03-19 19:11:49 +00:00
Gonzalo Paniagua Javier d41414f963 0.31.99
svn path=/trunk/mono/; revision=24341
2004-03-19 18:41:16 +00:00
Gonzalo Paniagua Javier 9b35101261 0.31.99
svn path=/trunk/mcs/; revision=24341
2004-03-19 18:41:16 +00:00
Gonzalo Paniagua Javier a8d0b784b0 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: small fix from George Kodinov for Combine when ~ is used.

svn path=/trunk/mcs/; revision=24340
2004-03-19 18:28:19 +00:00
Martin Baulig 7258418ade 2004-03-19 Martin Baulig <[email protected]>
* class.cs (MethodCore.IsDuplicateImplementation): New private
	method which does the CS0111 checking.
	(Method.CheckBase, Constructor.CheckBase, PropertyBase.CheckBase):
	Use IsDuplicateImplementation().

svn path=/trunk/mcs/; revision=24339
2004-03-19 18:19:06 +00:00
Atsushi Eno 852b567b99 2004-03-19 Atsushi Enomoto <[email protected]>
* XmlDsigXPathTransform.cs : just found stupid bug.

svn path=/trunk/mcs/; revision=24338
2004-03-19 18:17:13 +00:00
Miguel de Icaza d7de5a11d2 Add include directory
svn path=/trunk/mono/; revision=24337
2004-03-19 18:14:04 +00:00
Gonzalo Paniagua Javier ff941f80ff 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the string passed to the shell using g_shell_quote.

svn path=/trunk/mono/; revision=24336
2004-03-19 18:05:27 +00:00
Gonzalo Paniagua Javier f96033521f 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* threads.c:
	(mono_threads_manage): don't remove the finalizer thread and self
	from the threads hash table so that mono_thread_manage can be called
	more than once.

svn path=/trunk/mono/; revision=24335
2004-03-19 17:42:40 +00:00
Jordi Mas i Hernandez 55cb57557c bmp encoder /decoder enhancements and bug fixing
svn path=/trunk/mcs/; revision=24334
2004-03-19 17:25:27 +00:00
Jordi Mas i Hernandez b7414a15b6 revert Sanjay's patch. It broke the TestBimap test case and also saving on existing files. On Monday, he can rework the patch and send it again
svn path=/trunk/mcs/; revision=24333
2004-03-19 15:52:49 +00:00
Sebastien Pouliot 8e86375c4b Can't update ChangeLog from Windows due to encoding problems.
svn path=/trunk/mcs/; revision=24332
2004-03-19 15:25:40 +00:00
Sebastien Pouliot 106d595a44 2004-03-19 Sebastien Pouliot <[email protected]>
* TlsClientKeyExchange.cs: Fixed key pair used to encrypt pre-master
	secret for exportable ciphers - must use the public key received in
	ServerKeyExchange.

svn path=/trunk/mcs/; revision=24331
2004-03-19 15:22:17 +00:00
Sebastien Pouliot 0923510772 2004-03-19 Sebastien Pouliot <[email protected]>
* CipherSuite.cs: Fixed PRF generation when secret is an odd number of
	bytes (section 5 in RFC2246).
	* CipherSuiteFactory.cs: Added algorithms RSA_EXPORT_WITH_RC4_40_MD5,
	RSA_EXPORT_WITH_RC2_CBC_40_MD5, RSA_EXPORT_WITH_DES40_CBC_SHA,
	RSA_EXPORT_WITH_RC4_56_MD5, RSA_EXPORT_WITH_RC2_CBC_56_MD5,
	RSA_EXPORT_WITH_DES_CBC_56_SHA and RSA_EXPORT_WITH_RC4_56_SHA to both
	SSL3 and TLS1 protocols.
	* SslCipherSuite.cs: Fixed key generation for exportable ciphers.
	* TlsCipherSuite.cs: Fixed key generation for exportable ciphers.

svn path=/trunk/mcs/; revision=24330
2004-03-19 15:21:18 +00:00
Atsushi Eno 2e584078f8 2004-03-19 Atsushi Enomoto <[email protected]>
* XmlImplementation.cs : HasFeature() returns true when strVersion
	  is null.

svn path=/trunk/mcs/; revision=24329
2004-03-19 14:31:06 +00:00
Dick Porter d339f0349e 2004-03-19 Dick Porter <[email protected]>
* UnicodeEncoding.cs: GetCharCount(), GetChars(): Check for the
	BOM at the beginning of the range of characters we're interested
	in, not at the beginning of the array.  Fixes bug 51531.

2004-03-19  Dick Porter  <[email protected]>

	* UnicodeEncodingTest.cs: Test for character counts on subranges
	of arrays with a BOM at the start of the array.

svn path=/trunk/mcs/; revision=24328
2004-03-19 13:57:25 +00:00
Sebastien Pouliot f8fed6fdc5 2004-03-19 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Completed unit tests as many methods were not
	tested at all previously.

svn path=/trunk/mcs/; revision=24327
2004-03-19 13:36:13 +00:00
Sebastien Pouliot b69503f4bc 2004-03-19 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Lot of small changes to complete TODOs and to match
	the new unit tests.

svn path=/trunk/mcs/; revision=24326
2004-03-19 13:34:28 +00:00
Rafael Teixeira 506cbfcdab 2004-03-19 Joerg Rosenkranz <[email protected]>
* Interaction.cs:
		Added MonoTODO attributes
		All not implemented members are throwing NotImplementedException
		Implemented IIf
		Implemented Command
		Implemented Environ

svn path=/trunk/mcs/; revision=24325
2004-03-19 13:08:04 +00:00
Umadevi S 376bcdb21f 2004-03-18 Umadevi S ([email protected])
* OdbcCollection.cs - implemented CopyTo method

svn path=/trunk/mcs/; revision=24324
2004-03-19 10:50:45 +00:00
Umadevi S 3fd555137e 2004-03-19 Umadevi S ([email protected])
* OdbcException.cs - Implemented Message and GetObjectData

svn path=/trunk/mcs/; revision=24322
2004-03-19 08:15:29 +00:00
David Sheldon c8a30a7adb 2004-03-19 David Sheldon <[email protected]>
* ThreadTest.cs: Removed Ignore attributes from
      CurrentPrincipal_PrincipalPolicy_NoPrincipal and
      CurrentPrincipal_PrincipalPolicy_UnauthenticatedPrincipal
    Now that bug 54041 is fixed, and they wont livelock.

svn path=/trunk/mcs/; revision=24321
2004-03-19 08:12:42 +00:00
Sanja Gupta 7734f9a6a8 ChangeLog: Updated ChangeLog
TestBitmap.cs: Added test case for exception thrown while saving
	   image to same file from which it is read.

svn path=/trunk/mcs/; revision=24320
2004-03-19 06:24:58 +00:00
Sanja Gupta 76ed7f56ea ChangeLog: Updated ChangeLog
Image.cs: Implemented save method and fixed issue with file creation

svn path=/trunk/mcs/; revision=24319
2004-03-19 06:08:46 +00:00
Gonzalo Paniagua Javier 767d5b33b8 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* process.c: quote the arguments when UseShellExecute is true. Fixes
	bug #55790.

svn path=/trunk/mono/; revision=24318
2004-03-19 05:25:22 +00:00
Miguel de Icaza bcfc8c7293 Flush
svn path=/trunk/mono/; revision=24317
2004-03-19 02:27:17 +00:00
Gonzalo Paniagua Javier f77844a345 2004-03-18 Gonzalo Paniagua Javier <[email protected]>
* threads.c: set mono_thread_detach as a cleanup routine for every
	thread. This way it's always executed upon thread termination, either
	aborted or finished normally. No more xsp hangs!

svn path=/trunk/mono/; revision=24315
2004-03-19 01:36:11 +00:00
David Sheldon 16fcacf230 2004-03-18 David Sheldon <[email protected]>
* Hashtable.cs: Serialise/Deserialise to two arrays of
   keys/values. This will match what MS.NET appears to be
   doing.

svn path=/trunk/mcs/; revision=24308
2004-03-18 23:25:35 +00:00
David Sheldon 1cd1961f74 2003-03-18 David Sheldon <[email protected]>
* SoapTypeMapper.cs: Map object to xsd:anyType rather than
    SOAP-ENC:anyType so we can deserialise the objects serialised
    by MS.NET.

svn path=/trunk/mcs/; revision=24307
2004-03-18 23:22:51 +00:00
Miguel de Icaza f64af1c345 README
svn path=/trunk/mono/; revision=24306
2004-03-18 23:21:00 +00:00
Miguel de Icaza 52fc5610f7 Update
svn path=/trunk/mono/; revision=24305
2004-03-18 23:08:51 +00:00
Miguel de Icaza fc2d5cbffc Use new defines for the JIT
svn path=/trunk/mono/; revision=24304
2004-03-18 23:02:24 +00:00
Miguel de Icaza 0a16024247 update link
svn path=/trunk/mono/; revision=24303
2004-03-18 23:02:11 +00:00
Miguel de Icaza 68514389b9 Update web
svn path=/trunk/mono/; revision=24302
2004-03-18 23:02:09 +00:00
Miguel de Icaza 7968a63f89 Update
svn path=/trunk/mono/; revision=24301
2004-03-18 22:36:02 +00:00
Miguel de Icaza 31ff1a6688 Update
svn path=/trunk/mcs/; revision=24301
2004-03-18 22:36:02 +00:00
Miguel de Icaza 4941e212b1 Fixety poo
svn path=/trunk/mono/; revision=24300
2004-03-18 22:34:37 +00:00
Martin Baulig 55ca6c7154 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=24299
2004-03-18 22:31:38 +00:00
Gonzalo Paniagua Javier f706238420 2004-03-18 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: patch from Aleksey Demakov that fixes
	MapPath when the virtual directory is the root virtual directory.

svn path=/trunk/mcs/; revision=24298
2004-03-18 22:06:21 +00:00
Miguel de Icaza db286d8f14 FixBuild
svn path=/trunk/mcs/; revision=24295
2004-03-18 21:54:10 +00:00
Miguel de Icaza 9452b9b531 Flush
svn path=/trunk/mcs/; revision=24293
2004-03-18 21:18:13 +00:00
Paolo Molaro 0382d5f8df Quick fix fo macosx until this code is dumped.
svn path=/trunk/mono/; revision=24291
2004-03-18 20:38:55 +00:00
Atsushi Eno 84971b8ef8 2004-03-18 Atsushi Enomoto <[email protected]>
* Makefile : It was incorrect fix, and more fix on command line.

svn path=/trunk/mcs/; revision=24288
2004-03-18 19:56:56 +00:00
Atsushi Eno 504cfa13b8 2004-03-18 Atsushi Enomoto <[email protected]>
* Makefile : path to jay should be supplied.

svn path=/trunk/mcs/; revision=24286
2004-03-18 19:31:59 +00:00
Miguel de Icaza a4b9a48cf5 Improve error checking
svn path=/trunk/mcs/; revision=24285
2004-03-18 19:19:55 +00:00
Paolo Molaro 9360275a9b Thu Mar 18 19:57:56 CET 2004 Paolo Molaro <[email protected]>
* mini-ppc.c, exceptions-ppc.c: basic exceptions support
	for Linux/ppc.

svn path=/trunk/mono/; revision=24283
2004-03-18 18:33:54 +00:00
Paolo Molaro 055f687e80 Thu Mar 18 19:56:19 CET 2004 Paolo Molaro <[email protected]>
* inssel-ppc.brg: fixed register assignments for some rules.

svn path=/trunk/mono/; revision=24281
2004-03-18 18:27:35 +00:00
Atsushi Eno 10aa5cb906 2004-03-18 Atsushi Enomoto <[email protected]>
* XmlDataDocumentTest.cs : file path fixes.

svn path=/trunk/mcs/; revision=24280
2004-03-18 18:03:50 +00:00
Atsushi Eno d4e180ee69 2004-03-18 Atsushi Enomoto <[email protected]>
* XmlDataDocument.cs : Fixed incorrect cast in OnDataTableRowAdded().
	  This fixes bug #54505.

svn path=/trunk/mcs/; revision=24279
2004-03-18 18:03:07 +00:00
Ravindra 91168a52e6 Added TestBitmap, TestBlend and TestColorBlend to the test sources list.
svn path=/trunk/mcs/; revision=24277
2004-03-18 14:31:34 +00:00
Ravindra 19fe645737 Minor fixes.
svn path=/trunk/mcs/; revision=24276
2004-03-18 14:18:00 +00:00
Nick Drochak 357375f2c2 2004-03-18 Nick Drochak <[email protected]>
* Math.cs: Use IsNaN() method not "x == NaN".

svn path=/trunk/mcs/; revision=24275
2004-03-18 12:39:54 +00:00
Umadevi S 32556a82c2 2004-03-18 Umadevi S ([email protected])
* Removed TODOs on Properties AllowEdit, AllowDelete, AllowNew
		* after verifying with testcases

svn path=/trunk/mcs/; revision=24274
2004-03-18 12:30:25 +00:00
Ravindra 8ce23b0c4d ChangeLog.
svn path=/trunk/mcs/; revision=24270
2004-03-18 05:04:46 +00:00
Ravindra ec61ed6f6f ChangeLog.
svn path=/trunk/mcs/; revision=24269
2004-03-18 04:58:08 +00:00
Umadevi S 65276a310e 2004-03-17 Umadevi S ([email protected])
* Changed constructors and Command method for OleDbRowUpdatingEventArgs and OleDbRowUpdtedEventArgs classes

svn path=/trunk/mcs/; revision=24268
2004-03-18 04:53:05 +00:00
Ravindra 0b1cf9579e ChangeLogs.
svn path=/trunk/mcs/; revision=24267
2004-03-18 04:39:34 +00:00
Ravindra 80aedab291 ChangeLog
svn path=/trunk/mcs/; revision=24266
2004-03-18 04:25:26 +00:00
Umadevi S 1ee95435ba 2004-03-18 Umadevi S ([email protected])
* Implemented missing methods for OleDbParameterCollection & OleDbParameter class

svn path=/trunk/mcs/; revision=24264
2004-03-18 03:54:51 +00:00
Ben Maurer 76bd2ab87d 2004-03-17 Ben Maurer <[email protected]>
* decl.cs (FindMemberToOverride): New method to find the correct
	method or property to override in the base class.
	* class.cs
	    - Make Method/Property use the above method to find the
	      version in the base class.
	    - Remove the InheritableMemberSignatureCompare as it is now
	      dead code.

	This patch makes large code bases much faster to compile, as it is
	O(n) rather than O(n^2) to do this validation.

	Also, it fixes bug 52458 which is that nested classes are not
	taken into account when finding the base class member.

	Reviewed/Approved by Martin.

svn path=/trunk/mcs/; revision=24262
2004-03-18 01:30:46 +00:00
Miguel de Icaza 54b8ccff52 Dont build this on Windows
svn path=/trunk/mono/; revision=24261
2004-03-18 00:55:01 +00:00
Martin Baulig 25fbc78e16 Added some more stuff.
svn path=/trunk/mcs/; revision=24260
2004-03-18 00:44:03 +00:00
Martin Baulig 075f801c6d Hmm, this should now work.
svn path=/trunk/mcs/; revision=24259
2004-03-18 00:43:49 +00:00
Martin Baulig a28bc835dd 2004-03-17 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.DoResolve): Take the parent's number
	of type arguments into account; use the `real_num_type_args'
	approach like in DoResolveAsTypeStep().

	* generic.cs (GenericMemberAccess.DoResolve): Make this work for
	nested types.

svn path=/trunk/mcs/; revision=24258
2004-03-18 00:34:22 +00:00
Martin Baulig 24b8011b09 Cosmetic ...
svn path=/trunk/mcs/; revision=24257
2004-03-18 00:08:04 +00:00
Martin Baulig d5209b2f52 Small fix.
svn path=/trunk/mcs/; revision=24256
2004-03-18 00:03:06 +00:00
Martin Baulig 1d72c435d0 2004-03-17 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Replaced the `GList *nested' with an
	`int count_nested' and a `MonoType **nested'.

	* reflection.c (mono_reflection_bind_generic_parameters): Moved
	most of the functionality into a new static
	do_mono_reflection_bind_generic_parameters() and don't take a
	`MonoType *nested_in' argument any more.  Don't compute nested
	types here.
	(mono_reflection_generic_inst_get_nested_types): New public method
	to get nested types.

	* class.c (mono_class_create_generic): Set `klass->nested_in' if
	we're a nested class.

	* icall.c (ves_icall_MonoGenericInst_GetNestedTypes): Call
	mono_reflection_generic_inst_get_nested_types() to compute the
	nested types.

svn path=/trunk/mono/; revision=24255
2004-03-17 23:59:47 +00:00
Martin Baulig 3bc550dd8b 2004-03-17 Martin Baulig <[email protected]>
Merged latest changes into gmcs.  Please keep this comment in
	here, it makes it easier for me to see what changed in MCS since
	the last time I merged.

svn path=/trunk/mcs/; revision=24254
2004-03-17 21:46:29 +00:00
Martin Baulig c427b1c4e0 **** Merged from MCS ****
svn path=/trunk/mcs/; revision=24253
2004-03-17 21:45:26 +00:00
Zoltan Varga 0184080655 2004-03-17 Zoltan Varga <[email protected]>
* threads.c (ves_icall_System_Threading_Thread_Abort): Add a more
	descriptive error message under windows.

svn path=/trunk/mono/; revision=24252
2004-03-17 21:06:00 +00:00
Zoltan Varga 6f065f96e1 2004-03-17 Zoltan Varga <[email protected]>
* exceptions.cs: Add test for exceptions in static constructors.

svn path=/trunk/mono/; revision=24251
2004-03-17 20:42:19 +00:00
Zoltan Varga ea6068a968 2004-03-17 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_with_out): Move the calling of
	static constructors outside the domain lock. Fixes #55720.

svn path=/trunk/mono/; revision=24250
2004-03-17 20:41:27 +00:00
Gonzalo Paniagua Javier 3015c8a6b3 2004-03-17 Francois Beauchemin <[email protected]>
* syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs :
 		Revised support for RigthToLeft.
 		quicksearch has now an reverse option.
 		This fixes bug #54537

  	* regex.cs, compiler.cs :
 	 	Some code to support CILCompiler.
 	* regex.cs :
 		Added some undocumented of MS.

svn path=/trunk/mcs/; revision=24249
2004-03-17 20:21:43 +00:00
Gonzalo Paniagua Javier 7a628fe4e9 2004-03-17 Francois Beauchemin <[email protected]>
* PerlTrials.cs : Added many test for RightToLeft
 	* PerlTest.cs, RegexTrial : Modified version of regextrial to
 		be run all the test and to report exception.

svn path=/trunk/mcs/; revision=24248
2004-03-17 20:20:51 +00:00
Martin Baulig 3bff06c192 2004-03-17 Martin Baulig <[email protected]>
* class.c (dup_type): Added `const MonoType *original' argument;
	copy the attrs from the original type.

svn path=/trunk/mono/; revision=24247
2004-03-17 20:14:52 +00:00
Martin Baulig 39eacda765 2004-03-17 Martin Baulig <[email protected]>
* gen-43.cs: New generics test for static fields.

svn path=/trunk/mcs/; revision=24246
2004-03-17 19:51:12 +00:00
Martin Baulig 77bc0e4440 2004-03-17 Martin Baulig <[email protected]>
* mini.c (get_generic_field_inst): Removed, this'll never happen.
	(inflate_generic_field): Take the `MonoMethod *' instead of the
	`MonoClass *' and added support for generic method.
	(mono_method_to_ir): In CEE_LDSFLD and CEE_STSFLD, assert we never
	have a `field->parent->gen_params', only inflate the field if it's
	an open constructed type.

svn path=/trunk/mono/; revision=24245
2004-03-17 19:50:22 +00:00
Martin Baulig 5a192df8a5 2004-03-17 Martin Baulig <[email protected]>
* metadata.c (do_mono_metadata_parse_generic_inst): Use the
	`m->generic_inst_cache' here.

svn path=/trunk/mono/; revision=24244
2004-03-17 19:48:15 +00:00
Atsushi Eno 99ed01621f 2004-03-17 Atsushi Enomoto <[email protected]>
* Commons.Xml.Relaxng.dll.sources : Added RncParser.cs and RncTokenizer.cs.
	* Commons.Xml.Relaxng_test.dll.sources : Added RncTests.cs.
	* Makefile : Added RncParser.jay build support.
	* README : updated.

svn path=/trunk/mcs/; revision=24243
2004-03-17 19:30:10 +00:00
Atsushi Eno 5670065703 2004-03-17 Atsushi Enomoto <[email protected]>
* Added RncTests.cs (compact syntax test).
	* RelaxngReaderTests.cs : modified and fixed relaxng.rng reading test.
	* RelaxngValidatingReaderTests.cs : Added relaxng.rng validation test.

svn path=/trunk/mcs/; revision=24242
2004-03-17 19:29:18 +00:00
Atsushi Eno 859cc77223 2004-03-17 Atsushi Enomoto <[email protected]>
* Added relaxng.rng and relaxng.rnc.

svn path=/trunk/mcs/; revision=24241
2004-03-17 19:27:34 +00:00
Atsushi Eno 854b85c904 2004-03-17 Atsushi Enomoto <[email protected]>
* RelaxngNameClass.cs : Introduced RelaxngNameClassList class.

svn path=/trunk/mcs/; revision=24240
2004-03-17 19:26:34 +00:00
Atsushi Eno cf42348030 2004-03-17 Atsushi Enomoto <[email protected]>
* Initial checkin; added RncParser.jay, RncTokenizer.cs and ChangeLog.

svn path=/trunk/mcs/; revision=24239
2004-03-17 19:26:08 +00:00
Jackson Harper 8c7b8c425a * Win32RegistryApi.cs: Fix typo. Patch by Gert
Driesen.

svn path=/trunk/mcs/; revision=24236
2004-03-17 18:19:29 +00:00
Carlos Guzmán Álvarez cb4e291574 2004-03-17 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerKeyExchange.cs:

		- Initial implementation.


2004-03-16 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/SslCipherSuite.cs:

		- Added changes for allow it to work as server or client.


2004-03-15 Carlos Guzman Alvarez  <[email protected]>

	* Mono.Security.Protocol.Tls/TlsStream.cs:
	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Cryptography/MD5SHA1.cs:

		- Use Buffer.BlockCopy instead of System.Array.Copy

svn path=/trunk/mcs/; revision=24233
2004-03-17 16:54:32 +00:00
Bernie Solomon 3385eb7863 2004-03-17 Bernie Solomon <[email protected]>
* io.c (async_notifier): use "union sigval" rather
	than sigval_t as Solaris doesn't have sigval_t
	(which isn't in IEEE 1003.1 either).

svn path=/trunk/mono/; revision=24231
2004-03-17 15:49:37 +00:00
Sebastien Pouliot 97b4f60edb 2004-03-17 Sebastien Pouliot <[email protected]>
* SignedXml.cs: The old method was working for creating signature -
	so it was reintroduced for (only) this case.

svn path=/trunk/mcs/; revision=24230
2004-03-17 15:19:15 +00:00
Ravindra 5a13b2416b Added changelog.
svn path=/trunk/mcs/; revision=24229
2004-03-17 15:04:33 +00:00
Ravindra 65ddc670b7 Created README for directory structure of Tests and Samples for System.Drawing.
svn path=/trunk/mcs/; revision=24228
2004-03-17 15:01:06 +00:00
Ravindra d6204022e7 Added tests for Blend.cs and ColorBlend.cs.
svn path=/trunk/mcs/; revision=24227
2004-03-17 14:57:46 +00:00
Ravindra 652a8a575b Added changelog.
svn path=/trunk/mcs/; revision=24226
2004-03-17 14:55:37 +00:00
Sebastien Pouliot d5f1d0971b 2004-03-17 Sebastien Pouliot <[email protected]>
* ASN1.cs: Class synched with Mono.Security.
	* ASN1Convert.cs: Class synched with Mono.Security.

svn path=/trunk/mcs/; revision=24225
2004-03-17 14:01:12 +00:00
Sebastien Pouliot aa2dfdb16c 2004-03-17 Jesper Pedersen <[email protected]>
* PKCS12.cs: Fixed sequence problem in Pkcs8ShroudedKeyBag. Fixed key
	bag implementation in GetBytes. Moved key bag implementation in
	GetBytes to fit OpenSSL. Added NULL digest in MAC (GetBytes) to fit
	OpenSSL. Added SaveToFile method.

svn path=/trunk/mcs/; revision=24224
2004-03-17 13:58:06 +00:00
Sebastien Pouliot 786a942e00 2004-03-17 Jesper Pedersen <[email protected]>
* ASN1.cs: Implemented ASN1::ToString (byte dump)
	* ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32

svn path=/trunk/mcs/; revision=24223
2004-03-17 13:56:52 +00:00
Ravindra 75f4530b6f Fixed Blend.cs and ColorBlend.cs.
svn path=/trunk/mcs/; revision=24222
2004-03-17 13:55:59 +00:00
Zoltan Varga 199c9bbc69 2004-03-17 Zoltan Varga <[email protected]>
* exceptions-x86.c (mono_arch_handle_exception): Allocate a new
	exception object instead of the preconstructed ones.

svn path=/trunk/mono/; revision=24221
2004-03-17 13:35:33 +00:00
Zoltan Varga fd0adbded7 2004-03-17 Zoltan Varga <[email protected]>
* exception.h exception.c: Add stack_overflow_exception.

svn path=/trunk/mono/; revision=24220
2004-03-17 13:29:40 +00:00
Sebastien Pouliot c2cb61e32c 2004-03-17 Ivan Hamilton <[email protected]>
* System.dll.sources: Added System/System.ComponentModel.Design
	/RuntimeLicenseContext.cs
	* System_test.dll.sources : Added System.ComponentModel
	/LicenseManagerTests.cs

svn path=/trunk/mcs/; revision=24219
2004-03-17 12:38:48 +00:00
Sebastien Pouliot efb6ae735b 2004-03-17 Ivan Hamilton <[email protected]>
* LicenseManagerTests.cs: New. Unit tests.

svn path=/trunk/mcs/; revision=24218
2004-03-17 12:35:53 +00:00
Sebastien Pouliot 015f24a450 2004-03-17 Ivan Hamilton <[email protected]>
* RuntimeLicenseContext.cs: Implemented.

svn path=/trunk/mcs/; revision=24217
2004-03-17 12:34:16 +00:00
Sebastien Pouliot de78083fb4 2004-03-17 Ivan Hamilton <[email protected]>
* LicenseManager.cs: Completed TODO.

svn path=/trunk/mcs/; revision=24216
2004-03-17 12:32:49 +00:00
Marek Safar 076e62cea2 *** empty log message ***
svn path=/trunk/mcs/; revision=24215
2004-03-17 07:54:04 +00:00
Marek Safar 6ec625f888 2004-03-17 Marek Safar <[email protected]>
* interface.cs: In all interface classes removed redundant
	member initialization.

svn path=/trunk/mcs/; revision=24214
2004-03-17 07:52:25 +00:00
Gonzalo Paniagua Javier fc9dd64518 2004-03-17 Gonzalo Paniagua Javier <[email protected]>
* mini.c: reverted changed to sigsegv_signal_handler commited
	accidentally in the previous patch.

svn path=/trunk/mono/; revision=24213
2004-03-17 07:45:16 +00:00
Gonzalo Paniagua Javier d901724f6b 2004-03-17 Gonzalo Paniagua Javier <[email protected]>
* mini.c:
	(mono_method_to_ir): CEE_CALLVIRT, abort if no method. It hanged when
	running --aot with an old assembly.

svn path=/trunk/mono/; revision=24212
2004-03-17 07:38:58 +00:00
Gonzalo Paniagua Javier 0a80ebd3c7 Typos
svn path=/trunk/mcs/; revision=24211
2004-03-17 07:19:03 +00:00
Umadevi S 9971078d9d 2004-03-17 Umadevi S ([email protected])
* OdbcError.cs - implemented ToString

svn path=/trunk/mcs/; revision=24209
2004-03-17 05:02:06 +00:00
Ravindra 4ef1532747 Added a test for HatchBrush.
svn path=/trunk/mcs/; revision=24208
2004-03-17 03:23:09 +00:00
Gonzalo Paniagua Javier 20b3aa27c8 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* io.c: added debug stuff and removed a few redundant lines in
	file_write.

svn path=/trunk/mono/; revision=24207
2004-03-17 03:13:46 +00:00
Gonzalo Paniagua Javier dabbb9e683 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c:
	(overlapped_callback): call SetEvent *after* invoking the callback.
	No need to call CloseHandle.

svn path=/trunk/mono/; revision=24206
2004-03-17 03:12:44 +00:00
Miguel de Icaza a3b0eee24d Add
svn path=/trunk/mono/; revision=24202
2004-03-17 01:41:41 +00:00
Martin Baulig 94a43a4b08 2004-03-16 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_fieldref_token): Take a
	`MonoReflectionField *' instead of a `MonoClassField *' and a
	`MonoClass *'; store the `MonoReflectionField *' in the hash.

svn path=/trunk/mono/; revision=24201
2004-03-17 00:57:51 +00:00
Martin Baulig ffebc63f5c 2004-03-16 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.DoResolve): If `expr' resolved to a
	ConstructedType, call ResolveType() on it to get the type rather
	than just using `expr.Type'.

svn path=/trunk/mcs/; revision=24200
2004-03-17 00:54:36 +00:00
Duncan Mak ea86af3161 (setreg.exe): Remember to install them to mono/runtime.
svn path=/trunk/mono/; revision=24198
2004-03-17 00:47:03 +00:00
Atsushi Eno 26abb1d17e 2004-03-17 Atsushi Enomoto <[email protected]>
* SignedXml.cs : the result from enveloped signature transform should
	  be canonicalized before getting its hash.
	* XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
	  if the node is Signature itself it is not allowed.
	  PreserveWhitespace is required.

svn path=/trunk/mcs/; revision=24197
2004-03-17 00:33:57 +00:00
Miguel de Icaza 4ddb57b8eb up
svn path=/trunk/mono/; revision=24195
2004-03-17 00:20:02 +00:00
César Natarén d4ed26a52f updates from grammar changes
svn path=/trunk/mcs/; revision=24194
2004-03-17 00:08:17 +00:00
César Natarén 734ad9de7e changelog entries
svn path=/trunk/mcs/; revision=24193
2004-03-16 23:59:49 +00:00
Duncan Mak 5373319688 It's MakeCert!
svn path=/trunk/mono/; revision=24192
2004-03-16 23:55:03 +00:00
César Natarén d53f871389 * FormalParameterList.cs: added get_element, retrieves nth element.
svn path=/trunk/mcs/; revision=24191
2004-03-16 23:54:58 +00:00
César Natarén a060fc8720 * jscript-lexer-parser.g: postfix_expr rule now returns a simple
AST, this handles the case where no postOrPrefixOp present; Unary
        returns an AST too.

svn path=/trunk/mcs/; revision=24190
2004-03-16 23:54:38 +00:00
César Natarén e2b51da219 * expression.cs: added IL generation code for print func call.
Args class added get_element, Size and made Resolve behave as the
others (collect the differents Resolve's return values from each
of the arguments). Expression class, added default Resolve call
for non-Exp implementers.

svn path=/trunk/mcs/; revision=24189
2004-03-16 23:54:12 +00:00
César Natarén 0c24c27007 StringLiteral.cs: now implements Exp as can appear as a simple exp in global code. Added check for Pop generation.
svn path=/trunk/mcs/; revision=24188
2004-03-16 23:53:38 +00:00
César Natarén bed407ca72 * PostOrPrefixOperator.cs: added constructor, returned to Microsoft.JScript ns, initial Resolve and Emit (cases where there's no real operator).
svn path=/trunk/mcs/; revision=24187
2004-03-16 23:53:05 +00:00
César Natarén ad9727b88a Plus.cs: added rule for string addition.
svn path=/trunk/mcs/; revision=24186
2004-03-16 23:52:33 +00:00
César Natarén c827a008ef Convert.cs: added rule for string conversion.
svn path=/trunk/mcs/; revision=24185
2004-03-16 23:52:05 +00:00
Duncan Mak a27149cfdf (MakeCert.exe, cert2spc.exe, certmgr.exe):
Remember to install them to mono/runtime.

svn path=/trunk/mono/; revision=24183
2004-03-16 23:19:36 +00:00
Gonzalo Paniagua Javier 206db19797 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* parser.cs: allow a @"\0" escape sequence. Fixes bug #54797.

svn path=/trunk/mcs/; revision=24181
2004-03-16 23:04:13 +00:00
Martin Baulig a7bb0f31e7 2004-03-16 Martin Baulig <[email protected]>
* generics.cs (ConstructedType.GetMemberAccess): Take the
	EmitContext instead on the TypeExpr and use
	ec.TypeContainer.CurrentType/ec.ContainerType.

svn path=/trunk/mcs/; revision=24180
2004-03-16 23:04:12 +00:00
Gonzalo Paniagua Javier 4814395ab0 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* RegexBugs.cs: added test case for bug 54797.

svn path=/trunk/mcs/; revision=24179
2004-03-16 23:03:05 +00:00
Atsushi Eno e681d0520d 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be
	  written regardless of document's PreserveWhitespace.

svn path=/trunk/mcs/; revision=24178
2004-03-16 22:27:08 +00:00
Atsushi Eno 204001070a 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Added PreserveWhitespace2() (whitespace nodes
	  should be written regardless of document.PreserveWhitespace.)

svn path=/trunk/mcs/; revision=24177
2004-03-16 22:26:48 +00:00
Martin Baulig 601b8f2816 Added comment.
svn path=/trunk/mcs/; revision=24176
2004-03-16 21:46:15 +00:00
Martin Baulig 1b4e74ea5f New generics test.
svn path=/trunk/mcs/; revision=24175
2004-03-16 21:45:25 +00:00
Martin Baulig 47a64096c9 2004-03-16 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.DoResolveAsTypeStep): Lookup type
	parameters before aliases.

svn path=/trunk/mcs/; revision=24174
2004-03-16 21:44:14 +00:00
Martin Baulig 9798c77248 Reverted my last commit; it was wrong.
svn path=/trunk/mcs/; revision=24173
2004-03-16 21:40:30 +00:00
Martin Baulig 4fecd0a3b8 2004-03-16 Martin Baulig <[email protected]>
* interface.cs (Interface.DefineType): Call
	TypeManager.AddUserInterface() before resolving the interface
	types; fixes gen-43.cs.

svn path=/trunk/mcs/; revision=24171
2004-03-16 21:28:13 +00:00
Martin Baulig 7fde37f5ea Ooops, ignore duplicate interfaces.
svn path=/trunk/mcs/; revision=24169
2004-03-16 21:19:33 +00:00
Martin Baulig 2e83bcaa0f New generics test.
svn path=/trunk/mcs/; revision=24168
2004-03-16 21:10:12 +00:00
Martin Baulig 4b5442cbd9 New generics tests.
svn path=/trunk/mcs/; revision=24167
2004-03-16 21:09:42 +00:00
Martin Baulig de0dcca33b 2004-03-16 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.MayBecomeEqualGenericInstances):
	New oublic function; checks whether two generic instances may become
	equal under some instantiations (26.3.1).

	* class.cs (TypeContainer.Define): Call
	TypeManager.MayBecomeEqualGenericInstances() and report CS0695 on
	error.

svn path=/trunk/mcs/; revision=24166
2004-03-16 21:05:48 +00:00
Gonzalo Paniagua Javier 7336536b95 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: fixed comment.
	* browscap.ini.gz: updated to current version.

svn path=/trunk/mono/; revision=24165
2004-03-16 20:44:45 +00:00
Sebastien Pouliot d132b070e9 2004-03-16 Sebastien Pouliot <[email protected]>
* xmldsig.cs: New. Test program for Merlin's xmldsig test suite.

svn path=/trunk/mcs/; revision=24163
2004-03-16 20:32:15 +00:00
Andreas N 8b21dd7f9d 2004-03-16 Andreas Nahr <[email protected]>
* EntryPointNotFoundException.cs
	* DuplicateWaitObjectException.cs
	* DllNotFoundException.cs
	* DivideByZeroException.cs
	* ContextMarshalException.cs
	* CannotUnloadAppDomainException.cs
	* BadImageFormatException.cs
	* ArrayTypeMismatchException.cs
	* ArithmeticException.cs
	* ArgumentOutOfRangeException.cs
	* ArgumentNullException.cs
	* ArgumentException.cs
	* ApplicationException.cs
	* AppDomainUnloadedException.cs: Added missing HResult overrides

	* BadImageFormatException.cs: Improved/ Fixed implementation

svn path=/trunk/mcs/; revision=24162
2004-03-16 20:27:25 +00:00
Sebastien Pouliot cc196f4469 2004-03-16 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore temporary files.
	* c14n.cs: Canonalization tool. Take any XML document (or part of it)
	and output it's C14N form (C14N transformation is user selectable).
	* ChangeLog: New.
	* Makefile: New. Makefile to download, build and run xmldsig tests
	(copied from Atsushi - actually this whoile directory is his idea).

svn path=/trunk/mcs/; revision=24160
2004-03-16 20:04:42 +00:00
Gonzalo Paniagua Javier b564fe9daa 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: don't add the culture to the filename we're looking for
	if it's neutral or NULL. Fixes bug #53788. Removed redundant memset.

svn path=/trunk/mono/; revision=24159
2004-03-16 19:59:42 +00:00
Sebastien Pouliot 0770526333 2004-03-16 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Changed (again). This time we use the Stream when
	loading the document. We now pass 14 out of 15 of the Merlin's
	tests (including one that MS fails). The only failing test is the
	one that use the EnvelopedTransform (unfinished).

svn path=/trunk/mcs/; revision=24158
2004-03-16 19:56:56 +00:00
Zoltan Varga 3e530ba73e 2004-03-16 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_instrument_epilog): Fix handling of floating
	point values.

	* mini-sparc.c: Add support for v9 branches with prediction.

svn path=/trunk/mono/; revision=24154
2004-03-16 19:23:40 +00:00
Zoltan Varga cb26a438f9 2004-03-16 Zoltan Varga <[email protected]>
* sparc/sparc-codegen.h: Add v9 branches with prediction.

svn path=/trunk/mono/; revision=24153
2004-03-16 19:22:52 +00:00
Martin Baulig 81b2ceb9af 2004-03-16 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Moved
	Error_TypeParameterAsBase() here and also check whether the base
	class is not an attribute.

svn path=/trunk/mcs/; revision=24152
2004-03-16 19:19:51 +00:00
Martin Baulig 907b2f3913 **** Merged from MCS ****
2004-03-16  Martin Baulig  <[email protected]>

	* class.cs (Error_TypeParameterAsBase): Use correct error number
	here (CS0689).

svn path=/trunk/mcs/; revision=24151
2004-03-16 19:17:45 +00:00
Martin Baulig f5fa51e187 2004-03-16 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Fix the CS0528 check.

svn path=/trunk/mcs/; revision=24150
2004-03-16 19:16:11 +00:00
Gonzalo Paniagua Javier 7575c60361 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* locales.c: don't ignore symbols when doing case insensitive compares.
	Thanks Dick! Fixes bug #54046.

	* threads.c: surround 'threads' usage with enter/leave in
	mono_thread_manage.

svn path=/trunk/mono/; revision=24149
2004-03-16 19:10:43 +00:00
Zoltan Varga c4c9a83efa 2004-03-16 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add new test for implicit [Out] marshalling
	of char[].

svn path=/trunk/mono/; revision=24148
2004-03-16 18:35:04 +00:00
Martin Baulig 58b44c129a 2004-03-16 Martin Baulig <[email protected]>
* class.cs (Error_TypeParameterAsBase): Use correct error number
	here (CS0689).

svn path=/trunk/mcs/; revision=24147
2004-03-16 18:34:38 +00:00
Zoltan Varga 64fd468bec 2004-03-16 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Char arrays are
	implicitly marshalled as [Out]. Fixes #55450.

	(mono_marshal_get_runtime_invoke): Zero out the result if there is
	an exception.

svn path=/trunk/mono/; revision=24146
2004-03-16 18:27:05 +00:00
Martin Baulig 7f8fc7673b 2004-03-16 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.ResolveTypeExpr): Added more error checking
	for generics.

	* generics.cs (ConstructedType.DoResolveAsTypeStep): Added better
	error reporting.

svn path=/trunk/mcs/; revision=24144
2004-03-16 18:11:14 +00:00
Martin Baulig fc72a9c570 2004-03-16 Martin Baulig <[email protected]>
* Makefile (run-generics-local): New target to run the generics
	tests.

	* gmcs0246.cs, gmcs0305.cs, gmcs0305-2.cs, gmcs0308.cs,
	gmcs0308-2.cs: New tests.

svn path=/trunk/mcs/; revision=24143
2004-03-16 18:08:48 +00:00
Martin Baulig 6d188d9374 2004-03-16 Martin Baulig <[email protected]>
* class.c (mono_class_from_generic_parameter): Use the actual
	parameter name.

svn path=/trunk/mono/; revision=24142
2004-03-16 17:44:53 +00:00
Miguel de Icaza 8c9185b6dd update
svn path=/trunk/mono/; revision=24141
2004-03-16 17:43:05 +00:00
Martin Baulig de906b21b1 2004-03-16 Martin Baulig <[email protected]>
* reflection.c (type_get_signature_size): New static function.
	Compues the size of the type in a method signature.
	(method_get_signature_size): New static function; calls
	type_get_signature_size() to compute the actual size of the
	method's signature.
	(method_encode_signature): Use method_get_signature_size() to get
	the signature's size rather than using `nparams * 10'.

svn path=/trunk/mono/; revision=24140
2004-03-16 17:26:34 +00:00
Miguel de Icaza f58edb5ecf Remove shared library building from here
svn path=/trunk/mcs/; revision=24139
2004-03-16 16:58:23 +00:00
Miguel de Icaza 66a87fc4bf Add refresh target
svn path=/trunk/mono/; revision=24138
2004-03-16 16:57:25 +00:00
Miguel de Icaza 4d27ce6822 Move the platform dependent code here; Temporary solution until I get time to redo it like Paolo suggested
svn path=/trunk/mono/; revision=24137
2004-03-16 16:54:13 +00:00
Miguel de Icaza 0cbd91bc97 Add
svn path=/trunk/mono/; revision=24136
2004-03-16 16:20:03 +00:00
Miguel de Icaza 79b5dc9d2d renamed again
svn path=/trunk/mono/; revision=24135
2004-03-16 16:16:57 +00:00
Miguel de Icaza 761077ffc8 Rename, since stupid cvs gets confused with the dash in x86-64
svn path=/trunk/mono/; revision=24134
2004-03-16 16:16:35 +00:00
Miguel de Icaza 94ea95d699 Added back
svn path=/trunk/mono/; revision=24133
2004-03-16 16:16:07 +00:00
Miguel de Icaza ebe1e90784 Flush
svn path=/trunk/mono/; revision=24132
2004-03-16 16:04:52 +00:00
Miguel de Icaza b8b352ef2b Add x86-64
svn path=/trunk/mono/; revision=24131
2004-03-16 16:03:49 +00:00
Gonzalo Paniagua Javier be0bd48672 more build fixing
svn path=/trunk/mono/; revision=24130
2004-03-16 15:56:35 +00:00
Rafael Teixeira 2bf2d85c5f 2004/03/02 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives

svn path=/trunk/mcs/; revision=24129
2004-03-16 15:55:55 +00:00
Rafael Teixeira f4a912e759 2004-03-16 Rafael Teixeira ([email protected])
* Test1.vb: corrected mispelling in keyword
	* Test.Sources: no misc1.vb or CharacterLiteralsA.vb sources
	* ConditionalCompilationC.vb: added some tests with #Const

svn path=/trunk/mcs/; revision=24128
2004-03-16 15:54:41 +00:00
Gonzalo Paniagua Javier 42fd694c5f 2004-03-16 Gonzalo Paniagua Javier <[email protected]>
* file-io.h: define here WapiOverlapped on windows. I don't want the
	regular OVERLAPPED one.

svn path=/trunk/mono/; revision=24127
2004-03-16 15:41:20 +00:00
Sebastien Pouliot 0db94b32a3 2004-03-16 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Commented my last changes to SignedXml as it made other
	unis tests fail (in the c14n-izer).

svn path=/trunk/mcs/; revision=24125
2004-03-16 13:28:17 +00:00
Atsushi Eno c7f2e80b27 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlDsigNodeList.cs : removed BOM from code file.

svn path=/trunk/mcs/; revision=24124
2004-03-16 12:56:18 +00:00
Umadevi S 3d729649f6 2004-03-16 Umadevi S ([email protected])
* SqlNullValueException.cs & SqlTruncateException.cs - Added "sealed" to the class
			definition

svn path=/trunk/mcs/; revision=24123
2004-03-16 12:51:11 +00:00
Umadevi S f076ba60ab 2004-03-16 Umadevi S ([email protected])
* Contribution from Roopa Wilson - Testcases for AddRange (), CanRemove (), RemoveAt (), Remove (), Exceptions of  Remove(), and Clear ()

svn path=/trunk/mcs/; revision=24122
2004-03-16 11:55:11 +00:00
Atsushi Eno 834ae735cf 2004-03-16 Atsushi Enomoto <[email protected]>
* System.Security.dll.sources: added XmlDsigNodeList.cs

svn path=/trunk/mcs/; revision=24121
2004-03-16 11:44:00 +00:00
Atsushi Eno 169eba649f 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlDsigNodeList.cs : added.
	* XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
	* XmlDsigEnvelopedSignatureTransform.cs :
	  Implemented GetOutput(). However, it is totally MS behavior
	  dependent and not based on the spec (we can reimplement it based on
	  improved XmlDsigXPathTransform).
	* SignedXml.cs : in GetOutput(), accept XmlNodeList input too.

svn path=/trunk/mcs/; revision=24120
2004-03-16 11:43:33 +00:00
Umadevi S ebe6deafc7 2004-03-16 Umadevi S ([email protected])
* Contributed by Roopa Wilson: Testcases for ColumnErrors,RowEdit,DeleteRow,EditMode,ParentRow.

svn path=/trunk/mcs/; revision=24119
2004-03-16 11:19:14 +00:00
Anirban Bhattacharjee d67925b328 Test cases for testing behaviour of variables
svn path=/trunk/mcs/; revision=24118
2004-03-16 10:35:32 +00:00
Anirban Bhattacharjee 3ead73219d - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
- added few exception checks in variables
 - added one exception check in property

svn path=/trunk/mcs/; revision=24117
2004-03-16 10:21:15 +00:00
Umadevi S b75ceea2f2 2004-03-16 Umadevi S ([email protected])
* OdbcParameterCollection.cs - Implemented all the remaining methods & attributes
		* OdbcParameter.cs - Included a Container property to keep track of the Collection
			that it is attached

svn path=/trunk/mcs/; revision=24116
2004-03-16 09:13:00 +00:00
Jordi Mas i Hernandez 2aa3271899 run test info update
svn path=/trunk/mcs/; revision=24115
2004-03-16 08:37:35 +00:00
Umadevi S 56f7fae27d 2004-03-16 Umadevi S ([email protected])
* SqlParameterCollection.cs
			Corrected IndexOf method to return -1 if the parametername is not
			found in the collection

svn path=/trunk/mcs/; revision=24111
2004-03-16 06:22:26 +00:00
Gonzalo Paniagua Javier f26790adec forgot these
svn path=/trunk/mono/; revision=24110
2004-03-16 05:28:14 +00:00
Miguel de Icaza bbcc7bd394 Update
svn path=/trunk/mcs/; revision=24109
2004-03-16 05:24:19 +00:00
Miguel de Icaza dd1788c475 dos2unix
svn path=/trunk/mcs/; revision=24108
2004-03-16 05:11:33 +00:00
Atsushi Eno 3df559acfa 2004-03-16 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Value should return concatenated string for
	  sequential text nodes. Considered detached nodes, the result of
	  MoveToParent() should be checked.

svn path=/trunk/mcs/; revision=24107
2004-03-16 04:32:32 +00:00
Atsushi Eno 1fdaec5cc7 2004-03-16 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs, Iterator.cs : Considered detached nodes, the
	  result of MoveToParent() should be checked.

svn path=/trunk/mcs/; revision=24106
2004-03-16 04:32:06 +00:00
Atsushi Eno 3056702709 2004-03-16 Atsushi Enomoto <[email protected]>
* XPathNavigatorCommonTests.cs : Added test for splitted text.

svn path=/trunk/mcs/; revision=24105
2004-03-16 04:31:20 +00:00
Gonzalo Paniagua Javier 3e48b49a24 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: patch by Gert Driesen that fixes WaitForExit when the
	timeout is int.MaxValue.

svn path=/trunk/mcs/; revision=24104
2004-03-16 04:21:35 +00:00
Gonzalo Paniagua Javier d88af790aa Typo
svn path=/trunk/mono/; revision=24103
2004-03-16 03:45:17 +00:00
Miguel de Icaza d4b879dd6f Indent, indent
svn path=/trunk/mcs/; revision=24102
2004-03-16 03:41:00 +00:00
Miguel de Icaza f3baedaa0f 2004-03-15 Miguel de Icaza <[email protected]>
* decl.cs (DefineTypeAndParents): New helper method to define a
	type's containers before the type itself is defined;  This is a
	bug exposed by the recent changes to Windows.Forms when an
	implemented interface was defined inside a class that had not been
	built yet.

svn path=/trunk/mcs/; revision=24101
2004-03-16 03:39:09 +00:00
Miguel de Icaza c49048c186 Revert my revert, the compiler has raised to the occasion
svn path=/trunk/mcs/; revision=24100
2004-03-16 03:37:49 +00:00
Miguel de Icaza c408c90d3f This change breaks the build: MCS is not ready for it
svn path=/trunk/mcs/; revision=24099
2004-03-16 02:55:41 +00:00
Miguel de Icaza 9567cf300a Flush
svn path=/trunk/mono/; revision=24098
2004-03-16 02:43:42 +00:00
Sebastien Pouliot 5f52ab1308 2004-03-15 Sebastien Pouliot <[email protected]>
* Random.cs: Corrected random value when Next is called with a
	negative value. Testing indictae that our results aren't exactly the
	same as MS, we have a +/- 1 (probably rounding errors due to
	different implementation).

svn path=/trunk/mcs/; revision=24097
2004-03-16 02:35:46 +00:00
Miguel de Icaza b881699198 Flush
svn path=/trunk/mono/; revision=24096
2004-03-16 02:18:35 +00:00
Gonzalo Paniagua Javier 0f5090ea5e 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.

svn path=/trunk/mcs/; revision=24095
2004-03-16 02:17:47 +00:00
Gonzalo Paniagua Javier f7f1396a5b 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/GlobalAsaxCompiler.cs: removed Imports and
	Assemblies properties.

	* System.Web.UI/TemplateParser.cs: don't add import statement or
	assemblies from global.asax to every file. Fixes bug #55496.

svn path=/trunk/mcs/; revision=24094
2004-03-16 01:45:14 +00:00
Gonzalo Paniagua Javier acaa438feb 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* marshal.c: Marshal.SizeOf throws an exception for AutoLayout. Fixes
	bug #55385.

svn path=/trunk/mono/; revision=24093
2004-03-16 01:39:04 +00:00
Gonzalo Paniagua Javier 0fb351e726 added new test
svn path=/trunk/mcs/; revision=24092
2004-03-16 01:37:14 +00:00
Gonzalo Paniagua Javier a29897a262 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* MarshalTest.cs: added a few tests for Marshal.SizeOf.

svn path=/trunk/mcs/; revision=24091
2004-03-16 01:36:55 +00:00
Gonzalo Paniagua Javier 67a8cd82f8 oop
svn path=/trunk/mcs/; revision=24090
2004-03-16 01:35:58 +00:00
Gonzalo Paniagua Javier c34d21e07a oops
svn path=/trunk/mcs/; revision=24089
2004-03-16 01:35:22 +00:00
Bernie Solomon 8873be05ac 2004-03-15 Bernie Solomon <[email protected]>
* mini-sparc.h: implement __builtin_frame_address
	and __builtin_return_address for Sun C compiler

svn path=/trunk/mono/; revision=24088
2004-03-16 00:31:20 +00:00
Gonzalo Paniagua Javier 487b70e498 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
	CodeMethodReturnStatement(). Closes bug #54934.

svn path=/trunk/mcs/; revision=24087
2004-03-16 00:18:22 +00:00
Bernie Solomon d23faefb41 2004-03-15 Bernie Solomon <[email protected]>
* mini.c (mini_init): #warning is GNUC only

svn path=/trunk/mono/; revision=24086
2004-03-16 00:07:28 +00:00
Gonzalo Paniagua Javier d6286fa40e 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* sn.cs: fixed crash in -T and -Tp.

svn path=/trunk/mcs/; revision=24085
2004-03-16 00:07:25 +00:00
Bernie Solomon 7e470c7fcd 2004-03-15 Bernie Solomon <[email protected]>
* sparc/sparc-codegen.h: tweak sparc_mov_reg_reg
	so Sun's dis command recognizes it.

svn path=/trunk/mono/; revision=24084
2004-03-16 00:02:55 +00:00
Martin Baulig 18ccf4d880 2004-03-15 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetFullName): New public method.
	(TypeManager.MemberLookup): Added `int_num_type_arguments'
	argument; only return members with the correct number of type
	arguments.
	(TypeManager.CheckGeneric): Allow -1 to bypass the check.
	(TypeManager.FilterWithClosure): Call CheckGeneric() to check
	whether the number of type arguments matches.

	* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Allow `expr'
	not being a ConstructedType; we can now do "typeof (Foo.Bar<U>)".

	* expression.cs (MemberAccess): Added public `NumTypeArguments'
	field; it's set by the protected .ctor when we're actually a
	GenericMemberAccess.
	(MemberAccess.ResolveAsTypeStep): Compute the total number of type
	arguments and pass it to MemberLookupFinal ().

	* ecore.cs (Expression.MemberLookup): Added `int
	num_type_arguments' argument; only return members with the correct
	number of type arguments.
	(Expression.MemberLookupFailed): Check whether the MemberLookup
	failed because we did not have the correct number of type
	arguments; report CS0305 in this case.

	* decl.cs (DeclSpace.ResolveTypeExpr): Don't report an error if
	`e.ResolveAsTypeTerminal()' already did so.

svn path=/trunk/mcs/; revision=24083
2004-03-15 23:49:53 +00:00
Ben Maurer 7bf748684e buffer
svn path=/trunk/mcs/; revision=24082
2004-03-15 23:14:26 +00:00
Ben Maurer dfaf015156 support for events
svn path=/trunk/mcs/; revision=24081
2004-03-15 23:11:02 +00:00
Atsushi Eno a97fb3b779 2004-03-15 Atsushi Enomoto <[email protected]>
* reverted the latest XmlSchemaUnique.cs change (MS.NET looks fine to
	  reject incorrect schemas ;-)

svn path=/trunk/mcs/; revision=24080
2004-03-15 23:02:12 +00:00
Ben Maurer 58ff6c63db code cleanup
svn path=/trunk/mcs/; revision=24079
2004-03-15 22:53:59 +00:00
Bernie Solomon 7224e59822 2004-03-15 Bernie Solomon <[email protected]>
* libtest.c (mono_test_marshal_time_t): fix
	for current code on 64 bit machines with 64bit time

	* marshal9.cs marshal10.cs: Do arithmetic on
	pointers as 64bits.

svn path=/trunk/mono/; revision=24078
2004-03-15 22:13:55 +00:00
Miguel de Icaza 8ec52f13a0 2004-03-15 Miguel de Icaza <[email protected]>
* modifiers.cs (MethodAttr): All methods in C# are HideBySig.

svn path=/trunk/mcs/; revision=24077
2004-03-15 22:03:11 +00:00
Andreas N e64c2313da 2004-03-15 Andreas Nahr <[email protected]>
* StreamWriter.cs: Removed unneeded function

svn path=/trunk/mcs/; revision=24076
2004-03-15 21:59:16 +00:00
Martin Baulig 8a0bc64fc2 Call TypeManager.CheckGeneric() everywhere.
svn path=/trunk/mcs/; revision=24075
2004-03-15 21:58:31 +00:00
Miguel de Icaza c4f52e30ae 2004-03-15 Miguel de Icaza <[email protected]>
* modifiers.cs (Check): Loop correctly to report errors modifiers
	(UNSAFE was not in the loop, since it was the same as TOP).

	* interface.cs: Every interface member now takes a ModFlags,
	instead of a "is_new" bool, which we set on the base MemberCore.

	Every place where we called "UnsafeOk" in the interface, now we
	call the proper member (InterfaceMethod.UnsafeOK) instead to get
	the unsafe settings from the member declaration instead of the
	container interface.

	* cs-parser.jay (opt_new): Allow unsafe here per the spec.

svn path=/trunk/mcs/; revision=24074
2004-03-15 21:57:49 +00:00
Martin Baulig d432aebfa8 Don't crash here.
svn path=/trunk/mcs/; revision=24073
2004-03-15 21:41:40 +00:00
Martin Baulig 6369966bdb 2004-03-15 Martin Baulig <[email protected]>
* ecore.cs (Expression.ResolveLValue): Allow e.type being null if
	we're a ConstructedType; in this case, the caller must report an
	error (for instance CS0131).

	* generic.cs (TypeArguments): Added Location argument to the .ctor.
	(TypeArguments.Resolve): Actually report errors here.

svn path=/trunk/mcs/; revision=24072
2004-03-15 21:32:53 +00:00
Gonzalo Paniagua Javier dea2957ba7 added MONO_DISABLE_AIO
svn path=/trunk/mono/; revision=24071
2004-03-15 21:19:57 +00:00
Sebastien Pouliot 35680d9c60 2004-03-15 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Added null test for LoadXml.

svn path=/trunk/mcs/; revision=24070
2004-03-15 21:19:18 +00:00
Gonzalo Paniagua Javier 9d34f4d930 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* corlib.dll.sources: added StreamAsyncResult and FileStreamAsyncResult.

	* System/Environment.cs: updated corlib version.

	* System.IO/FileStream.cs: added support for asynchronous I/O without
	using the OS native libraries if available.

	* System.IO/FileStreamAsyncResult.cs: IAsyncResult for asynch. I/O.

	* System.IO/MonoIO.cs: added BeginRead/Write, GetSupportsAsync. Open
	has now a new parameter to tell ifthe file will be used for asynch.
	operations.

	* System.IO/Stream.cs: BeginRead/Write do not use delegates. They just
	are actually synchronous.

	* System.IO/StreamAsyncResult.cs: IAsyncResult for Stream.

	* System.Threading/NativeOverlapped.cs: added 2 new internal fields.
	* System.Threading/Overlapped.cs: implemented, but it's not used.

	* System.Threading/ThreadPool.cs: implemented BindHandle.

svn path=/trunk/mcs/; revision=24069
2004-03-15 21:19:16 +00:00
Gonzalo Paniagua Javier 429226eafa 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added ProcessStringDictionary.

	* System.Collections.Specialized/ProcessStringDictionary.cs: the same
	as StringDictionary, but doesn't turn keys into lowercase.

	* System.Diagnostics/Process.cs: added environment variables setting
	support and also send useShellExecute to the runtime.

	* System.Diagnostics/ProcessStartInfo.cs: support EnvironmentVariables.
	MS uses StringDictionary, which turns keys into lowercase. We don't
	do that.

svn path=/trunk/mcs/; revision=24068
2004-03-15 21:19:08 +00:00
Gonzalo Paniagua Javier 760a7ce27c 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io-private.h: added new fields for file structure. Declare
	_wapi_io_add_callback.

	* io-layer/io.c: added _wapi_get_win32_error, support aio_read/write
	in file_read/write. Implemented _wapi_io_add_callback, which is where
	BindHandle ends up.

	* io-layer/io.h: added new fields for WapiOverlapped and typedef for
	the callback.

	* io-layer/processes.c: fixed off-by-one bug when handling environment
	variables passed in.

	* io-layer/threads.[ch]: implemented BindIoCompletionCallback.

	* io-layer/uglify.h: added typedef for LPOVERLAPPED_COMPLETION_ROUTINE.

	* metadata/appdomain.c: upgraded corlib version.

	* metadata/file-io.c: implemented new icalls: GetSupportsAIO, BeginRead
	and BeginWrite. Allow opening files for asynchrnous operations.

	* metadata/file-io.h: new struct that maps FileStreamAsyncResult.
	* metadata/icall.c: added new icalls.
	* metadata/process.[ch]: support setting child process environment
	variables and use the SHELL or COMSPEC when UseShellExecute is true.

	* metadata/threadpool.[ch]: fixed warnings, moved ThreadPool icalls
	here.  The callback for async. IO is here and also BindHandle.

	* metadata/threads.[ch]: added mono_thread_detach and removed
	ThreadPool icalls from here.

svn path=/trunk/mono/; revision=24067
2004-03-15 21:19:02 +00:00
Sebastien Pouliot 33be26a105 2004-03-15 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Now use the original Signature element before applying
	the C14N transformation. Added a check for null in LoadXml.

svn path=/trunk/mcs/; revision=24066
2004-03-15 21:18:09 +00:00
Sebastien Pouliot b720654a22 2004-03-15 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Reduce extra/missing in corcompare.

svn path=/trunk/mcs/; revision=24065
2004-03-15 21:15:54 +00:00
Miguel de Icaza ede4e6674a 2004-03-14 Gustavo Gir�ldez <[email protected]>
* support.cs (SeekableStreamReader): Keep track of stream byte
 	positions and don't mix them with character offsets to the buffer.

	Patch from Gustavo Gir�ldez

svn path=/trunk/mcs/; revision=24063
2004-03-15 20:09:25 +00:00
Miguel de Icaza 9fc1465c52 update
svn path=/trunk/mono/; revision=24062
2004-03-15 19:38:52 +00:00
Miguel de Icaza eb6a2dc37e 2004-03-15 Miguel de Icaza <[email protected]>
* monop.cs: Add -r: command line.

svn path=/trunk/mcs/; revision=24061
2004-03-15 19:37:31 +00:00
Martin Baulig 7e99a83957 Implement IList.Insert.
svn path=/trunk/mcs/; revision=24060
2004-03-15 19:14:53 +00:00
Martin Baulig ea2a4b847b **** Merged from MCS ****
2004-03-15  Miguel de Icaza  <[email protected]>

	* pending.cs (TypeAndMethods): Add `get_indexer_name' and
	`set_indexer_name' to the pending bits (one per type).

	We fixed a bug today that was picking the wrong method to
	override, since for properties the existing InterfaceMethod code
	basically ignored the method name.  Now we make sure that the
	method name is one of the valid indexer names.

svn path=/trunk/mcs/; revision=24059
2004-03-15 19:13:44 +00:00
Martin Baulig dfa4156ab9 2004-03-15 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IndexerPropertyName): Added support
	for generic instances.

svn path=/trunk/mcs/; revision=24058
2004-03-15 19:11:44 +00:00
Lluis Sanchez e452ddb27c * XmlSchemaImporter.cs: Import IXmlSerializable types as DataSet, like in MS.NET.
This fixes bug #55547.

svn path=/trunk/mcs/; revision=24057
2004-03-15 19:10:37 +00:00
Miguel de Icaza a0a1c86ed0 2004-03-15 Miguel de Icaza <[email protected]>
* pending.cs (TypeAndMethods): Add `get_indexer_name' and
	`set_indexer_name' to the pending bits (one per type).

	We fixed a bug today that was picking the wrong method to
	override, since for properties the existing InterfaceMethod code
	basically ignored the method name.  Now we make sure that the
	method name is one of the valid indexer names.

svn path=/trunk/mcs/; revision=24056
2004-03-15 19:07:44 +00:00
Lluis Sanchez bbf2580858 * Boolean.cs, Byte.cs, Char.cs, Double.cs, Int16.cs, Int32.cs, Int64.cs,
SByte.cs, Single.cs, UInt16.cs, UInt32.cs, UInt64.cs: Renamed internal
	  field "value" to "m_value", so it is interoperable with MS.NET when
	  serializing and deserializing data. Based on the patch from Daniel Keep.

svn path=/trunk/mcs/; revision=24055
2004-03-15 19:04:33 +00:00
Zoltan Varga bea20fad39 2004-03-15 Zoltan Varga <[email protected]>
* exceptions-sparc.c (mono_arch_has_unwind_info): Add missing function.

svn path=/trunk/mono/; revision=24054
2004-03-15 18:29:46 +00:00
Andreas N eb09d330b1 2004-03-15 Andreas Nahr <[email protected]>
* System.Windows.Forms.dll.sources: Added files

svn path=/trunk/mcs/; revision=24053
2004-03-15 18:11:46 +00:00
Andreas N dda2931943 2004-03-15 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Deleted
	* Control.cs: Hopefully satisfies corecompare a little more than now
	* UnsafeNativeMethods.cs: Added for above

svn path=/trunk/mcs/; revision=24052
2004-03-15 18:11:06 +00:00
Andreas N fec7b51984 2004-03-15 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* Locale.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=24051
2004-03-15 18:09:40 +00:00
Zoltan Varga 2aab929c41 2004-03-15 Zoltan Varga <[email protected]>
* sparc/sparc-codegen.h: Add some v9 instructions.

svn path=/trunk/mono/; revision=24050
2004-03-15 17:28:56 +00:00
Miguel de Icaza 3d7013b565 Added new error
svn path=/trunk/mcs/; revision=24049
2004-03-15 17:24:40 +00:00
Nick Drochak 9c941e2bd7 ignore dll
svn path=/trunk/mcs/; revision=24047
2004-03-15 14:34:43 +00:00
Zoltan Varga 1bbe391a18 2004-03-15 Zoltan Varga <[email protected]>
* Al.cs: Avoid crash if entryPoint is not defined.

svn path=/trunk/mcs/; revision=24046
2004-03-15 14:23:26 +00:00
Nick Drochak e7e0adc68f 2004-03-15 Nick Drochak <[email protected]>
* CustomAttributeBuilderTest.cs: Force test to pass if we are running
	on version 1.1 of the CLR.  That version does not throw the exception.

svn path=/trunk/mcs/; revision=24045
2004-03-15 13:46:10 +00:00
Umadevi S f2c5aa9e2f 2004-03-15 Umadevi S ([email protected])
* DataRow.cs
			- Added code to set Default values in the constructor
			- Removed TODO tags from HasErrors, ItemArray, SetParentRow
			after adding testcases

svn path=/trunk/mcs/; revision=24044
2004-03-15 10:10:06 +00:00
Umadevi S 4b0125f2e6 2004-03-15 Umadevi S ([email protected])
* ConstraintCollection.cs
			- Implemented EditorAttribute, AddRange and
			- Removed TODO tag from Clear method after updating comments
				(thanks to Roopa ([email protected]))

svn path=/trunk/mcs/; revision=24043
2004-03-15 09:29:36 +00:00
Marek Safar 9eb83c022c 2004-03-15 Marek Safar <[email protected]>
* interface.cs (InterfaceSetGetBase): Removed double member
	initialization, base class does it as well.

svn path=/trunk/mcs/; revision=24042
2004-03-15 09:00:04 +00:00
Umadevi S d0670fa803 2004-03-15 Umadevi S ([email protected])
* DBConcurrency.cs - Implemented GetObjectData() method

svn path=/trunk/mcs/; revision=24041
2004-03-15 08:51:48 +00:00
Atsushi Eno 76928778dd 2004-03-15 Atsushi Enomoto <[email protected]>
* RelaxngGrammar.cs,
	  RelaxngNameClass.cs,
	  RelaxngPattern.cs : Added Write() support.

svn path=/trunk/mcs/; revision=24040
2004-03-15 04:49:47 +00:00
Ben Maurer 69e25c0bdd structs
svn path=/trunk/mcs/; revision=24039
2004-03-15 04:24:17 +00:00
Ben Maurer aced2980b6 add gtk#
svn path=/trunk/mcs/; revision=24038
2004-03-15 04:10:51 +00:00
Ben Maurer 39d37bd3d6 more friendlyification
svn path=/trunk/mcs/; revision=24037
2004-03-15 04:04:46 +00:00
Ben Maurer ea6865301b 2004-03-14 Ben Maurer <[email protected]>
* monop.cs: show `static' when it applies. Static members
	first. new sorting stuff.

svn path=/trunk/mcs/; revision=24036
2004-03-15 03:36:56 +00:00
Ben Maurer 5198d58e47 sort
svn path=/trunk/mcs/; revision=24035
2004-03-15 03:06:13 +00:00
Tim Coleman 9958493fcd 2004-03-14 Tim Coleman <[email protected]>
* SqlCommand.cs SqlConnection.cs:
		Changes from two patches by Andres Taylor
		<[email protected]>

svn path=/trunk/mcs/; revision=24034
2004-03-15 02:54:32 +00:00
Ben Maurer a09cf4b328 show base types
svn path=/trunk/mcs/; revision=24033
2004-03-15 02:54:30 +00:00
Atsushi Eno 587c901565 2004-03-15 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
	  the reader is on EndElement. Patch by Jean-Marc Andre.

svn path=/trunk/mcs/; revision=24032
2004-03-15 02:48:44 +00:00
Tim Coleman a67a885961 2003-04-14 Juraj Skripsky <[email protected]>
* DbDataAdapter.cs : Refactoring of Fill. New private method
	FillTable does most of the work now. Use int[] instead of
	hashtable for mapping. Move creation of tableArray[] outside
	of loop.

svn path=/trunk/mcs/; revision=24031
2004-03-15 02:48:39 +00:00
Atsushi Eno 0560f9c993 2004-03-15 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added tests for ReadInner/OuterXml() on
	  EndElement.

svn path=/trunk/mcs/; revision=24030
2004-03-15 02:48:05 +00:00
César Natarén c4dc2de3b5 2004-03-14 Cesar Lopez Nataren <[email protected]>
* ScriptStream.cs: let's print some messages.

svn path=/trunk/mcs/; revision=24029
2004-03-14 23:14:49 +00:00
César Natarén 0b2a4ce949 2004-03-14 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g (STRING_LITERAL): Do not include the ' in the text of the rule.

svn path=/trunk/mcs/; revision=24028
2004-03-14 23:10:49 +00:00
Ben Maurer 9f355c7464 make work on MS
svn path=/trunk/mcs/; revision=24027
2004-03-14 22:18:07 +00:00
Zoltan Varga 90ff471ad2 2004-03-14 Zoltan Varga <[email protected]>
* socket-wrappers.h: Remove extra semicolon.

svn path=/trunk/mono/; revision=24025
2004-03-14 20:21:08 +00:00
Atsushi Eno 81da9185c6 2004-03-14 Atsushi Enomoto <[email protected]>
* XmlDsigXPathTransform.cs : implemented GetOutput() (with some
	  internal XPath context classes).

svn path=/trunk/mcs/; revision=24024
2004-03-14 19:38:16 +00:00
Atsushi Eno 5580beaa2e 2004-03-14 Atsushi Enomoto <[email protected]>
* XmlDsigXPathTransformTest.cs : added TransformSimple() and
	  FunctionHere() [commented].

svn path=/trunk/mcs/; revision=24023
2004-03-14 19:37:41 +00:00
Atsushi Eno 1d94aed7e1 2004-03-14 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
	  to return attribute node. It affects on IHasXmlNode.GetNode() and
	  SelectNodes()/SelectSingleNode().

svn path=/trunk/mcs/; revision=24020
2004-03-14 19:24:16 +00:00
Atsushi Eno 1b4b68390c 2004-03-14 Atsushi Enomoto <[email protected]>
* XmlAttributeCollectionTests.cs : Added InsertAfterError().
	* XmlNodeTests.cs : Added SelectNodes(), SelectNodes2() [commented].

svn path=/trunk/mcs/; revision=24019
2004-03-14 19:23:43 +00:00
Zoltan Varga ff18af8520 2004-03-14 Zoltan Varga <[email protected]>
* reflection.c (create_custom_attr): Allow len == 0.

svn path=/trunk/mono/; revision=24018
2004-03-14 19:15:21 +00:00
Zoltan Varga b50086f7e8 2004-03-14 Zoltan Varga <[email protected]>
* object.c (mono_class_compute_gc_descriptor): Fix descriptor
	computation on big-endian machines.

svn path=/trunk/mono/; revision=24017
2004-03-14 18:29:40 +00:00
Zoltan Varga f1045e6a7e 2004-03-14 Zoltan Varga <[email protected]>
* basic-calls.cs: Add test for unaligned byref long argument passing.

svn path=/trunk/mono/; revision=24016
2004-03-14 18:12:07 +00:00
Zoltan Varga fb7699f886 2004-03-14 Zoltan Varga <[email protected]>
* mini-ops.h: Add sparcv9 compare and branch instructions.

	* inssel-sparc.brg mini-sparc.h mini-sparc.c cpu-sparc.md: Use some
	v9 instructions if we have a v9 cpu.

	* mini-sparc.c (mono_arch_get_global_int_regs): Use unused input
	registers for global allocation.

	* exceptions-sparc.c: Fixes.

svn path=/trunk/mono/; revision=24015
2004-03-14 18:10:21 +00:00
Zoltan Varga 6681c03a3b 2004-03-14 Zoltan Varga <[email protected]>
* configure.in: Enable JIT on sparc.

svn path=/trunk/mono/; revision=24014
2004-03-14 18:05:28 +00:00
Martin Baulig 2e1b35f76d 2004-03-13 Martin Baulig <[email protected]>
* Stack.cs, Queue.cs, List.cs: Implement the non-generic interfaces.

svn path=/trunk/mcs/; revision=24013
2004-03-14 02:13:33 +00:00
Martin Baulig 417799ee92 2004-03-13 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineType): Call
	TypeManager.AddUserType() immediately after creating the
	TypeBuilder; pass all type parameters when creating the
	CurrentType.

	* decl.cs (DeclSpace.FindNestedType): New public method.
	(DeclSpace.FindType): Added `int num_type_args' argument; only
	return types with the correct number of type parameters.
	(DeclSpace.CountTypeParams): New public property.

	* ecore.cs (SimpleName.ctor): Added overloaded version which takes
	the number of type parameters; defaults to zero.

	* generic.cs (TypeArguments.Count): New public property.
	(ConstructedType.DoResolveAsTypeStep): First call
	ds.FindNestedType() to find out whether we're nested in the
	current generic type; in this case, we inherit all type parameters
	from the current class.

	* rootcontext.cs (RootContext.NamespaceLookup): Added `int
	num_type_args' argument.
	(RootContext.LookupType): Added overloaded version which takes the
	number of type arguments; only return types with the correct
	number of type arguments.

	* typemanager.cs (TypeManager.CheckGeneric): New public function;
	checks whether `Type t' has `int num_type_args'.

svn path=/trunk/mcs/; revision=24012
2004-03-14 02:12:44 +00:00
Andreas N 41d77f7658 2004-03-14 Andreas Nahr <[email protected]>
* TypeInitializationException.cs
	* SystemException.cs
	* StackOverflowException.cs
	* RankException.cs
	* OverflowExceptionException.cs
	* OutOfMemoryException.cs
	* NullReferenceException.cs
	* NotSupportedException.cs
	* NotFiniteNumberException.cs
	* InvalidOperationException.cs
	* InvalidCastException.cs
	* IndexOutOfRangeException.cs
	* FormatException.cs
	* ExecutionEngineException.cs: improved parameter names

svn path=/trunk/mcs/; revision=24009
2004-03-14 00:19:08 +00:00
Andreas N 1f844aa2d6 2004-03-13 Andreas Nahr <[email protected]>
* Enum.cs
	* EntryPointNotFoundException.cs
	* DuplicateWaitObjectException.cs
	* DoubleFormatter.cs
	* DllNotFoundException.cs
	* DivideByZeroException.cs
	* DelegateSerializationHolder.cs
	* Delegate.cs
	* DBNull.cs
	* ContextStaticAttribute.cs
	* ContextMarshalException.cs
	* ContextBoundObject.cs
	* CLSCompliantAttribute.cs
	* CharEnumerator.cs
	* CannotUnloadAppDomainException.cs
	* BadImageFormatException.cs
	* AttributeUsageAttribute.cs
	* AttributeTargets.cs
	* AsyncCallback.cs
	* AssemblyLoadEventHandler.cs
	* AssemblyLoadEventArgs.cs
	* ArrayTypeMismatchException.cs
	* ArithmeticException.cs
	* ArgumentOutOfRangeException.cs
	* ArgumentNullException.cs
	* ArgumentException.cs
	* ArgIterator.cs
	* ApplicationException.cs
	* AppDomainUnloadedException.cs
	* AppDomain.cs: Mono styled, fixed exceptions/ locales
	  removed excess usings

svn path=/trunk/mcs/; revision=24008
2004-03-13 23:57:20 +00:00
Miguel de Icaza 624f9d1d85 2004-03-13 Miguel de Icaza <[email protected]>
* convert.cs (ExplicitConversion): We were reporting an error on
	certain conversions (object_type source to a value type, when the
	expression was `null') before we had a chance to pass it through
	the user defined conversions.

svn path=/trunk/mcs/; revision=24007
2004-03-13 23:16:26 +00:00
Miguel de Icaza b03fe516ce Improve
svn path=/trunk/mcs/; revision=24006
2004-03-13 23:10:55 +00:00
Martin Baulig e9555713a2 Updated.
svn path=/trunk/mcs/; revision=24005
2004-03-13 22:26:34 +00:00
César Natarén 8e566e84f1 ChangeLog entry and updates from grammar changes
svn path=/trunk/mcs/; revision=24004
2004-03-13 22:20:45 +00:00
Martin Baulig 7f00dcd991 2004-03-13 Martin Baulig <[email protected]>
* generic.cs (GenericMethod.DefineType): New method; calls
	DefineType() on all the type parameters.

	* class.cs (MethodData.ctor): Added `GenericMethod generic' argument.
	(MethodData.Define): If we're a generic method, call
	GenericMethod.DefineType() to define the type parameters.

svn path=/trunk/mcs/; revision=24003
2004-03-13 22:19:45 +00:00
César Natarén be32706e02 2004-03-13 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: keep track of return's parent.
	* Statement.cs: added parent parameter to constructor.

svn path=/trunk/mcs/; revision=24002
2004-03-13 22:15:28 +00:00
Martin Baulig cb10c4c612 2004-03-13 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `int count_ifaces'.

	* iclass.c (ves_icall_MonoGenericInst_GetInterfaces): Use
	`ginst->count_ifaces' instead `klass->interface_count' since we
	may get called before the vtable is created.

	* loader.c (mono_method_get_param_names): If we're a generic
	instance, return and don't initialize the class.

	* reflection.c (mono_reflection_setup_generic_class): Don't call
	ensure_runtime_vtable().
	(mono_reflection_bind_generic_parameters): Set
	`ginst->count_ifaces'.

svn path=/trunk/mono/; revision=24001
2004-03-13 22:12:36 +00:00
César Natarén 9e8c6314ce ChangeLog entry
svn path=/trunk/mcs/; revision=24000
2004-03-13 21:50:19 +00:00
César Natarén 0a5edc2a5e 2004-03-13 Cesar Lopez Nataren <[email protected]>
* func-form-params.js: exercise function's parameters.

svn path=/trunk/mcs/; revision=23999
2004-03-13 21:49:38 +00:00
César Natarén 427fdabe0a ChangeLog entries
svn path=/trunk/mcs/; revision=23998
2004-03-13 21:27:53 +00:00
César Natarén 2c7907361b * expression.cs: refactored Emit code from Identifier, now we take
care of function's paramenter references. First attack to function
        calls, check if Resolve from Call succeed.

svn path=/trunk/mcs/; revision=23997
2004-03-13 21:25:45 +00:00
César Natarén 30be731985 * VariableDeclaration.cs: Deleted Decl class, field_info and
local_builder fields were being used only by VariableDeclaration,
        I'll keep them there.

svn path=/trunk/mcs/; revision=23996
2004-03-13 21:25:07 +00:00
César Natarén 46c5b88856 *** empty log message ***
svn path=/trunk/mcs/; revision=23995
2004-03-13 21:22:25 +00:00
Miguel de Icaza bf3cf481fc 2004-03-13 Miguel de Icaza <[email protected]>
* main.c (create_file_names): Try a few temp directories, since
	Windows uses a different directory naming scheme apparently: #47696

svn path=/trunk/mcs/; revision=23994
2004-03-13 20:41:01 +00:00
Martin Baulig 812cb8846d 2004-03-13 Martin Baulig <[email protected]>
* class.cs: Reverted Miguel's latest commit; it makes mcs crash
	when compiling corlib.

svn path=/trunk/mcs/; revision=23993
2004-03-13 19:53:28 +00:00
Rafael Teixeira 18e59a8b05 MonoDeveloping mbas
svn path=/trunk/mcs/; revision=23992
2004-03-13 19:29:27 +00:00
Martin Willemoes Hansen d029737b73 * data/config.in: Changed libgtkhtml-3.0.so.2 to libgtkhtml-3.0.so to fix
breakage with gtkhtml-3.0.10

svn path=/trunk/mono/; revision=23991
2004-03-13 19:21:12 +00:00
César Natarén d2fc8ae2b4 2004-03-13 Cesar Lopez Nataren <[email protected]>
* TODO: updated TODO.

svn path=/trunk/mcs/; revision=23990
2004-03-13 19:09:17 +00:00
Miguel de Icaza 80d3a6f8ec fix
svn path=/trunk/mono/; revision=23989
2004-03-13 16:42:31 +00:00
Miguel de Icaza 36bec6e4ed Added
svn path=/trunk/mono/; revision=23988
2004-03-13 16:39:30 +00:00
Miguel de Icaza e03fcc30a8 Add resgen
svn path=/trunk/mono/; revision=23987
2004-03-13 16:39:24 +00:00
Gonzalo Paniagua Javier 80c39641da 2004-03-13 Gonzalo Paniagua Javier <[email protected]>
* SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.

svn path=/trunk/mcs/; revision=23986
2004-03-13 16:26:00 +00:00
Atsushi Eno 906d9af6c5 2004-03-13 Atsushi Enomoto <[email protected]>
* XslStylesheet.cs : "version" attribute is also required for embedded
	  stylesheet.

svn path=/trunk/mcs/; revision=23985
2004-03-13 15:28:10 +00:00
Atsushi Eno 236a592b82 2004-03-13 Atsushi Enomoto <[email protected]>
* XmlDsigC14NWithCommentsTransformTest,cs : world.txt causes FileShare
	  Win32Error so it should be added only when it does not exist.
	* XmlDsigXsltTransformTest.cs : embedded stylesheet should have
	  version attribute. EmbeddedStylesheet() should also load input doc.

svn path=/trunk/mcs/; revision=23984
2004-03-13 15:27:38 +00:00
Atsushi Eno 8a9ebebc2e 2004-03-13 Atsushi Enomoto <[email protected]>
* XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
	  and LoadInput() should just load transformed document.
	  Transformation should be done in GetOutput() because either of the
	  stylesheet or input can be loaded in prior. Adjusted code format.

svn path=/trunk/mcs/; revision=23983
2004-03-13 15:21:58 +00:00
Atsushi Eno 8fbb63fab8 2004-03-13 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : added some tests for invalid stylesheets.

svn path=/trunk/mcs/; revision=23982
2004-03-13 15:08:39 +00:00
Atsushi Eno 41ddccf62d 2004-03-13 Atsushi Enomoto <[email protected]>
* xmltest.cs : timestamps are only put in my box (while it is
	  documented as to be written, in my standalone_tests description).

svn path=/trunk/mcs/; revision=23981
2004-03-13 15:06:04 +00:00
Atsushi Eno 2b7ddf8c4d 2004-03-13 Atsushi Enomoto <[email protected]>
* Compiler.cs,
	  XslStylesheet.cs : Reject xsl element other than stylesheet and
	  transform. Check mandatory version attribute (only for existence).

svn path=/trunk/mcs/; revision=23980
2004-03-13 15:00:28 +00:00
David Sheldon 9c885b9674 2004-03-13 David Sheldon <[email protected]>
* XmlSerializationWriter.cs: Implement WriteElementStringRaw with a
   byte [].

svn path=/trunk/mcs/; revision=23979
2004-03-13 14:23:15 +00:00
Francisco Figueiredo Jr. 889a74661c 2004-03-13 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs:
	* Npgsql/NpgsqlClosedState.cs: Added support for SSL callbacks points. Now, client applications can provide the callbacks. Npgsql provide a default callback implementation which always assumes the certificate is ok. This allows easy use as client don't need to provide callback to use ssl connections. This also fixes bug 705 in gborg.
	* NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=23978
2004-03-13 14:15:23 +00:00
Miguel de Icaza e042bc3bdd 2004-03-13 Miguel de Icaza <[email protected]>
* driver.cs: Replace / and \ in resource specifications to dots.
	Fixes 50752

svn path=/trunk/mcs/; revision=23976
2004-03-13 06:08:31 +00:00
Miguel de Icaza 5a8a846376 2004-03-13 Miguel de Icaza <[email protected]>
* class.cs: Add check for duplicate operators.  Fixes 52477

svn path=/trunk/mcs/; revision=23974
2004-03-13 04:59:45 +00:00
Miguel de Icaza f1d0ede53e Add new error check
svn path=/trunk/mcs/; revision=23973
2004-03-13 04:58:14 +00:00
Miguel de Icaza e40372378b Flush
svn path=/trunk/mono/; revision=23972
2004-03-13 04:28:58 +00:00
David Sheldon 9524252976 2004-03-13 David Sheldon <[email protected]>
* XmlReflectionImporterTests.cs: Switched the AssertEquals around
   the other way, so that the expecteed value was the first parameter.
   This makes the error messages you get out of it better.

svn path=/trunk/mcs/; revision=23971
2004-03-13 01:44:59 +00:00
David Sheldon 394b959b9d 2004-03-13 David Sheldon <[email protected]>
* XmlTextAttribute.cs: Initialise dataType with zero-length string.
   fixes test case that tests for this directly
   (XmlAttributesTests/XmlTextAttribute).
  * TypeTranslator.cs: Check for new zero-length dataType so we don't reject
   it. Treat it as null.

svn path=/trunk/mcs/; revision=23970
2004-03-13 01:25:59 +00:00
Sebastien Pouliot a0ac7c12a1 2004-03-12 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: Fixed missing files error under MS.NET.
	* XmlDsigC14NWithCommentsTransformTest.cs: Fixed missing files error
	under MS.NET.

svn path=/trunk/mcs/; revision=23969
2004-03-13 00:03:59 +00:00
Sebastien Pouliot 6a0ea78ade 2004-03-12 Sebastien Pouliot <[email protected]>
* Signature.cs: KeyInfo isn't required in schema.
	* SignedInfo.cs: Added support for missing HMACOutputLength.
	* SignedXml.cs: Added support to download a reference (experimental).
	Now throw exception for unknown hash algorithm or canonicalization
	methods. Changed GetPublicKey to iterate all available keys (not just
	the first one).

svn path=/trunk/mcs/; revision=23968
2004-03-12 22:37:04 +00:00
Miguel de Icaza 3cb7ad7ed2 update
svn path=/trunk/mcs/; revision=23965
2004-03-12 18:23:41 +00:00
Andreas N 2dc0464914 Do not abuse the consts scheme
svn path=/trunk/mcs/; revision=23964
2004-03-12 16:12:24 +00:00
Andreas N ea317fdf97 2004-03-12 Andreas Nahr <[email protected]>
* System.Data.dll.sources : added classes

svn path=/trunk/mcs/; revision=23963
2004-03-12 16:11:16 +00:00
Andreas N 6dbfc65b49 2004-03-12 Andreas Nahr <[email protected]>
* Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
	* DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
	* ColumnTypeConverter.cs: Added stub
	* DefaultValueTypeConverter: Added stub
	* ConstraintConverter.cs: Added stub

svn path=/trunk/mcs/; revision=23962
2004-03-12 16:10:36 +00:00
Andreas N b8ceb78111 2004-03-12 Andreas Nahr <[email protected]>
* DbDataPermissionAttribute.cs: Added .Net 1.1 marks
	* DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
	* DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
	* DataColumnMappingConverter: Added stub
	* DataTableMappingConverter: Added stub

svn path=/trunk/mcs/; revision=23961
2004-03-12 16:09:48 +00:00
Andreas N 497ec0acb8 2004-03-12 Andreas Nahr <[email protected]>
* SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!

svn path=/trunk/mcs/; revision=23960
2004-03-12 16:08:54 +00:00
Lluis Sanchez c946a0cebc * CodeIdentifier.cs: Limit the length of identifiers.
* MapCodeGenerator.cs: Do not generate base class if it is an XmlNode.
	  Generate types using GetDomType, so if the type is an array, it creates
	  the correct combination of types.
	* SerializationCodeGenerator.cs, XmlTypeMapping.cs: When trying to parse
	  an enum, if the string is empty and the enum has [Flags], then return 0
	  as value. This fixes bug #55509.
	* XmlSchemaImporter.cs: Added check for redefines of attribute groups. They
	  are not supported. Another check: a simple type cannot be enum if it does
	  not have any enum facet.
	  And another fix: use string as default type for attribtues.
	* XmlSchemas.cs: Fixed search for schema elements. An schema may import
	  other schemas. An imported schema would not be in the table, but its
	  elements (although from another namespace) would be in the schema that
	  imported it. So, we need know to check for every schema in the table.
	* XmlSerializer.cs: Added environment variable to help debugging code
	  generator output.

svn path=/trunk/mcs/; revision=23957
2004-03-12 15:57:13 +00:00
Lluis Sanchez 06cd746bed * DeserializeTests.cs: Added test for empty enum deserialization (bug #55509).
* XmlAttributesTests.cs, XmlReflectionImporterTests.cs,
	  XmlSerializationWriterTests.cs, XmlSerializerTests.cs:
	  Simplified namespace hierarchy.
	* XmlSerializerTestClasses.cs: Added more test classes.

svn path=/trunk/mcs/; revision=23956
2004-03-12 15:55:33 +00:00
Marek Safar af32324b4e 2004-03-12 Marek Safar <[email protected]>
* cs0182-1.cs,
	  cs3001-9.cs: New error tests.

svn path=/trunk/mcs/; revision=23955
2004-03-12 11:43:22 +00:00
Umadevi S 251648b01f 2004-03-12 Umadevi S ([email protected])
* DataColumn.cs - Implemented TypeConverterAttribute
				- Removed MonoTODO tag from ToString
				- Expression set - checked for null value

svn path=/trunk/mcs/; revision=23954
2004-03-12 10:09:26 +00:00
Peter Dennis Bartok 61827f5b7e - Changed wine-sharedlib to winelib
svn path=/trunk/mcs/; revision=23951
2004-03-12 09:26:16 +00:00
Peter Dennis Bartok 26c45b1455 - Changed name of wine-sharedlib to winelib
svn path=/trunk/mono/; revision=23949
2004-03-12 08:42:54 +00:00
Umadevi S 0e210bb3ec 2004-03-12 Umadevi S ([email protected])
* Constraint.cs - Implemented TypeConverterAttribute

svn path=/trunk/mcs/; revision=23943
2004-03-12 06:29:36 +00:00
Umadevi S a6b79aa21b 2004-03-12 Umadevi S ([email protected])
* SqlDataReader.cs - Implemented EditorBrowsableAttribute, GetData
				   - Removed MonoTODO from GetSqlValue

svn path=/trunk/mcs/; revision=23942
2004-03-12 06:21:22 +00:00
Joshua Tauberer a79ff51429 2004-03-11 Joshua Tauberer <[email protected]>
* Syscall.cs: Removed argument to getgid that shouldn't be there.
		Added getusername, getgroupname which wrap getpwuid, getgrgid
		without dealing with pointers to structures.
		Removed duplicate FileMode enum nested in Syscall class.
		Added stat and lstat, which use StatMode enumeration
		(like FileMode but nicer and complete) and Stat struct.
	* macros.c: Helper functions for getpwuid, getgrgid, stat, lstat.

svn path=/trunk/mcs/; revision=23941
2004-03-11 23:51:40 +00:00
Miguel de Icaza 1d88ac0f9c 2004-03-11 Miguel de Icaza <[email protected]>
* statement.cs (Switch.SimpleSwitchEmit): Deal with default labels
	that are in the middle of the statements, not only at the end.
	Fixes #54987

svn path=/trunk/mcs/; revision=23940
2004-03-11 23:48:50 +00:00
Miguel de Icaza 26d7cca4e7 Update
svn path=/trunk/mcs/; revision=23939
2004-03-11 23:47:54 +00:00
Atsushi Eno 5736540260 2004-03-12 Atsushi Enomoto <[email protected]>
* RdpPatterns.cs : Fixed TextDeriv() to allow whitespace text nodes
	  except for Data and Value (though they are overridden).

svn path=/trunk/mcs/; revision=23938
2004-03-11 23:26:19 +00:00
Miguel de Icaza 4115c44806 2004-03-11 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.AddField): No longer set the
	`HaveStaticConstructor' flag, now we call it
	`UserDefineStaticConstructor' to diferentiate the slightly
	semantic difference.

	The situation is that we were not adding BeforeFieldInit (from
	Modifiers.TypeAttr) to classes that could have it.
	BeforeFieldInit should be set to classes that have no static
	constructor.

	See:

	http://www.yoda.arachsys.com/csharp/beforefieldinit.html

	And most importantly Zoltan's comment:

	http://bugzilla.ximian.com/show_bug.cgi?id=44229

	"I think beforefieldinit means 'it's ok to initialize the type sometime
	 before its static fields are used', i.e. initialization does not need
	 to be triggered by the first access to the type. Setting this flag
	 helps the JIT to compile better code, since it can run the static
	 constructor at JIT time, and does not need to generate code to call it
	 (possibly lots of times) at runtime. Unfortunately, mcs does not set
	 this flag for lots of classes like String.

	 csc sets this flag if the type does not have an explicit static
	 constructor. The reasoning seems to be that if there are only static
	 initalizers for a type, and no static constructor, then the programmer
	 does not care when this initialization happens, so beforefieldinit
	 can be used.

	 This bug prevents the AOT compiler from being usable, since it
	 generates so many calls to mono_runtime_class_init that the AOT code
	 is much slower than the JITted code. The JITted code is faster,
	 because it does not generate these calls if the vtable is type is
	 already initialized, which is true in the majority of cases. But the
	 AOT compiler can't do this."

2004-03-10  Miguel de Icaza  <[email protected]>

	* class.cs (MethodData.Emit): Refactor the code so symbolic
	information is generated for destructors;  For some reasons we
	were taking a code path that did not generate symbolic information
	before.

svn path=/trunk/mcs/; revision=23937
2004-03-11 23:22:06 +00:00
Martin Baulig 1c30dcd58f 2004-03-11 Martin Baulig <[email protected]>
* List.cs: New file.

svn path=/trunk/mcs/; revision=23936
2004-03-11 22:52:46 +00:00
Ben Maurer fb112c9a95 2004-03-11 Ben Maurer <[email protected]>
* class.cs: Create a Constructor.CheckBase method that
	takes care of all validation type code. The method
	contains some code that was moved from Define.

	It also includes new code that checks for duplicate ctors.
	This fixes bug #55148.

svn path=/trunk/mcs/; revision=23935
2004-03-11 21:53:40 +00:00
Atsushi Eno e0d0f2c7d7 2004-03-09 Atsushi Enomoto <[email protected]>
* KeyInfo.cs : Attribute Id was not handlded.
	* KeyInfoX509Data.cs : all array members return null when there are
	  no such contents. Just find child elements, not descendants.
	* SignedXml.cs : key is not always required when CheckSignature() is
	  called.
	* XmlDsigXsltTransform.cs : LoadInput should allow node list.
	* XmlSignature.cs : added GetChildElements().

svn path=/trunk/mcs/; revision=23934
2004-03-11 21:38:32 +00:00
Atsushi Eno 98f7869be0 2004-03-11 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransformTest.cs : Stream2String() should consider utf-8
	  escaping (i.e. it must be the same as with-comments test).
	  Enabled example6 (encoding test).
	* XmlDsigXsltTransformTest.cs :
	  GetXslDoc() now works (xmlns for dsig was missing).
	  Added EmptyXslt(), EmbeddedStylesheet() and InvalidXslt().
	  Activated ignored LoadInputAsXXX() and Load2() by supplying xsl.

svn path=/trunk/mcs/; revision=23933
2004-03-11 21:37:47 +00:00
Miguel de Icaza 5eacaea54d Updated
svn path=/trunk/mono/; revision=23932
2004-03-11 21:07:18 +00:00
Martin Baulig 08f4afdf1a Cosmetic fix.
svn path=/trunk/mcs/; revision=23931
2004-03-11 20:56:45 +00:00
Zoltan Varga 062f67be6c 2004-03-11 Zoltan Varga <[email protected]>
* liveness.c (mono_analyze_liveness): Optimized version.

svn path=/trunk/mono/; revision=23930
2004-03-11 18:36:55 +00:00
Zoltan Varga 7e346e08ce 2004-03-11 Zoltan Varga <[email protected]>
* inssel-sparc.brg cpu-sparc.md: Ongoing sparc work.

svn path=/trunk/mono/; revision=23929
2004-03-11 18:28:04 +00:00
Zoltan Varga d35860a2ae 2004-03-11 Zoltan Varga <[email protected]>
* mini-sparc.h mini-sparc.c tramp-sparc.c exceptions-sparc.c: Ongoing
	sparc work.

svn path=/trunk/mono/; revision=23928
2004-03-11 18:26:11 +00:00
Zoltan Varga bcebc6ccab 2004-03-11 Zoltan Varga <[email protected]>
* basic-float.cs basic-calls.cs: New regression tests.

svn path=/trunk/mono/; revision=23927
2004-03-11 18:24:58 +00:00
Zoltan Varga 225e3c68bf 2004-03-11 Zoltan Varga <[email protected]>
* sparc/sparc-codegen.h: Ongoing sparc work.

svn path=/trunk/mono/; revision=23926
2004-03-11 18:23:26 +00:00
Jackson Harper 2770fbedac * icall.c:
* unicode.c:
	* unicode.h: Remove unused System.Char icalls.

svn path=/trunk/mono/; revision=23925
2004-03-11 18:01:25 +00:00
Martin Baulig 8220293928 2004-03-11 Martin Baulig <[email protected]>
* corlib.dll.sources: Added System.Collections.Generic/Queue.cs
	and System.Collections.Generic.Stack.cs.

svn path=/trunk/mcs/; revision=23924
2004-03-11 17:46:03 +00:00
Martin Baulig 05ff7e9c91 2004-03-11 Martin Baulig <[email protected]>
* Stack.cs, Queue.cs: Just use `Node' for the nested class, not
	`Node<T>' (which would create another type parameter `T'
	overriding `T' from the outer class).

svn path=/trunk/mcs/; revision=23923
2004-03-11 17:45:10 +00:00
Atsushi Eno eef5006f95 2004-03-11 Atsushi Enomoto <[email protected]>
* Makefile, corlib.dll.win32-excludes :
	  now csc build includes SecurityPermissionAttribute.cs.

svn path=/trunk/mcs/; revision=23922
2004-03-11 16:53:44 +00:00
Gonzalo Paniagua Javier 438c332695 2004-03-10 Juraj Skripsky <[email protected]>
* StringBuilderTest.cs: added new test for bug in Insert.

svn path=/trunk/mcs/; revision=23921
2004-03-11 16:44:39 +00:00
Gonzalo Paniagua Javier a8749a2e07 2004-03-10 Juraj Skripsky <[email protected]>
* StringBuilder.cs
	(Insert int, char[]): fix by using new string(char[]) instead of
	char[].ToString() and simplify.
	(Insert int, string, int): add LAMESPEC note.
	(Insert int char[], int, int): handle value==null according to spec.
	Use a string instead of char array + Array.Copy (gonzalo)

svn path=/trunk/mcs/; revision=23920
2004-03-11 16:43:28 +00:00
Miguel de Icaza af8c722218 2004-03-11 Miguel de Icaza <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Call the Windows.Forms init
	code when we P/Invoke the first library in Windows.Forms, instead
	of when we first open the assembly.

	* assembly.c: Drop the lookup from here.

svn path=/trunk/mono/; revision=23919
2004-03-11 16:13:06 +00:00
Zoltan Varga 9c565b1774 2004-03-11 Zoltan Varga <[email protected]>
* monobitset.c (mono_bitset_test_bulk): New function to return multiple
	bits at once.

svn path=/trunk/mono/; revision=23918
2004-03-11 15:54:52 +00:00
Zoltan Varga 1dcc44ac64 2004-03-11 Zoltan Varga <[email protected]>
* Makefile (all-local): Fix for non-bash shells.

svn path=/trunk/mcs/; revision=23916
2004-03-11 15:50:40 +00:00
Umadevi S d4454e3a8a 2004-03-11 Umadevi S ([email protected])
* DbDataPermissionAttribute.cs - added properties ConnectionString and KeyRestrictionBehavior

svn path=/trunk/mcs/; revision=23907
2004-03-11 08:00:07 +00:00
Sebastien Pouliot bef3440d67 2004-03-10 Sebastien Pouliot <[email protected]>
* CertificateFormatter.cs: Support PEM (base64) certificates. Removed
	temporary comments for MCS bug.
	* certview.exe.config: Added KeyAttributesExtension extension.
	* gcertview.cs: Updated to work with latest Gtk#.
	* gcertview.exe.config: Added KeyAttributesExtension extension.
	* Makefile: Re-added the /win32icon:mono.ico (now supported by mcs).
	* TODO: New. Incomplete TODO for X.509 GUI tools

svn path=/trunk/mcs/; revision=23906
2004-03-11 00:55:32 +00:00
Martin Baulig fb08eca5a1 2004-03-10 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_get_custom_attrs): Use the correct
	class for properties, fields and events.  Finally fixes #54945.

svn path=/trunk/mono/; revision=23905
2004-03-11 00:45:03 +00:00
Martin Baulig db928ff8b0 New generics test.
svn path=/trunk/mcs/; revision=23904
2004-03-11 00:28:51 +00:00
Martin Baulig 8b4ca04fc7 2004-03-10 Martin Baulig <[email protected]>
* pending.cs (Pending.InterfaceMethod): Use TypeManager.IsEqual()
	instead of IsAssignableFrom.

svn path=/trunk/mcs/; revision=23903
2004-03-11 00:28:17 +00:00
Martin Baulig 6744a85b3f 2004-03-10 Martin Baulig <[email protected]>
* metadata.c (mono_metadata_class_equal): New static function;
	checks whether two generic instances or two generic parameters are
	equal.
	(mono_metadata_type_equal): Use mono_metadata_class_equal() to
	compare classes.

svn path=/trunk/mono/; revision=23902
2004-03-11 00:25:28 +00:00
Martin Baulig 89c588e371 Oooops.
svn path=/trunk/mono/; revision=23901
2004-03-11 00:24:04 +00:00
Martin Baulig e3fbfc6872 2004-03-10 Martin Baulig <[email protected]>
* class.h (MonoGenericMethod): Added `gpointer reflection_info'.

	* reflection.c (inflate_mono_method): Added `MonoObject *obj'
	argument and write it into the `reflection_info' field.

	* icall.c
	(ves_icall_MethodBase_GetGenericMethodDefinition): New interncall.
	(ves_icall_MethodBase_get_HasGenericParameters): New interncall.

svn path=/trunk/mono/; revision=23900
2004-03-10 22:14:22 +00:00
Martin Baulig 19b9e32cfa 2004-03-10 Martin Baulig <[email protected]>
* MethodBase.cs (MethodBase): Implemented
	GetGenericMethodDefinition() and HasGenericParameters.

svn path=/trunk/mcs/; revision=23899
2004-03-10 22:10:20 +00:00
Martin Baulig 5329c9e6e4 2004-03-10 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.ctor): Use TypeManager.TypeToCoreType().

	* support.cs (ParameterData.HasArrayParameter): New property.
	(ReflectionParameters.ctor): Take a MethodBase instead of a
	ParameterInfo[].  If we have any type parameters, get the generic
	method definition and ask it whether we have variable arguments.

svn path=/trunk/mcs/; revision=23898
2004-03-10 22:07:53 +00:00
Sebastien Pouliot 4709f1960c 2004-03-10 Sebastien Pouliot <[email protected]>
* Convert.cs: FromBase64 now ignore some characters (tab, LF, CR and
	spaces) which fixed #54939. Changed the way that the length is
	validated (multiple of 4) because the ignored characters must not be
	included in the count.

svn path=/trunk/mcs/; revision=23896
2004-03-10 20:45:33 +00:00
Sebastien Pouliot ff1ad8ce12 2004-03-10 Sebastien Pouliot <[email protected]>
* FromBase64Transform.cs: Now throws ObjectDisposedException and
	return true for CanReuseTransform (as MS implementation).

svn path=/trunk/mcs/; revision=23895
2004-03-10 20:19:03 +00:00
Zoltan Varga 137ff0a86b 2004-03-10 Zoltan Varga <[email protected]>
* mini-x86.h: Define SIGSEGV_ON_ALTSTACK only if we have a working
	sigaltstack implementation.

svn path=/trunk/mono/; revision=23894
2004-03-10 20:10:27 +00:00
Zoltan Varga f43d79002d 2004-03-10 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add a --with-sigaltstack option for platforms
	where the sigaltstack based exception handling does not work.

svn path=/trunk/mono/; revision=23893
2004-03-10 20:09:24 +00:00
Lluis Sanchez 2a6b34e884 * ContractReference.cs, DiscoveryDocumentReference.cs: Delegate handling
of errors to the base class.
	* ContractSearchPattern.cs, DiscoveryDocumentLinksPattern.cs,
	  DiscoveryDocumentSearchPattern.cs, XmlSchemaSearchPattern.cs: Implemented.
	* DiscoveryClientProtocol.cs: Do not throw exceptions in ResolveAll method,
	  rather add them to the errors list.
	* DiscoveryReference.cs: Generate DiscoveryException where needed, so
	  DiscoveryClientProtocol can get the url for which an exception was thrown.
	* DiscoveryExceptionDictionary.cs: Implemented.

svn path=/trunk/mcs/; revision=23892
2004-03-10 20:01:17 +00:00
Zoltan Varga 50f7be2f7f 2004-03-10 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Fix previous patch.

svn path=/trunk/mono/; revision=23891
2004-03-10 19:53:29 +00:00
Zoltan Varga d51a048803 2004-03-10 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_setup_jit_tls_data): Turn off the sigaltstack
	stuff if SIGSEGV_ON_ALTSTACK is not defined.

svn path=/trunk/mono/; revision=23890
2004-03-10 19:50:27 +00:00
Sebastien Pouliot 5dca8f871e 2004-03-10 Sebastien Pouliot <[email protected]>
* FromBase64Transform.cs: Two new unit tests showing that the
	transform doesn't care if it's data is invalid base64. Convert class
	is on it's own.

svn path=/trunk/mcs/; revision=23889
2004-03-10 18:04:45 +00:00
Sebastien Pouliot 77d7170071 2004-03-10 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added another test showing that input length
	can't easily be used to check for valid base64 encoding.

svn path=/trunk/mcs/; revision=23888
2004-03-10 17:50:49 +00:00
Andreas N a304e78f1c 2004-03-10 Andreas Nahr <[email protected]>
* String.cs: Monostyled

svn path=/trunk/mcs/; revision=23887
2004-03-10 17:23:56 +00:00
Gonzalo Paniagua Javier 80760e60ef 2004-03-09 Juraj Skripsky <[email protected]>
* DataBinder.cs: allow unquoted string expressions (e.g. "[test]") and
	handle single quotes and a few corner cases correctly (see test cases).

svn path=/trunk/mcs/; revision=23886
2004-03-10 16:31:26 +00:00
Gonzalo Paniagua Javier 46b013a5ad 2004-03-09 Juraj Skripsky <[email protected]>
* DataBinderTest.cs: added tests for quote handling.

svn path=/trunk/mcs/; revision=23885
2004-03-10 16:30:12 +00:00
Sebastien Pouliot 8ab30ef331 2004-03-10 Sebastien Pouliot <[email protected]>
* FromBase64Transform.cs: Converted to NUnit2 format. New unit tests
	for properties, Dispose, Reuse and ignored characters.

svn path=/trunk/mcs/; revision=23883
2004-03-10 16:25:02 +00:00
Sebastien Pouliot c05076a8eb 2004-03-10 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added a new unit tests for FromBase64String and
	FromBase64CharArray to check for ignored characters (tab, lf, cr
	and spaces). Splitted existing tests into smaller tests.

svn path=/trunk/mcs/; revision=23881
2004-03-10 16:07:54 +00:00
Miguel de Icaza d68bebde41 2004-03-10 Joerg Rosenkranz <[email protected]>
* BooleanType.cs:
		Corrected implementation of method FromString.
		This fixes bug #55414.

svn path=/trunk/mcs/; revision=23879
2004-03-10 14:47:34 +00:00
Miguel de Icaza 82e99527f0 Update
svn path=/trunk/mono/; revision=23878
2004-03-10 14:16:11 +00:00
Carlos Guzmán Álvarez a8b9ed3e7e 2004-03-10 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificateRequest.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificateRequest.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerFinished.cs:

		- Fixed meesage type definition.

	* Mono.Security.Protocol.Tls/Ciphersuite.cs:

		- Added generation of the Server encryption algorithms.

		- Modified encryption/decription methods for work
		as client or server as needed.

	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs:

		- Finished processing of the message contents.

	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:

		- Added new ProcessChangeCipherSpec method.

	* Mono.Security.Protocol.Tls/Context.cs:

		- Added new PrintBuffer method ( for debug ).

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:

		- Callback cleanup.

svn path=/trunk/mcs/; revision=23875
2004-03-10 13:17:50 +00:00
Sebastien Pouliot c648d7bdbd 2004-03-10 Sebastien Pouliot <[email protected]>
* PKCS12.cs: Completed GetBytes() so it	is now possible to encode
	/ encrypt PKCS12 files.

svn path=/trunk/mcs/; revision=23873
2004-03-10 12:00:10 +00:00
Sebastien Pouliot 471fba111d 2004-03-10 Sebastien Pouliot <[email protected]>
* PKCS8.cs: Added EncodeRSA, EncodeDSA and completed GetBytes() so it
	is now possible to encode PKCS8 files (this is required to encode
	PKCS12 files).

svn path=/trunk/mcs/; revision=23872
2004-03-10 11:58:45 +00:00
Jordi Mas i Hernandez ec3072154c add more complex font drawing to the sample
svn path=/trunk/mcs/; revision=23871
2004-03-10 09:33:39 +00:00
Ravindra b00041005b Implemented PenType property in Pen and coding style fix in Brush.
svn path=/trunk/mcs/; revision=23869
2004-03-10 05:24:36 +00:00
Umadevi S 422e1aae8a 2004-03-10 Umadevi S ([email protected])
* SqlConnection.cs  - Implemented EditorAttribute for ConnectionString

svn path=/trunk/mcs/; revision=23868
2004-03-10 05:16:19 +00:00
Umadevi S 37fed03ce9 2004-03-10 Umadevi S ([email protected])
* SqlCommand.cs - Implemented EditorAttribute and DesignerAttribute

svn path=/trunk/mcs/; revision=23867
2004-03-10 05:08:39 +00:00
Umadevi S 889089975f 2004-03-10 Umadevi S ([email protected])
* SqlDataAdapter.cs  -Implemented EditorAttribute,DesignerAttribute

svn path=/trunk/mcs/; revision=23866
2004-03-10 04:47:15 +00:00
Martin Baulig b77a3c71bd Updated corlib version number.
svn path=/trunk/mono/; revision=23865
2004-03-10 01:00:29 +00:00
Martin Baulig 0ea5378cf8 Update corlib version number.
svn path=/trunk/mcs/; revision=23864
2004-03-10 01:00:17 +00:00
Martin Baulig 76a3d3e300 2004-03-09 Martin Baulig <[email protected]>
* class.h (MonoProperty, MonoEvent): Added `MonoClass *parent'.

	* class.c (init_properties, init_events): Initialize the new
	`parent' field.

	* reflection.c (typebuilder_setup_properties): Likewise.
	(typebuilder_setup_events): Likewise.

	* reflection.h (MonoEventInfo): Replaced `parent with
	`declaring_type' and `reflected_type'.

	* icall.c (ves_icall_get_property_info): Distinguish between
	declaring and reflected type.
	(ves_icall_get_event_info): Likewise.

svn path=/trunk/mono/; revision=23863
2004-03-10 00:50:12 +00:00
Martin Baulig a4e73598c2 2004-03-09 Martin Baulig <[email protected]>
* MonoEvent.cs (MonoEventInfo): Replaced `parent' with
	`declaring_type' and `reflected_type'.
	(MonoEvent): Distinguish between declaring and reflected type.

svn path=/trunk/mcs/; revision=23862
2004-03-10 00:49:18 +00:00
Jackson Harper f4c404c7ca * Char.cs: Only use a byte for numeric data.
svn path=/trunk/mcs/; revision=23861
2004-03-10 00:30:04 +00:00
Jackson Harper f8cb048d93 * char-conversions.h: use 8 bits for numeric data its all we need
* icall.c: numeric data is only 8 bits now.

svn path=/trunk/mono/; revision=23860
2004-03-10 00:28:45 +00:00
Jackson Harper bf3f0abdbd * corlib_test.dll.sources: Add new test cases to the
build.

svn path=/trunk/mcs/; revision=23859
2004-03-10 00:07:29 +00:00
Jackson Harper 05cd3379ba * AssemblyBuilderAccessTest.cs:
* CustomAttributeBuilderTest.cs: New test cases
	from [email protected].

svn path=/trunk/mcs/; revision=23858
2004-03-10 00:05:49 +00:00
Jackson Harper 248dccce2b * AssemblyAlgorithmIdAttributeTest.cs:
* AssemblyConfigurationAttributeTest.cs:
	* AssemblyCopyrightAttributeTest.cs:
	* AssemblyCultureAttributeTest.cs:
	* AssemblyDelaySignAttributeTest.cs:
	* AssemblyDescriptionAttributeTest.cs:
	* AssemblyFileVersionAttributeTest.cs:
	* AssemblyInformationalVersionAttributeTest.cs: New test cases
	from [email protected].

svn path=/trunk/mcs/; revision=23857
2004-03-10 00:03:00 +00:00
Lluis Sanchez 515a09f0c1 client/localhost/ConvDocLitWraTest.cs: Test Discover() method.
svn path=/trunk/mcs/; revision=23856
2004-03-09 23:58:12 +00:00
Lluis Sanchez 80f7efa5ae * HttpSoapWebServiceHandler.cs: Set the properties ContentType and
ContentEncoding in SoapServerMessage.
	* LogicalMethodInfo.cs: Implemented AsyncResultParameter, BeginInvoke and
	  EndInvoke. Fixed ComputeParameters, so it computes the correct parameters
	  for async logical methods.
	* Methods.cs: Check that client proxies have one and only one
	  WebServiceBindingAttribute.
	* PatternMatcher.cs: Implemented (in fact, just moved code from
	  TextReturnReader.cs)
	* SoapDocumentationHandler.cs: Add soap bindings in the generated
	  discovery document.
	* SoapHttpClientProtocol.cs: Implemented method Discover().
	* SoapMessage.cs: Implemented property ContentEncoding.
	* TextReturnReader.cs: Moved code to PatternMatcher.cs.

svn path=/trunk/mcs/; revision=23855
2004-03-09 23:56:58 +00:00
Lluis Sanchez fcf3d678ed * DiscoveryClientProtocol.cs: Read additional information (such as soap
bindings) from the discovery documents.
	* DiscoveryDocument.cs: Added support for additional discovery information.
	* DiscoveryDocumentSerializer.cs: Updated serializer, added support for
	  soap bindings.

svn path=/trunk/mcs/; revision=23854
2004-03-09 23:56:01 +00:00
Jackson Harper 790b27fda9 * CustomAttributeBuilder.cs: Add some argument checking. Handle
default arguments properly.

svn path=/trunk/mcs/; revision=23853
2004-03-09 23:53:27 +00:00
Andreas N 860ef25e4b 2004-03-09 Andreas Nahr <[email protected]>
* TypedReference.cs: Added missing Attributes
	* ParamArrayAttribute.cs: Small style fix
	* OperatingSystem.cs: Added .Net 1.1 member

svn path=/trunk/mcs/; revision=23852
2004-03-09 23:34:46 +00:00
Martin Baulig f5afd2a614 2004-03-09 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetTypeCode): Added MONO_TYPE_GENERICINST.
	(ves_icall_Type_GetField): Correctly set field->klass.

svn path=/trunk/mono/; revision=23851
2004-03-09 23:06:35 +00:00
Andreas N 9e55a8a098 2004-03-09 Andreas Nahr <[email protected]>
* FieldAccessException.cs
	* FormatException.cs
	* InvalidCastException.cs
	* InvalidOperationException.cs
	* MemberAccessException.cs
	* MethodAccessException.cs
	* MissingFieldException.cs: Locale strings
	* MissingMemberException.cs: Locale strings
	* MissingMethodException.cs: Locale strings
	* NotFiniteNumberException.cs
	* NotImplementedException.cs
	* NotSupportedException.cs
	* NullReferenceException.cs
	* ObjectDisposedException.cs
	* OutOfMemoryException.cs
	* OverflowExceptionException.cs
	* PlatformNotSupportedException.cs
	* RankException.cs: Added missing HResult overrides

svn path=/trunk/mcs/; revision=23849
2004-03-09 22:00:11 +00:00
Andreas N bb05b19f7c 2004-03-09 Andreas Nahr <[email protected]>
* RuntimeTypeHandle.cs
	* RuntimeMethodHandle.cs
	* RuntimeFieldHandle.cs: Implemented serialization (partially untested)

svn path=/trunk/mcs/; revision=23847
2004-03-09 21:07:27 +00:00
Joshua Tauberer e48b5e37ee 2004-03-09 Joshua Tauberer <[email protected]>
* test-232.cs: Tests for { ... }-style array creation

svn path=/trunk/mcs/; revision=23846
2004-03-09 20:32:10 +00:00
Joshua Tauberer c1bb3aa0d5 2004-03-09 Joshua Tauberer <[email protected]>
* expression.cs (ArrayCreation): Fix: More than 6 nulls in
	a { ... }-style array creation invokes EmitStaticInitializers
	which is not good for reference-type arrays.  String, decimal
	and now null constants (NullCast) are not counted toward
	static initializers.

svn path=/trunk/mcs/; revision=23845
2004-03-09 20:29:19 +00:00
Andreas N c0f8d0005d 2004-03-09 Andreas Nahr <[email protected]>
* EventArgs.cs
	* Exception.cs
	* ExecutionEngineException.cs
	* FieldAccessException.cs
	* FormatException.cs
	* GC.cs
	* Guid.cs
	* IndexOutOfRangeException.cs
	* IntPtr.cs
	* InvalidCastException.cs
	* InvalidOperationException.cs
	* InvalidProgramException.cs
	* IServiceProvider.cs
	* LoaderOptimization.cs
	* LoaderOptimizationAttribute.cs
	* MarshalByRefObject.cs
	* Math.cs
	* MemberAccessException.cs
	* MethodAccessException.cs
	* MissingFieldException.cs
	* MissingMemberException.cs
	* MissingMethodException.cs
	* MultiCastDelegate.cs
	* MulticastNotSupportedException.cs
	* NonSerializedAttribute.cs
	* NotFiniteNumberException.cs
	* NotImplementedException.cs
	* NotSupportedException.cs
	* NullReferenceException.cs
	* ObjectDisposedException.cs
	* ObsoleteAttribute.cs
	* OperatingSystem.cs
	* OutOfMemoryException.cs
	* OverflowExceptionException.cs
	* PlatformID.cs
	* PlatformNotSupportedException.cs
	* Random.cs
	* RankException.cs
	* ResolveEventArgs.cs
	* ResolveEventHandler.cs
	* RuntimeFieldHandle.cs
	* RuntimeMethodHandle.cs
	* RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
	  removed excess usings

svn path=/trunk/mcs/; revision=23844
2004-03-09 20:13:43 +00:00
Jordi Mas i Hernandez a6fef9a236 fixes GetStringFormatTabStops and adds member to test it
svn path=/trunk/mcs/; revision=23843
2004-03-09 19:55:25 +00:00
Zoltan Varga 84d93886b2 2004-03-09 Zoltan Varga <[email protected]>
* setenv.cs: Handle DllNotFoundException.

svn path=/trunk/mono/; revision=23841
2004-03-09 19:12:43 +00:00
Zoltan Varga 951bbec2f0 2004-03-09 Zoltan Varga <[email protected]>
* pinvoke2.cs pinvoke12.cs: Merge pinvoke12.cs into pinvoke2.cs.

svn path=/trunk/mono/; revision=23840
2004-03-09 19:07:27 +00:00
Zoltan Varga 80bf27de2b 2004-03-09 Zoltan Varga <[email protected]>
* mini.c: Fix warnings.

svn path=/trunk/mono/; revision=23839
2004-03-09 18:34:57 +00:00
Zoltan Varga 85c1f01661 2004-03-09 Zoltan Varga <[email protected]>
* mini.c (mono_resolve_patch_target): New function which contains the
	arch independent part of the patching process.

svn path=/trunk/mono/; revision=23838
2004-03-09 18:28:03 +00:00
Zoltan Varga a17ad3c6a4 2004-03-09 Zoltan Varga <[email protected]>
* mini.c (mono_resolve_patch_target): New function which contains the
	arch independent part of the patching process.

	* mini-x86.c (mono_arch_patch_code): Move arch independent parts of the
	patching code to a separate function.

svn path=/trunk/mono/; revision=23837
2004-03-09 18:21:15 +00:00
Atsushi Eno 0b04ce162c 2004-03-09 Atsushi Enomoto <[email protected]>
* DSA.cs : fixed incorrectly modified catch for debugging.

svn path=/trunk/mcs/; revision=23836
2004-03-09 18:11:34 +00:00
Atsushi Eno 094a4d98d2 2004-03-09 Atsushi Enomoto <[email protected]>
* DSA.cs : In ToXmlString(), sequence of Seed and PgenCounter is
	  optional.

svn path=/trunk/mcs/; revision=23835
2004-03-09 17:38:01 +00:00
Atsushi Eno d3f125e462 2004-03-09 Atsushi Enomoto <[email protected]>
* DSATest.cs : Added ToXmlString test that checks if input without
	  Seed and PgenCounter elements pass or not.

svn path=/trunk/mcs/; revision=23834
2004-03-09 17:37:18 +00:00
Bernie Solomon ad785b3d8f 2004-03-09 Bernie Solomon <[email protected]>
* mini.c (add_signal_handler): ifdef out on Windows

svn path=/trunk/mono/; revision=23832
2004-03-09 16:34:49 +00:00
Atsushi Eno 9864f95aba 2004-03-09 Atsushi Enomoto <[email protected]>
* KeyInfoX509Data.cs : trivial local var name fix.

svn path=/trunk/mcs/; revision=23831
2004-03-09 15:50:47 +00:00
Sebastien Pouliot 07a1f4f1c7 2004-03-09 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: The strong name key file existance will now be
	checked in the current compilation directory AND in the assembly
	output directory. Fix bugzilla entry #55320.

svn path=/trunk/mcs/; revision=23830
2004-03-09 15:35:37 +00:00
Atsushi Eno 042d4cd07a 2004-03-09 Atsushi Enomoto <[email protected]>
* KeyInfoX509Data.cs,
	  Reference.cs,
	  SignedInfo.cs,
	  XmlSignature.cs : GetElementsByTagName() should be eliminated or
	  at least should use namespace URI.

svn path=/trunk/mcs/; revision=23829
2004-03-09 14:43:10 +00:00
Zoltan Varga 825a7d516e 2004-03-09 Zoltan Varga <[email protected]>
* loader.h: Fix warning.

svn path=/trunk/mono/; revision=23828
2004-03-09 12:44:42 +00:00
Lluis Sanchez ae5d8520ec * RemotingServices.cs: Marshal(): If the object is a proxy, return the ObjRef stored in the identity object. This fixes bug #55100. Fixed some exception messages.
svn path=/trunk/mcs/; revision=23827
2004-03-09 12:11:27 +00:00
Umadevi S 684e6c4007 2004-03-09 Umadevi S ([email protected])
* RowUpdatedEventArgs.cs - Removed MonoTODO tags

svn path=/trunk/mcs/; revision=23826
2004-03-09 10:38:23 +00:00
Umadevi S 2ad19f444b 2004-03-09 Umadevi S ([email protected])
* DbDataRecord.cs
			Implemented GetChars,GetBytes,GetData and IndexOutofRangeException

svn path=/trunk/mcs/; revision=23825
2004-03-09 07:42:29 +00:00
Umadevi S e67b701eae 2004-03-09 Umadevi S ([email protected])
* DataTableMappingCollection.cs - Implemented EditorAttribute and BrowsableAttribute

svn path=/trunk/mcs/; revision=23823
2004-03-09 04:15:58 +00:00
Ben Maurer a50335c711 new tests
svn path=/trunk/mcs/; revision=23822
2004-03-09 03:35:38 +00:00
Umadevi S 8640466e55 2004-03-09 Umadevi S ([email protected])
* DataTableMapping.cs - Implemented System.ComponentModel.TypeConverterAttribute

svn path=/trunk/mcs/; revision=23821
2004-03-09 03:31:37 +00:00
Umadevi S 031202f547 2004-03-09 Umadevi S ([email protected])
* DataColumnMapping.cs - Implemented System.ComponentModel.TypeConverterAttribute

svn path=/trunk/mcs/; revision=23820
2004-03-09 03:24:08 +00:00
Miguel de Icaza 5ef8d0ad55 2004-03-08 Miguel de Icaza <[email protected]>
* Form.cs: Drop call to SharedWineInit, the runtime does that for
	us now.

svn path=/trunk/mcs/; revision=23819
2004-03-08 23:25:05 +00:00
Miguel de Icaza f93578b43c 2004-03-08 Miguel de Icaza <[email protected]>
*  loader.c, loader.h (mono_loader_wine_init): Loads the Wine/Lib
	library routine if present.  Notice that it will still continue
	executing even if its missing, for those working on the Gtk#
	edition of Windows.Forms.

	* assembly.c (do_mono_assembly_open): If loading the
	System.Windows.Forms call mono_loader_wini_init.

svn path=/trunk/mono/; revision=23818
2004-03-08 23:24:10 +00:00
Andreas N cd4f72a50b 2004-03-08 Andreas Nahr <[email protected]>
* SystemException.cs: Exceptions set the HResult
	* TypeLoadException.cs: Exceptions set the HResult, fixed wrong exception usage
	* SByte.cs: Implemented two missing methods, fix wrong parameters for ArgumentNullException

svn path=/trunk/mcs/; revision=23816
2004-03-08 21:34:44 +00:00
Andreas N 11b17987d3 2004-03-08 Andreas Nahr <[email protected]>
* TypedReference.cs
	* TypeLoadException.cs
	* TypeInitializationException.cs
	* TypeCode.cs
	* TimeZone.cs
	* ThreadStaticAttribute.cs
	* SystemException.cs
	* STAThreadAttribute.cs
	* StackOverflowException.cs
	* SingleFormatter.cs
	* Single.cs
	* SerializableAttribute.cs: Mono styled, fixed exceptions/ locales
	  removed excess usings

svn path=/trunk/mcs/; revision=23815
2004-03-08 21:17:36 +00:00
Andreas N 5f3d3cadaa 2004-03-08 Andreas Nahr <[email protected]>
* UnauthorizedAccessException.cs: Exceptions set the HResult
	* UInt64.cs: Implemented two missing methods
	* UInt32.cs: Fix wrong parameters for ArgumentNullException, simpler convert
	* UInt16.cs: Fix wrong parameters for ArgumentNullException, simpler convert

svn path=/trunk/mcs/; revision=23813
2004-03-08 20:18:08 +00:00
Andreas N 6440665eb5 2004-03-08 Andreas Nahr <[email protected]>
* WeakReference.cs
	* Void.cs
	* Version.cs
	* ValueType.cs
	* UnitySerializationHolder.cs
	* UnhandledExceptionEventHandler.cs
	* UnauthorizedAccessException.cs
	* UIntPtr.cs
	* UInt64.cs
	* UInt32.cs
	* UInt16.cs: Mono styled, Locale.GetText fixes, msg fixes

svn path=/trunk/mcs/; revision=23812
2004-03-08 19:42:28 +00:00
Gonzalo Paniagua Javier 7c40a08237 2004-03-08 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs:
	(Append (string)): remove redundant check.

svn path=/trunk/mcs/; revision=23811
2004-03-08 19:10:22 +00:00
Gonzalo Paniagua Javier 39535ef3fe 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: implemented IOControl.

svn path=/trunk/mcs/; revision=23810
2004-03-08 19:05:59 +00:00
Zoltan Varga 2957be8f47 2004-03-08 Zoltan Varga <[email protected]>
* mini-sparc.h mini-sparc.c inssel-sparc.brg exceptions-sparc.c
	cpu-sparc.md: Add exception handling support + other fixes.

svn path=/trunk/mono/; revision=23808
2004-03-08 17:19:52 +00:00
Zoltan Varga 372e2b3af8 2004-03-08 Zoltan Varga <[email protected]>
* Timer.cs (Dispose): Applied patch from Jaroslaw Kowalski
	([email protected]). Fix finalization problems during appdomain unload.

svn path=/trunk/mcs/; revision=23807
2004-03-08 16:24:20 +00:00
Zoltan Varga dc9fe783b4 2004-03-08 Zoltan Varga <[email protected]>
* driver.c: Print --help output to stdout. Fixes #55261. Also fix
	typed GC detection in --version.

svn path=/trunk/mono/; revision=23806
2004-03-08 16:17:50 +00:00
Zoltan Varga 65e7d6072b 2004-03-08 Zoltan Varga <[email protected]>
* basic.cs exceptions.cs: New regression tests.

svn path=/trunk/mono/; revision=23805
2004-03-08 15:57:04 +00:00
Zoltan Varga 7cab22db5c 2004-03-08 Zoltan Varga <[email protected]>
* mini.h mini-x86.h mini-ppc.h: Add MonoCompileArch structure where
	the arch specific code can store data during a compilation.

svn path=/trunk/mono/; revision=23804
2004-03-08 15:55:35 +00:00
Zoltan Varga d24a7d8029 2004-03-08 Zoltan Varga <[email protected]>
* mini-ops.h: Add OP_SETFRET.

svn path=/trunk/mono/; revision=23803
2004-03-08 15:48:54 +00:00
Zoltan Varga 465cab5eb2 2004-03-08 Zoltan Varga <[email protected]>
* mini.c (mini_get_ldelema_ins): Instead of allways calling the same
	function, register a separate icall for each arity, so the icalls can
	get a wrapper.

	* mini.c (mono_print_tree): Print negative offsets in a more readable
	form.

	* mini.c: Make signal handling work on sparc.

	* mini.c (mini_init): Add emulation for lconv_to_r8_un.

svn path=/trunk/mono/; revision=23802
2004-03-08 15:48:03 +00:00
Zoltan Varga 695514fbd4 2004-03-08 Zoltan Varga <[email protected]>
* inssel-long32.brg: Fix OP_LSUB_OVF_UN rule.

svn path=/trunk/mono/; revision=23801
2004-03-08 15:40:17 +00:00
Zoltan Varga 6726b85697 2004-03-08 Zoltan Varga <[email protected]>
* jit-icalls.c: Emulate truncl by aintl on solaris.

	* jit-icalls.c (mono_lconv_to_r8_un): New icall emulation function.

svn path=/trunk/mono/; revision=23800
2004-03-08 15:27:57 +00:00
Zoltan Varga 314ff9a37c 2004-03-08 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for aintl function, which is the
	solaris equivalent of truncl.

svn path=/trunk/mono/; revision=23798
2004-03-08 14:11:28 +00:00
Urs C. Muff 5a6d8f9578 remove '?' files
svn path=/trunk/mono/; revision=23797
2004-03-08 13:48:55 +00:00
Urs C. Muff 08cf64d8d2 remove '?' files
svn path=/trunk/mcs/; revision=23797
2004-03-08 13:48:55 +00:00
Umadevi S cdb4f7eef6 2004-03-08 Umadevi S ([email protected])
* Consts.cs - Added constants for System and System.Data

svn path=/trunk/mcs/; revision=23796
2004-03-08 09:23:45 +00:00
Umadevi S af01ef69bf 2004-03-08 Umadevi S ([email protected])
* SqlParameterCollection.cs - Corrected Indenting from previous checkin
	* SqlParameter.cs - Implemented TypeConverterAttribute for the class and Value method

svn path=/trunk/mcs/; revision=23795
2004-03-08 09:22:27 +00:00
Umadevi S c6d9bd18e7 2004-03-08 Umadevi S ([email protected])
* SqlParameterCollection.cs - Implemented EditorAttribute

svn path=/trunk/mcs/; revision=23794
2004-03-08 07:43:10 +00:00
Umadevi S 2388485532 2004-03-08 Umadevi S ([email protected])
* Added Assembly/Consts.cs

svn path=/trunk/mcs/; revision=23793
2004-03-08 07:35:17 +00:00
Umadevi S 23f677ea19 2004-03-08 Umadevi S ([email protected])
* Added Consts.cs to hold constants that are dependent on the defined symbols

svn path=/trunk/mcs/; revision=23792
2004-03-08 07:29:47 +00:00
Nick Drochak 06a41e6b85 2004-03-08 Nick Drochak <[email protected]>
* VBCodeProviderTest.cs: On windows, do not use mono to execute
	assembly. Actually, this should be if running on MS's CLR, but
	for now it will do.

svn path=/trunk/mcs/; revision=23790
2004-03-08 05:10:57 +00:00
Umadevi S 1a1b52e52d 2004-03-08 Umadevi S ([email protected]
* SqlTypeException.cs - Added Constructor With (String,exception)2004-03-08  Umadevi S ([email protected]
	* SqlTypeException.cs - Added Constructor With (String,exception)2004-03-08  Umadevi S ([email protected]
	* SqlTypeException.cs - Added Constructor With (String,exception)2004-03-08  Umadevi S ([email protected]
	* SqlTypeException.cs - Added Constructor With (String,exception)

svn path=/trunk/mcs/; revision=23789
2004-03-08 04:58:58 +00:00
Ben Maurer cdae6e79b9 add monop
svn path=/trunk/mono/; revision=23788
2004-03-08 04:36:01 +00:00
Umadevi S b8da603c53 2004-03-08 Umadevi S ([email protected])
* SqlNullValueException.cs - Implemented a Constructor
	* SqlTruncateException.cs - Implemented a Constructor
	* SqlTypeException.cs - Implemented a constructor

svn path=/trunk/mcs/; revision=23787
2004-03-08 04:33:07 +00:00
Umadevi S be4788fa08 2004-03-08 Umadevi S ([email protected])
* SqlMoney.cs - Removed TODO tags

svn path=/trunk/mcs/; revision=23786
2004-03-08 04:29:47 +00:00
Umadevi S bd0ea06618 2004-03-08 Umadevi S ([email protected])
* SqlDecimal.cs - completed implementation for Constructor,parsing and other TODOs

svn path=/trunk/mcs/; revision=23785
2004-03-08 04:27:22 +00:00
Duncan Mak f155fbae9e 2004-03-07 Duncan Mak <[email protected]>
* Makefile.am: Removed the reference to 'x86-64'. This was the cause
        of the missing Mono daily tarballs, 'make dist' wasn't working.

        We do have an 'amd64' directory, but it doesn't make it in 'make
        dist'.

svn path=/trunk/mono/; revision=23784
2004-03-08 01:47:03 +00:00
Ben Maurer d5231cb0e7 add monop here
svn path=/trunk/mono/; revision=23783
2004-03-08 01:21:09 +00:00
Ben Maurer 031fee925b 2004-03-07 Ben Maurer <[email protected]>
* monop.cs: New tool, clone of javap. Allows you to get
	an outline view of a class.

svn path=/trunk/mcs/; revision=23782
2004-03-08 01:20:52 +00:00
César Natarén e6f6de3d66 use EmitContext's current ILGenerator
svn path=/trunk/mcs/; revision=23781
2004-03-07 23:03:20 +00:00
César Natarén 567acf96cd updates from grammar changes
svn path=/trunk/mcs/; revision=23780
2004-03-07 22:58:49 +00:00
César Natarén 6bb73fcc02 changelog entries
svn path=/trunk/mcs/; revision=23779
2004-03-07 22:56:51 +00:00
César Natarén 0e5cbe3aca * Block.cs: In order to implement the comma operator (i.e., expression,
assign_exp), we must track if our expressions are at a global
        scope, in which case we must pop the last result too.

svn path=/trunk/mcs/; revision=23778
2004-03-07 22:50:30 +00:00
César Natarén 5c356424d8 * CodeGenerator.cs: Deleted one of ILGenerator fields
from EmitContext, suffices using only one (more notes about the
        change on the Functiondeclaration entry). Imitate jsc behavior for
        compiled files names, aggregate the exe or dll extension after last dot.

svn path=/trunk/mcs/; revision=23777
2004-03-07 22:49:53 +00:00
César Natarén 6b9f25d8b3 * Convert.cs: Do not throw the NotImplementedException anymore for
method ToBoolean, for now we always return false. This must get a
        real implementation.

svn path=/trunk/mcs/; revision=23776
2004-03-07 22:49:14 +00:00
César Natarén 24a7bf079f * FormalParameterList.cs, Literal.cs, StringLiteral.cs: use
current EmitContext's ILGenerator.

svn path=/trunk/mcs/; revision=23775
2004-03-07 22:47:31 +00:00
César Natarén a560dbd843 * FunctionDeclaration.cs: Added func_type field, will be used to determine the
type of the function we are generating (global function, method
        from a class, etc) and attach to it the correct custom
        attribute. Simplified the code for nested functions:
        refactored the code so no code duplication is involved, now we
        have only one function that retrieves  the name of the function,
        now create a new EmitContext for the body of the method.

svn path=/trunk/mcs/; revision=23774
2004-03-07 22:46:49 +00:00
César Natarén dd4247592d * Relational.cs: Set parent. The boxing happens in the containing statement.
svn path=/trunk/mcs/; revision=23773
2004-03-07 22:45:12 +00:00
César Natarén e0a97826d7 * Statement.cs: added parent param to If constructor. Implement
Resolve and Emit for If statement.

svn path=/trunk/mcs/; revision=23772
2004-03-07 22:39:05 +00:00
César Natarén 65320b989d * VariableDeclaration.cs: updates needed because of EmitContext change.
svn path=/trunk/mcs/; revision=23771
2004-03-07 22:37:15 +00:00
César Natarén 024bee9ba9 * expression.cs: At class Conditional renamed fields. Class
Expression inherits from Exp as we must keep track if we must pop
        the last value (this is for the comma operator), track the parent,
        at Resolve we take care of the last value of the expression.

svn path=/trunk/mcs/; revision=23770
2004-03-07 22:35:46 +00:00
César Natarén 76b52f4429 * jscript-lexer-parser.g: build If's ast. Keep track of expr parent.
svn path=/trunk/mcs/; revision=23769
2004-03-07 22:33:55 +00:00
Carlos Guzmán Álvarez deaec6e0d0 Changed line endings to unix style
svn path=/trunk/mcs/; revision=23768
2004-03-07 19:40:59 +00:00
Miguel de Icaza bc09660af0 Update
svn path=/trunk/mono/; revision=23767
2004-03-07 17:11:51 +00:00
Miguel de Icaza 9d8b1f4b72 Update
svn path=/trunk/mono/; revision=23766
2004-03-07 16:50:21 +00:00
Miguel de Icaza 4727faf42e Updated coding guidelines
svn path=/trunk/mcs/; revision=23765
2004-03-07 16:32:26 +00:00
Carlos Guzmán Álvarez 5cadac1ca1 2004-03-06 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHelloDone.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificate.cs:

		- Initial implementation ( not finished ) 

	* Mono.Security.Protocol.Tls/SslServerStream.cs:

		- Initial implementation of the doHandshake method.

        - Added initial events implementation.

	* Mono.Security.Protocol.Tls/Ciphersuite.cs:
	* Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:
	* Mono.Security.Protocol.Tls/ClientContext.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/*.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/*.cs:

		- Changes for make use of the renamed classes and enums.

	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeType.cs:

		- Renamed to HandshakeType.cs (Enum and file)

	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:

		- Renamed to HandshakeMessage.cs (Class and file)

	* Mono.Security.Protocol.Tls.Handshake/TlsClientCertificateType.cs:

		- Renamed to ClientCertificateType.cs (Enum and file)

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

		- Renamed to Alert (Class, enums and file)

	* Mono.Security.Protocol.Tls/TlsContentType.cs:

		- Renamed to ContentType.cs ( Enum and file )
 
	* Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:

		- Renamed to CiphersuiteCollection.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:

		- Renamed to CiphersuiteCollection.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:

		- Renamed to SslHandshakeHash.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:

		- Renamed to SslCipherSuite.cs ( Class and file )

svn path=/trunk/mcs/; revision=23764
2004-03-07 12:21:35 +00:00
Carlos Guzmán Álvarez 741ad65d9b 2004-03-06 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHello.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHelloDone.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerCertificate.cs:

		- Initial implementation ( not finished ) 

	* Mono.Security.Protocol.Tls/SslServerStream.cs:

		- Initial implementation of the doHandshake method.

        - Added initial events implementation.

	* Mono.Security.Protocol.Tls/Ciphersuite.cs:
	* Mono.Security.Protocol.Tls/TlsCiphersuite.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
	* Mono.Security.Protocol.Tls/TlsClientSettings.cs:
	* Mono.Security.Protocol.Tls/ClientContext.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/*.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/*.cs:

		- Changes for make use of the renamed classes and enums.

	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeType.cs:

		- Renamed to HandshakeType.cs (Enum and file)

	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:

		- Renamed to HandshakeMessage.cs (Class and file)

	* Mono.Security.Protocol.Tls.Handshake/TlsClientCertificateType.cs:

		- Renamed to ClientCertificateType.cs (Enum and file)

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

		- Renamed to Alert (Class, enums and file)

	* Mono.Security.Protocol.Tls/TlsContentType.cs:

		- Renamed to ContentType.cs ( Enum and file )
 
	* Mono.Security.Protocol.Tls/TlsCiphersuiteCollection.cs:

		- Renamed to CiphersuiteCollection.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsCiphersuiteFactory.cs:

		- Renamed to CiphersuiteCollection.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:

		- Renamed to SslHandshakeHash.cs ( Class and file )

	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:

		- Renamed to SslCipherSuite.cs ( Class and file )

svn path=/trunk/mcs/; revision=23763
2004-03-07 11:43:12 +00:00
Carlos Guzmán Álvarez 6d428439c6 Updated list of source files
svn path=/trunk/mcs/; revision=23762
2004-03-07 11:41:51 +00:00
Atsushi Eno 5f117eb8ad 2004-03-07 Atsushi Enomoto <[email protected]>
* MSXslScriptManager.cs : if extension namespace was not found in
	  the script, just return null. Patch by Joshua Tauberer.

svn path=/trunk/mcs/; revision=23761
2004-03-07 08:15:16 +00:00
Francisco Figueiredo Jr. ba96e426f8 2004-03-06 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=23757
2004-03-06 15:17:48 +00:00
Ravindra 72eba65094 Implementing methods for PathGradientBrush.
svn path=/trunk/mcs/; revision=23756
2004-03-06 13:31:18 +00:00
Ravindra a59b03c43b Adding more GDI+ P/Invoke calls for PathGradientBrush.
svn path=/trunk/mcs/; revision=23755
2004-03-06 13:28:05 +00:00
Ravindra 84ca941bfa Implemented constructors and properties of PathGradient brush.
svn path=/trunk/mcs/; revision=23753
2004-03-06 12:32:04 +00:00
Ravindra 68be016b7e Added GDI+ P/Invoke calls for pathGradient brush.
svn path=/trunk/mcs/; revision=23752
2004-03-06 12:27:32 +00:00
Martin Baulig 37906fcccf 2004-03-05 Martin Baulig <[email protected]>
* location.cs (SourceFile.HasLineDirective): New public field;
	specifies whether the file contains or is referenced by a "#line"
	directive.
	(Location.DefineSymbolDocuments): Ignore source files which
	either contain or are referenced by a "#line" directive.

svn path=/trunk/mcs/; revision=23747
2004-03-05 20:37:57 +00:00
Zoltan Varga 3a4e8690fe 2004-03-05 Zoltan Varga <[email protected]>
* mini.c (mini_init): fconv_to_ovf can raise exceptions.

svn path=/trunk/mono/; revision=23738
2004-03-05 14:52:30 +00:00
Zoltan Varga b8dca14881 2004-03-05 Zoltan Varga <[email protected]>
* main.c: Applied patch from Albert Strasheim ([email protected]).
	Fix compilation under mingw.

svn path=/trunk/mcs/; revision=23737
2004-03-05 14:22:35 +00:00
Lluis Sanchez 2bea408805 * Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=23733
2004-03-05 03:54:00 +00:00
Lluis Sanchez 2fd14bfe39 * Identity.cs: Removed object type from Identity, since it is hold
now in the IRemotingTypeInfo object.
	* ServerIdentity.cs: Added object type.
	* TypeInfo.cs: Added null check for the class hierarchy.

svn path=/trunk/mcs/; revision=23732
2004-03-05 03:53:16 +00:00
Lluis Sanchez d1780caa6b * RealProxy.cs: Added new internal method for getting the proxy type. It
gets the proxy type from the MonoRemoteClass (it can change if the
	  vtable is upgraded).
	  Modified GetTransparentProxy(). Now it takes the name of the type.
	  The name is taken from the IRemotingTypeInfo object.
	* RemotingProxy.cs: The class must implement IRemotingTypeInfo.

svn path=/trunk/mcs/; revision=23731
2004-03-05 03:52:13 +00:00
Lluis Sanchez 00bd4b5653 * mini.c: In CEE_ISINST and CEE_CASTCLASS, if the type is an interface or
a MarshalByRef type, inline a method that performs the check, taking into
	account that the object can be a proxy. Also implemented tow new opcodes:
	CEE_MONO_CISINST and CEE_MONO_CCASTCLASS.
	* inssel.brg: Implemented two new opcodes, mini-ops.h: OP_CISINST and
	OP_CCASTCLASS, which implement CEE_MONO_CISINST and CEE_MONO_CCASTCLASS.

svn path=/trunk/mono/; revision=23730
2004-03-05 03:46:51 +00:00
Lluis Sanchez 37a2f56176 * class.h: Added MonoRemoteClass struct.
* domain.c: Changed hash function for proxy_vtable_hash. It now uses a
	function for MonoStrings.
	* icall.c: In GetTransparentProxy, assign a MonoRemoteClass to the proxy.
	Added internal call for getting the proxy type.
	* marshal.c: Get the type of transparent proxies from its remote_class.
	Added methods that generate the IL for type checks and casts:
	mono_marshal_get_isinst, mono_marshal_get_castclass,
	mono_marshal_get_proxy_cancast.
	* marshal.h: Declaration of the previous new methods.
	* object.c: Added new moethods for creating and updating MonoRemoteClass
	instances: mono_remote_class, mono_upgrade_remote_class,
	* object.h: Added MonoRemoteClass reference in MonoTransparentProxy.
	* verify.c: FIx transparent_proxy_fields layout.
	* appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=23729
2004-03-05 03:46:04 +00:00
Lluis Sanchez a90474120a * interp.c: Get the type of transparent proxies from its remote_class.
svn path=/trunk/mono/; revision=23728
2004-03-05 03:45:03 +00:00
Lluis Sanchez 6d80e780be * opcode.def, cil-opcodes.xml: Added two new opcodes for type checking:
mono_cisinst and mono_ccastclass.

svn path=/trunk/mono/; revision=23727
2004-03-05 03:44:06 +00:00
Duncan Mak 16d385f833 Indentation.
svn path=/trunk/mcs/; revision=23726
2004-03-05 03:27:36 +00:00
Duncan Mak a381c8cfaa * GraphicsPath.cs (PathCount): Corrected. The name should be PointCount.
(AddPath): Implemented.

* RectangleF.cs: Changed the internal structure from a PointF,
SizeF to floats in order to match the layout from the C API.

svn path=/trunk/mcs/; revision=23725
2004-03-05 03:27:16 +00:00
Jackson Harper af299d2b5b * Char.cs: New managed implementation. Modified patch by
Andreas Nahr.

svn path=/trunk/mcs/; revision=23721
2004-03-05 02:25:52 +00:00
Jackson Harper 0cdd216a6f * icall.c: Add icall to access char conversion tables.
* char-conversions.h: Character conversion tables.
	* Makefile.am: Add char-conversions.h private header file.

svn path=/trunk/mono/; revision=23719
2004-03-05 02:24:53 +00:00
Jackson Harper 27f96af3cd * icall.c: Add icall to access char conversion tables.
* char-conversions.h: Character conversion tables.
        * Makefile.am: Add char-conversions.h private header file.

svn path=/trunk/mono/; revision=23718
2004-03-05 02:24:12 +00:00
Peter Dennis Bartok 606e77b01d - Streamlined and cleaned up
svn path=/trunk/mcs/; revision=23715
2004-03-05 00:53:04 +00:00
Lluis Sanchez cd1b661f88 * TcpServerChannel.cs: In the ProcessMessages() loop, moved the closing of
the stream to the finally block, so it is called if the thread is aborted.

svn path=/trunk/mcs/; revision=23714
2004-03-05 00:24:03 +00:00
Atsushi Eno 16ec2959d4 2004-03-04 Atsushi Enomoto <[email protected]>
* SignatureTest.cs : added some malformed xml tests.

svn path=/trunk/mcs/; revision=23712
2004-03-04 22:57:33 +00:00
Atsushi Eno a026462b96 2004-03-04 Atsushi Enomoto <[email protected]>
* KeyInfo.cs :
	  Fixed LoadXml() to skip text nodes as MS.NET does.
	  Uncommented out RSAKeyValue.
	* Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
	  that incorrectly acquires descendants. Throw CryptographicException
	  if required elements were not found.
	* Transform.cs : added internal GetResolver().
	* XmlDsigXPathTransform.cs,
	  XmlDsigXsltTransform.cs : use XmlResolver.

svn path=/trunk/mcs/; revision=23711
2004-03-04 22:53:21 +00:00
Jordi Mas i Hernandez 16e8553e57 default string formatting
svn path=/trunk/mcs/; revision=23710
2004-03-04 22:50:58 +00:00
Atsushi Eno e35ec95c08 2004-03-05 Atsushi Enomoto <[email protected]>
* SecurityElement.cs : ignore prefix; this enables RSA.FromXmlString()
	  to allow namespaced elements.

svn path=/trunk/mcs/; revision=23709
2004-03-04 22:40:52 +00:00
Zoltan Varga 49982240fa 2004-03-04 Zoltan Varga <[email protected]>
* appdomain.c (unload_thread_main): Increase unloading timeout to
	10 sec as a temporary workaround for Nant problems.

svn path=/trunk/mono/; revision=23707
2004-03-04 21:15:01 +00:00
Atsushi Eno 9107609cd7 2004-03-04 Atsushi Enomoto <[email protected]>
* Makefile : made "make test" independent of "make" so that extraneous
	  archive extraction won't be run every time (for automated tests).

svn path=/trunk/mcs/; revision=23706
2004-03-04 21:05:04 +00:00
Jordi Mas i Hernandez abd90a4ab1 DigitSubstitution and TabStob methods
svn path=/trunk/mcs/; revision=23705
2004-03-04 20:59:28 +00:00
Dick Porter 3ddccc318f 2004-03-03 Dave Camp <[email protected]>
* daemon.c: (add_fd), (fd_activity), (_wapi_daemon_main):
	Use a new main context.

svn path=/trunk/mono/; revision=23703
2004-03-04 20:07:28 +00:00
Gonzalo Paniagua Javier d3f8ffda0c 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
* io.c:
	(GetFileAttributes): set the error depending on errno instead of
	setting ERROR_FILE_NOT_FOUND always. See bug #55160.

svn path=/trunk/mono/; revision=23702
2004-03-04 20:01:42 +00:00
Gonzalo Paniagua Javier ec4c6c8190 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: check if the error returned in Exists is different
	from 'path not found' and throw the appropiate exception in that case.
	See #55160.

svn path=/trunk/mcs/; revision=23701
2004-03-04 19:57:23 +00:00
Sebastien Pouliot e2e5f5328f 2004-03-04 Sebastien Pouliot <[email protected]>
* mono-hacking-roadmap.html: Updated status about assembly
	signing.

svn path=/trunk/mono/; revision=23699
2004-03-04 19:44:05 +00:00
Peter Dennis Bartok 276e9c94d7 - Fixed description for running autoconf
svn path=/trunk/mcs/; revision=23697
2004-03-04 19:26:38 +00:00
Gonzalo Paniagua Javier 972b8ac9ca 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: fixed typos and added new method names to the set
	of page events.

svn path=/trunk/mcs/; revision=23696
2004-03-04 19:00:55 +00:00
Gonzalo Paniagua Javier 8d801ed6b3 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs:
	* WebConnectionGroup.cs: the requests queue is now shared for all the
	connections belonging to the same connection group.

svn path=/trunk/mcs/; revision=23695
2004-03-04 17:28:27 +00:00
Atsushi Eno 3210914acc 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlImplementation.cs : fixity fix (I need NUnit runnable ;)

svn path=/trunk/mcs/; revision=23694
2004-03-04 16:52:12 +00:00
Atsushi Eno 4361873dd2 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlImplementation.cs : forgot to commit (renaming internal case)

svn path=/trunk/mcs/; revision=23693
2004-03-04 16:41:57 +00:00
Atsushi Eno 4c7cf4124e 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added Implementation().

svn path=/trunk/mcs/; revision=23692
2004-03-04 16:29:32 +00:00
Atsushi Eno e5a9c1000b 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Implementation should not return null.

svn path=/trunk/mcs/; revision=23691
2004-03-04 16:28:49 +00:00
Eran Domb 6e8ae4b3e7 XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
in MS.NET documentation (missing DataSet element etc).

svn path=/trunk/mcs/; revision=23690
2004-03-04 15:47:10 +00:00
Victor Vatamanescu 286967fca6 *** empty log message ***
svn path=/trunk/mcs/; revision=23689
2004-03-04 15:28:06 +00:00
Paolo Molaro c0af2d737c Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <[email protected]>
* mono-codeman.c: add a define to force the use of malloc
	instead of mmap.

svn path=/trunk/mono/; revision=23688
2004-03-04 14:19:44 +00:00
Jackson Harper 8c6c752578 * Win32RegistryApi.cs: Specify entry points.
svn path=/trunk/mcs/; revision=23687
2004-03-04 13:51:42 +00:00
Alon Gazit 45049587af Changed Read implementation.
Currently can read "field" element before "selector" element (like MS).

svn path=/trunk/mcs/; revision=23686
2004-03-04 13:23:15 +00:00
Eran Domb 4b223298ae Added resources to System.Data.dll.sources.
svn path=/trunk/mcs/; revision=23684
2004-03-04 07:05:22 +00:00
Eran Domb 3462a7c607 Added Node.cs.
Rollback changes in Index.cs.

svn path=/trunk/mcs/; revision=23683
2004-03-04 07:03:24 +00:00
Sanja Gupta 3a46ddd8ef ChangeLog: Updated ChangeLog
Metafile.cs: Corrected the signature for constructor

svn path=/trunk/mcs/; revision=23682
2004-03-04 05:46:05 +00:00
Peter Dennis Bartok b5fe4c7dad - Added missing switch
svn path=/trunk/mcs/; revision=23681
2004-03-04 05:03:00 +00:00
Nick Drochak 33ca9a2f45 2004-03-04 Nick Drochak <[email protected]>
* Metafile.cs: Fix build, remove duplicate member.

svn path=/trunk/mcs/; revision=23680
2004-03-04 04:06:37 +00:00
Peter Dennis Bartok 40f2b0d9c5 - Now called wine-shared-patch; less version specific
svn path=/trunk/mcs/; revision=23679
2004-03-04 03:14:57 +00:00
Peter Dennis Bartok 5bdd1943bb - No longer uses absolute path
- Added export of dll path for System.Drawing

svn path=/trunk/mcs/; revision=23678
2004-03-04 03:13:55 +00:00
Peter Dennis Bartok 7261f81f82 - Fixed broken symbolic link creation
- Removed unneeded comments

svn path=/trunk/mcs/; revision=23677
2004-03-04 03:02:38 +00:00
Miguel de Icaza f330057f3c update instructions
svn path=/trunk/mcs/; revision=23676
2004-03-04 02:21:44 +00:00
Miguel de Icaza bce33b6355 Remove aboslute paths
svn path=/trunk/mcs/; revision=23675
2004-03-04 02:19:18 +00:00
Atsushi Eno ec28000d24 2004-03-03 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources : added Index.cs.

svn path=/trunk/mcs/; revision=23673
2004-03-04 01:41:42 +00:00
Atsushi Eno b51c56bb0d 2004-03-03 Atsushi Enomoto <[email protected]>
* Index.cs : justa build fix.

svn path=/trunk/mcs/; revision=23670
2004-03-04 00:25:04 +00:00
Jackson Harper cbcdde15cb Wrong maintainer name
svn path=/trunk/mcs/; revision=23668
2004-03-03 23:03:33 +00:00
Jackson Harper c3c33d399c * corlib.dll.sources: Add new registry files to the build.
svn path=/trunk/mcs/; revision=23667
2004-03-03 22:44:54 +00:00
Jackson Harper e6e48d4872 * Win32RegistryApi.cs: New file - pinvokes to the win32
registry. Patch  by Jose Cornado.
	* IRegistryApi.cs: New file - Interface to a registry backend
	(win32 on windows, no implementation on unix). This interface will
	probably change when we write a Linux backend.
	* Win32ResultCode.cs: New file - Win32 result codes needed to
	check pinvoke. Patch by Jose Cornado.
	* Registry.cs: Create the keys. Patch by Jose Cornado.
	* RegistryKey.cs: Implement. Patch by Jose Cornado.

svn path=/trunk/mcs/; revision=23666
2004-03-03 22:40:13 +00:00
Carlos Guzmán Álvarez f3c9d7b14d 2004-03-04 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHelloDone.cs:
	* Mono.Security.Protocol.Tls.Handshake.Server/TlsServerHelloDone.cs:

        - Fixed message type.

svn path=/trunk/mcs/; revision=23665
2004-03-03 22:36:26 +00:00
Peter Dennis Bartok b81967f2ef - New patch no longer specific to mono-winelib. Uses better method
to switch wine into shared mode

svn path=/trunk/mcs/; revision=23662
2004-03-03 21:32:30 +00:00
Peter Dennis Bartok 64719cac32 - Updated description to match updated patch
svn path=/trunk/mcs/; revision=23661
2004-03-03 21:31:34 +00:00
Peter Dennis Bartok dce3d7ad1c - Changed initialization code to match improved (generalized) Wine patch
- Changed name of wine shared library

svn path=/trunk/mcs/; revision=23660
2004-03-03 19:27:26 +00:00
Jordi Mas i Hernandez a76b31c9fa updated libgdiplus location
svn path=/trunk/mono/; revision=23654
2004-03-03 15:54:45 +00:00
Sanja Gupta 16e0d2166a ChangeLog: Updated ChangeLog
ImageAttributes.cs: Added few missing functions
Metafile.cs: Added stubs for missing constructors and functions

svn path=/trunk/mcs/; revision=23653
2004-03-03 14:48:31 +00:00
Sanja Gupta 568fb4eaa8 ChangeLog: Updated ChangeLog
gdipFunctions.cs: Added ImageAttributes functions

svn path=/trunk/mcs/; revision=23652
2004-03-03 14:37:04 +00:00
Nick Drochak 93613b1a23 2004-03-03 Nick Drochak <[email protected]>
* BmpCodec.cs: Remove unsed variable.

svn path=/trunk/mcs/; revision=23651
2004-03-03 13:48:26 +00:00
Victor Vatamanescu e1969da5b1 *** empty log message ***
svn path=/trunk/mcs/; revision=23647
2004-03-03 12:03:56 +00:00
Victor Vatamanescu 58884f3043 *** empty log message ***
svn path=/trunk/mcs/; revision=23646
2004-03-03 11:44:45 +00:00
Sanja Gupta 526a904471 ChangeLog: Updated ChangeLog
Icon.cs: Missing function stubs added
IconConverter.cs: Missing function stubs added
ImageAnimator.cs: Missing function stubs added
ImageConverter.cs: Missing function stubs added
ImageFormatConverter.cs: Missing function stubs added

svn path=/trunk/mcs/; revision=23645
2004-03-03 08:29:08 +00:00
Eran Domb e88b4013a6 Index.cs : Added.
Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
This changes made for performance improvement.

svn path=/trunk/mcs/; revision=23644
2004-03-03 08:06:42 +00:00
Eran Domb 5232129591 Added new file ComparerFactory.
svn path=/trunk/mcs/; revision=23643
2004-03-03 08:03:35 +00:00
Sunil Kumar e910781f72 Modified extensions to use register functionality provided in ExtResponseFactory
svn path=/trunk/mcs/; revision=23642
2004-03-03 07:58:54 +00:00
Sunil Kumar a93a08de0c For GetPrievilegeRequest extension
svn path=/trunk/mcs/; revision=23641
2004-03-03 07:58:03 +00:00
Sunil Kumar e63140ebab For registering extended responses
svn path=/trunk/mcs/; revision=23640
2004-03-03 07:57:07 +00:00
Jordi Mas i Hernandez 39ac5cf55d Implemented font strikeout and underline, allows multiple attributes
svn path=/trunk/mcs/; revision=23631
2004-03-02 23:04:33 +00:00
Miguel de Icaza e8d9567102 Flush
svn path=/trunk/mono/; revision=23625
2004-03-02 16:26:19 +00:00
Paolo Molaro eb0fb2b5e7 Tue Mar 2 17:23:48 CET 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: if a relative branch displacement is too big
	but it points to and area reachable with an absolute branch,
	avoid the thunks.

svn path=/trunk/mono/; revision=23624
2004-03-02 15:58:29 +00:00
Paolo Molaro 6d883b34a9 Tue Mar 2 16:59:40 CET 2004 Paolo Molaro <[email protected]>
* mini.c: optimize small copies in cpblk.

svn path=/trunk/mono/; revision=23623
2004-03-02 15:46:08 +00:00
Victor Vatamanescu 845b6f3dd6 *** empty log message ***
svn path=/trunk/mono/; revision=23622
2004-03-02 15:32:02 +00:00
Victor Vatamanescu 81e3af9f76 *** empty log message ***
svn path=/trunk/mcs/; revision=23622
2004-03-02 15:32:02 +00:00
Rafael Teixeira 7ce00099f1 2004/03/02 Rafael Teixeira <[email protected]>
* sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
			because in C# they were semantically tied to nested namespaces, and in VB.NET
			they can occur only once per file.
	* mbas.exe.sources: added sourcebeingcompiled.cs
	* mb-parser.jay: reference RootContext.Sourcebeingcompiled things
	* namespace.cs: move pieces to sourcebeingcompiled
	* rootcontext.cs: use SourceBeingCompiled class
	* decl.cs: reference RootContext.Sourcebeingcompiled things

svn path=/trunk/mcs/; revision=23621
2004-03-02 15:17:34 +00:00
Gonzalo Paniagua Javier 5628f451d9 2004-03-02 Gonzalo Paniagua Javier <[email protected]>
* MonoIO.cs: added case for ERROR_FILENAME_EXCED_RANGE.

svn path=/trunk/mcs/; revision=23620
2004-03-02 15:16:57 +00:00
Lluis Sanchez 8698d7e8ab * MonoWSDL.cs: Use DiscoveryClientProtocol instead of WebClient to get the
documents, since it supports disco files in addition to wsdl files.
	  Added some missing proxy options.

svn path=/trunk/mcs/; revision=23619
2004-03-02 15:11:42 +00:00
Rafael Teixeira 663c757417 2004/03/02 Rafael Teixeira <[email protected]>
* sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
			because in C# they were semantically tied to nested namespaces, and in VB.NET
			they can occur only once per file.
	* mbas.exe.sources: added sourcebeingcompiled.cs
	* mb-parser.jay: reference RootContext.Sourcebeingcompiled things
	* namespace.cs: move pieces to sourcebeingcompiled
	* rootcontext.cs: use SourceBeingCompiled class
	* decl.cs: reference RootContext.Sourcebeingcompiled things

svn path=/trunk/mcs/; revision=23618
2004-03-02 15:11:36 +00:00
Lluis Sanchez b9d19fff54 * ProtocolImporter.cs: Little fix in schema classification.
svn path=/trunk/mcs/; revision=23617
2004-03-02 15:03:40 +00:00
Lluis Sanchez 75430c3cd9 * DiscoveryClientProtocol.cs: Now it can get alternate urls from HTML pages
that include a link tag. Added support for loading files from a the
	  file system.

svn path=/trunk/mcs/; revision=23616
2004-03-02 15:03:12 +00:00
Lluis Sanchez 6d3babecdd * services.xml: More services.
* wstest.cs: Added null check.
	* client/localhost/IncludeTestTest.cs: New test.
	* server/localhost/IncludeTest.asmx, server/localhost/Test1.asmx,
	  server/localhost/Test2.asmx, server/localhost/TestBinding6.asmx.

svn path=/trunk/mcs/; revision=23615
2004-03-02 15:02:41 +00:00
Anirban Bhattacharjee 94a7e14472 Support for '-' delimiter in DateTime
svn path=/trunk/mcs/; revision=23614
2004-03-02 14:57:56 +00:00
Anirban Bhattacharjee 9e56126024 Formatted warning thrown
svn path=/trunk/mcs/; revision=23613
2004-03-02 14:52:55 +00:00
Anirban Bhattacharjee 82ad633d05 Added Overloads and Shadows modifiers to Function and Sub, also fixed few other modifier related problems
svn path=/trunk/mcs/; revision=23612
2004-03-02 14:41:32 +00:00
Carlos Guzmán Álvarez 9b6b3d746d Updated Firebird ADO.NET Data Provider information
svn path=/trunk/mono/; revision=23609
2004-03-02 10:16:34 +00:00
Marek Safar 7b5d7fce20 2004-03-02 Marek Safar <[email protected]>
Created .cvsignore

svn path=/trunk/mcs/; revision=23605
2004-03-02 07:57:07 +00:00
Marek Safar 74cfd9d9e0 2004-03-02 Marek Safar <[email protected]>
* cs0246-5.cs: New error test.

svn path=/trunk/mcs/; revision=23604
2004-03-02 07:54:59 +00:00
Atsushi Eno f33e9e65a5 2004-03-01 Atsushi Enomoto <[email protected]>
* XslLiteralElement.cs : quick fix for ArgumentNullException which
	  was because of the combination of non-namespaced instances and
	  exclude-result-prefixes.

svn path=/trunk/mcs/; revision=23603
2004-03-01 23:49:29 +00:00
Atsushi Eno f38f5ac744 2004-03-01 Atsushi Enomoto <[email protected]>
* README : added usage descriptions.

svn path=/trunk/mcs/; revision=23600
2004-03-01 21:17:13 +00:00
Atsushi Eno 943f0b1893 2004-03-01 Atsushi Enomoto <[email protected]>
* xml-classes : updates on relax ng stuff.

svn path=/trunk/mono/; revision=23598
2004-03-01 19:37:54 +00:00
Gonzalo Paniagua Javier 540e23e638 2004-03-01 Gonzalo Paniagua Javier <[email protected]>
* io.c:
	(CopyFile): free the buffer on error.
	* sockets.c:
	(WSAIoctl): free the buffer on error.

svn path=/trunk/mono/; revision=23597
2004-03-01 19:04:56 +00:00
Larry Ewing ca66ed73d9 2004-03-01 Larry Ewing <[email protected]>
* HttpUtility.cs: fix UrlEncodeToBytes count check.

svn path=/trunk/mcs/; revision=23596
2004-03-01 19:04:02 +00:00
Gonzalo Paniagua Javier 7589e5e28d define HAVE_GC_ENABLE for included libgc
svn path=/trunk/mono/; revision=23595
2004-03-01 14:30:40 +00:00
Rafael Teixeira 8274b2f8d6 2004/03/01 Rafael Teixeira <[email protected]>
* namespace.cs : correcting some error messages text

svn path=/trunk/mcs/; revision=23594
2004-03-01 14:08:07 +00:00
Zoltan Varga 40a50d205c 2004-03-01 Zoltan Varga <[email protected]>
* mini-sparc.c inssel-sparc.brg mini-ops.h: Access local variables at
	negative offsets from %fp. Implement localloc. Fix local register
	allocation. Fix the case when the this argument needs to be saved to
	the stack. Implement some missing opcodes.

svn path=/trunk/mono/; revision=23593
2004-03-01 13:58:06 +00:00
Zoltan Varga a47b3bb8df 2004-03-01 Zoltan Varga <[email protected]>
* basic-calls.cs basic-float.cs: New regression tests.

svn path=/trunk/mono/; revision=23592
2004-03-01 13:57:05 +00:00
Zoltan Varga 67bf7747bb 2004-03-01 Zoltan Varga <[email protected]>
* mini-sparc.c inssel-sparc.brg mini-ops.h: Access local variables at
	negative offsets from %fp. Implement localloc. Fix local register
	allocation. Fix the case when the this argument needs to be saved to
	the stack. Implement some missing opcodes.

svn path=/trunk/mono/; revision=23591
2004-03-01 13:56:05 +00:00
Rafael Teixeira b06aedface bits
svn path=/trunk/mcs/; revision=23590
2004-03-01 13:38:11 +00:00
Zoltan Varga 81cdf72336 2004-02-29 Zoltan Varga <[email protected]>
* gc.c: Add checks for GC_enable and GC_disable.

svn path=/trunk/mono/; revision=23588
2004-02-29 22:04:12 +00:00
Zoltan Varga ff9f326f84 2004-02-29 Zoltan Varga <[email protected]>
* configure.in: Add check for GC_enable.

svn path=/trunk/mono/; revision=23587
2004-02-29 22:02:34 +00:00
Miguel de Icaza f19f354b10 2004-02-29 Ben Maurer <[email protected]>
* class.cs (Method.CheckBase): Avoid using FindMembers, we have
	direct access to our parent, so check the method inline there.

svn path=/trunk/mcs/; revision=23585
2004-02-29 20:16:19 +00:00
Zoltan Varga 6ac81cd9b4 2004-02-29 Zoltan Varga <[email protected]>
* configure.in: Remove amd64/Makefile from AC_OUTPUT to fix build.

svn path=/trunk/mono/; revision=23584
2004-02-29 19:18:36 +00:00
Francisco Figueiredo Jr. 62d593473e 2004-02-29 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
        * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.

svn path=/trunk/mcs/; revision=23583
2004-02-29 18:22:23 +00:00
Zoltan Varga 19f53866b4 2004-02-29 Zoltan Varga <[email protected]>
* StringTest.cs: Add regression test for bug #54988.

svn path=/trunk/mcs/; revision=23581
2004-02-29 14:51:10 +00:00
Zoltan Varga 6b6478d98c 2004-02-29 Zoltan Varga <[email protected]>
* string-icalls.c locales.c: Applied patch from Jaroslaw Kowalski
	([email protected]). Fix memory corruption in String.Replace
	(bug #54988).

svn path=/trunk/mono/; revision=23580
2004-02-29 14:48:43 +00:00
Francisco Figueiredo Jr. 03fd05a34c 2004-02-28 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
        * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
        * Npgsql/NpgsqlCommand.cs: Fixed an Invalid Index error when executing ExecuteScalar() method with an empty resultset. Thanks Lynn A. Roth for the fix. This fixes bug 687 in gborg.

svn path=/trunk/mcs/; revision=23578
2004-02-29 01:25:26 +00:00
Peter Dennis Bartok 81b0ac54fc - Added WriteLine as a reminder to remove the SelectObject hack later
svn path=/trunk/mcs/; revision=23577
2004-02-29 00:07:27 +00:00
Peter Dennis Bartok bd30701686 - Updated
svn path=/trunk/mcs/; revision=23576
2004-02-28 23:19:33 +00:00
Peter Dennis Bartok cea98c31c1 - Removed code related to old Wine support
- Added loading & initialization code for new Wine patch
- Commented out font selection for DrawText until ToHfont is complete

svn path=/trunk/mcs/; revision=23575
2004-02-28 23:18:40 +00:00
Atsushi Eno 687cd0be2d 2004-02-28 Atsushi Enomoto <[email protected]>
* Removed Commons.Xml.Relaxng_test.args.
	* RelaxngReaderTests.cs,
	  RelaxngValidatingReaderTests.cs : file path fix.
	* XsdDatatypeTests.cs : It causes infinite loop (maybe bug in libs),
	  so comment out right now.

svn path=/trunk/mcs/; revision=23574
2004-02-28 19:56:50 +00:00
Atsushi Eno 2669290685 2004-02-28 Atsushi Enomoto <[email protected]>
* Commons.Xml.Relaxng_test.dll.sources : Added XsdDatatypeTests.cs

svn path=/trunk/mcs/; revision=23573
2004-02-28 19:42:31 +00:00
Atsushi Eno 0f1780dea3 2004-02-28 Atsushi Enomoto <[email protected]>
* Added XsdDatatypeTests.cs.
	* RdpPatternTests.cs,
	  RelaxngReaderTests.cs,
	  RelaxngValidatingReaderTests.cs : library class change fixes.

svn path=/trunk/mcs/; revision=23572
2004-02-28 19:41:47 +00:00
Atsushi Eno 698be3893d 2004-02-28 Atsushi Enomoto <[email protected]>
* RelaxngReader.cs : ReadPattern() should be public.

svn path=/trunk/mcs/; revision=23571
2004-02-28 19:41:09 +00:00
Miguel de Icaza c5ea10a0e1 Add
svn path=/trunk/mono/; revision=23562
2004-02-28 15:53:18 +00:00
Ben Maurer b6ae14f13d add regression test
svn path=/trunk/mcs/; revision=23555
2004-02-28 00:43:30 +00:00
Ben Maurer 2f1782d987 2004-02-27 Ben Maurer <[email protected]>
* expression.cs (Invocation.EmitCall): Miguel's last commit
	caused a regression. If you had:

	    T t = null;
	    t.Foo ();

	In Foo the implict this would be null.

svn path=/trunk/mcs/; revision=23554
2004-02-28 00:34:14 +00:00
Miguel de Icaza 794393f23d Flush
svn path=/trunk/mono/; revision=23553
2004-02-27 22:32:20 +00:00
Miguel de Icaza 0484413fbc 2004-02-27 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.EmitCall): If the method is not
	virtual, do not emit a CallVirt to it, use Call.

svn path=/trunk/mcs/; revision=23552
2004-02-27 22:09:24 +00:00
Lluis Sanchez 23b7db43b8 * BinaryClientFormatterSink.cs: Don't set the request uri here, this will
be done in the transport sink.
	* BinaryCore.cs: Added TypeFilterLevel property.
	* BinaryServerFormatterSinkProvider.cs: Added missing TypeFilterLevel property.

svn path=/trunk/mcs/; revision=23551
2004-02-27 19:37:11 +00:00
Lluis Sanchez 476f6f1165 * TcpClientTransportSink.cs: Set the RequestUri transport header before
sending the request.

svn path=/trunk/mcs/; revision=23550
2004-02-27 19:36:37 +00:00
Lluis Sanchez 64237762c5 * HttpClientChannel.cs: Set the RequestUri transport header before sending
the request.

svn path=/trunk/mcs/; revision=23549
2004-02-27 19:36:19 +00:00
Sebastien Pouliot 74fec194ba 2004-02-27 Sebastien Pouliot <[email protected]>
* ConvertTest.cs: Added a new test for bug #54939 when converting a
	base64 containing NF and/or LF.

svn path=/trunk/mcs/; revision=23548
2004-02-27 18:54:46 +00:00
Gonzalo Paniagua Javier b450a95f10 updated browser capabilities file
svn path=/trunk/mono/; revision=23547
2004-02-27 18:26:42 +00:00
Gonzalo Paniagua Javier 690a00cc31 Documented MONO_CODEDOM_NODELETE
svn path=/trunk/mono/; revision=23546
2004-02-27 17:54:41 +00:00
Pedro Abelleira Seco dbd34d4849 Ugh, it seems that the image is forced to 48x48 when deployed to web...
svn path=/trunk/mono/; revision=23545
2004-02-27 17:45:35 +00:00
Lluis Sanchez 2280ddb057 * services.xml: Updated service list.
* wstest.cs: New feature: it generates a serviceStatus.xml file that
	  helps keeping track of services that are not available any more.
	* client/localhost/ConvDocEncBarTest.cs, ConvDocEncWraTest.cs:
	  Improved tests.
	* server/ConvDocLitBar.asmx: Removed inheritance from WebService, to make
	  sure that this works.

svn path=/trunk/mcs/; revision=23544
2004-02-27 17:35:20 +00:00
Lluis Sanchez fa95770ad2 System.Web.Services.dll.sources: Added System.Web.Services.Protocols/Fault.cs.
svn path=/trunk/mcs/; revision=23543
2004-02-27 17:33:26 +00:00
Lluis Sanchez 0bf8cc59e9 * Fault.cs: Moved Fault class from Methods.cd to this file. It also includes
a generated serializer.
	* HttpSoapWebServiceHandler.cs, WebServiceHelper.cs: Use the new static Fault serializer.
	* Methods.cs: Include types declared with XmlInclude and SoapInclude to the
	  reflection importer. Moved Fault and its serializer to Fault.cs
	* SoapHttpClientProtocol.cs: Removed unused method.

svn path=/trunk/mcs/; revision=23542
2004-02-27 17:32:58 +00:00
Lluis Sanchez 4b3cb1844e * ExtensionManager.cs: Create all serializers for soap extensions at once.
* HttpSimpleProtocolImporter.cs: Assign the correct set of schemas to the
	  schema importers (do not mix literal schemas with encoded schemas).
	* ProtocolImporter.cs: Added LiteralSchemas and EncodedSchemas properties.
	  Separation between literal and encoded schemas is needed to avoid importing
	  for example a literal schema as encoded. Also implemented ClasifySchemas,
	  which separates literal from encoded schemas. I really don't like doing it
	  in this way, but I haven't found another way.
	* SoapProtocolImporter.cs: Add type include attributes to the generated
	  proxy classes.

svn path=/trunk/mcs/; revision=23541
2004-02-27 17:31:19 +00:00
Miguel de Icaza 29760f9927 Remove amd64
svn path=/trunk/mono/; revision=23540
2004-02-27 17:03:30 +00:00
Miguel de Icaza 62f3cb6e11 Add x86-64 directory
svn path=/trunk/mono/; revision=23539
2004-02-27 17:03:17 +00:00
Miguel de Icaza 8fc116e878 Flush
svn path=/trunk/mono/; revision=23538
2004-02-27 16:44:03 +00:00
Lluis Sanchez e92032f678 * StringTest.cs: Added test for Concat when one of the arguments is an
object that returns null on its ToString ().

svn path=/trunk/mcs/; revision=23537
2004-02-27 15:50:40 +00:00
Lluis Sanchez e331f8a6f6 * String.cs: Concat() fixed crash when one of the arguments is an object
whose ToString() method returns null.
	* TypeLoadException.cs: Added some serialization fiels, needed for
	  compatibility with MS.NET.

svn path=/trunk/mcs/; revision=23536
2004-02-27 15:47:23 +00:00
Rafael Teixeira 6cadcffa63 Another partial cut at #52067
svn path=/trunk/mcs/; revision=23535
2004-02-27 15:40:56 +00:00
Ravindra 15bbe83678 Corrected WrapMode enum values.
svn path=/trunk/mcs/; revision=23534
2004-02-27 15:37:40 +00:00
Rafael Teixeira aaa3db8629 Another partial cut at #52067
svn path=/trunk/mcs/; revision=23533
2004-02-27 15:30:15 +00:00
Anirban Bhattacharjee b235a98e31 Couple of more test cases
svn path=/trunk/mcs/; revision=23532
2004-02-27 15:13:42 +00:00
Anirban Bhattacharjee 5b4768fdc2 Recheck-in these files because of the change of file names
svn path=/trunk/mcs/; revision=23531
2004-02-27 15:08:30 +00:00
Rafael Teixeira ea37aa05fb Another partial cut at #52067
svn path=/trunk/mcs/; revision=23530
2004-02-27 15:05:32 +00:00
Gonzalo Paniagua Javier a63f416ff7 2004-02-27 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: patch by John Luke that initialized the fields in
	the message and makes Fields return the same as in MS.NET. Fixes bug
	#54908.

svn path=/trunk/mcs/; revision=23528
2004-02-27 13:44:13 +00:00
Sebastien Pouliot 23df928e80 2004-02-27 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Removed UTF8 junk at the start of the file.

svn path=/trunk/mcs/; revision=23527
2004-02-27 12:30:54 +00:00
Gonzalo Paniagua Javier b5b3febef0 2004-02-27 Jaroslaw Kowalski <[email protected]>
* CSharpCodeGenerator.cs: fixed static property references
	in GeneratePropertyReferenceExpression

svn path=/trunk/mcs/; revision=23526
2004-02-27 12:12:02 +00:00
Martin Baulig 494e158296 **** Merged from MCS ****
2004-02-26  Miguel de Icaza  <[email protected]>

	* iterators.cs (IteratorHandler.IsIEnumerator, IsIEnumerable): New
	routines to check if a type is an enumerable/enumerator allow
	classes that implement the IEnumerable or IEnumerator interfaces.

	* class.cs (Property, Operator): Implement IIteratorContainer, and
	implement SetYields.

	(Property.Define): Do the block swapping for get_methods in the
	context of iterators.   We need to check if Properties also
	include indexers or not.

	(Operator): Assign the Block before invoking the
	OperatorMethod.Define, so we can trigger the Iterator code
	replacement.

	* cs-parser.jay (SimpleIteratorContainer): new helper class.  Both
	Property and Operator classes are not created when we parse the
	declarator but until we have the block completed, so we use a
	singleton SimpleIteratorContainer.Simple to flag whether the
	SetYields has been invoked.

	We propagate this setting then to the Property or the Operator to
	allow the `yield' to function.

2004-02-25  Marek Safar  <[email protected]>

	* codegen.cs: Implemented attribute support for modules.
        New AssemblyClass, ModuleClass and CommonAssemblyModulClass for
        Assembly/Module functionality.

        * attribute.cs, class.cs, cs-parser.jay, delegate.cs, driver.cs, enum.cs
        interface.cs, rootcontext.cs, statement.cs, typemanager.cs:
        Updated dependencies on CodeGen.ModuleBuilder and CodeGen.AssemblyBuilder.

2004-02-16  Marek Safar  <[email protected]>

	* interface.cs (FindMembers): The operation is performed on all base
	interfaces and not only on the first. It is required for future CLS Compliance patch.

2004-02-12 Ben Maurer  <[email protected]>

	* statement.cs, codegen.cs:
	This patch deals with patterns such as:

	public class List : IEnumerable {

		public MyEnumerator GetEnumerator () {
			return new MyEnumerator(this);
		}

		IEnumerator IEnumerable.GetEnumerator () {
			...
		}

		public struct MyEnumerator : IEnumerator {
			...
		}
	}

	Before, there were a few things we did wrong:
	1) we would emit callvirt on a struct, which is illegal
	2) we emited ldarg when we needed to emit ldarga
	3) we would mistakenly call the interface methods on an enumerator
	type that derived from IEnumerator and was in another assembly. For example:

	public class MyEnumerator : IEnumerator

	Would have the interface methods called, even if there were public impls of the
	method. In a struct, this lead to invalid IL code.

2004-02-11  Marek Safar  <[email protected]>

        * const.cs: Const is now derived from FieldBase. Method EmitConstant name
	  renamed to Emit.

        * delegate.cs (Define): Fixed crash when delegate type is undefined.

2004-02-11  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Fix small regression: we were not testing V2
	compiler features correctly.

	* interface.cs: If the emit context is null, then create one

2004-02-09  Marek Safar  <[email protected]>

        * decl.cs (GetSignatureForError): New virtual method to get full name
	  for error messages.

	* attribute.cs (IAttributeSupport): New interface for attribute setting.
	  Now it is possible to rewrite ApplyAttributes method to be less if/else.

        * interface.cs : All InterfaceXXX classes are now derived from MemberCore.
	  Duplicated members and code in these classes has been removed.
	  Better encapsulation in these classes.

2004-02-07  Miguel de Icaza  <[email protected]>

	* assign.cs (Assign.DoResolve): When dealing with compound
	assignments, there is a new rule in ECMA C# 2.4 (might have been
	there before, but it is documented here) that states that in:

	a op= b;

	If b is of type int, and the `op' is a shift-operator, then the
	above is evaluated as:

	a = (int) a op b

	* expression.cs (Binary.ResolveOperator): Instead of testing for
	int/uint/long/ulong, try to implicitly convert to any of those
	types and use that in pointer arithmetic.

	* delegate.cs (Error_NoMatchingMethodForDelegate): Compute the
	method to print information for from the type, not from the
	null-method we were given.

2004-02-01  Duncan Mak  <[email protected]>

	* cs-tokenizer.cs (get_cmd_arg): Skip over whitespace before
	parsing for cmd, fixes bug #53694.

2004-02-04  Marek Safar  <[email protected]>

	* class.cs, decl.cs: Fixed problem where IndexerName attribute was ignored
        in the member name duplication tests. Property and operator name duplication
        was missing too (error tests cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs).

2004-02-03  Marek Safar  <[email protected]>

	* interface.cs (PopulateMethod): Fixed crash when interface method
	returns not existing type (error test cs0246-3.cs).

2004-02-02  Ravi Pratap M <[email protected]>

	* cs-parser.jay (interface_accessors): Re-write actions to also
	store attributes attached to get and set methods. Fix spelling
	while at it.

	(inteface_property_declaration): Modify accordingly.

	(InterfaceAccessorInfo): New helper class to store information to pass
	around between rules that use interface_accessors.

	* interface.cs (Emit): Apply attributes on the get and set
	accessors of properties and indexers too.

	* attribute.cs (ApplyAttributes): Modify accordingly to use the
	right MethodBuilder when applying attributes to the get and set accessors.

2004-01-31  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs: Applied patch from Marek Safar to fix bug 53386

2004-01-26  Miguel de Icaza  <[email protected]>

	* cs-tokenizer.cs: Handle #line hidden from PDC bits.

2004-01-25  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Remove YIELD token, instead use the new grammar
	changes that treat `yield' specially when present before `break'
	or `return' tokens.

	* cs-tokenizer.cs: yield is no longer a keyword.

2004-01-23  Marek Safar  <[email protected]>

	* cs-parser.jay, class.cs (DefineDefaultConstructor): Fixed ModFlags
        setting for default constructors.
	For default constructors are almost every time set wrong Modifier. The
	generated IL code has been alright. But inside mcs this values was
	wrong and this was reason why several of my CLS Compliance tests
	failed.

svn path=/trunk/mcs/; revision=23525
2004-02-27 07:36:00 +00:00
Miguel de Icaza d2623195b7 2004-02-27 Miguel de Icaza <[email protected]>
* typemanager.cs (GetFullNameSignature): Improve the method to
	cope with ".ctor" and replace it with the type name.

	* class.cs (ConstructorInitializer.Resolve): Now the method takes
	as an argument the ConstructorBuilder where it is being defined,
	to catch the recursive constructor invocations.

svn path=/trunk/mcs/; revision=23524
2004-02-27 06:49:46 +00:00
Miguel de Icaza 96cb22f570 2004-02-26 Miguel de Icaza <[email protected]>
* iterators.cs (IteratorHandler.IsIEnumerator, IsIEnumerable): New
	routines to check if a type is an enumerable/enumerator allow
	classes that implement the IEnumerable or IEnumerator interfaces.

	* class.cs (Property, Operator): Implement IIteratorContainer, and
	implement SetYields.

	(Property.Define): Do the block swapping for get_methods in the
	context of iterators.   We need to check if Properties also
	include indexers or not.

	(Operator): Assign the Block before invoking the
	OperatorMethod.Define, so we can trigger the Iterator code
	replacement.

	* cs-parser.jay (SimpleIteratorContainer): new helper class.  Both
	Property and Operator classes are not created when we parse the
	declarator but until we have the block completed, so we use a
	singleton SimpleIteratorContainer.Simple to flag whether the
	SetYields has been invoked.

	We propagate this setting then to the Property or the Operator to
	allow the `yield' to function.

svn path=/trunk/mcs/; revision=23523
2004-02-27 06:39:38 +00:00
Martin Baulig 7c3a55af5d Killed the junk at the beginning of the file.
svn path=/trunk/mcs/; revision=23522
2004-02-27 06:07:09 +00:00
Anirban Bhattacharjee 1726cd69e3 Deleting vb files starting with lowercase
svn path=/trunk/mcs/; revision=23521
2004-02-27 06:00:52 +00:00
Anirban Bhattacharjee 9d19dc3c98 Deleting files starting with lowercase 'i', 'l' and 'm'
svn path=/trunk/mcs/; revision=23520
2004-02-27 05:50:58 +00:00
Anirban Bhattacharjee 7de4052b45 Deleting files starting with lowercase 'd' and 'e'.
svn path=/trunk/mcs/; revision=23519
2004-02-27 05:40:21 +00:00
Anirban Bhattacharjee 39644ef563 Deleting all the files starting with lower case 'b' and 'c'.
svn path=/trunk/mcs/; revision=23518
2004-02-27 05:35:17 +00:00
Anirban Bhattacharjee 2985b751be Deleting all the files starting with lower case 'a'.
svn path=/trunk/mcs/; revision=23517
2004-02-27 05:29:42 +00:00
Anirban Bhattacharjee adb68251d8 Wrong name
svn path=/trunk/mcs/; revision=23516
2004-02-27 05:25:03 +00:00
Martin Baulig 4231068bb3 Made it even more complex :-)
svn path=/trunk/mcs/; revision=23515
2004-02-27 04:30:06 +00:00
Martin Baulig 0901e5dd24 Updated.
svn path=/trunk/mcs/; revision=23513
2004-02-27 02:39:57 +00:00
Martin Baulig e0b3d5c9c7 2004-02-27 Martin Baulig <[email protected]>
* generics.cs (ConstructedType.ResolveType): Make the nested type
	stuff actually work.

svn path=/trunk/mcs/; revision=23512
2004-02-27 02:37:55 +00:00
Martin Baulig 6a8c933d1a 2004-02-27 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters): Take a
	`MonoReflectionType *' instead of a `MonoType *'.

svn path=/trunk/mono/; revision=23511
2004-02-27 02:34:45 +00:00
Lluis Sanchez 5871bdbbd1 * MapCodeGenerator.cs: Added IncludeMetadata property, which returns a list
of XmlInclude attributes needed for the service class.
	  IsMapExported: Removed check for object type, since it can now be exported.
	  SetMapExported: Use the type name as key, since different importers may
	  be used to create a map for the same type.
	  GenerateClassInclude: Updated signature.
	* SoapCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
	  GenerateClassInclude(): Updated signature.
	* SoapReflectionImporter.cs: Support SoapIncludeAttribute in array members.
	  Implemented IncludeTypes.
	* XmlCodeExporter.cs: Moved management of IncludeMetadata to MapCodeGenerator.
	  GenerateClassInclude(): Updated signature.
	* XmlMemberMapping.cs: Added missing property.
	* XmlReflectionImporter.cs: GetReflectionMembers must be private.
	  Implemented IncludeTypes().
	* XmlSchemaExporter.cs: Added support for exporting typeof(object).
	* XmlSchemaImporter.cs: Changed the implementation of ImportDerivedTypeMapping.
	  Now, it does a regular import and then assign the required base class to
	  the imported map. In this way it is possible to assign a base type for a
	  map that was previously imported without a base type.
	* XmlTypeMapping.cs: Added internal method SetRoot().

svn path=/trunk/mcs/; revision=23510
2004-02-27 00:03:45 +00:00
Sebastien Pouliot ff868eb33c 2004-02-26 Sebastien Pouliot <[email protected]>
* certmgr.1, setreg.1: New. Man files for new security tools.
	* man.xml: updated to include new tools certmgr and setreg.
	* Makefile.am: update to include certmgr and setreg.

svn path=/trunk/mono/; revision=23509
2004-02-26 22:08:01 +00:00
Miguel de Icaza d0174bee8d Flushage
svn path=/trunk/mono/; revision=23508
2004-02-26 21:48:35 +00:00
Sebastien Pouliot 46b5f13fc5 2004-02-26 Sebastien Pouliot <[email protected]>
* cert2spc.in, makecert.in, setreg.in, certmgr.in: New.
	* Makefile.am: added cert2spc, mmakecert, setreg, certmgr.
	* .cvsignore: update to ignore all generated files.

svn path=/trunk/mono/; revision=23505
2004-02-26 21:28:12 +00:00
Sebastien Pouliot 76898f3746 2004-02-26 Sebastien Pouliot <[email protected]>
* System.dll.sources: Added System.Net/DefaultCertificatePolicy.cs to
	the build.

svn path=/trunk/mcs/; revision=23494
2004-02-26 18:50:37 +00:00
Sebastien Pouliot a8e2c3fb6e 2004-02-26 Sebastien Pouliot <[email protected]>
* DefaultCertificatePolicy.cs: New. Certificate validation
	policy compatible with the documented one present in Fx. It
	allows valid certificates and expired certificates to be used
	for SSL connections.
	* ServicePointManager.cs: Removed the DummyPolicy. Now creates
	a DefaultCertificatePolicy to validate certificates.

svn path=/trunk/mcs/; revision=23493
2004-02-26 18:48:09 +00:00
Sebastien Pouliot b713cfcc48 2004-02-26 Sebastien Pouliot <[email protected]>
* TlsServerCertificate.cs: Certificate validation has been activated.

svn path=/trunk/mcs/; revision=23491
2004-02-26 18:30:37 +00:00
Jordi Mas i Hernandez 2de3b71ce2 fix tests
svn path=/trunk/mcs/; revision=23490
2004-02-26 16:50:52 +00:00
Sebastien Pouliot bf6957c121 2004-02-26 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Ajusted versions, informations and copyrights.
	* certmgr.cs: New. Very limited certificate manager. Allow to add new
	certificates into the Trusted certificate store.
	* Makefile: Added certmgr and setreg to the build.
	* README: Updated.
	* setreg.cs: New. Allow to add/remove test root certificates from the
	trusted certificate store.

svn path=/trunk/mcs/; revision=23489
2004-02-26 15:25:30 +00:00
Sebastien Pouliot dc94a4e519 2004-02-26 Sebastien Pouliot <[email protected]>
* X509Store.cs: Changed not to use base64 in filenames as it can
	conflict with path separators. Now use plain hex. Now catch
	incorrectly encoded certificates / CRL in stores. Added Name property.

svn path=/trunk/mcs/; revision=23488
2004-02-26 14:57:44 +00:00
Zoltan Varga 5b7199220f 2004-02-26 Zoltan Varga <[email protected]>
* mini.c (mini_method_compile): Reenable global regalloc in methods
	with exception handlers.

	* linear-scan.c (mono_varlist_sort): Fix warning.

	* linear-scan.c (mono_linear_scan): Fix computation of used_regs.

	* mini-x86.c (mono_arch_regalloc_cost): Reenable precise computation of
	regalloc costs.

svn path=/trunk/mono/; revision=23487
2004-02-26 13:58:52 +00:00
Zoltan Varga 064328361f 2004-02-26 Zoltan Varga <[email protected]>
* liveness.c: Make all variables uses in exception clauses volatile, to
	prevent them from being allocated to registers. Fixes #42136.

svn path=/trunk/mono/; revision=23486
2004-02-26 13:54:08 +00:00
Zoltan Varga aa003c0cae 2004-02-26 Zoltan Varga <[email protected]>
* gc.c (run_finalize): Avoid finalizing the object representing the
	finalizer thread.
	(finalizer_thread): Fix warning.

svn path=/trunk/mono/; revision=23485
2004-02-26 13:47:59 +00:00
Sebastien Pouliot 870ea74981 2004-02-26 Sebastien Pouliot <[email protected]>
* DES.cs: Same fix as for SymmetricAlgorithm (get_Key is
	overridden to check for weak keys). Also ensured that no weak keys
	would be generated.
	* SymmetricAlgorithm.cs: Return a copy of the key (and IV) so it
	doesn't get destroyed when dispose is called (in this case the key
	zeroization is the caller's responsability). Match MS implementation.
	* TripleDES.cs: Same fix as for SymmetricAlgorithm (get_Key is
	overridden to check for weak keys). Fix bugzilla #54868.

svn path=/trunk/mcs/; revision=23484
2004-02-26 13:46:42 +00:00
Carlos Guzmán Álvarez 1d99d20dda Added HandshakeState.cs file to the source list
svn path=/trunk/mcs/; revision=23483
2004-02-26 10:51:22 +00:00
Carlos Guzmán Álvarez 9b9cdb827b 2004-02-26 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/HandshakeState.cs:

		- New file.

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

		- Modified the level of some alerts according to the RFC.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:
	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/ClientContext.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

		- Added changes for better handling of ClientHelloRequest messages.

svn path=/trunk/mcs/; revision=23482
2004-02-26 10:50:55 +00:00
Carlos Guzmán Álvarez 8c11119ca1 Updated information about the Firebird ADO.NET data provider
svn path=/trunk/mono/; revision=23481
2004-02-26 10:36:06 +00:00
Atsushi Eno b46e22b92a 2004-02-26 Atsushi Enomoto <[email protected]>
* XmlSchemaCollection.cs : Implemented SyncRoot and IsSynchronized
	  (as always synchronized).

svn path=/trunk/mcs/; revision=23480
2004-02-26 10:18:21 +00:00
Atsushi Eno 98b2cc747c 2004-02-26 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs : Close XmlReader when we passed uri.

svn path=/trunk/mcs/; revision=23479
2004-02-26 10:13:33 +00:00
Gonzalo Paniagua Javier 167ad12050 2004-02-26 Gonzalo Paniagua Javier <[email protected]>
* ServicePoint.cs: SendContinue is always false for HTTP/1.0

	* WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
	calling more the ContinueDelegate more than once when we get the
	headers in several packets.

	* WebConnectionStream.cs: removed call to WaitForContinue.

svn path=/trunk/mcs/; revision=23477
2004-02-26 01:35:43 +00:00
Rafael Teixeira a95d085f04 First try at bug #52067 - Incomplete and hardcoded
svn path=/trunk/mcs/; revision=23476
2004-02-26 01:02:45 +00:00
Sebastien Pouliot 8a014ba092 2004-02-25 Sebastien Pouliot <[email protected]>
* WebConnection.cs: Update previous patch to use HttpsClientStream
	(internal in Mono.Security assembly) in place of SslClientStream.
	This will reduce reflection and allow to use ICertificatePolicy.

svn path=/trunk/mcs/; revision=23469
2004-02-25 20:50:21 +00:00
Sebastien Pouliot 05d95a9109 2004-02-25 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added new internal class HttpsClientStream
	in Mono.Security.Protocol.Tls to the build.

svn path=/trunk/mcs/; revision=23468
2004-02-25 20:42:30 +00:00
Sebastien Pouliot 218e3b8898 2004-02-25 Sebastien Pouliot <[email protected]>
* HttpsClientStream.cs: New. Internal glue class between System.dll
	WebConnection and SslClientStream to reduce reflection.
	* SslClientStream.cs: RaiseServerCertificateValidation is now virtual
	to allow HttpsClientStream to override it.

svn path=/trunk/mcs/; revision=23467
2004-02-25 20:40:19 +00:00
Jackson Harper 7b2887c8bf * File.cs: Report the filename when deleting a file fails. Patch
by Gert Driesen. Fixes bug #54855.

svn path=/trunk/mcs/; revision=23464
2004-02-25 19:56:33 +00:00
Jackson Harper 74e543f3fe * ResourceReaderTest.cs: Make work on windows.
svn path=/trunk/mcs/; revision=23463
2004-02-25 19:47:18 +00:00
Atsushi Eno d0ae4d99ad 2004-02-25 Atshushi Enomoto <[email protected]>
* testing : added XML and RELAX NG standalone test info.
	* xml-classes : updates

svn path=/trunk/mono/; revision=23462
2004-02-25 19:34:19 +00:00
Atsushi Eno db521d33d2 2004-02-25 Atsushi Enomoto <[email protected]>
* Added README, Makefile, relaxngtest.cs, prep.xsl, copying.html
	  and ChangeLog.

svn path=/trunk/mcs/; revision=23461
2004-02-25 19:27:25 +00:00
Atsushi Eno 6d7a883f8f 2004-02-25 Atsushi Enomoto <[email protected]>
* Removed
	  - RngGrammar.cs
	  - RngNameClass.cs
	  - RngPattern.cs
	  - RngPatternType.cs
	  They are moved to RelaxngXXX.cs and improved

svn path=/trunk/mcs/; revision=23460
2004-02-25 18:47:40 +00:00
Atsushi Eno 9bb01ef796 2004-02-25 Atsushi Enomoto <[email protected]>
* Added RdpContextType.cs.
	* RdpNameClasses.cs,
	  RdpObjects.cs,
	  RdpPatterns.cs,
	  Util.cs : radical design change (too many things to write up).

svn path=/trunk/mcs/; revision=23459
2004-02-25 18:44:22 +00:00
Atsushi Eno db66416a0c 2004-02-25 Atsushi Enomoto <[email protected]>
* Added
	  - RelaxngDatatype.cs
	  - RelaxngDatatypeProvider.cs
	  - RelaxngDefaultDatatypes.cs
	  - RelaxngException.cs
	  - RelaxngGrammar.cs
	  - RelaxngMergedProvider.cs
	  - RelaxngNameClass.cs
	  - RelaxngPattern.cs
	  - RelaxngPatternType.cs
	  - XsdDatatypeProvider.cs
	* Misc.cs,
	  RelaxngReader.cs,
	  RelaxngValidatingReader.cs : Radical design changes.

	In short:
	  - API redesign (renaming RngXxx to RelaxngXxx)
	  - Strict grammar validation
	  - Datatype support (XML Schema primitive datatypes)
	  - Some derivative bugfixes such as list validation.

svn path=/trunk/mcs/; revision=23458
2004-02-25 18:43:18 +00:00
Atsushi Eno dcf65bd1a5 2004-02-25 Atsushi Enomoto <[email protected]>
* XmlDefaultReader.cs : Added support for IXmlLineInfo.

svn path=/trunk/mcs/; revision=23457
2004-02-25 18:40:28 +00:00
Atsushi Eno 7e05ea7b17 2004-02-25 Atsushi Enomoto <[email protected]>
* Added README.
	* Commons.Xml.Relaxng.dll.sources : added many new files.

svn path=/trunk/mcs/; revision=23456
2004-02-25 18:40:04 +00:00
Andreas N 82465ed656 2004-02-25 Andreas Nahr <[email protected]>
* PrivateFontCollection.cs: Removed excess attributes

svn path=/trunk/mcs/; revision=23455
2004-02-25 18:26:53 +00:00
Andreas N 83c3ae5292 2004-02-25 Andreas Nahr <[email protected]>
* FontCollection.cs: Remove console

svn path=/trunk/mcs/; revision=23454
2004-02-25 18:22:18 +00:00
Jordi Mas i Hernandez d4334ad8dd fontcollection wrapper and fixes
svn path=/trunk/mcs/; revision=23453
2004-02-25 18:01:55 +00:00
Martin Baulig be5de83a4e Small fix in my previous commit.
svn path=/trunk/mono/; revision=23451
2004-02-25 17:11:20 +00:00
Martin Baulig 2c28c2086b Added two test cases.
svn path=/trunk/mcs/; revision=23450
2004-02-25 17:11:10 +00:00
Sebastien Pouliot e5bd01140d 2004-02-25 Sebastien Pouliot <[email protected]>
* tlstest.cs: Updated to support Basic and Digest authentication. Also
	support ICertificatePolicy for WebRequests.

svn path=/trunk/mcs/; revision=23448
2004-02-25 15:43:52 +00:00
Francisco Figueiredo Jr. 4678509ff4 2004-02-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.

        * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=23447
2004-02-25 15:37:43 +00:00
Francisco Figueiredo Jr. befaf8378e 2004-02-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.

svn path=/trunk/mcs/; revision=23446
2004-02-25 15:37:08 +00:00
Francisco Figueiredo Jr. ec9b0db7de 2004-02-25 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <[email protected]> for the patch.

svn path=/trunk/mcs/; revision=23445
2004-02-25 15:36:10 +00:00
Jordi Mas i Hernandez 836563df6e no handle support anytime soon
svn path=/trunk/mcs/; revision=23444
2004-02-25 15:26:03 +00:00
Gonzalo Paniagua Javier cbb4a1f031 updated
svn path=/trunk/mcs/; revision=23442
2004-02-25 14:41:02 +00:00
Gonzalo Paniagua Javier b061603e78 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
* DigestClient.cs: fix quote handling. Reordered attributes in response.
	Fixed typo (QOP->CNonce).

svn path=/trunk/mcs/; revision=23441
2004-02-25 14:34:42 +00:00
Gonzalo Paniagua Javier e95463527a Workaround weird bug #54839 in mcs
svn path=/trunk/mono/; revision=23440
2004-02-25 14:32:17 +00:00
Zoltan Varga efd401836f 2004-02-25 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_regalloc_cost): Revert this change since it
	causes regressions.

svn path=/trunk/mono/; revision=23439
2004-02-25 13:34:55 +00:00
Zoltan Varga 397be802c0 2004-02-25 Zoltan Varga <[email protected]>
* mini.h linear-scan.c mini-x86.c mini-sparc.c mini-ppc.c: Add 'cfg'
	argument to mono_arch_regalloc_cost.

	* mini-x86.c (mono_arch_regalloc_cost): Compute regalloc costs
	precisely.

svn path=/trunk/mono/; revision=23438
2004-02-25 13:16:49 +00:00
Martin Baulig c4425ddc1f 2004-02-25 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.CurrentTypeParameters): New protected
	property; returns the type parameters just from the current type,
	ie. with the ones from outer classes.
	(DeclSpace.LookupGeneric): First search in the current class, then
	in outer classes.
	(DeclSpace.initialize_type_params): When hiding a type parameter
	from an outer class, put it into the `type_param_list' anyways.

	* expression.cs (MemberAccess.expr): Made this field protected.

	* class.cs (TypeContainer.Define): The `CurrentType' just contains
	the type parameters from the current class.

	* generic.cs (ConstructedType.ResolveType): Support nested generic
	types by taking the type parameters which we inherit from outer
	classes into account.
	(GenericMemberAccess.ResolveAsTypeStep): Override this and added
	support for nested generic types.

svn path=/trunk/mcs/; revision=23437
2004-02-25 11:53:36 +00:00
Atsushi Eno 40c75c7f96 2004-02-25 Atsushi Enomoto <[email protected]>
* XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
	  This fixes indentation bug.

svn path=/trunk/mcs/; revision=23436
2004-02-25 11:07:18 +00:00
Martin Baulig 0858fb4621 2004-02-25 Martin Baulig <[email protected]>
* class.c (_mono_class_get_instantiation_name): Added `int offset'
	argument for nested types.
	(mono_class_create_generic): Added support for nested generictypes.

	* class.h (MonoGenericInst): Added `MonoType *nested_in' and
	`GList *nested'.

	* icall.c (ves_icall_MonoGenericInst_GetNestedTypes): New icall.

	* reflection.c (method_encode_signature): Increase the minimum
	value of `size' from 10 to 11.
	(mono_reflection_bind_generic_parameters): Take `int type_argc'
	and `MonoType **types' arguments instead of the `MonoArray
	*types'; added `MonoType *nested_in'.  Recursively instantiate
	nested classes.

svn path=/trunk/mono/; revision=23435
2004-02-25 11:06:02 +00:00
Jordi Mas i Hernandez bfa37a2f9a stringformat clone method
svn path=/trunk/mcs/; revision=23434
2004-02-25 10:25:31 +00:00
Jordi Mas i Hernandez 392044053d clone test method
svn path=/trunk/mcs/; revision=23433
2004-02-25 10:23:58 +00:00
Martin Baulig e15f351744 2004-02-25 Martin Baulig <[email protected]>
* MonoGenericInst.cs
	(MonoGenericInst.GetNestedTypes): Override this.

svn path=/trunk/mcs/; revision=23432
2004-02-25 10:22:22 +00:00
Gonzalo Paniagua Javier 03131505b1 2004-02-25 Gonzalo Paniagua Javier <[email protected]>
* DigestClient.cs: removed Console.
	* HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.

svn path=/trunk/mcs/; revision=23431
2004-02-25 09:44:23 +00:00
Marek Safar d46c8ffbfb 2004-02-25 Marek Safar <[email protected]>
* Makefile: Enable test-230.

svn path=/trunk/mcs/; revision=23430
2004-02-25 09:15:54 +00:00
Marek Safar 6cbecfe7af 2004-02-25 Marek Safar <[email protected]>
* codegen.cs: Implemented attribute support for modules.
        New AssemblyClass, ModuleClass and CommonAssemblyModulClass for
        Assembly/Module functionality.

        * attribute.cs, class.cs, cs-parser.jay, delegate.cs, driver.cs, enum.cs
        interface.cs, rootcontext.cs, statement.cs, typemanager.cs:
        Updated dependencies on CodeGen.ModuleBuilder and CodeGen.AssemblyBuilder.

svn path=/trunk/mcs/; revision=23429
2004-02-25 09:11:13 +00:00
Gonzalo Paniagua Javier e34a1247f3 s/doc\//web\//g
svn path=/trunk/mono/; revision=23428
2004-02-25 09:09:27 +00:00
Miguel de Icaza 456da5db6a Remove duplicate
svn path=/trunk/mcs/; revision=23427
2004-02-25 04:19:55 +00:00
Miguel de Icaza 8c90d29704 Love the Makefile
svn path=/trunk/mono/; revision=23426
2004-02-25 04:07:57 +00:00
Miguel de Icaza 8546395110 Update this one too
svn path=/trunk/mono/; revision=23425
2004-02-25 04:04:24 +00:00
Sebastien Pouliot a61c145e4d 2004-02-18 Sebastien Pouliot <[email protected]>
* DigestClient.cs: Fixed issue with Apache server which do not use "
	for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").

svn path=/trunk/mcs/; revision=23424
2004-02-25 02:39:04 +00:00
Miguel de Icaza 61d193f7cf Update this one too
svn path=/trunk/mono/; revision=23423
2004-02-25 02:12:52 +00:00
Pedro Abelleira Seco 76499c7fc7 Got a slightly better photo
svn path=/trunk/mono/; revision=23422
2004-02-24 21:11:18 +00:00
Lluis Sanchez d568c76f4c Little fix
svn path=/trunk/mono/; revision=23421
2004-02-24 20:02:47 +00:00
Gonzalo Paniagua Javier 845610468b 2004-02-24 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: we were loading web.config from / always!
	Thanks to Lluis for noticing this.

svn path=/trunk/mcs/; revision=23420
2004-02-24 19:42:53 +00:00
Zoltan Varga 636f1534c1 2004-02-24 Zoltan Varga <[email protected]>
* mini.h mini-x86.c mini-ppc.c mini-sparc.c linear-scan.c:
	Make the cost of allocating a variable to a register arch dependent.

svn path=/trunk/mono/; revision=23419
2004-02-24 19:19:35 +00:00
Zoltan Varga 7cfd216582 2004-02-24 Zoltan Varga <[email protected]>
* basic-calls.cs: Fix compilation of tests.

svn path=/trunk/mono/; revision=23418
2004-02-24 19:13:49 +00:00
Zoltan Varga de8dcf3639 2004-02-24 Zoltan Varga <[email protected]>
* mini.h mini.c tramp-x86.c mini-x86.c: Add mono_running_on_valgrind ()
	helper function to cut back on the number of #ifdefs needed.

svn path=/trunk/mono/; revision=23417
2004-02-24 18:17:20 +00:00
Miguel de Icaza a8a4b5fe46 Update Makefile
svn path=/trunk/mono/; revision=23416
2004-02-24 18:12:34 +00:00
Miguel de Icaza a7ad8049be Remove
svn path=/trunk/mono/; revision=23415
2004-02-24 18:11:31 +00:00
Miguel de Icaza f9b4cc01b4 remove files, they moved to mono/docs
svn path=/trunk/mono/; revision=23414
2004-02-24 18:10:55 +00:00
Miguel de Icaza ac74a66ad7 Update Makefile
svn path=/trunk/mono/; revision=23413
2004-02-24 18:10:37 +00:00
Miguel de Icaza 4f00a9f76f Remove doc directory
svn path=/trunk/mono/; revision=23412
2004-02-24 18:05:41 +00:00
Miguel de Icaza 8cdb27ac59 Add amd64 support patch from Zalman Stern
svn path=/trunk/mono/; revision=23411
2004-02-24 18:01:50 +00:00
Miguel de Icaza b65b557d7e Add support amd64 patch from Zalman Stern
svn path=/trunk/mono/; revision=23409
2004-02-24 18:00:30 +00:00
Miguel de Icaza 32a8ab7150 Add support amd64 to the atomic functions patch from Zalman Stern
svn path=/trunk/mono/; revision=23408
2004-02-24 17:58:16 +00:00
Miguel de Icaza f610e779dc Add support for detecting amd64 patch from Zalman Stern + report NPTL use
svn path=/trunk/mono/; revision=23407
2004-02-24 17:57:22 +00:00
Miguel de Icaza f7f25f09d6 Rename function, to fix build
svn path=/trunk/mono/; revision=23406
2004-02-24 17:47:12 +00:00
Carlos Guzmán Álvarez a718de8a82 Updated Mono.Security sources list
svn path=/trunk/mcs/; revision=23405
2004-02-24 17:20:41 +00:00
Carlos Guzmán Álvarez 56581e5e68 2004-02-24 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsCloseNotifyAlert.cs:

		- Removed File.

	* Mono.Security.Protocol.Tls.Alerts/TlsAlerts.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SslServerStream.cs:

		- Reimplementation of TLS/SSL Alert Protocol.

svn path=/trunk/mcs/; revision=23404
2004-02-24 17:20:04 +00:00
Zoltan Varga 1c024a73f7 2004-02-24 Zoltan Varga <[email protected]>
* mini-ppc.c: Fix compilation.

svn path=/trunk/mono/; revision=23403
2004-02-24 15:03:52 +00:00
Zoltan Varga 013eff5731 2004-02-24 Zoltan Varga <[email protected]>
* basic-calls.cs: New regression tests.

svn path=/trunk/mono/; revision=23402
2004-02-24 14:34:07 +00:00
Zoltan Varga 517e91065f 2004-02-24 Zoltan Varga <[email protected]>
* cpu-sparc.md: Ongoing sparc work.

svn path=/trunk/mono/; revision=23401
2004-02-24 14:32:21 +00:00
Zoltan Varga cbca1a8c11 2004-02-24 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_sparc_is_virtual_call): New helper function.

	* tramp-sparc.c (create_specific_trampoline): Use g5 register instead
	of l0 since that is callee saved.

	* tramp-sparc.c (sparc_magic_trampoline): Apply unbox trampoline only
	to virtual calls.

	* mini-sparc.c: Ongoing work + flag virtual calls with a special kind
	of delay instruction.

svn path=/trunk/mono/; revision=23400
2004-02-24 14:30:58 +00:00
Zoltan Varga 73e7677ac7 2004-02-24 Zoltan Varga <[email protected]>
* inssel.brg (OP_CHECK_THIS): Set tree->sreg1 and dreg correctly.

	* mini.h (MonoCallInst): Add 'virtual' flag.

	* inssel.brg (mini_emit_virtual_call): Set 'virtual' flag.

svn path=/trunk/mono/; revision=23399
2004-02-24 14:28:14 +00:00
Sebastien Pouliot 67e7c14102 2004-02-24 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Add support for the OID "1.3.14.3.2.29" (SHA1
	with RSA). Added a fix for "really" null algorithm parameters.
	* X509CertificateCollection.cs: Fixed Contains and IndexOf (worked
	on objects but not for the same certificate in a different object).

svn path=/trunk/mcs/; revision=23398
2004-02-24 14:15:30 +00:00
Andreas N 5df5ba5a5e 2004-02-24 Andreas Nahr <[email protected]>
* IWindowsFormsEditorService.cs: Corrected casing,
	  it is not yet corrected in the filename, implemented

svn path=/trunk/mcs/; revision=23397
2004-02-24 14:05:48 +00:00
Andreas N 7cc0de4bc4 2004-02-24 Andreas Nahr <[email protected]>
* BitmapEditor.cs
	* FontEditor.cs
	* FontNameEditor.cs
	* IconEditor.cs
	* ImageEditor.cs
	* MetafileEditor.cs
	* ColorEditor.cs: beautifications

	* ContentAlignmentEditor.cs
	* CursorEditor.cs: Implemented a simple UI
	* ColorEditor.cs: Implemented a simple UI

svn path=/trunk/mcs/; revision=23396
2004-02-24 14:01:31 +00:00
Jordi Mas i Hernandez 08e4cafdb0 font clone, tostring, and fix
svn path=/trunk/mcs/; revision=23395
2004-02-24 12:23:20 +00:00
Lluis Sanchez d3d61f99ea System.Xml.dll.sources: Added SerializationSource.cs.
svn path=/trunk/mcs/; revision=23394
2004-02-24 12:05:35 +00:00
Lluis Sanchez 331cb3ce95 Added
svn path=/trunk/mcs/; revision=23393
2004-02-24 12:04:45 +00:00
Lluis Sanchez 95d2d48bb3 * SerializationCodeGenerator.cs: Added support for generation of readers
and writers for several maps in a single class. Added support for
	  XmlMemberMapping. Fixed generation of serializers that use encoded format.
	* SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
	  SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
	  XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
	  XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
	  XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
	  XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
	  XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
	  Added InternalEquals method.
	* XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
	* SoapReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlCustomFormatter.cs: Fixed little bug.
	* XmlMapping.cs: Added Source property. This a global identifier of the map.
	* XmlReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
	  mapping members.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
	* XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
	  correctly used.
	* XmlSerializer.cs: Added support for generation of serializers.

svn path=/trunk/mcs/; revision=23392
2004-02-24 12:03:28 +00:00
Peter Dennis Bartok 28a04e9069 - Prevented duplicate free
svn path=/trunk/mcs/; revision=23390
2004-02-24 04:49:00 +00:00
Ben Maurer 389e224631 explain
svn path=/trunk/mcs/; revision=23389
2004-02-24 02:39:21 +00:00
Gonzalo Paniagua Javier c99c937d09 Remove utf8 markers in wrong place. Fixes bug #54493.
svn path=/trunk/mono/; revision=23388
2004-02-24 01:53:40 +00:00
Gonzalo Paniagua Javier 4083e2eb85 2004-02-24 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: remove dangling ^Ms.

svn path=/trunk/mcs/; revision=23387
2004-02-24 00:42:25 +00:00
Gonzalo Paniagua Javier 555444c023 2004-02-24 Gonzalo Paniagua Javier <[email protected]>
* Binder.cs:
	(SelectProperty): check the return Type if provided.

svn path=/trunk/mcs/; revision=23385
2004-02-23 23:13:58 +00:00
Martin Baulig f37e74ed38 2004-02-23 Martin Baulig <[email protected]>
* gen-40.cs: New generics test.

svn path=/trunk/mcs/; revision=23383
2004-02-23 22:28:08 +00:00
Martin Baulig 94c59b8ac9 2004-02-23 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.IsGeneric): Make this a property instead of a
	field and check whether we're nested inside a generic type.
	(DeclSpace.ResolveType): If we're resolving to a generic type
	definition, create a ConstructedType and return its resolved type.
	(DeclSpace.initialize_type_params): New private method;
	initializes the `type_param_list' field from the type parameters
	from this and all enclosing classes.
	(DeclSpace.TypeParameters): Call initialize_type_params() unless
	we're already initialized.

svn path=/trunk/mcs/; revision=23382
2004-02-23 22:25:54 +00:00
Sebastien Pouliot 31cd4fba72 2004-02-23 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Removed TestAnchors.cs (no need to be hardcoded anymore).

svn path=/trunk/mcs/; revision=23381
2004-02-23 20:25:24 +00:00
Sebastien Pouliot f5359d79ca 2004-02-23 Sebastien Pouliot <[email protected]>
* TestAnchors.cs: Removed - no need to be hardcoded anymore.

svn path=/trunk/mcs/; revision=23380
2004-02-23 20:23:29 +00:00
Sebastien Pouliot fa80037857 2004-02-23 Sebastien Pouliot <[email protected]>
* TestAnchors.cs: Removed - no need to be hardcoded anymore.
	* X509Chain.cs: Updated to use the new store for trusted roots.

svn path=/trunk/mcs/; revision=23379
2004-02-23 20:19:46 +00:00
Sebastien Pouliot 9e11a97715 2004-02-23 Sebastien Pouliot <[email protected]>
* Added new CRL and store support. Removed old (unused) store interface.

svn path=/trunk/mcs/; revision=23378
2004-02-23 20:07:32 +00:00
Sebastien Pouliot 21ec5195c8 2004-02-23 Sebastien Pouliot <[email protected]>
* X509CRL.cs: New. Certificate Revocation List v1/v2 support.
	* X509Store.cs: New. Managed each individual store (with or
	without CRL support).
	* X509StoreManager.cs: New. Certificate Store Manager to access
	user and machine stores and to merge them when required.
	* X509Stores.cs: New. Certificate stores group for either the
	current user or the local machine.

svn path=/trunk/mcs/; revision=23377
2004-02-23 20:06:12 +00:00
Sebastien Pouliot 1e431b5d1e 2004-02-23 Sebastien Pouliot <[email protected]>
* CRLDistributionPointsExtension.cs: Fix some warnings.
	* SubjectKeyIdentifierExtension.cs: Added new Identifier property.

svn path=/trunk/mcs/; revision=23376
2004-02-23 20:01:40 +00:00
Sebastien Pouliot 28954dfe0d 2004-02-23 Sebastien Pouliot <[email protected]>
* BigInteger.cs: For some strange reason v1.10 won't compile with mcs.
	There's something strange about it.

svn path=/trunk/mcs/; revision=23373
2004-02-23 16:14:04 +00:00
Zoltan Varga 293251711a 2004-02-23 Zoltan Varga <[email protected]>
* many-locals.cs: Add tests for locals with large stack frame offsets.

svn path=/trunk/mono/; revision=23372
2004-02-23 16:10:34 +00:00
Zoltan Varga ab87383230 2004-02-23 Zoltan Varga <[email protected]>
* *.cs: New regression tests.

svn path=/trunk/mono/; revision=23371
2004-02-23 16:09:37 +00:00
Zoltan Varga 99fe9fa6bf 2004-02-23 Zoltan Varga <[email protected]>
* mini-sparc.c inssel-sparc.brg: Update after latest changes. Ongoing sparc
	work.

svn path=/trunk/mono/; revision=23370
2004-02-23 16:07:07 +00:00
Ben Maurer c9cd9095cb 2004-02-23 Ben Maurer <[email protected]>
* String.cs (Equals): Speed up this method by avoiding ABC
	and by comparing by 32 bit words rather than 16 bit chars.

	This gives between 0x (for 1 char) and >2x (for large strings)
	factor of improvement.

	A big thanks to Miguel, who suggested the integer compares.

svn path=/trunk/mcs/; revision=23369
2004-02-23 16:05:30 +00:00
Gonzalo Paniagua Javier b049625d11 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: use the binder in GetPropertyImpl.

svn path=/trunk/mcs/; revision=23368
2004-02-23 16:02:30 +00:00
Sebastien Pouliot de04e93c51 2004-02-23 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Typo

svn path=/trunk/mcs/; revision=23367
2004-02-23 15:58:28 +00:00
Sebastien Pouliot 0bad174a93 2004-02-23 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Corrected isProbablePrime by removing the redundant
	loop. Fix #54750.

svn path=/trunk/mcs/; revision=23366
2004-02-23 15:56:34 +00:00
Zoltan Varga 3ec176cbad 2004-02-23 Zoltan Varga <[email protected]>
* mini.c (mono_runtime_install_handlers): Fix build.

svn path=/trunk/mono/; revision=23365
2004-02-23 15:52:13 +00:00
Carlos Guzmán Álvarez b55f58e962 Update Mono.Security sources list
svn path=/trunk/mcs/; revision=23364
2004-02-23 14:58:35 +00:00
Carlos Guzmán Álvarez 31b14afc11 2004-02-23 Carlos Guzman Alvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsContext.cs:

		- Removed file, implementation is now present in:

			Context.cs
			ClientContext.cs
			ServerContext.cs

	* Mono.Security.Protocol.Tls/Context.cs:
	* Mono.Security.Protocol.Tls/ClientContext.cs:
	* Mono.Security.Protocol.Tls/ServerContext.cs:
	* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:

		 - New classes.

	* Mono.Security.Protocol.Tls/SslServerStream.cs:

		- Added implementation for properties, and read/write methods
		as in SslClientStream.

		- doHandshake method is not implemented yet.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/Ciphersuite.cs:
	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
	* Mono.Security.Protocol.Tls.Alerts/TlsCloseNotifyAlert.cs:
	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/*.cs:

		- Added changes for make use of the new Context implementation.

	* Mono.Security.Protocol.Tls.Handshake.Server/*.cs:

        - New classes with method signatures only for the server handshake
        implementation.

svn path=/trunk/mcs/; revision=23363
2004-02-23 14:57:58 +00:00
Zoltan Varga 621d56c7b5 2004-02-23 Zoltan Varga <[email protected]>
* mini.h mini.c mini-x86.c mini-ppc.c trace.h trace.c: Move tracing
	functions to arch independent code.

svn path=/trunk/mono/; revision=23362
2004-02-23 14:24:14 +00:00
Zoltan Varga d35f8a5be1 2004-02-23 Zoltan Varga <[email protected]>
* mini.h (MonoJitTlsData): Add 'stack_size', 'signal_stack' and
	'signal_stack_size' members.

	* mini.h mini.c mini-x86.h mini-x86.c: Run sigsegv handlers on an
	alternate signal stack.

	* exceptions-x86.c: Add stack overflow handling.

	* mini.h mini.c mini-x86.c mini-ppc.c trace.h trace.c: Move tracing
	functions to arch independent code.

	* mini.c (mono_print_tree): Print more detailed info for load_membase
	opcodes.

svn path=/trunk/mono/; revision=23361
2004-02-23 14:19:52 +00:00
Zoltan Varga 8ab7d989a4 2004-02-23 Zoltan Varga <[email protected]>
* appdomain.h (MonoDomain): Add preallocated null_reference_ex and
	stack_overflow_ex members which are used by exception handling.

	* appdomain.c (mono_runtime_init): Initialize the new members.

svn path=/trunk/mono/; revision=23360
2004-02-23 14:09:13 +00:00
Zoltan Varga 1143b9c2f8 2004-02-23 Zoltan Varga <[email protected]>
* gc.c (mono_gc_enable): New helper function.
	* gc.c (mono_gc_disable): New helper function.

svn path=/trunk/mono/; revision=23359
2004-02-23 14:00:17 +00:00
Lluis Sanchez 66d1ec3032 * BinaryCommon.cs: Added UseReflectionSerialization property.
* CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an
	  inherited field, prefix the name with the class name. This fixes #54439.
	  Moved check for reflection serialization variable to BinaryCommon.

svn path=/trunk/mcs/; revision=23358
2004-02-23 13:21:52 +00:00
Sebastien Pouliot 548fd8dc85 2004-02-23 Sebastien Pouliot <[email protected]>
* tlstest.cs: New. Tool to test for SSLv3 and TLSv1 stream
	implementation.

svn path=/trunk/mcs/; revision=23357
2004-02-23 13:03:31 +00:00
Sebastien Pouliot 916749a40b 2004-02-23 Sebastien Pouliot <[email protected]>
* README: Test tools descriptions.
	* tlstest/*: TLS/SSL test tool.

svn path=/trunk/mcs/; revision=23356
2004-02-23 13:02:15 +00:00
Jordi Mas i Hernandez 7c55e43867 MeasureString sample
svn path=/trunk/mcs/; revision=23355
2004-02-23 12:39:46 +00:00
Lluis Sanchez f1136a854c * AsyncCalls.cs, BaseCalls.cs, CallSeq.cs, ContextHookAttribute.cs,
ContextsTest.cs, CrossDomainCalls.cs, DelegateCalls.cs, HttpCalls.cs,
	  ReflectionCalls.cs, ServerObject.cs, SyncCalls.cs, TcpCalls.cs:
	  Shortened namespace name.

svn path=/trunk/mcs/; revision=23353
2004-02-23 10:49:08 +00:00
Lluis Sanchez 1bb5afd4d4 * TcpClientTransportSink.cs: Release the connection after sending an
OneWay call. This fixes bug #54671.

svn path=/trunk/mcs/; revision=23352
2004-02-23 10:44:52 +00:00
Gonzalo Paniagua Javier c8621d2004 2004-02-23 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: error out when <object> server
	tag is not closed. Ignore any content inside it.

	* System.Web.UI/ControlBuilder.cs: added SetTagName().

	* System.Web.UI/ObjectTagBuilder.cs: use SetTagName so that we can
	properly close <object> builders if the closing tag is provided.

svn path=/trunk/mcs/; revision=23351
2004-02-23 10:11:44 +00:00
Alberto Fernandez 609a6307ce Basic support of ListBox. (only view, no events, no access to selected data)
svn path=/trunk/mcs/; revision=23350
2004-02-23 10:00:58 +00:00
Jackson Harper 62ac3b8ab4 * corlib.dll.sources: Add LockQueue.cs to build.
svn path=/trunk/mcs/; revision=23349
2004-02-23 07:47:38 +00:00
Jackson Harper 63fd13ce70 * LockCookie.cs: Add some fields for restoring locks.
* ReaderWriterLock.cs: Implement
	* LockQueue.cs: New File - used for queueing thread locks in
	ReaderWriterLock.

svn path=/trunk/mcs/; revision=23348
2004-02-23 07:46:00 +00:00
Martin Baulig 243cbc8e3a 2004-02-23 Martin Baulig <[email protected]>
* Stack.cs, Queue.cs: New files.  Hmm, looks like I forgot to add
	them to CVS; they're already on my hard disk since December or so.

svn path=/trunk/mcs/; revision=23347
2004-02-23 04:00:02 +00:00
Martin Baulig 0d49388ae9 2004-02-23 Martin Baulig <[email protected]>
* class.cs (Method.Define): Create the generic method before
	calling DoDefine().
	(Memberbase.DoDefine): Added DeclSpace argument (in addition to
	the TypeContainer one); we use this for generic methods.

	* decl.cs (CheckAccessLevel): If we're a GenericMethod, use our
	parent's TypeBuilder.

svn path=/trunk/mcs/; revision=23346
2004-02-23 03:48:30 +00:00
Martin Baulig 46a46d6190 2004-02-23 Martin Baulig <[email protected]>
* MethodBuilder.cs (MethodBuilder.SetGenericMethodSignature):
	Added MethodAttributes and CallingConventions arguments.

svn path=/trunk/mcs/; revision=23345
2004-02-23 03:37:03 +00:00
Martin Baulig 88d644bad4 2004-02-23 Martin Baulig <[email protected]>
* icall.c: I must have been really stupid - make it actually work
	this time ;-)

svn path=/trunk/mono/; revision=23344
2004-02-23 01:33:00 +00:00
Martin Baulig ee2ca1ef93 Make it a class; we're currently having some problems with structs.
svn path=/trunk/mcs/; revision=23343
2004-02-23 00:01:12 +00:00
Martin Baulig 3ac6d105e0 2004-02-23 Martin Baulig <[email protected]>
* loader.c (method_from_memberref): Only inflate the method if
	it's in another klass.

svn path=/trunk/mono/; revision=23342
2004-02-23 00:00:28 +00:00
Martin Baulig 9f504c0922 2004-02-23 Martin Baulig <[email protected]>
* mini.c (mini_get_method): Set `gmethod->generic_inst'.

svn path=/trunk/mono/; revision=23340
2004-02-22 23:38:55 +00:00
Martin Baulig 729787202b 2004-02-23 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Fixed two bugs.
	(mono_class_init): If we're a generic instance and an interface,
	compute `class->interface_id'; also create `class->interfaces'
	here and inflate them.

	* metadata.c (do_mono_metadata_parse_generic_inst): Compute
	`ginst->is_open'.
	(mono_type_stack_size): Fix for MONO_TYPE_GENERICINST.

	* reflection.c (mono_image_create_token): Allow "MonoGenericInst".

svn path=/trunk/mono/; revision=23339
2004-02-22 23:32:01 +00:00
Andreas N afc5ed6629 2004-02-22 Andreas Nahr <[email protected]>
* Math.cs: MonoStyled, replaced space with tabs,
	  speedup of some methods by avoiding method calls

svn path=/trunk/mcs/; revision=23334
2004-02-22 22:22:27 +00:00
Andreas N 7d3f107504 2004-02-22 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added missing attribute, commented
	  excess attributes, prepared signkey attributes

svn path=/trunk/mcs/; revision=23333
2004-02-22 22:20:44 +00:00
Paolo Molaro a9ce5e1376 Sun Feb 22 22:25:19 CET 2004 Paolo Molaro <[email protected]>
* mini-x86.c: fixed reg allocation for div/rem.

svn path=/trunk/mono/; revision=23332
2004-02-22 21:00:37 +00:00
Gonzalo Paniagua Javier bd7be5ae53 2004-02-22 Gonzalo Paniagua Javier <[email protected]>
* AttributeTest.cs: added test for bug 54518.

svn path=/trunk/mcs/; revision=23331
2004-02-22 18:24:14 +00:00
Miguel de Icaza bccaa100df Remove merge conflict
svn path=/trunk/mono/; revision=23329
2004-02-22 17:10:33 +00:00
Miguel de Icaza e5983819e5 More updates
svn path=/trunk/mono/; revision=23328
2004-02-22 16:48:56 +00:00
Miguel de Icaza ce581fac4e update
svn path=/trunk/mono/; revision=23327
2004-02-22 16:40:04 +00:00
Miguel de Icaza 27c20495f3 Flush
svn path=/trunk/mono/; revision=23326
2004-02-22 16:28:14 +00:00
Miguel de Icaza 2d1662c50a Update
svn path=/trunk/mono/; revision=23325
2004-02-22 16:18:00 +00:00
Miguel de Icaza ffc9c04495 2004-02-15 Miguel de Icaza <[email protected]>
* reflection.c (method_encode_code): Improved the error message
	generated by the exception.

svn path=/trunk/mono/; revision=23324
2004-02-22 16:03:49 +00:00
Miguel de Icaza 0843c93e92 2004-02-22 Miguel de Icaza <[email protected]>
* driver.c (mono_main): Report some configuratio options on --version.

svn path=/trunk/mono/; revision=23323
2004-02-22 16:00:22 +00:00
Gonzalo Paniagua Javier 5a98179438 2004-02-22 Gonzalo Paniagua Javier <[email protected]>
* icall.c: Martin did not do what he said in the ChangeLog for
	2004-02-18, but put back the changes for properties and events.
	Commenting those changes out again and adding comment to bug #54518.

	* process.c: removed warning.

svn path=/trunk/mono/; revision=23322
2004-02-22 15:18:01 +00:00
Miguel de Icaza 6b871a2b0d Flush
svn path=/trunk/mono/; revision=23321
2004-02-22 15:04:40 +00:00
Atsushi Eno d44c6ae6d0 2004-02-22 Atsushi Enomoto <[email protected]>
* Added Cscompmgd_test.dll.sources.
	* Makefile: Removed NO_TEST=yes

svn path=/trunk/mcs/; revision=23319
2004-02-22 08:51:34 +00:00
Atsushi Eno 689be968f3 2004-02-22 Atsushi Enomot <[email protected]>
* Added CompilerTest.cs (just for setting up)

svn path=/trunk/mcs/; revision=23318
2004-02-22 08:50:35 +00:00
Gonzalo Paniagua Javier fd2f751c17 2004-02-22 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: ExitCode and ExitTime check that the process is finished.

svn path=/trunk/mcs/; revision=23316
2004-02-22 05:24:27 +00:00
Nick Drochak f12a1a927f 2004-02-22 Nick Drochak <[email protected]>
* System.Xml_test.dll.sources : Removed XmlSchemaAssertion.cs. It does
	not seem to be in CVS.  This was breaking the build on windows.

svn path=/trunk/mcs/; revision=23315
2004-02-22 01:53:25 +00:00
Carlos Guzmán Álvarez 89e898ca59 Updated information about the Firebird ADO.NET Data Provider
svn path=/trunk/mono/; revision=23312
2004-02-21 22:14:50 +00:00
Carlos Guzmán Álvarez c2ec53a5c6 2004-02-21 Carlos Guzman Alvarez <[email protected]>
* TlsServerHello: Fix for handle SecurityProtocolType.Default.

svn path=/trunk/mcs/; revision=23311
2004-02-21 22:07:13 +00:00
Carlos Guzmán Álvarez e904baead7 Updated information about the Firebird ADO.NET Data Provider
svn path=/trunk/mono/; revision=23310
2004-02-21 21:26:22 +00:00
Jordi Mas i Hernandez dd19314ac1 remove swf depen. from sample
svn path=/trunk/mcs/; revision=23305
2004-02-21 15:02:18 +00:00
Jordi Mas i Hernandez 381b112cfa measure string
svn path=/trunk/mcs/; revision=23304
2004-02-21 13:56:15 +00:00
Sebastien Pouliot 0e43c44e1e 2004-02-20 Sebastien Pouliot <[email protected]>
* TlsServerCertificate.cs: Added code to validate the server X.509
	certificate (identity, usage) and it's chain to a trusted root.
	Note that the verification is commented for the time being.

svn path=/trunk/mcs/; revision=23299
2004-02-20 19:44:23 +00:00
Sebastien Pouliot ebc9035f89 2004-02-20 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added many X.509 certificate extensions.

svn path=/trunk/mcs/; revision=23297
2004-02-20 18:50:55 +00:00
Sebastien Pouliot 833505e392 2004-02-20 Sebastien Pouliot <[email protected]>
* AuthorityKeyIdentifierExtension.cs: New. Added for certview.
	* CRLDistributionPointsExtension.cs: New. Added for certview.
	* CertificatePoliciesExtension.cs: New. Added for certview.
	* KeyUsageExtension.cs: Added none as a possible (empty) usage.
	* NetscapeCertTypeExtension.cs: New. Required for verifying older SSL
	certificates.
	* PrivateKeyUsagePeriodExtension.cs: New. Added for certview.
	* SubjectAltNameExtension.cs: Added support for dNSName.
	* SubjectKeyIdentifierExtension.cs: New. Added for certview.

svn path=/trunk/mcs/; revision=23296
2004-02-20 18:45:52 +00:00
Paolo Molaro 23c44f05be Fri Feb 20 11:01:44 PST 2004 Paolo Molaro <[email protected]>
* mini-ppc.c: fixed clt.un, cgt.un. Optimized calls to functions
	low in the address space. Correctly flush memory in thunks where we
	output native code.

svn path=/trunk/mono/; revision=23295
2004-02-20 18:41:35 +00:00
Carlos Guzmán Álvarez 736869d039 Rollback latest change. Sorry
svn path=/trunk/mcs/; revision=23294
2004-02-20 18:29:43 +00:00
Carlos Guzmán Álvarez 9ac158829e 2004-02-20 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/TlsContext.cs:

		- Added changes for handle te SecurityProtocolType enum
		as a Flags enum.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:

		- Let the Ssl3 message to be process in the same way as the Tls1.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:
		
		- Added changes for use the Protocol version send by the server

	* Mono.Security.Protocol.Tls/CipherSuite.cs:

		- Compute the premaster secret using the protocol version sent in 
		the ClientHello message instead of the actual protocol version.

svn path=/trunk/mcs/; revision=23293
2004-02-20 18:26:02 +00:00
Sebastien Pouliot 91af89e452 2004-02-20 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added new file X509ChainStatusFlags in
	Mono.Security.X509 namespace.

svn path=/trunk/mcs/; revision=23292
2004-02-20 18:06:29 +00:00
Sebastien Pouliot 984553040e 2004-02-20 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: Updated to use the new X509Chain syntax.

svn path=/trunk/mcs/; revision=23291
2004-02-20 18:01:54 +00:00
Sebastien Pouliot 1699293138 2004-02-20 Sebastien Pouliot <[email protected]>
* X509Chain.cs: Added an option to use a pre-built chain (like TLS
	offers) to save time rebuilding it. Added some validations and more
	detailled status. Still a LOT to do!
	* X509ChainStatusFlags.cs: New. Status code for the results of the
	chain building and verification.

svn path=/trunk/mcs/; revision=23290
2004-02-20 18:00:18 +00:00
Paolo Molaro bdc5536770 More tests for clt.un, cgt.un.
svn path=/trunk/mono/; revision=23288
2004-02-20 16:15:19 +00:00
Rafael Teixeira 00eb9f603b 2004-02-20 Rafael Teixeira <[email protected]>
* ComClassAttibute.cs:
		Implemented attribute (related to bug #52570)
	* FileAttribute.cs
		Cosmetic changes
	* VBFixedArrayAttribute.cs:
		Implemented attribute (related to bug #52570)
	* VBFixedStringAttribute.cs:
		Implemented attribute (related to bug #52570)
	* OptionCompareAttribute.cs:
		Corrected constructor of attribute (bug #52570)
	* OptionTextAttribute.cs, StandardModuleAttribute.cs:
		Cosmetic changes

svn path=/trunk/mcs/; revision=23287
2004-02-20 15:42:45 +00:00
Carlos Guzmán Álvarez b31b4feadc 2004-02-20 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:

        - Improved exception handling.

svn path=/trunk/mcs/; revision=23284
2004-02-20 15:05:39 +00:00
Zoltan Varga 29dd340fd4 2004-02-20 Zoltan Varga <[email protected]>
* marshal.c (emit_struct_conv): Print an error message instead of
	asserting when a type does not have the StructLayout attribute.

svn path=/trunk/mono/; revision=23283
2004-02-20 14:51:24 +00:00
Rafael Teixeira 1621185f0c Forcing an error to find solution for bug #52067
svn path=/trunk/mcs/; revision=23282
2004-02-20 14:14:41 +00:00
Anirban Bhattacharjee 2ea3ca6c70 few more test cases
svn path=/trunk/mcs/; revision=23281
2004-02-20 13:59:07 +00:00
Carlos Guzmán Álvarez b843e5d4c6 2004-02-20 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

        - Commented the server cert validation.

svn path=/trunk/mcs/; revision=23280
2004-02-20 12:52:54 +00:00
Carlos Guzmán Álvarez 40505a404b Added 2 new files and removed 1 from the sources list
svn path=/trunk/mcs/; revision=23279
2004-02-20 11:43:32 +00:00
Carlos Guzmán Álvarez ea45f73c00 2004-02-20 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsWarningEventAgrs.cs:

		- Removed no more needed file.

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

		- Added 4 new properties:

			* Message

			* IsWarning

			* IsFatal

			* IsCloseNotify

		- Return always the same message when working in release mode
		(The authentication or decryption has failed.)

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Changes to the sync code.

		- Record protocol stuff moved to the new classes.

		- Removed Warning event.

		- Added control over the CloseNotify Alert
		to BeginRead method.

		- Return true in the server certificate validation method
		if there are no errors.

	* Mono.Security.Protocol.Tls/RecordProtocol.cs:
	* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:

		- New classes for handle the SSL/TLS record protocol.

svn path=/trunk/mcs/; revision=23278
2004-02-20 11:42:49 +00:00
Gonzalo Paniagua Javier 17b507ebdf 2004-02-20 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: arghhh. I used the server response headers instead
	of what the client is supposed to send. Thanks to Helge Hess.

svn path=/trunk/mcs/; revision=23275
2004-02-20 05:26:01 +00:00
Jackson Harper 829b1b5f12 * REAME.platforms/README.platforms: Remove references to
corlib.dll

svn path=/trunk/mcs/; revision=23274
2004-02-20 05:03:20 +00:00
Atsushi Eno c39726032f 2004-02-20 Atsushi Enomoto <[email protected]>
* CharCategoryTest.cs : csc build fix (line length excess.)

svn path=/trunk/mcs/; revision=23273
2004-02-20 04:56:52 +00:00
Martin Baulig 4c0cc4c340 2004-02-20 Martin Baulig <[email protected]>
* gen-39.cs: New generics test.

svn path=/trunk/mcs/; revision=23272
2004-02-20 03:16:57 +00:00
Jackson Harper 475a0e369d * Monitor.cs: Fix spelleng.
svn path=/trunk/mcs/; revision=23271
2004-02-20 02:50:58 +00:00
Martin Baulig 7147311a29 2004-02-20 Martin Baulig <[email protected]>
* reflection.c (mono_type_get_object): Also use the cache for
	generic instances.
	(mono_reflection_bind_generic_parameters): Always compute
	`ginst->ifaces'.

svn path=/trunk/mono/; revision=23270
2004-02-20 02:43:38 +00:00
Martin Baulig 08fc206282 2004-02-20 Martin Baulig <[email protected]>
* mini.c (mini_get_method): New static method; inflate all generic
	methods and methods in open generic instances.
	(mono_method_to_ir): Use mini_get_method() instead of mono_get_method().
	(ret_type_to_call_opcode): Added support for MONO_TYPE_GENERICINST.

svn path=/trunk/mono/; revision=23269
2004-02-20 01:14:08 +00:00
Martin Baulig 680f0b05ba 2004-02-20 Martin Baulig <[email protected]>
* gen-test.pl: Enable gen-38.

svn path=/trunk/mcs/; revision=23268
2004-02-20 01:13:54 +00:00
Martin Baulig eec80cc600 2004-02-20 Martin Baulig <[email protected]>
* class.h (MonoGenericMethod): Removed `klass'.

	* class.c (mono_class_inflate_generic_method): Added `MonoClass
	*klass' argument.

svn path=/trunk/mono/; revision=23267
2004-02-20 01:10:42 +00:00
Martin Baulig 46721cc6d4 2004-02-20 Martin Baulig <[email protected]>
* reflection.c (method_encode_methodspec): Actually use the
	uninflated signature for the memberref.

svn path=/trunk/mono/; revision=23265
2004-02-20 00:59:17 +00:00
Martin Baulig 402fbab07f 2004-02-20 Martin Baulig <[email protected]>
* class.h (MonoGenericMethod): Removed `declaring'.

	* class.c (mono_class_inflate_generic_method): If `gmethod->klass'
	is NULL, compute it here.

svn path=/trunk/mono/; revision=23264
2004-02-20 00:37:58 +00:00
Martin Baulig f764af66a5 2004-02-20 Martin Baulig <[email protected]>
* image.h (MonoImage): Added `GHashTable *generic_inst_cache'.

	* metadata.c (mono_metadata_generic_inst_hash): New method.
	(mono_metadata_generic_inst_equal): New method.

	* reflection.c (mono_reflection_bind_generic_parameters): Use the
	`klass->image->generic_inst_cache' cache to avoid creating
	duplicate MonoGenericInst's.

	* class.c (mono_class_inflate_generic_type): Use the cache.

svn path=/trunk/mono/; revision=23263
2004-02-19 23:31:05 +00:00
Zoltan Varga 64acf1d7dd 2004-02-19 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_patch_code): Update after domain->code_mp changes.

	* tramp-sparc.c (mono_arch_create_jump_trampoline): Set ji->method.

svn path=/trunk/mono/; revision=23261
2004-02-19 20:45:35 +00:00
Gonzalo Paniagua Javier 3d9b156cbf 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
* AuthenticationManager.cs: implemented PreAuthenticate().

	* HttpWebRequest.cs: once we know the version of the server, use it if
	below the requested one. Remove 'Expect', 'Content-Length' and /or
	'Transfer-Encoding' if appropiate due to changes in version. Fixed
	'Host' header for non-standard ports. Support preauthentication. Closes
	bug #50530.

svn path=/trunk/mcs/; revision=23260
2004-02-19 18:44:08 +00:00
Jean-Marc Andre 875151347b 2004-02-19 Jean-Marc Andre <[email protected]>
Multiple bug fixed concerning internationalization and xml attributes.
	see the ChangeLog

svn path=/trunk/mcs/; revision=23259
2004-02-19 18:23:00 +00:00
Paolo Molaro 89becc3431 Thu Feb 19 19:39:09 CET 2004 Paolo Molaro <[email protected]>
* object.c: fixed gc descriptor calculation for embedded valuetypes.

svn path=/trunk/mono/; revision=23258
2004-02-19 18:16:59 +00:00
Gonzalo Paniagua Javier b930571b08 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: (.ctor) Path.DirectoryName can be empty and make
	Path.GetFullPath crash. Fixed it.

	* MonoIO.cs: fixed typo.

svn path=/trunk/mcs/; revision=23257
2004-02-19 17:40:35 +00:00
Gonzalo Paniagua Javier 0c4d3d3ee9 Typo
svn path=/trunk/mono/; revision=23256
2004-02-19 17:18:45 +00:00
Bernie Solomon 272c9fe323 2004-02-19 Bernie Solomon <[email protected]>
* helpers.c (mono_disassemble_code): use Sun's dis if not using gcc

	* mini-sparc.c (flushi mono_arch_output_basic_block): make
	it compile using Sun's compiler.

svn path=/trunk/mono/; revision=23255
2004-02-19 16:51:41 +00:00
Tim Coleman d9668b1667 2004-02-19 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml.SymmetricKeyWrap

svn path=/trunk/mcs/; revision=23254
2004-02-19 15:49:37 +00:00
Tim Coleman 002583484f 2004-02-19 Tim Coleman <[email protected]>
* SymmetricKeyWrap.cs:
                Add AES Key Wrap
        * EncryptedXml.cs:
                Add calls to SymmetricKeyWrap

svn path=/trunk/mcs/; revision=23253
2004-02-19 15:48:07 +00:00
Gonzalo Paniagua Javier 624c720942 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
* io-layer/error.c: fixed mapping for EPROTONOSUPPORT and
	ESOCKTNOSUPPORT.

	* io-layer/sockets.[ch]: retry creating the socket for AF_INET, SOCK_RAW
	using IP protocol with IP over IP. Implemented WSAIoctl UNIX-style.

	* metadata/icall.c: added Socket.WSAIoctl icall.

	* metadata/socket-io.[ch]: implemented
	ves_icall_System_Net_Sockets_Socket_WSAIoctl.

svn path=/trunk/mono/; revision=23252
2004-02-19 15:42:09 +00:00
Zoltan Varga 5db2c4a302 2004-02-19 Zoltan Varga <[email protected]>
* mini-ops.h inssel-sparc.brg cpu-sparc.md mini-sparc.h mini-sparc.c tramp-sparc.c exceptions-sparc.c: Sparc port, part I.

svn path=/trunk/mono/; revision=23251
2004-02-19 15:06:11 +00:00
Zoltan Varga 3c423b9471 2004-02-19 Zoltan Varga <[email protected]>
* configure.in: Add proper support for --with-nptl for people who
	have linking problems when it is enabled.

svn path=/trunk/mono/; revision=23250
2004-02-19 14:43:14 +00:00
Zoltan Varga 2df4a89ebe 2004-02-19 Zoltan Varga <[email protected]>
* basic-calls.cs basic-float.cs basic-long.cs objects.cs: New regression tests.

svn path=/trunk/mono/; revision=23249
2004-02-19 14:24:18 +00:00
Zoltan Varga e45ebd0d39 2004-02-19 Zoltan Varga <[email protected]>
* sparc/sparc-codegen.h: Fix lots of opcodes + add new ones.

svn path=/trunk/mono/; revision=23248
2004-02-19 14:14:37 +00:00
Zoltan Varga 3cc8160bba 2004-02-19 Zoltan Varga <[email protected]>
* sparc/tramp.c: Fix alignment of structures containing doubles.

svn path=/trunk/mono/; revision=23247
2004-02-19 14:13:23 +00:00
Atsushi Eno ad5a737d48 2004-02-19 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).

svn path=/trunk/mcs/; revision=23246
2004-02-19 04:30:50 +00:00
Atsushi Eno d3a82ae95f 2004-02-19 Atsushi Enomoto <[email protected]>
* icall.c: removed IsDigit, IsSeparator, IsWhiteSpace from char_icalls.

svn path=/trunk/mono/; revision=23245
2004-02-19 04:16:35 +00:00
Gonzalo Paniagua Javier f91515a25e 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: check for missing or wrong URI in Location header
	when redirecting.

	* WebConnection.cs: if the data read does not contain all the headers,
	keep it around and read the rest until we get to the response body.
	Allow response code with no description. Fixed bug #54543.

svn path=/trunk/mcs/; revision=23244
2004-02-19 03:05:19 +00:00
Urs C. Muff f4c1cb2196 .cvsignore: hide files created by automake/configure
svn path=/trunk/mono/; revision=23241
2004-02-18 21:15:11 +00:00
Jackson Harper 66523d11eb * ILParser.jay: Create ExternTypeRefInsts when a valuetype
extern_class is encountered. This way the underlying type is not
	changed to a value type.

svn path=/trunk/mcs/; revision=23238
2004-02-18 20:12:29 +00:00
Jackson Harper b70803890f * ilasm.exe.sources: Add ExternTypeRefInst to the build.
svn path=/trunk/mcs/; revision=23237
2004-02-18 20:09:34 +00:00
Jackson Harper dc0a660b61 * ExternTypeRefInst.cs: New file - represents an instance of an
extern type ref, used for making value type tokens.
	* TypeDef.cs: Add implementing classes.

svn path=/trunk/mcs/; revision=23236
2004-02-18 20:08:14 +00:00
Jackson Harper a903396f51 * PEAPI.cs: Add a class for creating instances of class refs, this
is used for setting the class or valuetype of a types instance so the class
	reference isn't modified. Allows things like 'valuetype
	[mscorlib]System.Object'.

svn path=/trunk/mcs/; revision=23234
2004-02-18 19:38:04 +00:00
Atsushi Eno 5d68707405 2004-02-18 Atsushi Enomoto <[email protected]>
* Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
	  (Moved from InternalCall to Managed code).

svn path=/trunk/mcs/; revision=23233
2004-02-18 19:23:55 +00:00
Atsushi Eno 54ed1e7dfb 2004-02-18 Atsushi Enomoto <[email protected]>
* CharCategoryTest.cs : cleaning ;)

svn path=/trunk/mcs/; revision=23232
2004-02-18 19:23:26 +00:00
Atsushi Eno 52c4a00584 2004-02-18 Atsushi Enomoto <[email protected]>
* Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
	  (Moved from InternalCall to Managed code).

svn path=/trunk/mcs/; revision=23231
2004-02-18 19:11:28 +00:00
Atsushi Eno bafb89903e 2004-02-18 Atsushi Enomoto <[email protected]>
* Added CharCategoryTest.cs (brute force test for Char.IsXXX()).

svn path=/trunk/mcs/; revision=23230
2004-02-18 19:10:58 +00:00
Gonzalo Paniagua Javier 8114803ec8 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: use the threadpool for asynchronous calls instead of
	creating new threads.

svn path=/trunk/mcs/; revision=23229
2004-02-18 18:56:16 +00:00
Carlos Guzmán Álvarez fa92202868 2004-02-18 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

        - Implement CheckCertRevocationStatus ( not used yet )

svn path=/trunk/mcs/; revision=23228
2004-02-18 18:50:30 +00:00
Sebastien Pouliot 4024cd5c4c 2004-02-18 Sebastien Pouliot <[email protected]>
* SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
	Default and Ssl2 to NET_1_2 profile. Enum is now internal for NET_1_0
	profile (as we need it for SslClientStream).
	* ServicePoint.cs: Added internal SetCertificates(client,server).
	* ServicePointManager.cs: Added CheckCertificateRevocationList and
	CheckCertificateRevocationList static properties (public in 1.1,
	internal for 1.0).
	* WebConnection.cs: Dynamically creates a SslClientStream (from
	Mono.Security assembly) in case of https. Changed NetworkStream to
	Stream everywhere.

svn path=/trunk/mcs/; revision=23225
2004-02-18 17:58:22 +00:00
Gonzalo Paniagua Javier ed924f816b 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
	don't know the server version or it's 1.0.

	* ServicePoint.cs: added SetVersion.

	* WebAsyncResult.cs: remove ChunkAsyncResult.

	* WebConnection.cs: set the ServicePoint version when getting a response
	from the server.

	* WebConnectionStream.cs: when posting chunked content, send the head,
	body and trailer of the chunk at once instead of doing 3 separate
	writes, which may cause troubles.

svn path=/trunk/mcs/; revision=23223
2004-02-18 17:14:37 +00:00
Carlos Guzmán Álvarez 0d28c833df 2004-02-18 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:

		- Added Serializable attribute.

	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsContext.cs:

		- Added some optimizations proposed by Sebastien Pouliot.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

		- Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).

svn path=/trunk/mcs/; revision=23221
2004-02-18 16:41:49 +00:00
Carlos Guzmán Álvarez a5bfc4ed8e 2004-02-18 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:

		- Added Serializable attribute.

	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsContext.cs:

		- Added some optimizations proposed by Sebastien Pouliot.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

		- Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).

svn path=/trunk/mcs/; revision=23219
2004-02-18 16:28:20 +00:00
Martin Baulig a44138b010 **** Applying a patch from Urc C Muff <[email protected]> ****
2004-02-18  Urs C Muff  <[email protected]>

	* debug-mono-symfile.c, mono-debug-debugger.c, mono-debug.c: Make
	this work on PPC and other big-endian architectures.

	* debug-mono-symfile.h: Prepended the names of all the `guint32'
	fields with an underscore to make sure they're only accessed by
	the read32() macro.

svn path=/trunk/mono/; revision=23218
2004-02-18 15:58:03 +00:00
Martin Baulig 044ba9cc86 2004-02-18 Martin Baulig <[email protected]>
* icall.c: Put the klass->refclass changes back for methods and
	fields, but not for properties and events.  We're currently not
	distinguishing between DeclaringType and ReflectedType for
	properties and events, that's what caused the regressions.

svn path=/trunk/mono/; revision=23217
2004-02-18 15:53:16 +00:00
Gonzalo Paniagua Javier 3813b4ca77 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* object.c:
	(mono_async_result_new): the handle can be NULL.

	* threadpool.c: Use an event instead of a semaphore, don't initialize
	it until needed. This saves quite a few semaphores from being created
	when using the threadpool.

svn path=/trunk/mono/; revision=23216
2004-02-18 15:43:44 +00:00
Gonzalo Paniagua Javier 210e98a3f4 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* AsyncResult.cs:
	(AsyncWaitHandle): create the handle if not done yet.

svn path=/trunk/mcs/; revision=23215
2004-02-18 15:38:27 +00:00
Martin Baulig ec587c6a78 2004-02-18 Martin Baulig <[email protected]>
* Makefile: Disable test-157.cs, it's broken.  See #54530.

svn path=/trunk/mcs/; revision=23214
2004-02-18 15:36:23 +00:00
Atsushi Eno 090653b3ea 2004-02-18 Atsushi Enomoto <[email protected]>
* README: added description about new <namespaceImports> feature.

svn path=/trunk/mcs/; revision=23213
2004-02-18 14:51:18 +00:00
Atsushi Eno 20072d0f17 2004-02-18 Atsushi Enomoto <[email protected]>
* SerializationCodeGenerator.cs,
	  SerializationCodeGeneratorConfiguration.cs:
	  Added <namespaceImports> feature ("using XXX;" generation) support.

svn path=/trunk/mcs/; revision=23212
2004-02-18 14:50:48 +00:00
Zoltan Varga ae9a37c3b0 2004-02-18 Zoltan Varga <[email protected]>
* switch.cs: Add test for bug #54473.

svn path=/trunk/mono/; revision=23211
2004-02-18 14:36:41 +00:00
Zoltan Varga cd6c0a5652 2004-02-18 Zoltan Varga <[email protected]>
* object.c (mono_string_is_interned_lookup): Fix interning of long
	strings. Fixes #54473.

svn path=/trunk/mono/; revision=23210
2004-02-18 14:32:27 +00:00
Zoltan Varga 2bcbb92646 2004-02-18 Zoltan Varga <[email protected]>
* domain.c (ldstr_equal): Optimize if the two strings are equal.

svn path=/trunk/mono/; revision=23209
2004-02-18 14:27:46 +00:00
Gonzalo Paniagua Javier e8e268bd79 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: ~ is not always /. Fixed.

svn path=/trunk/mcs/; revision=23208
2004-02-18 14:09:55 +00:00
Sebastien Pouliot b23dbde323 2004-02-18 Sebastien Pouliot <[email protected]>
* SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
	* SecurityProtocolType.cs: Added [Serializable] to enum to match MS
	implementation.

svn path=/trunk/mcs/; revision=23207
2004-02-18 13:53:10 +00:00
Zoltan Varga b866d79962 2004-02-18 Zoltan Varga <[email protected]>
* icall.c: Revert the klass->refclass changes since they introduce
	regressions (bug #54518).

svn path=/trunk/mono/; revision=23206
2004-02-18 13:16:17 +00:00
Atsushi Eno daa730db36 2004-02-18 Atsushi Enomoto <[email protected]>
* LocationPathPattern.cs : Implemented easy XPathNavigator cache on
	  predicate evaluation in Matches().

svn path=/trunk/mcs/; revision=23205
2004-02-18 12:59:49 +00:00
Gonzalo Paniagua Javier 878ba57cae 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: if we get a 100 when we're not waiting for it, set
	that information in the ServicePoint.

	* WebConnectionStream.cs: send headers in the right order for
	non-chunked POST.

svn path=/trunk/mcs/; revision=23204
2004-02-18 11:16:20 +00:00
Jackson Harper e416c58812 * ResourceReaderTest.cs: Add a little logic for finding
resources. This works on MS and with mono and fixes these tests
	for 'make run-test'.

svn path=/trunk/mcs/; revision=23203
2004-02-18 09:34:01 +00:00
Atsushi Eno ce7fa813d2 2004-02-17 Atsushi Enomoto <[email protected]>
* KeyPattern.cs, Pattern.cs : removed using decls.

svn path=/trunk/mcs/; revision=23202
2004-02-18 03:10:56 +00:00
Martin Baulig c592f59a25 2004-02-18 Martin Baulig <[email protected]>
* class.c (mono_class_init): If we're a generic instance and don't
	come from a TypeBuilder, inflate our members here.
	(mono_class_from_generic): Removed; just use `ginst->klass' instead.
	(mono_class_create_generic): New public method.
	(mono_class_initialize_generic): Removed.
	(get_instantiation_name): Renamed to
	_mono_class_get_instantiation_name() and made it public.

svn path=/trunk/mono/; revision=23201
2004-02-18 02:35:50 +00:00
Martin Baulig c0bc1c2cf2 2004-02-18 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Clear the new
	instance's `nginst->klass' when inflating a generic instance.
	(mono_class_is_subclass_of): Added (basic) support for generic
	instances.

svn path=/trunk/mono/; revision=23200
2004-02-18 01:17:37 +00:00
Martin Baulig 8fff6172c4 2004-02-18 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): Use TypeManager.IsEqual()
	to check for equality.

svn path=/trunk/mcs/; revision=23199
2004-02-17 22:52:21 +00:00
Carlos Guzmán Álvarez 0bb1e577fc 2004-02-17 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added changes to security properties for check that the handshake is finished.

svn path=/trunk/mcs/; revision=23198
2004-02-17 21:55:01 +00:00
Martin Baulig 40527a262a 2004-02-17 Martin Baulig <[email protected]>
* gen-38.cs: New generics test.

svn path=/trunk/mcs/; revision=23195
2004-02-17 21:12:01 +00:00
Martin Baulig ca41619040 2004-02-17 Martin Baulig <[email protected]>
* class.h (MonoDynamicGenericInst): Added `count_properties' and
	`properties'.

	* reflection.c (mono_reflection_generic_inst_initialize): Added
	`MonoArray *properties' argument.

	* icall.c (ves_icall_MonoGenericInst_GetProperties): New interncall.

svn path=/trunk/mono/; revision=23193
2004-02-17 21:01:20 +00:00
Martin Baulig da40d205b7 2004-02-17 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
	support for properties.

svn path=/trunk/mcs/; revision=23192
2004-02-17 21:01:20 +00:00
Paolo Molaro d2f32d5d64 Tue Feb 17 21:41:20 CET 2004 Paolo Molaro <[email protected]>
* aot.c, mini-x86.c, mini.c: use the code manager instead of a mempool to hold native
	code.
	* mini-ppc.c: handle calls outside of the allowed range with thunks
	allocated using the code manager.
	* tramp-ppc.c: use the code manager to hold generated native code.
	Fixed the magic trampoline to just patch vtable entries.

svn path=/trunk/mono/; revision=23191
2004-02-17 20:28:20 +00:00
Paolo Molaro e38e025e1a Tue Feb 17 21:40:16 CET 2004 Paolo Molaro <[email protected]>
* appdomain.h, domain.c: use a MonoCodeManager instead of a
	MonoMempool to hold compiled native code.

svn path=/trunk/mono/; revision=23190
2004-02-17 20:27:21 +00:00
Martin Baulig 351483fecd 2004-02-17 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
	class hierarchy and return members from the parent classes.
	(GetConstructors, GetFields): Likewise.

svn path=/trunk/mcs/; revision=23189
2004-02-17 20:25:41 +00:00
Paolo Molaro 7cb1151c45 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <[email protected]>
* mono-codeman.c, mono-codeman.h: allocate extra room in memory close
	to the native code for arch where calls have a limited immediate
	displacement.

svn path=/trunk/mono/; revision=23188
2004-02-17 20:25:14 +00:00
Martin Baulig 1efba4953c 2004-02-17 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_GetFields): Renamed to
	ves_icall_Type_GetFields_internal() and added a
	`MonoReflectionType *rtype' argument; pass it to
	mono_field_get_object() to set the field's "reflected" type.
	(ves_icall_Type_GetConstructors): Likewise.
	(ves_icall_Type_GetEvents): Likewise.
	(ves_icall_Type_GetMethodsByName): Added `MonoReflectionType *rtype'
	argument; pass it to mono_method_get_object() to set the method's
	"reflected" type.

svn path=/trunk/mono/; revision=23187
2004-02-17 20:20:49 +00:00
Martin Baulig 39ac6f3cc6 2004-02-17 Martin Baulig <[email protected]>
* MonoType.cs (GetConstructors): Renamed the interncall to
	GetConstructors_internal(), made it internal and added a `Type
	reflected_type' argument to it.
	(GetEvents, GetFields): Likewise.
	(GetMethodsByName): Added `Type reflected_type' argument.
	(GetPropertiesByName): Likewise.

svn path=/trunk/mcs/; revision=23186
2004-02-17 20:19:39 +00:00
Atsushi Eno 35865c7685 2004-02-17 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources : Added XmlEntityTests.cs and
	  XmlDocumentEventTests.cs.

svn path=/trunk/mcs/; revision=23185
2004-02-17 20:17:08 +00:00
Atsushi Eno a34acff4f2 2004-02-17 Atsushi Enomoto <[email protected]>
* XmlEntityTests.cs, XmlDocumentEventTests.cs : added.

svn path=/trunk/mcs/; revision=23184
2004-02-17 20:15:56 +00:00
Atsushi Eno e28a66d621 2004-02-17 Atsushi Enomoto <[email protected]>
* XPathNavigatorMatchesTest.cs : commonified some code blocks.
	  Added MatchesAncestorsButNotCurrent(), MatchesParentAxis() and
	  MatchesPredicatedParentAxis().

svn path=/trunk/mcs/; revision=23183
2004-02-17 20:12:16 +00:00
Atsushi Eno 0de93cd5fc 2004-02-17 Atsushi Enomoto <[email protected]>
* LocationPathPattern.cs : Optimized Matches(). For non-positional
	  patterns, it never iterates predicate, just evaluate boolean.

svn path=/trunk/mcs/; revision=23182
2004-02-17 20:09:42 +00:00
Atsushi Eno 9182a21d27 2004-02-17 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : Only child and attribute axes are allowed for
	  Matches().
	* Expression.cs : Added IsPositional property.
	* DefaultContext.cs : Added some overrides.

svn path=/trunk/mcs/; revision=23181
2004-02-17 20:09:12 +00:00
Atsushi Eno fb86477cbb 2004-02-17 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : Added XslFunctions.cs.

svn path=/trunk/mcs/; revision=23180
2004-02-17 20:08:36 +00:00
Atsushi Eno 9d27c6aa21 2004-02-17 Atsushi Enomoto <[email protected]>
* XsltCompiledContext.cs : Extracted XslFunctions and changed namespace
	  from Mono.Xml.Xsl.Functions to Mono.Xml.Xsl.
	* XslFunctions.cs : hereby Added.
	* Compiler.cs : Removed deleted usingdecl.

svn path=/trunk/mcs/; revision=23179
2004-02-17 20:08:07 +00:00
Carlos Guzmán Álvarez bc4087a63f 2004-02-17 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:

		- Raise the Client Certificate event.

	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/SslClientStream.cs:
	* Mono.Security.Protocol.Tls/SecurityProtocolType.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuiteCollection.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
	* Mono.Security.Protocol.Tls/TlsContext.cs:
	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:

		- Change the SecurityProtocolType enum to mtch .NET 1.2 documentation definition.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Impement SelectedClientCertificate and ServerCertificate properties.

svn path=/trunk/mcs/; revision=23177
2004-02-17 18:33:38 +00:00
Gonzalo Paniagua Javier bcd6f4d57b 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.

svn path=/trunk/mcs/; revision=23176
2004-02-17 17:27:08 +00:00
Zoltan Varga 5fac7d621c 2004-02-17 Zoltan Varga <[email protected]>
* inssel.brg inssel-x86.brg: Move call(immediate) rules to the platform
	independent file.

svn path=/trunk/mono/; revision=23175
2004-02-17 17:15:14 +00:00
Martin Baulig d6a033f66a 2004-02-17 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
	all the members here; we only do this for members of the current
	class and only when they're actually queried for.

svn path=/trunk/mcs/; revision=23174
2004-02-17 17:14:07 +00:00
Martin Baulig 7b92cdbe64 2004-02-17 Martin Baulig <[email protected]>
* class.h (MonoDynamicGenericInst): New type.
	(MonoGenericInst): Added `dynamic_info' and `is_dynamic' fields.

	* icall.c (ves_icall_MonoGenericInst_GetMethods): New interncall.
	(ves_icall_MonoGenericInst_GetConstructors): New interncall.
	(ves_icall_MonoGenericInst_GetFields): New interncall.

	* class.c (mono_class_from_generic): Don't call
	mono_class_initialize_generic() if this is a dynamic instance;
	ie. it's being created from a TypeBuilder.
	Use MONO_TYPE_GENERICINST for `class->this_arg.type' and
	`class->byval_arg.type'.

	* reflection.c (mono_reflection_inflate_method_or_ctor): Renamed
	to `inflate_method' and made static.
	(mono_reflection_inflate_field): Removed.
	(mono_reflection_generic_inst_initialize): New public method.

	* reflection.h (MonoReflectionGenericInst): Removed `methods',
	`ctors' and `fields'; added `initialized'.

svn path=/trunk/mono/; revision=23173
2004-02-17 17:08:14 +00:00
Lluis Sanchez 7836929a20 * corlib.dll.sources: Added
System.Runtime.Serialization.Formatter.Binary.CodeGenerator.cs

svn path=/trunk/mcs/; revision=23172
2004-02-17 16:17:08 +00:00
Lluis Sanchez 560f947670 * ObjectWriter.cs: Factorized some serialization code in new classes, so it
is now possible to use fast IL generated classes that use direct access
	  to class fields instead of using reflection.
	* CodeGenerator.cs: New file. Has several methods used by ObjectWriter to
	  generate serialization code.

svn path=/trunk/mcs/; revision=23171
2004-02-17 16:16:49 +00:00
Carlos Guzmán Álvarez f3c543b66f Changed to unix line endings
svn path=/trunk/mcs/; revision=23170
2004-02-17 16:13:36 +00:00
Carlos Guzmán Álvarez 135113d0b1 2004-02-17 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

        - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )

        - Reworked the record fragmentation.

svn path=/trunk/mcs/; revision=23169
2004-02-17 16:10:22 +00:00
Lluis Sanchez 0285b1b066 * RemotingServices.cs: Client identities are registered using the full url,
not the object uri, so they must be unregistered using the same key.

svn path=/trunk/mcs/; revision=23168
2004-02-17 15:15:42 +00:00
Jordi Mas i Hernandez 3e2d260f14 units font support
svn path=/trunk/mcs/; revision=23167
2004-02-17 13:04:55 +00:00
Carlos Guzmán Álvarez c7cf756b9b 2004-02-17 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

        - Fix for send the close notify alert in the Close method
        only if the Handshake is fully negotiated.

svn path=/trunk/mcs/; revision=23165
2004-02-17 11:34:05 +00:00
Martin Baulig adfb0ec5d9 2004-02-17 Martin Baulig <[email protected]>
* profiles/generics.make: Renamed to `martin-generics.make' and
	added a comment to the file.  I'll rename this back when it's
	ready for public use.

svn path=/trunk/mcs/; revision=23164
2004-02-17 11:30:18 +00:00
Lluis Sanchez 4f742ec7ce * XmlSerializationWriter.cs: When writing the root element, use a prefix
if the namespace of the element is defined in the list of namespaces
	  provided to the XmlSerializer. This fixes bug #54427.

svn path=/trunk/mcs/; revision=23163
2004-02-17 11:15:50 +00:00
Gonzalo Paniagua Javier 5a151643b6 Thanks Lluis for noticing this.
svn path=/trunk/mcs/; revision=23162
2004-02-17 09:18:05 +00:00
Marek Safar 2db790bd99 2004-02-17 Marek Safar <[email protected]>
* cls-test-{2,5,6}.cs: Improved tests for CLS-compliant

svn path=/trunk/mcs/; revision=23161
2004-02-17 08:31:49 +00:00
Ravindra b9f8467779 Few bug fixes in EncoderParameter.cs and file format changed to unix.
svn path=/trunk/mcs/; revision=23160
2004-02-17 06:05:52 +00:00
Jackson Harper 3deec715dd * FloatingPointFormater.cs: Allow precision to be up to the number
of decimals without rounding.

svn path=/trunk/mcs/; revision=23157
2004-02-17 04:40:33 +00:00
Jackson Harper e2cf26bb7a flush
svn path=/trunk/mcs/; revision=23156
2004-02-17 04:35:56 +00:00
Gonzalo Paniagua Javier 699158873b 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs:
	(Combine): handle subdirectories and tilde. Fixes bug 54231.

svn path=/trunk/mcs/; revision=23155
2004-02-17 02:48:58 +00:00
Gonzalo Paniagua Javier 492d674325 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.

svn path=/trunk/mcs/; revision=23154
2004-02-17 02:03:06 +00:00
Gonzalo Paniagua Javier 7caef67a07 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: on second and sucesive tries when authenticating,
	don't use chunked encoding for POST, as we know the content length and
	have the body. Nullify bodyBuffer always in CheckFinalStatus.

	* WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
	IAsyncResult when writing CRLF at the end of a chunk.

	* WebConnectionStream.cs: support sending chunked data.

svn path=/trunk/mcs/; revision=23153
2004-02-17 01:36:39 +00:00
Jackson Harper 942dcd9a6d * FileTest.cs: We do not need to convert to local time because we
are getting creation time, not utc time.

svn path=/trunk/mcs/; revision=23151
2004-02-16 21:39:43 +00:00
Zoltan Varga 4ed1440464 2004-02-16 Zoltan Varga <[email protected]>
* tramp-ppc.c (mono_arch_create_jump_trampoline): Fix compilation on
	PPC.

svn path=/trunk/mono/; revision=23149
2004-02-16 21:00:02 +00:00
Jackson Harper a76c933741 flush
svn path=/trunk/mcs/; revision=23148
2004-02-16 20:57:11 +00:00
Jackson Harper 8479ee6534 * Page.cs: Set cacheability for Location.DownStream.
svn path=/trunk/mcs/; revision=23147
2004-02-16 20:54:36 +00:00
Atsushi Eno 5211dc2d80 2004-02-16 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : no, its still not ok. comment out now.

svn path=/trunk/mcs/; revision=23146
2004-02-16 20:45:31 +00:00
Atsushi Eno 4bcf08c829 2004-02-16 Atsushi Enomoto <[email protected]>
* XslTransformProcessor.cs : Bugfix. Stored keys should be cleared.
	* XslKey.cs : Added ExprKeyContainer expression type, which is
	  designed to be matched at any level.
	* Compiler.cs : support for ExprKeyContainer.

svn path=/trunk/mcs/; revision=23145
2004-02-16 20:29:12 +00:00
Atsushi Eno 99012ec054 2004-02-16 Atsushi Enomoto <[email protected]>
* Expression.cs : Added EvaluatedNodeType and NeedAbsoluteMatching
	  to reduce extraneous Matches() trial.
	* Iterator.cs : Removed unused MergedIterator.
	* XPathNavigator.cs : Optimized Matches() not to evaluate ancestors
	  unnecessarily. (Test with NeedAbsoluteMatching).

svn path=/trunk/mcs/; revision=23144
2004-02-16 20:28:42 +00:00
Atsushi Eno 4755d3e031 2004-02-16 Atsushi Enomoto <[email protected]>
* XmlSchema.cs,
	  XmlSchemaAttribute.cs
	  XmlSchemaAttributeGroup.cs,
	  XmlSchemaComplexContent.cs,
	  XmlSchemaComplexType.cs,
	  XmlSchemaContent.cs,
	  XmlSchemaDatatype.cs,
	  XmlSchemaNotation.cs,
	  XmlSchemaObject.cs,
	  XmlSchemaParticle.cs : extra TODO removal. foreach elimination.
	    Moved attribute group recursion check field from XmlSchemaObject
	    to XmlSchemaAttributeGroup.
	    Fixed XmlSchemaParticle.EmptyParticle class access modifier.
	* XmlSchemaSimpleType.cs,
	  XmlSchemaSimpleTypeContent.cs,
	  XmlSchemaSimpleTypeList.cs,
	  XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaSimpleTypeUnion.cs : Removed "actualBaseSchemaType" field
	    and the owner simpleType should hold the corresponding type info.
	    Collect base type info in prior to validation.

svn path=/trunk/mcs/; revision=23143
2004-02-16 19:38:38 +00:00
Atsushi Eno 822f455b93 2004-02-16 Atsushi Enomoto <[email protected]>
* DTDAutomata.cs,
	  DTDObjectModel.cs,
	  DTDReader.cs,
	  DTDValidatingReader.cs : made classes internal.
	* XmlDocument.cs : removed extra FIXMEs.
	* XmlNamedNodeMap.cs,
	  XmlResolver.cs,
	  XmlUrlResolver.cs :
	  Fixed incorrect method signature.

svn path=/trunk/mcs/; revision=23142
2004-02-16 19:04:50 +00:00
Atsushi Eno e4d254cc2a 2004-02-16 Atsushi Enomoto <[email protected]>
* XslKey.cs : Now it collects key and matching nodes at the first
	  evaluation time. After that, we can just get them from the table.
	* Compiler.cs : Added KeyCompilationMode. It is used to prevent
	  prohibited key() usage in "match" and "use" attributes in xsl:key.
	  Modified accessibility of some classes.
	* GenericOutputter.cs,
	  HtmlEmitter.cs,
	  TextEmitter.cs,
	  TextOutputter.cs,
	  XmlWriterEmitter.cs : made classes internal.
	* XslOutput.cs : support line info for exception.
	* XsltCompiledContext.cs : implemented CompareDocument() - so easily.

svn path=/trunk/mcs/; revision=23141
2004-02-16 18:52:05 +00:00
Atsushi Eno 356cc41e10 2004-02-16 Atsushi Enomoto <[email protected]>
* DTMXPathDocument.cs,
	  DTMXPathDocumentBuilder.cs,
	  DTMXPathDocumentWriter.cs,
	  DTMXPathNavigator.cs,
	  DTMXPathNode.cs :
	    Made classes internal by default (still publicly available with
	    OUTSIDE_SYSTEM_XML switch). Removed unused "position" field.
	    Optimized DTMXPathNavigator.Value a bit.
	* LocationPathPattern.cs : Modified some fields to private.

svn path=/trunk/mcs/; revision=23139
2004-02-16 18:37:56 +00:00
Zoltan Varga db5d7115cd 2004-02-16 Zoltan Varga <[email protected]>
* configure.in: Enable --with-nptl by default.

svn path=/trunk/mono/; revision=23138
2004-02-16 18:35:06 +00:00
Zoltan Varga ceaff7fe4d 2004-02-16 Zoltan Varga <[email protected]>
* mini-x86.c: Call mono_arch_get_lmf_addr instead of mono_get_lmf_addr
	if we have a working __thread implementation.

svn path=/trunk/mono/; revision=23137
2004-02-16 18:33:57 +00:00
Atsushi Eno fba6386bf0 2004-02-16 Atsushi Enomoto <[email protected]>
* XsdIdentityPath.cs,
	  XsdIdentityState.cs,
	  XsdKeyTable.cs,
	  XsdParticleValidationState.cs,
	  XsdValidatingReader.cs,
	  XsdWildcard.cs : made classes internal. Removed extra TODO comments.

svn path=/trunk/mcs/; revision=23136
2004-02-16 18:02:38 +00:00
Francisco Figueiredo Jr. 40322665cb 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
* ChangeLog:  Updated

svn path=/trunk/mcs/; revision=23133
2004-02-16 15:52:24 +00:00
Francisco Figueiredo Jr. c7843336f3 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the connection startup time in 300 milliseconds.

svn path=/trunk/mcs/; revision=23132
2004-02-16 15:50:46 +00:00
Lluis Sanchez af31a18a06 * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
Those are basically methods to add custom attributes to element and
	  attribute members.
	* SoapCodeExporter.cs: Track changes in MapCodeGenerator.
	* XmlCodeExporter.cs: Better support for custom attribute generation for
	  method parameters.
	* XmlCustomFormatter.cs: Added null check.
	* XmlSchemaImporter.cs: do not set IsOptionalValueType property to
	  attributes that are required.
	* XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
	  as attributes.

svn path=/trunk/mcs/; revision=23131
2004-02-16 15:40:15 +00:00
Francisco Figueiredo Jr. 5321f2015f 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
*Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when connecting using protocol 3.0 version. Thanks Sami Kuhmonen <[email protected]> for pointing it out.

svn path=/trunk/mcs/; revision=23130
2004-02-16 15:03:48 +00:00
Francisco Figueiredo Jr. f07391e8f6 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
*Npgsql/NpgsqlConnection.cs:
		Added support for Unicode encoding. Fix feature request 534 on gborg cvs.
		Changed limit setting of max connections from unlimited to 20.

svn path=/trunk/mcs/; revision=23129
2004-02-16 14:50:37 +00:00
Zoltan Varga 62b3e7d654 2004-02-16 Zoltan Varga <[email protected]>
* mini-ops.h cpu-pentium.md mini-x86.c inssel-x86.brg: Remove
	OP_CALL_IMM opcodes, since the CALL opcodes handles immediates as well.

svn path=/trunk/mono/; revision=23128
2004-02-16 14:30:53 +00:00
Zoltan Varga be7d0be3f3 2004-02-16 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: Fix test so it runs under MS.

svn path=/trunk/mcs/; revision=23127
2004-02-16 14:17:17 +00:00
Zoltan Varga 370723e504 2004-02-16 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs: Add some tests.

svn path=/trunk/mcs/; revision=23126
2004-02-16 13:48:55 +00:00
Carlos Guzmán Álvarez 7fcc641072 2004-02-16 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:

        - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).

svn path=/trunk/mcs/; revision=23125
2004-02-16 12:33:46 +00:00
Jordi Mas i Hernandez 796008643d revert Sanjay patches
svn path=/trunk/mcs/; revision=23123
2004-02-16 11:40:48 +00:00
Lluis Sanchez cbf03321ee * HttpWebRequest.cs: When retrying a POST request after an authentication
failure, resend the body. This fixes bug #51841.
	* WebConnectionStream.cs: Added properties for getting what's been written.

svn path=/trunk/mcs/; revision=23121
2004-02-16 10:18:23 +00:00
Marek Safar 8f1072d4da 2004-02-16 Marek Safar <[email protected]>
* test-230.cs: test for module attributes.

svn path=/trunk/mcs/; revision=23120
2004-02-16 09:35:07 +00:00
Marek Safar 130f5dd764 2004-02-16 Marek Safar <[email protected]>
* cs3001-{7,8}.cs,
	  cs3005-(1-22}.cs,
	  cs3006-{1-6}.cs,
	  cs3012.cs,
	  cs3013.cs New error tests for CLS-compliance.

	* cs186-2.cs,
	  cs0579-2.cs New error tests.

	* makefile: Added CS3005-16-lib.cs and CS3013-module.cs as helpers for errors cs3005-16.cs and cs3013.cs.

svn path=/trunk/mcs/; revision=23119
2004-02-16 09:11:30 +00:00
Marek Safar 685d1d51c5 2004-02-16 Marek Safar <[email protected]>
* interface.cs (FindMembers): The operation is performed on all base
	interfaces and not only on the first. It is required for future CLS Compliance patch.

svn path=/trunk/mcs/; revision=23118
2004-02-16 08:55:42 +00:00
Alberto Fernandez 7352162e0a Changes to compile the samples in the new Location.
Changes to compile new classes.

svn path=/trunk/mcs/; revision=23117
2004-02-16 08:45:08 +00:00
Alberto Fernandez 87feef6fd5 BugFix in a case
svn path=/trunk/mcs/; revision=23116
2004-02-16 08:44:29 +00:00
Alberto Fernandez f936e422f2 Stubbed class
svn path=/trunk/mcs/; revision=23115
2004-02-16 08:44:01 +00:00
Alberto Fernandez ac5b7c3036 New stubbed classes
svn path=/trunk/mcs/; revision=23114
2004-02-16 08:43:34 +00:00
Alberto Fernandez 1cf01bc1bf Sample code moved to Samples dir.
svn path=/trunk/mcs/; revision=23113
2004-02-16 08:42:00 +00:00
Alberto Fernandez 25a367a1c7 Created new directory for sample programs
svn path=/trunk/mcs/; revision=23112
2004-02-16 08:39:22 +00:00
Sebastien Pouliot ecbbca894a 2004-02-15 Sebastien Pouliot <[email protected]>
* ARC4Managed.cs: Removed all % 256 (modulo) because typecasting to
	byte already ensure the result would be correct (as suggested by
	Technoboy). Now use KeyBuilder to create new keys.

svn path=/trunk/mcs/; revision=23111
2004-02-16 01:00:45 +00:00
Carlos Guzmán Álvarez afc79749f0 2004-02-15 Carlos Guzm��n ��lvarez <carlosga@te...>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

 		- Added specific control od available data for Network Streams
 		on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).

 		- Removed test code.

svn path=/trunk/mcs/; revision=23110
2004-02-15 22:04:25 +00:00
Miguel de Icaza 0c9ada3de8 Add new DB2 provider from Victor
svn path=/trunk/mcs/; revision=23108
2004-02-15 16:06:17 +00:00
Zoltan Varga 511407fcd5 2004-02-15 Zoltan Varga <[email protected]>
* mini-x86.c: Fix compilation under gcc 2.95.

svn path=/trunk/mono/; revision=23107
2004-02-15 14:16:21 +00:00
Ben Maurer 9f5c60087b 2004-02-15 Ben Maurer <[email protected]>
* DTDValidatingReader.cs: simple optimization. there is only
	one string, skip the string builder and just return the string.

svn path=/trunk/mcs/; revision=23103
2004-02-15 05:49:49 +00:00
Carlos Guzmán Álvarez c7608aea1e 2004-02-14 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

        - Removed test code.

svn path=/trunk/mcs/; revision=23102
2004-02-14 22:48:27 +00:00
Ben Maurer beb123aa15 build fix
svn path=/trunk/mcs/; revision=23101
2004-02-14 22:33:11 +00:00
Carlos Guzmán Álvarez b0461f99d5 2004-02-14 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

        - Removed test code.

svn path=/trunk/mcs/; revision=23100
2004-02-14 22:23:07 +00:00
Atsushi Eno 7c534f9603 2004-02-14 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransformTest.cs,
	  XmlDsigC14NWithCommentsTransformTest.cs:
	  uncommented some code blocks which should be tested.

svn path=/trunk/mcs/; revision=23098
2004-02-14 19:00:49 +00:00
Atsushi Eno be4a3f8ed5 2004-02-14 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs: Use child nodes of entity reference nodes (it
	  is now correctly supported in XmlEntityReference).

svn path=/trunk/mcs/; revision=23097
2004-02-14 18:55:27 +00:00
Miguel de Icaza f871106b78 Add libgdiplus
svn path=/trunk/mono/; revision=23095
2004-02-14 17:27:33 +00:00
Zoltan Varga 4b9b393af3 2004-02-14 Zoltan Varga <[email protected]>
* mini.c (mono_codegen): Avoid infinite loop when an icall wrapper
	contains a call to the wrapped function.

	* mini-ops.h cpu-pentium.md mini-x86.c inssel-x86.brg: Add
	OP_<CALL>_IMM opcodes, and use them under X86.

	* mini.c (mono_jit_find_compiled_method): Fix warning.

svn path=/trunk/mono/; revision=23094
2004-02-14 15:44:41 +00:00
Atsushi Eno 00696711d8 2004-02-14 Atsushi Enomoto <[email protected]>
* NumberFormatInfo.cs : CurrentInfo should not return clone every
	  time (MS.NET returns the same object; try object.ReferenceEquals()).

svn path=/trunk/mcs/; revision=23093
2004-02-14 15:39:35 +00:00
Zoltan Varga 023b78a774 2004-02-14 Zoltan Varga <[email protected]>
* libtest.c: Add <time.h>

svn path=/trunk/mono/; revision=23092
2004-02-14 15:39:07 +00:00
Miguel de Icaza 88b95d7aab Update
svn path=/trunk/mono/; revision=23091
2004-02-14 15:38:27 +00:00
Francisco Figueiredo Jr. 632be443a2 2004-02-14 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which retur
n no data. Thanks Morten Mertner <[email protected]> for the fix.

svn path=/trunk/mcs/; revision=23090
2004-02-14 15:00:27 +00:00
Francisco Figueiredo Jr. e2983c2081 2004-02-14 Francisco Figueiredo Jr. <[email protected]>
* Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <[email protected]> for the fix.

svn path=/trunk/mcs/; revision=23089
2004-02-14 14:59:45 +00:00
Zoltan Varga 40919e1f75 2004-02-14 Zoltan Varga <[email protected]>
* cpu-pentium.md: Fix length of opcodes which use x86_alu_membase_imm.

svn path=/trunk/mono/; revision=23088
2004-02-14 13:13:42 +00:00
Zoltan Varga 7ee14a5b11 2004-02-14 Zoltan Varga <[email protected]>
* Delegate.cs (Equals): Do not compare method_ptr, since it might
	point to a trampoline.

svn path=/trunk/mcs/; revision=23087
2004-02-14 13:01:29 +00:00
Zoltan Varga e19e6f7b55 2004-02-14 Zoltan Varga <[email protected]>
* delegate.cs: Add test for bug #52092.

svn path=/trunk/mono/; revision=23086
2004-02-14 13:00:43 +00:00
Zoltan Varga eeb9dce94e 2004-02-14 Zoltan Varga <[email protected]>
* jit-icalls.c (mono_ldftn_nosync): New JIT icall.

	* tramp-x86.c (mono_arch_create_jump_trampoline): Move arch independent
	functionality to mini.c.

	* mini.c (mono_create_jump_trampoline): New function to create a jump
	trampoline. Return a compiled method instead of a trampoline if it
	exists. Add a cache for jump trampolines.

	* mini.c (mono_jit_find_compiled_method): New function to return a
	compiled method if it exists.

	* mini-x86.c: Call mono_create_jump_trampoline instead of
	mono_arch_create_jit_trampoline.

	* jit-icalls.c (mono_ldftn): Do not compile the method. Instead, return
	a jump trampoline. Fixes #52092.

svn path=/trunk/mono/; revision=23085
2004-02-14 12:59:08 +00:00
Zoltan Varga 67cfc3c384 2004-02-14 Zoltan Varga <[email protected]>
* debug-helpers.c (mono_method_full_name): Fix output for empty
	namespaces.

svn path=/trunk/mono/; revision=23084
2004-02-14 12:38:51 +00:00
Peter Dennis Bartok 7ae6c31320 - Initial check-in
svn path=/trunk/mcs/; revision=23083
2004-02-13 23:05:35 +00:00
Peter Dennis Bartok 233ae443bc - Initial version of the patch for Wine 20040121
svn path=/trunk/mcs/; revision=23082
2004-02-13 22:53:23 +00:00
Sebastien Pouliot 50643cee25 2004-02-13 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Re-introduced INSIDE_CORLIB for ModulusRing.

svn path=/trunk/mcs/; revision=23081
2004-02-13 21:30:55 +00:00
Sebastien Pouliot bc1c14cb13 2004-02-13 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added Diffie-Hellman contribution from
	Pieter Philippaerts (mentalis.org) to Mono.Security.Cryptography.
	* Mono.Security_test.dll.sources: Added Diffie-Hellman unit tests.

svn path=/trunk/mcs/; revision=23079
2004-02-13 21:16:59 +00:00
Sebastien Pouliot 95d115347c 2004-02-13 Sebastien Pouliot <[email protected]>
* SearchGeneratorTest.cs: Fixed csc compilation (was using
	partial namespace).

svn path=/trunk/mcs/; revision=23077
2004-02-13 21:15:51 +00:00
Sebastien Pouliot f49aecf45f 2004-02-13 Sebastien Pouliot <[email protected]>
* DiffieHellmanManagedTest.cs: New. Basic unit test for DH.

svn path=/trunk/mcs/; revision=23076
2004-02-13 21:04:50 +00:00
Sebastien Pouliot bc75a4962b 2004-02-13 Sebastien Pouliot <[email protected]>
* DHKeyGeneration.cs: New. Enumuration of possible key generation for
	Diffie-Hellman. Contributed by Pieter Philippaerts (mentalis.org).
	* DHParameters.cs: New. Structure to hold the different elements of a
	Diffie-Hellman key. Contributed by Pieter Philippaerts (mentalis.org).
	* DiffieHellman.cs: New. Astract class as base for all Diffie-Hellman
	implementations. Contributed by Pieter Philippaerts (mentalis.org).
	* DiffieHellmanManaged.cs: New. Managed implementation of the Diffie-
	Hellman key agreement algorithm. Contributed by Pieter Philippaerts.

svn path=/trunk/mcs/; revision=23075
2004-02-13 21:03:55 +00:00
Jackson Harper 7463890afc * FileStream.cs: Throw some more exceptions for invalid
params. Fixes some unit test failures.
	* BufferedStream.cs: If the stream is closed (can't read from it
	or write to it) throw an ObjectDisposedException.

svn path=/trunk/mcs/; revision=23074
2004-02-13 20:14:53 +00:00
Atsushi Eno 27496c3d66 2004-02-13 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs :
	  say goodbye to sys.collections.specialized.
	  (replaced the classes in that namespace with ArrayList or Hashtable)

svn path=/trunk/mcs/; revision=23073
2004-02-13 20:08:50 +00:00
Atsushi Eno 2a3cfca1b9 2004-02-13 Atsushi Enomoto <[email protected]>
* XslVariable.cs : Replaced XmlNodeWriter with DTMXPathDocumentWriter.

svn path=/trunk/mcs/; revision=23072
2004-02-13 20:05:34 +00:00
Atsushi Eno d456435b4f 2004-02-13 Atsushi Enomoto <[email protected]>
* XsltCompiledContext.cs : fixed the length of context info array.

svn path=/trunk/mcs/; revision=23071
2004-02-13 20:04:52 +00:00
Atsushi Eno 4713532337 2004-02-13 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added DTMXPathDocumentWriter.cs.

svn path=/trunk/mcs/; revision=23070
2004-02-13 20:04:06 +00:00
Atsushi Eno 7473ff612a 2004-02-13 Atsushi Enomoto <[email protected]>
* Added DTMXPathDocumentWriter.cs. It supports DTMXPathNavigator as
	  the resulting document tree.
	* DTMXPathDocumentBuilder.cs : Code refactory (to get closer to dtm
	  writer and commonify tasks they both should do). Reduced initial
	  array size (400 to 200, for attribute 800 to 200), and extending
	  size from 2x to 4x (to reduce _times_ of allication copy).
	* DTMXPathNode.cs : (and all above) added experimental "DTM_CLASS"
	  switch, which changes nodes from struct to class. (It will reduce
	  memory consumption by 2/3, but will also reduce speed by 2/3.)

svn path=/trunk/mcs/; revision=23069
2004-02-13 20:03:33 +00:00
Miguel de Icaza 70c94fb303 Put the status at the top
svn path=/trunk/mono/; revision=23068
2004-02-13 18:21:30 +00:00
Sebastien Pouliot f9ce7baef3 2004-02-13 Sebastien Pouliot <[email protected]>
* PrimeGeneratorBase.cs: Changed primality test to Rabin Miller to
	fix issues #51229 (bug), #54262 (very long in same cases).

svn path=/trunk/mcs/; revision=23066
2004-02-13 16:22:12 +00:00
Sebastien Pouliot 7cd75c53a9 2004-02-13 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Fixed isProbablePrime() and added Parse method from
	patch provided by Pieter (#51229). Changed SmallPrimeSppTest to
	RabinMillerTest (#51229, #54262). Removed obsoleted method
	isProbablePrime(int).

svn path=/trunk/mcs/; revision=23065
2004-02-13 16:20:41 +00:00
Sebastien Pouliot 9a655890a4 2004-02-13 Sebastien Pouliot <[email protected]>
* PrimeTestingTest.cs: Added well known (and tested) primes from
	RFC 2412 (http://www.faqs.org/rfcs/rfc2412.html) as suggested by
	Pieter Philippaerts (#51229).
	* SearchGeneratorTest.cs: Modified so this still use the (previous)
	SmallPrimeSppTest primality test - because RM doesn't work for
	small primes.

svn path=/trunk/mcs/; revision=23064
2004-02-13 16:13:43 +00:00
Sebastien Pouliot a5a6d3e582 2004-02-13 Sebastien Pouliot <[email protected]>
* PrimeGeneratorBase.cs: Changed primality test to Rabin Miller to
	fix issues #51229 (bug), #54262 (very long in same cases).

svn path=/trunk/mcs/; revision=23063
2004-02-13 16:12:25 +00:00
Sebastien Pouliot e72646256b 2004-02-13 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Fixed isProbablePrime() and added Parse method from
	patch provided by Pieter (#51229). Changed SmallPrimeSppTest to
	RabinMillerTest (#51229, #54262). Removed obsoleted method
	isProbablePrime(int).

svn path=/trunk/mcs/; revision=23062
2004-02-13 16:09:15 +00:00
Miguel de Icaza b326abbbc3 Spell check
svn path=/trunk/mono/; revision=23060
2004-02-13 15:40:48 +00:00
Ravindra 0b3b333f0c Fixed some bugs in Pen.cs and TextureBrush.cs.
svn path=/trunk/mcs/; revision=23059
2004-02-13 15:15:48 +00:00
Sanja Gupta f2b0044bb0 ChangeLog: Updated ChangeLog
gdipFunctions.cs: Added ImageCodecInfo functions and corrected
		  few Image class functions
Image.cs: Added few methods

svn path=/trunk/mcs/; revision=23057
2004-02-13 14:48:49 +00:00
Jordi Mas i Hernandez 48ab16f92a remove hardcoded font names, a few bug fixes
svn path=/trunk/mcs/; revision=23056
2004-02-13 12:06:10 +00:00
Jordi Mas i Hernandez 55be395cab font and format drawing samples
svn path=/trunk/mcs/; revision=23055
2004-02-13 10:40:15 +00:00
Sanja Gupta 2531d682a4 ChangeLog: Updated ChangeLog
FrameDimension.cs: Implemented missing functionalities.

svn path=/trunk/mcs/; revision=23053
2004-02-13 10:11:10 +00:00
Jackson Harper 8fbe3cd08e * Calendar.cs: Match MS postback data. This allows sites that
parse the postback data manually to work.

svn path=/trunk/mcs/; revision=23052
2004-02-13 09:23:54 +00:00
Miguel de Icaza bf5ad2db85 Link
svn path=/trunk/mono/; revision=23051
2004-02-13 05:47:51 +00:00
Miguel de Icaza 7b8bb2a2a7 updates
svn path=/trunk/mono/; revision=23050
2004-02-13 05:42:44 +00:00
Ben Maurer d85cdd96a1 here ya go, miggy
svn path=/trunk/mcs/; revision=23049
2004-02-13 04:44:51 +00:00
Ben Maurer 07e4bfd13a 2004-02-12 Ben Maurer <[email protected]>
* statement.cs, codegen.cs:
	This patch deals with patterns such as:

	public class List : IEnumerable {

		public MyEnumerator GetEnumerator () {
			return new MyEnumerator(this);
		}

		IEnumerator IEnumerable.GetEnumerator () {
			...
		}

		public struct MyEnumerator : IEnumerator {
			...
		}
	}

	Before, there were a few things we did wrong:
	1) we would emit callvirt on a struct, which is illegal
	2) we emited ldarg when we needed to emit ldarga
	3) we would mistakenly call the interface methods on an enumerator
	type that derived from IEnumerator and was in another assembly. For example:

	public class MyEnumerator : IEnumerator

	Would have the interface methods called, even if there were public impls of the
	method. In a struct, this lead to invalid IL code.

svn path=/trunk/mcs/; revision=23048
2004-02-13 04:21:34 +00:00
Jackson Harper 490f669497 * SortedList.cs: Only .et 1.0 sets the capacity to a min of
initial size.

svn path=/trunk/mcs/; revision=23046
2004-02-12 23:06:57 +00:00
Atsushi Eno ee779c6dd8 2004-02-12 Atsushi Enomoto <[email protected]>
* XmlReader.cs : For performance reason, XmlTextReader now uses
	  base ReadInnerXml() and don't store currentTag array unnecessarily.
	* XmlTextReader.cs :
	  - Fixed GetAttribute(int) that might cause index out of range.
	  - Now it consumes the text reader by reading blocks, as MS.NET does.
	    Modified GetRemainder(), PeekChar(), ReadChar() and so on.
	  - Now it doesn't create Value string for linked nodes, unless it
	    is actually required.
	  - some code refactory.

svn path=/trunk/mcs/; revision=23041
2004-02-12 20:33:00 +00:00
Jackson Harper 39780d0576 * AppDomainSetup.cs: If relative paths are used they should be
rooted in the temp directory.

svn path=/trunk/mcs/; revision=23040
2004-02-12 20:22:32 +00:00
Martin Baulig 72ed23879f 2004-02-12 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedField): Removed.

svn path=/trunk/mcs/; revision=23039
2004-02-12 19:58:32 +00:00
Martin Baulig 00824ff782 2004-02-12 Martin Baulig <[email protected]>
* class.h (MonoClassField): Added `MonoType *generic_type'.

	* reflection.c (mono_image_get_fieldref_token): Added support for
	instantiated generic types.
	(field_encode_inflated_field): Removed.
	(mono_image_get_inflated_field_token): Removed.
	(mono_reflection_inflate_field): Return a `MonoReflectionField *'.

	* reflection.h (MonoReflectionInflatedField): Removed.

svn path=/trunk/mono/; revision=23038
2004-02-12 19:58:16 +00:00
Martin Baulig 32cdee5fd9 2004-02-12 Martin Baulig <[email protected]>
* metadata.h (MonoMethodHeader, MonoMethodSignature): Moved the
	`gen_method' field from MonoMethodHeader to MonoMethodSignature.

	* reflection.c (mono_image_get_methodspec_token): Take a
	`MonoMethod *' instead of a `MonoReflectionInflatedMethod *'.
	(mono_image_create_token): Check whether we have a
	`method->signature->gen_method' and call
	mono_image_get_methodspec_token() if appropriate.
	(inflated_method_get_object): Removed.
	(mono_reflection_bind_generic_method_parameters): Return a
	`MonoReflectionMethod *', not a `MonoReflectionInflatedMethod *'.
	(mono_reflection_inflate_method_or_ctor): Likewise.

	* reflection.h (MonoReflectionInflatedMethod): Removed.

svn path=/trunk/mono/; revision=23037
2004-02-12 19:54:47 +00:00
Martin Baulig 461ad15c82 2004-02-12 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.

svn path=/trunk/mcs/; revision=23036
2004-02-12 18:46:36 +00:00
Martin Baulig 9cd3cbd4e6 2004-02-12 Martin Baulig <[email protected]>
* metadata.h (MonoMethodHeader, MonoMethodSignature): Moved the
	`gen_method' field from MonoMethodHeader to MonoMethodSignature.

	* reflection.c (mono_image_get_methodspec_token): Take a
	`MonoMethod *' instead of a `MonoReflectionInflatedMethod *'.
	(mono_image_create_token): Check whether we have a
	`method->signature->gen_method' and call
	mono_image_get_methodspec_token() if appropriate.
	(inflated_method_get_object): Removed.
	(mono_reflection_bind_generic_method_parameters): Return a
	`MonoReflectionMethod *', not a `MonoReflectionInflatedMethod *'.
	(mono_reflection_inflate_method_or_ctor): Likewise.

	* reflection.h (MonoReflectionInflatedMethod): Removed.

svn path=/trunk/mono/; revision=23034
2004-02-12 18:44:58 +00:00
Gonzalo Paniagua Javier a0ec7a5cf7 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.

svn path=/trunk/mcs/; revision=23033
2004-02-12 17:58:44 +00:00
Sanja Gupta 4c6a7f9bd8 ChangeLog: Updated changelog
gdipFunctions.cs: Added Image class functions
Image.cs: Implemented few methods

svn path=/trunk/mcs/; revision=23028
2004-02-12 15:38:23 +00:00
Ravindra 8c534977f3 Added EncoderParameter.cs and EncoderParameters.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=23027
2004-02-12 14:40:24 +00:00
Ravindra 8f28c89441 Implemented EncoderParameter.cs and EncoderParameters.cs.
svn path=/trunk/mcs/; revision=23026
2004-02-12 14:34:59 +00:00
Sebastien Pouliot 9706939834 2004-02-12 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
	(InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.

svn path=/trunk/mcs/; revision=23025
2004-02-12 14:12:22 +00:00
Sebastien Pouliot 200c9a1de1 2004-02-12 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Remove the _blockSize assumptions because some
	Transforms could be different on Input/Output. Added a special case
	for cascading CryptoStreams in FlushFinalBlock.

svn path=/trunk/mcs/; revision=23024
2004-02-12 14:09:39 +00:00
Gonzalo Paniagua Javier a4eea8a359 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs:
	* HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
	#53670).

svn path=/trunk/mcs/; revision=23023
2004-02-12 13:55:02 +00:00
Gonzalo Paniagua Javier 028677137a 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: fixed length check. Closes bug #54201.
	Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
	decoding.

svn path=/trunk/mcs/; revision=23022
2004-02-12 13:32:28 +00:00
Zoltan Varga e5509bb660 2004-02-12 Zoltan Varga <[email protected]>
* marshal10.cs: Oops, wrong test.

svn path=/trunk/mono/; revision=23020
2004-02-12 12:33:30 +00:00
Zoltan Varga 5939f44cd3 2004-02-12 Zoltan Varga <[email protected]>
* libtest.c: Add valuetype marshaling test.

svn path=/trunk/mono/; revision=23019
2004-02-12 12:29:05 +00:00
Zoltan Varga f5f4b958d7 2004-02-12 Zoltan Varga <[email protected]>
* marshal9.cs: Fix after marshaling changes.

	* marshal10.cs: Add valuetype marshaling test.

svn path=/trunk/mono/; revision=23017
2004-02-12 12:23:30 +00:00
Zoltan Varga 5e0aa28a9e 2004-02-12 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Implement proper support
	for custom valuetype marshalling.

svn path=/trunk/mono/; revision=23016
2004-02-12 12:22:33 +00:00
Zoltan Varga 08a8f35e18 2004-02-12 Zoltan Varga <[email protected]>
* icall.c (icall_entries): Diagnostic -> Diagnostics. Fixes #54261.

svn path=/trunk/mono/; revision=23015
2004-02-12 12:14:58 +00:00
Marek Safar 521e549e0c 2004-02-11 Marek Safar <[email protected]>
* Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.

svn path=/trunk/mcs/; revision=23014
2004-02-12 11:57:18 +00:00
Marek Safar c9d5308204 2004-02-11 Marek Safar <[email protected]>
* const.cs: Const is now derived from FieldBase. Method EmitConstant name
	  renamed to Emit.

        * delegate.cs (Define): Fixed crash when delegate type is undefined.

svn path=/trunk/mcs/; revision=23013
2004-02-12 10:59:38 +00:00
Gonzalo Paniagua Javier 4b9d820cc7 more
svn path=/trunk/mcs/; revision=23010
2004-02-12 01:54:13 +00:00
Gonzalo Paniagua Javier cc88fca10b aaargh
svn path=/trunk/mcs/; revision=23009
2004-02-12 01:48:38 +00:00
Gonzalo Paniagua Javier 674ed42fa1 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* System.Text.RegularExpressions/parser.cs: an opening brace without a
	quantifier do not cause a parse error. Fixes bug #52924.
	* Test/System.Text.RegularExpressions/RegexBugs.cs: added test from
	bug #52924.

svn path=/trunk/mcs/; revision=23008
2004-02-12 01:40:36 +00:00
Gonzalo Paniagua Javier 1ccd257868 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* BasicClient.cs:
	* DigestClient.cs: use IndexOf instead of StartsWith to deal with
	servers that provide several authentication schemas.

svn path=/trunk/mcs/; revision=23007
2004-02-12 01:38:48 +00:00
Jackson Harper cb7e4e39be * Uri.cs: If we are sure we have a windows path use \ instead of
/ for directory separating.

svn path=/trunk/mcs/; revision=23006
2004-02-12 01:00:10 +00:00
Gonzalo Paniagua Javier 6e64eaf926 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: added locks around waithandle assign and comparison in
	class Worker. Handle other exceptions than SocketException for
	non-blocking sockets.

svn path=/trunk/mcs/; revision=23005
2004-02-12 00:55:21 +00:00
Gonzalo Paniagua Javier c48e993d10 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: use an array of buffers instead of a MemoryStream for
	storing the chunks. This way, we won't miss traling data from the
	previous chunk when a new one is received before the other is fully
	read.

svn path=/trunk/mcs/; revision=23004
2004-02-12 00:50:34 +00:00
Jackson Harper 8d276058d7 * TraceData.cs: Use ToString for cookie/header/var name values so
null is handled properly.

svn path=/trunk/mcs/; revision=23003
2004-02-12 00:19:00 +00:00
Miguel de Icaza ef856893c0 2004-02-11 Miguel de Icaza <[email protected]>
* cs-parser.jay: Fix small regression: we were not testing V2
	compiler features correctly.

svn path=/trunk/mcs/; revision=23002
2004-02-12 00:12:08 +00:00
Miguel de Icaza dc5e29d52d ChangeLog entry
svn path=/trunk/mcs/; revision=23001
2004-02-12 00:08:36 +00:00
Miguel de Icaza 1c3f888ae7 update todo
svn path=/trunk/mcs/; revision=23000
2004-02-12 00:08:15 +00:00
Miguel de Icaza c549c333c8 Fix regression in the compiler
svn path=/trunk/mcs/; revision=22999
2004-02-12 00:08:05 +00:00
Lluis Sanchez f36c0b6fb2 * WebServiceHelper.cs: When reading a soap request, skip empty headers.
This fixes bug #51846.

svn path=/trunk/mcs/; revision=22998
2004-02-11 23:28:22 +00:00
Aaron Weber 188b8f7f5c Updated index and oldnews so that:
* Oldnews has years in all dates
* Oldnews goes back to the beginning of the project
* index starts at 2004

svn path=/trunk/mono/; revision=22995
2004-02-11 22:17:45 +00:00
Zoltan Varga 09b9d07749 2004-02-11 Zoltan Varga <[email protected]>
* debug-mini.c (mono_init_debugger): Remove call to mono_verify_corlib,
	which is not up-to-date. Add check_corlib_version () instead.

svn path=/trunk/mono/; revision=22989
2004-02-11 20:16:35 +00:00
Jackson Harper eaa188c2fe * Uri.cs: If the relative uri passed to Uri (base_uri,
relative_uri) is an absolute uri do not combine the uris. The base
	uri is dropped.

svn path=/trunk/mcs/; revision=22988
2004-02-11 19:35:10 +00:00
Sebastien Pouliot ce4af61c71 2004-02-11 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added unit tests for
	XmlDsigXPathTransform.

svn path=/trunk/mcs/; revision=22987
2004-02-11 18:59:24 +00:00
Sebastien Pouliot d3cb20eefa 2004-02-11 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: Corrected the xmlRSA XML string.

svn path=/trunk/mcs/; revision=22986
2004-02-11 18:58:37 +00:00
Sebastien Pouliot 45c940d7fc 2004-02-11 Sebastien Pouliot <[email protected]>
* Reference.cs: Added LoadInnerXml to transforms. Removed unused
	variable.
	* Transform.cs: Import GetInnerXml in GetXml.
	* XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
	allocations.
	* XmlDsigC14NTransform.cs: Added Stream support to LoadInput
	* XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
	expression and LoadInput. It nows match MS implementation but doesn't
	work like I think it should (but neither is MS implementation).

svn path=/trunk/mcs/; revision=22985
2004-02-11 18:09:07 +00:00
Sebastien Pouliot e8ce970287 2004-02-11 Sebastien Pouliot <[email protected]>
* ReferenceTest.cs: Tests fixed if XML is different (but equivalent)
	to MS implementation.
	* SignatureTest.cs: Tests fixed if XML is different (but equivalent)
	to MS implementation.
	* XmlDsigBase64TransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. No more convertion to arrays.
	* XmlDsigC14NTransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. Fixed input/output typo. Tests
	fixed if XML is different (but equivalent) to MS implementation.
	* XmlDsigC14NWithCommentsTransformTest.cs: New UnprotectedGetInnerXml
	class to get results from the protected GetInnerXml. Fixed input/output
	typo.
	* XmlDsigXPathTransformTest.cs: New. Unit tests XmlDsigXPathTransform.
	* XmlDsigXsltTransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. Fixed input/output typo.

svn path=/trunk/mcs/; revision=22984
2004-02-11 18:04:40 +00:00
Gonzalo Paniagua Javier ceb3b59c94 2004-02-11 Gonzalo Paniagua Javier <[email protected]>
* icall.c: fixed WSAGetLastError_internal name.

svn path=/trunk/mono/; revision=22983
2004-02-11 17:37:08 +00:00
Lluis Sanchez fafa60acba * SoapProtocolReflector.cs: Fixed bug #53247. Element name asigned to the
message part (in literal+bare format) was incorrect.

svn path=/trunk/mcs/; revision=22982
2004-02-11 16:18:18 +00:00
Atsushi Eno f945b162b7 2004-02-11 Atsushi Enomoto <[email protected]>
* MonoMicro.Test.csproj : updated.

svn path=/trunk/mcs/; revision=22981
2004-02-11 16:13:32 +00:00
Ravindra 68a26f8122 Added status checks using CheckStatus(Status) method.
svn path=/trunk/mcs/; revision=22980
2004-02-11 16:06:21 +00:00
Atsushi Eno c7d4deb54a 2004-02-11 Atsushi Enomoto <[email protected]>
* Mono.System.XML.csproj : updated.

svn path=/trunk/mcs/; revision=22979
2004-02-11 16:03:22 +00:00
Aaron Weber 0f5da7211a 2004-02-05 Aaron Weber <[email protected]>
* README: update to describe better how to use the doc/web stuff

	* index: change layout, move old news to oldnews page, rewrite
	content, add new headings, decrease size of other headings.

	* jit-debug: change link to martin's page; now it points to the
	dir holding the debugger files. Fix grammar in one sentence.

	* oldnews: erase very old news, add slightly old news removed from
	index

	* web/htmlify: shrink size of newsitem headings.

svn path=/trunk/mono/; revision=22978
2004-02-11 15:40:35 +00:00
Zoltan Varga f8f3858860 2004-02-11 Zoltan Varga <[email protected]>
* mini.c (mini_init): Call mono_thread_attach () so embedders do not
	have to call it.

svn path=/trunk/mono/; revision=22977
2004-02-11 15:12:41 +00:00
Zoltan Varga 40d7d81d57 2004-02-11 Zoltan Varga <[email protected]>
* threads.c (mono_thread_attach): Allow this to be called multiple
	times for a thread.

	* threads.c (build_wait_tids): Do not wait for ourselves.

	* threads.c (mono_thread_pop_appdomain_ref): Avoid crash if the
	appdomain list is empty.

svn path=/trunk/mono/; revision=22976
2004-02-11 15:11:20 +00:00
Zoltan Varga fd419e04b5 2004-02-11 Zoltan Varga <[email protected]>
* mini.c (mono_runtime_install_handlers): Remove check for valgrind
	since newer valgrind versions do not need it.

svn path=/trunk/mono/; revision=22975
2004-02-11 14:39:49 +00:00
Zoltan Varga 24f1b3f462 2004-02-11 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_with_opt): New helper function to
	compile a method with a given set of optimizations.

	* mini.c: Compile icall wrappers on-demand instead of at startup.

	* mini-sparc.c mini-ppc.c: Call mono_icall_get_wrapper to obtain the
	wrapper for an icall.

2004-02-10  Zoltan Varga  <[email protected]>

	* mini.c (mono_method_to_ir): Handle switch with non-empty stack. Fixes
	#54063.

svn path=/trunk/mono/; revision=22974
2004-02-11 14:31:40 +00:00
Paolo Molaro 72f66749ac Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <[email protected]>
* Makefile.am, mono-codeman.h, mono-codeman.c: new support code
	to deal with buffers of native code (handles exec bits and other
	details).

svn path=/trunk/mono/; revision=22973
2004-02-11 14:05:20 +00:00
Zoltan Varga 42b09bdf01 2004-02-11 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Do not free the
	memory returned by mono_string_builder_to_utf16, since it points into
	managed memory. Thanks to Bernie Solomon for noticing this.

svn path=/trunk/mono/; revision=22972
2004-02-11 13:59:46 +00:00
Zoltan Varga 2a82c0f881 2004-02-11 Zoltan Varga <[email protected]>
* icall.c: Add AppDomainSetup icalls.

svn path=/trunk/mono/; revision=22971
2004-02-11 13:58:03 +00:00
Zoltan Varga b2a4f152ab 2004-02-11 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs: Add tests for parameter info.

svn path=/trunk/mcs/; revision=22970
2004-02-11 13:42:36 +00:00
Zoltan Varga c3532306e8 2004-02-11 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionMethodAux): Add 'param_cattr' field.

	* reflection.c (mono_custom_attrs_from_param): Add support for dynamic
	types.

	* reflection.c (reflection_methodbuilder_to_mono_method): Save
	custom attributes to the method_aux struct. Also fix array indexes etc.

	* loader.c (mono_method_get_param_names): Make dynamic case work again.

svn path=/trunk/mono/; revision=22969
2004-02-11 13:41:33 +00:00
Lluis Sanchez d2f63bb61f * MapCodeGenerator.cs: Changed some methods to make them easier to reuse.
* TypeTranslator.cs: NMTOKENS, ENTITIES and IDREFS must be mapped to
	  string, not string[].
	* XmlCodeExporter.cs: AddMappingMetadata(): improved attribute generation
	  for array parameters. In general, improved generation of schema Form
	  property.
	* XmlMemberMapping.cs: Added Form property.
	* XmlReflectionImporter.cs: Types that inherit from other types cannot be
	  simple types. Added a check for this.
	* XmlSchemaExporter.cs: several fixes: better generation of IsMixed and
	  Form. The key used to determine if a map has been already generated must
	  include the XmlType, since there can be two xml types with the same CLR
	  type and namespace (for example, they may differ in the Form property).
	* XmlSchemaImporter.cs: When getting the TypeData for a schema element,
	  also return the corresponding map. There can be two maps that have the
	  same TypeData, so given a TypeData is not always possible to get the
	  correct corresponding map (for example two arrays that only differ in the
	  Form of the item).
	* XmlTypeMapping.cs: Added method to set if a map can represent a simple
	  type or not.

svn path=/trunk/mcs/; revision=22968
2004-02-11 11:27:23 +00:00
Atsushi Eno d43e2ed2ea oops, commited incomplete log.
svn path=/trunk/mcs/; revision=22967
2004-02-11 03:53:40 +00:00
Atsushi Eno c37ea7b26d 2004-02-11 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs.

svn path=/trunk/mcs/; revision=22966
2004-02-11 03:50:03 +00:00
Francisco Figueiredo Jr. 5cd3d7bec8 2004-02-10 Francisco Figueiredo Jr. <[email protected]>
* NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen ([email protected]).

svn path=/trunk/mcs/; revision=22965
2004-02-10 23:58:54 +00:00
Francisco Figueiredo Jr. a8e3e613a3 2004-02-10 Francisco Figueiredo Jr. <[email protected]>
* Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen ([email protected]).

svn path=/trunk/mcs/; revision=22964
2004-02-10 23:54:46 +00:00
Tim Coleman 4fa780dfa7 2004-02-10 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml classes.

svn path=/trunk/mcs/; revision=22963
2004-02-10 22:56:35 +00:00
Tim Coleman da4f97eae4 2004-02-10 Tim Coleman <[email protected]>
* DataReference.cs EncryptedKey.cs EncryptedXml.cs
        * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
        * X509IssuerSerial.cs XmlDecryptionTransform.cs:
                Add new classes for Xml Encryption in 1.2
        * CipherData.cs CipherReference.cs EncryptedData.cs
        * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
                Change NamespaceURI reference to EncryptedXml class.
                Make compliant with 1.2
        * XmlEncryption.cs:
                Add new entity names.

svn path=/trunk/mcs/; revision=22962
2004-02-10 22:55:52 +00:00
Jackson Harper 2fc4db4f97 * TemplateParser.cs: Use full path if the assembly is in the
private bin directory. Patch by Gonzalo Paniagua Javier.

svn path=/trunk/mcs/; revision=22961
2004-02-10 22:52:03 +00:00
Jackson Harper d36e342d2d * AspTokenizer.cs: Collect discarded characters that might be used
in client side scripts. Patch by Liyu Liu.
	* AspParser.cs: Add discarded characters. Patch by Liyu Liu.

svn path=/trunk/mcs/; revision=22960
2004-02-10 22:39:49 +00:00
Jackson Harper f80bf0e4ad * Uri.cs: Preserve the trailing / if there is one when reducing
paths.

svn path=/trunk/mcs/; revision=22959
2004-02-10 21:12:06 +00:00
Jackson Harper 5d3bd86c5b * BaseCompiler.cs: Use the TempDirectory for compilation. Fixes
bug #54117.

svn path=/trunk/mcs/; revision=22955
2004-02-10 20:10:19 +00:00
Jackson Harper f6394f692e * VBCodeCompiler.cs: Use the temp files collection for
creating temp files.

svn path=/trunk/mcs/; revision=22954
2004-02-10 20:03:45 +00:00
Jackson Harper f13ce1748b * CSharpCodeCompiler.cs: Use the temp files collection for
creating temp files.

svn path=/trunk/mcs/; revision=22953
2004-02-10 20:02:08 +00:00
Jackson Harper 6779183017 * CompilerParameters.cs: TempFiles should never return
null.

svn path=/trunk/mcs/; revision=22952
2004-02-10 19:59:54 +00:00
Carlos Guzmán Álvarez d65b7fb0d5 2004-02-10 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Cryptography/PKCS1.cs:

        - Added little change for allow the class to be used with
        hash implementations that doesn't have an oid like the MD5SHA1 hash.

svn path=/trunk/mcs/; revision=22951
2004-02-10 19:41:47 +00:00
Zoltan Varga e076dd439d 2004-02-10 Zoltan Varga <[email protected]>
* Makefile.am: Remove the SHELL=bash setting since some people do not seem to
	have bash.

svn path=/trunk/mono/; revision=22948
2004-02-10 18:47:11 +00:00
Paolo Molaro 0e9c1b7fde Tue Feb 10 17:03:04 CET 2004 Paolo Molaro <[email protected]>
* icall.c, loader.c: icall cleanup: we save quite a bit of memory
	(both static and runtime) and reduce startup time.

svn path=/trunk/mono/; revision=22946
2004-02-10 15:44:33 +00:00
Zoltan Varga c525ea7b42 2004-02-10 Zoltan Varga <[email protected]>
* iltests.il: Add test for non-empty stack before switch instruction.

svn path=/trunk/mono/; revision=22945
2004-02-10 14:48:04 +00:00
Gonzalo Paniagua Javier 9718b1dc86 2004-02-10 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs:
	* WebConnection.cs: fixed bug that caused ChunkStream to return 0 on
	Read if it have not yet received any byte of the body but is expecting
	a body.

svn path=/trunk/mcs/; revision=22944
2004-02-10 14:47:34 +00:00
Zoltan Varga b6af649259 2004-02-10 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Throw an exception on
	AsAny marshalling conversion instead of crashing.

	* marshal.c: Fix warnings.

svn path=/trunk/mono/; revision=22943
2004-02-10 13:34:58 +00:00
Carlos Guzmán Álvarez a8fd93fdce Throw exception if the Private Key is null
svn path=/trunk/mcs/; revision=22942
2004-02-10 11:54:50 +00:00
Zoltan Varga 03a63aa891 2004-02-10 Zoltan Varga <[email protected]>
* AppDomain.cs (Load): Check that assemblyRef.Name is not empty, to
	avoid an assert in the runtime.

svn path=/trunk/mcs/; revision=22941
2004-02-10 11:04:03 +00:00
Carlos Guzmán Álvarez 5236e75281 Ssl Server class without implementation ( methods signatures only ). Matches MS .NET 1.2 documentation
svn path=/trunk/mcs/; revision=22940
2004-02-10 10:18:15 +00:00
Jordi Mas i Hernandez 6cad15eabe drawstring methods fixes
svn path=/trunk/mcs/; revision=22939
2004-02-10 09:02:53 +00:00
Marek Safar 7f2c0acf6a 2004-02-10 Marek Safar <[email protected]>
* cs0111-2.cs: Fixed error message.
          cs0111-5.cs,
	  cs0528-2.cs: New error tests.

svn path=/trunk/mcs/; revision=22938
2004-02-10 08:56:09 +00:00
Atsushi Eno 9bd7b7cfc6 2004-02-10 Atsushi Enomoto <[email protected]>
* XmlNode.cs : ChildNodes should not create XmlNodeListChildren
	  every time. This fix heavily improved performance.

svn path=/trunk/mcs/; revision=22937
2004-02-10 08:33:28 +00:00
Atsushi Eno 05e5039380 2004-02-10 Atsushi Enomoto <[email protected]>
* XsltCompiledContext.cs :
	  replaced EnumeratorIterator with ListIterator

svn path=/trunk/mcs/; revision=22935
2004-02-10 06:05:26 +00:00
Atsushi Eno 848087839d 2004-02-10 Atsushi Enomoto <[email protected]>
* Iterator.cs : Added overriden Count properties for some iterators
	  (this fixes the half of #50678).
	  Added ListIterator class (which can reduce GetEnumerator()).
	  In some places we can omit clone for Current property, so added
	  some check logic (It has no effect as yet).
	* Expression.cs, DefaultContext.cs :
	  use ListIterator instead of EnumeratorIterator.

svn path=/trunk/mcs/; revision=22934
2004-02-10 06:04:28 +00:00
Atsushi Eno 0e242ba0a0 2004-02-10 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : set owner element as parent on removal
	  events (though they are not "parent" in infoset or dom context)
	* XmlElement.cs : Don't remove attributes twice (raises extraneous
	  removal events).
	* XmlNamespaceManager.cs, XmlNodeChangedEventArgs :
	  Added NET_1_2 members.

svn path=/trunk/mcs/; revision=22933
2004-02-10 05:41:09 +00:00
Jackson Harper 99d45005c5 * ExpiresBucket.cs: Remove duplicate code. Fixes bug #54031.
svn path=/trunk/mcs/; revision=22927
2004-02-09 22:23:02 +00:00
Sebastien Pouliot 64664455b5 2004-02-09 Sebastien Pouliot <[email protected]>
* Mono.Security_test.dll.sources Added Mono.Math BigInteger unit test
	to the build (as they cannot be executed with corlib).

svn path=/trunk/mcs/; revision=22926
2004-02-09 22:12:45 +00:00
Jackson Harper 7a3e5428a0 * System.Web.dll.sources: Remove System.Web.Caching.Watcher from
build. We are now using FileSystemWatcher.

svn path=/trunk/mcs/; revision=22925
2004-02-09 22:09:13 +00:00
Jackson Harper 80f98b141b * Cache.cs: Close entries that are removed.
* CacheDependency.cs: Use FileSystemWatcher instead of custom
	Watcher for file dependencies.
	* OutputCacheModule.cs: Make the varyby objects dependent on the
	cached page.

svn path=/trunk/mcs/; revision=22924
2004-02-09 22:00:05 +00:00
Jackson Harper cc8a30447f * Page.cs: Set cacheability for server side caching.
svn path=/trunk/mcs/; revision=22923
2004-02-09 21:54:26 +00:00
Sebastien Pouliot d495648daa 2004-02-09 Sebastien Pouliot <[email protected]>
* BigInteger.cs: Added INSIDE_CORLIB to define ModulusRing as
	internal. Without this the unit tests for Mono.Math (now in
	Mono.Security assembly) wont compile (see bugzilla #44845).

svn path=/trunk/mcs/; revision=22922
2004-02-09 21:47:09 +00:00
Martin Baulig 7b722f5a74 Reflect latest runtime changes.
svn path=/trunk/mcs/; revision=22921
2004-02-09 21:33:02 +00:00
Martin Baulig 006dbd2a40 2004-02-09 Martin Baulig <[email protected]>
* class.h (MonoGenericMethod): Added `MonoMethod *declaring'.

	* reflection.h (MonoReflectionInflatedMethod): Removed the
	`declaring' field, it's now in the unmanaged MonoGenericMethod.

	* reflection.c (method_encode_methodspec): Removed the `method'
	argument; we get it from `gmethod->declaring'.
	(inflated_method_get_object): Removed the `declaring' argument.

svn path=/trunk/mono/; revision=22920
2004-02-09 21:32:29 +00:00
Martin Baulig 88e4fcdd9a 2004-02-09 Martin Baulig <[email protected]>
* class.h (MonoGenericMethod): New type.
	(MonoGenericInst): Remove `mtype_argc', `mtype_argv' and
	`generic_method'.

	* metadata.h (MonoMethodHeader): Replaced the `geninst' field with
	a `MonoGenericMethod *gen_method' one.

	* class.c (mono_class_inflate_generic_type): Take an additional
	`MonoGenericMethod * argument.  This is only non-NULL if we're
	inflating types for a generic method.
	(mono_class_inflate_generic_signature): Renamed to
	inflate_generic_signature() and made static; take a
	`MonoGenericMethod *' argument instead of a `MonoGenericInst *'.
	(inflate_generic_header): Take a `MonoGenericMethod *' argument
	instead of a `MonoGenericInst *' one.
	(mono_class_inflate_generic_method): Likewise.

	* reflection.c (encode_generic_method_sig): Take a
	`MonoGenericMethod *' argument instead of a `MonoGenericInst *'.
	(method_encode_methodspec): Likewise.
	(inflated_method_get_object): Likewise.

	* reflection.h (MonoReflectionGenericInst): Replaced the `ginst'
	field with a `MonoGenericMethod *gmethod' one.

svn path=/trunk/mono/; revision=22919
2004-02-09 21:06:05 +00:00
Sebastien Pouliot 7f176e1dce 2004-02-09 Sebastien Pouliot <[email protected]>
* ArithmeticBigTest.cs:
	* BigIntegerSetTest.cs:
	* BitwiseTest.cs:
	* GcdBigTest.cs:
	* ModInverseBigTest.cs:
	* ModRingTest.cs:
	* PrimeGenerationTest.cs:
	* PrimeTestingTest.cs:
	* SearchGeneratorTest.cs:
		New. Copied from corlib (where they cannot be executed because BigInteger is internal).

svn path=/trunk/mcs/; revision=22918
2004-02-09 20:54:45 +00:00
Carlos Guzmán Álvarez 42bf7118f8 Updated Changelog (Removed old file- TlsSessionState.cs)
svn path=/trunk/mcs/; revision=22917
2004-02-09 20:32:02 +00:00
Carlos Guzmán Álvarez 4d3668b40b Removed old file
svn path=/trunk/mcs/; revision=22916
2004-02-09 20:27:47 +00:00
Sebastien Pouliot e8c0dd2361 2004-02-09 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Reintroduced the patch from 2003-08-24 to fix
	IV length exception for stream ciphers (e.g. RC4). I overwrote it by
	accident some time ago :(

svn path=/trunk/mcs/; revision=22915
2004-02-09 20:23:44 +00:00
Sebastien Pouliot e01520caed 2004-02-09 Sebastien Pouliot <[email protected]>
* Makefile: Added /unsafe to compile BigInteger. Hopefully this will
	only be temporary.
	* Mono.Security.dll.sources: Added Mono.Math.* and PKCS1 and
	RSAManaged copies (from corlib) to support TLS.

svn path=/trunk/mcs/; revision=22914
2004-02-09 19:44:09 +00:00
Sebastien Pouliot 151c8895f4 2004-02-09 Sebastien Pouliot <[email protected]>
* NextPrimeFinder.cs: New. Copied from corlib. Required for PKCS1 and
	RSAManaged (which are required for TLS).
	* PrimeGeneratorBase.cs: New. Copied from corlib. Required for PKCS1
	and RSAManaged (which are required for TLS).
	* SequentialSearchPrimeGeneratorBase.cs: New. Copied from corlib.
	Required for PKCS1 and RSAManaged (which are required for TLS).

svn path=/trunk/mcs/; revision=22913
2004-02-09 19:37:16 +00:00
Sebastien Pouliot 615a2d1952 2004-02-09 Sebastien Pouliot <[email protected]>
* ConfidenceFactor.cs: New. Copied from corlib. Required for PKCS1 and
	RSAManaged (which are required for TLS).
	* PrimalityTests.cs: New. Copied from corlib. Required for PKCS1 and
	RSAManaged (which are required for TLS).

svn path=/trunk/mcs/; revision=22912
2004-02-09 19:36:24 +00:00
Sebastien Pouliot aef37ade28 2004-02-09 Sebastien Pouliot <[email protected]>
* BigInteger.cs: New. Copied from corlib. Required for PKCS1 and
	RSAManaged (which are required for TLS).

svn path=/trunk/mcs/; revision=22911
2004-02-09 19:35:26 +00:00
Sebastien Pouliot c2b7c5b0d2 2004-02-09 Sebastien Pouliot <[email protected]>
* PKCS1.cs: New. Copied from corlib. Required for RSAManaged.
	* RSAManaged.cs: New. Copied from corlib. Required for TLS - some
	parts (MD5SHA1) cannot work with the default RSACryptoServiceProvider.

svn path=/trunk/mcs/; revision=22910
2004-02-09 19:33:47 +00:00
Carlos Guzmán Álvarez 4a249c93e1 2004-02-09 Carlos Guzm��n ��lvarez <[email protected]>
* Changed the license header to all the sources files
    to remove accents.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Try to improve record reading.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:

		- Send always the first certificate.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

		- Added changes for correct verification of the signed data sent
		by the server.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:

		- Create RSA as an RSAManaged instance.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
	* Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:

		- Changed key field to be of RSA type.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
	* Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:

		- Added new classes for implement in the future RSA-SSL signatures.

	* Changed #region names in all source files.

	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:

		- Fixed message (but not working yet - we need RSA signing
		capabilitites with MD5SHA1 hash).

	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:

		- Retrict certificate validation to the first validation.
		( real validation needs to be made using a chain )

		- Improved domain validation by making a IP checking between
		the target host IP and the certificate domain IP.

		- Fixed error list handling on certificate validation.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added new exceptions.

svn path=/trunk/mcs/; revision=22909
2004-02-09 19:27:48 +00:00
Carlos Guzmán Álvarez 198ecbb8fc Added new TLS source files definitions
svn path=/trunk/mcs/; revision=22908
2004-02-09 19:27:21 +00:00
Carlos Guzmán Álvarez 3f35e2d226 2004-02-09 Carlos Guzm��n ��lvarez <[email protected]>
* Changed the license header to all the sources files
    to remove accents.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Try to improve record reading.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:

		- Send always the first certificate.

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

		- Added changes for correct verification of the signed data sent
		by the server.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:

		- Create RSA as an RSAManaged instance.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
	* Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:

		- Changed key field to be of RSA type.

	* Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs:
	* Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs:

		- Added new classes for implement in the future RSA-SSL signatures.

	* Changed #region names in all source files.

	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:

		- Fixed message (but not working yet - we need RSA signing
		capabilitites with MD5SHA1 hash).

	* Mono.Security.Protocol.Handshake.Client/TlsServerCertificate.cs:

		- Retrict certificate validation to the first validation.
		( real validation needs to be made using a chain )

		- Improved domain validation by making a IP checking between
		the target host IP and the certificate domain IP.

		- Fixed error list handling on certificate validation.

	* Mono.Security.Protocol.Tls/SslClientStream.cs:

		- Added new exceptions.

svn path=/trunk/mcs/; revision=22907
2004-02-09 19:21:41 +00:00
Zoltan Varga b28795d5dc 2004-02-09 Zoltan Varga <[email protected]>
* Thread.cs: Add fields added to unmanaged MonoThread here as well.
	Fixes random errors caused by memory corruption.

svn path=/trunk/mcs/; revision=22906
2004-02-09 18:33:36 +00:00
Sebastien Pouliot 7b23e7c548 2004-02-09 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Ignored test Reset as the functionality isn't
	yet present in Mono.
	* UrlMembershipConditionTest.cs: Ignored the site related test as the
	functionality isn't yet present in Mono.
	* UrlTest.cs: Ignored the site related test as the functionality isn't
	yet present in Mono.

svn path=/trunk/mcs/; revision=22905
2004-02-09 18:19:37 +00:00
Tim Coleman fc6c3e7670 2004-02-09 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient/OracleLob.cs:
                Changed Erase() to call Erase(offset, amount)
                using zero based offset.

svn path=/trunk/mcs/; revision=22904
2004-02-09 18:05:54 +00:00
Lluis Sanchez e1d103bdad * WebServiceHandler.cs: inheritance from WebService is not mandatory.
svn path=/trunk/mcs/; revision=22903
2004-02-09 16:06:44 +00:00
Lluis Sanchez 5effdc6dca * TypeTranslator.cs, XmlCustomFormatter.cs: Added support for the
normalizedString schema type.

svn path=/trunk/mcs/; revision=22902
2004-02-09 15:38:30 +00:00
Gonzalo Paniagua Javier af01dc4e8e 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix Web.config search for caseo
	insensitive filesystems.

svn path=/trunk/mcs/; revision=22901
2004-02-09 15:22:09 +00:00
Gonzalo Paniagua Javier e43db281d8 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: ApplicationState is inited by the
	factory so, return that value in the property. when we use the context
	Session, cache it in the instance field.

	* System.Web/HttpApplicationFactory.cs: fixed target Type for the
	event when hooking application and module events. Initialize application
	and session scope objects. Fixes non-aplication events hook up.

	* System.Web/HttpStaticObjectsCollection.cs: added StaticItem and delay
	the creation of the objects until they are requested.

	* System.Web.SessionState/SessionInProcHandler.cs:
	* System.Web.SessionState/SessionSQLServerHandler.cs:
	* System.Web.SessionState/SessionStateServerHandler.cs: when creating
	the HttpSessionStateObjets, use the session objects that we know about
	in HttpApplicationFactory.

	Fixes bug #53387.

svn path=/trunk/mcs/; revision=22900
2004-02-09 15:17:56 +00:00
Sebastien Pouliot 5bc7b235eb 2004-02-09 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Fixed support for key pair persistence.
	It now requires (like MS) to call Clear to delete an existing
	container. PersistKeyInCsp default value also changes if a
	CspParameters is supplied (or not) to the constructor.
	* RSACryptoServiceProvider.cs: Same fixes as DSA.

svn path=/trunk/mcs/; revision=22899
2004-02-09 14:23:56 +00:00
Sebastien Pouliot acecbdf941 2004-02-09 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Added new unit tests for key pair
	persistence.
	* RSACryptoServiceProvider.cs: Added new unit tests for key pair
	persistence.

svn path=/trunk/mcs/; revision=22898
2004-02-09 14:20:15 +00:00
Gonzalo Paniagua Javier 5bf6135ce3 stylized
svn path=/trunk/mcs/; revision=22897
2004-02-09 10:36:07 +00:00
Marek Safar a1364ea130 2004-02-09 Marek Safar <[email protected]>
* decl.cs (GetSignatureForError): New virtual method to get full name
	  for error messages.

	* attribute.cs (IAttributeSupport): New interface for attribute setting.
	  Now it is possible to rewrite ApplyAttributes method to be less if/else.

        * interface.cs : All InterfaceXXX classes are now derived from MemberCore.
	  Duplicated members and code in these classes has been removed.
	  Better encapsulation in these classes.

svn path=/trunk/mcs/; revision=22896
2004-02-09 08:38:27 +00:00
Bernie Solomon dcd1e004a9 2004-02-08 Bernie Solomon <[email protected]>
* class.h (mono_class_has_parent): add parens to expansion
	so you can ! this.

svn path=/trunk/mono/; revision=22895
2004-02-09 04:58:36 +00:00
Jackson Harper f518ad6c3d flush
svn path=/trunk/mcs/; revision=22894
2004-02-08 21:27:42 +00:00
Jackson Harper a0030c8a9e * Uri.cs: IsLoopback has different behavoir then
IPAddress::IsLoopback. It will only return true for ipv4 addresses
	if they are 127.0.0.1, localhost, or loopback.

svn path=/trunk/mcs/; revision=22893
2004-02-08 21:19:45 +00:00
Martin Baulig e6fb0d78b4 2004-02-08 Martin Baulig <[email protected]>
* image.h (MonoImage): Removed `generics_cache'.

	* class.c (mono_class_from_generic): Take a `MonoGenericInst *'
	instead of a `MonoType *' argument; removed the `inflate_methods'
	argument.  Don't inflate methods here.

	* loader.c (find_method): If it's a generic instance, call
	mono_class_init() on the `sclass->generic_inst->generic_type'.

	* metadata.c (mono_type_size): Make this work on uninitialized
	generic instances; call it on the `ginst->generic_type's class.

	* reflection.c (mono_reflection_bind_generic_parameters): Call
	mono_class_from_generic() to create the `ginst->klass'.

svn path=/trunk/mono/; revision=22892
2004-02-08 21:07:53 +00:00
Atsushi Eno 8256002451 2004-02-08 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : Limit external entity reference from DTD by 256.
	  foreach elimination.  DTDParameterEntityDeclaration should set Root.
	  Compute attribute default value without raising an error.
	  (for non-error reporting reader)
	* DTDReader.cs : Fixes for the above fixes. foreach elimination.
	* DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
	  XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
	  XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
	  XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
	  XmlText.cs : foreach elimination.
	* XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
	  foreach elimination. Removed unnecesary methods.
	* XmlTextReader.cs : code format refactory. Optimized some methods.
	  foreach elimination. Replaced Stack with string array.
	  Replaced StringBuilder with char array. Removed unnecessary methods.

svn path=/trunk/mcs/; revision=22891
2004-02-08 20:27:04 +00:00
Atsushi Eno e94468c53c 2004-02-08 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs,
	  XslAttributeSet.cs,
	  XslStylesheet.cs,
	  XslTemplate.cs : tiny foreach elimination.

svn path=/trunk/mcs/; revision=22890
2004-02-08 20:24:39 +00:00
Atsushi Eno 99b1f3bfd3 2004-02-08 Atsushi Enomoto <[email protected]>
* DefaultContext.cs, Expression.cs, Iterator.cs :
	  tiny foreach elimination.

svn path=/trunk/mcs/; revision=22889
2004-02-08 20:23:41 +00:00
Atsushi Eno 6ef39e6b7b 2004-02-08 Atsushi Enomoto <[email protected]>
* XsdIdentityState.cs,
	  XsdKeyTable.cs,
	  XsdParticleValidationState.cs,
	  XsdValidatingReader.cs,
	  XsdWildcard.cs : foreach elimination.

svn path=/trunk/mcs/; revision=22888
2004-02-08 20:23:08 +00:00
Ben Maurer c427f2e28a build fix
svn path=/trunk/mcs/; revision=22885
2004-02-08 18:55:03 +00:00
Martin Baulig f651ff9855 2004-02-08 Martin Baulig <[email protected]>
* class.h (MonoClass): Changed type of `generic_inst' from
	`MonoType *' to `MonoGenericInst *'.

svn path=/trunk/mono/; revision=22883
2004-02-08 17:59:19 +00:00
David Sheldon 20dd2fe10d 2004-02-08 David Sheldon <[email protected]>
* NumberFormatInfo.cs: When parsing the percentages, put the data
   into PercentDecimalDigits/PercentGroupLengths, rather than trashing
   the NumberDecimatDigits etc. This also means that the percent format
   info gets set.

svn path=/trunk/mcs/; revision=22882
2004-02-08 16:11:27 +00:00
Sebastien Pouliot b154f2716b 2004-02-08 Sebastien Pouliot <[email protected]>
* HashAlgorithm.cs: Changed the ComputeHash(Stream) method to (a) not
	allocate the whole stream memory (big memory saver as suggested by
	Peter Williams in bugzilla entry #54022) and (b) to never use Stream.
	Length and Stream.Position because they aren't implemented for every
	stream class (similar issue to the CryptoStream patch).
	* MD5CryptoServiceProvider.cs: Moved a buffer allocation from
	ProcessBlock to constructor to reduce memory allocation. Optimization
	suggested by Peter Williams in bugzilla entry #54024.

svn path=/trunk/mcs/; revision=22881
2004-02-08 15:53:33 +00:00
Martin Baulig 18a223a97f 2004-02-08 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
	invocations the `reflected' type as `reflected', not `this'.
	(MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.

svn path=/trunk/mcs/; revision=22879
2004-02-08 15:30:27 +00:00
Martin Baulig e3cca2a6d4 2004-02-08 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_BindGenericParameters): Just call
	mono_type_get_object(), this is now creating a `MonoGenericInst'
	for MONO_TYPE_GENERICINST.
	(ves_icall_MonoGenericInst_GetParentType): Likewise.
	(ves_icall_MonoGenericInst_GetInterfaces): Likewise.

	* reflection.c (mono_type_get_object): Return a `MonoGenericInst'
	instead instead of a `MonoType' for MONO_TYPE_GENERICINST.
	(inflated_method_get_object): Added `MonoClass *refclass' argument.
	(mono_reflection_inflate_method_or_ctor): Correctly set declaring
	and reflected type.

	* reflection.h (MonoReflectionInflatedMethod): Removed
	`declaring_type' and `reflected_type'.

svn path=/trunk/mono/; revision=22877
2004-02-08 15:25:47 +00:00
Eran Domb 9e53875f55 XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
svn path=/trunk/mcs/; revision=22876
2004-02-08 15:06:45 +00:00
Eran Domb e2d1222962 Fix some bugs in recognizing the kind of xml we are parsing.
svn path=/trunk/mcs/; revision=22875
2004-02-08 10:11:31 +00:00
Andreas N ccad7900c6 2004-02-07 Andreas Nahr <[email protected]>
* Margins.cs: Restyled, implemented missing members
	* PageSettings.cs: Added missing attributes, stubbed,
	  fixed a few small issues
	* PreviewPrintController.cs: Stubbed, small issues fixed
	* PrintController.cs: Marked unfinished, restyled
	* PrintDocument.cs: Added attributes
	* PrinterResolution.cs: Added missing method
	* PrinterSettings.cs: Mono-stylyzed, fixed signatures,
	  removed commented out values
	* PrinterUnitConvert.cs: Added private constructor
	* StandardPrintController.cs: Little restyling
	* PaperKind.cs: Added missing enum values

svn path=/trunk/mcs/; revision=22874
2004-02-08 07:59:06 +00:00
Duncan Mak af05f6a21a (ToType): Always let a Convert.ChangeType call
succeed if the source object is already of the destination type.

svn path=/trunk/mcs/; revision=22873
2004-02-08 07:18:40 +00:00
Martin Baulig fcf97f0adb 2004-02-08 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
	(MonoGenericInst.GetInterfaces_internal): New interncall.
	(MonoGenericInst): Reflect latest API changes; use GetParentType()
	and GetInterfaces_internal() instead of the fields.

svn path=/trunk/mcs/; revision=22869
2004-02-08 00:29:08 +00:00
Martin Baulig 0ea7c3a1a4 2004-02-08 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `MonoType *parent' and
	`MonoType **ifaces'.

	* reflection.h (MonoReflectionGenericInst): Removed `klass',
	`parent' and `interfaces'.

	* reflection.c (mono_reflection_bind_generic_parameters): Take a
	`MonoType *' argument and return a `MonoType *'.

	* icall.c
	(ves_icall_MonoGenericInst_GetParentType): New interncall.
	(ves_icall_MonoGenericInst_GetInterfaces): Likewise.

svn path=/trunk/mono/; revision=22868
2004-02-08 00:20:39 +00:00
Andreas N 3c84df7152 removed
svn path=/trunk/mcs/; revision=22862
2004-02-07 19:27:12 +00:00
Andreas N f17ab32435 2004-02-07 Andreas Nahr <[email protected]>
* GraphicsPathIterator.cs: Fixed signature, added TODOs
	* Matrix.cs: Removed additional method

svn path=/trunk/mcs/; revision=22861
2004-02-07 19:21:51 +00:00
Andreas N e06b0e3f16 2004-02-07 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources:
	  SRDescriptionAttribute.cs, Locale.cs added

svn path=/trunk/mcs/; revision=22860
2004-02-07 19:20:46 +00:00
Andreas N 14f0b2b4e2 2004-02-07 Andreas Nahr <[email protected]>
* SRDescriptionAttribute.cs: Added and implemented
	* ToolboxBitmapAttribute.cs: Implemented a few members
	* SystemIcons.cs: Stubbed
	* StringFormat.cs: Implemented method
	* Region.cs: Added Todo, fixed attribute
	* Size.cs: Added attribute
	* SizeF.cs: Added attribute
	* RectangleF.cs: Added attributes
	* Rectangle.cs: Added attributes
	* PointF.cs: Added attribute
	* Point.cs: Added attribute

svn path=/trunk/mcs/; revision=22859
2004-02-07 19:19:52 +00:00
Andreas N 286516dbe2 2004-02-07 Andreas Nahr <[email protected]>
* Locale.cs: Added

svn path=/trunk/mcs/; revision=22858
2004-02-07 19:19:05 +00:00
Miguel de Icaza 83cceab348 Flush
svn path=/trunk/mono/; revision=22857
2004-02-07 16:19:47 +00:00
Miguel de Icaza 5e0910d9b3 2004-02-07 Miguel de Icaza <[email protected]>
* skeleton.cs: Report the token that we errored on;  Helps
	find parser errors.

svn path=/trunk/mcs/; revision=22856
2004-02-07 16:15:42 +00:00
Miguel de Icaza 7e63b37a8c Improve test to include a case for #53696
svn path=/trunk/mcs/; revision=22855
2004-02-07 05:56:27 +00:00
Miguel de Icaza f433cdd7af 2004-02-07 Miguel de Icaza <[email protected]>
* assign.cs (Assign.DoResolve): When dealing with compound
	assignments, there is a new rule in ECMA C# 2.4 (might have been
	there before, but it is documented here) that states that in:

	a op= b;

	If b is of type int, and the `op' is a shift-operator, then the
	above is evaluated as:

	a = (int) a op b

svn path=/trunk/mcs/; revision=22854
2004-02-07 05:54:15 +00:00
Miguel de Icaza 02499c70fd 2004-02-07 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Instead of testing for
	int/uint/long/ulong, try to implicitly convert to any of those
	types and use that in pointer arithmetic.

svn path=/trunk/mcs/; revision=22853
2004-02-07 05:37:17 +00:00
Miguel de Icaza 9ccf59b38b Improve
svn path=/trunk/mcs/; revision=22852
2004-02-07 05:35:42 +00:00
Miguel de Icaza 0f3cd1b808 2004-02-07 Miguel de Icaza <[email protected]>
* delegate.cs (Error_NoMatchingMethodForDelegate): Compute the
	method to print information for from the type, not from the
	null-method we were given.

svn path=/trunk/mcs/; revision=22851
2004-02-07 05:23:38 +00:00
Tim Coleman 7ac0d7be70 2004-02-07 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml classes.

svn path=/trunk/mcs/; revision=22850
2004-02-07 05:03:34 +00:00
Tim Coleman 05990a34a6 2004-02-07 Tim Coleman <[email protected]>
* CipherData.cs CipherReference.cs EncryptedData.cs
        * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
        * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
                New classes added for Xml Encryption in 1.2
        * KeyInfoRetrievalMethod.cs:
                Added Type attribute for 1.2
        * XmlSignature.cs:
                Added string constants for algorithm namespaces

svn path=/trunk/mcs/; revision=22849
2004-02-07 05:02:23 +00:00
Miguel de Icaza 5b323f16eb up
svn path=/trunk/mono/; revision=22848
2004-02-07 04:55:39 +00:00
Jackson Harper 3a71b63f4a * Uri.cs: Do not escape querys or fragements. Only reduce certain
schemes.

svn path=/trunk/mcs/; revision=22846
2004-02-06 21:28:28 +00:00
Zoltan Varga f3d27da960 2004-02-06 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Add support for custom
	valuetype marshalling.

svn path=/trunk/mono/; revision=22845
2004-02-06 21:17:09 +00:00
Sebastien Pouliot 6e5edd11f5 2004-02-06 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProvider.cs: Added keypair persistence support.
	Corrected dispose so object cannot be disposed multiple time. Added
	PublicOnly property (as internal before 1.2, public after).
	* RSACryptoServiceProvider.cs: Added keypair persistence support.
	Corrected dispose so object cannot be disposed multiple time. Added
	PublicOnly property (as internal before 1.2, public after).

svn path=/trunk/mcs/; revision=22844
2004-02-06 20:25:00 +00:00
Sebastien Pouliot 8faecd811b 2004-02-06 Sebastien Pouliot <[email protected]>
* DSAManaged.cs: Added an event after key generation (so that
	DSACryptoServiceProvider can persist the keypair if required). Added
	PublicOnly property (like 1.2) so we do not have to catch an exception
	to know if a private key is present or not. Added a Random property so
	we do not always have to create a RNG instance (not always required).
	* RSAManaged.cs: Added an event after key generation (so that
	DSACryptoServiceProvider can persist the keypair if required). Added
	PublicOnly property (like 1.2) so we do not have to catch an exception
	to know if a private key is present or not.

svn path=/trunk/mcs/; revision=22843
2004-02-06 20:20:19 +00:00
Jackson Harper 85c3ca0c97 * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
method is taken from System.Web.Utils.UrlUtils.
	* UriBuilder.cs: Do not escape fragments or queries, but do a utf8
	switch on them. Do not prepend a "/" to Paths. Do not use
	IPEndPoint to determine if a port is valid, UriBuilder allows
	ports to be any	positive integer, IPEndPoint does not. Use the
	ToString () method for generate a uri in get_Uri. Only set the
	port in ToString () if it is greater then 0.

svn path=/trunk/mcs/; revision=22840
2004-02-06 16:43:59 +00:00
Sebastien Pouliot 90bfbaf7da 2004-02-06 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added CryptoTools and SymmetricTransform
	in Mono.Security.Cryptography.

svn path=/trunk/mcs/; revision=22839
2004-02-06 16:27:03 +00:00
Sebastien Pouliot 5e4a40b233 2004-02-06 Sebastien Pouliot <[email protected]>
* CryptoTools.cs: New. Copied from corlib to offer the sames services
	to symmetric algorithms in Mono.Security assembly.
	* SymmetricTransform.cs: New. Copied from corlib to offer the sames
	services to symmetric algorithms in Mono.Security assembly.

svn path=/trunk/mcs/; revision=22838
2004-02-06 16:24:04 +00:00
Sebastien Pouliot f97cf3330f 2004-02-06 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added missing LF at end of file

svn path=/trunk/mcs/; revision=22837
2004-02-06 15:47:30 +00:00
Sebastien Pouliot 5272789962 2004-02-06 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Moved SymmetricTransform class from System.
	Security.Cryptography (SymmetricAlgorithm) to Mono.Security.
	Cryptography.

svn path=/trunk/mcs/; revision=22836
2004-02-06 15:37:40 +00:00
Sebastien Pouliot cd0d13a065 2004-02-06 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Removed class SymmetricTransform from file
	and moved it to Mono.Security.Cryptography namespace. The transform
	class will also be included in Mono.Security assembly.

svn path=/trunk/mcs/; revision=22835
2004-02-06 15:36:44 +00:00
Sebastien Pouliot 9632531db5 2004-02-06 Sebastien Pouliot <[email protected]>
* SymmetricTransform.cs: This class was split from S.S.C.
	SymmetricAlgorithm.cs so it could be reused in Mono.Security
	assembly for other symmetric algorithms transforms.

svn path=/trunk/mcs/; revision=22834
2004-02-06 15:34:02 +00:00
David Sheldon 23c9c4a0bf 2004-02-06 David Sheldon <[email protected]>
* FromBase64Transform.cs: Improved code layout to match coding style,
   and removed the Byte comparison with -1.

svn path=/trunk/mcs/; revision=22833
2004-02-06 15:02:17 +00:00
Sebastien Pouliot e97226721b 2004-02-06 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added KeyPairPersistence and it's
	dependencies in Mono.Xml (MiniParser and SecurityParser).
	* Mono.Security_test.dll.sources: Added unit tests for
	KeyPairPersistence.

svn path=/trunk/mcs/; revision=22831
2004-02-06 13:52:28 +00:00
Sebastien Pouliot fe024faedf 2004-02-07 Sebastien Pouliot <[email protected]>
* KeyPairPersistenceTest.cs: New. Unit tests for key pair persistence.

svn path=/trunk/mcs/; revision=22830
2004-02-06 13:51:26 +00:00
Sebastien Pouliot 76c5fc3498 2004-02-07 Sebastien Pouliot <[email protected]>
* KeyPairPersistance.cs: Provides a similar to CryptoAPI persistence
	mechanism for keypairs (based on CspParameters).

svn path=/trunk/mcs/; revision=22829
2004-02-06 13:49:53 +00:00
Sebastien Pouliot 944403e1a5 2004-02-06 Sebastien Pouliot <[email protected]>
* MiniParser.cs: New. Copy from corlib internal class. Required for
	SecurityParser.
	* SecurityParser.cs: New. Copy from corlib internal class. Required
	for KeyPairPersistence.

svn path=/trunk/mcs/; revision=22828
2004-02-06 13:47:51 +00:00
Martin Baulig 0fc3bea6d5 2004-02-06 Martin Baulig <[email protected]>
* class.c
	(mono_class_from_generic_parameter): Added TYPE_ATTRIBUTE_PUBLIC.
	(my_mono_class_from_generic_parameter): Likewise.

svn path=/trunk/mono/; revision=22827
2004-02-06 13:16:46 +00:00
Martin Baulig 99d5c4e9c0 2004-02-06 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.

svn path=/trunk/mcs/; revision=22826
2004-02-06 13:09:10 +00:00
Zoltan Varga 4afdba1d61 2004-02-06 Zoltan Varga <[email protected]>
* Thread.cs: Store the thread name in unmanaged memory, since the
	thread object is shared between appdomains.

svn path=/trunk/mcs/; revision=22825
2004-02-06 11:08:14 +00:00
Zoltan Varga df1b9eb0e4 2004-02-06 Zoltan Varga <[email protected]>
* debug-mono-symfile.c debug-mono-symfile.h mono-debug.c: Read the
	contents of the symbol files lazily.

svn path=/trunk/mono/; revision=22824
2004-02-06 11:04:45 +00:00
Sanja Gupta d8264359df changelog: Updated changelog
FontCollection.cs: Used CheckStatus() method
InstalledFontCollection.cs: Used CheckStatus() method
PrivateFontCollection.cs: Used CheckStatus() method

svn path=/trunk/mcs/; revision=22823
2004-02-06 11:02:35 +00:00
Zoltan Varga a82c5e4790 2004-02-06 Zoltan Varga <[email protected]>
* object.h (MonoThread): Add 'name' and 'name_len' fields.

	* threads.h threads.c icall.c: New icalls for getting and setting the
	threads name.

svn path=/trunk/mono/; revision=22822
2004-02-06 11:01:32 +00:00
Ravindra de8edc8157 Modifications related to GetException method.
svn path=/trunk/mcs/; revision=22821
2004-02-06 07:19:00 +00:00
Ravindra d5a982b168 Incorporated Duncan's comments. Modifications related to GetException method.
svn path=/trunk/mcs/; revision=22820
2004-02-06 07:12:26 +00:00
Jackson Harper a9d6392b58 * UriBuilder.cs: Do not call Uri::ToString for uri builders
ToString. UriBuilder's ToString is a little more primitive.

svn path=/trunk/mcs/; revision=22819
2004-02-06 00:16:44 +00:00
Sebastien Pouliot cc06a2ce44 2004-02-05 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added AppDomain unit tests in System.
	Some tests are currently ignored because they produce lots of GC
	Warning failures but they seems to work (nunit finishes).

svn path=/trunk/mcs/; revision=22818
2004-02-05 23:56:56 +00:00
Sebastien Pouliot 110e74891c 2004-02-05 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Added unit tests for CurrentPrincipal.

svn path=/trunk/mcs/; revision=22817
2004-02-05 23:52:49 +00:00
Sebastien Pouliot 32afcde0d0 2004-02-05 Sebastien Pouliot <[email protected]>
* AppDomainTest.cs: New. Unit tests for SetPrincipalPolicy and
	SetThreadPrincipal.

svn path=/trunk/mcs/; revision=22816
2004-02-05 23:48:30 +00:00
Sebastien Pouliot c17dffeb98 2004-02-05 Sebastien Pouliot <[email protected]>
* Thread.cs: Implemented CurrentPrincipal.

svn path=/trunk/mcs/; revision=22815
2004-02-05 23:44:23 +00:00
Sebastien Pouliot 601815fc2e 2004-02-05 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.

svn path=/trunk/mcs/; revision=22814
2004-02-05 23:40:40 +00:00
Sebastien Pouliot fd23712e50 2004-02-05 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added KeyPairPersistance class, in Mono.
	Security.Cryptography namespace, to the build.

svn path=/trunk/mcs/; revision=22813
2004-02-05 23:05:25 +00:00
Sebastien Pouliot 5152bf375e 2004-02-05 Sebastien Pouliot <[email protected]>
* KeyPairPersistence.cs: New. Class to persist keypairs in an XML
	format to mimic the CryptoAPI key containers.

svn path=/trunk/mcs/; revision=22810
2004-02-05 21:34:02 +00:00
Jackson Harper 382c67e69b * CacheDependency.cs: Handle cache keys that have not been added
to the cache yet.

svn path=/trunk/mcs/; revision=22809
2004-02-05 20:54:22 +00:00
Martin Baulig c3a43f6da7 2004-02-05 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): If we have an
	`ec.TypeContainer.CurrentType', use it instead of
	`ec.ContainerType' to check whether we're in the type's ctor.

svn path=/trunk/mcs/; revision=22808
2004-02-05 20:51:53 +00:00
Martin Baulig fac06483eb Fix my previous commit; since we're using IsEqual() instead of `==', we must
also ensure closure_invocation_type is not null.

svn path=/trunk/mcs/; revision=22807
2004-02-05 19:04:44 +00:00
Martin Baulig f25defb113 We need to use Equals() here instead of `==' here to make this work for
generic type parameters.

svn path=/trunk/mcs/; revision=22806
2004-02-05 18:50:08 +00:00
Miguel de Icaza 44316080d8 Update
svn path=/trunk/mono/; revision=22804
2004-02-05 17:16:36 +00:00
Atsushi Eno 06dcbf55a3 2004-02-05 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : fixed incorrect thought on case 008. Added case 014.
	* BUGS.txt : FYI.

svn path=/trunk/mcs/; revision=22803
2004-02-05 16:23:00 +00:00
Atsushi Eno 54a092c5a7 2004-02-05 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : trivial processing order fix.

svn path=/trunk/mcs/; revision=22802
2004-02-05 16:15:59 +00:00
Atsushi Eno 6e92de9354 2004-02-05 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : Added ReadNodeEmptyContent() and
	  ReadNodeWhitespace().
	* XmlElementTests.cs : Added SetAttributeNodeError().

svn path=/trunk/mcs/; revision=22801
2004-02-05 16:15:32 +00:00
Atsushi Eno c4a1266e13 2004-02-06 Atsushi Enomoto <[email protected]>
* Added xrdump.cs, domdump.cs, eventdump.cs and dump-results.zip.
	* README, Makefile : added more standalone tests and the description.

svn path=/trunk/mcs/; revision=22800
2004-02-05 16:11:50 +00:00
Atsushi Eno c90d6dba5b 2004-02-06 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
	  IsDefault and Depth.
	* XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when
	  checkNamespace = false.
	* XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
	* XmlAttributeCollection.cs : Reimplemented InsertAfter to use
	  InsertBefore() (similar to XmlNode).
	* XmlDocument.cs : Added internal .ctor().  Reimplemented ReadNode()
	  as recursive, to make event order compatible.
	* XmlDocumentType.cs : Use SetNamedItem() (to raise events).
	* XmlElement.cs : Some refactory.  Fixed SetAttributeNode() with
	  string name to block prefixed name.
	* XmlEntity.cs : Don't raise events on setting contents.
	* XmlNode.cs : Some refactory. Added raiseEvent argument to internal
	  InsertBefore().
	* XmlEntityReference.cs : related fix for XmlNode change.
	* XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
	  doctype, Depth 1 lower than usual attribute. Split large function.

svn path=/trunk/mcs/; revision=22799
2004-02-05 16:05:56 +00:00
Ravindra c71bbfe6f1 Added a missing namespace.
svn path=/trunk/mcs/; revision=22798
2004-02-05 15:15:18 +00:00
Ravindra 31057d5cef Implemented HatchBrush.
svn path=/trunk/mcs/; revision=22797
2004-02-05 15:07:44 +00:00
Ravindra 957474ff56 Implementing HatchBrush. Added status checks in SolidBrush.cs.
svn path=/trunk/mcs/; revision=22796
2004-02-05 15:06:21 +00:00
Miguel de Icaza cc46091167 Flush
svn path=/trunk/mono/; revision=22793
2004-02-05 14:25:31 +00:00
Nick Drochak a797c7a10e 2004-02-05 Nick Drochak <[email protected]>
* DiagnosticsConfigurationHandlerTest.cs: Ignore tests using classes not
        meant to be used directly.

svn path=/trunk/mcs/; revision=22792
2004-02-05 13:35:41 +00:00
Nick Drochak eb0654d00a Flush
svn path=/trunk/mcs/; revision=22791
2004-02-05 13:32:42 +00:00
Alon Gazit ac85551cb5 This attribute is inherited by derived classes.changed the AttributeUsage
attribute.

svn path=/trunk/mcs/; revision=22790
2004-02-05 12:29:43 +00:00
Alon Gazit 7e6422a130 This attribute is inherited by derived classes.changed the AttributeUsage
attribute.

svn path=/trunk/mcs/; revision=22789
2004-02-05 12:18:31 +00:00
Alon Gazit 8a1a29c207 This attribute is inherited by derived classes.changed the AttributeUsage
attribute.

svn path=/trunk/mcs/; revision=22788
2004-02-05 12:11:54 +00:00
Zoltan Varga fc6eb02451 2004-02-05 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRefByID):
	Raise an exception when the domain is not found.

svn path=/trunk/mono/; revision=22787
2004-02-05 12:10:48 +00:00
Alberto Fernandez ea1f5f7f92 Fix to work with gtk-sharp cvs
svn path=/trunk/mcs/; revision=22786
2004-02-05 11:19:59 +00:00
Alberto Fernandez 92cc14ab0c Added AssemblyInfo
svn path=/trunk/mcs/; revision=22785
2004-02-05 11:17:27 +00:00
Jordi Mas i Hernandez 9a8baefb36 string format implementation
svn path=/trunk/mcs/; revision=22784
2004-02-05 10:22:35 +00:00
Jackson Harper 00d0d3e629 * VBCodeProviderTest.cs: Use mono to execute assembly.
svn path=/trunk/mcs/; revision=22783
2004-02-05 10:16:10 +00:00
Jackson Harper 10376dc056 * VBCodeCompiler.cs: Set file extensions properly.
svn path=/trunk/mcs/; revision=22782
2004-02-05 10:13:02 +00:00
Alon Gazit cbc59fb746 This attribute is multiuse.
Changed the AttributeUsage attribute.

svn path=/trunk/mcs/; revision=22781
2004-02-05 09:16:46 +00:00
Alon Gazit 3261a7c584 This attribute is multiuse.Changed the AttributeUsage attribute.
svn path=/trunk/mcs/; revision=22780
2004-02-05 09:14:48 +00:00
Atsushi Eno ad968a22b0 2004-02-05 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToSingle() and ToDouble() should be culture
	  independent. Patch by Rodolfo Campero.

svn path=/trunk/mcs/; revision=22779
2004-02-05 03:10:05 +00:00
Lluis Sanchez 74e64372a5 * ObjectWriter.cs: Get the assembly of a member from the member's type, not
from the type of the value, because that is the type written in the
	  metadata section of the object.

svn path=/trunk/mcs/; revision=22778
2004-02-05 00:36:32 +00:00
Jackson Harper 95b48e410b * CodeTypeMember.cs: Name is String.Empty if not set.
* CodeComment.cs: Text is String.Empty if not set.

svn path=/trunk/mcs/; revision=22777
2004-02-04 23:46:18 +00:00
Jackson Harper d63d8d1ee8 * CodeGenerator.cs (GenerateExpression): Don't allow null
expressions. Throw ArgumentException if the expression type is not
	handled.
	* CodeGenerator.cs (GenerateStatement): Add line pragmas if they
	are set. Throw ArgumentException if the expression type is not
	handled.

svn path=/trunk/mcs/; revision=22776
2004-02-04 23:44:11 +00:00
Jackson Harper fc1e62c3f8 * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
null (matches MS output). When creating comments there is a space
	after the first // but not the following lines.

svn path=/trunk/mcs/; revision=22775
2004-02-04 23:36:21 +00:00
Duncan Mak fd76a02447 2004-02-01 Duncan Mak <[email protected]>
* cs-tokenizer.cs (get_cmd_arg): Skip over whitespace before
	parsing for cmd, fixes bug #53694.

svn path=/trunk/mcs/; revision=22773
2004-02-04 21:17:03 +00:00
Sebastien Pouliot 7ee111a44b 2004-02-04 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added many more tests for every problem found
	with CryptoStream using code samples from the internet.

svn path=/trunk/mcs/; revision=22771
2004-02-04 19:10:57 +00:00
Sebastien Pouliot 8950e1c0a2 2004-02-04 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: New implementation - should fix all known issues
	with the class (Read/WriteByte, reading by non-multiple of the
	block size, using Stream.Length and Stream.Position ...).
	* SymmetricAlgorithm.cs: Return an empty array when there's nothing
	to return (required for CryptoStream to work).

svn path=/trunk/mcs/; revision=22770
2004-02-04 19:08:38 +00:00
Martin Baulig 0a83432da8 Two small fixes.
svn path=/trunk/mcs/; revision=22769
2004-02-04 19:02:23 +00:00
Atsushi Eno 88eb2f8d4f 2004-02-04 Atsushi Enomoto <[email protected]>
* XmlEntityReferenceTests.cs : renamed TestDescendantsRecursively to
	  DescendantsRecursively and added more test lines.
	  Added ChildNodes().
	* XmlReaderCommonTests.cs : Added MoveToXmlDeclAttribute(). However
	  it is ignored (since XmlNodeReader behaves differently, maybe bug).

svn path=/trunk/mcs/; revision=22768
2004-02-04 17:52:00 +00:00
Atsushi Eno fdf21b83be 2004-02-04 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : Never expand entity on ScanEntityValue().
	* DTDValidatingReader.cs : XmlDeclaration node requires attributes
	  to be movable.
	* XmlAttribute.cs,
	  XmlDocument.cs,
	  XmlDocumentFragment.cs,
	  XmlElement.cs,
	  XmlEntity.cs,
	  XmlLinkedNode.cs,
	  XmlNode.cs,
	  XmlNotation.cs :
	  Added namespace checking flag (required for such xml readers
	  that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
	* XmlDocumentType.cs,
	  XmlEntity.cs,
	  XmlEntityReference.cs : The children of Entity and EntityReference
	  became correct. They now holds parsed nodes, but it is only when
	  they are appended to the document.
	* XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
	  boolean checkNodeType argument.  This method also tries to create
	  Entity's and EntityReference's child nodes.  Also added internal
	  RemoveChild() with boolean checkNodeType argument.
	* XmlNodeReader.cs : Quick hack for ResolveEntity() that became
	  broken with these changes. use InnerXml as input to entityReader.
	* XmlTextReader.cs : XmlDeclaration's value LocalName should be the
	  same as Name.  The names of DTD's pseudo attributes should be empty.
	  Fixed DTD node's Depth (was regarded as attribute value's depth).

svn path=/trunk/mcs/; revision=22767
2004-02-04 17:48:06 +00:00
Atsushi Eno 841027d32b 2004-02-04 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : When the reader points at XmlDeclaration,
	  AttributeCount counts its values (version, encoding, standalone).

svn path=/trunk/mcs/; revision=22766
2004-02-04 17:46:21 +00:00
Jochen Wezel 6d4e813264 Added UTF-8 signature at the top of the file to ensure correct loading by editors
svn path=/trunk/mcs/; revision=22764
2004-02-04 09:43:34 +00:00
Lluis Sanchez 7e337ccc53 * DataSet.cs: Added missing method that broke the build.
svn path=/trunk/mcs/; revision=22763
2004-02-04 09:38:01 +00:00
Marek Safar 983c179957 2004-02-04 Marek Safar <[email protected]>
* AssemblyInfo.cs: corlib now has CLSCompliant attribute.

svn path=/trunk/mcs/; revision=22762
2004-02-04 08:45:21 +00:00
Marek Safar 69e8f23c41 2004-02-04 Marek Safar <[email protected]>
* Makefile: Build System.dll in two steps. Because of the circular
        dependency with System.XML.dll.

svn path=/trunk/mcs/; revision=22761
2004-02-04 08:30:20 +00:00
Alon Gazit 99b97b0ff1 fixed InitializeCell(). The rendered LiteralControl should contain "&nbsp;" and not " ".
svn path=/trunk/mcs/; revision=22760
2004-02-04 08:05:58 +00:00
Marek Safar f9e2acfdb7 2004-02-04 Marek Safar <[email protected]>
* class.cs, decl.cs: Fixed problem where IndexerName attribute was ignored
        in the member name duplication tests. Property and operator name duplication
        was missing too (error tests cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs).

svn path=/trunk/mcs/; revision=22759
2004-02-04 07:49:21 +00:00
Eran Domb 9c7fdb2d6f DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
better performance.
DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
when all column are attributes (elements count is 0), we still want to add the relations. No relations
can be on simple contents.
(AddUniqueConstraints) Check that the column of the constraint are not hidden.
(AddForeignKeys) Check that the relation has constraints attach to it.
XmlConstants.cs : Added constant.

svn path=/trunk/mcs/; revision=22758
2004-02-04 06:18:41 +00:00
Eran Domb 76f2a99e69 Changes in DataSet for interoperability with MS.Net
svn path=/trunk/mcs/; revision=22757
2004-02-04 05:29:22 +00:00
Lluis Sanchez 15d21844f4 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
value of a column.
	* DataRowCollection.cs: In InsertAt(), perform the correct checks and
	  attach the row.
	* DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
	  also be added to the dataset.
	  In WriteTable(), do not write unchanged rows when writing the original
	  version of the table.
	  Added WriteIndividualTableContent(), for writing the contents of a single
	  table.
	  Changed BuildSchema and related methods, so it can generate a schema for
	  any set of tables, not just the tables of the dataset (needed for
	  single datatable serialization).
	* DataTable.cs: Implemented serialization constructor and GetObjectData method.
	  Also implemented some ReadXmlSchema methods.
	* XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
	  instead of loading the full dataset in an XmlDocument. It is faster and
	  saves memory. Also fixed several problems when generating the changes.
	* XmlSchemaMapper.cs: Support reading schemas for single tables (used by
	  table serialization).

svn path=/trunk/mcs/; revision=22755
2004-02-03 23:55:51 +00:00
Lluis Sanchez 12e7fa3749 * HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
to System.Web.Configuraiton.

svn path=/trunk/mcs/; revision=22754
2004-02-03 23:33:19 +00:00
Lluis Sanchez 01e83c8301 * WebConfigurationSettings.cs: Load remoting configuration when reading
the web.config file.

svn path=/trunk/mcs/; revision=22753
2004-02-03 23:28:56 +00:00
Lluis Sanchez 0545628b53 * wstest.cs: Added new option that downloads and cahces the wsdl docs.
* services.xml: More services.
	* Makefile: Updated.
	* server/TestBinding5.asmx: new test service.

svn path=/trunk/mcs/; revision=22752
2004-02-03 23:25:16 +00:00
Lluis Sanchez 39916b80d8 * SampleGenerator.cs: More little fixes.
svn path=/trunk/mcs/; revision=22751
2004-02-03 23:17:07 +00:00
Lluis Sanchez 24ebffbe3a * XmlReflectionImporter.cs: Get the class members using the right order.
* XmlSerializationWriterInterpreter.cs: Removed unneeded code.
	  A member with the Any attribute can also contain text. Support this.
	* XmlTypeMapMemberElement.cs: Added CanBeText property.

svn path=/trunk/mcs/; revision=22750
2004-02-03 23:05:17 +00:00
Zoltan Varga f0010a57af 2004-02-03 Zoltan Varga <[email protected]>
* configure.in: Applied patch from Adrian Bunk ([email protected]). Fix
	message for failed gethostbyname2_r check.

svn path=/trunk/mono/; revision=22749
2004-02-03 21:37:52 +00:00
Jordi Mas i Hernandez e73b3a5785 use proper marshalling now that 53700 is fixed
svn path=/trunk/mcs/; revision=22747
2004-02-03 21:00:54 +00:00
Jackson Harper 947c30e6d8 * ResourceSet.cs: Do not throw an exception for null strings.
svn path=/trunk/mcs/; revision=22746
2004-02-03 19:23:26 +00:00
Atsushi Eno a540306d7f 2004-02-03 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs, DTDReader.cs : fixity fix ;)

svn path=/trunk/mcs/; revision=22744
2004-02-03 15:28:44 +00:00
Atsushi Eno 43143e82c8 2004-02-03 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added SurrogatePairContent().
	* XmlDocumentTests.cs : Added LoadXmlReaderNamespacesFalse().
	* XmlEntityReferenceTests.cs : Added TestsDescendantsRecursively().

svn path=/trunk/mcs/; revision=22743
2004-02-03 15:25:21 +00:00
Jordi Mas i Hernandez ac739dca4f handle font properties
svn path=/trunk/mcs/; revision=22742
2004-02-03 15:19:18 +00:00
Atsushi Eno 80b1ad3644 2004-02-03 Atsushi Enomoto <[email protected]>
* ChangeLog : Fixed incorrect description that should be written for
	  DTDValidatingReader.cs but written for DTDReader.cs.
	* DTDValidatingReader.cs : Fixes described in the last DTDReader fix.

	* XmlChar.cs,
	  XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
	  replaced XmlChar with XmlConstruts, renaming "XmlChar" to
	  "XmlCharCompact" and "XmlConstructs" to "XmlChar".
	  (XmlChar will be used for compact framework.)
	* DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs :
	  XmlChar related changes.  Support for surrogate pair.
	  It cannot use TextReader's peek anymore (for surrogate pair).
	  Character range check for PI value, attribute value, text
	* XmlTextWriter.cs : Change openElements from Stack to ArrayList.
	  (It calls ToArray() every time.)

svn path=/trunk/mcs/; revision=22741
2004-02-03 15:04:03 +00:00
Ravindra 6a9896aef3 Moved GetException method from TextureBrush to Brush, so that other brush classes can use it.
svn path=/trunk/mcs/; revision=22740
2004-02-03 14:30:57 +00:00
Marek Safar da56be8f03 2004-02-03 Marek Safar <[email protected]>
* interface.cs (PopulateMethod): Fixed crash when interface method
	returns not existing type (error test cs0246-3.cs).

svn path=/trunk/mcs/; revision=22739
2004-02-03 14:07:28 +00:00
Jean-Marc Andre 490468895f 2004-02-03: Jean-Marc ANDRE <[email protected]>
SoapWriter.cs: bug fixed, a namespace was null were it shouldn't

svn path=/trunk/mcs/; revision=22738
2004-02-03 13:59:17 +00:00
Sanja Gupta 88fdddb826 ChangLog: Updated ChangeLog
gdipFunctions.cs: Added functions for Image Class

svn path=/trunk/mcs/; revision=22737
2004-02-03 13:44:44 +00:00
Alon Gazit 044ccb28ca now Item(int index) returns null for nodeList.Count
instead of throwing ArgumentOutOfRangeException.

svn path=/trunk/mcs/; revision=22736
2004-02-03 12:46:45 +00:00
Gonzalo Paniagua Javier 0bad225fe5 upgrade version
svn path=/trunk/mcs/; revision=22735
2004-02-03 11:41:54 +00:00
Marek Safar 0a53ddda36 Changed ChangeLog (better description of my latest commit)
svn path=/trunk/mcs/; revision=22734
2004-02-03 09:24:48 +00:00
Atsushi Eno 59947fdcb0 2004-02-03 Atsushi Enomoto <[email protected]>
* xml-classes : updates

svn path=/trunk/mono/; revision=22733
2004-02-03 09:14:47 +00:00
Marek Safar 57f35c238b 2004-02-03 Marek Safar <[email protected]>
* cs0102-{2,3,4,5}.cs,
	cs0111-{3,4}.cs,
	cs0547-2.cs: New error tests.

svn path=/trunk/mcs/; revision=22732
2004-02-03 09:03:56 +00:00
Atsushi Eno a4d7dd056a 2004-02-03 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Fixed some Parse() for token based datatypes.
	* XmlSchemaAny.cs : set properties for cloned particle. This will fix
	  bugzilla #53668.
	* XmlSchemaParticle.cs : copy occurence string after computation of
	  validated min/max occurence. This will fix bug #53667.

svn path=/trunk/mcs/; revision=22731
2004-02-03 08:09:06 +00:00
Atsushi Eno 949ccf26e7 2004-02-03 Atsushi Enomoto <[email protected]>
* XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
	  predefined entity names.
	* DTDObjectModel.cs : DTDxxxCollection now derives from
	  - DTDCollectionBase that derives from DictionaryBase.
	  - "Literal value" and "replacement text" are handled differently.
	  - Throw XmlException when external entity could not be resolved.
	  - Return ReplacementText for EntityValue.
	* DTDReader.cs :
	  - Support IXmlLineInfo.
	  - Fixed IGNORE section handling to be more strict.
	  - Compute replacement text on reading entity declarations.
	  - Don't expand char references before getting literal entity value.
	  - Check not allowed parameter entity inside internal subset.
	  - Added ValidateWhitespaceNode() to check whitespace's Validity
	    Constraints on external elementdecl and standalone document.
	  - When invalid data against its datatype was found, don't throw
	    parse error.
	  - Other code refactory.
	* XmlTextReader.cs :
	  - Check for invalid Text pattern "]]>" should not depend on line
	    info since it might not be supported.
	  - Check referenced character's validity (WFC).

svn path=/trunk/mcs/; revision=22730
2004-02-03 08:07:35 +00:00
Atsushi Eno 33b5f6d8a2 2004-02-03 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : schemaLocation is not NMTOKENS. It is list
	  of anyURI. Just split names and handle as anyURI.

svn path=/trunk/mcs/; revision=22729
2004-02-03 08:06:56 +00:00
Miguel de Icaza bb29d0f947 Up after release
svn path=/trunk/mono/; revision=22726
2004-02-02 23:29:01 +00:00
Martin Baulig e8b8fdf453 2004-02-03 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.

svn path=/trunk/mcs/; revision=22725
2004-02-02 22:51:50 +00:00
Martin Baulig 7d023bc2c6 2004-02-03 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_methodspec_token): Use the
	uninflated signature; fixes gen-33.

svn path=/trunk/mono/; revision=22724
2004-02-02 22:46:33 +00:00
Jackson Harper 27e2382a32 * OutputCacheModule.cs: We can use file dependancies now.
svn path=/trunk/mcs/; revision=22723
2004-02-02 22:32:36 +00:00
Miguel de Icaza 6f0a15cd3c Flush
svn path=/trunk/mono/; revision=22722
2004-02-02 22:22:21 +00:00
Ravi Pratap M ba2767b7c2 2004-02-02 Ravi Pratap M <[email protected]>
* cs-parser.jay (interface_accessors): Re-write actions to also
	store attributes attached to get and set methods. Fix spelling
	while at it.

	(inteface_property_declaration): Modify accordingly.

	(InterfaceAccessorInfo): New helper class to store information to pass
	around between rules that use interface_accessors.

	* interface.cs (Emit): Apply attributes on the get and set
	accessors of properties and indexers too.

	* attribute.cs (ApplyAttributes): Modify accordingly to use the
	right MethodBuilder when applying attributes to the get and set accessors.

svn path=/trunk/mcs/; revision=22721
2004-02-02 21:53:12 +00:00
Ravi Pratap M 50b95e9306 2004-02-02 Ravi Pratap M <[email protected]>
* test-157.cs: Improve test for interface property accessor
	attributes.

svn path=/trunk/mcs/; revision=22720
2004-02-02 21:52:46 +00:00
Miguel de Icaza 6911e63d06 Update
svn path=/trunk/mono/; revision=22715
2004-02-02 21:48:15 +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
4873 changed files with 340395 additions and 147666 deletions

No files matched your search

+4
View File
@@ -17,3 +17,7 @@ stamp-h
stamp-h.in
mono.pc
mono.spec
autom4te.cache
mint.pc
stamp-h1
config.h.in
+475 -1
View File
@@ -1,3 +1,478 @@
2004-05-31 Gonzalo Paniagua Javier <[email protected]>
* configure.in: fixlets for windows.
2004-05-29 Zoltan Varga <[email protected]>
* configure.in: export CC instead of passing it to libgc/configure.
2004-05-28 Duncan Mak <[email protected]>
* runtime/Makefile.am:
* scripts/Makefile.am: Include mono-find-provides and
mono-find-requires.
* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: New wrapper scripts.
2004-05-27 Zoltan Varga <[email protected]>
* configure.in: Pass CC to libgc configure.
2004-05-27 Gert Driesen ([email protected])
* monowiz.win32.nsi: normalized line-endings to unix (LF)
2004-05-27 Gert Driesen ([email protected])
* monowiz.win32.nsi: do not include mono subdirectory in
MonoConfigDir registry key, to match batch files
2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
values. Now they are URlEncoded.
* data/browscap.ini.gz: updated.
2004-05-26 Raja R Harinath <[email protected]>
* Makefile.am (mcs-do-basic-build): No need to set MCS here.
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Update to
reflect new names for nunit.util and nunit.framework. Add
nunit.core.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Likewise.
2004-05-25 Ben Maurer <[email protected]>
* config.h.in: remove
2004-05-25 18:30 CET Patrik Torstensson <[email protected]>
* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)
2004-05-21 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am:
* monowiz.win32.nsi: improved windows installer script.
2004-05-21 Raja R Harinath <[email protected]>
* README: Update to include instructions for the various new
bootstrap-like targets.
2004-05-20 Raja R Harinath <[email protected]>
* Makefile.am (get-monolite-latest, monolite-bootstrap):
New bootstrap targets to build from monolite.
Based on idea from Jaroslaw Kowalski <[email protected]>.
2004-05-20 Raja R Harinath <[email protected]>
* configure.in (AC_OUTPUT): Add tools/Makefile and
tools/locale-builder/Makefile.
* Makefile.am (SUBDIRS): Remove tools.
(DIST_SUBDIRS): Add 'tools'.
(bootstrap): Rewrite so that we get two new targets.
(faststrap): New two-stage build.
(fasterstrap): New one-stage build.
2004-05-19 Jackson Harper <[email protected]>
* tools/
* tools/Makefile.am: Add tools directory
* tools/locale-builder: Add the locale-builder tool, this tool is
not built by default as it is only needed by people that wish to
moidify culture data.
* Makefile.am: Add tools to build
Wed May 19 13:22:19 EDT 2004 Paolo Molaro <[email protected]>
* configure.in: make MacOSX default to use the included libgc.
2004-05-18 Zoltan Varga <[email protected]>
* configure.in: Get rid of -DMONO_USE_EXC_TABLES.
2004-05-19 Raja R Harinath <[email protected]>
* configure.in: Use proper autoconf idiom to pass additional
arguments to libgc/configure.
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
* acconfig.h: Update to reflect changes.
2004-05-17 Raja R Harinath <[email protected]>
* Makefile.am (tmpinst-dir): Creates _tmpinst tree if
necessary. Move body ...
(tmpinst-dir.stamp): ... here.
(stage3): Don't remove _tmpinst tree.
(bootstrap-clean, bootstrap-check): New rules. They run the
corresponding rules in the mcs/ tree.
2004-05-14 Raja R Harinath <[email protected]>
* Makefile.am: Revert unlogged unexplained changes.
(stage3): Make 'all-profiles' since the mono source tarball
carries all the net_2_0 preview dlls.
2004-05-11 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: cscompmgd.dll is lowercase now.
2004-05-10 Raja R Harinath <[email protected]>
* Makefile.am (tmpinst-dir): Always add $tmpinst/lib to MONO_PATH.
Fix quoting of commands.
2004-05-08 Gonzalo Paniagua Javier <[email protected]>
* monowiz.win32.nsi: some changes i made to build the 0.91 win32 setup
file.
2004-05-07 Bernie Solomon <[email protected]>
* man/mono.1: mention MONO_EGD_SOCKET
2004-05-07 Raja R Harinath <[email protected]>
Goodbye 'fullbuild', hello 'bootstrap'.
* Makefile.am (bootstrap): New target for building from CVS. New
improved version of 'fullbuild' -- does not install any files.
(fullbuild): Obsolete target. Bootstraps and installs tree.
(mcs-tree-safe-build,xinstall-runtime,mcs-rest,remove-binaries):
Removed.
(stage1,stage1-mcs,stage1-mono,stage2,stage3)
(tmpinst-dir,tmpinst-runtime): New targets used to implement a
two-stage bootstrap.
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* configure.in: scandir check is no longer needed.
2004-05-05 Bernie Solomon <[email protected]>
* configure.in: set LIBC on HPUX
2004-05-05 Zoltan Varga <[email protected]>
* configure.in: Detect JNI headers in GNU classpath sources as well.
2004-05-05 Raja R Harinath <[email protected]>
* runtime/net_2_0/Makefile.am (install-data-local, uninstall-local):
Only disable this if INSTALL_2_0 is disabled.
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
the request we do for the actual web service.
2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* configure.in: check for SIGEV_THREAD being defined before checking
for AIO support. Fixes compilation under FreeBSD.
2004-05-04 Raja R Harinath <[email protected]>
* runtime/net_1_1/Makefile.am (mono_runtime): Use USE_JIT, not
JIT_SUPPORTED.
(install-data-local, uninstall-data-local): Run runtime with
libtool.
* runtime/net_2_0/Makefile.am: Likewise.
Report from Urs C Muff <[email protected]>.
2004-05-03 Jackson Harper <[email protected]>
* man/gacutil.1: Basic man page for gacutil. This doesn't include
the new non-standard options yet.
2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added version and publickeytoken.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Add NUnit
dlls here.
(non_gac_assemblies): Removed, every thing is migrated over to gac_assemblies.
(EXTRA_DIST): Include only gac_assemblies.
(dist_assemblies_DATA): It's referring to $(non_gac_assemblies)
and that is no gone now. So remove as well.
($(non_gac_assemblies)): Bye bye.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Add
System.Web.Services. Someone accidentally took the line out.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: These assemblies are signed now.
2004-04-30 Raja R Harinath <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Remove .dll
suffix.
(gac_assemblies, non_gac_assemblies, corlibdir, dist_corlib_DATA):
New variables. Use Automake idioms.
(dist-hook): Remove.
(install-local, uninstall-local): Use mscorlib.dll from current
tree when running gacutil.
(mono_runtime): New variable. Points to either JIT compiler or
interpreter.
Report from Bernie Solomon <[email protected]>
* runtime/net_2_0/Makefile.am: Likewise.
* runtime/Makefile.am (dist_monobins_DATA): Rename from
monobins_DATA.
(EXTRA_DIST): Remove.
* Makefile.am (fullbuild): Update to changes.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: /lib/mono/gac. Dont forget the mono.
2004-04-30 Duncan Mak <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Add sn.exe and sn.
2004-04-29 Duncan Mak <[email protected]>
* scripts/gmcs.in: New file.
* scripts/Makefile.am (EXTRA_DIST, bin_SCRIPTS, CLEANFILES): Add
gmcs script.
2004-04-29 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am: install 2.0 corlib to its own
special little place.
2004-04-29 Zoltan Varga <[email protected]>
* acconfig.h configure.in: Add check for scandir.
2004-04-29 Raja R Harinath <[email protected]>
* runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
(SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
(gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.
* Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).
($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.
2004-04-28 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
* runtime/net_2_0/Makefile.am: Do not assume gacutil is installed.
2004-04-28 Jackson Harper <[email protected]>
* configure.in: Add new Makefile.amS
* runtime/Makefile.am: libs are now in profile dependant
directories.
* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
libs to the GAC.
* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
libs to the GAC.
* data/Makefile.am: cleanup browscap.ini
2004-04-28 Bernie Solomon <[email protected]>
* configure.in: reword message re EGD support
now it is there
2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
* configure.in: added check for sys/aio.h. Also check the field name
in 'union sigval'.
2004-04-28 Jackson Harper <[email protected]>
* scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script
2004-04-26 Jackson Harper <[email protected]>
* Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.
2004-04-26 Bernie Solomon <[email protected]>
* configure.in: move setting of NO_VERSION_SCRIPT
until after checking for GNU ld
2004-04-22 Urs C Muff <[email protected]>
move .net assemblies from $prefix/bin/*.exe to $prefix/lib/*.exe on
windows/cygwin refactor .nsi to simply maintenance on script/batch
generation
* runtime/Makefile.am
* script/Makefile.am
* monowiz.win32.nsi
2004-04-14 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(assemblies_DATA)): Copy file into
$(srcdir). Clean up output.
($(monobins_DATA)): Likewise.
* Makefile.am (mcs-tree-safe-build): Fix typo.
2004-04-13 Sebastien Pouliot <[email protected]>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
getpwnam_r, getpwuid_r, getresuid and setresuid.
2004-04-13 Raja R Harinath <[email protected]>
Allow 'make fullbuild' to work on non-srcdir build.
* Makefile.am (mcs_topdir): New variable.
(mcs-tree-safe-build,mcs-rest,remove-binaries): Work in non-srcdir
build.
(xinstall-runtime): Likewise. Use $(libgc_dir) directly, don't
grep for 'libgc'.
(fullbuild): Make ordering dependencies explicit.
2004-04-12 Sachin Kumar <[email protected]>
* Makefile.am: Added 'web' in SUBDIRS
2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.
* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.
* configure.in: Speedup successful sigaltstack test.
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.
* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.
* configure.in: Speedup successful sigaltstack test.
2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* configure.in: this test for sigaltstack works.
2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Disable sigaltstack test for now since it can hang.
* configure.in: Add test for working sigaltstack.
2004-03-16 Duncan Mak <[email protected]>
* runtime/Makefile.am
(MakeCert.exe, cert2spc.exe, certmgr.exe, setreg.exe):
Remember to install them to mono/runtime.
2004-03-14 Zoltan Varga <[email protected]>
* configure.in: Enable JIT on sparc.
2004-03-13 Martin Willemoes Hansen <[email protected]>
* data/config.in: Changed libgtkhtml-3.0.so.2 to libgtkhtml-3.0.so to fix
breakage with gtkhtml-3.0.10
2004-03-10 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add a --with-sigaltstack option for platforms
where the sigaltstack based exception handling does not work.
2004-03-08 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for aintl function, which is the
solaris equivalent of truncl.
2004-02-29 Zoltan Varga <[email protected]>
* configure.in: Add check for GC_enable.
* configure.in: Remove amd64/Makefile from AC_OUTPUT to fix build.
2004-02-19 Zoltan Varga <[email protected]>
* configure.in: Add proper support for --with-nptl for people who
have linking problems when it is enabled.
2004-02-18 Zoltan Varga <[email protected]>
* configure.in: Add test for __thread keyword and shared libs.
2004-02-16 Zoltan Varga <[email protected]>
* configure.in: Enable --with-nptl by default.
2004-02-03 Zoltan Varga <[email protected]>
* configure.in: Applied patch from Adrian Bunk ([email protected]). Fix
message for failed gethostbyname2_r check.
Fri Jan 23 16:07:05 EST 2004 Paolo Molaro <[email protected]>
@@ -486,7 +961,6 @@ Thu Jul 31 16:19:07 CEST 2003 Paolo Molaro <[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.
+132 -24
View File
@@ -1,8 +1,10 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples
SUBDIRS = @libgc_dir@ mono @ikvm_jni_dir@ docs runtime scripts man data samples support web
# EXTRA_SUBDIRS = libgc
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = libgc mono ikvm-jni docs runtime scripts man data samples support web tools
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
@@ -20,26 +22,138 @@ DISTCLEANFILES= mono.pc mint.pc
# problems by doing the compilation in the right order.
#
fullbuild: remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest install
mcs_topdir=$(top_srcdir)/../mcs
mcs-tree-safe-build:
(cd ../mcs/jay; $(MAKE))
(cd ../mcs/mcs; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
(cd ../mcs/class/corlib; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
cp ../mcs/class/lib/mscorlib.dll runtime
cp ../mcs/mcs/mcs.exe runtime
.PHONY: tmpinst-dir tmpinst-basic-build tmpinst-short-build tmpinst-full-build
.PHONY: bootstrap faststrap fasterstrap one-stage-strap two-stage-strap three-stage-strap bootstrap-clean bootstrap-check
.PHONY: mono-do-basic-build mcs-do-basic-build mcs-do-short-build mcs-do-full-build mcs-do-clean-profiles mcs-do-run-test
xinstall-runtime:
if echo $(SUBDIRS) | grep "libgc " > /dev/null; then (cd libgc; $(MAKE) && $(MAKE) install); fi
(cd mono; $(MAKE) && $(MAKE) install)
(cd runtime; $(MAKE) install assemblies_DATA=mscorlib.dll monobins_DATA=mcs.exe)
if USE_JIT
mono_runtime = mono/mini/mono
else
mono_runtime = mono/interpreter/mint
endif
mcs-rest:
(cd ../mcs/class; $(MAKE))
bootstrap: three-stage-strap
remove-binaries:
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
faststrap: mono-do-basic-build
$(MAKE) two-stage-strap
fasterstrap: mono-do-basic-build
$(MAKE) one-stage-strap
three-stage-strap: tmpinst-basic-build
$(MAKE) two-stage-strap
two-stage-strap: tmpinst-short-build
$(MAKE) one-stage-strap
one-stage-strap: tmpinst-full-build
rm -f $(top_srcdir)/runtime/*/*.dll $(top_srcdir)/runtime/*.exe
$(MAKE)
bootstrap-clean: clean mcs-do-clean-profiles
bootstrap-check: check mcs-do-run-test
# (takes advantage of 'make -j': independent subtasks are separate dependencies)
tmpinst-basic-build: mcs-do-basic-build mono-do-basic-build tmpinst-dir
mv -f $(mcs_topdir)/mcs/mcs.exe \
$(mcs_topdir)/class/lib/default/mscorlib.dll \
$(mcs_topdir)/class/lib/default/System.dll \
_tmpinst/lib
tmpinst-short-build: mcs-do-short-build
mv -f $(mcs_topdir)/mcs/mcs.exe \
$(mcs_topdir)/class/lib/default/mscorlib.dll \
$(mcs_topdir)/class/lib/default/System.dll \
$(mcs_topdir)/class/lib/default/System.Xml.dll \
$(mcs_topdir)/class/lib/default/Mono.CSharp.Debugger.dll \
_tmpinst/lib
tmpinst-full-build: mcs-do-full-build
cp -f $(mcs_topdir)/mcs/mcs.exe \
$(mcs_topdir)/class/lib/default/mscorlib.dll \
$(mcs_topdir)/class/lib/default/System.dll \
$(mcs_topdir)/class/lib/default/System.Xml.dll \
$(mcs_topdir)/class/lib/default/Mono.CSharp.Debugger.dll \
_tmpinst/lib
# Build enough of 'mono' to run the stage1 mcs.exe
mono-do-basic-build: $(CONFIG_HEADER)
if test -z "$(libgc_dir)"; then :; else cd libgc && $(MAKE) ; fi
cd mono && $(MAKE)
# Build stripped down versions of 'mcs', 'mscorlib.dll' and 'System.dll' with installed 'mcs'
## remove System.Xml.dll since it's a soft-dependency of System.dll
mcs-do-basic-build:
rm -f $(mcs_topdir)/mcs/mcs.exe $(mcs_topdir)/class/lib/default/mscorlib.dll
rm -f $(mcs_topdir)/class/lib/default/System.dll $(mcs_topdir)/class/lib/default/System.Xml.dll
cd $(mcs_topdir)/jay && $(MAKE)
cd $(mcs_topdir)/mcs && $(MAKE) PROFILE=default BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB"
cd $(mcs_topdir)/class/corlib && $(MAKE) PROFILE=default BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB"
cd $(mcs_topdir)/class/System && $(MAKE) PROFILE=default BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB"
mcs-do-short-build:
tmpinst=`cd _tmpinst && pwd` ; \
PATH=$$tmpinst/bin:$$PATH; export PATH ; \
for dir in jay mcs class/corlib class/System class/System.XML class/System class/Mono.CSharp.Debugger; do \
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default) || exit 1 ; \
done
mcs-do-full-build:
tmpinst=`cd _tmpinst && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) all-profiles
mcs-do-clean-profiles:
cd $(mcs_topdir) && $(MAKE) clean-profiles
mcs-do-run-test: tmpinst-dir
tmpinst=`cd _tmpinst && pwd` ; \
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
cd $(mcs_topdir) && $(MAKE) PROFILE=default run-test
tmpinst-dir.stamp: Makefile.am
set -e ; \
rootme=`pwd`; tmpinst=$$rootme/_tmpinst ; \
mkdir -p $$tmpinst $$tmpinst/bin $$tmpinst/lib ; \
echo '#! /bin/sh' > $$tmpinst/bin/mono ; \
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH="'"$$tmpinst/lib"'"' >> $$tmpinst/bin/mono ; \
echo 'else MONO_PATH=$${MONO_PATH}:"'"$$tmpinst/lib"'" ; fi' >> $$tmpinst/bin/mono ; \
echo 'export MONO_PATH' >> $$tmpinst/bin/mono ; \
echo 'exec "'"$$rootme/libtool"'" --mode=execute "'"$$rootme/$(mono_runtime)"'" "$$@"' >> $$tmpinst/bin/mono ; \
echo '#! /bin/sh' > $$tmpinst/bin/mcs ; \
echo 'exec "'"$$tmpinst/bin/mono"'" "'"$$tmpinst/lib/mcs.exe"'" "$$@"' >> $$tmpinst/bin/mcs ; \
chmod +x $$tmpinst/bin/mono $$tmpinst/bin/mcs
echo "stamp" > $@
tmpinst-dir: tmpinst-dir.stamp
@if test -d _tmpinst; then :; else rm -f tmpinst-dir.stamp; $(MAKE) tmpinst-dir.stamp; fi
# building with monolite
get-monolite-latest:
wget -O $(srcdir)/../monolite-latest.tar.gz http://www.go-mono.com/daily/monolite-latest.tar.gz
tmpinst-monolite: tmpinst-dir
-rm -f _tmpinst/lib/mcs.exe _tmpinst/lib/*.dll
-rm -fr _tmpinst/monolite-*
srcdir=`cd $(srcdir) && pwd` && cd _tmpinst && ( gzip -d -c $$srcdir/../monolite-latest.tar.gz | tar xf - )
mv -f _tmpinst/monolite-*/mcs.exe _tmpinst/monolite-*/*.dll _tmpinst/lib
rm -fr _tmpinst/monolite-*
monolite-bootstrap: tmpinst-monolite mono-do-basic-build
rm -f $(mcs_topdir)/mcs/mcs.exe $(mcs_topdir)/class/lib/default/mscorlib.dll
rm -f $(mcs_topdir)/class/lib/default/System.dll $(mcs_topdir)/class/lib/default/System.Xml.dll Mono.CSharp.Debugger.dll
$(MAKE) two-stage-strap
# Obsolete target -- don't use.
.PHONY: fullbuild
fullbuild: bootstrap
$(MAKE) install
echo "*** 'fullbuild' is an obsolete target. Use 'make bootstrap && make install'."
exit 1
win32getdeps:
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
@@ -58,10 +172,4 @@ win32getdeps:
unzip -n -d / nsis4cygwin.zip
win32setup:
cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
cp /usr/lib/iconv.dll @prefix@/lib
cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
cp /usr/lib/libintl-1.dll @prefix@/lib
makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
+100 -14
View File
@@ -45,20 +45,45 @@ This is Mono.
make
make install
Mono supports a JIT engine on x86, SPARC and PowerPC systems.
The various commands that ship with Mono default to the JIT engine
on x86 and SPARC, to turn it on for PPC systems, use the --with-jit=yes
command line option to configure.
MacOS X Users: you will need to download the latest Boehm GC
Alpha release for garbage collection to work properly.
If you obtained this as a snapshot, you will need an existing
Mono installation. To upgrade your installation, unpack both
mono and mcs:
tar xzf mcs-XXXX.tar.gz
tar xzf mono-XXXX.tar.gz
cd mono-XXXX
mv mono-XXX mono
mv mcs-XXX mcs
cd mono
./autogen.sh --prefix=/usr/local
make fullbuild
make bootstrap
c. Upgrade from CVS
-------------------
c. Building the software from CVS
---------------------------------
If you are building the software from CVS, make sure that you
have up-to-date mcs and mono sources:
cvs co mono mcs
Then, go into the mono directory, and configure:
cd mono
./autogen.sh --prefix=/usr/local
Depending on whether you have an existing Mono installation or
not, you can try the following:
i. If you have an existing Mono installation
-----------------------------------------
If you are upgrading from CVS you will need an existing Mono installation.
First verify that you have a working installation:
echo 'class X { static void Main () { System.Console.Write("OK");}}' > x.cs
@@ -71,25 +96,86 @@ This is Mono.
mono x.exe
If you get the output `OK' and no errors, you are ready to start your CVS upgrade.
If you get the output `OK' and no errors, and you have mono
version 0.31 or later, continue. Otherwise, you can try option
(ii) below.
First, make sure that you have up-to-date mcs and mono sources:
You are ready to start your CVS upgrade. Compile with
cvs co mono mcs
make bootstrap
Then, go into the mono directory, and configure:
This will automatically go into the mcs/ tree and build the
binaries there, and copy them into the appropriate
sub-directories of mono/runtime/.
cd mono
./autogen --prefix=/usr/local
Now, go to step (iii) below.
Then compile using the special target `fullbuild':
ii. If you don't have a working Mono installation
---------------------------------------------
make fullbuild
If you don't have a working Mono installation, an obvious choice
is to install the latest released packages of 'mono' for your
distribution and go back to step (i).
This step will compile and install at the same time.
You can also try a slightly more risky approach that should work
almost all the time.
This works by first getting the latest version of the 'monolite'
distribution, which contains just enough to run the 'mcs'
compiler. You do this by
make get-monolite-latest
This should place a monolite-latest.tar.gz in the parent
directory of the 'mono' source tree. You can then run:
make monolite-bootstrap
This will automatically gunzip and untar the tarball, place the
files appropriately, and then complete the bootstrap.
iii. Testing and Installation
------------------------
You can run the mono and mcs testsuites with the command:
make -k bootstrap-check
Expect to find several testsuite failures, especially in the
mcs/ tree. As a sanity check, you can compare the failures you
got with
http://go-mono.com/tests/displayTestResults.php
You can now install it:
make install
Failure to follow these steps will result in a broken installation.
iv. Other useful "bootstrap"-like facilities
----------------------------------------
If you have a CVS snapshot that you keep updating periodically,
and/or do your development in, you may try using a couple of
specialty make targets that may be slightly faster than a
"make bootstrap".
You can try a two-stage bootstrap with:
make faststrap
This assumes that you have already run a "make bootstrap" on the
tree before.
If you want to avoid waiting even for that, you can try the
riskier one-stage build:
make fasterstrap
This should be attempted only if you're sure that the sources of
the mcs compiler itself and the sources of the libraries used by
it have not been changed.
2. Using Mono
=============
+4 -2
View File
@@ -10,7 +10,6 @@
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
@@ -21,10 +20,10 @@
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef MONO_ZERO_ARRAY_LENGTH
#undef NEED_LINK_UNLINK
#undef PTHREAD_POINTER_ID
#undef HAVE_GC_H
#undef HAVE_GC_GCJ_MALLOC
#undef HAVE_GC_ENABLE
#undef WITH_BUNDLE
#undef HAVE_GETHOSTBYNAME2_R
#undef HAVE_ICU
@@ -33,3 +32,6 @@
#undef USE_MACH_SEMA
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_SCANDIR
#undef HAVE_WORKING_SIGALTSTACK
-51
View File
@@ -1,51 +0,0 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the inet_aton function. */
#undef HAVE_INET_ATON
/* Define if you have the inet_pton function. */
#undef HAVE_INET_PTON
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Name of package */
#undef PACKAGE
/* Version number of package */
#undef VERSION
+383 -66
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.30)
AM_INIT_AUTOMAKE(mono,0.95)
AM_MAINTAINER_MODE
dnl
@@ -30,21 +30,29 @@ AC_SUBST(libmono_ldflags)
dnl if linker handles the version script
no_version_script=no
# Set to yes if Unix sockets cannot be created in an anonymous namespace
need_link_unlink=no
# 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)
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
CC="gcc -mno-cygwin"
HOST_CC="gcc"
# So libgc configure gets -mno-cygwin
export CC
# latest libgc already defines GC_WIN32_THREADS
# CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
libdl=
libgc_threads=win32
gc_default=boehm
with_nptl=no
with_sigaltstack=no
;;
*-*-*netbsd*)
platform_win32=no
@@ -52,25 +60,25 @@ case "$host" in
libmono_cflags="-D_REENTRANT"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
libdl=
libgc_threads=pthreads
libgc_threads=no
;;
*-*-*freebsd*|*-*-*openbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
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"
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libdl="-ldl"
libgc_threads=pthreads
@@ -83,28 +91,27 @@ case "$host" in
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libgc_threads=pthreads
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
libmono_cflags="-D_REENTRANT"
libgc_threads=pthreads
;;
*-*-darwin*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE"
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
need_link_unlink=yes
AC_DEFINE(PTHREAD_POINTER_ID)
AC_DEFINE(USE_MACH_SEMA)
no_version_script=yes
libdl=
libgc_threads=no
gc_default=none
libgc_threads=pthreads
;;
*)
AC_MSG_WARN([*** Please add $host to configure.in checks!])
@@ -113,8 +120,12 @@ case "$host" in
;;
esac
AC_MSG_RESULT(ok)
if test x$need_link_unlink = xyes; then
AC_DEFINE(NEED_LINK_UNLINK, 1, [Define if Unix sockets cannot be created in an anonymous namespace])
fi
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
@@ -151,6 +162,15 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
# Test whenever ld supports -version-script
AC_PROG_LD
AC_PROG_LD_GNU
if test "x$lt_cv_prog_gnu_ld" = "xno"; then
no_version_script=yes
fi
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/mini/tramp-x86.c
@@ -226,7 +246,11 @@ AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default]
# Enable support for NPTL only features like fast thread-local storage
# We can't reliably detect nptl at compile & run time
# so this option will stay until nptl becomes more widespread
AC_ARG_WITH(nptl, [ --with-nptl Enable support for NPTL])
AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for NPTL],[],[with_nptl=yes])
# Enable support for using sigaltstack for SIGSEGV and stack overflow handling
# This does not work on some platforms (bug #55253)
AC_ARG_WITH(sigaltstack, [ --with-sigaltstack=yes,no enable/disable support for sigaltstack],[],[with_sigaltstack=yes])
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
@@ -260,6 +284,10 @@ case "x$gc" in
if test "x$found_gcj_malloc" = "xyes"; then
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
fi
AC_CHECK_LIB(gc, GC_enable, found_gc_enable="yes",,$libdl)
if test "x$found_gc_enable" = "xyes"; then
AC_DEFINE(HAVE_GC_ENABLE)
fi
;;
xincluded)
@@ -281,6 +309,7 @@ case "x$gc" in
# The included libgc contains GCJ support
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
AC_DEFINE(HAVE_GC_ENABLE)
;;
xnone)
@@ -291,9 +320,9 @@ case "x$gc" in
;;
esac
we_are_embedded_in_mono=yes
export we_are_embedded_in_mono
export libgc_threads
# tell libgc/configure about what we want
ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads"
AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
AC_SUBST(LIBGC_CFLAGS)
@@ -305,6 +334,68 @@ dnl End of libgc checks
dnl
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Checks for the IKVM JNI interface library ***
dnl ******************************************************************
AC_ARG_WITH(ikvm-jni, [ --with-ikvm-jni=yes,no build the IKVM JNI interface library],[with_ikvm_jni=$withval],[with_ikvm_jni=yes])
AC_ARG_WITH(jdk, [ --with-jdk=DIRECTORY Use JDK from DIRECTORY],[with_jdk_dir=$withval],[with_jdk_dir=])
ikvm_jni_dir=
if test x$with_ikvm_jni = xyes; then
AC_MSG_CHECKING([JDK headers])
if test x$with_jdk_dir = x; then
# Try JAVA_HOME variable
if test x$JAVA_HOME != x; then
with_jdk_dir=$JAVA_HOME
fi
fi
jdk_platform=
if test -d $with_jdk_dir/include; then
jdk_headers_found=yes
if test -d $with_jdk_dir/include/linux; then
jdk_platform=linux
else
if test -d $with_jdk_dir/include/solaris; then
jdk_platform=solaris
else
if test -f $with_jdk_dir/include/jni_md.h; then
# GNU Classpath sources
jdk_platform=
else
jdk_headers_found=no
fi
fi
fi
else
jdk_headers_found=no
fi
if test x$jdk_headers_found = xyes; then
AC_MSG_RESULT($with_jdk_dir/include $with_jdk_dir/include/$jdk_platform)
else
AC_MSG_RESULT(not found)
fi
if test x$jdk_headers_found = xyes; then
ikvm_jni_dir=ikvm-jni
IKVM_JNI_CFLAGS="-I$with_jdk_dir/include -I$with_jdk_dir/include/$jdk_platform"
fi
fi
AC_SUBST(ikvm_jni_dir)
AC_SUBST(IKVM_JNI_CFLAGS)
AC_CHECK_FUNCS(getgrgid_r)
AC_CHECK_FUNCS(getgrnam_r)
AC_CHECK_FUNCS(getpwnam_r)
AC_CHECK_FUNCS(getpwuid_r)
AC_CHECK_FUNCS(getresuid)
AC_CHECK_FUNCS(setresuid)
dnl ******************************************************************
dnl *** Check for large file support ***
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
@@ -469,6 +560,8 @@ if test x$platform_win32 = xno; then
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME2_R)
], [
AC_MSG_RESULT(no)
])
dnl *****************************
@@ -547,6 +640,7 @@ if test x$platform_win32 = xno; then
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
@@ -564,45 +658,145 @@ if test x$platform_win32 = xno; then
dnl *** Checks for working __thread ***
dnl ***********************************
AC_MSG_CHECKING(for working __thread)
AC_TRY_RUN([
#include <pthread.h>
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <pthread.h>
__thread int i;
static int res1, res2;
__thread int i;
static int res1, res2;
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
int main () {
pthread_t t1, t2;
int main () {
pthread_t t1, t2;
i = 5;
i = 5;
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
return !(res1 + res2 == 2);
}
], [
if test "x$with_nptl" = "x"; then
AC_MSG_RESULT(disabled)
else
return !(res1 + res2 == 2);
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KW_THREAD)
fi
], [
AC_MSG_RESULT(no)
])
], [
AC_MSG_RESULT(no)
])
fi
dnl **************************************
dnl *** Checks for working sigaltstack ***
dnl **************************************
AC_MSG_CHECKING(for working sigaltstack)
if test "x$with_sigaltstack" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <pthread.h>
#include <sys/wait.h>
static void
sigsegv_signal_handler (int _dummy, siginfo_t *info, void *context)
{
exit (0);
}
static void *
loop (void *ignored)
{
char *ptr = NULL;
*ptr = 0;
return NULL;
}
static void
child ()
{
struct sigaction sa;
struct sigaltstack sas;
pthread_t id;
pthread_attr_t attr;
sa.sa_sigaction = sigsegv_signal_handler;
sigemptyset (&sa.sa_mask);
sa.sa_flags = SA_SIGINFO | SA_STACK;
if (sigaction (SIGSEGV, &sa, NULL) == -1) {
perror ("lala");
return;
}
sas.ss_sp = malloc (SIGSTKSZ);
sas.ss_size = SIGSTKSZ;
sas.ss_flags = SS_ONSTACK;
if (sigaltstack (&sas, NULL) == -1) {
perror ("lala");
return;
}
pthread_attr_init (&attr);
if (pthread_create(&id, &attr, loop, &attr) != 0) {
printf ("failed\n");
return;
}
sleep (100);
}
int
main ()
{
pid_t son;
int status;
int i;
son = fork ();
if (son == -1) {
return 1;
}
if (son == 0) {
child ();
return 0;
}
for (i = 0; i < 3; ++i) {
sleep (1);
waitpid (son, &status, WNOHANG);
if (WIFEXITED (status) && WEXITSTATUS (status) == 0)
return 0;
}
kill (son, SIGKILL);
return 1;
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
], [
with_sigaltstack=no
AC_MSG_RESULT(no)
])
fi
dnl ********************************
dnl *** Checks for semaphore lib ***
@@ -671,7 +865,43 @@ if test x$platform_win32 = xno; then
], [
AC_MSG_RESULT(no)
])
dnl *********************
dnl *** Check for AIO ***
dnl *********************
AC_MSG_CHECKING([for SIGEV_THREAD definition])
dnl Some systems (FreeBSD at least) may have aio_read
dnl but don't support/define SIGEV_THREAD.
AC_TRY_COMPILE([
#include <sys/signal.h>
],[
int x = SIGEV_THREAD;
],[
ac_cv_c_sigev_thread=yes
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
])
if test "$ac_cv_c_sigev_thread" = "yes" ; then
AC_CHECK_HEADERS(aio.h sys/aio.h)
AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
SIGVAL_PTR="undefined"
if test "$ac_cv_header_aio_h" = "yes" -o "$ac_cv_header_sys_aio_h" = "yes" ; then
AC_CHECK_MEMBER(union sigval.sigval_ptr,SIGVAL_PTR="sigval_ptr",, [
#include <sys/signal.h>
])
AC_CHECK_MEMBER(union sigval.sival_ptr,SIGVAL_PTR="sival_ptr",, [
#include <sys/signal.h>
])
if test "$SIGVAL_PTR" = "undefined" ; then
AC_MSG_ERROR([Unable to detect field name in 'union sigval'])
fi
fi
AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval'])
fi
else
jdk_headers_found=no
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
@@ -691,12 +921,20 @@ ac_cv_c_socklen_t=yes
AC_MSG_RESULT(no)
])
AC_CHECK_FUNCS(truncl, , AC_MSG_CHECKING(for truncl in math.h)
AC_CHECK_FUNCS(trunc, , AC_MSG_CHECKING(for trunc in math.h)
AC_TRY_LINK([#include <math.h>],
[ truncl(0.0); ],
AC_DEFINE(HAVE_TRUNCL) AC_MSG_RESULT(yes),
[ trunc(0.0); ],
[
AC_DEFINE(HAVE_TRUNC)
AC_MSG_RESULT(yes)
ac_cv_trunc=yes
],
AC_MSG_RESULT(no)))
if test "x$ac_cv_truncl" != "xyes"; then
AC_CHECK_LIB(sunmath, aintl, [ AC_DEFINE(HAVE_AINTL) LIBS="$LIBS -lsunmath"])
fi
dnl ****************************
dnl *** Look for /dev/random ***
dnl ****************************
@@ -715,7 +953,7 @@ case "{$target}" in
dnl Win32 does not have /dev/random, they have their own method...
*-*-mingw*|*-*-cygwin*)
ac_cv_have_dev_random = no
ac_cv_have_dev_random=no
;;
dnl Everywhere else, it's /dev/random
@@ -758,7 +996,8 @@ if test "x$ac_cv_have_dev_random" = "xno" \
*** entropy collection in place, please contact <[email protected]> and
*** provide information about the system and how to access the random device.
***
*** For those systems who lack a random device, EGD support is forthcoming.
*** Otherwise you can install either egd or prngd and set the environment
*** variable MONO_EGD_SOCKET to point to the daemon's socket to use that.
***]])
fi
@@ -770,18 +1009,32 @@ if test "x$try_shared_handles" != "xyes"; then
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
#
# ICU
#
ICU_CFLAGS=""
ICU_LIBS=""
enable_icu=no
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
probe_icu=true
AC_ARG_WITH(icu, [ --with-icu=yes/no],
if test x$with_icu = xno; then
probe_icu=false;
AC_MSG_RESULT(Will not probe for ICU)
fi
)
if $probe_icu; then
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
fi
fi
AC_SUBST(ICU_CFLAGS)
AC_SUBST(ICU_LIBS)
@@ -792,6 +1045,7 @@ ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
LIBC="libc.so.6"
jit_wanted=false
case "$host" in
# mips-sgi-irix5.* | mips-sgi-irix6.*)
# TARGET=MIPS;
@@ -801,11 +1055,20 @@ case "$host" in
TARGET=X86;
arch_target=x86;
JIT_SUPPORTED=yes
jit_wanted=true
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=amd64;
JIT_SUPPORTED=no
;;
sparc*-*-*)
TARGET=SPARC;
arch_target=sparc;
JIT_SUPPORTED=yes
ACCESS_UNALIGNED="no"
LIBC="libc.so"
jit_wanted=true
;;
# alpha*-*-linux* | alpha*-*-osf*)
# TARGET=ALPHA;
@@ -827,6 +1090,7 @@ case "$host" in
hppa2.0w-hp-hpux11.00 | hppa64-hp-hpux11.00)
TARGET=HPPA;
arch_target=hppa;
LIBC="libc.sl"
ACCESS_UNALIGNED="no"
;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | \
@@ -834,6 +1098,7 @@ case "$host" in
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
jit_wanted=true
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
@@ -844,9 +1109,38 @@ case "$host" in
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
;;
esac
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
jit_wanted=true
])
USEJIT=false
if test x$JIT_SUPPORTED = xyes; then
if $jit_wanted; then
USEJIT=true
jit_status="Building and using the JIT"
else
jit_status="Building the JIT, defaulting to the interpreter"
fi
else
jit_status="interpreter"
fi
AM_CONDITIONAL(USE_JIT, test x$USEJIT = xtrue)
libsuffix=".so"
case "$host" in
powerpc-*-darwin*)
libsuffix=".dylib"
LIBC="libc.dylib"
;;
esac
AC_SUBST(libsuffix)
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
@@ -875,10 +1169,20 @@ if test ${ACCESS_UNALIGNED} = no; then
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
PREVIEW=no
AC_ARG_WITH(preview, [ --with-preview=yes,no If you want to install the 2.0 FX preview],[
if test x$with_preview = xyes; then
PREVIEW=yes
fi
])
AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
AM_CONDITIONAL(X86, test x$TARGET = xX86)
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
@@ -910,6 +1214,7 @@ mono/os/Makefile
mono/os/win32/Makefile
mono/os/unix/Makefile
mono/arch/x86/Makefile
mono/arch/amd64/Makefile
mono/arch/hppa/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
@@ -926,19 +1231,31 @@ mono/io-layer/Makefile
mono/handles/Makefile
mono/mini/Makefile
mono/profiler/Makefile
ikvm-jni/Makefile
runtime/Makefile
runtime/net_1_1/Makefile
runtime/net_2_0/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
web/Makefile
docs/Makefile
data/Makefile
samples/Makefile
support/Makefile
data/config
mono.spec
tools/Makefile
tools/locale-builder/Makefile
])
echo "
GC: $gc
ICU: $enable_icu
GC: $gc
ICU: $enable_icu
NPTL: $with_nptl
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
2.0 Alpha: $PREVIEW
JNI support: $jdk_headers_found
"
+25 -16
View File
@@ -1,4 +1,4 @@
<%
<%--
//
// DefaultWsdlHelpGenerator.aspx:
//
@@ -7,9 +7,9 @@
//
// (C) 2003 Ximian, Inc. http://www.ximian.com
//
%>
--%>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.Collections" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Xml.Serialization" %>
<%@ Import Namespace="System.Xml" %>
@@ -61,6 +61,9 @@ void Page_Load(object sender, EventArgs e)
Service service = desc.Services[0];
WebServiceName = service.Name;
if (desc.Bindings.Count == 0)
return;
DefaultBinding = desc.Bindings[0].Name;
WebServiceDescription = service.Documentation;
ServiceProtocols = FindServiceProtocols (null);
@@ -313,7 +316,7 @@ string GetTestResult ()
{
if (fill) {
if (qs != "") qs += "&";
qs += Request.QueryString.GetKey(n) + "=" + Request.QueryString [n];
qs += Request.QueryString.GetKey(n) + "=" + Server.UrlEncode (Request.QueryString [n]);
}
if (Request.QueryString.GetKey(n) == "ext") fill = true;
}
@@ -335,6 +338,17 @@ string GetTestResult ()
try
{
WebRequest req = WebRequest.Create (location + "/" + CurrentOperationName + "?" + qs);
HttpCookieCollection cookies = Request.Cookies;
int last = cookies.Count;
if (last > 0) {
CookieContainer container = new CookieContainer ();
for (int i = 0; i < last; i++) {
HttpCookie hcookie = cookies [i];
Cookie cookie = new Cookie (hcookie.Name, hcookie.Value, hcookie.Path, hcookie.Domain);
container.Add (cookie);
}
((HttpWebRequest) req).CookieContainer = container;
}
WebResponse resp = req.GetResponse();
StreamReader sr = new StreamReader (resp.GetResponseStream());
string s = sr.ReadToEnd ();
@@ -1208,10 +1222,7 @@ public class HtmlSampleGenerator: SampleGenerator
}
else if (item is XmlSchemaAny)
{
xtw.WriteStartElement ("any"); xtw.WriteEndElement ();
if (multiValue) {
xtw.WriteStartElement ("any"); xtw.WriteEndElement ();
}
xtw.WriteString (GetLiteral ("xml"));
}
else if (item is XmlSchemaParticle) {
WriteParticleContent (xtw, ns, (XmlSchemaParticle)item, multiValue);
@@ -1265,7 +1276,7 @@ public class HtmlSampleGenerator: SampleGenerator
}
else if (st.Content is XmlSchemaSimpleTypeUnion)
{
// Check if all types of the union are equal. If not, then will use anyType.
//Check if all types of the union are equal. If not, then will use anyType.
XmlSchemaSimpleTypeUnion uni = (XmlSchemaSimpleTypeUnion) st.Content;
string utype = null;
@@ -1585,7 +1596,9 @@ function clearForm ()
<p class="label">Web Service Overview</p>
<%#WebServiceDescription%>
<%} if (CurrentPage == "op") {%>
<%} if (DefaultBinding == null) {%>
This service does not contain any public web method.
<%} else if (CurrentPage == "op") {%>
<!--
**********************************************************
@@ -1713,9 +1726,7 @@ function clearForm ()
<% } %>
<% } %>
<%}%>
<% if (CurrentPage == "proxy") {%>
<%} else if (CurrentPage == "proxy") {%>
<!--
**********************************************************
Client Proxy
@@ -1736,9 +1747,7 @@ function clearForm ()
<div class="codePanel">
<div class="code-<%#CurrentLanguage%>"><%#GetProxyCode ()%></div>
</div>
<%}%>
<% if (CurrentPage == "wsdl") {%>
<%} else if (CurrentPage == "wsdl") {%>
<!--
**********************************************************
Service description
+2
View File
@@ -10,6 +10,8 @@ mono_DATA = config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
CLEANFILES = browscap.ini
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
Binary file not shown.
+4 -16
View File
@@ -1,21 +1,9 @@
<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="libgthread-2.0-0.dll" target="libgthread-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="libxslt.dll" target="libxslt@libsuffix@" />
<dllmap dll="libmySQL.dll" target="libmysqlclient@libsuffix@" />
<dllmap dll="odbc32.dll" target="libodbc@libsuffix@" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
<dllmap dll="db2cli" target="libdb2_36.so"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
<dllmap dll="db2cli" target="libdb2_36@libsuffix@"/>
</configuration>
+59 -60
View File
@@ -3,61 +3,61 @@
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webControls"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="compilation"
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
type="System.Net.Configuration.NetConfigurationHandler, System" />
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System" />
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System" />
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
<add type="System.Net.DigestClient" />
<add type="System.Net.NtlmClient" />
<add type="System.Net.BasicClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
<defaultProxy>
<proxy />
@@ -65,9 +65,9 @@
<!-- 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" />
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
@@ -75,26 +75,25 @@
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, 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="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</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" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -125,10 +124,10 @@
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System" />
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System" />
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
@@ -161,22 +160,22 @@
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
-4
View File
@@ -1,4 +0,0 @@
Makefile.in
Makefile
all-docs
pending-classes.in
-16
View File
@@ -1,16 +0,0 @@
2004-01-22 Atsushi Enomoto <[email protected]>
* xml-classes : status update, additional infos.
2004-01-16 Atsushi Enomoto <[email protected]>
* web/commands : Added xml-classes (forgot to commit).
* mono-build-w32.sh : Added icu support as well as glib.
* ChangeLog : tiny fix
2004-01-11 Atsushi Enomoto <[email protected]>
* xml-classes : added v2 info. schema status updates.
Added ChangeLog. (There is no reason not to keep ChangeLog for
documents, at least for not a little changes ;-)
-37
View File
@@ -1,37 +0,0 @@
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 print-stack
EXTRA_DIST = $(WEB_FILES) README $(OTHERS)
all-docs: $(WEB_FILES)
cat rationale roadmap c-sharp tools class-library \
runtime documentation download faq contributing \
resources status > all-docs
class-status: class-status.in Makefile.am
cat class-status.in > class-status
pending-classes:
#pending-classes: pending-classes.in Makefile.am
# echo "This is a list of pending classes, and links to their documentation on MSDN.Microsoft.com<p><p>" > pending-classes
# for i in `cat pending-classes.in`; do x=`echo $$i | sed s/\\\.//g`; link=`echo http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf@@@ClassTopic.asp | sed "s/@@@/$$x/"`; echo " <a href=\"$$link\">$$i</a><br>" >> pending-classes; done
webit: dummy
(cd web; make && make push)
push-notes:
scp release-notes/mono* www@www:/web/cvsmodules/mono/archive
dummy:
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

-47
View File
@@ -1,47 +0,0 @@
To edit the website appearance:
cd doc/web
edit template.html.in
make
To edit website content:
cd doc (this directory)
edit files carefully
cd web
make
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
-391
View File
@@ -1,391 +0,0 @@
* ADO.NET
** Data Access in Mono
<ul>
<li>Today, our goal is to be compatible with .NET 1.0 and .NET 1.1. We also would like
to extend data access beyond what is included with .NET 1.0 and .NET 1.1,
such as, including access to more databases, such as, PostgreSQL and MySQL,
but also provide classes that help in creating data source-agnostic code, such as, Mono.Data.ProviderFactory.</li>
<li>In the future, we would like to be compatible with .NET 1.2. This
would include features like:
<ul>
<li><a href="http://longhorn.msdn.microsoft.com/lhsdk/ndp/daconworkingwithobjectspacesarchitecture.aspx">ObjectSpaces</a></li>
<li>provide support for hosting Mono languages (C-Sharp, MonoBASIC, etc...)
within a DBMS engine, such as, MySQL or PostgreSQL.</li>
<li>implement .net 1.2 classes, such as, those found in System.Data.ProviderBase</li>
<li>other stuff which can be brought up on the mono-list</li>
</ul></li>
</ul>
** Bugs and Feature Requests
<ul>
<li>Bugs with Mono or any data provider in Mono should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have a Bugzilla user account, it is free
and easy to create
one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
<li>Any requests for new features or missing functionality
can entered as a bug in Bugzilla too</li>
</ul>
** ADO.NET Data Providers
<p>Mono has many ADO.NET Data Providers to get you connected:
<ul>
<li><a href="http://www.go-mono.com/ibmdb2.html">IBM DB2 Universal Database</a></li>
<li><a href="http://www.go-mono.com/mysql.html">MySQL</a></li>
<li><a href="http://www.go-mono.com/odbc.html">ODBC</a></li>
<li><a href="http://www.go-mono.com/oracle.html">Oracle</a></li>
<li><a href="http://www.go-mono.com/oledb.html">OLE DB</a></li>
<li><a href="http://www.go-mono.com/postgresql.html">PostgreSQL</a></li>
<li><a href="http://www.go-mono.com/sqlclient.html">Microsoft SQL Server</a></li>
<li><a href="http://www.go-mono.com/sqlite.html">SQL Lite</a></li>
<li><a href="http://www.go-mono.com/sybase.html">Sybase</a></li>
<li><a href="http://www.go-mono.com/tdsclient.html">Older Microsoft SQL Server and Sybase databases</a></li>
</ul>
<p>Providers which we do not have, but we would like to have. Currently,
some of these databases are supported via the ODBC or OLE DB providers.
<ul>
<li><a href="http://msdn.microsoft.com/library/en-us/dnsql2k/html/sqlxml_intromanagedclasses.asp?frame=true">Managed Classes for SqlXml</a> which is
a .NET data provider for retrieving XML data from a Microsoft SQL Server 2000 database. The System.Data.SqlClient provider
in Mono can be used as a starting point at mcs/class/System.Data/System.Data.SqlClient.</li>
<li><a href="http://www.hughes.com.au/">miniSQL</a></li>
<li><a href="http://www.sleepycat.com/">BerkeleyDB (Sleepycat)</a></li>
<li><a href="http://www.sapdb.org/">SapDB</a></li>
<li><a href="http://www-3.ibm.com/software/data/informix/">Informix</a></li>
<li><a href="http://msdn.microsoft.com/vfoxpro/">Foxpro</a></li>
<li>Microsoft Access - could be done by creating C# bindings to <a href="http://mdbtools.sourceforge.net">MDB Tools</a></li>
<li>dbase or xbase type database files</li>
<li>Others are welcome</li>
</ul>
<p>External Projects that have created ADO.NET Providers that work on Mono:
<ul>
<li><a href="http://www.go-mono.com/firebird.html">Firebird Interbase</a></li> is a
Firebird SQL Managed data provider. It can be used with Interbase databases too. It
is written in 100%C# and does not require a client library. Works on .NET and Mono.</a>
<li><a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a> is a
PostgreSQL Managed data provider written
in 100% C#, does not require a client library, and works on .NET and Mono</li>
<li><a href="http://sourceforge.net/projects/mysqlnet/">MySQLNet</a> is a
MySQL Managed data provider written in 100% C#, does not
require a client library, and works on .NET and Mono</li>
</ul>
** Tools
<p>Some tools that can be used for ADO.NET and other technologies (ASP.NET, XML, etc).
<ul>
<li><p><b>SQL# command line query tool</b> is a command-line tool to
enter and execute SQL statements or
execute a batch of SQL commands from a file.
<p>It can
be used to test connection strings, connect to various ADO.NET
providers, save output to text, html, or xml.
<p>The SQL# CLI is distributed with the
Mono runtime and class libraries as an executable assembly sqlsharp.exe.
<p>The source to SQL# CLI can be found in the mcs source at
mcs/tools/SqlSharp/SqlSharpCli.cs
</li>
<li><p><b>SQL# For GTK#</b> - is a graphical SQL database query tool</b> allows a user
to enter SQL commands in a top panel which is a text editor.
<p>It has a toolbar and menu for various tasks, such as, executing
SQL commands one-at-a-time or in a batch. The results would appear
in a bottom panel in a grid or could be saved to a file (xml, html, csv).
<p>Also, the bottom panel would allow logging of SQL command executed.
Here is a screenshot of <a href="http://go-mono.com/images/sqlsharp.png">SQL# For GTK#</a> which
provides a GUI interface using the <a href="http://gtk-sharp.sourceforge.net">Gtk#</a> toolkit.
<p>SQL# For GTK# can be found in mono cvs as sqlsharpgtk.</li>
</ul>
<p>Tools we would like to have, but they have not been created yet:
<ul>
<li>Mono has an <b>XML Schema Definition tool</b> (xsd.exe).</b>
<ul>
<li>This tool
would works like the xsd.exe tool included with
the .NET Framework. The Xsd.exe tool has the
following uses:
<ul>
<li><b>XDR to XSD</b> - used to generate an XML schema from an XDR (XML Data Reduced schema) file.
XDR was used by Microsoft prior to XSD becoming a W3C recommendation. So, this needs
to be supported for legacy reasons</li>
<li><b>XML to XSD</b> - used to generate an XML schema from an XML file</li>
<li><b>XSD to DataSet</b> - used to generate DataSet classes from an XSD schema file. The
DataSet classes created can then be used with XML data</li>
<li><b>XSD to Classes</b> - used to generate classes from an XSD schema file. The
classes created can be used with System.XML.Serialization.XMLSerializer
to read and write XML code that follows the schema</li>
<li><b>Classes to XSD</b> - used to generate an XML schema
from type(s) in a assembly file. The
XML schema created by the tool defines the XML format used
by System.XML.Serialization.XMLSerializer</li>
</ul>
<li>Xsd.exe is used to manipulate XML schemas that
follow the http://www.w3.org/XML/Schema">XML Schema Definition (XSD)</a> language
recommended by the <a href="http://w3.org/">World Wide Web Consortium (W3C)</a></li>
<li>How this tool could be created:
<ul>
<li>Write xsd.exe in C# and run on Mono</li>
<li>Make sure we have XML Schema support in System.Xml.Schema. Currently,
it is wrapped around libxlst</li>
<li>XML serialization support in System.Data classes</li>
<li>Create the TypedDataSetGenerator class in System.Data</li>
<li>Using CodeDOM or Reflection.Emit to create code</li>
<li>Make sure DataSet, XmlDataDocument, and related classes
are implemented fully</li>
</ul>
</li>
</li>
</ul>
</li>
<li><b>Application XML Configuration File Editor</b> - a tool
to create and edit an application configuration file, such as,
we have a .net application named Accouting.exe, the tool could edit
the application configuration file Accounting.exe.config so a user could
connect to the database used by the program. This tool has not
been created.</li>
<li><b>Configuration Command-Line and GUI Tools for ADO.NET</b>.
These tools have not been started. The tools would be written in
C# and run on Mono. The
configuration tool can be used to do the following:
<ul>
<li>bebased on the Application XML Configuration File Editor</li>
<li>setup DSNs for the ODBC and OLE-DB
providers and configurations for
their underlying libraries (unixODBC and libgda)</li>
<li>setup configurations for the Mono.Data.ProviderFactory
that Brian Ritchie created</li>
<li>setup native database client library configurations too, such as,
freetds.conf for Microsoft SQL Server and Sybase</li>
</ul>
</li>
</ul>
** Extra Classes in Mono ADO.NET
<p>An ADO.NET <a href="http://www.go-mono.com/provider-factory.html">Provider Factory</a>
was created by Brian Ritchie. The
Provider Factory is a way to dynamically create
connections, commands, parameters, and data adapters based on configuration
information.
** Current Status
<p>Various ADO.NET Providers have been created at various stages of
development including:
Firebird/Interbase, IBM DB2 Universal Database, MySQL, ODBC, OLE DB, Oracle,
PostgreSQL, SQL Lite, Sybase, Microsoft SQL Server, and TDS Generic.
See their respective web page for more information.
<p><b>Data Relations</b> via DataRelation, DataRelationCollection, and
other classes have not been implemented
<p><b>Constraints</b> need lots of work
<p><b>XML Schema Definition tool</b> xsd.exe that is included
in the .NET Framework has not been created for Mono
<p><b>TypeDataSetGenerator</b> needs to be stubbed and implemented.
<p><b>DataSet, DataAdaptor, DataTable, DataRelation, DataRow, DataColumn,
DataColumnCollection, DataRowCollection, and others</b> need more work. There are
many classes that are just stubs and need to be implemented. Ville Palo has been
doing much testing here.
<p><b>XML support in System.Data</b> needs work. This involves working on
the classes: DataSet, XmlDataDocument, and the method ExecuteXmlReader() that
exists in a provider's class that implements IDbCommand, and others.
Stuart Caborn has started the XML support in a DataSet. Tim Coleman started
XML support in the ExecuteXmlReader() in a SqlCommand. Ville Palo has been
heavily modifying DataSet, XmlDataDocument, and other classes for reading
and writing XML. XML Serialization support in DataSet needs to be implemented.
<p><b>Integration with ASP.NET</b> has been created. Data binding of
a DataTable in a DataSet to a System.Web.UI.WebControls.DataGrid works. Data binding
of other types works too.
<p><b>Database Access from ASP.NET</b>:
<ul>
<li>Take a look at xsp in cvs and look at the examples in test: dbpage1.aspx
and dbpage2.aspx:
<ul>
<li>Notice that the namespace System.Data is imported via <b>import</b></li>
<li>A NameValueCollection is gotten using ConfigurationSettings.AppSetings. These
settings are gotten from the file server.exe.config which is a XML file. The XML
file has a section appSettings. In the appSettings section, you have keys
for DBProviderAssembly, DBConnectionType, and DBConnectionString.
<ul>
<li><b>DBProviderAssembly</b> is the assembly of the ADO.NET provider.
For example:
"Mono.Data.PostgreSqlClient"</li>
<li><b>DBConnectionType</b> is the System.Type of the class that
implements System.Data.IDbConnection that is found
in the DBProviderAssembly.
For example:
"Mono.Data.PostgreSqlClient.PgConnection"</li>
<li><b>DBConnectionString</b> is the ConnectionString to set to the
IDbConnection object to use in opening a connection to a data source.
For Example:
"hostaddr=127.0.0.1;user=monotest;password=monotest;dbname=monotest"</li>
</ul>
<li>The function GetConnectionData() gets the database provider assembly, connection type,
and connection string parameters if they exist; otherwise, it uses default values. This is
done during the loading of the web page.</li>
<li>With the connection parameters, the assembly is loaded, the connection type is verified that
it implements IDbConnection and an instance of the class can be created, creates a instance
of the class, sets the connection string, and opens the connection.</li>
</ul>
</li>
</ul>
<p><b>Integration with Windows.Forms</b> has not been started, such as, data binding
to a System.Windows.Forms.DataGrid. This may involve implementing many classes
in System.Windows.Forms and System.Data.
<p><b>Integration with <a href="http://gtk-sharp.sourceforge.net/">GTK#</a></b>
has not been started, such as, data binding
to a GtkTreeView. This may involve creating new classes
to go between the glist data model and the ADO.NET data model.
Mike Kestner or Rachel Hestilov would be the best people to ask for help on GTK#.
<p><b>Integration with QT#</b> has not been started. Any information on
how this can be done is appreciated. Marcus would be the best
person to ask about QT#.
<p><b>Building System.Data</b>
<p>The System.Data.dll gets built with the rest of the class library.
To compile the System.Data.dll assembly separately, you need:
<b>On Unix</b>
<ul>
* update your mono sources. Be sure you have latest mcs.exe
and .dll's, since there have been many fixes needed for
compilation on Linux.
* compile System.Data.dll:
<pre>
cd mcs/class/System.Data<br>
mcs --target library -o \
System.Data.dll @list
</pre>
</ul>
<b>On Windows</b>
<ul>
* update your mono sources. Be sure you have latest mcs.exe
and .dll's. You can use the same method as Linux,
or you can use NAnt.
* To use NAnt:
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe
</pre>
* This will automatically copy the System.Data.dll to Test.
If you need to do a clean for the System.Data.dll assembly,<br><br>
<pre>
cd mcs/class/System.Data
../../nant/NAnt.exe clean
</pre>
</ul>
** Testing
<ul>
<li>Testing connection-oriented classes are done
via the provider specific tests
found in the mcs source at mcs/class</br>
<table border=1>
<tr>
<td><b>Name</b></td>
<td><b>Assembly /</br> Namespace</b></td>
<td><b>Test</b></td>
</tr>
<tr>
<td>Microsoft</br> SQL</br> Server</br></td>
<td>System.Data /</br> System.Data.SqlClient</td>
<td>SqlTest.cs at</br> System.Data/Test</td>
</tr>
<tr>
<td>PostgreSQL</br> (Npgsql)</td>
<td>Npgsql /</br> Npgsql</td>
<td>*.cs at</br> Npgsql/Test</td>
</tr>
<tr>
<td>PostgreSQL</br> (Mono)</td>
<td>Mono.Data.PostgreSqlClient /</br> Mono.Data.PostgreSqlClient</td>
<td>PostgresTest.cs at</br> System.Data/Test</td>
</tr>
<tr>
<td>MySQL</br> (Mono)</td>
<td>Mono.Data.MySql /</br> Mono.Data.MySql</td>
<td>MySqlTest.cs at</br> Mono.Data.MySql/Test</td>
</tr>
<tr>
<td>Oracle</br> (Mono)</td>
<td>System.Data.OracleClient /</br> System.Data.OracleClient</td>
<td>TestOracleClient.cs at</br> System.Data.OracleClient/Test</td>
</tr>
<tr>
<td>ODBC</br> (Mono)</td>
<td>System.Data.Odbc /</br> System.Data</td>
<td>OdbcTest.cs (to connect to MS SQL Server)at</br> System.Data/Test</td>
</tr>
</table>
<li><a href="http://www.go-mono.com/testing.html">Testing non-connection classes</a> are
done via mono's modified version of NUnit.
<ul>
<li>To run all the NUnit tests for Mono, you need the mcs source. cd to the root
of the mcs source. To run it:
<ul>
<li>On Linux: make -f makefile test</li>
<li>On Windows: make test</li>
</ul>
</li>
<li>If you just want to run the NUnit tests for System.Data, you would cd into
the mcs source at class/System.Data/Test and run it:
<ul>
<li>On Linux: make -f makefile test</li>
<li>On Windows: make test</li>
</ul>
</li>
</ul>
</li>
</ul>
-73
View File
@@ -1,73 +0,0 @@
* Anonymous CVS access
Anonymous access to the Mono is available currently from three
servers (anoncvs-spain-1.go-mono.com,
anoncvs-spain-2.go-mono.com and us-anoncvs.go-mono.com).
You can also use `anoncvs.go-mono.com', and that will pick a
server automatically for you.
Sources are currently being updated every hour.
** Checking out the sources
To check out the sources for the first time from the
repository, use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs login
cvs -z3 co mcs mono gtk-sharp
</pre>
That will get you the compiler and class libraries (mcs), the
interpreter and JITer (mono) and the Gtk# bindings.
The server is located in Spain.
** Updating the sources
To update your sources every day, you use this command:
<pre>
export CVSROOT=:pserver:[email protected]:/mono
cvs -z3 update -dP mcs mono gtk-sharp
</pre>
** Thanks
Thanks to <a href="http://www.hispalinux.es">HispaLinux</a>
for providing this Anon CVS server. The server is located in
Spain.
Special thanks to Jesus Climent, Rodrigo Moya, Juantomás
García and Ismael Olea for making this happen.
Thanks to Matt Liotta of MontaraSoftware for hosting our
US-based AnonCVS server.
<a name="#mirror">
** Becoming an AnonCVS mirror
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).
I need to be able to rsync to your machine from the main CVS
server. The preferred method to rsync is to setup ssh in your
machine.
The requirements are:
<ul>
* An account where we can ssh into.
* rsync.
* AnonCVS setup with the same paths as the rest of the
servers.
* Currently, about 40 megabytes of disk space, but this
will likely grow as the project evolves.
* A sysadmin contact e-mail address.
</ul>
-107
View File
@@ -1,107 +0,0 @@
* ASP.NET
ASP.NET support is divided in two pieces:
<ul>
* Web Forms (Web Applications infrastructure).
* Web Services (the SOAP-based rpc system).
</ul>
Both are functional at this point, and applications like
"IBuySpy" run with Mono.
ASP.NET works either embedded into
our XSP server test server or the mod_mono Apache module.
We are now working on bug fixing and adding missing features
after making the whole pipeline compatible with MS.
Tim started work on the Web Services. After that, Lluis is in
charge and has been working hard on them as part of our
<a href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=sourcegear">SourceGear</a> contract.
Web services are now supported and there are some samples in the
XSP set of tests.
** Hosting
ASP.NET provides a hosting interface. Today we ship support
for two different hosting mechanisms:
<ul>
* <a href="#xsp">XSP</a>: A light-weight C# web server.
* <a href="#mod_mono">mod_mono</a>: An apache module
that can host the Mono runtime and the ASP.NET runtime
</ul>
<a name="xsp">
** XSP
XSP is a simple web server written in C# that can be used to
run your ASP.NET applications. The code is available from our
<a href="download.html">download page</a> or from the <a
href="anoncvs.html">Anonymous CVS</a> repository (module name:
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). This server also uses a couple of
plugins distributed with Mono to support gzip HTTP transfers.
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.
<a name="mod_mono">
* mod_mono
This Apache module is available from our <a
href="download.html">download page</a>. The <a href="anoncvs.html">
cvs</a> module name is mod_mono. It works with both 1.3 and 2.0
versions of the <a href="http://httpd.apache.org">apache server</a>.
It allows apache to serve ASP.NET pages.
Work is underway to improve it.
** Controls
A lot of work has been put in the various classes that
implement the controls (UI.HtmlControls and UI.WebControls).
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. After that, we keep fixing bugs on
them.
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.
** How to Help
Testing and fixing HtmlControls, WebControls and validators is an
easy way to help.
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.
-38
View File
@@ -1,38 +0,0 @@
You can read the aggregates news from the Mono developers in
<a href="http://www.go-mono.com/monologue">Monologue</a>. You
can also download our aggregator from the <a
href="anoncvs.html">AnonCVS</a> server.
Various Mono contributors maintain blogs, some are listed here:
<a href="http://codeblogs.ximian.com/blogs/benm/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://codeblogs.ximian.com/blogs/benm/">Ben Maurer</a>
<br>
<a href="http://ada.fciencias.unam.mx/~olopez/jscript/cesar.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://ada.fciencias.unam.mx/~olopez/jscript/">Cesar Nataren</a>
<br>
<a href="http://www.jacksonh.net/jackson/blog/jackson.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://www.jacksonh.net/jackson/blog/">Jackson Harper</a>
<br>
<a href="http://primates.ximian.com/~lluis/blog/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~lluis/blog/">Lluis S&aacute;nchez</a>
<br>
<a href="http://primates.ximian.com/~martin/blog/rss.xml"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~martin/blog/">Martin Baulig</a>
<br>
<a href="http://primates.ximian.com/~miguel/miguel.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~miguel/activity-log.php">Miguel de Icaza</a>
<br>
<a href="http://primates.ximian.com/~mkestner/blog/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~mkestner/blog/">Mike Kestner</a>
<br>
<a href="http://pages.infinit.net/ctech/poupou.rss"><img align="center" src="images/xml.gif"></a>
<a href="http://pages.infinit.net/ctech/poupou.html">Sebastien Pouliot</a>
<br>
<a href="http://primates.ximian.com/~gonzalo/mono/blog/index.xml"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~gonzalo/mono/blog/">Gonzalo Paniagua</a>
<br>
<a href="http://codeblogs.ximian.com/blogs/ndrochak/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://codeblogs.ximian.com/blogs/ndrochak/">Nick Drochak</a>
-64
View File
@@ -1,64 +0,0 @@
* Mono
<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#
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
* .NET Framework
Avery good techincal book about .NET is Don Box's <a
href="http://service.bfast.com/bfast/click?bfmid=2181&sourceid=39391960&isbn=0201734117">Essential
.NET</a>
* Remoting
<a href="http://www.dotnetremoting.cc/book/AdvancedDotNetRemoting.asp">Advanced .NET Remoting: Ingo Rammer</a>
* Threading
.NET Multithreading: Alan L. Dennis (ISBN 1-930110-54-5)
* Web Services
Web Services: Architecture and Implementation with .NET: Keith Ballinger
* ASP.NET
Essential ASP.NET with Examples in C# by Fritz Onion
ASP.NET in a Nutshell by G. Andrew Duthie & Matthew MacDonald
Programming ASP.NET by Jessy Liberty & Dan Hurtwitz
* Compiler Implementation
Compilers - Principles, Techniques, and Tools: Alfred V. Aho, Ravi Sethi,
Jeffrey D. Ullman
Advanced Compiler Design Implementation: Steven S. Muchnick
Modern Compiler Implementation in C: Andrew W. Appel
A Retargetable C Compiler - Design and Implementation: C. Fraser, David
Hanson
* Reference Manuals
<a
href="http://developer.intel.com/design/pentium/manuals/24319101.pdf">Intel
Architecture Software Developer's Manual, Volume 2 - Instruction Set Reference Manual</a>
<a
href="http://www.caldera.com/developers/devspecs/abi386-4.pdf">System V ABI
- i386 Architecture Processor Supplement</a>
<a
href="http://www.caldera.com/developers/devspecs/mipsabi.pdf">System V ABI -
MIPS Processor supplement</a>
<a href="http://www.sparc.org/standards/V8.pdf">The SPARC Architecture
Manual Version 8</a>
-76
View File
@@ -1,76 +0,0 @@
* Bug reporting
To report bugs you need to create a <a
href="http://bugzilla.ximian.com/createaccount.cgi">Bugzilla
Account</a>.
Here are some convenient shortcuts to browse or add bug reports.
<ul>
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&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&newqueryname=&form_name=query&order=bugs.priority%2C%20bugs.bug_id">[Query]</> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries">[Add]</a> Class Libraries
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FCompilers&component=IL+assembler&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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FCompilers&component=IL%20assembler">[Add]</a> IL Assembler.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FCompilers&component=C%23&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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FCompilers&component=C%23">[Add]</a> C# Compiler.
* <a href="http://bugzilla.ximian.com/buglist.cgi?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&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FRuntime">[Add]</a> Runtime
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FDoctools&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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FDoctools">[Add]</a> Documentation system.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=gtk%23&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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=gtk%23">[Add]</a> Gtk#
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web&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=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web">[Add]</a> ASP.NET WebForms
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web.Services&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=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web.Services">[Add]</a> ASP.NET Web Services
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FDebugger&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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FDebugger">[Add]</a> Debugger.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono+Develop&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono+Develop">[Add]</a> Mono Develop.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono+Tasks&product=Mono%2FClass+Libraries&product=Mono%2FCompilers&product=Mono%2FDebugger&product=Mono%2FDoctools&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&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> All core components.
</ul>
<a name="goodbugreport"/>
** How to make good bug reports
<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).
-209
View File
@@ -1,209 +0,0 @@
* MCS: The Ximian C# compiler
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.
* 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
you can get it from our <a href="anoncvs.html">Anonymous CVS</a> server,
or you can get nightly <a href="download.html">download page</a>.
** Running MCS
MCS is written in C# and uses heavily the .NET APIs. MCS runs
on Linux with the Mono runtime and on Windows with both the
.NET runtime and the Mono runtime.
** Reporting Bugs in MCS
When you report a bug, try to provide a small test case that would
show the error so we can include this as part of the Mono C# regression
test suite.
If the bug is an error or a warning that we do not flag, write
a sample program called `csXXXX.cs' where XXXX is the code number
that is used by the Microsoft C# compiler that illustrates the
problem. That way we can also do regression tests on the invalid
input.
** Phases of the compiler
The compiler has a number of phases:
<ul>
* Lexical analyzer: hand-coded lexical analyzer that
provides tokens to the parser.
* The Parser: the parser is implemented using Jay (A
Berkeley Yacc port to Java, that I ported to C#).
The parser does minimal work and syntax checking,
and only constructs a parsed tree.
Each language element gets its own class. The code
convention is to use an uppercase name for the
language element. So a C# class and its associated
information is kept in a "Class" class, a "struct"
in a "Struct" class and so on. Statements derive
from the "Statement" class, and Expressions from the
Expr class.
* Parent class resolution: before the actual code
generation, we need to resolve the parents and
interfaces for interface, classe and struct
definitions.
* Semantic analysis: since C# can not resolve in a
top-down pass what identifiers actually mean, we
have to postpone this decision until the above steps
are finished.
* Code generation: The code generation is done through
the System.Reflection.Emit API.
</ul>
** CIL Optimizations.
The compiler performs a number of simple optimizations on its input:
constant folding (this is required by the C# language spec) and
can perform dead code elimination.
Other more interesting optimizations like hoisting are not possible
at this point since the compiler output at this point does not
generate an intermediate representation that is suitable to
perform basic block computation.
Adding an intermediate layer to enable the basic block
computation to the compiler should be a simple task, but we
are considering having a generic CIL optimizer. Since all the
information that is required to perform basic block-based
optimizations is available at the CIL level, we might just skip
this step altogether and have just a generic IL optimizer that
would perform hoisting on arbitrary CIL programs, not only
those produced by MCS.
If this tool is further expanded to perform constant folding
(not needed for our C# compiler, as it is already in there)
and dead code elimination, other compiler authors might be
able to use this generic CIL optimizer in their projects
reducing their time to develop a production compiler.
** History
MCS was able to parse itself on April 2001, MCS compiled itself
for the first time on December 28 2001. MCS became self hosting
on January 3rd, 2002.
The Mono Runtime and the Mono execution engine were able to make
our compiler self hosting on March 12, 2002.
** Questions and Answers
Q: Why not write a C# front-end for GCC?
A: I wanted to learn about C#, and this was an exercise in this
task. The resulting compiler is highly object-oriented, which has
lead to a very nice, easy to follow and simple implementation of
the compiler.
I found that the design of this compiler is very similar to
Guavac's implementation.
Targeting the CIL/MSIL byte codes would require to re-architecting
GCC, as GCC is mostly designed to be used for register machines.
The GCC Java engine that generates Java byte codes cheats: it does
not use the GCC backend; it has a special backend just for Java, so
you can not really generate Java bytecodes from the other languages
supported by GCC.
Q: If your C# compiler is written in C#, how do you plan on getting
this working on a non-Microsoft environment.
We will do this through an implementation of the CLI Virtual
Execution System for Unix (our JIT engine).
Our JIT engine is working for the purposes of using the compiler.
The supporting class libraries are being worked on to fully support
the compiler.
Q: Do you use Bison?
A: No, currently I am using Jay which is a port of Berkeley Yacc to
Java that I later ported to C#. This means that error recovery is
not as nice as I would like to, and for some reason error
productions are not being caught.
In the future I want to port one of the Bison/Java ports to C# for
the parser.
Q: Should someone work on a GCC front-end to C#?
A: I would love if someone does, and we would love to help anyone that
takes on that task, but we do not have the time or expertise to
build a C# compiler with the GCC engine. I find it a lot more fun
personally to work on C# on a C# compiler, which has an intrinsic
beauty.
We can provide help and assistance to anyone who would like to work
on this task.
Q: Should someone make a GCC backend that will generate CIL images?
A: I would love to see a backend to GCC that generates CIL images. It
would provide a ton of free compilers that would generate CIL
code. This is something that people would want to look into
anyways for Windows interoperation in the future.
Again, we would love to provide help and assistance to anyone
interested in working in such a project.
Q: What about making a front-end to GCC that takes CIL images and
generates native code?
A: I would love to see this, specially since GCC supports this same
feature for Java Byte Codes. You could use the metadata library
from Mono to read the byte codes (ie, this would be your
"front-end") and generate the trees that get passed to the
optimizer.
Ideally our implementation of the CLI will be available as a shared
library that could be linked with your application as its runtime
support.
Again, we would love to provide help and assistance to anyone
interested in working in such a project.
Q: But would this work around the GPL in the GCC compiler and allow
people to work on non-free front-ends?
A: People can already do this by targeting the JVM byte codes (there
are about 130 compilers for various languages that target the JVM).
Q: Why are you writing a JIT engine instead of a front-end to GCC?
A: The JIT engine and runtime engine will be able to execute CIL
executables generated on Windows.
You might also want to look at the <a href="faq.html#gcc">GCC</a>
section on the main FAQ
-366
View File
@@ -1,366 +0,0 @@
* CVS Access
Here we describe how one obtains commit access to the Mono CVS
repository and the responsibilities that come with that access
privilege.
These only apply to the Mono CVS repository, and not to the <a
href="http://forge.novell.com/modules/xfmod/community/?monocomm">Mono
Community</a> repositories at Novell Forge.
** What is CVS?
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.
** 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 are not a direct contributor to Mono,
but want to host your .NET or Mono-based project, you can use
<a href="forge.html">Novell Forge</a>.
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 <a href="mailto:[email protected]">miguel</a> the
id_rsa.pub file.
If you are using SSH version 1, run:
<pre>
ssh-keygen
</pre>
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
href="http://www.cygwin.com">http://www.cygwin.com</a>)
Unix users will probably have those tools installed already.
** Checking out the sources
To check out the sources for the first time from the
repository, use this command:
<pre>
export CVS_RSH=ssh
export [email protected]:/cvs/public
cvs -z3 co mcs mono
</pre>
** Updating your sources
Every day people will be making changes, to get your latest
updated sources, use:
<pre>
cvs -z3 update -Pd mcs mono
</pre>
Note: The '-z3' enables compression for the whole cvs action.
The '-Pd' makes the update operation (P)rune directories that
have been deleted and get new (d)irectories added to the
repository.
** Making patches
Usually you will want to make a patch to contribute, and let
other people review it before committing it. To obtain such a
"patch", you type:
<pre>
cd directory-you-want-to-diff
cvs -z3 diff -u > file.diff
mail [email protected] < file.diff
</pre>
** 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>
* Using SVN
This is a small tutorial for using SVN (subversion).
For a more complete tutorial on subversion, look at
<a href="http://svnbook.red-bean.com/">the svn book</a>
or <a href="http://subversion.tigris.org">the svn homepage</a>
** Generating a key
Follow the cvs instructions above.
** Checking out the sources
To checkout the sources for the first time use the command:
Note: You should be running 0.35.1 (latest) of svn before attempting
anything here.
<pre>
svn co svn+ssh://mono-cvs.ximian.com/svn/monodevelop/trunk/MonoDevelop
</pre>
If you have a different username on mono-cvs and the local computer
you can do the following:
<pre>
svn co svn+ssh://[email protected]/svn/monodevelop/trunk/MonoDevelop
</pre>
before checking out.
** Updating your sources
You can update your repository to the latest copy of MonoDevelop by
running the following command:
<pre>
svn up
</pre>
from inside your repository.
** Committing your work
Before you commit anything, you should first update to the latest
sources by following the updating directions. After you are up to date
you need to run a:
<pre>
svn add filename
</pre>
for every file that you have created. You can get a list of these files
by running:
<pre>
svn status
</pre>
After all the files are added, run:
<pre>
svn commit
</pre>
to commit your changes.
** For more information
Look at the MonoDevelop website (coming soon)
* Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
changes to the code base:
<ul>
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list receives
in patch form all the changes that are being made to the
CVS.
* <a href="mailto:[email protected]">
[email protected]</a>: This mailing list only
receives the CVS commit logs with a list of files
modified.
</ul>
We hope to offer LXR and Bonsai in the future as well.
To subscribe, send an email message to
[email protected] and in the body of the
message put `subscribe'.
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.
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.
-190
View File
@@ -1,190 +0,0 @@
* The Class Library
The Class Library should be compatible with Microsoft's .NET
implementation.
Please see the <a href="class-status.html">Class Status</a>
page for a status of who is working on which classes.
We will write as much code as possible in C#. We may need to
interface with code written in C to gain access to the
functionality of libraries like libart, Gtk+, and libc.
** Contributing
We welcome contributions to the the Class Library. To get
started, check the status page for information about which
APIs are being worked on, and how to get in touch with
individual maintainers.
If you want to work on a class, first check the <a
href="download.html">Classes Distribution</a> to see if it is
not implemented yet, if not, check the <a
href="class-status.html">Class Status</a> to see if someone is
already working on it, and maybe contact them.
If nobody is working on it, mail <a
href="mailto:[email protected]">[email protected]</a>
with the class you want to implement and CC <a
href="mailto:[email protected]">[email protected]</a>.
You can also track live the activities of the Mono CVS module
by subscribing to the <a
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a>
** Missing features
Our class libraries miss some features, for example, most classes
do not implement the serialization bits at all, it would be a good
contribution to add this to each class.
This is a simple task, but it needs to be done in a compatible way
with the Microsoft.NET classes: using the same arguments to serialize
and reincarnate data.
** Layout
The Class Library resides in the `mcs' module in the directoy
`class'.
Each directory in the directory represents the assembly where
the code belongs to, and inside each directory we divide the
code based on the namespace they implement.
There are two cases when we should consider portability: when
we are dealing with a couple of classes only that differ from
system to system (Consider System.Net and System.IO for Win32
and Unix). In those cases we will just place the files for
example on <t>corlib/System/System.IO/Unix-Console.cs</t> and
<t>corlib/System/System.IO/Win32-Console.cs</t>.
For classes that might differ more (for example, the
implementation of Windows.Forms), we might have different
directories altogether: <t>System.Windows.Forms/Win32</t>,
<t>System.Windows.Forms/Gtk+</t> and
<t>System.Windows.Forms/Cocoa</t>.
** Using existing components from GNOME.
Our current plan is to implement the GUI tools on top of
Gtk+. The only obstacle here is that applications from Windows
might expect to be able to pull the HWND property from the
widgets and use PInvoke to call Windows functions.
** Class Library and Win32 dependencies.
There are a few spots where the Win32 foundation is exposed to
the class library (for example, the HDC and HWND properties in
the GDI+). Casual inspection suggests that these can be
safely mapped to Gdk's GC and GdkWindow pointers without
breaking anything.
The only drawback is that support for PInvoke of Win32 code
won't be available. An alternate solution would be to use
portions of Wine, or even to use Wine as our toolkit.
*** Initial GDI+ and WinForms implementation
The initial implementation will use Gtk+ as the underlying
toolkit. Since GTK+ has already been ported to many windowing
systems other than X (including frame buffer, Win32, and BeOS)
its use should cover most applications for most users.
*** Database access
We will implement ADO.NET functionality by reusing <a
href="http://www.gnome-db.org">GNOME-DB</a>. This is an ideal
choice, since GNOME-DB was implemented precisely to provide an
ADO-like system for GNOME.
*** Component Integration
We will provide a new namespace to use GNOME specific features
as well as a namespace to host Bonobo interfaces and classes
in Mono.
** Licensing
The class library is being licensed under the terms of the
<a
href="http://www.opensource.org/licenses/mit-license.html">MIT
license.</a> This is the same license used by the X11 window
system.
** Class Library testing
We need to write regression tests that will verify
the correctness of the class library, compiler, and JIT
engine.
Please write your regression tests using <a
href="http://nunit.sourceforge.net">NUnit</a>
** Coding conventions
Please follow the conventions on the ECMA specification (On
the Annex Partition) for your coding your libraries.
Use 8 space tabs for writing your code (hopefully we can keep
this consistent). If you are modifying someone else's code, try
to keep the coding style similar.
For a rationale on 8 space tabs, read Linus Torvald's Coding
Style guidelines in the Linux kernel source for a rationale.
*** Missing implementation bits
If you implement a class and you are missing implementation bits,
please put in the code the word "TODO" and a description of what
is missing to be implemented.
*** Tagging buggy code
If there is a bug in your implementation tag the problem by using
the word "FIXME" in the code, together with a description of the
problem.
Do not use XXX or obscure descriptions, because otherwise people
will not be able to understand what you mean.
*** Tagging Lame specs
Sometimes the specification will be lame (consider Version.ToString (fieldCount)
where there is no way of knowing how many fields are available, making the API
not only stupid, but leading to unreliable code).
In those cases, use the keyword "LAMESPEC".
** Namespaces
We are using a number of namespaces in the class libraries for
private classes when we need them, you are encouraged to use these:
<pre>
Mono
.Languages // General Compiler classes
.CSharp // Specific C# parsing/tokenizing classes
.MonoBASIC // Specific VB.NET/MonoBASIC parsing/tokenizing classes
.Python // Specific Python parsing/tokenizing classes
.Runtime
.LateBind // General latebinding-support for MonoBASIC/Python
.MonoBASIC // Specific runtime classes for MonoBASIC programs
.Python // Specific runtime classes for Python programs
.Web
.UI
.Utils // Gaurav utility classes
</pre>
** FAQ
Frequently asked questions about the class library:
Q: I am writing a new class that overrides one of the system classes,
and I am getting a 1595 warning from the compiler. Should we use a
different namespace?
A: There is a quick solution to the problem, you can pass the command
line argument /nowarn:1595 and this will effectively let you use
your implementation of the code, while overriding the ones from the
system assemblies.
-44
View File
@@ -1,44 +0,0 @@
* Status of the various pieces of the class library
Classes in Mono are organized by the assembly that they belong to.
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>: Extra modules
<li><a href="http://www.go-mono.com/class-status-System.Xml.html">System.Xml</a>.
<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).
<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.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
Pick from the list of assemblies in the menu on the left to
view the current status of that assembly.
The tree shows items that are either missing or that have TODO
attributes associated with them.
You can use the checkboxes to show only missing or only TODO items.
Clicking on a name will take you to the <a href="http://msdn.microsoft.com/">MSDN documentation</a> for that item.
CTRL-Clicking will take you to the <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?cvsroot=Mono">mono CVS tree</a>.
-49
View File
@@ -1,49 +0,0 @@
* Class Library Documentation
** Summary
While using inline XML tags to document classes is certainly
convenient, properly verbose documentation quickly overwhelms
the code, making the source quite difficult to read. Furthermore,
multilingual documentation makes for significant additional text.
With these considerations in mind, Mono is using external XML files
for class 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 exist for managing, verifying, generating,
and updating class library documentation.
The documentation infrastructure is part of the `Monodoc'
module. Monodoc includes a graphical GUI browser and tools to
generate the initial stubbed XML document out of an assembly.
Download `monodoc' to start producing documentation for your
application.
For instructions, read the monodoc/README file.
** Documentation Tools
*** <a name="monodoc">MonoDoc</a>
The MonoDoc system offers both a GUI client as well as a <a
href="http://www.go-mono.com:8080">Web-based interface</a> to
the documentation.
The GUI edition uses <a
href="http://gtk-sharp.sf.net">Gtk#</a> and the Web edition
uses Mono's ASP.NET implementation.
<img src="images/Screenshot-Monodoc.png">
** Get Involved
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.
Monodoc today also supports a GUI-based collaborative editing
system. You can now edit the documentation from the browser
and upload your contributions directly to the Mono site.
-235
View File
@@ -1,235 +0,0 @@
* Compiling Mono
This document describes how to compile and install Mono from
its source code. If you are only interested in running Mono,
you might want to install Mono from packages, which have been
tested.
The core of Mono is split in two components:
<ul>
* C components (available in the mono package)
* C# components (available in the mcs package).
</ul>
Mono is also available in various forms:
<dl>
<dt>Officially <a href="download.html">released</a> packages.</dt>
<dd>
<p>This is the format of choice for people to use, since these
have been tested and are known to build and work.
</dd>
<dt><a href="daily">Daily</a> packages.</dt>
<dd>
<p>This is a service offered for people who want to try out the
daily changes. Baked daily.</dd>
<dt>CVS source code.</dt>
<dd>
<p>These are available to Mono <a href="ccvs.html">developers</a> and
also for enthusiasts through <a href="anoncvs.html">anonymous CVS</a>.
</dd>
<dt>CVS snapshots.</dt>
<dd>
<p>Available for curious developers which do not necessarily want to
install the CVS source. Baked daily.
</dd>
</dl>
* Compiling the code
There are a number of ways of compiling Mono
<ul>
<li>From the <a href="#scripts">scripts</A>
<LI><a href="#install">Manually</a> for the first time.
<li>Manually, <a href="#upgrade">while upgrading</a> to CVS
</ul>
(which is an easy way to get the latest CVS information)
<a name="scripts">
* Compiling with scripts
These scripts should be used for installing from packages, specially
on Windows, where dependencies have not always been installed.
There are scripts to help build mono for both Unix and Windows. Get
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
href="mono-build-w32.sh">mono-build-w32.sh</a> for Windows.
These scripts automate the installation of GLIB and pkgconfig
(building from source on Unix, and using binary packages
provided by the GIMP for Windows project on Windows.) To use
the script, follow these simple steps:
<ul>
* Save the script for your platform somewhere (e.g. /usr/local/bin)
* Make the script executable (i.e chmod 755 /usr/local/bin/mono-build.sh)
* Create a directory to hold the mono source, and the compiled binaries (e.g. mkdir ~/mono)
* Change to the new directory (i.e. cd ~/mono)
* run the script (i.e. /usr/local/bin/mono-build.sh)
</ul>
The script requires wget on either platform, and building the
software requires make, gcc, automake, autoconf, and libtool.
You should install these packages from your distribution or
with the cygwin installer. You should also take care of setting
the right environment variables as the PKG_CONFIG_FLAGS, etc.
The script will download required packages from
www.go-mono.com and do a cvs checkout of mono in the current
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
anonymous cvs;
set your CVSROOT environment variable before running the script to
select a particular cvs server.
<a name="install">
** Building the software manually
You will need to obtain the Mono dependencies first: <a
href="http://www.gtk.org">glib 2.x</a> and
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
*** Building From Packages
This applies to both the officially released packages, as well as the
daily tarball packages.
<ul>
Unpack the Mono runtime distribution:
<pre class="shell">
tar xzvf mono-X.XX.tar.gz
cd mono-X.XX</pre>
<p>
Then configure, compile and install:
<pre class="shell">
./configure --prefix=/usr/local
make
make install</pre>
This will give you a runtime, C# compiler and runtime
libraries.
If you want to recompile the runtime and the compiler,
follow these steps, first unpack the MCS package:
<pre class="shell">
tar xzvf mcs-X.XX.tar.gz</pre>
Then use the following command to compile and install:
<pre class="shell">
./configure --profile=atomic
make</pre>
You can change /usr/local to something else if you want.
</ul>
*** Building from CVS
To upgrade your Mono installation from CVS, it is very
important that you update your Mono and MCS modules from CVS
at the same time. Failure to do so might result in a
problematic installation as the runtime and the class
libraries will be out of sync.
Run the following commands to update your CVS tree (more
details in <a href="ccvs.html">Cvs and Mono</a> and the <A
href="anoncvs.html">AnonCVS and Mono</a> pages).
<pre>
(cd mono; cvs update -dP .)
(cd mcs; cvs update -dP .)
</pre>
Then you can run:
<pre>
(cd mono; make fullbuild)
</pre>
Now you can install the result:
<pre>
(cd mono; make install)
</pre>
Notice that following the above procedure does not require you
to manually install the software in the `mcs' directory, as
the relevant files will be copied by the `mono' makefiles.
* Software resources and notes
The required and additional software can be downloaded here:
* Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
* Cygwin and the GNU Make tools from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases.
* Precompiled GLIB 2.0 and pkg-config packages (and
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
* Download the Mono source code from the
<a href="download.html">packaged versions</a> or
the <a href="http://www.go-mono.com/snapshots">
nightly snapshots</a> or the <a href="anoncvs.html">
Anonymous CVS</a>. The nightly snapshots are done every
night at 10pm EST (Boston Time). The nightly snapshots are
not guaranteed to build, but most of the time they should.
</ul>
*** Notes on compiling GLIB 2.0 and pkg-config from source:
<ul>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update).
* Download, compile and install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a> from source.
(I had to change line 674 of
<nobr><tt>pkg-config-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre class="shell">
tar xzvf pkg-config-0.8.0.tar.gz
cd pkg-config-0.8.0
./configure --prefix=/usr
make
make install
</pre>
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
the binary package available at <a
href="http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip">
http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip</a>
* Download, compile and install the
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
glib 2.0</a> from source.
</ul>
-13
View File
@@ -1,13 +0,0 @@
* Contacting the Mono team.
You can contact the general forum of discussion by sending
e-mail to <a href="mailto:[email protected]">[email protected]</a>
You can contact me (Miguel de Icaza) by sending e-mail to <a
href="mailto:[email protected]">[email protected]</a>. My web
page is <a
href="http://primates.ximian.com/~miguel">http://primates.ximian.com/~miguel"</a>
You can also <a
href="http://www.ximian.com/about_us/contact/">reach Ximian.</a>
-275
View File
@@ -1,275 +0,0 @@
* Contributing to 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.
There are three different philosophical approaches to helping
the Mono project, the selfish way, the altruistic or the
educational way.
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
small duties in the project that need to be addressed.
You can see what needs to be done in the class libraries <a href="class-status.html">here</a>
* IRC Channel
Many developers get together on the <b>#mono</b> irc channel
on the <b>irc.gnome.org</b> server.
** To start contributing
As a programmer, you can contribute in three different scenarios to Mono:
<ul>
* If you only have Linux/Unix.
* If you only have Windows.
* If you have both Linux and Windows.
</ul>
You might also want to check our <a href="#setup">common
setups</a> section that describes some common setups that people
use while working on Mono.
*** Contributing to the class library, regression tests or the compiler
This only requires Windows currently.
To start developing classes or to contribute to the compiler,
you only need Windows and the .NET Framework 1.0 SDK. Please notice
that you do not need Visual Studio (although you can use it if
you want). The .NET Framework SDK requires some version of
Windows XP or Windows NT. If you are running Windows 98, 95
or Me, you could use instead the <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml">.NET Redist package</a>, but it
lacks the documentation browser and the ildasm program (C#, VB, JScript and IL
assembler are included).
You can get it <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>
If you are new to .NET, writing regression tests is a good way
of starting to contribute: it will help you get used to C# as
well as getting comfortable with the .NET APIs.
This helps because at this point you might be the best
qualified person to fix a problem found by the regression
test, or you might have a new class to implement in the .NET
world that only has a test suite.
To get started writing tests see the <a href="testing.html">Test Suite</a>
section. <a href="mono-contribution-howto.html">Here</a> there is a good All-In-One introduction to the art of writing tests.
*** Contributing to the runtime engine
This only requires Linux, currently some tasks are easier if you
have access to Windows as well.
Here are a few things you can do:
<ul>
* Port the runtime to other architectures.
* Port the runtime to other operating systems.
* Finish the IL code verifier in the runtime.
* Hack the JIT, improve the code generator, add new
pattern rules, improve the register allocator.
* Implement the debugging interfaaces
</ul>
** Bug reporting
If you find bugs in Mono, please make sure you enter a bug
report so we can keep track of problems in Mono.
To enter bug reports go to <a href="http://bugzilla.ximian.com">
http://bugzilla.ximian.com</a> and enter bug reports against
your favorite component (Mono, Runtime, C# compiler).
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>
Check our <a href="bugs.html">Bugs</a> that contains links to
easily add a bug report, or to query the existing bugs.
<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:
<ul>
* <b>Mono/doc and web site:</b> They need to be
packaged up in the official `distribution'
* Adding serialization support to all the classes.
We have many classes, but we have not implemented in
many cases the serialization and re-incarnation support in
them (this is pretty straight forward code, and simple,
but there is a lot to be done here).
</ul>
* Emacs support
Brad Merryl's C# mode for Emacs is available: <a
href="http://www.cybercom.net/~zbrad/DotNet/Emacs/">http://www.cybercom.net/~zbrad/DotNet/Emacs/</a>
* Books on C# and DotNet.
<ul>
* Dotnet Books (<a href="http://www.dotnetbooks.com">http://www.dotnetbooks.com</a>)
* Dotnet Resources (<a href="http://www.dotnetexperts.com/resources/">
http://www.dotnetexperts.com/resources</a>)
* O'Reilly C# Essentials (<a href="http://www.oreilly.com/catalog/csharpess/">
http://www.oreally.com/catalog/csharpess</a>)
* O'Really .NET Essentials (<a href="http://www.oreilly.com/catalog/dotnetfrmess/">
http://www.oreally.com/catalog/dotnetfrmess</a>)
</ul>
<a name="setup">
* Common Setups
People running both Linux and Windows while contributing to
Mono use a number of tricks to increase their productivity.
Scenarios:
<ul>
* <b>Linux host and Windows host</b>
The Windows file system is shared (right click on
your hard drive icon, and select sharing, allow this
to be shared).
The Windows machine has the required build tools
(cygwin, and the .NET framework). On the Windows
machine, you want to setup the ssh server (run the
ssh-host-config program to configure your ssh) and
run it (from a cygwin terminal, type: /usr/sbin/sshd).
From the Linux side, you want to mount the Windows
file system, using something like this:
<tt><pre>
mount -t smbfs -o uid=miguel,username="Miguel de Icaza" "//quack/c$" /mnt
</pre></tt>
In the above example, my Linux user name is
`miguel', and this will allow this user to have
read/write access to the share.
The host name is `quack', and the name of the share
is `c$' (that is the C: partition).
The file system is accessible on /mnt.
You can perform your cvs update and cvs commits from
the /mnt directory, and run Emacs or your favorite
Linux text editor on the Unix side in this way.
Then from another terminal, you can ssh into your
Windows box using ssh, like this: ssh "Miguel de Icaza@quack"
</ul>
* Special Note
If you have looked at Microsoft's implementation of .NET or
their shared source code, you may not be able to contribute
to Mono. Details will follow when we know more about this.
In general be careful when you are implementing free software
and you have access to proprietary code. We need to make sure
that we are not using someone else's copyrighted code
accidentally.
Please do not use the <b>ildasm</b> program to disassemble
proprietary code when you are planning to reimplement a class
for Mono. If you have done this, we might not be able to use
your code.
Please stick to published documentation for implementing any
classes.
-380
View File
@@ -1,380 +0,0 @@
* 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>
* All classes are present.
* Most classes have their unit tests. Some tests like <code>
SymmetricAlgorithmTest</code> are generated by external
tools.
</ul>
**** TODO
<ul>
* 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> for which
parts of the 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 and <b>minimally</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>
**** 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). Based on the
exceptions thrown, Authenticode(tm) support is done via COM.
</ul>
<hr>
** Assembly: System.Security
*** Namespace: <b>System.Security.Cryptography.Xml</b>
This namespace implements the <a href="http://www.w3.org/TR/xmldsig-core/">
XML Digital Signature</a> specification from
<a href="http://www.w3.org/">W3C</a>.
**** Status
<ul>
* All classes are present but some Transforms are only stubbed.
* We now have a fully managed C14N implementation.
* Most classes have their unit tests.
</ul>
**** TODO
<ul>
* Complete all Transform derived classes.
</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, MD4, ARCFOUR (required for SSL)
* Convertion helpers
</ul>
*** Namespace: Mono.Security.Protocol.*
<ul>
* Tls: An 100% managed TLS implementation from Carlos Guzman
Alvarez.
* Ntlm: NTLM authentication (used for HTTP and SQL Server).
</ul>
*** Namespace: Mono.Security.X509
<ul>
* X.509 structures (certificate, CRL...) building and decoding.
* PKCS#12 decoding.
</ul>
*** Namespace: Mono.Security.X509.Extensions
<ul>
* X.509 extensions (from public X.509 to private PKIX, Netsapce,
Microsoft, Entrust...).
</ul>
**** Status
<ul>
* 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,
MD4 is required for NTLM authentication ...).
</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.
*** Namespace: Microsoft.Web.Services.Security
**** Status
<ul>
* Most WSE 1.0 classes are implemented.
</ul>
**** TODO
<ul>
* Some classes from System.Security assembly need to be
duplicated (and somewhat fixed) in WSE for XMLDSIG.
* There are still missing classes and <b>many</b> missing
unit tests.
</ul>
*** Namespace: Microsoft.Web.Services.Timestamp
**** Status
<ul>
* This seems complete for WSE 1.0 but some new classes were
introduced in WSE 2.0.
</ul>
*** Namespace: Microsoft.Web.Services.Security.X509
**** Status
<ul>
* X509Certificate support is complete for both WSE 1.0 and 2.0.
</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>
*** Notes
<ul>
* Microsoft has <a href="http://microsoft.com/downloads/details.aspx?FamilyId=21FB9B9A-C5F6-4C95-87B7-FC7AB49B3EDD&displaylang=en">released</a>
a technical preview of WSE 2. <b>Note that WSDK (the technical
preview of WSE) had A LOT of changes before it's initial
release!</b>
</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 (or 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. It's
now possible to generate SSL certificates for web servers.
* <code>sn</code> is a clone of the <code>sn</code> to manage
strongnames. Current version can create, convert, sign and
verify strongnames signatures. Some configuration options
are still missing.
* <code>signcode</code> and <code>chktrust</code> for signing
and validating Authenticode(tm) signatures on assemblies (or
any PE file) are now working (signature and timestamps) but
some options aren't yet supported.
</ul>
Somewhat usable, somewhat incomplete:
<ul>
* <code>certview</code> is a certificate viewer for
<code>System.Windows.Forms</code> (right now only working on
Windows), while <code>gcertview</code> is the same viewer
implemented for GTK# (working on both Windows and Linux).
* <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>
* 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>
** References
<ul>
* RSA Laboratories' <a href="http://www.rsasecurity.com/rsalabs/faq/index.html">
Frequently Asked Questions</a> About Today's Cryptography, Version 4.1
* Public-Key Cryptography Standards (<a href="http://www.rsasecurity.com/rsalabs/pkcs/index.html">
PKCS</a>)
* National Institute of Standards and Technology - Federal
Information Processing Standards <a href="http://csrc.nist.gov/publications/fips/index.html">
NIST FIPS</a>
</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. <b><code>
monocov</code> does a great job at this! Now we just need to
complete the missing unit tests.</b>
* 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 tests) carefully - it's so fast to break an
algorithm ;-).
* Write some documentation on the cryptographic classes for
<b>monodoc</b>.
</ul>
<hr>
Last reviewed: February 2, 2004 (mono 0.30)
-190
View File
@@ -1,190 +0,0 @@
* Developer FAQ
** New classes
Q: Should we write classes which are not part of the .NET or ECMA specs?
A: Yes. The ECMA and .NET specifications are far from complete, and
to produce a complete platform we will need a number of other
classes and components.
Any new classes that are not part of .NET or ECMA should be
designed to be reusable on anyone's CLI implementation. So that
Windows developers can also use any new classes that we come up
with.
We have a few existing <a href="ideas.html">Ideas on missing
classes</a>
** Language Compatibility
Q: What is the magic that allow multiple languages to co-exist?
A: From Fergus Henderson:
<i><blockquote>
There are different levels of interoperability.
The ECMA spec defines different categories of
CLS (Common Language Specification) conformance.
There are also some useful categories that don't
correspond to any of the levels defined in the ECMA spec.
In increasing degree of difficulty, your language implementation
can
<ul>
* (a) just generate IL
* (b) be a CLS "consumer", which means that it can read in
meta-data describing component interfaces,
and that it provides a way to declare variables of
CLS-complaint types and to call CLS-complaint methods.
* (c) be a CLS "extender", which means that it can in addition
derive from CLS-compliant classes
and implement CLS-compliant interfaces
* (d) be able to produce components with *any* CLS-compliant
component interface.
</ul>
Supporting some of these may require extending your language. However,
you can get quite a lot of interoperability by just putting appropriate
functionality in your compiler, without extending your language.
For some things, e.g. ASP.NET, your language implementation also needs to be
able to
<ul>
* (e) consume CodeDom trees. CodeDom trees are an abstract
representation of programs in a form similar to a C# parse
tree, with embedded code snippets (unparsed strings).
Given a CodeDom tree, with the snippets in your language,
your language implementation needs to generate a (i) .NET
assembly and possibly also (ii) a source file in your language.
* (f) produce CodeDom trees. For some applications,
your language implementation also needs to be able to
round-trip from CodeDom -> your language -> CodeDom.
</ul>
and for some things it needs to
<ul>
* (g) generate *verifiable* IL
</ul>
So when you hear all the hype about how language XYZ is a
".NET language", make sure you ask which of these different
things are supported.
[For the record, Mercury currently supports (a). We're working on
(b) and (g), and on parts of (c) and (e). We're never going to do (f), I very
strongly doubt we'll ever do (d), and for (c) we might only ever support
implementing interfaces, not deriving from classes.]
</blockquote></i>
** PInvoke
Q: What are the two major initiatives to implement PInvoke?
A: Fergus Henderson answers:
<i><blockquote>
Many of the .NET APIs will need to be implemented using code that calls C/Unix
APIs, such as stat(). The standard way of interfacing with native code from
.NET code is to use "PInvoke". However, there is a difficulty: many of
these APIs are defined in terms of types such as C's `long' or `size_t'
or the Posix `struct stat' whose representation varies depending on the
platform (architecture/OS/C compiler). There's no *portable* way of
accessing those from .NET managed code.
So, there are a couple of different approaches.
One possibility is to access such routines by writing a wrapper, e.g. in C,
that provides the same functionality without using types with a system-dependent
representation. The wrapper can then be directly accessed from portable
.NET code. The .NET code remains both source- and binary-portable;
the wrapper code is source-portable, but needs to be compiled
seperately for each target platform. The drawback of this approach is
that you have to write a lot of cumbersome wrapper code.
Another possibility is to extend the .NET VM with support for an
additional custom attribute, e.g. "[PosixType]". The VM would then
represent types tagged with this attribute in the same way that the
underlying system represents those types. With this approach, no
wrapper code would be needed. A drawback of this approach is that it
pushes quite a bit of complexity into the VM; the VM would have to know
the native representation of all types annotated with this attribute.
Another drawback is that code using this extension might not work on
different VMs.
There have also been some other suggestions, but those are the two that
I think are the best.
</blockquote></i>
Q: What is the problem implementing PInvoke?
A: Again, from Fergus Henderson:
<i><blockquote>
There's no problem implementing PInvoke as specified in the ECMA
specs and/or MS documentation. It's just that PInvoke by itself
doesn't solve all of the problems; in particular it doesn't solve
the problem of C types whose representation is different on different
systems.
</blockquote></i>
** CVS use
Q: Why do we keep ChangeLogs and make the CVS commit messages be the
same? One could be generated from the other
A: There are a number of reasons for keeping ChangeLog files as well as
CVS commit files:
<ul>
* Offline programming: when people are traveling, CVS logs are
not available.
* Slow CVS access: Many people work over modem lines (very
typical for contributors in Europe, Asia, Latin America)
using CVS is slow and might not be available to you (cvs
server down, no anoncvs server available).
* ChangeLogs travel in a released tarball package, so it is
possible to study the rationale of changes even after a
project is long "released", or you only have the sources for
the code.
* ChangeLog are not metadata for each file, they are live
files that you can browse in the package that is being
distributed.
</ul>
Making the CVS commit message be the same as the ChangeLog has other
benefits:
<ul>
* You can track down with `cvs log' what things were changed,
and match those to meaningful reports on the intentions of
the commit.
* When reading the commits-list, you can get a glimpse of the
changes without having to diff out or cvs update your tree.
* You can read off-line the changes that are being made
(asyncrouns operation).
</ul>
This mechanism works very well for GNOME and other projects.
Q: Should I use any of the special RCS keywords like $Id: devel-faq,v 1.1 2001/07/31 21:13:05 miguel Exp $, $Author: miguel $,
$Date: 2001/07/31 21:13:05 $, or $Revision: 1.1 $?
A: Please avoid using those in the source code in the CVS. They
are not really useful, and they cause a lot of conflicts when
people have separate CVS trees.
It was a nightmare with the Linux kernel when two people had their
private CVS trees and were submitting patches to the core.
-255
View File
@@ -1,255 +0,0 @@
* Documentation
Although most of the concepts from Microsoft.NET can
be applied to the completed Mono platform, we do need to
have a complete set of free documentation written specifically
for Mono.
The documentation license we have chosen is the GNU Free
Documentation License (FDL), the standard for most documents
in the free software world.
We need documentation on a number of topics:
<ul>
* The development tools (compilers, assembler tools,
language reference, design time features): these
live in the `monodoc' CVS module.
* Frequently Asked Question compilations.
* HOWTO documents.
* 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
(The <a href="http://www.monohispano.org">Mono
Hispano</a> team has produced lots of <a
href="http://www.monohispano.org/tutoriales.php">tutorials
in spanish</a>
* A guide to Mono as compared to the Microsoft.NET
Framework SDK
</ul>
* 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 which have to contain &lt;term&gt; containers.
<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
matures, robust and complete class library documentation will
become increasingly important. As you write API documentation,
whether it is embedded in source files or in external Monodoc XML,
please keep the following in mind:
Plagarism, even if it's unintentional, is a Bad Thing(TM).
Microsoft's .NET Framework Class Library documentation is an
excellent resource for understanding the behavior and properties of
a type, and a lot of hard work went in to creating this (copyrighted)
resource. Please don't copy from Microsoft's reference when
documenting a type.
To avoid this, I (<a href="mailto:[email protected]">[email protected]</a>)
suggest that you read the complete Microsoft documentation for a type,
ponder it for a while, and write the Mono documentation in your own
words. While it's certainly okay to refer to the Microsoft
documentation to clarify your understanding of behavior or properties,
please don't open the Microsoft docs and refer to them for each member
you document.
There's a lot of domain expertise among the class library contributors;
let's put the same personal stamp on the class library documentation
that we have on the class libraries themselves.
-1189
View File
File diff suppressed because it is too large. Load diff
-51
View File
@@ -1,51 +0,0 @@
* Drawing
Mono provides two mechanism to draw. The first exposes the
Microsoft System.Drawing API and the second exposes the <a
href="http://www.cairographics.org">Cairo</a> API.
* System.Drawing
The System.Drawing implementation in Mono is designed to be
compatible with the Microsoft API. The imaging model is very
similar to the PDF 1.4 composition-based imaging model.
Our implementation is a C# wrapper around the GDI+ C API (also
called the <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlusReference.asp">"GDI+
Flat API"</a>).
This means that the C# code is the same for Windows and Unix
systems. The following graph explains the situation:
<center>
<img src="images/system-drawing.png">
</center>
In Windows Mono uses the GDI+ library that is included with
the operating system (<tt>GDIPLUS.DLL</tt>, while in Unix we
provide an implementation of this API in the
<tt>libgdiplus.so</tt> shared library. Our
<tt>libgdiplus.so</tt> has the same C Flat API as the
<tt>GDIPLUS.DLL</tt>. Our implementation uses Cairo to do
the heavy lifting.
The implementation of GDI+ lives in mcs/class/System.Drawing
in the gdiplus directory and requires <a
href="http://www.cairographics.org">Cairo</a> to be installed
to get the package built.
The C# code that implement System.Drawing is the same for
Windows and Unix builds.
Since this is an implementation of an existing Microsoft API
no architectural changes go here.
* Mono.Cairo
The Mono.Cairo.dll assembly exposes the Cairo API to managed
applications. The mapping is a pretty straightforward one,
and the programming model is very close to the C API.
This API is still unstable due to the nature of the underlying
API being used and will be revisited as Cairo evolves.
-305
View File
@@ -1,305 +0,0 @@
* 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.
Now, it is necessary to transfer control to Mono, and setup
the threading infrastructure, you do this like this:
<pre>
void *user_data = NULL;
mono_runtime_exec_managed_code (domain, main_thread_handler, user_data);
</pre>
Where your main_thread_handler can load your assembly and execute it:
<pre>
static void main_thread_handler (gpointer user_data)
{
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.
If you can not do this for any reasons, just remember that you
can not store pointers to Mono Objects on the stack, you can
store them safely in the heap, or in global variables though
* 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.
-1509
View File
File diff suppressed because it is too large. Load diff
-153
View File
@@ -1,153 +0,0 @@
* 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>Current stable version: 1.0</li>
<li>Current developement version: 1.5</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>
</ul>
** New features & enhancements in 1.5 version
<ul>
<li>Better fit to ADO.NET</li>
<li>New GDS implementation</li>
<li>Implicit transaction support</li>
<li>Array datatype support</li>
<li>Firebird services API support</li>
<li>Firebird events API support</li>
<li>Stored procedure calls using Sql Server style</li>
<li>Support for retrieve database schema information ( FbConnection.GetDbSchema )</li>
<li>Improved Commandbuilder implementation</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 = reader.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>
-72
View File
@@ -1,72 +0,0 @@
* Novell Forge
Novell Forge (<a
href="http://forge.novell.com/">http://forge.novell.com/</a>)
is a website managed by Novell to promote the development of
open source applications and solutions. Novell Forge features
communities, akin to foundries on SourceForge.net, which exist
for the purpose of facilitating collaboration and information
exchange about certain technologies or solutions. At Miguel's
request, we have created a Mono community on Novell Forge that
is administered by Miguel. This community, located at
http://forge.novell.com/modules/xfmod/community/?monocomm,
provides a resource for interaction and collaboration on Mono
and associated solutions. Each community has the ability to
provide forums, mailing lists, FAQs, news, documentation,
surveys, sample code, and links to related applications. The
Mono community has been created for anyone interested in Mono
to use, and the exact set of features offered at the community
is determined by Miguel.
Any individual or group that wishes to provide Mono-based solutions in
an open source fashion is encouraged to host their solution on the
Novell Forge website, free of charge. Once the project is hosted on
Novell Forge, you can send Miguel an e-mail requesting that your project
be associated with the Mono project. This promotes a symbiotic
relationship where the growth of Mono applications helps to improve
Mono, and the growth of Mono likewise helps to increase the visibility
and usefulness of your applications.
* Creating an Account
A Novell Forge account is required in order to create a project on
Novell Forge as well as for certain levels of participation within a
community like the Mono community. In order to create an account, do
the following:
<ul>
<li>Go to http://forge.novell.com/ and click on the "Register" link.
<li>You will be redirected to the Novell Login page. This one resource
is used by all of Novell's websites that require authentication, so if
you already have a Novell login you may use that login here. Otherwise,
simply create a login account.
<li>You will be redirected back to the Novell Forge page. Click on the
"create my Novell Forge account" link, near the top left of the page.
<li>A form should be filled in with the correct information for you.
If you like, choose an avatar and then submit the form.
<li>Confirm the creation of your account.
</ul>
You should be good to go at this point. Now, to create a project,
simply choose the "Start New Project" link from the left menu and follow
the steps.
Novell Forge offers a limited set of context-sensitive help links and a
full help section. If you have trouble, go to the help section at
http://forge.novell.com/modules/xfmod/help/about.php.
* Important Links:
Novell Forge - <a href="http://forge.novell.com/">http://forge.novell.com/</a>
Mono Community - <a href="http://forge.novell.com/modules/xfmod/community/?monocomm">http://forge.novell.com/modules/xfmod/community/?monocomm</a>
Novell Forge Help - <a href="http://forge.novell.com/modules/xfmod/help/about.php">http://forge.novell.com/modules/xfmod/help/about.php</a>
-7
View File
@@ -1,7 +0,0 @@
* The GCC front-end
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>.
-157
View File
@@ -1,157 +0,0 @@
* 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.html">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>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?
-39
View File
@@ -1,39 +0,0 @@
* Mono Hackers Hall Of Fame
Without the help, the skills and the time of many passionate developers outside of
the Ximian Mono team, Mono would not be where it is today.
Many of them do it for fun, some do it because they really want a nice CLR they
can hack on, some do it because they need a working solution to some development
issues and mono is the ideal tool for the job.
Some of them may start contributing because they want a mention in the
<b>Mono Hackers Hall Of Fame</b>! Whatever the cause, join us in a big<br>
<h1 align="center">Thank you!</h1>
* 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
Nick Drochak, who joined us in the first days of Mono and built the testing
infrastructure for the C# assemblies, fixed tons of bugs and even adventured
himself in the lands of the C runtime. His work is invaluable for keeping
Mono on the right track through the daily changes in the codebase.
-157
View File
@@ -1,157 +0,0 @@
* 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-306.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.html">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>
-71
View File
@@ -1,71 +0,0 @@
* Ideas
There are many pending classes that need to be implemented. Those have
the highest impact in the Mono project: the sooner they are done,
the sooner we can start using this platform to create new and
exciting applications.
That being said, if you are not very excited about working on class
libraries, here is a list of other related projects or tools that might
be useful to the Mono project.
Here are a few ideas of tools, classes and projects that you
could start. More are forthcoming.
<a name="runtime">
** Runtime
<a name="classes">
** Classes
<ul>
* Implement a JXTA protocol implementation:
<a href="http://www.jxta.org">http://www.jxta.org</a>
* Implement a Mail API, similar to Camel or JavaMail (Camel has
significant architecture features that are required on a real
mailer).
You can check the current C
<a href="http://cvs.gnome.org/bonsai/rview.cgi?dir=evolution%2Fcamel">
Camel implementation</a>.
Such an implementation could be used both with
Microsoft .NET and Mono.
* Interfacing to Multimedia systems. You might want
to look into the Quicktime API. I know <a
href="mailto:[email protected]">Vladimir</a> has
researched the problem before
</ul>
<a name="projects">
** Projects
This list of projects ideas is outdated
* 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!
* A naming space for Mono. An object naming space is
a very powerful tool. Bonobo implements a moniker
system that is more powerful than the original
moniker concept that was pioneered by COM/OLE in the
Microsoft world.
Our implementation builds on a concept, and we have
made it simpler, more powerful, more extensible and
a much better mechanism than the equivalent monikers
on Windows.
Implementing Mono monikers would benefit both
Windows users using .NET and Mono users on Unix and
Windows.
Here is <a
href="http://primates.ximian.com/~miguel/monikers.html">an
overview of the moniker system</a> in Bonobo.
</ul>
-611
View File
@@ -1,611 +0,0 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="index.rss"/>
<table>
<tr>
<td valign="top">
<a href="http://www.ximian.com">Ximian</a> announced the
launch of the Mono project, an effort to create an open source
implementation of the .NET Development Framework.
Mono includes: <a href="c-sharp.html">a compiler</a> for the
C# language, a <a href="runtime.html">runtime</a> for the
Common Language Infrastructure (also referred as the CLR) and a
set of <a href="class-library.html">class libraries</a>. The
runtime can be <a href="embedded-api.html">embedded</a> into your
application. It implements of both <a href="ado-net.html">ADO.NET</a>
and <a href="asp-net.html">ASP.NET</a>.
You can read our <a href="rationale.html">rationale</a> for
this project. If you have questions about the project, please
read our list of <a href="faq.html">Frequently Asked
Questions</a> or <a href="mailto:[email protected]">contact
us.</a> The project <a href="mono-roadmap.html">roadmap</a>.
You might also want to <a href="download.html">Download the
source</a> for our work so far. Grab a <a
href="snapshots">snapshot</a> of our current work, or <a
href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?hidenonreadable=1&f=u&logsort=date&sortby=file&hideattic=1&cvsroot=mono">browse
the sources</a>
You might want to <a
href="mailing-lists.html">subscribe</a> to our mono-list
and mono-announce-list. There is also a <a
href="http://www.gotmono.com/cgi-bin/yabb/YaBB.pl">forum</a> at <a
href="http://www.gotmono.com">GotMono</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>
</td>
<td>
<table border=1>
<tr>
<td colspan="3">
<b><center>Mono Status</center></b>
</td>
</tr>
<tr>
<td>
<b><a href="c-sharp.html">C# Compiler</a></b>
</td>
<td>
<b>Self hosting on Linux</b><br>
Self hosting on .NET.
</td>
</tr>
<tr>
<td>
<b>JIT</b>
</td>
<td>
Linux/x86 working.
</td>
</tr>
<tr>
<td>
<b>Interpreter</b>
</td>
<td>
Working:<br>
Linux/x86, Linux/PPC, S390, StrongARM, SPARC, HPPA, SPARC v9 <br>
</td>
</tr>
<tr>
<td><b><a href="asp-net.html">ASP.NET</a></b></td>
<td>Webforms and WebServices working<br></td>
</tr>
<tr>
<td>
<b><a href="class-status.html">Classes</a></b>
</td>
<td>
All assemblies compile.
</td>
</tr>
<tr>
<td>
RSS feed:
</td>
<td>
<a href="index.rss"><img src="images/xml.gif"></a>
</td>
</tr>
<tr>
<td>
<a href="screenshots.html">Screenshots</a>
</td>
</tr>
</table>
<table border=1>
<tr>
<td colspan="3">
<b><center>In the news</center></b>
</td>
</tr>
<tr>
<td>
<img src="images/2003osdirwinnerbadge.gif">
</td>
<td>
<a href="http://osdir.com/Article198.phtml">Dec 19th, 2003</a>: Editor's Choice Award.
</td>
</tr>
<tr>
<td>
<img src="images/netmagazine.png">
</td>
<td>
<a href="http://www.ftponline.com/wss/2003_TE/magazine/columns/trends">May 31st, 2003</a>: CLI integration.
</td>
</tr>
<tr>
<td>
<img src="images/infoworld.png">
</td>
<td>
<a href="http://www.infoworld.com/article/03/05/22/HNmono_1.html">May 22nd, 2003</a>: Mono 1.0 plans.
</td>
</tr>
<tr>
<td>
<img src="images/infoworld.png">
</td>
<td>
<a href="http://www.infoworld.com/article/03/03/14/11stratdev_1.html">Mar 14th, 2003</a>: Whither Mono?
</td>
</tr>
<tr>
<td>
<img src="images/b2.png">
</td>
<td>
<a href="http://www.infoworld.com/article/03/05/22/HNmono_1.html">Dec, 2002</a>: The Penguin takes flight.
</td>
</tr>
</table>
</td>
</tr>
</table>
@item Jan 18th, 2004: LDAP class libraries in Mono tutorial.
Sunil Kumar has written an <a
href="http://www.novell.com/coolsolutions/cooldev/features/a_net_cplus_ldap_library_cdev.html">introduction
to Novell.LDAP</a> class libraries, which are part of Mono.
@item Jan 13th, 2004: MonoDoc 0.9 released.
A new edition of MonoDoc, the Mono Documentation Browser, has been released, available in source form from:
<a href="archive/monodoc-0.9.tar.gz">archive/monodoc-0.9.tar.gz</a>
@item Jan 11th, 2004: Call for Stories
If you have a success story about using Mono or one of the Mono
components in any way, we want to hear about you. Please mail
your details to [email protected]
@item Jan 4th, 2004: Windows Installer for Mono 0.29
There is a <a href="archive/mono-0.29-win32-1.exe">Windows
Installer for Mono 0.29</a> available now.
@item Dec 21st: Mono on PowerPC Progress.
Paolo reports today that the Mono JIT on the PowerPC was able
to successfully run the Mono C# compiler to build its first
programs. This is by no means complete (exception handling is
missing, and Boehm GC seems to fail on MacOS X), this shows
the excellent progress Paolo has been making.
Zoltan has added support for modules to MCS (generation and
consumption).
@item Dec 10th: Mono Debugger 0.5 released
Martin Baulig has <a
href="http://primates.ximian.com/~martin/blog/archives/000231.html">released</a>
a new version of the Mono Debugger.
@item Dec 2nd: Mono 0.29 has been released
Check out the <a
href="http://www.go-mono.com/archive/mono-0.29.html">Release
notes</a> for details on Mono 0.29.
This release includes the PPC JIT engine running `Hello World'
and ASP.NET is considered feature-complete.
@item Nov 25th: Gtk# 0.14, System.DirectoryServices
Gtk# 0.14 has been released, and it is available from <a
href="http://gtk-sharp.sf.net">the Gtk# web site</a>.
Sunil has checked in the implementation of
System.DirectoryServices as well as the Novell.Directory.Ldap
code into Mono CVS.
@item Nov 14th: Gtk# 0.13 released.
Mike Kestner has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-November/016943.html">announced</a>
the release of the <a href="http://gtk-sharp.sf.net">Gtk#</a>
GUI toolkit for .NET and Mono.
@item Nov 13th: Managed LDAP binding for Mono and .NET
Sunil Kumar at Novell has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-November/016907.html">announced</a>
the availability of a fully managed implementation of LDAP for
Mono and the .NET Framework.
You can obtain the library from <a
href="http://forge.novell.com">Novell Forge's</a> <a
href="http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldapcsharp/CsharpLDAP">CSharpLDAP</a>
module.
@item Nov 4th: Mono Roadmap announced.
The <a href="mono-roadmap.html">Mono Roadmap</a> and <a
href="mono-hacking-roadmap.html">Mono Hackers Roadmap</a> have
been released.
@item Oct 28th: Mono Get Together at the PDC. GTK# 0.12 Released.
We will be getting together at the West Tower Lobby on Tuesday
28th at 6pm to talk about the Mono project. You have 24 hours to
notify all of your friends, open source buddies and free software
folks.
We will bring Mono t-shirts.
Mike Kestner released <a href="http://gtk-sharp.sourceforge.net">Gtk#</a> 0.12 today. GTK# source tar balls
and RPMs are available. A windows installer was contributed by Johannes Roith.
@item Oct 26th: Last Minute Mono BOF
The first in a series of undercover Mono BOFs at the PDC will take
place tonight at 7pm on the Academy meeting, in room 411. Come join us
to plot the evolution.
@item Oct 25th: GTK# 0.11+ Windows Installer available
Johannes created a Windows
Installer for GTK# 0.11+ and works
with Mono 0.28 for Windows.
@item Oct 21st: Mono Community at Novell Forge
Mono Developers that are looking for a public repository for
hosting their projects can now use <a
href="http://forge.novell.com">Novell Forge's</a> which hosts
a <a
href="http://forge.novell.com/modules/xfmod/community/?monocomm">Mono
Community</a>.
Novell Forge offers mailing lists, cvs repository, bug
tracking and mailing list services and all the other services
you expect. Mono will continue to be hosted in our own CVS
repository, and using our <a href="anoncvs.html">anonymous CVS
servers</a>
@item Oct 13th: SPARC V9, HPPA, Internationalization, GdiPlus
Dick Porter has checked in our rewrite of the international
substrate in Mono that uses the <a
href="http://oss.software.ibm.com/icu/">International
Components for Unicode</a> library from IBM. This means that
we got CultureInfo support through the whole code base now.
Alexandre Pigolkine has checked-in the new implementation of
System.Drawing. We have now dropped the old implementation
with multiple-backends that we had, and replaced it with an
implementation that P/Invokes into GDI+. A GDI+
implementation on top of <a
href="http://www.cairographics.org">Cairo</a> is used on Unix
systems. This step vastly simplifies the development and
maintenance of System.Drawing.
There are plenty of updates to Mono as well, we encourage you
to read the <a
href="http://www.go-mono.com/monologue">Monologue</a> to keep
an eye on recent developments.
Bernie Solomon just <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-October/002460.html">checked
in</a> 64-bit support for SPARC v9 and HPPA into the Mono
runtime. This also improves the SPARC-32 support.
@item Oct 6th: Linux s390 Mono packages available.
Neale Ferguson has contributed Mono packages for the
Linux/s390. You can get them from the <a
href="download.html">download</a> page.
@item Oct 5th: Monologue aggregates Mono Blogs
You can now read an aggregated view of the <a
href="blogs.html">blogs</a> maintained by Mono developers in
<a href="http://www.go-mono.com/monologue">Monologue</a>.
Monologue is available as an HTML page or as an <a
href="monologue/index.rss">RSS feed</a>.
@item Oct 2nd: Windows packages, MonoDoc 0.7
Windows packages for Mono 0.28 are now available from our <a
href="download.html">download</a> page.
A new version of MonoDoc has been released. The new version
is available <a href="archive/monodoc-0.7.tar.gz">here</a>
@item Oct 1st: Mono 0.28 has been released.
Check out the <a
href="http://www.go-mono.com/archive/mono-0.28.html">Release
notes</a> for details on Mono 0.28. This release marks the
completion of the SourceGear project to add web services
functionality to Mono and improve its reliability.
@item Sep 30th: Mono Kick Start book available
The Mono Kick Start book is now <a
href="http://www.amazon.com/exec/obidos/tg/detail/-/0672325799/qid=1064937318/sr=8-1/ref=sr_8_1/103-9624440-8714218?v=glance&s=books&n=507846">available</a>
in English. Originally available only in <a
href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">German</a>.
The book technical review was done by <a
href="http://www.maurer-it.com/">Dietmar Maurer</a> JIT
architect at the Mono team.
@item Sep 26th, 2003: DiaCanvas# 0.1 released, Gtk# 0.11 released.
Mike Kestner has <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2003-September/002475.html">released</a>
a new version of <a href="http://gtk-sharp.sf.net">Gtk#</a>.
Martin has also
<a href="http://mwh.sysrq.dk/programs/announcements/diacanvas-sharp-0.1.0.html">released</a>
his binding to <a href="http://diacanvas.sf.net">DiaCanvas</a> for C#.
@item Sep 16th, 2003: WineLib, Authenticode, Generics, Xslt updates, Wsdl compiler, WSE.
<b>WineLib:</b> Vladimir has added new libraries to the Wine
process, which we will soon bring into our packages: the
various Windows common dialogs can now be used (screenshots:
<a href="images/colordlg.png">here</a>, <a
href="images/fontdlg.png">here</a>, <a
href="images/filedlg.png">here</a> and <a
href="images/finddlg.png">here</a>.
Johannes has patches to have Wine track the Gtk theme,
screenshot here (link got broken).
<b>Security:</b> New authenticode support from Sebastien has
been checked into CVS.
<b>Xslt:</b> Plenty of conformance updates to the managed
implementation of Xslt, as well as breaking the libxslt speed
barrier. Our managed implementation is now faster than the
C-based libxslt that we used before.
<b>Generics:</b> Work continues on generics support, feel free
to try it out. The compiler is currently on a separate
directory until we stability it (gmcs) and you need to compile
the class libraries with the `generics' profile to try it
out. Sample generic programs are included in the CVS module.
<b>Wsdl:</b> We now have Wsdl support in Mono: a wsdl compiler
command line tool, and support on ASP.NET to generate the wsdl
file from an .asmx file.
<b>AOT:</b> Many robustness updates to the ahead-of-time
compiler and a new locking and threading system that avoids
having "big locks" around the mono kernel, and moves to a
fine-grained locking system. The design includes a lattice to
avoid deadlocks.
<b>Dogfooding:</b> We are now running Mono's ASP.NET on
go-mono.com to find problems. It is currently hosting our
Monodoc documentation. The <a
href="http://www.go-mono.com/docs/index.html">Apache module
version</a> and the <a href="http://www.go-mono.com:8080/">XSP
version</a>.
<b>WSE:</b> The Web Services Enhancements season has begun.
The Microsoft.Web.Services namespace and classes are now
checked into CVS.
@item Sep 1st, 2003: Ice for Mono; XmlSerializer generators; Monodoc progress.
<b>Ice:</b> Vladimir has checked into CVS (Module ginzu) an
implementation of <a href="http://www.zeroc.com">ZeroC's</a>
<a href="http://www.zeroc.com/ice.html">ICE</a> protocol. It
is implemented using Remoting. If you were looking for an
efficient binary protocol to use with Remoting, this is it.
ICE is simpler to use than CORBA, and was created by people
who were deeply involved in CORBA and wanted to fix its
problems (you can see a <a
href="http://www.zeroc.com/iceVsCorba.html">list of
differences</a>).
<b>XmlSerializer</b>: Lluis has checked in a new technology
for use in our XmlSerializer: the XmlSerializer code
generator. Currently our XmlSerializer generates a
description of instructions for serializing data, these
instructions are later interpreted while using it: Reflection
is used to pull all the data. The code generator is the first
step into turning the Serializer from an intepreter into a
compiler and improving the performance of it.
Currently was used internally to implement the WSDL
serializer, in the future it will just be part of the standard
serialization process.
<b>MonoDoc:</b> New providers! Thanks to <a
href="http://www.jaggersoft.com/">Jon Jagger</a> for providing
us with his master XML files for the C# specification we now
have integrated the C# spec into Monodoc. Another provider is
the Error provider: now we include all the C# compiler errors
in the help system.
Alp has contributed various user interface improvement, and
updated our list widget for key navigation; Ben made the
matches window more useful and Joshua has helped us clean up
the ECMA provider even more.
@item Aug 14th, 2003: Mono 0.26 has been released
A new version of Mono is available, the new features include:
<a href="http://www.cairographics.org/">Cairo support</a>, <a
href="http://remoting-corba.sf.net">Remoting.Corba</a>
support, as well as a managed XSLT implementation.
Existing features have been improved vastly: better
Windows.Forms, runtime, faster compiler, web services, better
compliance to the spec and more.
Check out the <a
href="http://www.go-mono.com/archive/mono-0.26.html">Release
notes</a> for details.
@item Aug 9th, 2003: Python for .NET Preview 2 available; Mono Documentation site up.
Brian Lloyd has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-August/015313.html">announced</a>
the availability of his Python binding to .NET. This works
with .NET and Mono. For more information about it, see
Brian's site at <a href="
http://zope.org/Members/Brian/PythonNet/">http://zope.org/Members/Brian/PythonNet/</a>
We have uploaded the current Mono Documentation (core
libraries and Gtk#) to <a
href="http://mono.ximian.com:8080"/>http://mono.ximian.com:8080</a>.
The site is running the ASP.NET edition of <a
href="archive/monodoc-0.6.tar.gz">MonoDoc 0.6</a> on XSP.
@item Aug 6th, 2003: Winforms samples
Timothy Parez is coordinating the effort to create sample
programs that exercise the various Windows.Forms controls. We
are using this as graphical regression test suite for the Mono
implementation.
The screenshots of the various widgets, together with the
source code is available on the <a
href="http://www.nullenvoid.com/mono/wiki/index.php/WineSamples">WineSamples</a>
page on the <a
href="http://www.nullenvoid.com/mono/wiki/">Mono Wiki</a>.
A new cvs module called `winforms' has been created that
contains the source code for the samples. To run the samples,
you can install the WineLib packages available from our <a
href="download.html">download page</a>.
@item Aug 5th, 2003: New Apache Module architecture: 1.3 and 2.x supported
Gonzalo rearchitected our Apache module for hosting Mono and
ASP.NET. The previous incarnation hosted a Mono runtime on
each Apache process, which lead to a slow setup for webforms.
The new setup uses a shared mono process for all the incoming
requests. Daniel later improved up the new architecture and
added dual support, so now in addition to Apache 2.x, we
support Apache 1.3 with the same codebase.
The new code is available on CVS, on module `mod_mono', and
now requires an XSP installation to be available.
@item Aug 4th, 2003: Ximian acquired by Novell.
Today <a href="http://www.novell.com">Novell</a> acquired <a
href="http://www.ximian.com">Ximian</a>. The press release is
available <a
href="http://www.ximian.com./about_us/press_center/press_releases/index.html?pr=novell">here</a>.
Mono and Gnome form an integral part of the Novell strategy.
@item Jul 30th, 2003: Remoting.CORBA, Managed XSLT.
Today Lluis announced that Mono CVS contains all the fixes to
run <a
href="http://remoting-corba.sourceforge.net/">Remoting.CORBA</a>:
both client and server channels work; We are interested in people
testing it with other ORBs.
Ben checked-in today his managed implementation of Xslt that
we mentioned on Jul 19th; This uncovered various limitations
on the XPath implementation, which Piers has swifly removed.
Monodoc, NUnit and our Corcompare work with it. Since this is
implementation is not completed yet, we still support the
libxslt-based version by default. For more details on how to
try the new XSLT implementation, see <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001681.html">Ben's
post</a>
@item Jul 27th, 2003: Wine packages and Daily Snapshots
MonoWine packages (used to run System.Windows.Forms) software
are now available from our (<a
href="download.html">download</a> page). You can track the
progress on our <a
href="http://www.nullenvoid.com/mono/wiki/index.php/WineSamples">Wiki
page.</a>
We're now building daily snapshots of Mono. They come in
three distinct flavors:
<ul>
* mono snapshot tarballs - These are 'release-style' tarballs and
contain everything necessary to setup a new
installation from scratch. This includes the Mono
runtime and all the assemblies we distribute.
* monocharge tarballs - These tarballs contain only
the assemblies built on that day.
* monolite tarballs - These tarballs contain a copy of
'corlib.dll', 'mcs.exe', 'System.dll', 'System.Xml.dll' and
'Mono.CSharp.Debugger.dll'. They can be used to
re-bootstrap an out-of-sync installation.
</ul>
The daily builds are availble here: <a href="http://go-mono.com/daily">http://go-mono.com/daily</a>
If you find that the builds are broken, please notify Duncan.
@item Jul 19th, 2003: Recent developments
Since Mono has matured, we have limited the news on the site
to major accomplishments that are finished, but this week, it
is worth devoting some time to talk about some of the
work-in-progress projects that are progressing.
Jackson has added support to the IL assembler for generics as
well as to the PEAPI library, and it has assembled its first
generic program. Support for handling images with generics
has been on our file format reader for a while, but the JIT
engine is still incomplete.
On the XSLT world, Atsushi and Ben continue to make big
improvements. Ben recently got the prototype managed XSLT
implementation to run its first stylesheet. Although
currently Mono uses libxslt to implement the System.Xml.Xsl
namespace, to have a fully .NET compliant implementation we
will need a managed version, and this is the beginning of it.
Lluis recently posted an update on the <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001550.html">state
of WSDL</a> in Mono. Now that the web services runtime is
ready, the WSDL compiler becomes more important as a
development tool.
Atsushi continues his work on the DTD validating reader in
System.Xml, as well as improving our XML Schema support.
@item Jul 14th, 2003: New build system; IPV6 support.
Peter Williams has contributed a new build system that
addresses many of the annoyance we had with our previous build
system. He has worked on this for a few weeks, and Gonzalo
helped test it and get it into CVS. We no longer have the
historical dual build system: make for Unix and nant for
Windows.
This system also offers the opportunity to compile our class
libraries with different profiles (.NET 1.0, .NET 1.1 and the
various ECMA subsets).
Peter explains the new build system <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001506.html">here</a>
Jerome's IPV6 code has been checked into CVS; With Peter's new
build system, we will be able to expose it (as part of the
NET_1_1 build).
<h2>Older News</h2>
Click <a href="oldnews.html">here</a> to see the olds news.
-66
View File
@@ -1,66 +0,0 @@
* 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.
You have to think of Java as various pieces: Java the
language and Java the virtual machine.
It is possible to compile Java to .NET, as shown by the
Microsoft J# compiler. We could then allow the migration of
Java applications to the Mono runtime.
** Native compiler
Although a native compiler can be built, and probably should be
built using an existing compiler, a short term solution is to
build a translator from Java class files to the ECMA CIL images.
This has the advantage that we can use an existing and tested
Java compiler to generate the code, and then we can use an automated
code compiler that compiles Java VM bytecodes to CIL bytecodes.
** The translator.
It would be interesting to write a semantic translator that
converts java byte codes into CIL opcodes. This is possible
because the Java byte codes are a subset of the CIL ones.
A semantic tree needs to be constructed (very much in the
spirit of what is done in mono_analize_stack in
<tt>mono/mono/jit/jit.c</tt>. Once such a semantic tree is
constructed, we could generate the equivalent Java code.
This has a number of interesting side effects: people can
continue to use their existing Java compilers to compile their
code, and a simple tool that converts their .class files into
a .NET assembly can be used.
** Libraries
We could translate the GNU Classpath libraries with the above
tools to provide the Java runtime required to host into the
Mono runtime. Some special treatment would be required for
core data types like integers, arrays and strings, and of
course reuse where possible existing classes from .NET to make
them compatible.
** JILC - Java to IL Compiler
This is an attempt to make the java bytecode available for the
.NET environment.
The project attempts to generate the IL code / bytecode from the
compiled java class files. It has reached the stage of code-generation.
The issues that needs to be addressed is the mapping of java objects
to the IL objects, eg: java.lang.String to System.String.
Gaurav Vaish and Abhaya Agarwal are currently leading this project.
The project is currently hosted at <a href="http://sourceforge.net/projects/jilc">SourceForge.Net</a>.
The official home page of the project is
<a href="http://jilc.sourceforge.net">http://jilc.sourceforge.net</a>.
-69
View File
@@ -1,69 +0,0 @@
* Debugging information
Compile your programs using the `-g' flag in MCS, that will all a special
resource containing debugging information to your executable.
To get stack traces with line number information, you need to run your
program like this:
<b>
mono --debug program.exe
</b>
Notice that the program will need to be compiled with the -g
flag and that running with --debug will slow down the execution.
* Debugging with GDB
If you use GDB to debug your mono process, you can use the function
print_method_from_ip(void *address) to obtain the name of a method
given an address.
For example:
<pre>
(gdb) where
#0 ves_icall_System_String_GetHashCode (me=0x80795d0) at string-icalls.c:861
#1 0x0817f490 in ?? ()
#2 0x0817f42a in ?? ()
#3 0x0817f266 in ?? ()
#4 0x0817f1a5 in ?? ()
</pre>
You can now use:
<pre>
(gdb) p print_method_from_ip (0x0817f490)
IP 0x817f490 at offset 0x28 of method (wrapper managed-to-native) System.String:GetHashCode () (0x817f468 0x817f4a4)
$1 = void
(gdb) p print_method_from_ip (0x0817f42a)
IP 0x817f42a at offset 0x52 of method System.Collections.Hashtable:GetHash (object) (0x817f3d8 0x817f43b)
$2 = void
</pre>
* Mono Debugger
The Mono debugger is written in C# and can debug both managed
and unmanaged applications, support for multiple-threaded
applications and should be relatively easy to port to new
platforms.
Details of the release are available in <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/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).
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>
-162
View File
@@ -1,162 +0,0 @@
* Compilers for other languages
Here are some other free compilers for other languages that
target .NET and should work with Mono with no problem:
<ul>
* <a href="#ComponentPascal">Component Pascal</a>
* <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)
* <a href="#dotlist">dotLisp</a>
</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="#c">C</a>
</ul>
Some experimental languages:
<ul>
* <a href="#Tachy">Tachy</a> (scheme-like)
* <a href="#python">Python</a>
</ul>
<a name="Java"></a>
** 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
An implementation of Logo for Mono (and .NET)
The <A href="http://monologo.sf.net">Mono Logo</a> compiler is
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
This Oberon compiler is written in Oberon.NET (another self
hosting compiler).
The main site <a href="http://www.oberon.ethz.ch/oberon.net/">http://www.oberon.ethz.ch/oberon.net/</a>
Download:
<a href="http://www.oberon.ethz.ch/oberon.net/download/">http://www.oberon.ethz.ch/oberon.net/download/</a>
Examples:
<a href="http://www.oberon.ethz.ch/oberon.net/examples/">http://www.oberon.ethz.ch/oberon.net/examples/</a>
<a name="ComponentPascal">
** Component Pascal
The Component Pascal compiler: <a
href="http://www.citi.qut.edu.au/research/plas/projects/cp_files/cpnet.html">Home
Page</a>, you can <a
href="http://www.citi.qut.edu.au/research/plas/projects/cp_files/cpdownload.html">
download it</a>
<a name="Forth">
** Delta Forth
The Delta Forth.NET project: <a href="http://www.dataman.ro/dforth">Home
Page</a> and <a href="http://www.dataman.ro/dforth">more
details here</a>.
<a name="Tachy">
** Tachy
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
<a name="Python"></a>
** 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">here</a>.
<a name="dotlisp"></a>
** dotLisp
DotLisp is available from: <a
href="http://sourceforge.net/projects/dotlisp/">http://sourceforge.net/projects/dotlisp/</a>
<a name="JavaScript">
* Java Script
Cesar is working on Mono's implementation of JScript, the code
is available on CVS on module `mcs'.
* Missing languages
Here is a list of a few languages that we would like to see
supported. We will try to maintain a set of links here with
technical information for those interested in porting,
implementing or adapting a compiler for any of these
languages:
<a name="c">
* C
Ideally GCC could be modified to generate CIL, but it is a
big task. That would give us various compilers in one pass.
<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.
<a name="ada"></a>
* ADA
A# is an ADA compiler for the CIL platform, it can be downloaded from:
<a
href="http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html">http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html</a>
<a name="Java">
* Java
Java bytecode can run directly on Mono using the <a
href="http://www.ikvm.net">IKVM</a> java virtual machine for
.NET.
We have a <a href="java.html">separate page</a> for Java.
-271
View File
@@ -1,271 +0,0 @@
* Mailing Lists
Most of the mailing lists are in english, but there is also
Mono Hispano that has lists in Spanish. <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 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
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono-list</a></b>
</td>
<td>
The general Mono discussion list.
</td>
</tr>
<tr>
<td>
<b><a
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>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-gc-list">mono-gc-list</a></b>
</td>
<td>
Discussion on the GC system of Mono.
</td>
</tr>
<tr>
<td>
<b><a
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). <p>
You can get <a href="http://www.go-mono.com/snapshots">daily snapshots</a> as well.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">mono-cvs-list</a></b>
</td>
<td>
Track the CVS activity of Mono on this mailing list.
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a></b>
</td>
<td>
Discussion on the documentation of Mono.
</td>
</tr>
<tr>
<td>
<b><a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs</a></b>
</td>
<td>
This mailing list is used to keep track of the bugs in Mono as reported
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>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-vb">mono-vb</a></b>
</td>
<td>
Mono's implementation of Visual Basic.NET.
</td>
</tr>
</table>
Other mailing lists of interest:
<ul>
* <b><a
href="http://discuss.develop.com/dotnet.html">Dotnet mailing
list at Develop.com:</a></b> The guys at Develop Mentor run
this general purpose mailing list.
</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 -->
<center>
<table>
<tr>
<td><a href="http://www.google.com/search"><img src="images/Logo_40wht.gif" border="0" alt="Google" align="middle"></a></td>
<td>
<table>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face="arial,sans-serif" size="-1"><input type="hidden" name="domains" value="www.go-mono.com;lists.ximian.com"><br><input type="radio" name="sitesearch" value="www.go-mono.com"> Search www.go-mono.com <input type="radio" name="sitesearch" value="lists.ximian.com"> Search lists.ximian.com </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-announce-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>announce-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-bugs">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>bugs</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-gc-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>gc-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-cvs-list">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>cvs-list</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
<tr><td>
<FORM method=GET action=http://www.google.com/custom>
<TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
<tr valign=top>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=q size=31 maxlength=255 value="mono-patches">
<INPUT type=submit name=sa VALUE="Search">
<input type="hidden" name="cof" value="GIMP:#00ff00;T:#ffffff;LW:401;BIMG:http://www.go-mono.com/images/bgsquares.gif;ALC:#ffffff;L:http://www.go-mono.com/images/mono.gif;GFNT:#cc7700;LC:#ee9900;LH:80;BGC:#444444;AH:center;VLC:#cccccc;S:http://www.go-mono.com;GALT:#eeee00;AWFID:45753ce73241ef7a;">
<font face=arial,sans-serif size=-1><input type=hidden name=domains value="lists.ximian.com"><br> <input type=hidden name=sitesearch value="lists.ximian.com"> Search mono-<b>patches</b> </font><br>
</td></tr></TABLE>
</FORM>
</tr></td>
</table>
</tr>
</table>
</center>
<!-- /Google Search with mods -->
-54
View File
@@ -1,54 +0,0 @@
* 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.
-91
View File
@@ -1,91 +0,0 @@
<html>
<head>
<title>Mono 1.0 assemblies</title>
</head>
<body>
<h1>Assemblies</h1>
<pre>
Stable:
Commons.RelaxNG
Cscompmgd
Mono.Data
Mono.Data.Tds
Mono.Posix
Mono.Security
Mono.Security.Win32
System.Web
System.Configuration.Install
System.Data
System.Data.OracleClient
System.DirectoryServices
System
System.Drawing
System.Runtime.Remoting
System.Security
System.Web.Services
System.XML
Unstable:
Accessibility
Mono.Cairo
Mono.CSharp.Debugger
Mono.Data.DB2Client
Mono.Data.SqlLite
Mono.Data.SybaseClient
Mono.GetOptions
System.Web.Mobile
System.Design
System.Drawing.Design
System.Windows.Forms
Formatters.Soap
Mono.Data.TdsClient (older Sybase and MS SQL)
Missing:
System.EnterpriseServices
System.Management
System.Messaging
System.ServiceProcess
System.Web.RegularExpressions
Third party assemblies.
ByteFX.Data
Npgsql
PEAPI
SharpZipLib.
Java integration with IKVM.NET
</pre>
<h1>Languages</h1>
<pre>
Stable:
C#
Unstable:
VB.NET
Not ready:
JScript
</pre>
<h1>Virtual Machine</h1>
<pre>
JIT, 32 bits:
PPC
x86
Interpreter, 32 bits:
s390
HPPA
StrongARM
SPARC v8
Interpreter, 64 bits:
ia64
SPARC v9
</body>
</html>
-34
View File
@@ -1,34 +0,0 @@
* Mono for beginners
Hinne Hettema and Jaime Anguiano Olarra are providing us with
nice and complete set of documents (HOWTOs) about how to install,
configure, run and test the software developed by the Mono Project.
You can read them online, get PDF versions or get the XML sources.
HTML Format (read it online)
For <a href="mono-beginning/t1.html">RPM Linux based systems</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>
XML Source
For <a href="mono-beginning.xml">RPM Linux based systems</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
very useful for the hackers that would like to get in touch with
Mono and Jaime is working out a Mono Beginning HOWTO for Debian
users.
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
-201
View File
@@ -1,201 +0,0 @@
#!/bin/bash
# Script to automate the building of mono and its dependencies on
# cygwin. Relies on wget being installed (could make it fall back to
# using lynx, links, w3, curl etc), assumes that gcc, make, tar,
# automake, etc are already installed too (may be worth testing for
# all that right at the top and bailing out if missing/too old/too new
# etc).
# See where we are. This will become the top level directory for the
# installation, unless we are given an alternative location
here=$1
test -z "$here" && here=`pwd`
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
export CVSROOT
echo "Updating mono"
# cvs checkout does the same as cvs update, except that it copes with
# new modules being added
# Older versions of cvs insist on a cvs login for :pserver: methods
# Make sure cvs is using ssh for :ext: methods
if [ ${CVSROOT:0:5} = ":ext:" ]; then
CVS_RSH=ssh
export CVS_RSH
elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
if ! grep $CVSROOT ~/.cvspass > /dev/null 2>&1 ; then
echo "Logging into CVS server. Anonymous CVS password is probably empty"
cvs login || exit -1
fi
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
# This causes libgc-not-found problem
#
## 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}
#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.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
# should mean that any automake new enough for us has it.
# This sets ACLOCAL_FLAGS to point to the freshly installed pkgconfig
# if it doesnt already exist on the system (otherwise auto* breaks if
# 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). 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, 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
fi
done
return 1
}
function install_icuconfig() {
if [ ! -f $here/install/bin/icu-config ]; then
wget http://www.go-mono.com/archive/icu-config
mv icu-config $here/install/bin
chmod 755 $here/install/bin/icu-config
fi
}
function install_package() {
zipfile=$1
markerfile=$2
name=$3
echo "Installing $name..."
if [ ! -f $here/$zipfile ]; then
wget http://www.go-mono.com/archive/$zipfile
fi
# Assume that the package is installed correctly if the marker
# file is there
if [ ! -f $here/install/$markerfile ]; then
(cd $here/install || exit -1; unzip -o $here/$zipfile || exit -1) || exit -1
fi
}
# 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
# This causes libgc-not-found problem
#
## 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
# Grab pkg-config, glib etc
if [ ! -d $here/install ]; then
mkdir $here/install || exit -1
fi
# Fetch and install pkg-config, glib, iconv, intl
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 libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
install_package libgc-dev.zip lib/gc.dll gc-dev
install_package icu-2.6.1-Win32_msvc7.zip icu/bin/icuuc26.dll icu
install_icuconfig
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
export CFLAGS="-I $here/install/include -I $here/install/icu/include"
export LDFLAGS="-L$here/install/lib -L$here/install/icu/lib"
export PATH="$here/install/icu/bin:$PATH"
# Make sure we build native w32, not cygwin
#CC="gcc -mno-cygwin"
#export CC
# --prefix is used to set the class library dir in mono, and it needs
# to be in windows-native form. It also needs to have '\' turned into
# '/' to avoid quoting issues during the build.
prefix=`cygpath -w $here/install | sed -e 's@\\\\@/@g'`
# Build and install mono
echo "Building and installing mono"
(cd $here/mono; ./autogen.sh --prefix=$prefix || exit -1; make || exit -1; make install || exit -1) || exit -1
echo ""
echo ""
echo "All done."
echo "Add $here/install/bin and $here/install/lib to \$PATH"
echo "Don't forget to copy the class libraries to $here/install/lib"
-254
View File
@@ -1,254 +0,0 @@
#! /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
# lynx, links, w3, curl etc), assumes that gcc, make, tar, automake,
# etc are already installed too (may be worth testing for all that
# right at the top and bailing out if missing/too old/too new etc).
# See where we are. This will become the top level directory for the
# installation, unless we are given an alternative location
here=$1
test -z "$here" && here=`pwd`
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
# attempt to be clever and see if glib 2 is already installed, too.
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
# should mean that any automake new enough for us has it.
function aclocal_scan () {
# Quietly ignore the rogue '-I' and other aclocal flags that
# aren't actually directories...
for i in `aclocal --print-ac-dir` $ACLOCAL_FLAGS
do
if [ -f $i/$1 ]; then
return 0
fi
done
return 1
}
function pkgconfig_scan () {
module=$1
echo "Finding pkgconfig files for $module..."
# Should we use locate? or just a list of well-known directories?
# locate has the problem of false positives in src dirs
for i in /usr/lib/pkgconfig /usr/local/lib/pkgconfig
do
echo "Looking in $i..."
if [ -f $i/${module}.pc ]; then
echo $i
return
fi
done
}
function install_package() {
tarfile=$1
dirname=$2
name=$3
configure_options=$4
echo "Installing $name..."
if [ ! -f $here/$tarfile ]; then
(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
(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"
exit -1
fi
fi
}
if aclocal_scan pkg.m4 ; then
install_pkgconfig=no
else
install_pkgconfig=yes
fi
if aclocal_scan glib-2.0.m4 ; then
install_glib=no
if [ $install_pkgconfig = "yes" ]; then
# We have to tell the newly-installed pkgconfig about the
# system-installed glib
PKG_CONFIG_PATH=`pkgconfig_scan glib-2.0`:$PKG_CONFIG_PATH
fi
else
install_glib=yes
PKG_CONFIG_PATH="$here/install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
if [ -f /usr/include/gc/gc.h ]; then
install_libgc=no
else
install_libgc=yes
fi
if [ $install_pkgconfig = "yes" -o $install_glib = "yes" ]; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
fi
export PATH
export LD_LIBRARY_PATH
export ACLOCAL_FLAGS
export PKG_CONFIG_PATH
# 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, glib and libgc if necessary
if [ $install_pkgconfig = "yes" ]; then
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
else
echo "Not installing pkgconfig, you already seem to have it installed"
fi
if [ $install_glib = "yes" ]; then
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
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.1alpha5/include/* $here/install/include/gc
else
echo "Not installing libgc, you already seem to have it installed"
fi
# End of build dependencies, now get the latest mono checkout and build that
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
export CVSROOT
echo "Updating mono"
# cvs checkout does the same as cvs update, except that it copes with
# new modules being added
# Older versions of cvs insist on a cvs login for :pserver: methods
# Make sure cvs is using ssh for :ext: methods
if [ ${CVSROOT:0:5} = ":ext:" ]; then
CVS_RSH=ssh
export CVS_RSH
elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
# Chop off the trailing /mono because cvs 1.11 adds the port number
# into the .cvspass line
if ! grep ${CVSROOT%:/mono} ~/.cvspass > /dev/null 2>&1 ; then
echo "Logging into CVS server. Anonymous CVS password is probably empty"
cvs login
fi
fi
(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
echo ""
echo ""
echo "All done."
echo "Add $here/install/bin to \$PATH"
echo "Add $here/install/lib to \$LD_LIBRARY_PATH"
echo "Don't forget to copy the class libraries to $here/install/lib"
-551
View File
@@ -1,551 +0,0 @@
<Mono newbie coders start file>
<h1> A little help for mono newbie coders </h1>
For those who are new to Mono and are impatient to contribute
with code (uhh... you are brave!!) here is the document you
should read.
You will see all Mono hackers say the same (great minds have
similar way of thinking): First, DO WRITE TESTS!!!. In order
to do that:
<ul>
* Start with the NUnit Tests Guidelines. In the cvs
they are located at: mcs/class/doc/NUnitGuideli...
* But wait, this is a document for impatient
people. So EVERYTHING should be here. Well, it is.
</ul>
<h2> The NUnit Tests Guidelines document </h2>
Mono NUnit Test Guidelines and Best Practices
Authors: Nick Drochak <[email protected]>
Martin Baulig <[email protected]>
Last Update: 2002-03-02
Rev: 0.3
<b> Purpose </b>
This document captures all the good ideas people have had
about writing NUnit tests for the mono project. This document
will be useful for anyone who writes or maintains unit tests.
<b> Other resources </b>
- mcs/class/README has an explanation of the build process and
how it relates to the tests.
- http://nunit.sourceforge.net is the place to find out about
NUnit
<b> Getting Started </b>
If you are new to writing NUnit tests, there is a template
you may use to help get started. The file is:
mcs/class/doc/TemplateTest.cs
(2.- This is the point two!. This file is just after the end
of the guidelines. Copy/paste it in another buffer. And keep
reading.)
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.
(3.- You reached the third point. And as expected, it's just
here to tell you that the content of CollectionBaseTest.cs is
after the TemplateTest.cs code at the end of these
guidelines.)
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each assembly.
In each assembly there is a Test directory, e.g.
mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly, e.g.
mcs/class/corlib/Test/Sytem. Put your new test file in the
appropriate sub-directory under Test for the class you are
testing.
Once your test class is complete, you need to add it to the
AllTests.cs file in the same directory as your new test. Add a
call to "suite.AddTest()" passing the name of your new test
class's suite property as the parameter. You will see examples
in the AllTests.cs file, so just copy and paste inside there.
Once all of that is done, you can do a 'make test' from the top
mcs directory. Your test class will be automagically included
in the build and the tests will be run along with all the
others.
<b> Tips </b>
<b> Provide an unique error message for Assert() </b>
Include an unique message for each Assert() so that when the
assert fails, it is trivial to locate the failing one.
Otherwise, it may be difficult to determine which part of the
test is failing. A good way to ensure unique messages is to use
something like #A01, #A02 etc.
Bad:
<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>
Good:
<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.
<b> Use AssertEquals() to compare things, not Assert(). </b>
Never compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Bad:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Good:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
<b> Constructors </b>
When writing your testcase, please make sure to provide a
constructor which takes no arguments:
<pre>
public class DateTimeTest : TestCase
{
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
public DateTimeTest (string name): base(name) {}
public static ITest Suite
{
get {
TestSuite suite = new TestSuite ();
return suite;
}
}
}
</pre>
<b> Namespace </b>
Please keep the namespace within each test directory
consistent - all tests which are referenced in the same
AllTests.cs must be in the same namespace. Of course you can
use subnamespaces as you like - especially for subdirectories
of your testsuite.
For instance, if your AllTests.cs is in namespace "MonoTests"
and you have a subdirectory called "System", you can put all
the tests in that dir into namespace "MonoTests.System".
<b> Test your test with the microsoft runtime </b>
If possible, try to run your testsuite with the Microsoft
runtime on Windows and make sure all tests in it pass. This is
especially important if you're writing a totally new testcase
- without this check you can never be sure that your testcase
contains no bugs ....
Don't worry if you're writing your test on Linux, other people
can test it for you on Windows.
Sometimes you may discover that a test doesn't show the
expected result when run with the Microsoft runtime - either
because there is a bug in their runtime or something is
misleading or wrong in their documentation. In this case,
please put a detailed description of the problem to
mcs/class/doc/API-notes and do also report it to the list -
we'll forward this to the Microsoft people from time to time
to help them fix their documentation and runtime.
<pre>
-------------------- TemplateTest.cs begins ----------
// this is a template for making NUnit tests. Text enclosed
// in square brackets (and the brackets themselves) should be
// replaced by appropiate code.
// [File Name].cs - NUnit Test Cases for [explain here]
//
// [Author Name] ([Author email Address])
//
// (C) [Copyright holder]
//
// these are the standard namespaces you will need. You may
// need to add more depending on your tests.
using NUnit.Framework;
using System;
// all test namespaces start with "MonoTests." Append the
// Namespace that contains the class you are testing, e.g.
// MonoTests.System.Collections
namespace MonoTests.[Namespace]
{
// the class name should end with "Test" and start with the name
// of the class you are testing, e.g. CollectionBaseTest
public class [Class to be tested]Test : TestCase {
// there should be two constructors for your class. The first
// one (without parameters) should set the name to something
// unique.
// Of course the name of the method is the same as the name of
// the class
public [Constructor]() : base ("[Namespace.Class]") {}
public [Constructor](string name) : base(name) {}
// this method is run before each Test* method is called. You
// can put variable initialization, etc. here that is common to
// each test.
// Just leave the method empty if you don't need to use it.
protected override void SetUp() {}
// this method is run after each Test* method is called. You
// can put clean-up code, etc. here. Whatever needs to be done
// after each test. Just leave the method empty if you don't need
// to use it.
protected override void TearDown() {}
// this property is required. You need change the parameter for
// typeof() below to be your class.
public static ITest Suite {
get {
return new TestSuite(typeof([Classname here]));
}
}
// this is just one of probably many test methods in your test
// class. each test method must start with "Test". All methods
// in your class which start with "Test" will be automagically
// called by the NUnit framework.
public void Test[Something] {
// inside here you will exercise your class and then
// call Assert()
}
}
---------------------- TemplateTest.cs ends --------------
---------------------- CollectionBaseTest.cs begins ------
//
// System.Collections.CollectionBase
// Test suite for System.Collections.CollectionBase
//
// Author:
// Nick D. Drochak II
//
// (C) 2001 Nick D. Drochak II
//
using System;
using System.Collections;
using NUnit.Framework;
namespace MonoTests.System.Collections
{
public class CollectionBaseTest : TestCase
{
public CollectionBaseTest () : base
("System.Collection.CollectionBase testsuite")
{}
public CollectionBaseTest (String name) : base (name)
{}
// We need a concrete class to test the abstract base
// class
public class ConcreteCollection : CollectionBase
{
// These fields are used as markers to test
// the On* hooks.
public bool onClearFired;
public bool onClearCompleteFired;
public bool onInsertFired;
public int onInsertIndex;
public bool onInsertCompleteFired;
public int onInsertCompleteIndex;
public bool onRemoveFired;
public int onRemoveIndex;
public bool onRemoveCompleteFired;
public int onRemoveCompleteIndex;
public bool onSetFired;
public int onSetOldValue;
public int onSetNewValue;
public bool onSetCompleteFired;
public int onSetCompleteOldValue;
public int onSetCompleteNewValue;
// This constructor is used to test OnValid()
public ConcreteCollection()
{
IList listObj;
listObj = this;
listObj.Add(null);
}
// This constructor puts consecutive integers into the list
public ConcreteCollection(int i) {
IList listObj;
listObj = this;
int j;
for (j = 0; j< i; j++) {
listObj.Add(j);
}
}
// A helper method to look at a value in the
// list at a specific index
public int PeekAt(int index)
{
IList listObj;
listObj = this;
return (int) listObj[index];
}
// Mark the flag if this hook is fired
protected override void OnClear() {
this.onClearFired = true;
}
// Mark the flag if this hook is fired
protected override void OnClearComplete()
{
this.onClearCompleteFired = true;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsert(int index,
object value)
{
this.onInsertFired = true;
this.onInsertIndex = index;
}
// Mark the flag, and save the paramter if
// this hook is fired
protected override void OnInsertComplete(int index,
object value)
{
this.onInsertCompleteFired = true;
this.onInsertCompleteIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemove(int index,
object value)
{
this.onRemoveFired = true;
this.onRemoveIndex = index;
}
// Mark the flag, and save the paramter if this hook
// is fired
protected override void OnRemoveComplete(int index,
object value)
{
this.onRemoveCompleteFired = true;
this.onRemoveCompleteIndex = index;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSet(int index, object oldValue,
object newValue)
{
this.onSetFired = true;
this.onSetOldValue = (int) oldValue;
this.onSetNewValue = (int) newValue;
}
// Mark the flag, and save the paramters if this hook
// is fired
protected override void OnSetComplete(int index,
object oldValue,
object newValue)
{
this.onSetCompleteFired = true;
this.onSetCompleteOldValue = (int) oldValue;
this.onSetCompleteNewValue = (int) newValue;
}
} // public class ConcreteCollection
public static ITest Suite {
get {
return new TestSuite
(typeof(CollectionBaseTest));
}
}
// Check the count property
public void TestCount() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(4 == myCollection.Count);
}
// Make sure GetEnumerator returns an object
public void TestGetEnumerator() {
ConcreteCollection myCollection;
myCollection = new ConcreteCollection(4);
Assert(null != myCollection.GetEnumerator());
}
// OnValid disallows nulls
public void TestOnValid() {
ConcreteCollection myCollection;
try {
myCollection = new ConcreteCollection();
}
catch (ArgumentNullException) {
}
}
// Test various Insert paths
public void TestInsert() {
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// The constructor inserts
myCollection = new ConcreteCollection(numberOfItems);
Assert(myCollection.onInsertFired);
Assert(myCollection.onInsertCompleteFired);
// Using the IList interface, check inserts in the middle
IList listObj = myCollection;
listObj.Insert(1, 9);
Assert(myCollection.onInsertIndex == 1);
Assert(myCollection.onInsertCompleteIndex == 1);
Assert(myCollection.PeekAt(1) == 9);
}
// Test Clear and it's hooks
public void TestClear()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 1;
myCollection = new ConcreteCollection(numberOfItems);
myCollection.Clear();
Assert(myCollection.Count == 0);
Assert(myCollection.onClearFired);
Assert(myCollection.onClearCompleteFired);
}
// Test RemoveAt, other removes and the hooks
public void TestRemove()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
// Set up a test collection
myCollection = new ConcreteCollection(numberOfItems);
// The list is 0-based. So if we remove the second one
myCollection.RemoveAt(1);
// We should see the original third one in it's place
Assert(myCollection.PeekAt(1) == 2);
Assert(myCollection.onRemoveFired);
Assert(myCollection.onRemoveIndex == 1);
Assert(myCollection.onRemoveCompleteFired);
Assert(myCollection.onRemoveCompleteIndex == 1);
IList listObj = myCollection;
listObj.Remove(0);
// Confirm parameters are being passed to the hooks
Assert(myCollection.onRemoveIndex == 0);
Assert(myCollection.onRemoveCompleteIndex == 0);
}
// Test the random access feature
public void TestSet()
{
ConcreteCollection myCollection;
int numberOfItems;
numberOfItems = 3;
myCollection = new ConcreteCollection(numberOfItems);
IList listObj = myCollection;
listObj[0] = 99;
Assert((int) listObj[0] == 99);
Assert(myCollection.onSetFired);
Assert(myCollection.onSetCompleteFired);
Assert(myCollection.onSetOldValue == 0);
Assert(myCollection.onSetCompleteOldValue == 0);
Assert(myCollection.onSetNewValue == 99);
Assert(myCollection.onSetCompleteNewValue == 99);
}
}
}
----------------------- CollectionBaseTest.cs ends --------
</pre>
<ul>
* If you use Emacs, you might want to use the .emacs
file and the package developed by Brad Merrill
mailto:[email protected]. It will allow you to
highlight and indent in C# style in your Emacs
editor. (XEmacs will still work but it'll also
complain).
* CSharpDevelop is a GPLed IDE developed by IC#Code.
Search for it at sourceforge if you are interested
in it.
* For those who Java: "A comparison of Microsoft's
C# programming language to Sun Microsystem's Java
Programming language" by Dare Obasanjo is a really good
(very complete) text to read.
* Suggest this point and more, now I can't think of
anything more.
</ul>
Enjoy!!.
(c) 2002, <a href="mailto:[email protected]">Jaime Anguiano Olarra</a>.
The parts included in this document are property of their
respective authors.
Note: The identation of the source code has been changed a bit
so it could fit better in the website. Anyway, as nothing more
changed, the files should work as expected.
-271
View File
@@ -1,271 +0,0 @@
<html>
<head><title>Mono Hacking Roadmap</title>
<style type="text/css">
h1 {
color: #efefef;
font-size: 18pt;
font-family: "Trebuchet MS";
border: 0;
margin: 0;
padding: 1em;
background: #666666;
}
h2, h3, h4, h5, h6 {
font-family: Verdana,sans-serif;
font-weight: bold;
margin: 9pt;
}
h2, h3 {
font-size: 18px;
}
h2 {
padding: 3px;
color: #000000;
}
h3 {
font-size: 13px;
border-bottom: 2px solid #dddddd;
}
h4 {
border-bottom: 2px solid #dddddd;
}
body, table {
background-color: #ffffff;
font-family: Verdana, sans-serif; font-size: 12px;
color: black;
margin: 0;
padding: 0;
border: 0;
margin-left: 20%;
margin-right: 20%;
}
p {
margin-left: 2em;
margin-right: 2em;
}
ul li {
margin-left: 2em;
}
img {
border: 0;
vertical-align: top;
}
</style>
</head>
<body>
<center>
<h1>
Mono Hacking Roadmap
<br>
<font size=1>Miguel de Icaza (<a href="mailto:[email protected]">[email protected]</a>)</font>
</h1>
<p>
</center>
<h3>Introductory notes</h3>
<p>The intention of this document and the <a
href="http://www.go-mono.com/mono-roadmap.html">Mono
Roadmap</a> is to be a basis for discussion. I want to build
on these two documents, and update as we get more insight into
the release process and the technologies we want to ship.
<h3>Background</h3>
<p>At the 2003 PDC Microsoft introduced many new technologies,
which many of us are very excited about. To me, it underlined
the importance of having a roadmap for users of Mono
technologies. That way they know precisely what to expect
from us when. We have been working on Mono for more than two
years, and it is important that we release a stable product to
the public.
<p>We have various degrees of maturity and feature
completeness in our code base, and I do not believe that we
should aim to be full implementation .NET 1.0 or .NET 1.1 in
our 1.0 release, that would just push the release at least for
another year . The <a
href="http://www.go-mono.com/mono-roadmap.html">Mono
Roadmap</a> emphasizes this assumption.
<p>The 1.0 release is critical for the adoption of Mono on the
Linux environment, even if it is not as complete as the
Framework, lets get something stable, and fun to people to
use.
<h3>Mono 1.0: missing functionality.</h3>
<p>For the 1.0 release, there are a number of features that we
will have to complete, in no particular order:
<ul>
<li>We need to fix corcompare and our cor-compare
pages to support both 1.0 and 1.1 API API compares.
We might want to move this outside of the Mono site,
to reduce the complexity of the HTML hackage, and use
ASP.NET to implement this. Bonus points if we use
Piers' nice dynamic tree to load the CorCompare data
dynamically.
<li>Global Assembly Cache: Needed to support the
parallel installation of .NET 1.0 and 1.1 assemblies,
and to fix the various Assembly loading routines.
<li>PowerPC port.
<li>ECMA profile: We will like take care of this one
at Novell.
<li>Assembly signing: I do not know what is the state
of this feature currently in Mono, maybe Sebastien and
Zoltan could give us an update here.
<li>ASP.NET caching: Non-existant at this point, this
needs to be implemented.
<li>Stability of ASP.NET and Mod_Mono. They are both
functional, but they fail under load. Much debugging
and testing must go into these components. As we use
more of it, we have found more little problems surface
on it.
<li>Codebase audit: Duncan did an audit of Corlib, but
we must do an audit of all the assemblies that we we
are going to ship, just to get an idea of the major
areas missing.
</ul>
<p>The team at Novell will focus on these areas. We of course
welcomes the contribution of the rest of the Mono team and
encourage the developers to focus on 1.0, to have a solid
release, and a solid foundation that can lead to 1.2
<p>We will use Bugzilla milestones to track these issues.
<h3>Synchronized releases</h3>
<p>It would be great if we can ship Mono 1.0 with Gtk# 1.0 and
a preview of Monodoc with the early documentation.
<h3>Alpha components.</h3>
<p>Various Mono developers are working on areas that will not
make it into the 1.0 timeframe: JScript, WSE, VB.NET,
Windows.Forms, Generics. We should continue to work on
those components, as they will come shortly after, and they
are probably more fun to develop than stabilizing the core.
<h3>New components: Whidbey and Longhorn features</h3>
<p>Everyone is probably very excited about the new features in
the Whidbey release of .NET, and most importantly the Longhorn
features. I am sure that many of us will not resist the urge
to put some of the new assemblies on CVS.
<p>We will likely add a profile for those of you that want to
work on this, and can not wait to get your hands in the code,
although keep in mind that your contributions wont reach the
general audience until we successfully ship 1.0.
<p>The things to keep in mind while adding code which is not
in .NET 1.0 and .NET 1.1:
<ul>
<li>Make sure you surround new classes and methods
with the appropriate define: NET_1_2 for things
available on the .NET 1.2 SDK (Whidbey) and NET_3
define for things only available on the Longhorn API.
We need this so that these methods do not appear on
the 1.0 and 1.1 builds.
<li>If you add generic types or methods, also surround
the method with GENERICS for now, since our compiler
can not currently build this code yet. This is
redundant with the NET_1_2 define but important.
<li>For every assembly you update, make sure that you
also add the relevant AssemblyInfo versioning
information. If possible, when you add methods from
.NET 1.2 to the build, also update the AssemblyInfo.cs
for the library.
</ul>
<p>There are three areas of new hot features:
<ul>
<li>Class library improvements (Whidbey, Mono 1.2
time frames).
<li>Indigo: They will release this in 2005 or 2006 and
wont make it into the 2004 Whidbey .NET 1.2 release.
<li>Avalon: Definitely a Longhorn-bound feature.
</ul>
<p>Most code that will reach the users in the short time frame
(next year) will be related to the Whidbey improvements, so I
encourage developers to work on those pieces, as they are the
ones that will help Mono the most.
<h3>ASP.NET 2.0 plans</h3>
<p>Gonzalo will continue to coordinate this effort; At this
time ASP.NET 2.0 features will not make it into Mono 1.0.
<h3>Avalon plans</h3>
<p>On the surface Avalaon seems like it uses something like
GdiPlus/Cairo for rendering. That was my initial feeling, but
it turns out that they had to rewrite everything to have a
performing rendering engine, and implement some very advanced
rendering features that include compositing with video
streams, also their brushes seem to be fairly powerful.
<p>XAML, a new markup language that binds tags to .NET classes
was also presented, but this is the least interesting part. A
tiny compiler translates the XAML source files into C# code.
The whole process is just like Glade, and should be easy to
do.
<p>The really elaborate parts are the rendering engine, and the
composition model for widgets. It is a complete new toolkit,
and if we want to implement this one, we will have to have a
new toolkit on Unix, incompatible with everything else, maybe
stressing the importance of working with other open source
projects in defining a cross-toolkit theming strategy to
address this particular problem.
<p>A Mini-Avalon is easy to do, but a complete one will
require much interaction with other groups: the Cairo folks
are probably the most qualified to assist us.
<h3>Indigo Plans</h3>
<p>Indigo is still an early product (<a
href="http://msdn.microsoft.com/Longhorn/understanding/pillars/Indigo/default.aspx?pull=/library/en-us/dnlong/html/indigofaq1.asp">FAQ</a>),
but it could benefit from continued development of our WSE1
and WSE2 components, later to bring some of the code to it.
<p>Again, since people are visibly excited about this
technology, we will lay down in the next few days a framework
to contribute to it.
<p>
<i>Last Updated: Nov 1st, 2003</i>
</body>
</html>
-396
View File
@@ -1,396 +0,0 @@
<html>
<head><title>Mono Roadmap</title>
<style type="text/css">
h1 {
color: #efefef;
font-size: 18pt;
font-family: "Trebuchet MS";
border: 0;
margin: 0;
padding: 1em;
background: #666666;
}
h2, h3, h4, h5, h6 {
font-family: Verdana,sans-serif;
font-weight: bold;
margin: 9pt;
}
h2, h3 {
font-size: 18px;
}
h2 {
padding: 3px;
color: #000000;
}
h3 {
font-size: 13px;
border-bottom: 2px solid #dddddd;
}
h4 {
border-bottom: 2px solid #dddddd;
}
body, table {
background-color: #ffffff;
font-family: Verdana, sans-serif; font-size: 12px;
color: black;
margin: 0;
padding: 0;
border: 0;
margin-left: 20%;
margin-right: 20%;
}
p {
margin-left: 2em;
margin-right: 2em;
}
ul li {
margin-left: 2em;
}
img {
border: 0;
vertical-align: top;
}
</style>
</head>
<body>
<center>
<h1>
Mono Project Roadmap
<br>
<font size=1>Miguel de Icaza ([email protected])</font>
</h1>
<p>
</center>
<i>Last update: Jan 18th, 2004</i>
<h3>Introduction</h3>
<p>This document describes the high-level roadmap for <a
href="http://www.go-mono.com">Mono</a>.
<p>The Mono project started in 2001 as an effort to implement
the .NET Framework to Unix. To bring both the new programming
model based on the Common Language Infrastructure and C# as
well as helping people migrate their existing knowledge and
applications to Unix. Mono today supports a wide variety of
operating systems, CPUs and a large chunk of the functionality
available in the .NET Framework.
<p>At the October 2003 PDC conference a number of new
technologies were announced. From the Mono release schedule
perspective, we should think about these technologies from
their release time standpoint, and the features that must be
supported.
<p>This document outlines the roadmap for the Mono project
from my perspective: what we can effectively deliver on the
dates outlined. Since Mono is a large open source project,
things might change and new features can be incorporated
into the plan if external sources devote enough attention to
those problems.
<p>This is the timeline:
<p>
<center>
<img src="roadmap.png">
</center>
<h3>Background</h3>
<p>So far Microsoft has published two versions of the .NET
Framework: 1.0 and 1.1, the later with incremental updates to
the changes in 1.0
<p>The Mono project has been tracking some of the
improvements available in those two releases, some of the
highlights of our work so far are:
<ul>
<li> Core: mscorlib, System, System.Security and
System.XML assemblies.
<li> ADO.NET: System.Data and various other database
providers.
<li> ASP.NET: WebForms and Web Services are
supported. Work on WSE1/WSE2 has also started.
<li> Compilers: C#, VB.NET and various command line tools
that are part of the SDK.
<li> Open Source, Unix and Gnome specific libraries.
</ul>
<p>Other components like Windows.Forms, Directory.Services,
Enterprise Services and JScript are being developed but are not
as mature as the other components but are under development by
various people.
<p>Some other smaller and less used components do not have yet
a Mono equivalent (System.Management, System.Drawing.Design).
<h3>Mono release strategy</h3>
<p>The levels of maturity of Mono fluctuate depending on the
development effort we have put into it, and the use we have
given to them. For example, the virtual machine and the C#
compiler very mature, while less commonly used functionality
in Mono like Windows.Forms or VB.NET are still under heavy
development.
<p>Our strategy is to release the mature components as Mono
1.0, and have upcoming versions of Mono add extra
functionality.
<h3>Mono 1.0 goals</h3>
<p>The Mono 1.0 release would include the following
components:
<ul>
<li>C# compiler.
<li>VM, with JIT and pre-compiler.
<li>IL assembler, disassembler.
<li>Development and security tools.
<li>Core libraries: mscorlib, System, System.XML.
<li>System.Data and Mono database providers.
<li>System.Web: Web applications platform and Apache
integration module.
<li>System.Web.Services: client and server support.
<li>System.Drawing.
<li>System.DirectoryServices
<li>JIT support: x86 and PPC architectures
(interpreter available for other architectures).
<li>ECMA profiles: special build options to build
Mono as an implementation of the various ECMA profiles
will be available.
<li>Java integration through IKVM.
<li>Embedding interface for the runtime.
</ul>
<p>Packaging:
<ul>
<li>mono: will contain the above features implementing
the .NET 1.1 API.
<li>mono-1.0-compat: Will include a build of the
libraries with the .NET 1.0 API, this is a
compatibility build for people running .NET 1.0
applications.
<li>mono-unstable: Will contain a snapshot of the
other technologies under development for developer's
convenience, but will be unsupported at this time.
These include the Generics edition of the C#
compiler.
<li>mono-ecma: A build that only includes the ECMA
components.
</ul>
<p>Release target: Q2/2004.
<p>Bug fix releases would be done on a monthly basis.
<p>For a detailed list, see the <a
href="mono-1.0.html">mono-1.0 feature list.</a>
<h3>Microsoft's Whidbey</h3>
<p>To understand post 1.0 editions of Mono, it is important to
put it into perspective with the Microsoft Whidbey product, to
be released in 2004.
<p>The new features in the Whidbey release of the .NET Framework
include:
<ul>
<li><b>Generic types</b><br>
These introduce changes to the compiler, runtime and
class libraries.
<li><b>ASP.NET 2</b><br>
Many tools to simplify web application development:
Master pages, new controls for common operations,
personalization and themes.
<li><b>Remoting</b><br>
New security channels and version-resistant remoting
(good news in the interop department).
<li><b>XML</b><br>
XQuery debuts on this release as well as an improved
XmlDocument system based on XPath: XPathDocument.
<li><b>Networking</b><br>
FTP client, Ssl streams.
<li><b>Console and Serial ports:</b></br>
Console terminal input/output is available as well as
serial port handling.
<li><b>Windows.Forms</b><br>
Layout containers finally appeared on Windows.Forms as
well as various new controls.
<li><b>ObjectSpaces</b><br>
An API for simpler data-base access.
</ul>
<h3>Mono 1.2</h3>
<p>The Mono team is developing in parallel some features that
wont make it to the 1.0 release in stable form. These will be
the foundation for the 1.2 release. The focus of this release
is to track the core API for the .NET Framework 1.2, but
again, only a subset of the total framework will be
available.
<p>Mostly, Mono 1.2 consists of components that were not
stable enough for Mono 1.0, but that would be mature at this
point, plus the incorporation of some new features from
Whidbey. In addition to the Mono 1.0 components, this release
will add:
<ul>
<li>Generic types support: C# compiler, execution
system and core class libraries.
<li>ASP.NET 2.0 improvements.
<li>Remoting improvements from Whidbey.
<li>System.XML: simpler improvements from Whidbey,
lacking the large additions (XQuery for example).
<li>Console and Serial ports support.
<li>New compilers: VB.NET and JScript support.
<li>WSE1/WSE2 implementations.
<li>System.Windows.Forms officially debuts with .NET
1.0 API; 1.2 API available as an unstable addition.
</ul>
<p>This release will by default provide .NET 1.2 APIs, but
compatibility libraries for 1.0 and 1.1 will be distributed in
the mono-compat package. The unstable components of Mono will
be distributed on the `mono-unstable' package, the libraries
in this release will be unsupported.
<p>Release target: Q4/2004.
<h3>Mono 1.4</h3>
<p>A refresh update on the Mono 1.2 release containing the
missing components from the previous release and complete any
under performing pieces. Updates to System.Xml, ASP.NET and
Windows.Forms to match the .NET 1.2 API.
<p>Release target: Q2/2005.
<h3>Peer projects</h3>
<p>Other projects like the debugger, the documentation
browser, Java integration through IKVM and Gtk# will remain on
their own schedules. This page will be updated to contain
that information when it becomes available.
<h3>Unscheduled activities</h3>
<p>A missing component of Mono is the Code Access Security
(CAS). This functionality is not needed in today's Mono as
currently Mono is being used to run fully trusted
applications, and we are not using it on embedded scenarios
where assemblies would have different trust levels.
<p>This is an important component, but requires three major
pieces of work:
<ul>
<li>Runtime support for implementing the security
demands.
<li>A guidelines document outlining what and where
must have security demands in place.
<li>A full audit of our class libraries: method by
method
</ul>
<p>All of these are major pieces of work, and we currently
have no plans to implement any of those. A volunteer effort might be
able to help with the runtime requirements and the document,
but until those are done, we are unlikely to start doing any
work on the actual class library audit and instrumentation.
<h3>Mono and WinFX: 2006</h3>
<p>WinFX is the name given to the new set of libraries that
makes up .NET in the Longhorn operating system: the existing
.NET set of class libraries, plus the new functionality
available in the OS.
<p>WinFX adds things like storage facilities (WinFS), a
new versatile communications stack (Indigo) and a new
eye-candy packed GUI programming system (Avalon).
<p>Although WinFS, Avalon and Indigo are very exciting
components, at this time it is too early to tell when those
components will be available for Mono. Open source developers
will very likely start work on these, but since they are still
far from being officially released, they are not in the radar
at this point.
<h3>Unsupported technologies</h3>
<p>Some technologies are very hard to implement or are being
phased out by components in the Longhorn time frame. In some
cases, we feel that they are not crucial to the future of the
open source desktop.
<p>System.EnterpriseServices and System.Management come to
mind, and we are unlikely to put any resources into the task.
We would gladly host the code if someone cares to implement
it, but they would likely remain unsupported features of Mono.
<h3>Mono Developer Strategy</h3>
<p>Mono Developers should read the <a
href="mono-hacking-roadmap.html">Mono Hacking Roadmap</a>
<h3>Comments</h3>
<p>Feel free to send your comments or questions the roadmap to
<a href="mailto:[email protected]">[email protected]</a>
<p>
<i>Last Updated: Nov 1st, 2003</i>
-295
View File
@@ -1,295 +0,0 @@
* Mono hacking TODO list
From time to time people that want to contribute to Mono ask
on the mailing list what they can help with. The generic
answer is always:
<ul>
<li> Write documentation.
<li> Write regression tests.
<li> Complete the implementations of the class libraries.
<li> Help fix the bugs filed in our bugzilla database.
</ul>
The proposed tasks are very important for the Mono project and
are suitable for people that can dedicate even just an hour
per week to contribute. But some people may need something
more focused to work on, such as students that want to do a
thesis on their contribution to Mono. For such people (and
also for professors who want ideas for thesis regarding JIT or
VM technologies), here is a list of tasks that need attention.
The estimated time to complete any of the tasks is between 1
week to several months to accomodate for different hacking
possibilities.
Note on the time estimates: they are very rough estimates, a
smart and dedicated hacker can complete the tasks in half of
the minimum time, a part-time hacker that also has a social
life can take more than double the max time, but there's
nothing to worry as long as progress is being done.
If some people (or group of people) want to take on a task,
they should write to the mono-devel mailing list and in the
relative bugzilla bug report. Discussions about how to
implement a feature or additional information on the task
should be mailed to the list or in the bugzilla report as well
so that people can keep informed on the progress or have the
information needed to start contributing.
Mono is an excellent platform for research on JITs, virtual
machines and specifically the CLR because it provides an
advanced free software implementation that can be used as a
basis for more optimizations, new approaches to problems and
new features.
There are different areas of interest where high-level
contributions can be made:
<ul>
* <b>JIT compiler</b>: tasks can be: adding more optimizations, reducing
compile time, porting to different architectures.
* <b>AOT compiler</b>: optimizing the compiler output and the AOT loader,
better support for multiple application domains.
* <b>VM runtime</b>: optimizing the runtime data structures, experimenting with
different garbage collectors, integration with different component models.
* <b>Class library</b>: many opportunities in the implementation of regular
expressions, Xml related technologies (XPath, XLST, etc).
* <b>Compilers</b>: writing compilers, interpreters and runtimes for langauges
so that they run on the CLR (using Reflection.Emit support, for example).
</ul>
Happy hacking!
<table border=1 cellspacing="0" cellpadding="0">
<tr>
<th>Area<th>Description<th>Difficulty<th>Time estimate<th>Bugzilla ID
</tr>
<tr>
<td>Runtime (mono/metadata)
<td>Optimize method vtable. Currently all the methods in a class
are added to the method vtable, including static and non-virtual methods.
This makes vtables bigger and the instructions to access them are longer,
increasing also code size. Some code in metadata/icall.c and maybe also some
remoting code may depend on the current layout: such code should be fixed as well.
<td>Medium
<td>1-2 weeks
<td>not assigned
</tr>
<tr>
<td>System assembly (mcs/class/System/)
<td>Implement the IL-based regular expression engine. Instead of
intepreting the regular expression pattern, a method is created at runtime using
Reflection.Emit. This makes for faster pattern matching because there is no
intepreter overhead and the matching code is jitted to fast native code.
Bonus points if the compiled regular expression is compatible with the ones generated
by the MS runtime.
<td>Medium-hard (thesis subject)
<td>2-4 months
<td><a href="http://bugzilla.ximian.com/show_bug.cgi?id=52605">52605</a>
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement common subexpression elimination.
Global and local common subexpression elimination needs to be implemented
to achieve better performance. The local case is easier and may take just one month.
It should be implemented in the context of the SSA framework (mini/ssa.c).
<td>Hard (thesis subject)
<td>2-4 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Optimize AOT compiler output.
Currently the code generated by the AOT compiler may be significantly slower than
jitted code. This is mostly because the AOT code supports multiple application domains
and some values that are constant at JIT-time are not constant at AOT-time. It may be
needed to write a simple dynamic linker and/or binary object writer. Bonus poinst if
it supports ELF, PE/COFF and mach-O binary formats. A possible idea for improvements
is also the use of appdomain ID-indexed tables to get at the appdomain specific data.
<td>Medium-hard (thesis subject)
<td>3-6 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement generics support.
We need to add support for the additional instructions and change existing ones to
support the generics requirements.
<td>Medium-hard
<td>2-3 months
<td>lupus and Martin
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Port the JIT to additional architectures.
Currently ports are in the works for mips, arm, sparc, s390. None of the ports
are as feature-complete as the x86 one, yet, so help is needed in getting them
up to speed. Ports to more architectures are welcome as well.
<td>Medium-hard
<td>3-6 months per arch
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Add support for COM and/or XPCOM and/or ORBit.
We need a way to seamlessy use existing component technologies inside the mono runtime.
The COM support needs to match the MS runtime behaviour and is targeted at windows systems.
XPCOM and ORBit support are important on Unix platforms. Bonus points for developing
the runtime support so that different component systems can be used at the same time.
<td>Medium-hard (thesis subject)
<td>3-4 months for each
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for Code Access Security.
Support needs to be added to the JIT and the runtime to ensure
code that executes privileged operations is permitted to do so.
The task includes loading the security information from metadata,
collecting evidence, inserting calls to the permission objects,
stack walking to collect security info.
<td>Medium-hard (thesis subject)
<td>4-5 months
<td><a href="http://bugzilla.ximian.com/show_bug.cgi?id=52606">52606</a>
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for a generational GC.
We're currently using a conservative non-moving GC.
Support for a generational and moving GC requires changes to the JIT
(to record locations in frames as well as registers that may contain
pointers to GC-allocated memory) and to the runtime code (when
objects are manipulated directly we should make sure they are pinned
and reachable by the GC also in the C unmanaged code). Code from an existing
precise GC such as the ORP one could be reused or a new GC may be developed
(increasing the estimated development time).
<td>Hard (thesis subject)
<td>6-8 months
<td>not assigned
</tr>
<tr>
<td>Compilers for dynamic languages
<td>Write a IL compiler and runtime support for dynamic languages like
Python, Perl, Ruby, PHP.
<td>Medium-hard (thesis subject)
<td>6-12 months
<td>not assigned
</tr>
<tr>
<td>Tools
<td>Write an implementation of the MSBuild compilation tool available in .NET 1.2
<td>Medium
<td>4-6 months
<td>not assigned
</tr>
<tr>
<td>Build tools.
<td>Currently it is easy for people doing daily
updates from CVS to break their installation. Design a mechanism by
which Mono never fails to compile.
<td>Easy
<td>1-2 weeks
<td>not assigned
</tr>
<tr>
<td>Documentation.
<td>Editorial review of the Monkeyguide: The monkeyguide is known to contain outdated
statements, it needs to be reviewed and it needs an
editor to take control over it. Some simple tasks
include flattening out the Monkeyguide, since it is
too nested today.
<td>Easy
<td>Ongoing work.
<td>not assigned
</tr>
<tr>
<td>Documentation
<td>GNOME.NET Chapter should probably be separated
from the Monkeyguide. This is probably the most
complete chapter, but it is burried in various nested
levels of stuff, and because of this, it is not being
updated. Write a chapter on custom control
authoring and common patterns of app development.
<td>Easy
<td>Ongoing work.
<td>not assigned
</tr>
<tr>
<td>Documentation Tools
<td>The Monodoc collaborative service needs a better
administration tool than it has today; Someone needs
to redo the UI and streamline its process.
<td>Easy
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>Comment Service API
<td>Design a full system for comments and ratings so
people can annotate the documentation in Monodoc.
<td>Easy
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>POSIX bindings.
<td>The Mono.POSIX assembly is a project to create a binding to
the various low-level calls in Unix which are not available
thought he regular assemblies in .NET.
The work should be done in two steps: one step is doing the
low-level binding for the system call, and another possibly is
to expose .NET-level objects like Streams for common patterns:
for example Streams for socketpairs.
<ul>
<li>Complete the bindings for all POSIX calls.
<li>Design a glue layer, because the various low-level
structures and values differ from operating system to
operating system, so we must do the translation from
our own set of definitions to the OS definitions.
The details are availble on bug <a
href="http://bugzilla.ximian.com/show_bug.cgi?id=51849">51849</a>
for details.
</ul>
<td>Medium
<td>2-3 months + QA.
<td>not assigned
</tr>
<tr>
<td>System.Drawing CODECs
<td>Complete the JPEG and PNG codecs to be fully
finished; Implement EXIF data loading; Implement the missing image codecs.
<td>Medium
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>System.Data updates
<td>.NET 1.2 introduced many new updates to the
System.Data namespace: MARS and ObjectSpaces are the
big ones.
<td>Medium
<td>6-9 months.
<td>Work with the mono-devel-list to keep track of things.
</tr>
</table>
-755
View File
@@ -1,755 +0,0 @@
* MonoDoc XML Tag Reference
** Introduction
<em>
[This documentation is in progress. Comments to
<a href="mailto:[email protected]">[email protected]</a> and/or
<a href="mailto:[email protected]">[email protected]</a>.]
</em>
MonoDoc XML, our format for multilingual API documentation stored outside of
source files, is very similar to the output of Microsoft's csc /doc. Minor
alterations have been made to ease human parsing and hand-editing, but
the majority of the tags are identical. In fact, many of the descriptions
and examples below are taken from the ECMA C# Language Specification with
little or no alteration.
This document provides a list of all available MonoDoc XML tags, with
syntax and examples. A complete example can be found in
<a href="#appendix-a">Appendix A</a>, and both a <a href="#">DTD</a> and
<a href="#">XSD schema</a> will be available very shortly.
** MonoDoc XML Tags
<dl>
<dt><code><a href="#c">&lt;c&gt;</a></code></dt>
<dd>Mark short sections of text as code.</dd>
<dt><code><code><a href="#code">&lt;code&gt;</a></code></dt></code>
<dd>Mark one or more lines as code or output.</dd>
<dt><code><a href="#doc">&lt;doc&gt;</a></dt></code>
<dd>Root element of documentation XML.</dd>
<dt><code><a href="#event">&lt;event&gt;</a></dt></code>
<dd>Describe an event.</dd>
<dt><code><a href="#example">&lt;example&gt;</a></dt></code>
<dd>An example.</dd>
<dt><code><a href="#exception">&lt;exception&gt;</a></dt></code>
<dd>Specify an exception a method can throw.</dd>
<dt><code><a href="#field">&lt;field&gt;</a></dt></code>
<dd>Describe a field.</dd>
<dt><code><a href="#list">&lt;list&gt;</a></dt></code>
<dd>Create a list or table.</dd>
<dt><code><a href="#method">&lt;method&gt;</a></dt></code>
<dd>Describe a method.</dd>
<dt><code><a href="#para">&lt;para&gt;</a></dt></code>
<dd>Allow text to be structured in paragraphs.</dd>
<dt><code><a href="#param">&lt;param&gt;</a></dt></code>
<dd>Specify a parameter for a method.</dd>
<dt><code><a href="#paramref">&lt;paramref&gt;</a></dt></code>
<dd>Mark a word as a parameter.</dd>
<dt><code><a href="#permission">&lt;permission&gt;</a></dt></code>
<dd>Define the access level of a member.</dd>
<dt><code><a href="#property">&lt;property&gt;</a></dt></code>
<dd>Describe a property.</dd>
<dt><code><a href="#remarks">&lt;remarks&gt;</a></dt></code>
<dd>Provide verbose information for a type or member.</dd>
<dt><code><a href="#returns">&lt;returns&gt;</a></dt></code>
<dd>Specify the return value of a method.</dd>
<dt><code><a href="#see">&lt;see&gt;</a></dt></code>
<dd>Specify a link.</dd>
<dt><code><a href="#seealso">&lt;seealso&gt;</a></dt></code>
<dd>Specify a 'see also' entry.</dd>
<dt><code><a href="#summary">&lt;summary&gt;</a></dt></code>
<dd>Provide a brief (usually one sentence) description of a member or type.</dd>
<dt><code><a href="#type">&lt;type&gt;</a></dt></code>
<dd>Describe a type.</dd>
</dl>
** Definitions and Examples
*** <a name="c">&lt;c&gt;</a>
This tag can be used to mark short, inline fragments of text that should
be considered source code or program output. User agents should render
this tag in a special -- likely monospace -- font. For larger sections,
use <a href="#code"><code>&lt;code&gt;</code></a>.
**** Syntax
<pre>
&lt;c&gt;code or output text&lt;/c&gt;
</pre>
**** Example
<pre>
&lt;remarks&gt;
Class &lt;c&gt;Point&lt;/c&gt; models a point in two-dimensional space.
&lt;/remarks&gt;
</pre>
*** <a name="code">&lt;code&gt;</a>
This tag can be used to mark one or more lines of text as source code or
program output. User agents should render this tag in a special (likely
monospace) font, and preserve both whitespace and newlines.
**** Syntax
<code>&lt;code&gt;source or program output&lt;/code&gt;</code>
**** Example
<pre>
&lt;summary&gt;
This method changes the point's location by the given
x- and y-offsets.
&lt;example lang="C#"&gt;
A C# example:
&lt;code&gt;
Point p = new Point(3, 5);
p.Translate(-1, 3);
// p == (2, 8);
&lt;/code&gt;
&lt;/example&gt;
&lt;/summary&gt;
</pre>
*** <a name="doc">&lt;doc&gt;</a>
This tag is the root element of the documentation file. It can contain
any number of &lt;type&gt; elements.
**** Syntax
<code>&lt;doc lang="language" assembly="assembly"&gt;typedocs&lt;/doc&gt;</code>
<blockquote>
<em>lang="language"</em><br />
The two-letter ISO code that specifies what language the contained
documentation is written in.
</blockquote>
**** Example
<pre>
&lt;doc lang="en"&gt;
&lt;type name="Graphics.Point"&gt;
&lt;!-- ... --&gt;
&lt;/type&gt;
&lt;/doc&gt;
</pre>
*** <a name="event">&lt;event&gt;</a>
This tag documents an event.
**** Syntax
<code>&lt;event name="eventname"&gt;documentation&lt;/event&gt;</code>
<blockquote>
<em>name="eventname"</em><br />
The name of the event being documented.
</blockquote>
**** Example
<pre>
&lt;event name="Click"&gt;
&lt;summary&gt;
Occurs when the control is clicked.
&lt;/summary&gt;
&lt;data&gt;
The event handler receives an argument of type EventArgs
containing data related to this event.
&lt;/data&gt;
&lt;remarks&gt;
&lt;para&gt;The ControlStyles.StandardClick style must be set
for this event to be raised.&lt;/para&gt;
&lt;para&gt;For more information about handling events, see
Consuming Events.&lt;/para&gt;
&lt;/remarks&gt;
&lt;/event&gt;
</pre>
*** <a name="example">&lt;example&gt;</a>
This tag marks a section of text as an example, and optionally specifies
what programming language <code><a href="#code">&lt;code&gt;</a></code> portions of the example are written in.
**** Syntax
<code><example lang="language">example text and code</example></code>
<blockquote>
<em>lang="language"</em><br />
(optional) The name of the programming language <code><a href="#code">&lt;code&gt;</a></code> blocks in this example
use. This information can be used by user agents to provide
intelligent access to examples in multiple languages.
</blockquote>
**** Example
See <code><a href="#code">&lt;code&gt;<a/></code> for an example.
*** <a name="exception">&lt;exception&gt;</a>
This tag provides a way to specify the exceptions a method can throw.
**** Syntax
<code>&lt;exception cref="exception-type"&gt;description&lt;/exception&gt;</code>
<blockquote>
<em>cref="exception-type"</em><br />
The name of an exception type.
</blockquote>
**** Example
<pre>
&lt;exception cref="System.IO.FileNotFoundException"&gt;
Thrown when the requested file is not found.
&lt;/exception&gt;
</pre>
*** <a name="field">&lt;field&gt;</a>
This tag is used to describe a field.
**** Syntax
<code>&lt;field name="fieldname"&gt;documentation&lt;/field&gt;</code>
<blockquote>
<em>name="fieldname"</em><br />
The name of the field being documented.
</blockquote>
**** Example
<pre>
&lt;field name="x"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;x&lt;/c&gt; represents the point's
x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
</pre>
*** <a name="list">&lt;list&gt;</a>
This tag is used to create a list or table of items. It may contain a
<code>&lt;listheader&gt;</code> block to define the heading row of either a table or
definition list. (When defining a table, only an entry for 'term' in the
heading need be supplied.)
Each item in the list is specified with an <code>&lt;item&gt;</code> block. When creating a
definition list, both <code>&lt;term&gt;</code> and <code>&ltdescription&gt;</code> must be specified.
However, for a table, bulleted list, or numbered list, only <code>&lt;description&gt;</code>
need be specified.
**** Syntax
<pre>
&lt;list type="bullet" | "number" | "table"&gt;
&lt;listheader&gt;
&lt;term&gt;term&lt;/term&gt;
&lt;description&gt;description&lt;/description&gt;
&lt;/listheader&gt;
&lt;item&gt;
&lt;term&gt;term&lt;/term&gt;
&lt;description&gt;description&lt;/description&gt;
&lt;/item&gt;
...
&lt;/list&gt;
</pre>
<blockquote>
<em>term</em><br />
The term to define, whose definition is in <code>&lt;description&gt;</code>.
<br /><br />
<em>description</em><br />
Either an item in a bullet or numbered list, or the definition of a <code>&lt;term&gt;</code>.
</blockquote>
**** Example
<pre>
&lt;list type="bullet"&gt;
&lt;item&gt;
&lt;description&gt;Item 1&lt;/description&gt;
&lt;/item&gt;
&lt;item&gt;
&lt;description&gt;Item 2&lt;/description&gt;
&lt;/item&gt;
&lt;/list&gt;
</pre>
*** <a name="method">&lt;method&gt;</a>
This tag is the overall containing tag for documenting a method.
**** Syntax
<code>&lt;method name="methodname"&gt;documentation&lt;/method&gt;</code>
**** Example
<pre>
&lt;method name="op_Equality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;
This operator determines whether two points have
the same location.
&lt;/summary&gt;
&lt;param name="p1"&gt;
&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.
&lt;/param&gt;
&lt;param name="p2"&gt;
&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.
&lt;/param&gt;
&lt;returns&gt;
True if the points have the same location and they
have the exact same type; otherwise, false.
&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
</pre>
*** <a name="para">&lt;para&gt;</a>
This tag is for use inside other tags such as <code>&lt;remarks&gt;</code> or <code>&lt;returns&gt;</code>, and
allows text to be structured into paragraphs.
**** Syntax
<code>&lt;para&gt;text&lt;/para&gt;</code>
**** Example
<pre>
&lt;summary&gt;
&lt;para&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt; class testing
program.
&lt;/para&gt;
&lt;para&gt;
This program tests each method and operator, and
is intended to be run after any non-trivial maintenance has
been performed on the &lt;c&gt;Point&lt;/c&gt; class.
&lt;/para&gt;
&lt;/summary&gt;
</pre>
*** <a name="param">&lt;param&gt;</a>
This tag is used to describe a parameter for a method, constructor, or
indexer.
**** Syntax
<code>&lt;param name="name"&gt;description&lt;/param&gt;</code>
<blockquote>
<em>name</em><br />
The name of the parameter.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt;
class.
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name "yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
</pre>
*** <a name="paramref">&lt;paramref&gt;</a>
This tag is used to indicate that a word is a parameter. User agents
could use this information for special formatting or hyperlink insertion.
**** Syntax
<code>&lt;paramref name="name" /&gt;</code>
<blockquote>
<em>name</em><br />
The name of the parameter.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This constructor initializes the new Point to
(&lt;paramref name="xor" /&gt;,&lt;paramref name="yor" /&gt;).
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name "yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
</pre>
*** <a name="permission">&lt;permission&gt;</a>
This tag allows the security accessibility of a member to be documented.
**** Syntax
<code>&lt;permission cref="member"&gt;description&lt;/permission&gt;</code>
<blockquote>
<em>cref="member"</em><br />
The name of a member.</br>
</blockquote>
**** Example
<pre>
&lt;permission cref="System.Security.PermissionSet"&gt;
Everyone can access this method.
&lt;/permission&gt;
</pre>
*** <a name="property">&ltproperty&gt;</a>
This tag is the overall containing tag for documenting a property.
**** Syntax
<code>&lt;property name="propertyname"&gt;documentation&lt;/property&gt;</code>
<blockquote>
<em>name="propertyname"</em><br />
The name of the property.
</blockquote>
**** Example
<pre>
&lt;property name="X"&gt;
&lt;summary&gt;
Gets or sets the point's x-coordinate.
&lt;value&gt;
The point's x-coordinate.
&lt;/value&gt;
&lt;/property&gt;
</pre>
*** <a name="remarks">&lt;remarks&gt;</a>
This tag contains extended discussion and information about a member or
a type. <em>[jbarn: This differs from both the ECMA docs and
portions of Microsoft's documentation, but seems consistent with both
common usage, and, more importantly, NDoc convention.]</em>
**** Syntax
<code>&lt;remarks&gt;description&lt;/remarks&gt;</code>
**** Example
<pre>
&lt;type name="Graphics.Point"&gt;
&lt;summary&gt;
Models a point in a two-dimensional plane.
&lt;/summary&gt;
&lt;remarks&gt;
Herein I might have an extended discussion of
the validity of Cartesian coordinate systems,
with examples pro and con, and perhaps
some code.
&lt;/remarks&gt;
&lt;!-- ... --&gt;
&lt;/type&gt;
</pre>
*** <a name="returns">&lt;returns&gt;</a>
This tag is used to describe the return value of a method.
**** Syntax
<code>&lt;returns&gt;description&lt;/returns&gt;</code>
**** Example
<pre>
&lt;method name="op_Inequality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;
This operator determines whether two points have the
same location.
&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;
True if the points do not have the same location and they
have the exact same type; otherwise, false.
&lt;/returns&gt;
&lt;/method&gt;
</pre>
*** <a name="see">&lt;see&gt;</a>
This tag allows a link to be specified within documentation text. (Use
<code>&lt;seealso&gt;</code> to indicate links that should appear in a 'See Also' section.)
**** Syntax
<code>&lt;see cref="destination" /&gt;</code>
<blockquote>
<em>cref="destination"</em><br />
A destination, such as a type or a member of a type.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This method changes the point's location to the given
coordinates. This is an asinine way to insert a link,
but &lt;see cref="Equals(Object)" /&gt; to understand
how points are compared.
&lt;/summary&gt;
</pre>
*** <a name="seealso">&lt;seealso&gt;</a>
This tag allows an entry to be generated for the 'See Also' section. (Use
<code>&lt;see&gt;</code> to specify a link from within text.)
**** Syntax
<code>&lt;seealso cref="destination" /&gt;</code>
<blockquote>
<em>cref="destination"</em><br />
A destination, such as a type or a member of a type.
</blockquote>
**** Example
<pre>
&lt;summary&gt;
This method determines whether two Points have the
same location.
&lt;/summary&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point" /&gt;
</pre>
*** <a name="summary">&lt;summary&gt;</a>
This tag contains a short summary of a member or type,
often one sentence. <em>[jbarn: This differs from both the ECMA docs and
portions of Microsoft's documentation, but seems consistent with both
common usage, and, more importantly, NDoc convention.]</em>
**** Syntax
<code>&lt;summary&gt;description&lt;/summary&gt;</code>
**** Example
<pre>
&lt;summary&gt;
This is the entry point of the &lt;c&gt;Point&lt;/c&gt; class testing
program.
&lt;/summary&gt;
&lt;remarks&gt;
This program tests each method an operator, and is intended
to be run after any non-trivial maintenance is performed
on the &lt;c&gt;Point&lt;/c&gt; class.
&lt;/remarks&gt;
</pre>
*** <a name="type">&lt;type&gt;</a>
This tag is the overall containing tag for documenting a type.
**** Syntax
<code>&lttype name="typename" assembly="assemblyname"&gt;documentation&lt;/type&gt;</code>
<blockquote>
<em>name="typename"</em><br />
The name of the type being documented.
<br /><br />
<em>assembly="assemblyname"</em><br />
The assembly this type resides in. This attribute is not required for nested types.
</blockquote>
**** Example
<pre>
&lt;type name="Graphics.Point" assembly="Point"&gt;
&lt;summary&gt;
Models a point in two-dimensional space.
&lt;/summary&gt;
&lt;!-- members --&gt;
&lt;field name="x"&gt;
&lt;summary&gt;
Represents the point's x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;/type&gt;
</pre>
** <a name="appendix-a">Appendix A: Complete Example</a>
<em>[jbarn: Please, please, don't take the human-readable portions of
this example to be good guidelines for writing your own documentation.
this XML is intended only to show structure.]</em>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;doc lang="en"&gt;
&lt;type name="Graphics.Point" assembly="Point"&gt;
&lt;summary&gt;
Models a point in a two-dimensional plane.
&lt;/summary&gt;
&lt;remarks&gt;
No useful remarks.
&lt;/remarks&gt;
&lt;!-- fields --&gt;
&lt;field name="x"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;x&lt;/c&gt; represents the point's x-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;field name="y"&gt;
&lt;summary&gt;
Instance variable &lt;c&gt;y&lt;/c&gt; represents the point's y-coordinate.
&lt;/summary&gt;
&lt;/field&gt;
&lt;!-- methods --&gt;
&lt;method name="#ctor"&gt;
&lt;summary&gt;
Initializes the new point to &lt;c&gt;(0,0)&lt;/c&gt;.
&lt;/summary&gt;
&lt;/method&gt;
&lt;method name="#ctor(System.Int32,System.Int32)"&gt;
&lt;summary&gt;
Initializes the new Point to (&lt;paramref name="xor" /&gt;,&lt;paramref name="yor" /&gt;).
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
&lt;/method&gt;
&lt;method name="Move(System.Int32,System.Int32)"&gt;
&lt;summary&gt;
This method changes the point's location to the given coordinates.
&lt;/summary&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the new x-coordinate.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the new y-coordinate.&lt;/param&gt;
&lt;seealso cref="Translate(System.Int32,System.Int32)" /&gt;
&lt;/method&gt;
&lt;method name="Translate(System.Int32,System.Int32)"&gt;
&lt;summary&gt;This method changes the point's location by the given x- and y-offsets.&lt;/summary&gt;
&lt;remarks&gt;
&lt;example lang="C#"&gt;
A C# example:
&lt;code&gt;
Point p = new Point(3, 5);
p.Translate(-1, 3);
&lt;/code&gt;
This code results in &lt;c&gt;p&lt;/c&gt; having the value (2,8).
&lt;/example&gt;
&lt;/remarks&gt;
&lt;param name="xor"&gt;&lt;c&gt;xor&lt;/c&gt; is the relative x-offset.&lt;/param&gt;
&lt;param name="yor"&gt;&lt;c&gt;yor&lt;/c&gt; is the relative y-offset.&lt;/param&gt;
&lt;seealso cref="Move(System.Int32,System.Int32)" /&gt;
&lt;/method&gt;
&lt;method name="Equals(System.Object)"&gt;
&lt;summary&gt;This method determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="o"&gt;&lt;c&gt;o&lt;/c&gt; is the object to be compared to the current object.&lt;/param&gt;
&lt;returns&gt;True if the Points have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point" /&gt;
&lt;/method&gt;
&lt;method name="ToString"&gt;
&lt;summary&gt;Report a point's location as a string.&lt;/summary&gt;
&lt;returns&gt;A string representing a point's location, in the form (x,y), without any
leading, trailing, or embedded whitespace.&lt;/returns&gt;
&lt;/method&gt;
&lt;method name="op_Equality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;This operator determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;True if the points have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Inequality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
&lt;method name="op_Inequality(Graphics.Point,Graphics.Point)"&gt;
&lt;summary&gt;This operator determines whether two points have the same location.&lt;/summary&gt;
&lt;param name="p1"&gt;&lt;c&gt;p1&lt;/c&gt; is the first Point to be compared.&lt;/param&gt;
&lt;param name="p2"&gt;&lt;c&gt;p2&lt;/c&gt; is the second Point to be compared.&lt;/param&gt;
&lt;returns&gt;True if the points do not have the same location and they have the exact same
type; otherwise, false.&lt;/returns&gt;
&lt;seealso cref="Equals(System.Object)" /&gt;
&lt;seealso cref="op_Equality(Graphics.Point,Graphics.Point)" /&gt;
&lt;/method&gt;
&lt;method name="Main"&gt;
&lt;summary&gt;
This is the entry point of the Point class testing program.
&lt;/summary&gt;
&lt;remarks&gt;
&lt;para&gt;This program tests each method and operator, and is intended to be run after
any non-trivial maintenance has been performed on the Point class.&lt;/para&gt;
&lt;/remarks&gt;
&lt;/method&gt;
&lt;!-- properties --&gt;
&lt;property name="X"&gt;
&lt;value&gt;Property &lt;c&gt;X&lt;/c&gt; represents the point's x-coordinate.&lt;/value&gt;
&lt;/property&gt;
&lt;property name="Y"&gt;
&lt;value&gt;Property &lt;c&gt;y&lt;/c&gt; represents the point's y-coordinate.&lt;/value&gt;
&lt;/property&gt;
&lt;/type&gt;
&lt;/doc&gt;
</pre>
-329
View File
@@ -1,329 +0,0 @@
* 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 = (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 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>
-218
View File
@@ -1,218 +0,0 @@
* 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://www.sqlsummit.com/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">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-306.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-306.ibm.com/software/data/db2/udb/ad/v8/cli/t0010406.htm">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 = (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
</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>
-2485
View File
File diff suppressed because it is too large. Load diff
-153
View File
@@ -1,153 +0,0 @@
* 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 = (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
</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>
-166
View File
@@ -1,166 +0,0 @@
* 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 and 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>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 or 9i database on
Windows and Linux via OCI (Oracle Call-level Interface)</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>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.</li>
<li>Lots of missing functionality and bugs.</li>
<li>Works with SQL# command-line and GTK# GUI versions.</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 (WORKING)</li>
<li>Support LOBs</li>
<li>Support all the data types</li>
<li>Implement Connection pooling</li>
<li>Security</li>
<li>Once Oracle 10g is released, make sure Mono works with Oracle 10g.</li>
</ul>
** Testing System.Data.OracleClient
<ul>
<li>Have a working mono and mcs</li>
<li>Have access to an Oracle 8i or 9i 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.</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;";
OracleConnection dbcon = null;
dbcon = new OracleConnection (connectionString);
dbcon.Open ();
OracleCommand dbcmd = dbcon.CreateCommand ();
string sql = "SELECT ename, job FROM scott.emp";
dbcmd.CommandText = sql;
OracleDataReader reader = dbcmd.ExecuteReader ();
while (reader.Read ()) {
string employeeName = (string) reader["ename"];
string job = (string) 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:
<pre>
mcs TestExample.cs /r:System.Data.dll \
/r:System.Data.OracleClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
-36
View File
@@ -1,36 +0,0 @@
* 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.
<li><a href="http://primates.ximian.com/~atsushi/mono-jp/">Mono Japanese Translation</a>:
Mono site Japanese translation pages. Translated sources are maintained at <a href="http://forge.novell.com/modules/xfmod/project/?mono-jp">Novell Forge</a>.
</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>
-101
View File
@@ -1,101 +0,0 @@
* JIT Compiler
<a
href="http://citeseer.nj.nec.com/vitek97efficient.html">
Efficient Type Inclusion Tests: Jahn Vitek, R. Nigel Horspool, Andres
Krall</a>
<a
href="http://citeseer.nj.nec.com/cytron91efficiently.html">
Efficiently Computing Static Single Assignment Form and the Control
Dependence Graph: Ron Cytron, Jeanne Ferrante</a>
<a
href="http://citeseer.nj.nec.com/193349.html">
Practical Improvements to the Construction and Destruction of Static Single Assignment Form: Preston Briggs,
Keith Cooper, Timothy Harvey, Taylor Simpson</a>
<a
href="http://citeseer.nj.nec.com/krall98efficient.html">
Efficient JavaVM Just-in-Time Compilation: Andreas Krall</a>
<a
href="http://citeseer.nj.nec.com/452617.html">Java for
Large-Scale Scientific Computations: Andreas Krall, Phillip Thomsich</a>
<a
href="http://citeseer.nj.nec.com/117522.html">
Engineering Simple, Efficient Code Generator Generator: Christopher
W. Fraser, David R. Hanson, Todd A. Proebsting</a>
<a
href="http://citeseer.nj.nec.com/proebsting92code.html">
Code Generation Techniques: Todd Alan Proebsting</a>
<a
href="http://citeseer.nj.nec.com/74629.html">Fast,
Effective Code Generation in a Just-In-Time Java Compiler: Ali-Reza
Adl-Tabatabai Guei-Yuan Lueh, Vishesh M. Parikh, James M. Stichnoth...</a>
<a
href="http://citeseer.nj.nec.com/bodik00abcd.html">
ABCD: Eliminating Array-Bounds Checks on Demand: Rastislav Bodik, Rajiv Gupta, Vivek Sarkar</a>
* Register Allocation
<a
href="http://citeseer.nj.nec.com/poletto99linear.html">
Linear Scan Register Allocation: Massimiliano Poletto, Vivek Sarkar</a>
<a
href="http://citeseer.nj.nec.com/traub98quality.html">
Quality and Speed in Linear-scan Register Allocation: Omri Traub, Glenn
Holloway, Michael D. Smith</a>
* Loop Transformations
<a
href="http://citeseer.nj.nec.com/bacon93compiler.html">
Compiler Transformations for High-Performance Computing: David Bacon</a>
* Interpreter
<a
href="http://citeseer.nj.nec.com/470069.html">
vmgen-A Generator of Efficient Virtual Machine Interpreters: M. Anton
Ertl, David Gregg, Andreas Krall, Bernd Paysan</a>
* Synchronization
<a
href="http://citeseer.nj.nec.com/krall98monitors.html">
Monitors and Exceptions - How to implement Java efficiently: Andreas Krall,
Mark Probst</a>
<a
href="http://citeseer.nj.nec.com/bacon98thin.html">
Thin Locks: Featherweight Synchronization for Java: David Bacon</a>
<a
href="http://citeseer.nj.nec.com/278639.html">
Featherweight Monitors with Bacon Bits: David Bacon</a>
* Garbage Collection
<a
href="http://citeseer.nj.nec.com/wilson92uniprocessor.html">
Uniprocessor Garbage Collection Techniques: Paul Wilson</a>
<a
href="http://citeseer.nj.nec.com/41666.html">
A Language-Independent Garbage Collector Toolkit: Richard Hudson, Eliot Moss, Amer Diwan, Christopher Weight</a>
<a
href="http://citeseer.nj.nec.com/seligmann95incremental.html">
Incremental Collection of Mature Objects: Richard Hudson, Eliot Moss</a>
* Threads
<a
href="http://research.microsoft.com/~birrell/papers/ThreadsCSharp.pdf">
Programming with Threads in C#: Andrew Birrell</a>
-298
View File
@@ -1,298 +0,0 @@
* Updates
<b>Sep 20, 2001:</b> Microsoft has just announced some changes
to passport that are rather interesting. This document
reflects the Passport system without taking into account the
new changes.
Read about it <a href="http://www.microsoft.com/presspass/features/2001/sep01/09-20passport.asp">here</a>.
For an analysis of security problems with passport, check <a
href="http://avirubin.com/passport.html">http://avirubin.com/passport.html</a>.
The bottom line is that you should not put any sensitive
information on passport.
I have received many comments from people, and I have updated
the page accordingly. From removing incorrect statements, to
fixing typos, to include mentions to other software pieces.
I also corrected my statement about IIS and a trojan horse, I
should read a more educated press in the future. My apologies
to Microsoft and its employees on this particular topic. IIS
did not have a trojan horse built in.
* Microsoft Hailstorm and Passport
Microsoft Passport is a centralized database hosted by
Microsoft that enhances the consumer experience with the Web
by providing a single logon system that they can use across a
number of participant web sites.
As you might know by now from our extensive <a
href="faq.html">FAQ</a>, the Mono project has nothing to do
with Microsoft Hailstorm or <a
href="http://www.passport.com">Microsoft Passport.</a>
Still a lot of people have asked us our opinion on them.
** Passport
Passport is important not because of it being a breakthrough
technologically speaking, but because the company is in a
position to drive most people toward being suscribers of it.
At the time of this writing passport is required to use the
free mail service <a href="http://www.hotmail.com">Hotmail</a>
to get customized support for the <a
href="http://www.msn.com">MSN portal</a>, <a
href="http://msdn.microsoft.com">Microsoft Developers
Network</a> and according to the original announcement from
Microsoft <a href="http://www.americanexpress.com">American
Express</a> and <a href="http://www.ebay.com">EBay</a> will be
adopting it.
There is already a <a
href="http://www.passport.com/Directory/Default.asp?PPDir=C&lc=1033">Large
list</a> of participating sites.
There are many current users of it and Microsoft will be
driving more users towards Passport as it <a
href="http://news.cnet.com/news/0-1003-200-6343275.html">integrates
it</a> in their upcoming release of Windows.
Microsoft has also <a
href="http://www.passport.com/Business/JoinPassportNetwork.asp?lc=1033">developed
a toolkit</a> to enable current web merchants to integrate
their services with passport.
To the end user, there is a clear benefit: they only have to
log into a single network and not remember multiple passwords
across sites on the internet. Companies that adopt passport
will have a competition advantage over those that dont.
Microsoft lists a list of <a
href="http://www.passport.com/Business/Default.asp?lc=1033">benefits</a>
to companies.
** The problems of Passport
There are a number of concerns that different groups have over
Passport. Sometimes I have some, sometimes I do not. But
overall, consumers and businesses can have better solutions.
<ul>
* <b>Single Point of Failure:</b> As more services and
components depend on remote servers, functionality can
grind to a halt if there is a failure on the
centralized Passport system.
Such a failure was predicted, and we recently <a
href="http://news.cnet.com/news/0-1005-200-6473003.html">witnessed</a>
got a lot of people worried.
The outgage lasted for seven days. Think what this
could do to your business.
* <b>Trust:</b> Not everyone trusts Microsoft to keep
their information confidential. Concerns are not only
at the corporate level policy, but also the fact that
the source code for Microsoft products is not
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.
Personal information and credit card information about
almost everyone using a computer could be stored there.
Hackers have already <a
href="http://slashdot.org/articles/00/10/27/1147248.shtml">broken
into Microsoft</a> in the past. And the company was
unable to figure out for how long their systems had
been hacked.
Security holes have been found in <a
href="http://slashdot.org/articles/00/04/14/0619206.shtml">IIS
in the past.</a> If all the world's data is stored on
a central location, when a single security hole is
detected, it would allow an intruder to install a
backdoor within seconds into the corporate network
without people ever noticing.
Microsoft itself has been recently hit by worms,
imagine if all your business depended on a single
provider for providing all or your authentication
needs
</ul>
Microsoft might or might not realize this. The idea behind
Passport is indeed a good one (I can start to get rid of my
file that keeps track of the 30 logins and passwords or so
that I use across the various services on the net myself).
** Alternatives to Microsoft Passport
An alternative to Microsoft Passport needs to take the above
problems into consideration. Any solution of the form `We
will just have a competing offering' will not work.
The system thus has to be:
<ul>
* <b>Distributed:</b> The entire authentication
system should not create an internet `blackout' in the
case of failure.
A distributed system using different software
platforms and different vendors would be more
resistent to an attack, as holes in a particular
implementation of the server software would not affect
every person at the same time.
A security hole attack might not even be relevant to
other software vendors software.
* <b>Allow for multiple registrars:</b> Users should
be able to choose a registrar (their banks, local
phone company, service provider, Swiss bank, or any
other entity they trust.
* <b>Mandate good security measures:</b> As a
principle, only Open Source software should be used
for servers in the registrar, and they should conform
to a standard set of tools and software that can be
examined by third parties.
</ul>
An implementation of this protocol could use the DNS or a
DNS-like setup to distribute the information of users with the
possibility of replicating and caching public information
about the user.
For instant messaging (another piece of the Hailstorm bit),
you want to use a non-centralized system like Sun's <a
href="http://www.jxta.org">JXTA</a>. Some people mailed me to
mention Jabber as a messaging platform and other people
pointed out to the <a
href="http://java.sun.com/products/jms/">Java Message
Service</a>. The JMS does support a number of very
interesting features that are worth researching.
It could also just use the user e-mail address as the `key' to
choose the registrar (msn.com, hotmail.com -> passport.com;
aol.com -> aol.passport.com; you get the idea).
The <a
href="http://www.soapware.org/xmlStorageSystem">xmlStorage</a>
idea from <a href="http://www.scripting.com">Dave Winer</a>
could be used to store the information.
A toolkit for various popular web servers could be provided,
authenticated and should be open sourced (for those of you who
think that a binary program would give more security and would
prevent people from tampering: you are wrong. You can always
use a proxy system that "behaves" like the binary, and passes
information back and forth from the real program, and snoops
in-transit information).
Good cryptographers need to be involved in this problem to
figure out the details and the possible insecure pieces of a
proposal like this.
** Implementation: In short
To keep it short: <b>DNS, JXTA, xmlStorage.</b>
** Deploying it
The implementation of such a system should be a pretty
straightforward task once security cryptographers have
designed such a beast.
The major problems are:
<ul>
* <b>People might just not care:</b> In a poll to US
citizens a couple of decades ago, it was found that
most people did not care about the rights they were
given by the Bill of Rights, which lead to a number of
laws to be passed in the US that eliminated most of
the rights people had.
* <b>The industry will move way too slow:</b>
Microsoft's implementation is out in the open now: it
is being deployed, and soon it will be insinuated to
many, many users. The industry needs to get together
soon if they care about this issue.
By the time the industry reacts, it might be too
late.
</ul>
** Passport and Mono
The .NET class libraries include a Passport class that
applications might use to authenticate with Passport. Since
we do not have information at this point on the exact protocol
of Passport, it is not even feasible to implement it.
If at some point the information is disclosed, it could be
implemented.
If a competing system to Passport existed, we could probably
hide all the authentication information to use a number of
different passport-like systems.
If a user does not want to use Passport at all, he could
always turn it off (or completely remove the class from the
library). After all, this is free software.
Currently, we are too far from the point where this is a real
issue.
** Passport and endangering Open Source.
A few people have said: `Mono will allow Passport to be
available for Linux and that is bad'. This is plain
misinformation.
Currently, you can obtain Passport for Linux from Microsoft
itself and deploy it today on your Web server. Mono does not
even enter the picture here. Go to passport.com and download
the toolkit and you will see with your own eyes that passport
is <B>already</b> available for Linux.
** Disclaimer
This is just a group of personal thoughts of mine that I have
placed here because I get asked this question a lot lately.
The views of this page are not a statement from my employer
(Ximian, Inc).
This is not part of Mono. We are not trying to deal with this
problem.
Nat Friedman (Ximian's co-founder) has his own ideas on how a
competing system to Passport could be designed, but I will let
<a href="http://www.nat.org/">him</a> post his own story.
** Other Passport Comments
An interesting study on the security of passport is available at: <a
href="http://avirubin.com/passport.html">http://avirubin.com/passport.html</a>
** Other Alternatives
Some people have pointed out <a
href="http://www.xns.org">XNS</a>
Send comments to me: Miguel de Icaza (<a
href="mailto:[email protected]">[email protected]</a>)
-14
View File
@@ -1,14 +0,0 @@
** Microsoft and GNU and Linux.
Q: Does this mean that Microsoft is better than Linux?
A: Many of us are working on <a
href="http://www.gnu.org/philosophy/free-sw.html">free software<a>
and want to have an <a href="http://www.opensource.org">open
source</a> environment that we can change, modify, improve, learn
from, and share with others. Some of us also think that this will
lead on the long run to better software: more efficient, faster,
more robust and more.
We are willing to take good ideas from any source they come from.
-204
View File
@@ -1,204 +0,0 @@
* Writing performant .NET and Mono applications
The following document contains a few hints on how to improve
the performance of your Mono/.NET applications.
These are just guidelines, and you should still profile your
code to find the actual performance problems in your
application. It is never a smart idea to make a change with the
hopes of improving the performance of your code without first
measuring. In general, these guidelines should serve as ideas
to help you figure out `how can I make this method run faster'.
It is up to you to figure out, `Which method is running slowly.'
** Using the Mono profiler
So, how does one measure what method are running slowly? A profiler
helps with this task. Mono includes a profiler that is built
into the runtime system. You can invoke this profiler on your program
by running with the --profile flag.
<pre>
mono --profile program.exe
</pre>
The above will instruct Mono to instrument your application
for profiling. The default Mono profiler will record the time
spent on a routine, the number of times the routine called,
the memory consumed by each method broken down by invoker, and
the total amount of memory consumed.
It does this by asking the JIT to insert a call to the profiler
every time a method is entered or left. The profiler times the
amount of time elapsed between the beginning and the end of the
call. The profiler is also notified of allocations.
When the program has finished executing, the profiler prints the
data in human readable format. It looks like:
<pre>
Total time spent compiling 227 methods (sec): 0.07154
Slowest method to compile (sec): 0.01893: System.Console::.cctor()
Time(ms) Count P/call(ms) Method name
########################
91.681 1 91.681 .DebugOne::Main()
Callers (with count) that contribute at least for 1%:
1 100 % .DebugOne::Main(object,intptr,intptr)
...
Total number of calls: 3741
...
Allocation profiler
Total mem Method
########################
406 KB .DebugOne::Main()
406 KB 1000 System.Int32[]
Callers (with count) that contribute at least for 1%:
1 100 % .DebugOne::Main(object,intptr,intptr)
Total memory allocated: 448 KB
</pre>
At the top, it shows each method that is called. The data is sorted
by the total time that the program spent within the method. Then
it shows how many times the method was called, and the average time
per call.
Below this, it shows the top callers of the method. This is very useful
data. If you find, for example, that the method Data::Computate () takes
a very long time to run, you can look to see if any of the calls can be
avoided.
Two warnings must be given about the method data. First,
the profiler has an overhead associated with it. As such,
a high number of calls to a method may show up as comsuming
lots of time, when in reality they do not consume much time
at all. If you see a method that has a very high number of
calls, you may be able to ignore it. However, do consider
removing calls if possible, as that will sometimes help
performance. This problem is often seen with the use
of built in collection types.
Secondly, due to the nature of the profiler, recursive calls
have extermely large times (because the profiler double counts
when the method calls itself). One easy way to see this problem
is that if a method is shown as taking more time than the Main
method, it is very likely recursive, and causing this problem.
Below the method data, allocation data is shown. This shows
how much memory each method allocates. The number beside
the method is the total amount of memory. Below that, it
is broken down into types. Then, the caller data is given. This
data is again useful when you want to figure out how to eliminate calls.
You might want to keep a close eye on the memory consumption
and on the method invocation counts. A lot of the
performance gains in MCS for example came from reducing its
memory usage, as opposed to changes in the execution path.
** Memory Management in the .NET/Mono world.
Since Mono and .NET offer automatic garbage collection, the
programmer is freed from having to track and dispose the
objects it consumes (except for IDispose-like classes). This
is a great productivity gain, but if you create thousands of
objects, that will make the garbage collector do more work,
and it might slow down your application.
Remember, each time you allocate an object, the GC is forced
to find space for the object. Each object has an 8 byte overhead
(4 to tell what type it is, then 4 for a sync block). If
the GC finds that it is running out of room, it will scan every
object for pointers, looking for unreferenced objects. If you allocate
extra objects, the GC then must take the effort to free the objects.
Mono uses the Boehm GC, which is a conservative collector,
and this might lead to some memory fragmentation and unlike
generational GC systems, it has to scan the entire allocated
memory pool.
*** Boxing
The .NET framework provides a rich hierchy of object types.
Each object not only has value information, but also type
information associated with it. This type information makes
many types of programs easier to write. It also has a cost
associated with it. The type information takes up space.
In order to reduce the cost of type information, almost every
Object Oriented language has the concept of `primitatives'.
They usually map to types such as integers and bools. These
types do not have any type information associated with them.
However, the language also must be able to treat primitatives
as first class datums -- in the class with objects. Languages
handle this issue in different ways. Some choose to make a
special class for each primative, and force the user to do an
operation such as:
<pre>
// This is Java
list.add (new Integer (1));
System.out.println (list.get (1).intValue ());
</pre>
The C# design team was not satisfied with this type
of construct. They added a notion of `boxing' to the language.
Boxing preforms the same thing as Java's <code>new Integer (1)</code>.
The user is not forced to write the extra code. However,
behind the scenes the <em>same thing</em> is being done
by the runtime. Each time a primative is cast to an object,
a new object is allocated.
You must be careful when casting a primative to an object.
Note that because it is an implicit conversion, you will
not see it in your code. For example, boxing is happening here:
<pre>
ArrayList foo = new ArrayList ();
foo.Add (1);
</pre>
In high performance code, this operation can be very costly.
*** Using structs instead of classes for small objects
For small objects, you might want to consider using value
types (structs) instead of object (classes).
However, you must be careful that you do not use the struct
as an object, in that case it will actually be more costly.
As a rule of thumb, only use structs if you have a small
number of fields (totaling less than 32 bytes), and
need to pass the item `by value'. You should not box the object.
*** Assisting the Garbage Collector
Although the Garbage Collector will do the right thing in
terms of releasing and finalizing objects on time, you can
assist the garbage collector by clearing the fields that
points to objects. This means that some objects might be
elegible for collection earlier than they would, this can help
reduce the memory consumption and reduce the work that the GC
has to do.
** foreach
The <tt>foreach</tt> C# statement handles various kinds of
different constructs (about seven different code patterns are
generated). Typically foreach generates more efficient code
than loops constructed manually, and also ensures that objects
which implement IDispose are properly released.
But foreach sometimes might generate code that under stress
performs badly. Foreach performs badly when its used in tight
loops, and its use leads to the creation of many enumerators.
Although technically obtaining an enumerator for some objects
like ArrayList is more efficient than using the ArrayList
indexer, the pressure introduced due to the extra memory
requirements and the demands on the garbage collector make it
more inneficient.
There is no straight-forward rule on when to use foreach, and
when to use a manual loop. The best thing to do is to always
use foreach, and only when profile shows a problem, replace
foreach with for loops.
-15
View File
@@ -1,15 +0,0 @@
* Plans
Here we are tracking some plans to particular pieces of
technology that are part of Mono.
This is just a repository of information that is handy for
contributors.
Currently you can read our plans for <a
href="ado-net.html">ADO.NET</a>, <a
href="asp-net.html">ASP.NET</a>, <a href="java.html">Java</a> and
<a href="winforms.html">WinForms</a>.
-63
View File
@@ -1,63 +0,0 @@
* How to port Mono to your preferred architecture
** Endian, 64 bits and unaligned access issues
The first thing to do is to check that the metadata handling
library works on your target processor. You may use the disassembler
on simple programs and check that you get sensible results
(assuming it compiles at all on your system:-).
The main issue is to write macros that read unaligned
little endian shorts/ints/longs/float/doubles: look into
mono/metadata/endian.h. There may be other spots in the code that are
unsafe at reading/writing to some datatypes that require special
alignment, but there should be few such issues and they need to be fixed.
Once this stuff is sorted out, you should be able to run the interpreter
on simple programs that don't require delegates, P/Invoke functions etc..
** Generating assembly bytecodes for the target processor
Next, you need to provide the support code for generating assembly bytecode
for your target platform (in mono/arch/{ppc,sparc,alpha,*}).
The code should be more or less like the code in x86-codegen.h:
macros that produce fast in-line code. You don't need to provide
code to create every possible code, at first, just the code to
create trampolines and execute them is fine (you'll need to research
how the call convention works on your platform): that would be, for
example, the prolog and epilog code in a function, code to pass function
parameters and deal with the return value and so on.
libffi in gcc or the xptcall sources in mozilla may be helpful to
understand how the calling convention works, if you can't find a specification.
You'd need a processor manual to know how to create the assembly binary data.
This requires a lot of reading if you're not familiar with the assembly for your
target platform. Manuals for many processors are available as PDF files on the
web site of the respective vendors. Note that some processors require you to
flush the I-cache before executing the code: have a look at how the same thing is
done in GNU lightning.
** Getting the interpreter to work
Once you can generate binary code, you can start working on a
mono_create_trampoline() function for your platform: this function will receive
a MonoMethod that describes the arguments and the return type of a C function
and will create the code to call such function. When this function is complete
you'll be able to run more sample programs, that use System.IO, P/Invoke
functions etc.
To support delegates you'll need to write a mono_create_method_pointer()
function that creates a native function: this can be used to call the
method using the runtime's calling convention (it's basically the reverse
of mono_create_trampoline()).
** The final step: porting the JIT
At this point you'd need to have a more complete code generation header file
and you can start writing the machine description file for the monoburg
system. This code (jit/tesjit.c) will require some machine specific tweaks,
but hopefully all you have to do is create the grammar that emit assembly
code from the IR tree. Work is at the early stages also for x86 on this stuff
as we are still testing various solutions: you'd want to read about burg-like
code-generator generators (the LCC book is a good starting point).
-604
View File
@@ -1,604 +0,0 @@
* PostgreSQL and Mono
When it comes to Mono and PostgreSQL, there are many ways
you can handle your data. You have many Mono Data Providers which can be used
to access data from a application written for Mono.
Then there is the future goal of having the ability to host Mono within PostgreSQL to
have the applications run on the server which makes things much faster.
* Hosting Mono in PostgreSQL
There is a project to <a href="http://gborg.postgresql.org/project/plmono/projdisplay.php">host Mono within PostgreSQL</a>.
plMono is a PostgreSQL language using the embedded Mono runtime. It provides support for writing functions in C#, or any other language that supports .NET.
* Data Providers
There are many ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a>:
There are two providers created specifically for PostgreSQL included with Mono:
<ul>
<li><a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a>
<ul>
<li>included with Mono</li>
<li>a .NET Managed Data Provider for PostgreSQL</li>
<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>included with Mono</li>
<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><a href="http://sourceforge.net/projects/mysqlnet/">ByteFX.Data</a> has a provider for PostgreSQL too, but I do not know how well it works with Mono.</li>
<li>There is another .NET data provider for PostgreSQL named <a href="http://sourceforge.net/projects/pgsqlclient/">PgSqlClient</a>, but I do not know if it works with Mono.</li>
<li>If none of the above providers meet your needs. There is the ODBC and OLEDB providers included with Mono.</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 = (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 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 = new NpgsqlConnection(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 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>
-35
View File
@@ -1,35 +0,0 @@
* Mono PowerPC Port
** Status
It passes and compiles the same amount of mono tests as on the x86 architecture.
mcs is self hosting on Linux/PPC.
*** Interpreter
Up to date.
*** Jitter
Works on MacOS X 10.2 and Linux/PPC.
There are known problems on MacOS 10.3
** Documentation
*** PowerPC architecture:
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPCFPE32B.pdf">PowerPC Programming environments manual</A><BR>
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPC7410UM.pdf">G4 (7410) User's manual</A>
There's a very nice introduction to PowerPC assembly language
at <a
href="http://www-106.ibm.com/developerworks/library/l-ppc/">http://www-106.ibm.com/developerworks/library/l-ppc/</a>.
*** Calling conventions:
<a href="http://refspecs.freestandards.org/elf/elfspec_ppc.pdf">The PowerPC SystemV ABI specification</a>
-15
View File
@@ -1,15 +0,0 @@
#!/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
-22
View File
@@ -1,22 +0,0 @@
* Open Projects
The .NET framework is a good first in terms of a new
development foundation, but it falls short of providing
higher-level components or building blocks for people to
reuse.
A few ideas of projects and classes that would be useful to
develop applications follows:
** EOG component
* Gtk# related projects
Gnome Canvas Bindings.
Bezier Canvas Item Binding.
* Graphical bindings
Binding for the Libart library
-156
View File
@@ -1,156 +0,0 @@
* 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>
-199
View File
@@ -1,199 +0,0 @@
* The Mono Project
** Background.
The GNOME project goal was to bring missing technologies to
Unix and make it competitive in the current market place for
desktop applications. We also realized early on that language
independence was important, and that is why GNOME APIs were
coded using a standard that allowed the APIs to be easily
wrapped for other languages. Our APIs are available to most
programming languages on Unix (Perl, Python, Scheme, C++,
Objective-C, Ada).
Later on we decided to use better methods for encapsulating
our APIs, and we started to use CORBA to define interfaces to
components. We complemented it with policy and a set of
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/articles/whitepapers/bonobo">Bonobo</a>.
Interfaces to Bonobo exist for C, Perl, Python, and
Java.
CORBA is good when you define coarse interfaces, and most
Bonobo interfaces are coarse. The only problem is that
Bonobo/CORBA interfaces are not good for small interfaces.
For example, an XML parsing Bonobo/CORBA component would be
inefficient compared to a C API.
** Another explanation
I recently explained our motivations to Dave Winer, and he posted
it <a
href="http://scriptingnews.userland.com/stories/storyReader$1275">here</a>
** Microsoft's .NET
The Microsoft .NET initiative is confusing because it is a
company wide effort that ranges from development tools to end
user applications. .NET is a branding formative that
has been applied to:
<ul>
* The .NET development platform, a new platform for
writing software.
* Web services.
* Microsoft Server Applications.
* New tools that use the new development platform.
* Hailstorm, the Passport centralized single-signon
system that is being integrated into Windows XP.
</ul>
Mono is an implementation of the .NET development platform.
** The Common Language Infrastructure platform.
Microsoft has created a new development platform. The
highlights of this new development platform are:
<ul>
* A runtime environment that provides garbage
collection, threading and a virtual machine
specification (The Virtual Execution System, VES)
* A comprehensive class library.
* A new language, C#. Very similar to Java, C#
allows programmers to use all the features available
on the .NET runtime.
* A language specification that compilers can
follow if they want to generate classes and code
that can interoperate with other programming
languages (The Common Language Specification: CLS)
</ul>
The Common Language Infrastructure platform is similar to the
goals we had in GNOME of giving language independence to
programmers. It is more mature, documented, larger in scope,
and has a consistent design.
Any API that is written using a CLS provider language can be
used by any language that is a CLS consumer. Compilers
generate code in a format called Common Intermediate Language
(CIL) which is an intermediate representation of a compiled
program and is easy to compile to native code or compiled
using Just-in-Time (JIT) engines. The restrictions placed by
the runtime on the CIL byte codes ensures that it is possible
to do a good job at optimizing the code in a JIT compiler.
There is not really a lot of innovation in this platform: we
have seen all of these concepts before, and we are all
familiar with how these things work.
What makes the Common Language Infrastructure development
platform interesting is that it is a good mix of technologies
that have been nicely integrated.
The .NET development platform is essentially a new foundation
for program development that gives Microsoft a room to grow
for the coming years.
** ECMA standards.
Microsoft has submitted the
specifications of C#, the runtime, the metadata and the
other various bits of the .NET development platform to the
<a href="http://www.ecma.ch">ECMA</a> for standarization.
You can get a copy of the specifications submitted to ECMA
from: <a href="http://www.dotnetexperts.com/ecma">http://www.dotnetexperts.com/ecma</a>
** Mono: an Open Source Common Language Infrastructure implementation.
Ximian has begun work on Mono, a project that aims to bring
the Common Language Infrastructure platform to free systems.
When the GNU project was launched, they picked the best
operating system that was available out there, and they
began to clone it: Unix.
The .NET development platform is a very rich, powerful, and
well designed platform that would help improve the free
software development platform. Just like the GNU project
began to clone Unix sixteen years ago, we will be cloning the
.NET development platform because it is a great platform to
build on.
** What makes up Mono?
There are various pieces that make up Mono today:
<ul>
* A C# compiler.
* The Virtual Execution System: that has the
Just-in-Time compiler, garbage collector, loader,
threading engine.
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 libraries:
Remoting, Reflection, Reflection.Emit, Xml, Xpath,
Xslt, Xml Serialization, Web Services support.
* Cross platform class libraries for data access:
Postgress, MySQL, DB2, TDS, Sybase, Oracle, ODBC and
Gnome's GDA.
* 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?
GNOME is an umbrella project that consists of infrastructural
components (GUI toolkit, XML libraries, CORBA implementation,
printing architecture, imaging system), a desktop environment,
and productivity applications.
The GNOME infrastructural components can be used to quickly
implement various pieces of the class libraries without reinventing
the wheel, and since all those components are licensed under
the terms of the GNU LGPL it is a perfect fit.
Libart will be used to implement the Drawing.2D API; Gtk+ and
the GNOME libraries will be used to implement the WinForms
API and of course Glib and libxml will be used in various
places.
-46
View File
@@ -1,46 +0,0 @@
To: [email protected], [email protected]
Subject: July 12 snapshots.
FCC: ~/Mail/outbox.txt
X-Windows: Sometimes you fill a vacuum and it still sucks.
--text follows this line--
Hey!
July 12 snapshots of class libraries, the compiler and the mono
runtime are available.
New on this release:
* Runtime (module: mono)
The beginning of a simple interpreter that Paolo started
workign on (can run really simple .NET programs).
Disassembler copes with more elements of the binary format and
more tokens are decoded. Paolo is working now on moving some
of these to the metadata library.
More tables are dumped.
* Class libraries (module: mcs/class)
Many new more classes are in from Joe, Vladimir, Jeff, Sean
and yours truly.
Sean fixed the build process, and it is now possible to
compile with a single command the assemblies. We will be
revisiting this mechanism in the future to compile per-OS
assemblies (ie, Unix, Windows, MacOS, etc).
* Compiler (module mcs/mcs)
Not much done this week, just a few fixes here and there, and
more work to make it easy to compiler.
* Documentation (module: mono/doc)
All the changes to the web site are there for your browsing
pleasure. We still need to integrate the status system in
there.
Miguel.
-43
View File
@@ -1,43 +0,0 @@
To: [email protected]
Subject: Sunday snapshot available.
Gcc: mail.2001-07
--text follows this line--
Hey guys,
I promise I will not be doing these so often once we have the CVS
server up. In the meantime:
* MCS
Sean got the classes to compile in a single go. You
will need CygWin (www.cygwin.org) to compile though
(GNU make and stuff is required).
System.Xml.XmlReader contribution from Jason
(WOOHHOO!!). It also contains a nice test-suite for
his functions, and in his new code bit, his
implementation is faster than Microsoft's
We now ship `jay' as part of the distribution to allow
you to compile the compiler with the same `make'
command. Small fixes to the parser as well were
introduced.
* Mono 0.4
Paolo's interpreter supports call instructions and has
the test suite program that he posted about.
All documentation ships now in the mono-0.4.tar.gz
Notes:
As usual, MCS is targeted to be compiled on a Windows machine
(you will need Cygwin).
Mono is targeted to be compiled on a Unix machine or a Windows
machine running Cygwin.
Miguel.
-235
View File
@@ -1,235 +0,0 @@
* Resources
There are a number of resources available for those of you who
want to contribute to the Mono project. Here are a few links.
If you want to send suggestions for links, address them to <a
mailto="[email protected]">[email protected]</a>.
** Microsoft .NET
The <a href="http://msdn.microsoft.com/netframework">Microsoft.NET site.</a>
The Microsoft .NET Framework can be downloaded <a
href="http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.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
Various Mono contributors get together on channel #mono on
irc.gnome.org
** 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>
Got Dot Net:
<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>
Zip classes:
Mike's port to .NET: <a
href="http://www.icsharpcode.net/OpenSource/NZipLib/default.asp">NZipLib</a>
.NET Security:
A nice overview paper on the <a
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>
** ECMA Documentation.
You can get the documentation for the ECMA specs from:
<ul>
* <a href="http://www.ecma-international.org/publications/standards/Ecma-334.HTM">C# Language Specification</a>
* <a href="http://www.ecma-international.org/publications/standards/Ecma-335.HTM">Common Language Infrastructure</a>
</ul>
Older copies of the standard are available here:
<ul>
* <a href="http://msdn.microsoft.com/net/ecma">At MSDN</a>
* <a href="http://www.dotnetexperts.com">Dot Net Experts</a>
* <a href="http://lightning.csse.monash.edu.au/.net/CLI">Monash University</a>
</ul>
These contain specifications for the assembler, the metadata,
byte codes supported by the CLI virtual machine, the C#
language and the core class libraries.
For details on the .NET class libraries, you can
visit the Microsoft's Developer Network:
<ul>
* <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/cpref_start.asp">.NET Framework Class Library</a>
</ul>
You can also get this information if you install the Beta2
release of the .NET Framework.
** Discussion Groups.
<ul>
* <a href="http://www.oreillynet.com">O'Reilly
Network</a> has a <a
href="http://www.oreillynet.com/dotnet">section devoted to
.NET</a>
* <a
href="http://msdn.microsoft.com/newsgroups">MSDN</a> also
lists various newsgroups related to .NET</ul>
</ul>
** Other .NET related projects
There are a number of related projects to Mono:
<li><b>Development tools</b></li>
<ul>
* <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://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://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://cs-sdl.sourceforge.net/">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.
* <a href="http://www.intel.com/research/mrl/orp">ORP:</a> A research
JIT/VM/GC system from Intel.
* <a
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
Another implementation of the CLI and C# compiler.
</ul>
** GNOME Documentation
Documentation on GNOME, and the GNOME APIs is available from
the <a href="http://developer.gnome.org">developer</a> site at
GNOME:
<ul>
* <a href="http://developer.gnome.org/doc/API/">GNOME
API documentation</a>
* <a href="http://developer.gnome.org/doc/books">GNOME
Online books</a>
* <A
href="http://developer.gnome.org/arch/">Architecture Overview</a>
</ul>
** Assembly Language Manuals online
<ul>
* <a href="http://www.agner.org/assem/#optimize">
Pentium optimization tutorial</a> by Agner Fog
* <a href="http://webster.cs.ucr.edu/">
Art of Assembly</a> (x86 only)
* Documentation for various CPUs
(<a href="http://www.mit.edu/afs/sipb/contrib/doc/specs/ic/cpu/">
x86, IA64, MIPS, ARM, Alpha</a>)
* <a href="http://www.heyrick.co.uk/assembler/">
ARM Assembler</a> tutorial
* PowerPC
<a href="http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF7785256996007558C6">
Compiler Writer's Guide</a>
* <a href="http://www.lightsoft.co.uk/Fantasm/Beginners/begin1.html">
Beginners Guide to PowerPC Assembler</a>
</ul>
** Win32
<ul>
* Win32 <a href="http://www.jorgon.freeserve.co.uk/ExceptFrame.htm">
Structured Exception Handling (SEH)</a> internals (x86 specific)
</ul>
-30
View File
@@ -1,30 +0,0 @@
** MacOS Documentation
** Assembly Language Manuals online
Intel
MIPS
SPARC
** Microsoft
msdn.microsoft.com/net
Research.microsoft.com
** Related Technologies
<ul>
* The CLI allows people to create Web Services using the SOAP
protocol. SOAP is based on XML, XML schemas an the HTTP
protocol.
<ul>
* XML specification.
* XML Namespaces.
* XML Schemas.
* SOAP Specification.
</ul>
</ul>
** Compiler Information
GCC
GCC Sample front-end tutorial
-12
View File
@@ -1,12 +0,0 @@
* Roadmap
We are working on the following three projects at Ximian:
The C# Compiler (mcs/mcs)
A .NET compatible Class Library (mcs/class)
The JIT/interpreter (mono)
-203
View File
@@ -1,203 +0,0 @@
* The Mono runtime
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:
<ul>
* <b>mono:</b> Our Just-in-Time and Ahead-of-Time code
generator for maximum performance.
* <b>mint:</b> The Mono interpreter. This is an
easy-to-port runtime engine.
</ul>
We are using the Boehm conservative garbage collector.
The Mono runtime can be used as a stand-alone process, or it
can be <a href="embedded-api.html">embedded into applications</a> (see
the documentation in mono/samples/embed for more details).
Embedding the Mono runtime allows applications to be extended
in C# while reusing all of the existing C and C++ code.
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>
** Current JIT Engine: technical details (<b>updated, June 28th, 2003</b>)
We have re-written our JIT compiler. We wanted to support a
number of features that were missing:
<ul>
* Ahead-of-time compilation.
The idea is to allow developers to pre-compile their code
to native code to reduce startup time, and the working
set that is used at runtime in the just-in-time compiler.
Although in Mono this has not been a visible problem, we
wanted to pro-actively address this problem.
When an assembly (a Mono/.NET executable) is installed in
the system, it would then be possible to pre-compile the
code, and have the JIT compiler tune the generated code
to the particular CPU on which the software is
installed.
This is done in the Microsoft.NET world with a tool
called ngen.exe
* Have a good platform for doing code optimizations.
The design called for a good architecture that would
enable various levels of optimizations: some
optimizations are better performed on high-level
intermediate representations, some on medium-level and
some at low-level representations.
Also it should be possible to conditionally turn these on
or off. Some optimizations are too expensive to be used
in just-in-time compilation scenarios, but these
expensive optimizations can be turned on for
ahead-of-time compilations or when using profile-guided
optimizations on a subset of the executed methods.
* Reduce the effort required to port the Mono code
generator to new architectures.
For Mono to gain wide adoption in the Unix world, it is
necessary that the JIT engine works in most of today's
commercial hardware platforms.
</ul>
The JIT engine implements a number of optimizations:
<ul>
* Opcode cost estimates (our architecture allows
us to generate different code paths depending
on the target CPU dynamically).
* Inlining.
* Constant folding, copy propagation, dead code elimination.
Although compilers typically do
constant folding, the combination of inlining with
constant folding gives some very good results.
* Linear scan register allocation. In the past,
register allocation was our achilles heel, but now
we have left this problem behind.
* SSA-based framework. Various optimizations are
implemented on top of this framework
</ul>
There are a couple of books that deal with this technique: "A
Retargetable C Compiler" and "Advanced Compiler Design and
Implementation" are good references. You can also get a
technical description of <a
href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">lbrug</a>.
The new JIT engines uses three intermediate representations:
the source is the CIL which is transformed into a forest of
trees; This is fed into a BURS instruction selector that
generates the final low-level intermediate representation.
The instruction selector is documented in the following
papers:
<ul>
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/interface.pdf&pub=wiley">A code generation interface for ANSI C</a>
* <a href="http://research.microsoft.com/copyright/accept.asp?path=http://www.research.microsoft.com/~drh/pubs/iburg.pdf&pub=ACM">Engineering efficient code generators using tree matching and dynamic programming.</a>
</ul>
** Garbage Collection
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.
<ul>
* Garbage collection list and FAQ:<br>
<a href="http://www.iecc.com/gclist/">http://www.iecc.com/gclist/</a>
* "GC points in a Threaded Environment":<br>
<a href="http://research.sun.com/techrep/1998/abstract-70.html">
http://research.sun.com/techrep/1998/abstract-70.html</a>
* "A Generational Mostly-concurrent Garbage Collector":
<a href="http://research.sun.com/techrep/2000/abstract-88.html">
http://research.sun.com/techrep/2000/abstract-88.html</a>
* Details on The Microsoft .NET Garbage Collection Implementation:<br>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI.asp</a>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag00/html/GCI2.asp</a>
</ul>
** IO and threading
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 developed WAPI: the Mono abstraction layer
that allows our runtime to execute code that depend on this
behaviour.
** Useful links
Paolo Molaro found a few interesting links:
<ul>
* On compilation of stack-based languages:<br>
<a href="http://www.complang.tuwien.ac.at/projects/rafts.html">
http://www.complang.tuwien.ac.at/projects/rafts.html</a>
* A paper on fast JIT compilation of a stack-based language:<br>
<a href="http://www.research.microsoft.com/~cwfraser/pldi99codegen.pdf">
http://www.research.microsoft.com/~cwfraser/pldi99codegen.pdf</a>
* Vmgen generates much of the code for efficient virtual machine (VM)
interpreters from simple descriptions of the VM instructions:<br>
<a href="http://www.complang.tuwien.ac.at/anton/vmgen/">
http://www.complang.tuwien.ac.at/anton/vmgen</a>
</ul>
** PInvoke
PInvoke is the mechanism we are using to wrap Unix API calls
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.
** Remoting
Mono has support for remoting and proxy objects, just like
.NET does. The runtime provides these facilities.
** Porting
If you are interested in porting the Mono runtime to other
platforms, you might find the pre-compiled <a
href="archive/mono-tests.tar.gz">Mono regression test
suite</a> useful to debug your implementation.
* COM and XPCOM
We plan on adding support for XPCOM on Unix and COM on Microsoft
Windows later in our development process.
-229
View File
@@ -1,229 +0,0 @@
* 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>
** Type Reflector
Type Reflector is a tool included in Mono to inspect your assemblies.
<table border=1>
<tr>
<td>
<img src="images/type-reflector.png">
</td>
</tr>
</table>
** Object Browser
Radek Doulik's Object Browser (in Mono CVS) is a useful tool
to inspect existing assemblies and their source code:
<table border=1>
<tr>
<td>
<img src="images/Screenshot-ObjectBrowserDemo.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/monomdi.jpg"><img src="http://go-mono.com/images/monomdi-thumb.jpg"></a>
</td>
</tr>
</table>
<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>
** 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>
-222
View File
@@ -1,222 +0,0 @@
* 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>Thanks to Sebastien Pouliot, we now have NT Authentication (Integrated Security) support. This support was
added after the release of Mono 0.29. So, you either get it from cvs or wait for the Mono 0.30 release.</li>
<li>Able to connect to Microsoft SQL Server 7/2000 databases via SQL Server authentication and NT Authentication.</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>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>Start work on TDS Protocol Version 8.0 support</li>
<li>Add support for .NET 1.2 and 2.0 and Microsoft SQL Server (Yukon) 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><b>IMPORTANT:</b> 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. You
can get it from <a href="http://www.microsoft.com/sql/downloads/2000/sp3.asp">here</a></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 for SQL Server Authentication:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>Has a connection string format for NT Authentication:
<pre>
Server=hostname;Database=databaseName;User ID=windowsUserid;Password=windowsPassword;Integrated Security=SSPI
</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 = (string) reader["fname"];
string LastName = (string) 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>
-143
View File
@@ -1,143 +0,0 @@
* 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 SqliteConnection(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[0];
string LastName = (string) 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>
-40
View File
@@ -1,40 +0,0 @@
* Project Status
Pieces of Mono that have been implemented:
<ul>
* C# compiler: The C# compiler is mostly complete, a
few features are still missing (for a list, check the
<a href="c-sharp.html">C# compiler</a> web page.
* The Mono JIT engine (<b>mono</b>. The JIT engine is
the real
virtual machine that we support. It is
currently functional, and we are improving its speed,
and making it feature complete.
* A CIL bytecode interpreter (<b>mint</b>). This
currently can be used to run most .NET programs
(modulo the fact that our class libraries are not
complete enough).
<b>mint</b> can currently run the Mono C# compiler and
the compiler generates valid code.
We use <b>mint</b> as a reference implementation of
the runtime environment and to quickly support
non-Intel platforms.
* Metadata library: Can currently parse
and load information from .NET modules (executables
and DLL files).
* Disassembler: Can disassemble .NET modules. Still
lacking exception handling as well as useful debugging
tools (hex dumping, token dumping).
* Class Libraries: You can check the current status in the
<a href="class-status.html">Class Status page</a>.
</ul>
-153
View File
@@ -1,153 +0,0 @@
* 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>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 = (string) reader["fname"];
string LastName = (string) 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
@@ -1,164 +0,0 @@
* 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.
-157
View File
@@ -1,157 +0,0 @@
* 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>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 = (string) reader["fname"];
string LastName = (string) 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>
-269
View File
@@ -1,269 +0,0 @@
* Testing
Testing is an important part of the Mono project: every one of its
three major components has a test suite tailored for its needs. This
is very helpful, because in the course of developing the software it
is very common to introduce bugs in existing code. A test suite
helps us fix the bugs as soon as they are introduced.
There are various kinds of tests in Mono:
<ul>
<li><a href="#unit"><b>Class Library Unit
Tests:</b></a> These are used to test the class
libraries.
<li><a href="#compiler"><b>Compiler tests</b></a>: Both
tests that should pass and tests that should fail are included.
<li><a href="#runtime"><b>Runtime tests</b></a>: Tests for
the virtual machine.
<li><a href="#aspnet"><b>ASP.NET tests</b></a>: ASP.NET tests.
<li><a href="#ws"><b>Web Services tests</b></a>: Web Services
client/server tests.
</ul>
<a name="unit"></a>
* 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
method in every class should have a set of tests to verify
that they work correctly. Mono also needs a testing framework
to make it easy to write and run lots of tests.
In some classes, we might also provide standalone tests because of
some reasons such as too huge testcases, another downloading and so on.
(For example, managed XSLT has standalone test which downloads and
expands some megabytes of OASIS test suite.)
Here I list them up as long as I know. If you are going to add another
standalone tests, please add one line here. It is also recommended that
you add some notes on how to build and run tests.
<ul>
* Mono.Data/test/
* System.Data/Test, and some individual ADO.NET libraries:
there are some standalone tests. See the bottom of <a href="ado-net.html">
ADO.NET page</a> for detail.
* System.Web/Test/TestMonoWeb : see README
* System.Web.Services/Test/standalone : see README
* System.Windows.Forms/SWFTest/
* System.XML/Tests/System.Xml.Schema/standalone_tests : see README
* System.XML/System.Xml.Serialization/standalone_tests/
* System.XML/Tests/System.Xml.Xsl/standalone_tests : see README
</ul>
** 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 needs also to be listed in the
.sources file at the top of the Test directory.
* 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.html">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
change part of the code and verify that you haven't broken
anything. Ideally, tests are written before the actual library
code itself. And every time a bug is discovered, a test should
be written to demonstrate the bug and its fix. Then, if
you ever reintroduce the bug, you will know immediately. For
more info, read <a
href="http://junit.sourceforge.net/doc/testinfected/testing.htm">
JUnit Test Infected: Programmers Love Writing Tests</a>.
** Getting Started
We welcome all contributions to the Class Libary Test Suite.
There is information to help you get started in CVS at
mcs/class/doc/NUnitGuidelines. Once you have written your test, please
post it to <a href="mailing-lists.html">mono-list</a>.
Someone will make sure to add the file or apply the patch as
appropriate. If you plan to be an on-going contributor and
would like to get cvs account, email <a href="mailto:[email protected]">miguel</a>.
Normally, after you send a couple of well-written new files
and/or patches to the list, you will be given cvs access.
<a name="compiler"></a>
* Compiler tests
Mono ships with three compilers: C#, VB.NET and JScript. The
tests are ran by running the makefile target `make
run-test-local' in the appropriate directory.
The C# compilation tests live in mcs/tests, and the C# error
tests live in mcs/errors.
The VB.NET compilation tests live in mcs/btests.
<a name="runtime"></a>
* Runtime Tests
These tests verify the virtual machine, to run these tests, do:
<pre>
cd mono/mono/tests
make test
</pre>
<a name="aspnet"></a>
* ASP.NET tests
XSP, the Mono ASP.NET server has tests for ASP.NET pages. It uses
<a href="http://nunitasp.sourceforge.net">NUnitAsp</a>. Right now
it only has standalone tests, ie., tests that do not need their own
global.asax or web.config files.
If you want to run them, get the xsp CVS module and install it. Then:
<pre>
cd xsp/nunit-tests
make
cd standalone
xsp
</pre>
And from another terminal:
<pre>
cd xsp/nunit-tests/standalone
nunit-console standalone-tests.dll
</pre>
<a name="ws"></a>
* Web Services tests
The Test directory for the System.Web.Services assembly contains a
standalone test suite for testing web services. It tests:
<ul>
<li>Proxy generation using the wsdl tool</li>
<li>Access to web services using the generated client proxies</li>
<li>Execution of web services in the server</li>
</ul>
This suite not only tests web services running on XSP, but it can also test
services running on other platforms and that are available in internet. This
will help track down interoperability issues.
To build the test suite, just run:
<pre>
cd mcs/class/System.Web.Services/Test/standalone
xsp --root server
</pre>
And from another terminal:
<pre>
cd mcs/class/System.Web.Services/Test/standalone
make
nunit-console testclient.dll
</pre>
This will download the wsdl documents, generate the proxies, build a dll with
the proxies, and build the nunit tests. Then you can use nunit-console or
gnunit to run the tests (the nunit dll is testclient.dll).
Read the README file in mcs/class/System.Web.Services/Test/standalone for
more info.
-6
View File
@@ -1,6 +0,0 @@
* Thanks
We would like to thank Tim O'Reilly, Brian Jepson and Nathan
Torkington for their help.
Dave Winer for provided interesting comments and a to read.
-53
View File
@@ -1,53 +0,0 @@
** System.Windows.Forms
Progress on Windows.Forms has been good, but we need more work
on this area. Currently redrawing of controls is not
funcional.
** Languages work
Mono has work-in-progress implementations of JScript and the
VB.NET languages
<ul>
<li>Write positive tests for those languages.
<li>Write negative tests for those languages.
<li>Mono-devel-list is the mailing list to discuss
improvements and fixes to those compilers.
</ul>
** Debugger
<ul>
<li>The Mono debugger needs some better widgets to
provide a useful environment, many of those have been
authored for Anjuta/gIDE, we should wrap those for the
debugger
<li>Design a small tool-command-language like Tcl to
build the debugger on top of it.
<li>Design work: a new UI design must be done
for the debugger and later implemented.
</ul>
** Research topics
<ul>
<li>Design and implement a command processor like the
Unix shell, but which uses .NET objects as commands.
This shell would be a CLS consumer ideally, and only
later a CLS producer. This should make it simple for
people to explore the .NET API interactively.
</ul>
** IDE development
Mono lacks an IDE, and we depend on third-parties to work on
these.
<ul>
Sharp
</ul>
-67
View File
@@ -1,67 +0,0 @@
* Tools
We need a number of tools to make people productive using a
Mono-based solution. Some of these tools can be developed on
Windows before Mono is fully finished.
All of these tools should be written using C#.
For the tools that are typically command line tools: Try to
write these as components that could load their input from
streams or collections of streams, and implement the command
line tools as wrappers around those classes.
For example, we will be making the C# compiler a component
that could be reused by applications that might have a use for
the various bits of the compiler (either to embed the
compiler, or reuse the code generator part of it).
This is important so that these components (compiler,
assembler, linker, etc) can be integrated later into the
visual development environment (hopefully with the help of the
SharpDevelop hackers).
TODO=ilasm,IL Assembler
** IL Assembler.
This assembler should basically take as input a file
containing IL bytecodes as specified in the `Partition II' of
the ECMA spec, and produce a binary file.
TODO=al,Assembly Linker
** Assembly Linker.
This tool is used to construct assemblies, which are basically
deployment units for CLI executables.
TODO=debugger,Debugger
** Debugger
We will need a debugging API to debug CLI applications and
then a debugger component that can be used in an IDE
environment.
TODO=ide,Integrated Development Environment
** Integrated Development Environment
There is already a project to create a C# development
environment: <a
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">SharpDevelop</a>.
People should work with the SharpDevelop hackers to produce a
unified development environment.
Please work with the SharpDevelop hackers to build a good IDE.
We will work on creating an embedable compiler component and
an embeddable debugger component that can be used withing
SharpDevelop
TODO=hbrowser,Help Browser
** Help Browser
We need a good help browser that can be used to browse
documentation. Ideally this help browser can accept as input
XML Docbook input and an assorted set of file formats
(Microsoft Help, Unix manual pages, Unix Info pages)
Look at the GNOME DevHelp for a good set of ideas on how to
implement this.
-2
View File
@@ -1,2 +0,0 @@
*.src
*.html
-78
View File
@@ -1,78 +0,0 @@
0,Home,index.html,index.src
1,Roadmap,mono-roadmap.html
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
1,Bug Reporting,bugs.html,bugs.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#,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,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
1,Forge,forge.html,forge.src
1,Compiling,compiling.html,compiling.src
0,Contributing,contributing.html,contributing.src
1,Hackers,hackers.html,hackers.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Test Suite,testing.html,testing.src
1,Mono TODO,mono-todo.html,mono-todo.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,Resources,resources.html,resources.src
1,Beginning,mono-beginning.html,mono-beginning.src
1,Mailing Lists,mailing-lists.html,mailing-lists.src
1,Blogs,http://www.go-mono.com/monologue/
1,Ideas,ideas.html,ideas.src
1,Passport,passport.html,passport.src
1,Books,books.html,books.src
1,Papers,papers.html,papers.src
1,Languages,languages.html,languages.src
1,Debugging,jit-debug.html,jit-debug.src
0,Plans,plans.html,plans.src
1,Drawing,drawing.html,drawing.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
2,TDS Providers,tds-providers.html,tds-providers.src
1,Crypto,crypto.html,crypto.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
1,XML Classes,xml-classes.html,xml-classes.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,DirectoryServices,class-status-System.DirectoryServices.html,class-status-System.DirectoryServices.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
View File
@@ -1 +0,0 @@
*.html
Loaded 100 of 4873 files, more files were not shown because too many files have changed in this diff. Show more