Compare commits

..
2962 Commits
Author SHA1 Message Date
nobody 5d657d7bc6 This commit was manufactured by cvs2svn to create tag 'MCS_0_31'.
svn path=/tags/MCS_0_31/mcs/; revision=24309
2004-03-18 23:25:35 +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
Miguel de Icaza 09de8b1e72 Workaround from Dick to the string.Replace bug
svn path=/trunk/mono/; revision=22713
2004-02-02 21:39:54 +00:00
Zoltan Varga 2b283d1dd4 2004-02-02 Zoltan Varga <[email protected]>
* gc.c (ves_icall_System_GC_WaitForPendingFinalizers): Fix check for
	the finalizer thread.

svn path=/trunk/mono/; revision=22708
2004-02-02 17:44:06 +00:00
Zoltan Varga 14436c9bb0 2004-02-02 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method_with_context): Add new marshalling
	conventions.

svn path=/trunk/mono/; revision=22707
2004-02-02 16:10:21 +00:00
Zoltan Varga 75c9137998 2004-02-02 Zoltan Varga <[email protected]>
* gc.c threads.c: Make the finalizer thread a normal managed thread so
	the finalizer code can use thread functionality.

	* threads.c: Make some functions more robust.

svn path=/trunk/mono/; revision=22706
2004-02-02 16:05:49 +00:00
Zoltan Varga 5d76941a83 2004-02-02 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Another attempt at fixing #22532.

svn path=/trunk/mono/; revision=22705
2004-02-02 16:00:00 +00:00
Zoltan Varga 1db11c59d8 2004-02-02 Zoltan Varga <[email protected]>
* sparc/tramp.c: Implement all floating point argument passing conventions in
	Sparc V8. Also fix structure passing in V8.

svn path=/trunk/mono/; revision=22704
2004-02-02 15:56:15 +00:00
Zoltan Varga 43b55fe61f 2004-02-02 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Fix stack management of generic CEE_BOX.

svn path=/trunk/mono/; revision=22703
2004-02-02 15:50:47 +00:00
Zoltan Varga f11a6b682e 2004-02-02 Zoltan Varga <[email protected]>
* mini.c: Add support for new stringbuilder marshaling conventions.

svn path=/trunk/mono/; revision=22702
2004-02-02 15:35:46 +00:00
Zoltan Varga 3d8839510d 2004-02-02 Zoltan Varga <[email protected]>
* metadata.h: Add new marshalling conventions.

	* marshal.c (mono_marshal_get_native_wrapper): Add support for unicode
	stringbuilder marshalling. Fixes #53700.

svn path=/trunk/mono/; revision=22701
2004-02-02 15:34:05 +00:00
Zoltan Varga cc5cc912fc 2004-02-02 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add test for unicode StringBuilder marshalling.

svn path=/trunk/mono/; revision=22700
2004-02-02 15:31:45 +00:00
Zoltan Varga bb6557839d 2004-02-02 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=22699
2004-02-02 14:13:17 +00:00
Zoltan Varga 1985e3e0f3 2004-02-02 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Implement DefineUninitializedData and
	AddDeclarativeSecurity.

svn path=/trunk/mcs/; revision=22698
2004-02-02 14:11:06 +00:00
Zoltan Varga 879101f2d6 2004-02-02 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionTypeBuilder): Add 'permissions' field.

	* reflection.c (mono_image_get_type_info): Save declarative security
	info.

	* reflection.c (mono_image_get_field_info): Handle uninitialized
	unmanaged fields as well.

	* appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=22697
2004-02-02 14:07:53 +00:00
Zoltan Varga fc9a62de62 2004-02-02 Zoltan Varga <[email protected]>
* pinvoke.cs libtest.c: Add test for Sparc V8 split register/stack double
	parameter passing.

svn path=/trunk/mono/; revision=22696
2004-02-02 14:00:09 +00:00
Nick Drochak e5228bfe94 2004-02-02 Nick Drochak <[email protected]>
* RegexBugs.cs (RangeIgnoreCase): made the last assert pass on .NET.

svn path=/trunk/mcs/; revision=22695
2004-02-02 13:04:13 +00:00
Sebastien Pouliot 6df0ea9c96 2004-02-02 Sebastien Pouliot <[email protected]>
* DateTime.cs: Corrected support for "Z" in the mask (Parse). This
	fix bug #53461.

svn path=/trunk/mcs/; revision=22694
2004-02-02 12:47:01 +00:00
Sebastien Pouliot c351e8b8b8 2004-02-02 Sebastien Pouliot <[email protected]>
* crypto: Removed references to myself. Anyway the best place is the
	mono-devel-list mailing list.

svn path=/trunk/mono/; revision=22693
2004-02-02 12:39:44 +00:00
Sebastien Pouliot 0f96bb33ca 2004-02-02 Sebastien Pouliot <[email protected]>
* team.xml: Changed email address and organization

svn path=/trunk/mono/; revision=22692
2004-02-02 12:29:53 +00:00
Jackson Harper 954c7f2966 Fix typo
svn path=/trunk/mono/; revision=22691
2004-02-02 10:10:17 +00:00
Eran Domb fe6cbf245c Add remarks.
svn path=/trunk/mcs/; revision=22690
2004-02-02 09:14:06 +00:00
Eran Domb ad46274f6f Add rowId to DataRow. Initiate new rows with id -1. These is mostly for preformance improvement.
When adding a row to the row collection do not check the IndexOf(..). Instead check for rowId.
When adding a lot of rows to a large table this is a major improvemt.

svn path=/trunk/mcs/; revision=22689
2004-02-02 09:07:46 +00:00
Eran Domb 026e1f75fd Add Indentation to xml only if we create the XmlWriter.
Add xmlns attribute to the DataSet even if namespace is empty string for interoperability with MS.NET.

svn path=/trunk/mcs/; revision=22688
2004-02-02 09:01:23 +00:00
Jordi Mas i Hernandez a14a96df2b fixes GdiGetFamilyName
svn path=/trunk/mcs/; revision=22687
2004-02-02 08:37:37 +00:00
Miguel de Icaza fc5d02f8bc 2004-02-01 Miguel de Icaza <[email protected]>
* syntax.cs, interval.cs: Applied patch from Marco Cravairo
	through Francois Beauchemin who reviewed on the mailing list.
	This fixes bug #45976

svn path=/trunk/mcs/; revision=22684
2004-02-02 03:02:08 +00:00
Miguel de Icaza 19933674c7 Improve test
svn path=/trunk/mcs/; revision=22683
2004-02-02 00:59:11 +00:00
Jordi Mas i Hernandez 923c104ea5 Syncs StructLayout with GdipBitmapData at bitmap.c. Bug fix
svn path=/trunk/mcs/; revision=22675
2004-02-01 18:19:54 +00:00
Martin Baulig 3cbdfc89d5 Make life a bit easier for me ....
svn path=/trunk/mcs/; revision=22673
2004-02-01 15:54:23 +00:00
Martin Baulig 2c5f612245 Make this compile with csc.
svn path=/trunk/mcs/; revision=22672
2004-02-01 15:53:50 +00:00
Martin Baulig 9d193502e8 2004-02-01 Martin Baulig <[email protected]>
* mini.c (MTYPE_PARAM_TO_TYPE): Method type arguments are stored
	in `ginst->mtype_argv'.

svn path=/trunk/mono/; revision=22671
2004-02-01 15:47:54 +00:00
Martin Baulig 3efb90bf99 2004-02-01 Martin Baulig <[email protected]>
* loader.c (method_from_methodspec): Use `ginst->mtype_argc/v' for
	method type arguments.

svn path=/trunk/mono/; revision=22670
2004-02-01 15:46:04 +00:00
Alon Gazit 0bde8323be fixed a paging mechanism problem in the method InitializePager().
svn path=/trunk/mcs/; revision=22669
2004-02-01 15:27:46 +00:00
Alon Gazit 03e04c7d38 fix little error in GetDirectory().
svn path=/trunk/mcs/; revision=22668
2004-02-01 12:09:26 +00:00
Miguel de Icaza e33afb5477 Add new file
svn path=/trunk/mono/; revision=22663
2004-02-01 02:35:03 +00:00
Miguel de Icaza 66280ca0d6 Ok, release
svn path=/trunk/mono/; revision=22662
2004-02-01 02:30:42 +00:00
Martin Baulig 9f5bb79881 2004-01-31 Martin Baulig <[email protected]>
* get.c (get_methodspec): It's a methoddef or ref token.

svn path=/trunk/mono/; revision=22661
2004-01-31 20:14:21 +00:00
Miguel de Icaza 0008bc38a9 Update
svn path=/trunk/mono/; revision=22659
2004-01-31 19:46:55 +00:00
Miguel de Icaza 38f79a2f2c 2004-01-31 Miguel de Icaza <[email protected]>
* mini.c: Add comments, replace CEE_XXX+128 with OP_XXX to
	facilitate grepping.

svn path=/trunk/mono/; revision=22658
2004-01-31 17:38:26 +00:00
Zoltan Varga 2de7c07145 2004-01-31 Zoltan Varga <[email protected]>
* setenv.cs: Make this run on platforms without setenv.

svn path=/trunk/mono/; revision=22657
2004-01-31 15:50:19 +00:00
Nick Drochak 21d8c5a64b 2004-01-31 Nick Drochak <[email protected])
* ConvertTest: Cannot partially qualify the type name with csc.

svn path=/trunk/mcs/; revision=22656
2004-01-31 11:58:33 +00:00
David Sheldon e5b5a19eae Oops, forgot to make this change before committing.
2003-01-31  David Sheldon      <[email protected]>

  *  FromBase64Transform.cs: Removed needless catch and rethrow.

svn path=/trunk/mcs/; revision=22655
2004-01-31 10:56:00 +00:00
David Sheldon 8340219ba7 2003-01-31 David Sheldon <[email protected]>
* FromBase64Transform.cs: Fixes to what happens if a character in the
   input stream is not in the lookup table. IndexOutOfRangeException was
   wrong.

2004-01-31  David Sheldon  <[email protected]>

  * ConvertTest.cs: Added test for malformed Base64. Bug 52928

svn path=/trunk/mcs/; revision=22654
2004-01-31 10:53:44 +00:00
David Sheldon ea7036a5a7 2004-01-31 David Sheldon <[email protected]>
* FileSystemInfoTest.cs: Added code to skip CreationTime tests
       on Unix, as it doesn't support them.

svn path=/trunk/mcs/; revision=22653
2004-01-31 10:06:44 +00:00
David Sheldon 60bb1a858d 2004-01-31 David Sheldon <[email protected]>
* FileSystemInfoTest.cs: Change tests for default times to
       be TimeZone agnostic by conversion to universal time before
       testing.

svn path=/trunk/mcs/; revision=22652
2004-01-31 09:55:32 +00:00
Miguel de Icaza abfecc3889 2004-01-31 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Applied patch from Marek Safar to fix bug 53386

svn path=/trunk/mcs/; revision=22651
2004-01-31 07:04:33 +00:00
Miguel de Icaza 84e70e7fcd Remove gdiplus hack
svn path=/trunk/mono/; revision=22650
2004-01-31 06:30:11 +00:00
Miguel de Icaza e0a7e3e6e1 Removed gdiplus from the C# module
svn path=/trunk/mcs/; revision=22647
2004-01-31 06:26:05 +00:00
Miguel de Icaza 050593f6fd Remove GDI+ from build
svn path=/trunk/mcs/; revision=22644
2004-01-31 06:23:54 +00:00
Miguel de Icaza 1c69eeeb31 Indendation
svn path=/trunk/mcs/; revision=22633
2004-01-31 03:50:14 +00:00
Miguel de Icaza 573cf138ee New errors, handled on the anonymous-methods branch
svn path=/trunk/mcs/; revision=22632
2004-01-31 03:49:52 +00:00
Miguel de Icaza 4181b234fd Update error list
svn path=/trunk/mcs/; revision=22631
2004-01-31 03:49:33 +00:00
Miguel de Icaza 9bcc7e7633 Update
svn path=/trunk/mcs/; revision=22630
2004-01-31 03:49:21 +00:00
Miguel de Icaza 1f2bd461cf 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.

svn path=/trunk/mcs/; revision=22625
2004-01-31 03:40:53 +00:00
Miguel de Icaza 9518577ea4 Indentation
svn path=/trunk/mono/; revision=22624
2004-01-31 03:38:30 +00:00
Miguel de Icaza ce54b0aec1 Format update
svn path=/trunk/mono/; revision=22623
2004-01-31 03:36:04 +00:00
Miguel de Icaza 177e2ba90a Documentation updates
svn path=/trunk/mono/; revision=22622
2004-01-31 03:35:41 +00:00
Miguel de Icaza 45fdd8f3bd Formatting changes
svn path=/trunk/mono/; revision=22621
2004-01-31 03:34:57 +00:00
Miguel de Icaza 9a9d03ac23 Improve error handling
svn path=/trunk/mcs/; revision=22620
2004-01-31 03:34:21 +00:00
Jackson Harper b6c017b795 * Control.cs: Ensure that dynamically loaded controls are
initialized.

svn path=/trunk/mcs/; revision=22618
2004-01-30 21:53:57 +00:00
César Natarén 881f98f89f added some really important todos
svn path=/trunk/mcs/; revision=22617
2004-01-30 20:55:15 +00:00
Duncan Mak b84ccfd050 (AddPie): Corrected arguments sent to P/Invoke. This fixes the strange
NaNs we were getting when we tried to draw Paths with a Pie figure.

svn path=/trunk/mcs/; revision=22616
2004-01-30 19:40:18 +00:00
Duncan Mak 09736d0fe2 Add prototype for"ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem"
and "ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem"
to fix the build.

svn path=/trunk/mono/; revision=22615
2004-01-30 18:56:46 +00:00
Jackson Harper 2d09971ed5 * TemplateControlCompiler.cs: Call ToString on the types hashcode,
the build method takes strings not ints.

svn path=/trunk/mcs/; revision=22614
2004-01-30 18:06:26 +00:00
Tim Coleman 4b760e12f5 2004-01-30 Tim Coleman <[email protected]>
* team.xml:
		Update my location.  Now just Waterloo.

svn path=/trunk/mono/; revision=22613
2004-01-30 17:37:36 +00:00
Zoltan Varga 2a316d05f2 2004-01-30 Zoltan Varga <[email protected]>
* Makefile.am: Set SHELL to bash, since some commands require it.

svn path=/trunk/mono/; revision=22612
2004-01-30 17:27:04 +00:00
Zoltan Varga dc31fd79f6 2004-01-30 Zoltan Varga <[email protected]>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMem): New icall.
	(ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem): New icall.

svn path=/trunk/mono/; revision=22611
2004-01-30 17:01:36 +00:00
Zoltan Varga b426d97f26 2004-01-30 Zoltan Varga <[email protected]>
* Marshal.cs: Implement AllocCoTaskMem and FreeCoTaskMem.

svn path=/trunk/mcs/; revision=22610
2004-01-30 17:00:34 +00:00
Jordi Mas i Hernandez e1379986a0 serveral new methods for graphics.cs
svn path=/trunk/mcs/; revision=22609
2004-01-30 16:21:15 +00:00
Jordi Mas i Hernandez 09906af2c4 fixes unicode string in DrawString and memory leak in certain cases
svn path=/trunk/mcs/; revision=22607
2004-01-30 16:01:54 +00:00
Ravindra 56f30945db Added more methods to TextureBrush.cs and gdipFunctions.cs.
svn path=/trunk/mcs/; revision=22604
2004-01-30 13:52:19 +00:00
Ravindra ee4d1f0d97 Added TextureBrush.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=22603
2004-01-30 13:44:53 +00:00
Ravindra 2f2c2f329f Added methods for TextureBrush in gdipFunctions.cs.
svn path=/trunk/mcs/; revision=22602
2004-01-30 13:28:35 +00:00
Ravindra c96546517b Implemented texture brush.
svn path=/trunk/mcs/; revision=22601
2004-01-30 13:20:33 +00:00
Sebastien Pouliot 764f2f2c9f 2004-01-30 Sebastien Pouliot <[email protected]>
* DateTimeTest.cs: Modified X509Certificate test to use
	ToUniversalTime ().

svn path=/trunk/mcs/; revision=22600
2004-01-30 13:16:40 +00:00
Jordi Mas i Hernandez 4e771109e8 added testing stuff for System.Drawing
svn path=/trunk/mcs/; revision=22599
2004-01-30 12:10:36 +00:00
Jordi Mas i Hernandez db6690c1f4 testing toString is irrelevant. Also diferent locales do format numbering different and then you do not pass the test
svn path=/trunk/mcs/; revision=22598
2004-01-30 11:42:41 +00:00
Zoltan Varga 1ffa6b78e0 2004-01-29 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Add support for
	custom marshalling of valuetypes.

	* marshal.c: Fix some warnings.

svn path=/trunk/mono/; revision=22597
2004-01-30 10:05:06 +00:00
Duncan Mak d072b7feca * gdipFunctions.cs
* Graphics.cs: Indentation fixes, removed long dangling lines and
extra spaces.

* Graphics.cs (IsVisible): Renamed variable to not use hungarian
notation.

* bitmap.c (gdip_bitmap_dispose): Add a check for own_scan0.
(GdipCreateBitmapFromScan0): Set own_scan0 flag if we own the
incoming buffer, scan0.

* gdip.h (GdipBitmapData): Add new field, own_scan0.

svn path=/trunk/mcs/; revision=22596
2004-01-29 22:23:50 +00:00
Martin Baulig ba8b9037cc 2004-01-29 Martin Baulig <[email protected]>
* expression.cs (Invocation.DoResolve): If we're a
	`ConstructedType', then we're actually a generic method, so
	rewrite the expr as a GenericMemberAccess.

	* cs-parser.jay (member_name): Don't use `namespace_or_type_name'
	here; manually parse it into a string.

svn path=/trunk/mcs/; revision=22594
2004-01-29 18:55:52 +00:00
Martin Baulig c9870b410a 2004-01-29 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `mtype_argc' and `mtype_argv'
	for generic method parameters.

	* reflection.c (method_encode_methodspec): Write the uninflated
	signature into the methodspec table.
	(mono_reflection_inflate_method_or_ctor): Ensure `res->declaring'
	is always the uninflated method.
	(reflection_methodbuilder_to_mono_method): Copy the generic
	parameters from the MethodBuilder into `header->gen_params'.

svn path=/trunk/mono/; revision=22593
2004-01-29 18:50:36 +00:00
Sanja Gupta 265babb090 ChangeLog: Modifeid ChangeLog
FontFamily.cs: Implemented one constructor and few methods

svn path=/trunk/mcs/; revision=22592
2004-01-29 15:14:05 +00:00
Zoltan Varga da90bbb845 2004-01-29 Zoltan Varga <[email protected]>
* class.c (mono_class_from_generic_parameter): Fix warning.

svn path=/trunk/mono/; revision=22591
2004-01-29 14:03:12 +00:00
Gonzalo Paniagua Javier 8c8f6f46d7 stylized
svn path=/trunk/mcs/; revision=22590
2004-01-29 10:35:51 +00:00
Sanja Gupta 5510f3a0aa changelog: Updated changelog
FontCollection.cs: Implemented Dispose() method
InstalledFontCollection.cs: Removed Console.WriteLine statements.
PrivateFontCollection.cs: Implemented AddMemoryFont() method.

svn path=/trunk/mcs/; revision=22589
2004-01-29 10:08:58 +00:00
Jordi Mas i Hernandez 1ee942cc66 fixes font collection
svn path=/trunk/mcs/; revision=22588
2004-01-29 09:02:22 +00:00
Jordi Mas i Hernandez b12c09878a font enhancements
svn path=/trunk/mcs/; revision=22587
2004-01-29 08:42:06 +00:00
Gonzalo Paniagua Javier 88bd37e884 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: fixlet for session events hook.

	* System.Web.Compilation/AspGenerator.cs: handle more possible errors
	in global.asax file.

	* System.Web.Compilation/BaseCompiler.cs: added utility methods for
	creating <object> related properties and fields.

	* System.Web.Compilation/GlobalAsaxCompiler.cs: keep around applications
	and session scope objects builders. Also a list of imports and
	assemblies added in global.asax.

	* System.Web.Compilation/TemplateControlCompiler.cs: use base class
	methods for <object> stuff.

	* System.Web.UI/ApplicationFileParser.cs: check for error in directives.
	Use GlobalAsaxCompiler.CompileApplicationType for compiling.

	* System.Web.UI/ObjectTagBuilder.cs: load the Type and check for errors.

	* System.Web.UI/TemplateParser.cs: add assemblies and imports from
	global.asax.

	Now we properly create accessors for session and application objects in
	the application itself, pages and controls. First step for fixing
	bug #53387.

svn path=/trunk/mcs/; revision=22584
2004-01-28 22:19:23 +00:00
Sanja Gupta f6b94773b2 changelog: Modified the changelog
FontCollection.cs: Implemented few methods.
InstalledFontCollection.cs: Implemented few methods.
PrivateFontCollection.cs: Implemented few methods.

svn path=/trunk/mcs/; revision=22582
2004-01-28 17:18:23 +00:00
Sanja Gupta 64034a91cc ChangeLog: Modified the ChangeLog
gdipFunctions.cs: Added FontFamily and FontCollection methods
FontFamily.cs: Implemented missing functionalities.

svn path=/trunk/mcs/; revision=22581
2004-01-28 17:14:35 +00:00
Atsushi Eno fa84bb251d 2004-01-28 Atsushi Enomoto <[email protected]>
* DTDReader.cs : Added Normalization.  Parameter Entity declaration
	  should block invalid characters. (GEDecl should be fixed as well.)
	* XmlConstruct.cs : Should allow surrogate chars.
	* XmlNotation.cs : When prefix is empty (i.e. almost all cases)
	  Name should not add ':'. Patch by Boris Kirzner.
	* XmlTextReader.cs : Modified private ReadCharacterReference() to
	  return the character (or -1 when should not return anything).
	  Now Text character reference are checked their character range.
	  Set DTDReader.Normalization as well as the reader itself.

svn path=/trunk/mcs/; revision=22580
2004-01-28 16:27:49 +00:00
Tim Coleman ed01c03f13 Patch submitted by Joerg Rosenkranz:
2004-01-26  Joerg Rosenkranz  <[email protected]>

        * System.Data.OracleClient.Oci/OciCalls.cs:
                Changed binding of OciStmtPrepare from string
                to byte [].
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Character types are converted using UTF8 encoding.
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                SQL statement to be prepared is converted to byte
                array using UTF8 encoding.

svn path=/trunk/mcs/; revision=22579
2004-01-28 15:34:04 +00:00
Sebastien Pouliot 1b2a3b64e6 2004-01-28 Sebastien Pouliot <[email protected]>
* DateTimeTest.cs: Added a new unit test (X509Certificate) to better
	detect regressions in DateTime. See bugzilla entry #53461.

svn path=/trunk/mcs/; revision=22578
2004-01-28 14:41:11 +00:00
Paolo Molaro ee66e1fab8 Wed Jan 28 14:04:58 CET 2004 Paolo Molaro <[email protected]>
* mini.c: fixed buglet in initobj generic implementation for references.

svn path=/trunk/mono/; revision=22577
2004-01-28 12:47:17 +00:00
Gonzalo Paniagua Javier e1e0e01858 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: attach all events from Type and BaseType
	at the same time. Fixes bug #53454.

svn path=/trunk/mcs/; revision=22576
2004-01-28 12:23:29 +00:00
Martin Baulig f643cbf692 2004-01-28 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsEqual): New static method.
	(TypeManager.FilterWithClosure): Call TypeManager.IsEqual() to
	check for equality instead of using `=='.

svn path=/trunk/mcs/; revision=22575
2004-01-28 11:40:38 +00:00
Jordi Mas i Hernandez 678e26997a graphics.cs class sample
svn path=/trunk/mcs/; revision=22574
2004-01-28 10:51:15 +00:00
Alon Gazit 92c75c2c25 prevent NullReferenceException in RenderAllDays().
svn path=/trunk/mcs/; revision=22573
2004-01-28 10:16:40 +00:00
Jordi Mas i Hernandez f6efd279e5 new methods for graphics.cs
svn path=/trunk/mcs/; revision=22572
2004-01-28 08:44:51 +00:00
Atsushi Eno 230ac4914f 2004-01-28 Atsushi Enomoto <[email protected]>
* xslttest.cs : Now it tests against XPathDocument. Reduced error msgs.

svn path=/trunk/mcs/; revision=22571
2004-01-28 07:32:55 +00:00
Atsushi Eno 325b8fddcf 2004-01-28 Atsushi Enomoto <[email protected]>
* XPathNavigatorCommonTests.cs : Added MoveToNamespace and IsDescendant.
	* XPathNavigatorTests.cs : Close XmlTextReader.

svn path=/trunk/mcs/; revision=22570
2004-01-28 07:30:59 +00:00
Atsushi Eno d1218f61d0 2004-01-28 Atsushi Enomoto <[email protected]>
* xmltest.cs : several bugfixes.

svn path=/trunk/mcs/; revision=22569
2004-01-28 07:27:57 +00:00
Atsushi Eno 229aad73ed 2004-01-28 Atsushi Enomoto <[email protected]>
* XmlDocumentTypeTests.cs : Added IncorrectInternalSubset().
	* XmlNodeTests.cs : Since .NET 1.1 also prohibits multiple document
	  element, removed extraneous test switch for InsertBefore().
	* XsdParticleValidationTests.cs,
	  XsdValidatingReaderTests.cs : These test class names are too
	  ambiguous so just renamed them. (No bug reports are found on them,
	  but should be warned in the meantime.)

svn path=/trunk/mcs/; revision=22568
2004-01-28 07:26:43 +00:00
Atsushi Eno 2ea27f0a02 2004-01-28 Atsushi Enomoto <[email protected]>
* DTDReader.cs : Make sure that parameter entities are not allowed
	  inside internal subset unless it appears as a markupdecl.
	* DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
	  a value that indicates *unparsed* entity (i.e. NDATA required).

svn path=/trunk/mcs/; revision=22567
2004-01-28 07:21:05 +00:00
Sebastien Pouliot 597f8a1f6d 2004-01-28 Sebastien Pouliot <[email protected]>
* PermissionRequestEvidenceTest.cs: Added ToString () assertions
	to existing tests.
	* PublisherMembershipConditionTest.cs: Replaced "\r\n" with
	Environment.NewLine.
	* StrongNameTest.cs: Replaced "\r\n" with Environment.NewLine.

svn path=/trunk/mcs/; revision=22565
2004-01-28 04:59:40 +00:00
Sebastien Pouliot ba5e918a66 2004-01-28 Sebastien Pouliot <[email protected]>
* StrongName.cs: XML now use Type.Name (instead of Type.FullName) to
	match the XML generated by MS.

svn path=/trunk/mcs/; revision=22564
2004-01-28 04:56:01 +00:00
Sebastien Pouliot c0b8fef831 2004-01-27 Sebastien Pouliot <[email protected]>
* SecurityElementTest.cs: Added new tests for duplicate attributes
	and multiple attribute order and ToString representation.

svn path=/trunk/mcs/; revision=22562
2004-01-28 04:41:54 +00:00
Sebastien Pouliot b698639770 2004-01-27 Sebastien Pouliot <[email protected]>
* SecurityElement.cs: Attributes are now kept in an ArrayList (but
	still returned in an Hashtable) so the attributes order can be
	kept like MS implementation (but Hashtable cannot guarantee this).

svn path=/trunk/mcs/; revision=22561
2004-01-28 04:40:23 +00:00
Sebastien Pouliot f5568d26ac 2004-01-27 Sebastien Pouliot <[email protected]>
* Exception.cs: Changed ToString to remove the \n when no stack trace
	is present (which fixed a unit test for SecurityException). Changed
	all \n to Environment.NewLine.

svn path=/trunk/mcs/; revision=22558
2004-01-28 01:59:47 +00:00
Gonzalo Paniagua Javier 0add6b40f7 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: use the Cache to store compiled Types. Don't parse
	pages more than once. Thanks to Eric Lindvall for pointing this out.

svn path=/trunk/mcs/; revision=22557
2004-01-28 01:01:12 +00:00
Gonzalo Paniagua Javier 2f300fb212 2004-01-28 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: small speedup for WireUpautomaticEvents. Thanks
	to Eric Lindvall for pointing this out.

svn path=/trunk/mcs/; revision=22556
2004-01-28 00:00:10 +00:00
David Sheldon baad04ed55 2004-01-27 David Sheldon <[email protected]>
* NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
   ICU use digitPattern, not zeroPattern for the spaces after the
   decimal point.

svn path=/trunk/mcs/; revision=22554
2004-01-27 23:38:47 +00:00
Sebastien Pouliot 97ea9088fa 2004-01-27 Sebastien Pouliot <[email protected]>
* FileIOPermission.cs: Added missing ArgumentNullException to
	constructors.

svn path=/trunk/mcs/; revision=22549
2004-01-27 17:59:26 +00:00
Sebastien Pouliot 0d651e1e7c 2004-01-27 Sebastien Pouliot <[email protected]>
* FileIOPermissionTest.cs: Converted to NUnit2. Added a test to show a
	strange behaviour (short/long path) - ignored for now.

svn path=/trunk/mcs/; revision=22548
2004-01-27 17:52:55 +00:00
Lluis Sanchez 450b8bce04 * XmlSchemaImporter.cs: Redefinition of types are not supported. Added a check.
svn path=/trunk/mcs/; revision=22547
2004-01-27 17:36:24 +00:00
Sebastien Pouliot d7b7f617c0 2004-01-27 Sebastien Pouliot <[email protected]>
* FileIOPermissionAttributeTest.cs: Removed GetTempPath from the tests
	as the introduced failures weren't related to the class (test moved to
	FileIOPermissionTest.cs).

svn path=/trunk/mcs/; revision=22546
2004-01-27 17:34:32 +00:00
Bernie Solomon fe1e766a1b 2004-01-27 Bernie Solomon <[email protected]>
* shared.c (_wapi_shm_file): add hostname
	to shared data file names to handle NFS mounted
	.wapi directories.

svn path=/trunk/mono/; revision=22545
2004-01-27 16:06:02 +00:00
Atsushi Eno bbc8ceabde 2004-01-27 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Avoid exception if possible.
	* Iterator.cs : Fixed PrecedingSiblingIterator.MoveNext(). When the
	  nav was positioned at the first, it incorrectly points itself.
	  Don't add names to name table while it is useless and expensive.

svn path=/trunk/mcs/; revision=22544
2004-01-27 15:57:08 +00:00
Atsushi Eno 170cbd44d9 2004-01-27 Atsushi Enomoto <[email protected]>
* XslIf.cs : When content is empty, skip content evaluation.

svn path=/trunk/mcs/; revision=22543
2004-01-27 15:56:09 +00:00
Jordi Mas i Hernandez d04307bed5 new methods for graphics.cs
svn path=/trunk/mcs/; revision=22542
2004-01-27 15:43:09 +00:00
Martin Baulig c26c60fe43 2004-01-27 Martin Baulig <[email protected]>
* class.c (mono_class_from_generic_parameter): Don't create
	`klass->methods' here.

svn path=/trunk/mono/; revision=22541
2004-01-27 15:08:57 +00:00
Zoltan Varga bb66cebb9c 2004-01-27 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (SetCustomAttribute): Move the reading of the
	keyfile to the Save () method.

svn path=/trunk/mcs/; revision=22540
2004-01-27 14:49:55 +00:00
Zoltan Varga aa9cc67aef 2004-01-27 Zoltan Varga <[email protected]>
* AssemblyBuilderTest.cs (TestCustomAttributes): Remove
	KeyFileAttribute from the test, since it must point to a valid keyfile.

svn path=/trunk/mcs/; revision=22539
2004-01-27 14:47:18 +00:00
Nick Drochak b9ce91a104 2004-01-27 Nick Drochak <[email protected]>
* DigestClient.cs:
	* HttpWebRequest.cs:
	* IPv6Address.cs:
	* WebClient.cs:
	* WebConnection.cs:
	* WebConnectionStream.cs: Remove unused variables thus eliminating some
	build warnings.

svn path=/trunk/mcs/; revision=22538
2004-01-27 14:28:18 +00:00
Nick Drochak caf4a43079 2004-01-27 Nick Drochak <[email protected]>
* AppDomainSetupTest.cs: When I run this on .NET the AppBase uses the
	temp dir.  Perhaps a different runner gives different results? I'm
	using 'make run-test' from the mcs directory.

svn path=/trunk/mcs/; revision=22537
2004-01-27 14:23:21 +00:00
Nick Drochak cf5ff95d1b 2004-01-27 Nick Drochak <[email protected]>
* FAMWatcher.cs:
	* FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
	build warnings.

svn path=/trunk/mcs/; revision=22536
2004-01-27 14:00:08 +00:00
Gonzalo Paniagua Javier cd339174f6 mscorlib assembly is in our corlib directory
svn path=/trunk/mono/; revision=22535
2004-01-27 13:46:24 +00:00
Lluis Sanchez a3f57cdbba ContextBoundObject.cs: Removed TODO.
svn path=/trunk/mcs/; revision=22534
2004-01-27 13:35:26 +00:00
Lluis Sanchez 4160809c3b * MapCodeGenerator.cs: Added helper method for generating an attribute
parameter of type enum.
	* XmlAttributeAttribute.cs: little fix.
	* XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
	  for method parameters.
	* XmlMemberMapping.cs: Improved support for members of type "any".
	* XmlReflectionImporter.cs: Improved assignment of the attribute form.
	  If the namespace is explicitly specified, then the form should be
	  qualified. Also fixed issues with the namespace assigned to attributes.
	  This should fix bug #53384.
	* XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
	  methods that return values of type "any". Changed the methods
	  AddSchemaArrayElement and AddSchemaElement, so instead of adding the
	  element, return it, and the caller must add it to the collection.
	  Other fixes in attribute generation.
	* XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
	  generate the AnyType mapping from the type described in the schema.
	  Small fixes regarding IsMixed property of complex types (it means that
	  the type can contain text, so the XmlTextAttribute must be generated).
	* XmlSerializationReaderInterpreter.cs: Reading of members by-order must
	  be only used in the bare+encoded format.

svn path=/trunk/mcs/; revision=22533
2004-01-27 12:43:22 +00:00
Lluis Sanchez 378daeb850 SoapDocumentMethodAttribute.cs: Fixed bug in ResponseNamespace.
svn path=/trunk/mcs/; revision=22532
2004-01-27 12:26:00 +00:00
Lluis Sanchez a3cf3941b4 * SoapProtocolImporter.cs, SoapProtocolReflector.cs: Support methods with
"any" as return type. In this case, the part of the return message contains
	  a reference to the type that describes the "any" element.

svn path=/trunk/mcs/; revision=22531
2004-01-27 12:25:20 +00:00
Lluis Sanchez 700578cbe7 * wstest.cs: Improved the way wsdl documents are downloaded.
* services.xml: updated service list.
	* wsdl.ignore: updated ignore list.
	* client/external/GlobalWeatherTest.cs: new test.
	* client/external/syndicateTest.cs: new test.
	* client/external/TemperatureServiceTest.cs: new test.
	* client/external/BankCodeEJBHomeTest.cs: added comment.
	* server/TestBinding1.asmx, server/TestBinding2.asmx,
	* server/TestBinding3.asmx, server/TestBinding4.asmx: new test services

svn path=/trunk/mcs/; revision=22530
2004-01-27 12:23:45 +00:00
Atsushi Eno 9c85aff822 2004-01-27 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs : Namespace nodes are incorrectly created.
	  This fix should make XPathDocument compatible with XmlDocument.

svn path=/trunk/mcs/; revision=22529
2004-01-27 09:40:23 +00:00
Gonzalo Paniagua Javier 1a07d33a09 2004-01-27 Gonzalo Paniagua Javier <[email protected]>
* CodeGroup.cs: make it build with mcs. This is a BUG.

svn path=/trunk/mcs/; revision=22528
2004-01-27 08:47:39 +00:00
Jackson Harper e18c0b142a * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
null now, dont hadd the header if it does.
	* HttpCacheVaryByParams.cs: Return null if there are no items.

svn path=/trunk/mcs/; revision=22527
2004-01-27 08:42:16 +00:00
Gonzalo Paniagua Javier 1a8e5a4daa 2004-01-27 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: when rendering days, add a LiteralControl containing the
	day before OnDayRender is called. Only generate the default links for
	days when IsSelectable is true after OnDayRender. Fixes bug #53372.

svn path=/trunk/mcs/; revision=22526
2004-01-27 08:33:21 +00:00
Todd Berman 09da0e1a4b 2004-01-26 Todd Berman <[email protected]>
* SoapTcpChannel.cs: fix from Sami Vaaraniemi <[email protected]>

svn path=/trunk/mcs/; revision=22525
2004-01-27 03:36:51 +00:00
Todd Berman faf5428bbc simple sample working soap.tcp message example.
svn path=/trunk/mcs/; revision=22524
2004-01-27 03:13:49 +00:00
Sebastien Pouliot 28c0123404 2004-01-26 Sebastien Pouliot <[email protected]>
* CodeGroupTest.cs: Replaced "\r\n" with Environment.NewLine.

svn path=/trunk/mcs/; revision=22523
2004-01-27 02:59:02 +00:00
Sebastien Pouliot 41528d69e9 2004-01-26 Sebastien Pouliot <[email protected]>
* CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
	Equals so it can compile with mcs.
	* PolicyLevel.cs: Minor changes to use the new empty constructors in
	[Named]PermissionSet.

svn path=/trunk/mcs/; revision=22522
2004-01-27 02:41:18 +00:00
Sebastien Pouliot 49e2fdb66b 2004-01-26 Sebastien Pouliot <[email protected]>
* NamedPermissionSet.cs: Changed internal constructor
	NamedPermissionSet (SecurityElement e) to NamedPermissionSet ().
	* PermissionSet.cs: Changed internal constructor
	PermissionSet (SecurityElement e) to PermissionSet ().

svn path=/trunk/mcs/; revision=22521
2004-01-27 02:35:40 +00:00
Duncan Mak 1052cc23c1 Oops, typo.
svn path=/trunk/mcs/; revision=22520
2004-01-27 00:35:47 +00:00
Duncan Mak 81efc9c143 * bitmap.c (GdipCreateBitmapFromScan0): Use GdipAlloc here instead
of malloc.
(gdip_bitmap_dispose): Call GdipFree on bitmap->data.scan0 here.

svn path=/trunk/mcs/; revision=22519
2004-01-27 00:34:59 +00:00
Atsushi Eno 65f597c8e7 2004-01-26 Atsushi Enomoto <[email protected]>
* DTMXPathDocument.cs : CreateNavigator() should return the first root
	  as a clone.
	* DTMXPathNavigator.cs : ComparePosition() incorrectly compared
	  attributes and namespaces orders.  Implemented IsSamePosition() more
	  efficient.  MoveToFirstNamespace() should return false when the
	  current node is either attribute or namespace.  Fixed IsDescendant()
	  which looks resulted in incorrect behavior.

svn path=/trunk/mcs/; revision=22517
2004-01-26 22:17:52 +00:00
Atsushi Eno acc5410984 2004-01-26 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : quick performance fix.
	  Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)

svn path=/trunk/mcs/; revision=22514
2004-01-26 20:03:50 +00:00
Gonzalo Paniagua Javier 5c450c3eec 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: fixed condition for removal from the watches list.

svn path=/trunk/mcs/; revision=22513
2004-01-26 19:38:55 +00:00
Duncan Mak 6f09d13cbd (GdipDrawPath): Doh! Added stupid breaks inside the
switch, so we can draw simple paths (lines) now. For more complex
curves, the array is holding some NaNs, so I'll need to look into
that.

svn path=/trunk/mcs/; revision=22512
2004-01-26 19:08:58 +00:00
Duncan Mak b13c7ea859 (GdipCreateBitmapFromScan0): Set allocate memory for scan0 if it
is NULL. Thanks to Jordi for fixing this, we can now write out to
a file again.

svn path=/trunk/mcs/; revision=22511
2004-01-26 19:00:58 +00:00
Zoltan Varga a3941568f1 2004-01-26 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Disable trimming of .dll
	extension since it does not work with libraries named lib<FOO>.dll.so.

svn path=/trunk/mono/; revision=22510
2004-01-26 18:43:36 +00:00
Atsushi Eno 5dc2265c13 2004-01-26 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs :
	  - DTDNode's BaseURI should not always refer to that of DTD's.
	  - Use absolute URI's .ToString() instead of AbsolutePath.
	* DTDReader.cs : Throw XmlException for illegal character references.
	* DTDValidatingReader.cs :
	  - Share XmlResolver when the actual reader is XmlTextReader.
	    (MS's XmlValidatingReader and XmlTextReader do this.)
	  - Added its own EntityHandling property.
	* XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
	* XmlReader.cs,
	  XmlTextReader.cs : Added new NET_1_2 members.
	* XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
	* XmlEntityReference.cs : Forgot to add, the real fix by Boris.

svn path=/trunk/mcs/; revision=22509
2004-01-26 18:25:39 +00:00
Atsushi Eno 90787b57b5 2004-01-26 Atsushi Enomoto <[email protected]>
* XsdParticleValidationState.cs :
	  - Now it uses ContentTypeParticle as inputs, so no GroupRef
	    should occur anymore.
	  - xs:any should use ResolvedProcessContents. It fixes some errors.
	* XsdValidatingReader.cs :
	  - Attribute wildcard validation should use ResolvedProcessContents.
	  - Use newly added XmlResolver field to resolve external schemas
	    specified by xsi:schemaLocation attributes.
	  - Added warning handler and raise warning events when instance-
	    specified schemas could not be resolved.
	  - xs:anyType should not be treated as a primitive datatype at
	    xsi:type resolution.
	  - Schema type was incorrectly remained when the element is laxly
	    validated.

svn path=/trunk/mcs/; revision=22508
2004-01-26 18:24:55 +00:00
Atsushi Eno 110c7c12fd 2004-01-26 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Raise warning event when external schema could not
	  be resolved.
	* XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
	* XmlSchemaAny.cs : Fixed incorrect occurence computation.
	* XmlSchemaChoice.cs : compiledItems were incorrectly appended.
	* XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
	* XmlSchemaGroupBase.cs : Here we should not get optimized particle
	  because it might cause infinite loop.
	* XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
	  exception (only occur with ValidationEventHandler).  Fixed Occurence
	  embedding logic that was useless because of particle optimization.

svn path=/trunk/mcs/; revision=22507
2004-01-26 18:24:22 +00:00
Jordi Mas i Hernandez a7de5f45cf more functions implemented in graphics.cs
svn path=/trunk/mcs/; revision=22506
2004-01-26 17:57:37 +00:00
Sebastien Pouliot add9553b90 2004-01-26 Sebastien Pouliot <[email protected]>
* crypto: Added NTLM. Changed email address.

svn path=/trunk/mono/; revision=22505
2004-01-26 16:02:42 +00:00
Sebastien Pouliot b29346f49c 2004-01-26 Sebastien Pouliot <[email protected]>
* PermissionSetAttribute.cs: Implemented CreatePermissionSet.

svn path=/trunk/mcs/; revision=22504
2004-01-26 16:00:25 +00:00
Gonzalo Paniagua Javier d8aaec6ce5 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
	handling for the case when the same packet also contains the actual
	[2-5]xx response.

svn path=/trunk/mcs/; revision=22503
2004-01-26 15:56:47 +00:00
Martin Baulig 6650b44e1a 2004-01-26 Martin Baulig <[email protected]>
* dis/main.cs (--show-tokens): New command line argument to show
	type tokens in the disassembly.

	* dis/get.c (get_typedef, get_typespec, get_typeref): If
	`show_tokens', include the token in the type name.
	(get_type): Do some type parsing here and include the token in the
	returned type name if requested.
	(get_method): Include tokens if requested.

svn path=/trunk/mono/; revision=22502
2004-01-26 15:44:01 +00:00
Paolo Molaro ec26c7c704 Mon Jan 26 16:15:03 CET 2004 Paolo Molaro <[email protected]>
* sockets.h: remove obsolete soklen_t typedef.

svn path=/trunk/mono/; revision=22501
2004-01-26 15:43:43 +00:00
Sebastien Pouliot 1df73a1114 2004-01-26 Sebastien Pouliot <[email protected]>
* ApplicationDirectoryMembershipCondition.cs: Basic (incomplete) Check.
	* PermissionRequestEvidence.cs: Added IBuiltInEvidence (to please
	corcompare). Now use SecurityElement in ToString.

svn path=/trunk/mcs/; revision=22500
2004-01-26 15:42:02 +00:00
Martin Baulig 7f3ee97a32 2004-01-26 Martin Baulig <[email protected]>
* gen-37.cs: New generics test.

svn path=/trunk/mcs/; revision=22499
2004-01-26 15:22:19 +00:00
Sebastien Pouliot f298e12dd4 2004-01-26 Sebastien Pouliot <[email protected]>
* AllMembershipCondition.cs: Clean up. Removed FIXME.
	* ApplicationDirectory.cs: Added IBuiltInEvidence (to please corcompare).
	* Hash.cs: Added IBuiltInEvidence (to please corcompare).
	* Publisher.cs: Added IBuiltInEvidence (to please corcompare).
	* Site.cs: Added IBuiltInEvidence (to please corcompare).
	* StrongName.cs: Added IBuiltInEvidence (to please corcompare). Now use
	SecurityElement in ToString. Removed TODO on CreateIdentityPermission
	(evidence isn't required in this case).

svn path=/trunk/mcs/; revision=22498
2004-01-26 15:21:25 +00:00
Gonzalo Paniagua Javier 3e4be0adb1 2004-01-26 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: check if the FileSystemWatcher is in WaitForChange
	and call Monitor.PulseAll in that case.

svn path=/trunk/mcs/; revision=22497
2004-01-26 15:19:12 +00:00
Duncan Mak d6df533686 Add more details to the ChangeLog.
svn path=/trunk/mcs/; revision=22496
2004-01-26 15:14:01 +00:00
Martin Baulig fde1c3d17d Killed some dead code.
svn path=/trunk/mcs/; revision=22495
2004-01-26 15:13:34 +00:00
Martin Baulig 19d937eadc 2004-01-26 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.CurrentType): New public field.

	* expression.cs (This.ResolveBase): If we have an
	`ec.TypeContainer.CurrentType', use it instead of
	`ec.ContainerType'.

	* class.cs (TypeContainer.DefineType): If we're a generic type,
	create the `CurrentType' (unresolved).
	(TypeContainer.GenericType): New private field.
	(TypeContainer.DefineMembers): If we have a `CurrentType', resolve
	it and store it in `GenericType' before creating the MemberCache.
	(TypeContainer.GetMembers): If we have a `GenericType', call
	TypeManager.FindMembers() on it.

	* interface.cs (Interface.GenericType): New private field.
	(Interface.DefineType): If we're a generic type, create the
	`CurrentType' (unresolved).
	(Interface.DefineMembers): If we have a `CurrentType', resolve it
	and store it in `GenericType' before creating the MemberCache.
	(Interface.GetMembers): If we have a `GenericType', call
	TypeManager.FindMembers() on it.

svn path=/trunk/mcs/; revision=22494
2004-01-26 15:11:14 +00:00
Duncan Mak 5a0880e5b9 * bitmap.c:
* graphics.c: Use C style comments instead of C++ style.

* pen.c (clone_dash_array): new helper function.
(GdipClonePen): Copy matrix and dash_array, removed the FIXME.

svn path=/trunk/mcs/; revision=22493
2004-01-26 15:08:33 +00:00
Sebastien Pouliot 9e08aa6443 2004-01-26 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: Save will now strongname the assembly is (a) a
	StrongName is present and (b) the signature isn't delayed.

svn path=/trunk/mcs/; revision=22492
2004-01-26 14:35:45 +00:00
Eran Domb 67d25ffad3 XmlConstants.cs : Added some constants.
DataColumn.cs : Added a method to retrive AutoIncrement value.
XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
	parent table column.
XmlDiffLoader.cs : Convert the value comming from the xml.
XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
(ReadXmlSchemaElement) : Set the locale of the dataset.
(ReadColumn) : Set the column type. Find if the column is AutoIncrement.
(GetColumnType) : New method to get the column type from the attribute value.
(ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
	 and add the constraint to the table.
(ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
	 the table.
DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
Writing more information to the schema for interoperability with ms.net.
Improve diffgarm writing mode.

svn path=/trunk/mcs/; revision=22491
2004-01-26 10:04:28 +00:00
Ravindra 4be998ee45 Added System.Drawing_test.dll.sources to create System.Drawing_test.dll.
svn path=/trunk/mcs/; revision=22490
2004-01-26 08:53:58 +00:00
Ravindra f77f2dd860 Added Tests for PointF, Size and SizeF structures.
svn path=/trunk/mcs/; revision=22489
2004-01-26 08:48:17 +00:00
Gonzalo Paniagua Javier d0335894dd updated browser capabilities file
svn path=/trunk/mono/; revision=22488
2004-01-26 07:45:52 +00:00
César Natarén 7cd5686651 entry
svn path=/trunk/mcs/; revision=22484
2004-01-26 02:02:10 +00:00
César Natarén 888430e04d new tests added to the list
svn path=/trunk/mcs/; revision=22483
2004-01-26 01:44:29 +00:00
César Natarén bc727019bb tests for relational operators
svn path=/trunk/mcs/; revision=22482
2004-01-26 01:43:35 +00:00
César Natarén 927fb6a4bd added ChangeLog file
svn path=/trunk/mcs/; revision=22481
2004-01-26 01:41:10 +00:00
César Natarén 6064c98c60 changelog entry
svn path=/trunk/mcs/; revision=22480
2004-01-26 01:29:27 +00:00
César Natarén d2860480bd 2004-01-25 Cesar Lopez Nataren <[email protected]>
* Relational.cs: Initial generation of CIL for relational operators.

svn path=/trunk/mcs/; revision=22479
2004-01-26 01:28:43 +00:00
Philip Van Hoof 48b347a3e8 Fixed some compiler warnings
svn path=/trunk/mcs/; revision=22478
2004-01-25 23:40:12 +00:00
David Sheldon 5957758377 2004-01-25 David Sheldon <[email protected]>
* UrlTest.cs:  Changed "\r\n" in strings to use
       Environment.NewLine.

svn path=/trunk/mcs/; revision=22477
2004-01-25 18:56:46 +00:00
Jordi Mas i Hernandez 7fc8b3b885 enhanments to graphics.cs
svn path=/trunk/mcs/; revision=22475
2004-01-25 12:30:08 +00:00
Martin Baulig df2e57674f 2004-01-25 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_type): Added support for
	MONO_TYPE_GENERICINST.

	* reflection.c (mono_reflection_inflate_method_or_ctor): Also
	inflate methods on open constructed types.

svn path=/trunk/mono/; revision=22474
2004-01-25 11:29:21 +00:00
David Sheldon 50b364fbe2 2004-01-25 David Sheldon <[email protected]>
* Test/System.Security.Policy/PublisherTest.cs, SiteTest.cs:
  Changed "\r\n" in strings to use Environment.NewLine.


  * System.Security/SecurityElement.cs: Changed indentation in ToString, it seems
  MS indent by 3 spaces, not 4. Also added NewLine to childless
	elements.

svn path=/trunk/mcs/; revision=22473
2004-01-25 11:13:07 +00:00
Martin Baulig 8a963d3b0a 2004-01-25 Martin Baulig <[email protected]>
* MonoGenericInst.cs: Honor BindingFlags.DeclaredOnly.

svn path=/trunk/mcs/; revision=22472
2004-01-25 11:09:40 +00:00
Gonzalo Paniagua Javier c57d82fab4 don't create the ManualResetEvent in the constructor
svn path=/trunk/mcs/; revision=22471
2004-01-24 22:40:56 +00:00
Gonzalo Paniagua Javier 7389c6267d 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
	bug #53168. Avoid the creation of the ManualResetEvent in class Worker
	whenever possible.

svn path=/trunk/mcs/; revision=22470
2004-01-24 22:13:28 +00:00
Gonzalo Paniagua Javier 42dad424eb Small fix for test
svn path=/trunk/mcs/; revision=22469
2004-01-24 21:08:20 +00:00
Rafael Teixeira fb3b931072 2004-01-21 Rafael Teixeira <[email protected]>
* FileSystem.cs:
		Implemented Dir() now throws the right exception

svn path=/trunk/mcs/; revision=22468
2004-01-24 20:56:44 +00:00
Gonzalo Paniagua Javier a7f18e1f72 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
* object.c: fire ProcessExit event in the root AppDomain after running
	Main. Fixes bug #53299.

svn path=/trunk/mono/; revision=22467
2004-01-24 18:46:41 +00:00
Duncan Mak 636e1eda1f 2004-01-23 Duncan Mak <[email protected]>
* graphics.c (GdipDrawPath): Implemented.

        * Graphics.cs (DrawPath): Implemented.

        * GraphicsPath.cs (AddEllipse): Added.

svn path=/trunk/mcs/; revision=22466
2004-01-24 18:43:58 +00:00
David Sheldon 68bd4245bb 2004-01-24 David Sheldon <[email protected]>
* SecurityElement.cs: Changed newline distribution in ToString.
         Matches MS better.

       * CodeAccessPermissionTest.cs (To_String): Compared
       Environment.NewLine rather than "\r\n"

svn path=/trunk/mcs/; revision=22465
2004-01-24 14:22:21 +00:00
Gonzalo Paniagua Javier 8fc4e8ba06 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: if we have a pending async event, delay socket closing
	until EndX is called. Fixes bug #53229. Check parameters and if the
	socket has been disposed. Implemented IDisposable explicitly. The
	threads created have IsBackground = true now.

svn path=/trunk/mcs/; revision=22464
2004-01-24 13:07:14 +00:00
Rafael Teixeira 085a64e6bf Corrected literal suffixes in test source file
svn path=/trunk/mcs/; revision=22463
2004-01-24 12:31:09 +00:00
David Sheldon 1bbe63c8c0 2004-01-24 David Sheldon <[email protected]>
* AssemblyBuilder.cs: Added override for GetFiles() that throws
	  NotSupportedException.

svn path=/trunk/mcs/; revision=22462
2004-01-24 11:58:57 +00:00
Rafael Teixeira 3704c6c652 2004-01-24 Rafael Teixeira <[email protected]>
* FileSystemTest.cs:
		Correcting expected exception type in TestDir to match MS' behaviour
	* CollectionTest.cs
		Correcting expected exception type in Exception #E19 to match MS' behaviour
	* DateAndTimeTest.cs:
		Correcting expected WeekDay values for many asserts to match MS' behaviour
		Correcting expected exception type in DateValue "#DV03" to match MS' behaviour
		WeekdayName Test assumed FirstDayOfWeek.System to always be the same, but it is user configurable,
			test with FirstDayOfWeek.Monday instead
		TimeValue Test wrongly wanted to receive the parsed time as happening today,
			instead it comes in day 1/1/1 (timescale-zero)

svn path=/trunk/mcs/; revision=22461
2004-01-24 03:55:32 +00:00
Lluis Sanchez f5b8fd9d1a HttpWebRequest.cs: Added missing property.
svn path=/trunk/mcs/; revision=22460
2004-01-24 02:13:23 +00:00
Lluis Sanchez 7479d2c5d3 XmlFormatExtensionPrefixAttribute.cs: Allow multiple usage.
svn path=/trunk/mcs/; revision=22459
2004-01-24 02:11:05 +00:00
Lluis Sanchez e0a4faa28f TypeInfo.cs: The list of interfaces may be null. Added check.
svn path=/trunk/mcs/; revision=22458
2004-01-24 02:08:15 +00:00
Lluis Sanchez dd0ee66e03 * SoapReflectionImporter.cs: Types included with SoapInclude don't need
to be derived types of the one that has the attribute.
	* XmlReflectionImporter.cs: Recursively register the derived maps of a given
	  map to the parent map. This fixes #53246.
	* XmlSerializationWriter.cs: Some fixes regarding empty namespaces.

svn path=/trunk/mcs/; revision=22457
2004-01-24 02:01:59 +00:00
Lluis Sanchez 15bede31cf * ContractReference.cs, DiscoveryClientProtocol.cs,
DiscoveryDocumentReference.cs: When resolving a wsdl document, recursively
	  resolve the documents it imports.

svn path=/trunk/mcs/; revision=22456
2004-01-24 01:56:33 +00:00
Lluis Sanchez 3ff5b4d210 * HttpWebClientProtocol.cs: Added missing property.
* Methods.cs: Default binding for a method must be null.
	* SoapHeaderDirection.cs: Added missing enum value.
	* SoapMessage.cs: Added missing property.
	* TypeStubManager.cs: Removed unneded check from AddBinding.
	  In GetBinding(), return default binding if name is null.
	* ValueCollectionParameterReader.cs: IsPrimitive must be internal.

svn path=/trunk/mcs/; revision=22455
2004-01-24 01:52:48 +00:00
Lluis Sanchez efddffca82 * ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
un one soap extension.
	* HttpSimpleProtocolImporter.cs: Made class internal.
	* HttpSimpleProtocolReflector.cs.cs: ReflectMethodBinding(): GET and POST
	  do not use method bindings. Return null.
	* ProtocolReflector.cs: Several fixes: do not generate binding if it doesn't
	  have any operation, avoid port and binding name colisions, and other minor
	  fixes.
	* ServiceDescription.cs: Collect the namespaces to be added to the root
	  element of a serializaed wsdl document from the soap extensions.
	* ServiceDescriptionSerializerBase.cs: Made classes internal.
	* SoapAddressBinding.cs, SoapFaultBinding.cs, SoapOperationBinding.cs,
	  SoapProtocolImporter.cs: Class should not be sealed.
	* SoapBodyBinding.cs: Set the correct class attributes.
	* SoapHeaderBinding.cs: Class should not be sealed. Added missing method.
	* SoapHeaderFaultBinding.cs: Fixed class attributes.

svn path=/trunk/mcs/; revision=22454
2004-01-24 01:44:39 +00:00
César Natarén 888fe24290 added some more tests
svn path=/trunk/mcs/; revision=22453
2004-01-23 22:25:57 +00:00
César Natarén a199dfd3a8 tests for function decls
svn path=/trunk/mcs/; revision=22452
2004-01-23 22:24:52 +00:00
César Natarén de447ad268 updates from grammar changes
svn path=/trunk/mcs/; revision=22451
2004-01-23 22:22:51 +00:00
César Natarén 6ec96958fb Changelog entries
svn path=/trunk/mcs/; revision=22450
2004-01-23 22:22:02 +00:00
César Natarén 2b420c3d28 2004-01-23 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: formal_param_list receives a parent too.

	* SymbolTable.cs: added size and current_symbols properties.

	* JSLocalField.cs: don't throw not ImplementedException from
	constructor (same reason, testing purposes, must get implemented
	for real).

	* IdentificationTable.cs: added num_of_locals and current_locals properties.

	* FunctionDeclaration.cs: added a LocalBuilder and DictionaryEntry
	as fields. Not throw NotImplementedException for
	JScriptFunctionDeclaration (testing purposes, must get implemeted
	for real). Let's build our function closures! Added functions:
	build_closure and build_closure_nested, build_local_fields. Keep
	track of current parameters and locals defs.

	* FormalParameterList.cs: made FormalParam inherit from
	AST. Implement the Emit for parameters, yeah!

	* CodeGenerator.cs: added a ModuleBuilder reference. New constructor.

	* Closure.cs: do not throw the exception (this allow me to run the
	tests  at mcs/jtests and check that at least i'm not generating
	invalid CIL). Be aware that this must be really implemented.

	* Block.cs: renamed field, and implement the double pass for
	nested function declarations code emittion, yeah!.

svn path=/trunk/mcs/; revision=22449
2004-01-23 22:18:22 +00:00
Paolo Molaro 82ab7d2500 This may work for the little fella, too.
svn path=/trunk/mono/; revision=22448
2004-01-23 22:09:10 +00:00
Paolo Molaro 7ea23a72de Workaround old automake issue.
svn path=/trunk/mono/; revision=22447
2004-01-23 21:31:39 +00:00
Paolo Molaro 5459cb836e Fri Jan 23 16:10:44 EST 2004 Paolo Molaro <[email protected]>
* Makefile.am: make the version script conditional.
	* jit-icalls.c: handle missing truncl().

svn path=/trunk/mono/; revision=22446
2004-01-23 20:53:40 +00:00
Paolo Molaro a3713358bd Fri Jan 23 16:07:05 EST 2004 Paolo Molaro <[email protected]>
* configure.in, acconfig.h: check for truncl. Disable
	version script on MacOSX (see bug #51590 if a check becomes
	necessary).

svn path=/trunk/mono/; revision=22445
2004-01-23 20:51:46 +00:00
Paolo Molaro 8d8c9b1a6e Fri Jan 23 21:27:40 CET 2004 Paolo Molaro <[email protected]>
* socket-io.c: include the new socket-wrappers.h header.
	Use the wrappers instead of the unix socket functions to make the code
	more clear.

svn path=/trunk/mono/; revision=22444
2004-01-23 20:16:54 +00:00
Paolo Molaro fceff9fc38 Fri Jan 23 21:07:02 CET 2004 Paolo Molaro <[email protected]>
* socket-wrappers.h, sockets.h, sockets.c, Makefile.am: move socket
	wrappers to its own non-installed header file.

svn path=/trunk/mono/; revision=22443
2004-01-23 20:16:43 +00:00
Atsushi Eno 9525b3d1b8 2004-01-23 Atsushi Enomoto <[email protected]>
* XmlWriter.cs, XmlTextWriter.cs :
	  Several namespace related fixes.
	  - Current element's NamespaceURI should be immediately available
	    after the call of WriteStartElement() for LookupPrefix(), so
	    AddMissingElementXmlns() only affects on output. This is
	    now identified by shouldCheckElementXmlns field.
	  - Attribute's overraped xmlns should be ignored for LookupPrefix(),
	    Especially, when the owner element is written with the default
	    namespace. HOWEVER, the attribute should be *written*. This is
	    identified by shouldAddSavedNsToManager field.
	  - In AddMissingElementXmlns(), non-empty prefix namespace was not
	    checked user-written attributes.
	  - XmlWriter.WriteAttributeString() never supplies namespace URI for
	    xmlns attributes for other versions than NET_1_0. Instead, added
	    ns check logic in WriteStartAttribute() only with NET_1_0.
	  - WriteEndAttribute() should reject zero-length namespace for
	    non-default xmlns declarations.
	  - LookupPrefix() should reject argument null and empty.

svn path=/trunk/mcs/; revision=22442
2004-01-23 20:16:10 +00:00
Paolo Molaro 20102217bb Fri Jan 23 21:26:01 CET 2004 Paolo Molaro <[email protected]>
* configure.in, acconfig.h: added check for socklen_t.

svn path=/trunk/mono/; revision=22441
2004-01-23 20:08:50 +00:00
Atsushi Eno 4f981f7a03 2004-01-23 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added SetAttributeXmlns.
	* XmlTextWriterTests.cs : Added several xmlns-related tests.

svn path=/trunk/mcs/; revision=22440
2004-01-23 19:45:56 +00:00
Gonzalo Paniagua Javier bb9a286268 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
	bug #53222.

svn path=/trunk/mcs/; revision=22439
2004-01-23 18:02:43 +00:00
Zoltan Varga d0b328084a 2004-01-23 Zoltan Varga <[email protected]>
* exceptions.cs: Add more tests for double->int conversion.

svn path=/trunk/mono/; revision=22438
2004-01-23 17:21:32 +00:00
Zoltan Varga 3ce06c246c 2004-01-23 Zoltan Varga <[email protected]>
* jit-icalls.c (mono_fconv_ovf_i8): Call truncl before comparison, so
	we don't throw exceptions when converting 1.1 to a long. Fixes #53250.

svn path=/trunk/mono/; revision=22437
2004-01-23 17:19:35 +00:00
Paolo Molaro 230d20a893 Fri Jan 23 17:12:08 CET 2004 Paolo Molaro <[email protected]>
* driver.c: make --verbose --version emit an error
	if the loaded corlib doesn't match the runtime version.

svn path=/trunk/mono/; revision=22436
2004-01-23 15:55:12 +00:00
Ravindra 7562fb4922 Corrected a build problem.
svn path=/trunk/mcs/; revision=22435
2004-01-23 15:47:41 +00:00
Ravindra f56b5b9310 Added missing methods in SizeF.
svn path=/trunk/mcs/; revision=22434
2004-01-23 15:41:01 +00:00
Anirban Bhattacharjee f730ac281e Updated Test.Sources
svn path=/trunk/mcs/; revision=22433
2004-01-23 15:30:05 +00:00
Anirban Bhattacharjee 1a738951ee Few more test cases
svn path=/trunk/mcs/; revision=22432
2004-01-23 15:02:37 +00:00
Zoltan Varga 1e76e8745e 2004-01-23 Zoltan Varga <[email protected]>
* profiler.c (merge_methods): Fix merging of profile info. Fixes #53010.

svn path=/trunk/mono/; revision=22431
2004-01-23 13:17:07 +00:00
Jordi Mas i Hernandez 545016b8ba new members for the graphic class
svn path=/trunk/mcs/; revision=22430
2004-01-23 13:07:28 +00:00
Jordi Mas i Hernandez 0e14542b72 update tasks and email
svn path=/trunk/mono/; revision=22429
2004-01-23 11:47:07 +00:00
Zoltan Varga 98fdf3dce8 2004-01-23 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
	Fixes #22532.

svn path=/trunk/mono/; revision=22428
2004-01-23 11:37:19 +00:00
Marek Safar 2ba57f67a9 2004-01-23 Marek Safar <[email protected]>
* cs-parser.jay, class.cs (DefineDefaultConstructor): Fixed ModFlags
                setting for default constructors.

svn path=/trunk/mcs/; revision=22426
2004-01-23 10:31:54 +00:00
David Sheldon b465d8dd8a 2004-01-22 David Sheldon <[email protected]>
* FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were
       testing for this ecveption, but the other parameters were also
       invalid. Made them correct. We don't care that MS throw
       exceptions in a different order do we?

svn path=/trunk/mcs/; revision=22424
2004-01-23 09:50:08 +00:00
Gonzalo Paniagua Javier e05e6eac2c 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* HttpSessionState.cs:
	* SessionInProcHandler.cs: IsNewSession doesn't have a public setter.

	* SessionStateModule.cs: doesn't implement IRequiresSessionState.
	* StateServerItem.cs: not public.

svn path=/trunk/mcs/; revision=22423
2004-01-23 08:55:35 +00:00
Gonzalo Paniagua Javier 07d221151b 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthentication.cs: added RequireSSL and SlidingExpiration.

svn path=/trunk/mcs/; revision=22422
2004-01-23 08:54:35 +00:00
Gonzalo Paniagua Javier d048b7b936 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* AuthConfig.cs:
	* AuthenticationConfigHandler.cs: added RequireSSL and
	SlidingExpiration.

	* HandlerFactoryProxy.cs: not public.
	* HandlerItem.cs: not public.

svn path=/trunk/mcs/; revision=22421
2004-01-23 08:53:58 +00:00
Gonzalo Paniagua Javier 79743fe4af 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* HttpCachePolicy.cs: it's not public.
	* HttpRuntime.cs: wait for requests before disposing the queue.

svn path=/trunk/mcs/; revision=22420
2004-01-23 08:53:07 +00:00
Marek Safar b9997bf1be 2004-01-23 Marek Safar <[email protected]>
* System.EnterpriseServices.dll.sources: Added AssemblyInfo.cs

svn path=/trunk/mcs/; revision=22419
2004-01-23 08:26:32 +00:00
Gonzalo Paniagua Javier a7feec3356 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: allow handling subproperties for other
	types than Style and Font. Fixes bug #53217.

svn path=/trunk/mcs/; revision=22418
2004-01-23 07:00:13 +00:00
Gonzalo Paniagua Javier faf0a468ae 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* StringBuilderTest.cs: added test for bug #53240.

svn path=/trunk/mcs/; revision=22417
2004-01-23 06:40:31 +00:00
Gonzalo Paniagua Javier 64a94f425c 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs:
	(Remove): fixed offsets when copying and set the new size. Fixes bug
	#53240.

svn path=/trunk/mcs/; revision=22416
2004-01-23 06:39:17 +00:00
Miguel de Icaza 94fa6624d9 Update, just so everyone has it
svn path=/trunk/mono/; revision=22415
2004-01-23 04:43:03 +00:00
David Sheldon 8313fde7db 2004-01-22 David Sheldon <[email protected]>
* DirectoryTest.cs: Added Ignore to the CreationTime tests,
  as Unix filesystems don't support them. Should we only ignore
	them on Unix?

svn path=/trunk/mcs/; revision=22414
2004-01-22 21:56:41 +00:00
David Sheldon dd4f0bc48c 2004-01-22 David Sheldon <[email protected]>
* AppDomainSetupTest: Changed test 3 to test that the
   appdomain is relative to the current dir, rather than
	 the temp dir. This is what the MS runtime appears to
	 give, and handily is what we do too.

svn path=/trunk/mcs/; revision=22413
2004-01-22 21:53:40 +00:00
Atsushi Eno bcd924f598 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlTextWriterTests.cs : Added *Do*OutputRemovalDefaultNSDeclaration.

svn path=/trunk/mcs/; revision=22412
2004-01-22 20:21:27 +00:00
Atsushi Eno 516d8f8acc 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlElement.cs : Reverted previous fix since it broke monodoc web
	  service.

svn path=/trunk/mcs/; revision=22411
2004-01-22 20:17:29 +00:00
Zoltan Varga 742a5862d4 2004-01-22 Zoltan Varga <[email protected]>
* reflection.c (mono_image_create_pefile): Handle the case when the
	entry point is not a MethodBuilder. Hopefully I get it right this time.

	* reflection.h (MonoReflectionAssemblyBuilder): Change 'entry_point'
	field to ReflectionMethod since it is not allways a builder.

	* reflection.c (type_get_fully_qualified_name): New helper function to
	return the fully qualified name of a type.

	* reflection.c (encode_marshal_blob): Always emit the fully qualified
	type name for custom marshallers.

	* reflection.c (mono_marshal_spec_from_builder): Ditto.

svn path=/trunk/mono/; revision=22409
2004-01-22 19:50:39 +00:00
Gonzalo Paniagua Javier 398c7384b9 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* System.Resources/ResXResourceReader.cs: read empty tags properly.
	Fixes bug #53174. Patch by Tomasz Kaszuba.

svn path=/trunk/mcs/; revision=22408
2004-01-22 17:43:29 +00:00
Atsushi Eno 8852cad826 2004-01-22 Atsushi Enomoto <[email protected]>
* xml-classes : status update, additional infos.

svn path=/trunk/mono/; revision=22407
2004-01-22 17:36:28 +00:00
Atsushi Eno 279ee7f9e6 2004-01-22 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
	  on Add()ing parsed name to name table.
	* XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
	* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
	  XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
	  Use the method above instead of Namespace string comparison.
	  (it will be required to validate schema for schemas.)
	* XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
	  treat null base type as anyType.  Derivation Valid Restriction
	  (3.4.6) should allow base type wildcard absense in case of anyType.

svn path=/trunk/mcs/; revision=22406
2004-01-22 16:31:31 +00:00
Zoltan Varga bdfcccc09d 2004-01-22 Zoltan Varga <[email protected]>
* Makefile.am: Do not install mono.pc on platforms without a JIT.

svn path=/trunk/mono/; revision=22405
2004-01-22 15:07:24 +00:00
Rafael Teixeira d6660db71f 2004-01-21 Rafael Teixeira <[email protected]>
* Added UtilsTest.cs:
		More tests (with bidimensional arrays) for Utils.CopyArray undocumented runtime function,
		they are still failing tests

svn path=/trunk/mcs/; revision=22404
2004-01-22 14:37:46 +00:00
Rafael Teixeira e2c9086bd9 forgot one
svn path=/trunk/mcs/; revision=22403
2004-01-22 14:04:17 +00:00
Zoltan Varga 0c80e6ff46 2004-01-22 Zoltan Varga <[email protected]>
* interp.c (mono_main): Remove call to mono_verify_corlib (), since
	the verification code is not up-to-date.

svn path=/trunk/mono/; revision=22402
2004-01-22 14:02:45 +00:00
Rafael Teixeira 3dfa29d993 moved around
svn path=/trunk/mcs/; revision=22401
2004-01-22 14:00:29 +00:00
Rafael Teixeira d4f1939c94 2004-01-21 Rafael Teixeira <[email protected]>
* Microsoft.VisualBasic_test.dll.sources: Added new test files

svn path=/trunk/mcs/; revision=22400
2004-01-22 13:59:02 +00:00
Zoltan Varga c07424bc40 2004-01-22 Zoltan Varga <[email protected]>
* class.c (mono_class_setup_vtable): If a parent class already
	implements an interface, use the implementing methods from that class.
	Fixes #53148.

svn path=/trunk/mono/; revision=22399
2004-01-22 13:56:12 +00:00
Rafael Teixeira e99a262aac 2004-01-21 Rafael Teixeira <[email protected]>
* Added UtilsTest.cs:
		Initial tests for Utils.CopyArray undocumented runtime function

svn path=/trunk/mcs/; revision=22398
2004-01-22 13:56:01 +00:00
Rafael Teixeira 0d3b7beefd flush
svn path=/trunk/mcs/; revision=22397
2004-01-22 13:54:59 +00:00
Rafael Teixeira 7f0eeb366c 2004-01-22 Rafael Teixeira <[email protected]>
* Utils.cs:
		First Try Implementation for CopyArray(): NET_1_1-aware

svn path=/trunk/mcs/; revision=22396
2004-01-22 13:53:27 +00:00
Rafael Teixeira 79909ec827 flush
svn path=/trunk/mcs/; revision=22395
2004-01-22 11:58:36 +00:00
Lluis Sanchez 43c5b1c716 * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
do not check the root element name, since it can be any name. This fixes
	  bug #53201.

svn path=/trunk/mcs/; revision=22393
2004-01-22 11:07:41 +00:00
Jordi Mas i Hernandez 9cc6301c71 fixes change log
svn path=/trunk/mcs/; revision=22392
2004-01-22 10:47:31 +00:00
Zoltan Varga 9dd2b662e0 2004-01-22 Zoltan Varga <[email protected]>
* pinvoke17.cs: Fix test.

svn path=/trunk/mono/; revision=22391
2004-01-22 10:47:08 +00:00
Jordi Mas i Hernandez fe395ca826 serveral methods added, serveral fixes, and test case
svn path=/trunk/mcs/; revision=22390
2004-01-22 10:41:03 +00:00
Atsushi Eno b8eda76bbd 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : When we have schema A which includes schema B which
	  includes schema C (i.e. A->B->C), C components should be compiled.
	  Here, same URL inclusions are ignored.
	* XmlSchemaElement.cs : Hack for missing substitution-group fix.
	* XmlSchemaSimpleTypeContent.cs : make actualBaseSchemaType private
	  and initialize. This fixes bug #53178.
	* XmlSchemaSimpleTypeUnion.cs : Forgot to commit ;)

svn path=/trunk/mcs/; revision=22389
2004-01-22 09:26:02 +00:00
Gonzalo Paniagua Javier 96359e598c 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* DateTimeTest.cs: added test for bug 52075.

svn path=/trunk/mcs/; revision=22388
2004-01-22 08:18:17 +00:00
Gonzalo Paniagua Javier 930c3a9955 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
	(double), which might round up.

svn path=/trunk/mcs/; revision=22387
2004-01-22 08:17:12 +00:00
Atsushi Eno 70d8738c62 2004-01-22 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : regexp improvements. Modify
	  pattern string as "^str$" and convert WXS specific char classes into
	  .NET regexp patterns.

svn path=/trunk/mcs/; revision=22386
2004-01-22 07:52:08 +00:00
Gonzalo Paniagua Javier d6b5e2a238 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* io-layer/io.c:
	(FindFirstFile): unlock the handle if FindNextFile fails.
	(FindNextFile): g_free a couple of pointers before retrying.

	* io-layer/wait.c:
	(WaitForMultipleObjects): if only one handle provided, use
	WaitForSingleObject.

	* utils/strenc.c:
	(mono_unicode_from_external): UTF8 is the default, not the preferred
	encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
	was passed in the env. var., it always failed because we were passing
	"default_locale" to g_convert. Also fixed the byte count for non-UTF8
	conversions.
	(mono_utf8_from_external): UTF8 is the default, not the preferred one.

	Fixes bug #53166.

svn path=/trunk/mono/; revision=22385
2004-01-22 07:32:50 +00:00
Martin Baulig fadb6c7f52 **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22383
2004-01-22 05:36:17 +00:00
Martin Baulig 0e9df755a3 2004-01-22 Martin Baulig <[email protected]>
* cs-parser.jay (namespace_or_type_name): Return an Expression,
	not a QualifiedIdentifier.  This is what `type_name_expression'
	was previously doing.
	(type_name_expression): Removed; the code is now in
	`namespace_or_type_name'.
	(qualified_identifier): Removed, use `namespace_or_type_name'
	instead.
	(QualifiedIdentifier): Removed this class.

svn path=/trunk/mcs/; revision=22382
2004-01-22 05:25:47 +00:00
Martin Baulig 2ea819403b 2004-01-22 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.UsingAlias): Take an Expression,
	not a string as alias name.

svn path=/trunk/mcs/; revision=22381
2004-01-22 04:58:33 +00:00
Martin Baulig 0d9ba2239a **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22380
2004-01-22 04:32:09 +00:00
Gonzalo Paniagua Javier 58e76fad76 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: just return instead of ExitThread to allow for thread
	clean up earlier.

svn path=/trunk/mono/; revision=22379
2004-01-22 04:17:43 +00:00
Martin Baulig edfea48c02 **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22378
2004-01-22 04:08:55 +00:00
Gonzalo Paniagua Javier ef60f0ecd6 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
* Thread.cs: delayed thread creation until Start is called. If we
	don't do that and Start() is not called, the thread is leaked. First
	step towards fixing bug #53078.

svn path=/trunk/mcs/; revision=22377
2004-01-22 03:29:37 +00:00
Martin Baulig dd00b82a8b **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22375
2004-01-22 03:28:29 +00:00
Martin Baulig 2e22617f9e **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22373
2004-01-22 03:16:36 +00:00
Martin Baulig 04741afcd7 **** Merged from HEAD ****
svn path=/trunk/mcs/; revision=22372
2004-01-22 03:02:58 +00:00
Duncan Mak bfddd84cdb (GdipGetPathTypes, GdipGetPathPoints): Add
OutAttribute to the array argument. This fixes the PathPoints
property in System.Drawing.Drawing2D.GraphicsPath.

svn path=/trunk/mcs/; revision=22371
2004-01-22 01:55:34 +00:00
Francisco Figueiredo Jr. eacbb78f3d 2004-01-22 Francisco Figueiredo Jr. <[email protected]>
* Fixed a bug with protocol version handling from connections coming from pool. Actual protocol version used wasn't being reset. Thanks Jackson Harper (jackson at ximian dot com) for getting it!!

svn path=/trunk/mcs/; revision=22370
2004-01-22 01:51:51 +00:00
Eduardo Garcia Cebollero ea2dad8b32 Incomplete daily snapshots url in corlib is out of sync error.
svn path=/trunk/mono/; revision=22369
2004-01-22 01:46:48 +00:00
Gonzalo Paniagua Javier 48dbe8fba3 MONO_MANAGED_WATCHER
svn path=/trunk/mcs/; revision=22368
2004-01-22 01:38:13 +00:00
Gonzalo Paniagua Javier 9fee0f8493 documented MONO_MANAGED_WATCHER
svn path=/trunk/mono/; revision=22367
2004-01-22 01:37:46 +00:00
Miguel de Icaza deaba7eecf Improve text
svn path=/trunk/mcs/; revision=22366
2004-01-22 01:25:36 +00:00
Miguel de Icaza 34d41cb69c Remove debugging message
svn path=/trunk/mcs/; revision=22365
2004-01-22 01:23:37 +00:00
Miguel de Icaza c6d5949adf new test
svn path=/trunk/mcs/; revision=22364
2004-01-22 01:23:21 +00:00
Miguel de Icaza 29499965dd 2004-01-21 Miguel de Icaza <[email protected]>
* ecore.cs (FieldInfo.AddressOf): Revert patch from previous
	#52730 bug, and instead compute correctly the need to use a
	temporary variable when requesting an address based on the
	static/instace modified of the field and the constructor.

svn path=/trunk/mcs/; revision=22363
2004-01-22 01:18:58 +00:00
Gonzalo Paniagua Javier 529f2815d7 2004-01-21 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: implemented.
	* FAMWatcher.cs: don't stop the thread when we add a new watch.
	* FileSystemWatcher.cs: on windows we use the default watcher by now.

svn path=/trunk/mcs/; revision=22362
2004-01-21 21:54:45 +00:00
Miguel de Icaza 0ee0ca60b2 Revert this patch, as it breaks the compiler
svn path=/trunk/mono/; revision=22361
2004-01-21 21:13:06 +00:00
Martin Baulig 264b93aef1 2004-01-21 Martin Baulig <[email protected]>
* XmlHierarchyData.cs: Make this compile with csc.

	* BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
	accessor since the base class doesn't have one.

svn path=/trunk/mcs/; revision=22360
2004-01-21 21:05:34 +00:00
Martin Baulig c77bf0e336 2004-01-21 Martin Baulig <[email protected]>
* test-227.cs: New test for #52517.

svn path=/trunk/mcs/; revision=22359
2004-01-21 20:59:39 +00:00
Martin Baulig 225a401df7 2004-01-21 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.ResolveAsTypeStep): Lookup in the current
	class and namespace before looking up aliases.  Fixes #52517.

svn path=/trunk/mcs/; revision=22358
2004-01-21 20:57:58 +00:00
Miguel de Icaza 5eb836a1d2 Add Ada
svn path=/trunk/mono/; revision=22356
2004-01-21 20:39:56 +00:00
Rafael Teixeira 7a547211ed 2004-01-21 Rafael Teixeira <[email protected]>
* Information.cs:
		Implemented IsNothing(object)

svn path=/trunk/mcs/; revision=22355
2004-01-21 19:53:34 +00:00
Miguel de Icaza 91d24e0989 Fix
svn path=/trunk/mono/; revision=22354
2004-01-21 19:12:26 +00:00
Miguel de Icaza cbd5b15de0 Last batch
svn path=/trunk/mono/; revision=22353
2004-01-21 18:51:13 +00:00
Miguel de Icaza 030364720f More links fixed
svn path=/trunk/mono/; revision=22352
2004-01-21 18:40:22 +00:00
Rafael Teixeira a1c2d00811 .cvsignore
svn path=/trunk/mcs/; revision=22351
2004-01-21 18:38:40 +00:00
Rafael Teixeira 15e385f5fd new tests
svn path=/trunk/mcs/; revision=22350
2004-01-21 18:33:57 +00:00
Miguel de Icaza b928b5abd3 More links fixed
svn path=/trunk/mono/; revision=22349
2004-01-21 18:31:22 +00:00
Rafael Teixeira e58a0a823e moving to namespace subdirectory
svn path=/trunk/mcs/; revision=22348
2004-01-21 18:30:38 +00:00
Miguel de Icaza b28e18119b More links fixed
svn path=/trunk/mono/; revision=22347
2004-01-21 18:21:23 +00:00
Miguel de Icaza 471f4a9276 More link fixage
svn path=/trunk/mono/; revision=22346
2004-01-21 18:05:22 +00:00
Lluis Sanchez ceb8ba178e * HttpSoapWebServiceHandler.cs, SoapHttpClientProtocol.cs: Do not use
indented format for requests and responses. SOAPAction header value
	  must be quoted (fix by Yaacov Akiba Slama).

svn path=/trunk/mcs/; revision=22345
2004-01-21 17:16:27 +00:00
Miguel de Icaza e496e9a5ee Fix some broken links
svn path=/trunk/mono/; revision=22344
2004-01-21 17:01:05 +00:00
Martin Baulig e4ff8874ff 2004-01-21 Martin Baulig <[email protected]>
* flowanalysis.cs (UsageVector.Merge): Allow variables being
	assinged in a 'try'; fixes exception4.cs.

svn path=/trunk/mcs/; revision=22343
2004-01-21 16:50:46 +00:00
Lluis Sanchez 1461614a61 Updated proxie names and added some tests
svn path=/trunk/mcs/; revision=22342
2004-01-21 16:38:53 +00:00
Lluis Sanchez e67e12a9bf * HttpSimpleProtocolImporter.cs: pass the web service class list to the xml
importers to make sure that no data classes are created with the same
	  name as the web service.
	* ProtocolImporter.cs: Use port name as class name only if there is more
	  than one port using the same protocol. This fixes big #52742.

svn path=/trunk/mcs/; revision=22341
2004-01-21 16:27:19 +00:00
Atsushi Eno 0c7b31589e 2004-01-21 Atsushi Enomoto <[email protected]>
* TypedDataSetGenerator.cs : Implemented GenerateIdName().

svn path=/trunk/mcs/; revision=22340
2004-01-21 14:34:56 +00:00
Atsushi Eno 209c4c4f89 2004-01-21 Atsushi Enomoto <[email protected]>
* System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.

svn path=/trunk/mcs/; revision=22339
2004-01-21 14:33:47 +00:00
Atsushi Eno ed2bf5f8c9 2004-01-21 Atsushi Enomoto <[email protected]>
* Added TypedDataSetGeneratorTest.cs.

svn path=/trunk/mcs/; revision=22338
2004-01-21 14:32:49 +00:00
Atsushi Eno db31d20616 2004-01-21 Atsushi Enomoto <[email protected]>
* CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and
	  CreateValidIdentifier().

svn path=/trunk/mcs/; revision=22337
2004-01-21 14:19:30 +00:00
Atsushi Eno befa54cee3 2004-01-21 Atsushi Enomoto <[email protected]>
* System_test.dll.sources : Added CodeGeneratorIdentifierTest.cs

svn path=/trunk/mcs/; revision=22336
2004-01-21 14:18:22 +00:00
Atsushi Eno 253f0a09d1 2004-01-21 Atsushi Enomoto <[email protected]>
* Added CodeGeneratorIdentifierTest.cs.

svn path=/trunk/mcs/; revision=22335
2004-01-21 14:17:50 +00:00
Marek Safar 362333f715 2004-01-21 Marek Safar <[email protected]>
* class.cs : Implemented parameter-less constructor for TypeContainer

        * decl.cs: Attributes are now stored here. New property OptAttributes

        * delegate.cs, enum.cs, interface.cs: Removed attribute member.

        * rootcontext.cs, tree.cs: Now use parameter-less constructor of TypeContainer

svn path=/trunk/mcs/; revision=22334
2004-01-21 13:53:22 +00:00
Zoltan Varga 293e9fe9a5 2004-01-21 Zoltan Varga <[email protected]>
* Makefile.am (remove-binaries): Get rid of non-portable >& construct.

svn path=/trunk/mono/; revision=22333
2004-01-21 13:20:55 +00:00
Zoltan Varga bb6db70eb1 2004-01-21 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Module_Close): Prevent assertion
	when closing resource modules.

	* reflection.c (mono_image_create_pefile): Handle the case when the
	entry point is not a MethodBuilder.

	* reflection.h (MonoReflectionAssemblyBuilder): Change 'entry_point'
	field to ReflectionMethod since it is not allways a builder.

svn path=/trunk/mono/; revision=22332
2004-01-21 13:19:51 +00:00
Lluis Sanchez 8687b6c767 * XmlReflectionImporter.cs: Throw exception if a value type member has the
IsNullable=true flag. This fixes bug #52906.

svn path=/trunk/mcs/; revision=22331
2004-01-21 13:14:06 +00:00
Marek Safar 3d2ae19e94 2004-01-21 Marek Safar <[email protected]>
* typemanager.cs (CSharpSignature): Now reports also inner class name.
                  (CSharpSignature): New method for indexer and property signature.

svn path=/trunk/mcs/; revision=22330
2004-01-21 13:06:46 +00:00
Marek Safar eff955ce66 2004-01-21 Marek Safar <[email protected]>
* pending.cs (IsVirtualFilter): Faster implementation.

svn path=/trunk/mcs/; revision=22329
2004-01-21 12:52:47 +00:00
Eran Domb 4e69bd7b4d XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
Do not set the child column to be AutoIncrement.
Create the new column for the relation as MappingType.Hidden so they will not be serialized
when writing the dataset to xml.

svn path=/trunk/mcs/; revision=22328
2004-01-21 11:59:23 +00:00
Lluis Sanchez ed79d98e41 * Methods.cs: Set the correct namespaces for Fault. This fixes bug #53117.
Based on the fix by Eran Domb.

svn path=/trunk/mcs/; revision=22327
2004-01-21 11:11:01 +00:00
Marek Safar fa87c5a103 2004-01-21 Marek Safar <[email protected]>
* typemanager.cs: Avoid inclusion of same assembly more than once.

svn path=/trunk/mcs/; revision=22326
2004-01-21 09:34:55 +00:00
Marek Safar 4c045efc33 2004-01-21 Marek Safar <[email protected]>
* cs-parser.jay: Fixed problem where the last assembly sttribute
                   has been applied also to following declaration (class, struct, etc.)

svn path=/trunk/mcs/; revision=22325
2004-01-21 09:13:31 +00:00
Marek Safar 6443988560 2004-01-21 Marek Safar <[email protected]>
* class.cs: Added error CS0538, CS0539 reporting.
        Fixed crash on Microsoft runtime when field type is void.

	* cs-parser.jay: Added error CS0537 reporting.

	* pending.cs: Added error CS0535 reporting.
        Improved error report for errors CS0536, CS0534.

svn path=/trunk/mcs/; revision=22324
2004-01-21 08:44:48 +00:00
Atsushi Eno ccd5f38514 2004-01-21 Atsushi Enomoto <[email protected]>
* XmlSchema.cs :
	  - Removed extra property Language.  Fill substitution-group info
	    before ContentTypeParticle is computed.
	* XmlSchemaComplexType.cs : ContentType and ContentTypeParticle are
	  now computer before Validate() (to exclude 3.4.2 from 3.4.6
	  component constraint check).
	* XmlSchemaObject.cs, XmlSchemaParticle.cs :
	  Added CopyInfo() for cloning objects.
	* XmlSchemaObjectTable.cs :
	  Add() doesn't have to reject same named items.
	* XmlSchemaParticle.cs :
	  - Renamed internal class XmlSchemaParticleEmpty to EmptyParticle
	    (for ease of post compilation infoset comparison).
	  - GetMinEffectiveTotalRange() should return max occurs for element and
	    any.
	* XmlSchemaParticle.cs,
	  XmlSchemaAll.cs,
	  XmlSchemaAny.cs,
	  XmlSchemaChoice.cs,
	  XmlSchemaElement.cs,
	  XmlSchemaGroupBase.cs,
	  XmlSchemaGroupRef.cs,
	  XmlSchemaSequence.cs :
	  - Removed ActualParticle property.
	  - Added GetOptimizedParticle() to get ContentTypeParticle.
	  - ContentTypeParticle is now created as different object from
	    user-specified "Particle" property.
	  - Return Empty particle when model groups contains no Items.
	  - When Items contains exactly 1 item, return the item (unless it is
	    top level choice model group - it causes DBR problem).
	  - ValidateDerivationValidRestriction() and related WXS 3.9.6 DBR
	    check methods such as ValidateNSRecurseCheckCardinality() now
	    returns a bool value and avoids exceptions on each failure time.
	  - ValidateRecurse() now doesn't progress base particle incorrectly.
	    (it caused incorrect order-preserving-mapping error.)
	  - 3.9.6 Recurse, RecurseLax, MapAndSum are now treated as different.
	* XmlSchemaAll.cs : occurence validation shoud be done against values
	  after computation (ValidatedMaxOccurs).
	* XmlSchemaChoice.cs : When Items is empty, then invoke warning event.
	* XmlSchemaElement.cs :
	  - Consider referencedElement also for SubstitutionGroupElement.
	  - Removed SubstitutingChoice which is not in use.
	  - when it was targeted as substitution group by other elements, its
	    ContentTypeParticle should be substitution choice (see 3.9.6
	    Particle Valid (Restriction) term 2.1).
	  - Added FillsubstitutionElementInfo() (see XmlSchema.cs above).
	* XmlSchemaGroup.cs : Removed extra check on model group (because it
	  is impossible to specify non-model-group particle).
	* XmlSchemaIdentityConstraint.cs,
	  XmlSchemaKey.cs,
	  XmlSchemaKeyRef.cs,
	  XmlSchemaUnique.cs : Removed extraneous MonoTODO.
	* XmlSchemaSimpleContent.cs : Made actualSchemaType as internal.
	* XmlSchemaSimpleType.cs : Removed extraneous new Datatype property.
	* XmlSchemaSimpleTypeRestriction.cs : Renamed actualBaseSchemaType to
	  ActualBaseSchemaType.
	* XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
	  Removed unused actualBaseSchemaType code.
	* XmlSchemaType.cs : use recently introduced BaseXmlSchemaType.
	* XmlSchemaUtil.cs : Removed unused CheckLanguage().

svn path=/trunk/mcs/; revision=22323
2004-01-21 08:06:51 +00:00
Marek Safar acfed87843 New tests
svn path=/trunk/mcs/; revision=22322
2004-01-21 08:02:15 +00:00
Marek Safar 6e6b56e9ff New tests
svn path=/trunk/mcs/; revision=22321
2004-01-21 07:57:14 +00:00
Atsushi Eno 65e898a786 2004-01-21 Atsushi Enomoto <[email protected]>
* XmlSchemaXPath.cs : wildcard with prefix (e.g. @foo:*) was
	  incorrectly treated.

svn path=/trunk/mcs/; revision=22320
2004-01-21 04:52:34 +00:00
Atsushi Eno befd9b96af 2004-01-21 Atsushi Enomoto <[email protected]>
* XsdKeyTable.cs : Matching evaluation is incorrect when path is more
	  than depth 2.
	* XsdValidatingReader.cs : Should clear LocalTypeDefinition when no
	  xsi:type was specified.
	  Moved character validation inside AssessEndElementSchemaValidity().

svn path=/trunk/mcs/; revision=22319
2004-01-21 04:52:08 +00:00
Miguel de Icaza dfe836f8e4 Document
svn path=/trunk/mono/; revision=22316
2004-01-20 23:29:47 +00:00
Paolo Molaro 837286e7d5 Tue Jan 20 23:10:22 CET 2004 Paolo Molaro <[email protected]>
* StreamWriter.cs, TextWriter.cs: comply with the documented
	behaviour and use a decode buffer to improve performance.

svn path=/trunk/mcs/; revision=22315
2004-01-20 22:03:00 +00:00
Martin Baulig 7723f52e35 2004-01-20 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for bug #46640.

svn path=/trunk/mcs/; revision=22313
2004-01-20 20:42:24 +00:00
Martin Baulig e516ddb84a 2004-01-20 Martin Baulig <[email protected]>
* test-226.cs: New test for #53058.

svn path=/trunk/mcs/; revision=22312
2004-01-20 20:35:45 +00:00
Martin Baulig b9a8176a3c 2004-01-20 Martin Baulig <[email protected]>
* codegen.cs (EmitContext): Removed `InTry', `InCatch',
	`InFinally', `InLoop', `TryCatchLevel', `LoopBeginTryCatchLevel'
	and `NeedExplicitReturn'; added `IsLastStatement'.
	(EmitContext.EmitTopBlock): Emit the explicit "ret" if we either
	have a `ReturnLabel' or we're not unreachable.

	* flowanalysis.cs (FlowBranching.MergeChild): Actually merge the
	child's reachability; don't just override ours with it.  Fixes
	#58058 (lluis's example).
	(FlowBranching): Added public InTryOrCatch(), InCatch(),
	InFinally(), InLoop(), InSwitch() and
	BreakCrossesTryCatchBoundary() methods.

	* statement.cs (Return): Do all error checking in Resolve().
	Unless we are the last statement in a top-level block, always
	create a return label and jump to it.
	(Break, Continue): Do all error checking in Resolve(); also make
	sure we aren't leaving a `finally'.
	(Block.DoEmit): Set `ec.IsLastStatement' when emitting the last
	statement in a top-level block.
	(Block.Flags): Added `IsDestructor'.
	(Block.IsDestructor): New public property.

svn path=/trunk/mcs/; revision=22311
2004-01-20 20:32:27 +00:00
Miguel de Icaza 741123ae94 2004-01-20 Miguel de Icaza <[email protected]>
Merge a few bits from the Anonymous Method MCS tree.

	* statement.cs (ToplevelBlock): New class for toplevel methods,
	will hold anonymous methods, lifted variables.

	* cs-parser.jay: Create toplevel blocks for delegates and for
	regular blocks of code.

svn path=/trunk/mcs/; revision=22310
2004-01-20 19:19:41 +00:00
Lluis Sanchez b46db4ea02 * MapCodeGenerator.cs, XmlSchemaImporter.cs: Attributes are allways optional,
so a 'specified' member has always to be generated.
	* TypeData.cs: Fixed check for value type.

svn path=/trunk/mcs/; revision=22309
2004-01-20 19:18:46 +00:00
Lluis Sanchez 648ca0b963 * XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs,
XmlTypeMapMember.cs, MapCodeGenerator.cs, SoapCodeExporter.cs, TypeData.cs,
	  XmlCodeExporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs,
	  XmlSchemaImporter.cs, XmlSerializationReaderInterpreter.cs,
	  XmlSerializationWriterInterpreter.cs, XmlTypeMapMember.cs:
	  Added support for value specifiers members. This fixes bug #53024.

svn path=/trunk/mcs/; revision=22308
2004-01-20 18:18:25 +00:00
Bernie Solomon 84d9b1ae93 2004-01-20 Bernie Solomon <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper):
	mono_marshal_alloc takes native int so CONV_I
	the arg for 64bits.

svn path=/trunk/mono/; revision=22307
2004-01-20 18:13:34 +00:00
Atsushi Eno 40000a277d 2004-01-20 Atsushi Enomoto <[email protected]>
* System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.

svn path=/trunk/mcs/; revision=22305
2004-01-20 16:53:50 +00:00
Atsushi Eno 73472f0d34 2004-01-20 Atsushi Enomoto <[email protected]>
* Added missing TypedDataSetGenerator.cs.

svn path=/trunk/mcs/; revision=22304
2004-01-20 16:51:07 +00:00
Lluis Sanchez afe0fa29b6 Little fixes.
svn path=/trunk/mono/; revision=22302
2004-01-20 15:30:09 +00:00
Lluis Sanchez e69211bf4f * SampleGenerator.cs: Little fixes.
svn path=/trunk/mcs/; revision=22301
2004-01-20 15:29:39 +00:00
Lluis Sanchez 6aa4b73c4e * XmlSchemaExporter.cs: Don't create referenced element if it has already
been created (two types could be referencing the same schema element).

svn path=/trunk/mcs/; revision=22300
2004-01-20 15:10:10 +00:00
Zoltan Varga 8ce14a0344 2004-01-20 Zoltan Varga <[email protected]>
* reflection.c (fixup_cattrs): New function to fixup the methoddef
	tokens in the cattr table. Fixes #53108.

svn path=/trunk/mono/; revision=22299
2004-01-20 13:46:28 +00:00
Umadevi S 008455a13a fix for bug 41678 -Uma <[email protected]>
svn path=/trunk/mcs/; revision=22298
2004-01-20 13:25:46 +00:00
Umadevi S 799a9d80bf fix for bug 47883 - uma
svn path=/trunk/mcs/; revision=22297
2004-01-20 13:15:10 +00:00
Martin Baulig 428eb80d80 2004-01-20 Martin Baulig <[email protected]>
* statement.cs (Break.DoEmit): Set ec.NeedExplicitReturn; fixes #52427.

svn path=/trunk/mcs/; revision=22296
2004-01-20 12:30:35 +00:00
Martin Baulig 2a7e49aab2 2004-01-20 Martin Baulig <[email protected]>
* verify-8.cs: New test for #52707.

svn path=/trunk/mcs/; revision=22295
2004-01-20 11:42:47 +00:00
Martin Baulig e633e7e571 2004-01-20 Martin Baulig <[email protected]>
* statement.cs (Statement.ResolveUnreachable): New public method.
	(If, While): Do the dead-code elimination in Resolve(), not in Emit().
	(Block.Resolve): Resolve unreachable statements.

svn path=/trunk/mcs/; revision=22294
2004-01-20 11:38:59 +00:00
Martin Baulig 36763f1acf Don't crash here.
svn path=/trunk/mcs/; revision=22293
2004-01-20 09:58:13 +00:00
Gonzalo Paniagua Javier 1da8b66667 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: added some unix-only tests for GetFullPath.

svn path=/trunk/mcs/; revision=22292
2004-01-20 08:38:28 +00:00
Gonzalo Paniagua Javier eee100ef9f 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: now Path.GetFullPath ("/") returns "/" instead of "".

svn path=/trunk/mcs/; revision=22291
2004-01-20 08:35:27 +00:00
Atsushi Eno d36a8d17a0 2004-01-20 Atsushi Enomoto <[email protected]>
* Added set of Post Schema Compilation Information tests, i.e.
	  xs-psci-compare.cs and psci-ms-all.zip.
	* Makefile: Added test-psci target.
	* README: Added notes on PSCI tests (however it is not for today's
	  implementation, but for the very near future with bunch of fixes)

svn path=/trunk/mcs/; revision=22290
2004-01-20 08:15:46 +00:00
Atsushi Eno a646eee82e 2004-01-20 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added WriteToMakesNonsenseForDefaultNSChildren.
	* XmlTextWriterTests.cs : Added DontOutputRemovalDefaultNSDeclaration.

svn path=/trunk/mcs/; revision=22289
2004-01-20 07:56:23 +00:00
Atsushi Eno ff34df6059 2004-01-20 Atsushi Enomoto <[email protected]>
* SchemaDataValueType.cs : UriValueType.ToString() should return
	  actual URI string (as MS's XmlSchemaUri class does).
	* XmlSchemaReader.cs : Make it internal.

svn path=/trunk/mcs/; revision=22288
2004-01-20 07:41:39 +00:00
Atsushi Eno 6487180ee7 2004-01-20 Atsushi Enomoto <[email protected]>
* XsdParticleValidationState.cs : Use ValidatedMaxOccurs instead of
	  MaxOccurs. (in the meantime)
	* XsdValidatingReader.cs : "fixed" should not be treated as default.
	* XsdWildcard.cs : several Wildcard Subset constraint related fixes.

svn path=/trunk/mcs/; revision=22287
2004-01-20 07:39:57 +00:00
Atsushi Eno 48199379da 2004-01-20 Atsushi Enomoto <[email protected]>
* XmlNode.cs : When adding a node to child list, it should reject its
	  ancestors. Patch by Boris Kirzner.
	* XmlNodeReader.cs : Related fix to the fix above. It should not move
	  to children of XmlEntityReference nodes.
	* XmlTextWriter.cs : FixedWriteStartElement() not to write default
	  namespace when ns is null (while ns is "", it writes default ns).
	* XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
	  when NamespaceURI is an empty string.

svn path=/trunk/mcs/; revision=22286
2004-01-20 07:39:06 +00:00
Ravindra 64714a6bf5 Fixed bug #52811.
svn path=/trunk/mcs/; revision=22285
2004-01-20 06:54:00 +00:00
Ravindra 94096bbb62 Fixed bug #52811 and made Pen properties behavior similar to that on .NET.
svn path=/trunk/mcs/; revision=22284
2004-01-20 06:51:53 +00:00
Gonzalo Paniagua Javier 0af28c3a1b 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* System.IO/Path.cs: add the trailing directory separator only for
	volumes. Fixes bug #53035.
	* Test/System.IO/PathTest.cs: tests for bug 53035 and 52735.

svn path=/trunk/mcs/; revision=22283
2004-01-20 05:24:31 +00:00
Duncan Mak dc30685e5f I've been busy with school and also with preparing for the upcoming
release, so I haven't been spending a lot of time on
GraphicsPath. Rather than letting my changes go stale, I'll commit
them now while they are still in a compilable state.

* GraphicsPath.cs: Implemented. Still needs testing, though.
Particular the PathPoints property, I ran into a P/Invoke problem,
I need to first fix that before I can go on with the rest of the testing.

* gdipFunctions.cs: Import functions for GraphicsPath.

* graphics-path.c (GdipGetPathPoints): Fixed.
(GdipCreatePath): Remember to	initialize the arrays instead of
just setting them to NULL.
(GdipGetPathTypes, GdipGetPathPoints): Fix signature.

* Makefile (local_sources): Add graphics-path.c to the build.

* Matrix.cs (Matrix): Removed reference to GpRect/GpRectF.

* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Removed reference to GpRectF.

* gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
Removed. Didn't know that structs are laid out sequentially by
default. We don't need these anymore.

svn path=/trunk/mcs/; revision=22282
2004-01-20 04:44:52 +00:00
Gonzalo Paniagua Javier 9d4f8be849 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* PathTest.cs: a couple of tests for bugs.

svn path=/trunk/mcs/; revision=22281
2004-01-20 04:44:33 +00:00
Gonzalo Paniagua Javier 8a0faae09f 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix location path lookup. Closes bug
	#53072.

svn path=/trunk/mcs/; revision=22280
2004-01-20 03:43:24 +00:00
Gonzalo Paniagua Javier 5878056068 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* loader.c: don't trim ".dll" before looking up in the config file.
	Don't leak orig_scope. Reopened bug #22532 in the meanwhile.

svn path=/trunk/mono/; revision=22279
2004-01-20 01:28:10 +00:00
Bernie Solomon 3e7679a4e5 2004-01-19 Bernie Solomon <[email protected]>
* interp.c (ves_exec_method_with_context):
	get_native_wrapper removed and	call
	mono_marshal_get_native_wrapper directly
	with new DllNotFoundException handling

svn path=/trunk/mono/; revision=22276
2004-01-19 21:45:58 +00:00
Jackson Harper efd3e3eb75 * FloatingPointFormatter.cs: Use the default decimal digits count
if they are not specified. This fixes bug #52927.

svn path=/trunk/mcs/; revision=22274
2004-01-19 21:17:58 +00:00
Lluis Sanchez c96564bad2 * Methods.cs: Get the method namespace from the binding, not from the web
service.
	* TypeStubManager.cs: When adding a binding, ignore it if it has already
	been added. Changed WebServiceLiteralNamespace by the method
	GetWebServiceLiteralNamespace. The literal namespace depends on the binding
	namespace, so it has to be provided as parameter.
	* XmlReturnReader.cs, XmlReturnWriter.cs: Use GetWebServiceLiteralNamespace
	instead of WebServiceLiteralNamespace.

svn path=/trunk/mcs/; revision=22273
2004-01-19 20:21:26 +00:00
Lluis Sanchez d3c367849c * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Use GetWebServiceLiteralNamespace instead of WebServiceLiteralNamespace.
	* ProtocolReflector.cs: Port names must be unique in a service description.
	  This fixes bug #53019.
	* ProtocolImporter.cs: Little fix.

svn path=/trunk/mcs/; revision=22272
2004-01-19 20:20:25 +00:00
Lluis Sanchez 29b478f6bf * XmlReflectionImporter.cs: Read IsNullable flag from XmlArrayAttribute.
* XmlSerializationWriterInterpreter.cs: Interpret IsNullable flag for
  arrays. This fixes bug #53018.

svn path=/trunk/mcs/; revision=22270
2004-01-19 19:15:08 +00:00
Zoltan Varga 9e456352d0 2004-01-19 Zoltan Varga <[email protected]>
* IntPtrStream.cs: Fix build bustage.

svn path=/trunk/mcs/; revision=22269
2004-01-19 18:48:57 +00:00
Zoltan Varga 2bbc3eb840 2004-01-19 Zoltan Varga <[email protected]>
* Environment.cs: Bump version number.

svn path=/trunk/mcs/; revision=22268
2004-01-19 18:02:54 +00:00
Zoltan Varga ee4b81f916 2004-01-19 Zoltan Varga <[email protected]>
* Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
	a reference on the Module object which contains the resource.

svn path=/trunk/mcs/; revision=22267
2004-01-19 18:01:22 +00:00
Zoltan Varga 2b8cb12240 2004-01-19 Zoltan Varga <[email protected]>
* IntPtrStream.cs: Add a 'Closed' event. Also throw exceptions after
	the stream is closed.

svn path=/trunk/mcs/; revision=22266
2004-01-19 17:59:47 +00:00
Zoltan Varga a5dbe020cd 2004-01-19 Zoltan Varga <[email protected]>
* Module.cs: Decrease the image reference count when the Module is
	garbage collected.

svn path=/trunk/mcs/; revision=22265
2004-01-19 17:55:58 +00:00
Zoltan Varga d3b4fcfe65 2004-01-19 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
	Return the module which contains the resource as well.
	(ves_icall_System_Reflection_Module_Close): New icall.

	* appdomain.c: Bump corlib version number.

svn path=/trunk/mono/; revision=22264
2004-01-19 17:54:53 +00:00
Zoltan Varga caf158912a 2004-01-19 Zoltan Varga <[email protected]>
* image.c (mono_image_addref): New public function.

	* assembly.c: Call mono_image_addref.

	* reflection.c (mono_module_get_object): Increase reference count of
	the image.

svn path=/trunk/mono/; revision=22263
2004-01-19 17:52:52 +00:00
Jordi Mas i Hernandez e0360a4155 fixes bmp encode, implements a few bitmap members
svn path=/trunk/mcs/; revision=22262
2004-01-19 17:40:26 +00:00
Ben Maurer ecff28925d 2004-01-19 Ben Maurer <[email protected]>
* expression.cs: We need to fix the case where we do
	not have a temp variable here.

	* assign.cs: Only expression compound assignments need
	temporary variables.

svn path=/trunk/mcs/; revision=22260
2004-01-19 17:02:41 +00:00
Zoltan Varga f44e6eb030 2004-01-19 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
	Fixes #22532.

	* exception.h exception.c loader.h loader.c icall.c marshal.h marshal.c:
	Applied patch from Bernie Solomon  <[email protected]>. Throw
	proper exceptions on DllImport problems.

svn path=/trunk/mono/; revision=22259
2004-01-19 16:44:34 +00:00
Paolo Molaro 820b797c47 Mon Jan 19 17:52:33 CET 2004 Paolo Molaro <[email protected]>
* interp.c: eliminate CSIZE macro.

svn path=/trunk/mono/; revision=22258
2004-01-19 16:36:36 +00:00
Paolo Molaro 569343d4c8 Mon Jan 19 17:50:27 CET 2004 Paolo Molaro <[email protected]>
* class.c, metadata.c: eliminate CSIZE macro.

svn path=/trunk/mono/; revision=22257
2004-01-19 16:35:31 +00:00
Paolo Molaro 821469f7bb Mon Jan 19 17:44:50 CET 2004 Paolo Molaro <[email protected]>
* mini-ppc.h: export ppc_patch().
	* mini-ppc.c: call convention fixes. Added assert in ppc_patch().
	* tramp-ppc.c: call convention fixes: Linux/PPC support should be
	on par or better than on MacOSX.

svn path=/trunk/mono/; revision=22256
2004-01-19 16:30:39 +00:00
Miguel de Icaza 4541cf4774 revert this one, it broke test-68
svn path=/trunk/mcs/; revision=22255
2004-01-19 16:25:51 +00:00
Ben Maurer 94a176a738 2004-01-19 Ben Maurer <[email protected]>
* flowanalysis.cs: Reduce memory allocation in a few ways:
	  - A block with no variables should not allocate a bit
	    vector for itself.
	  - A method with no out parameters does not need any tracking
	    for assignment of the parameters, so we need not allocate
	    any data for it.
	  - The arrays:
	        public readonly Type[] VariableTypes;
		public readonly string[] VariableNames;
	    Are redundant. The data is already stored in the variable
	    map, so we need not allocate another array for it.
	  - We need to add alot of checks for if (params | locals) == null
	    due to the first two changes.

svn path=/trunk/mcs/; revision=22254
2004-01-19 15:46:37 +00:00
Ravindra e61f7b8d1f Added a new file Encoder.cs to System.Drawing.dll.sources.
svn path=/trunk/mcs/; revision=22253
2004-01-19 15:12:28 +00:00
Ravindra 36421a5fc5 Implemented Encoder.cs.
svn path=/trunk/mcs/; revision=22252
2004-01-19 15:08:21 +00:00
Lluis Sanchez 06b420b571 * NewMonoXSD.cs: Compile the loaded schemas if they are not already compiled.
svn path=/trunk/mcs/; revision=22251
2004-01-19 13:40:41 +00:00
Lluis Sanchez a252a891ad * icall.c: Added ves_icall_type_IsInstanceOf internal call.
* object.h: Added async_callback field in MonoAsyncResult.
	* marshal.c: In mono_delegate_begin_invoke, set the value of async_callback.
	* verify.c: Added async_callback in MonoAsyncResult layout.

svn path=/trunk/mono/; revision=22250
2004-01-19 13:40:08 +00:00
Lluis Sanchez 7d7b73b7e6 * Type.cs: Added internal call for IsInstanceOfType. The old implementation
uses IsAssignableFrom(o.GetType()), which is not always valid for
	transparent proxies (because GetType will not return the type of the remote
	object if its assembly is not present).

svn path=/trunk/mcs/; revision=22249
2004-01-19 13:39:12 +00:00
Lluis Sanchez a7470184fc * CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
interface methods.

svn path=/trunk/mcs/; revision=22248
2004-01-19 13:38:20 +00:00
Lluis Sanchez df79f19994 * RealProxy.cs: Added setter for ObjectIdentity.
svn path=/trunk/mcs/; revision=22247
2004-01-19 13:37:06 +00:00
Lluis Sanchez 6d2905a6e6 * AsyncResult.cs: Added async_callback field and fixed the callback call.
I thought that async_delegate was the callback, but it is not, it is the
	delegate upon which the async call was invoked. This fixes bug #53020.
	* StackBuilderSink.cs: If the target object is a proxy, make the call
	using the Invoke method of the real proxy.

svn path=/trunk/mcs/; revision=22246
2004-01-19 13:36:39 +00:00
Lluis Sanchez b1743778bc * RemotingServices.cs: When marshalling a custom proxy, allow the creation
of a new identity. This fixes bug #52921.
	* ServerIdentity.cs: Allow the creation of server identities that
	represent a custom proxy instead of a real object.

svn path=/trunk/mcs/; revision=22245
2004-01-19 13:36:14 +00:00
Zoltan Varga 3f75fc02ab 2004-01-19 Zoltan Varga <[email protected]>
* pinvoke2.cs: Add tests for DllImport problems.

	* pinvoke.cs: Make this run under linux.

svn path=/trunk/mono/; revision=22244
2004-01-19 12:36:40 +00:00
Zoltan Varga 172e09e460 2004-01-19 Zoltan Varga <[email protected]>
* mini.c tramp-x86.c tramp-sparc.c: Updated after changes to
	mono_lookup_pinvoke_call.

svn path=/trunk/mono/; revision=22243
2004-01-19 12:34:00 +00:00
Zoltan Varga 270e84cef2 2004-01-19 Zoltan Varga <[email protected]>
* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
	Fixes #22532.

	* exception.h exception.c loader.h loader.c icall.c marshal.h marshal.c:
	Applied patch from Bernie Solomon  <[email protected]>. Throw
	proper exceptions on DllImport problems.

svn path=/trunk/mono/; revision=22242
2004-01-19 12:32:14 +00:00
Zoltan Varga a4bc30368c 2004-01-19 Zoltan Varga <[email protected]>
* mini-x86.c: Under windows, the default pinvoke calling convention is
	stdcall. Fixes #52834.

svn path=/trunk/mono/; revision=22241
2004-01-19 10:38:17 +00:00
Zoltan Varga 5e9582bccf 2004-01-19 Zoltan Varga <[email protected]>
* mini.c (optimize_branches): Add an upper bound to the number of
	iterations to prevent infinite loops on strange loops. Fixes #53003.

svn path=/trunk/mono/; revision=22240
2004-01-19 10:27:49 +00:00
Miguel de Icaza e06690db64 2004-01-18 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): For ValueTypes that do not
	implement IMemoryLocation, we store a copy on a local variable and
	take the address of it.  Patch from Benjamin Jemlich

svn path=/trunk/mcs/; revision=22234
2004-01-19 02:16:03 +00:00
Miguel de Icaza 018446de40 Flush
svn path=/trunk/mono/; revision=22229
2004-01-18 19:50:26 +00:00
Todd Berman 0914f46eac adding more info
svn path=/trunk/mono/; revision=22228
2004-01-18 19:46:46 +00:00
Miguel de Icaza 34210f6d44 Apply patches from Neale Ferguson for s390 support
svn path=/trunk/mono/; revision=22226
2004-01-18 18:00:40 +00:00
Miguel de Icaza 93022e401f 2004-01-18 Miguel de Icaza <[email protected]>
* cs-parser.jay: Applied patch from Ben Maurer to the "type" rule
	to use a special "type_name_expression" rule which reduces the
	number of "QualifiedIdentifier" classes created, and instead
	directly creates MemberAccess expressions.

svn path=/trunk/mcs/; revision=22225
2004-01-18 17:38:47 +00:00
Ben Maurer 7d70e5b72e 2004-01-18 Ben Maurer <[email protected]>
* FileStream.cs: Locking from bug #32344 removed. This is not
	necessary because the correct fix was actually in the console.
	This fixes bug #53026. Miguel de Icaza reviewed/approved this
	patch.

svn path=/trunk/mcs/; revision=22224
2004-01-18 17:26:04 +00:00
Jordi Mas i Hernandez 7fb2800457 adds a missing DllImport that was causing win32 runtime fatal error
svn path=/trunk/mcs/; revision=22223
2004-01-18 17:18:50 +00:00
Lluis Sanchez bec86a39b4 * MonoWSDL.cs: Added new option that prints a sample request and response
for a web service operation.
	* SampleGenerator.cs: Added.

svn path=/trunk/mcs/; revision=22222
2004-01-18 17:04:58 +00:00
David Sheldon 73385e9439 2004-01-18 David Sheldon <[email protected]>
* FloatingPointFormatter.cs: Skip the decimal point if we have an
    integer mantassa. So: 1E+15, rather than 1.E+15.

svn path=/trunk/mcs/; revision=22221
2004-01-18 17:03:07 +00:00
David Sheldon 73e19c0c57 2004-01-18 David Sheldon <[email protected]>
* Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
	even though docs say it should be an ArgumentNull. Two test cases now
  pass. See also nickd's commit of 2003-12-24.

svn path=/trunk/mcs/; revision=22220
2004-01-18 13:35:22 +00:00
Alon Gazit b947a2fc88 fix problem with negative TabIndex (wasn't rendered).
svn path=/trunk/mcs/; revision=22219
2004-01-18 13:15:46 +00:00
Alon Gazit 91b8c77015 The CopyFrom methods in these classes shouldn't copy a value that is equal
to Property default value.

svn path=/trunk/mcs/; revision=22218
2004-01-18 09:42:49 +00:00
Miguel de Icaza eeafbc5898 Add
svn path=/trunk/mono/; revision=22217
2004-01-18 03:36:27 +00:00
Miguel de Icaza 844b805105 2004-01-17 Miguel de Icaza <[email protected]>
* convert.cs: Applied patch from Benjamin Jemlich ([email protected])
	that fixes #52853 Null literal assignment to ValueType

svn path=/trunk/mcs/; revision=22211
2004-01-17 19:50:19 +00:00
Miguel de Icaza 15d139098a Improve test to cover 52853
svn path=/trunk/mcs/; revision=22210
2004-01-17 19:47:22 +00:00
Miguel de Icaza abb4751469 2004-01-17 Miguel de Icaza <[email protected]>
* class.cs (MethodData.Emit): Instead of checking the name of the
	method to determine if its a destructor, create a new derived
	class from Method called Destructor, and test for that.

	* cs-parser.jay: Create a Destructor object instead of a Method.

	Based on a fix from Benjamin Jemlich ([email protected])

	Fixes: 52933

svn path=/trunk/mcs/; revision=22209
2004-01-17 19:42:17 +00:00
Miguel de Icaza 19f4daf9e8 More flush
svn path=/trunk/mono/; revision=22208
2004-01-17 18:24:49 +00:00
Miguel de Icaza 838ba11f04 Add sn
svn path=/trunk/mono/; revision=22207
2004-01-17 18:23:58 +00:00
Miguel de Icaza f4359afe8a Update
svn path=/trunk/mcs/; revision=22206
2004-01-17 18:21:28 +00:00
Miguel de Icaza 3b2cef3c31 Fix
svn path=/trunk/mcs/; revision=22205
2004-01-17 18:19:28 +00:00
Miguel de Icaza 9f19da9ec1 update
svn path=/trunk/mcs/; revision=22204
2004-01-17 18:19:17 +00:00
Francisco Figueiredo Jr. 1c3707283c 2004-01-17 Francisco Figueiredo Jr. <[email protected]>
* Added initial support for connection pool.
	* Fixed Connection testsuite for nested transactions with connection pool.
	* Removed some finalizers which were causing segmentation fault.

svn path=/trunk/mcs/; revision=22203
2004-01-17 17:39:10 +00:00
Zoltan Varga 58bda3f4bd 2004-01-17 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_custom_attrs): Add support
	for Modules.

svn path=/trunk/mono/; revision=22202
2004-01-17 17:37:20 +00:00
Zoltan Varga da0d60629c 2004-01-17 Zoltan Varga <[email protected]>
* main.c get.c: Add support for dumping the custom attributes of
	modules.

svn path=/trunk/mono/; revision=22201
2004-01-17 17:27:58 +00:00
Joel Basson 615d139f6c *** empty log message ***
svn path=/trunk/mcs/; revision=22200
2004-01-17 16:10:14 +00:00
Miguel de Icaza 0f509bb86c Update
svn path=/trunk/mcs/; revision=22199
2004-01-16 23:08:29 +00:00
Miguel de Icaza a140c83298 Add new test
svn path=/trunk/mcs/; revision=22198
2004-01-16 23:06:04 +00:00
Miguel de Icaza 9ffd98baa4 Implement Method Group Conversions (34.8) from the Anonymous Methods spec.
2004-01-16  Miguel de Icaza  <[email protected]>

	* expression.cs (Binary.ResolveOperator): Perform an implicit
	conversion from MethodGroups to their delegate types on the
	Addition operation.

	* delegate.cs: Introduce a new class DelegateCreation that is the
	base class for `NewDelegate' and `ImplicitDelegateCreation',
	factor some code in here.

	* convert.cs (Convert.ImplicitConversionStandard): Add an implicit
	conversion from MethodGroups to compatible delegate types.

	* ecore.cs (Expression.Resolve): Do not flag error 654
	(Methodgroupd needs parenthesis) if running on the V2 compiler, as
	we allow conversions from MethodGroups to delegate types now.

	* assign.cs (Assign.DoResolve): Do not flag errors on methodgroup
	assignments in v2 either.

svn path=/trunk/mcs/; revision=22197
2004-01-16 23:03:30 +00:00
César Natarén 946d0bd846 added new file
svn path=/trunk/mcs/; revision=22196
2004-01-16 21:42:16 +00:00
César Natarén 55b7ac2437 2004-01-16 Cesar Lopez Nataren <[email protected]>
* Microsoft.JScript.dll.sources: added VsaScriptScope to the build.

svn path=/trunk/mcs/; revision=22195
2004-01-16 21:41:28 +00:00
César Natarén 35d529e8e6 2004-01-16 Cesar Lopez Nataren <[email protected]>
* Microsoft.Vsa/BaseVsaEngine.cs: added setter for InitNewCalled.

svn path=/trunk/mcs/; revision=22194
2004-01-16 21:28:39 +00:00
César Natarén d5881ac29d 2004-01-16 Cesar Lopez Nataren <[email protected]>
* VsaEngine.cs: added an Stack, a VsaScriptScope, do not throw exceptions for:
	CreateEngineAndgetGlobalScope, GetGlobalScope, InitVsaEngine,
	PopScriptObject, PushScriptObject, the reason is for being able to
	run the tests at jtests. Be aware that this must get implemented yet.

svn path=/trunk/mcs/; revision=22193
2004-01-16 21:25:53 +00:00
César Natarén 08b839f9b3 2004-01-16 Cesar Lopez Nataren <[email protected]>
* Microsoft.JScript/VsaReferenceItem.cs: renamed field, reuse parent's ctr.
	* Microsoft.JScript/VsaItem.cs: renamed some fields, added ctr,
	* Microsoft.JScript/VsaGlobalItem.cs: reuse parent ctr.
	* Microsoft.JScript/VsaCodeItem.cs: reuse parent ctr.
	* Microsoft.JScript/GlobalScope.cs: reuse constructors from parent.

svn path=/trunk/mcs/; revision=22192
2004-01-16 21:21:34 +00:00
Miguel de Icaza 6ea308f087 Add new error
svn path=/trunk/mcs/; revision=22191
2004-01-16 21:04:07 +00:00
César Natarén 78ba223f98 2004-01-16 Cesar Lopez Nataren <[email protected]>
* UnaryOp.cs: inherit from Exp now.
	* Plus.cs: Don't throw the exception when calling constructor, let
	it build the default handler. Return a new object when calling
	EvaluatePlus until properly implemented.

	* NumericUnary.cs: added new Resolve.
	* NumericBinary.cs: assign operator val at ctr. Return a new
	object when calling EvaluateNumericBinary until properly
	implemented. Added Resolve.
	* Equality.cs: added ctr and return false for EvaluateEquality
	until properly implemented. Added Resolve's functions.

	* Block.cs (Resolve): That check was not necessary.

svn path=/trunk/mcs/; revision=22190
2004-01-16 20:49:47 +00:00
César Natarén 436a08bba4 2004-01-16 Cesar Lopez Nataren <[email protected]>
* Block.cs (Resolve): That check was not necessary.

svn path=/trunk/mcs/; revision=22189
2004-01-16 20:16:30 +00:00
Atsushi Eno dcebf74f6c 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

svn path=/trunk/mono/; revision=22187
2004-01-16 18:53:27 +00:00
Lluis Sanchez 882b3b92f5 Added support for sample requests and responses.
svn path=/trunk/mono/; revision=22186
2004-01-16 18:06:07 +00:00
Zoltan Varga 34e3ea827f 2004-01-16 Zoltan Varga <[email protected]>
* marshal.c (mono_string_builder_to_utf8): Fix stringbuilder
	marshalling.
	(mono_marshal_method_from_wrapper): Add null pointer check.

svn path=/trunk/mono/; revision=22184
2004-01-16 17:01:05 +00:00
Martin Baulig 9e379188ce Ooooops.
svn path=/trunk/mcs/; revision=22182
2004-01-16 16:38:43 +00:00
Martin Baulig f9659e699e 2004-01-16 Martin Baulig <[email protected]>
* debug-mono-symfile.h: Set version number to 36 and reflect
	latest symbol writer changes.

svn path=/trunk/mono/; revision=22181
2004-01-16 16:31:58 +00:00
Martin Baulig 868a9fedfa Ok, let's do it correctly :-)
svn path=/trunk/mcs/; revision=22180
2004-01-16 16:30:15 +00:00
Martin Baulig ec7edd7ab4 2004-01-16 Martin Baulig <[email protected]>
[NOTE: This change is only forward binary compatible !

	This means that this version of the symbol writer can still read
	symbol files from the last mono release, but an older version of
	the symbol writer can't read the new symbol files.

	* MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
	'MethodLookup'.

	* MonoSymbolTable.cs (MethodEntry): Don't write the method's full
	name into the symbol file.
	[NOTE: For the moment, the corresponding fields are still being
	written into the symbol file.  They'll be removed shortly before
	the next mono release.]

svn path=/trunk/mcs/; revision=22179
2004-01-16 16:20:16 +00:00
Martin Baulig b1694918af 2004-01-16 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoDebuggerSupport): As suggested by Ben
	Maurer, create a delegate type for each of the methods and then
	store the method.

svn path=/trunk/mcs/; revision=22178
2004-01-16 16:03:19 +00:00
Martin Baulig 40a67efb4d 2004-01-16 Martin Baulig <[email protected]>
* Assembly.cs: Make the `MonoDebugger_' methods static.

svn path=/trunk/mcs/; revision=22177
2004-01-16 16:02:09 +00:00
Zoltan Varga 08640e2c3a 2004-01-16 Zoltan Varga <[email protected]>
* TypeTest.cs: Add Tests for vectors<->one dim. arrays.

svn path=/trunk/mcs/; revision=22176
2004-01-16 15:55:02 +00:00
Zoltan Varga b0596908c3 2004-01-16 Zoltan Varga <[email protected]>
* class.c (mono_bounded_array_class_get): Set 'bounded' to FALSE for
	multi-dimensional arrays.
	(mono_class_is_assignable_from): Check vectors<->one dim. arrays.
	(mono_class_from_mono_type): Use bounded_array_class_get.

svn path=/trunk/mono/; revision=22175
2004-01-16 15:47:11 +00:00
Martin Baulig 76896743f6 Ooops, forgot this yesterday.
svn path=/trunk/mcs/; revision=22174
2004-01-16 15:41:43 +00:00
Zoltan Varga 04a78fe124 2004-01-16 Zoltan Varga <[email protected]>
* inssel.brg: Add vectors<->one dimensional array checking to CASTCLASS
	and ISINST. Fixes #52093.

	* objects.cs (test_0_vector_array_cast): New tests.

svn path=/trunk/mono/; revision=22171
2004-01-16 15:22:46 +00:00
Zoltan Varga dfc00c173e 2004-01-16 Zoltan Varga <[email protected]>
* class.c (mono_bounded_array_class_get): New function which takes
	a 'bounded' bool argument to distinguish vectors from one dimensional
	arrays.

	* icall.c (ves_icall_System_Array_CreateInstanceImpl): Call
	bounded_array_class_get if the array has bounds.

svn path=/trunk/mono/; revision=22168
2004-01-16 15:13:27 +00:00
Zoltan Varga 5f905254ab 2004-01-16 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
	Search modules loaded using AssemblyBuilder:AddModule as well.

svn path=/trunk/mono/; revision=22164
2004-01-16 13:24:34 +00:00
Lluis Sanchez f2ab3f236a * ChunkStream.cs: The "size" parameter of Write is not the number of bytes
to write, but the last offset to be written. Thus, in WriteAndReadBack,
	since "read" is not an offset but the number of bytes, it must be added to
	the offset. Maybe it would be a good idea to change the name of the
	parameter, since it is confusing. This should fix bug #52591.

svn path=/trunk/mcs/; revision=22161
2004-01-16 11:37:40 +00:00
Gonzalo Paniagua Javier b0c1b57ccf 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=22160
2004-01-16 09:20:09 +00:00
César Natarén b32d91d172 initial set of tests
svn path=/trunk/mcs/; revision=22159
2004-01-16 09:17:38 +00:00
César Natarén 383779b37d added initial list of tests
svn path=/trunk/mcs/; revision=22158
2004-01-16 09:05:07 +00:00
César Natarén 70aae5a536 stole this makefile from Anirban's btests
svn path=/trunk/mcs/; revision=22157
2004-01-16 09:02:25 +00:00
César Natarén c442550ec7 deleted debugging message
svn path=/trunk/mcs/; revision=22156
2004-01-16 08:52:19 +00:00
César Natarén 81cacd0bc5 updates from grammar
svn path=/trunk/mcs/; revision=22155
2004-01-16 08:48:47 +00:00
César Natarén 9ce6a4edb0 2004-01-16 Cesar Lopez Nataren <[email protected]>
* InstanceOf.cs, PostOrPrefixOperator.cs, Relational.cs,
	StrictEquality.cs, TypeOf.cs: added Resolve inherited from
	BinaryOp and UnaryOp, and this from Exp.
	* IdentificationTable.cs, ScriptBlock.cs: deleted debugging messages.

svn path=/trunk/mcs/; revision=22153
2004-01-16 08:43:10 +00:00
David Sheldon e1e3df901a 2004-01-16 David Sheldon <[email protected]>
* BuiltInDatatype.cs: added guard to stop index out of range error for
         invalid Base64 characters.

svn path=/trunk/mcs/; revision=22152
2004-01-16 08:39:15 +00:00
César Natarén a7d32addb5 2004-01-16 Cesar Lopez Nataren <[email protected]>
* IdentificationTable.cs, ScriptBlock.cs: deleted debugging messages.
	* jscript-lexer-parser.g: deleted debugging messages. Create a
	Assign object instance of a simple Binary obj. Same case for Equality.

	* expression.cs: added Exp abstract class. Classes that are ast of
	language constructions that can appear as global expressions that
	get evaluated and then the result is discarded inherit from this
	new class. This let meee keep track of things that must get Popped
	or can even avoid the evaluation of it. Wrote real Resolve method
	for classes: Unary, Binary.
	Implemted Emit method for some binary operations (+, -, / and *),
	for other operators some more code is still missing.
	Identifier: handle assignment cases and global exp cases.
	Added class Assign (compisite assignment still missing tough :-(

	* driver.cs: deleted debug messages, added "Compilation Succeeded"
	message ;-).
	* VariableStatement.cs, VariableDeclaration.cs: wrote real Resolve method.
	* Literal.cs (BooleanLiteral, NumericLiteral): now inherits from
	Exp and handle the case for global expressions that must be popped
	after evaluation. no more invalid IL being generated! yeah!
	* Block.cs: wrote real Resolve method, erased debug messages.
	* BitwiseBinary.cs, InstanceOf.cs, UnaryOp.cs: : add new Resolve inherited from Exp.
	* BinaryOp.cs, Conditional: now inherits from Exp.

svn path=/trunk/mcs/; revision=22151
2004-01-16 08:26:30 +00:00
Jackson Harper 01218769e3 * TagAttribute.cs: attributes can be stored as encoded html so we
decode them here.

svn path=/trunk/mcs/; revision=22150
2004-01-16 08:04:37 +00:00
Ravindra 2f03e112a6 Modified BmpPaint.cs to make it run on .NET.
svn path=/trunk/mcs/; revision=22149
2004-01-16 07:54:57 +00:00
Gonzalo Paniagua Javier e5a72b9c97 shame
svn path=/trunk/mono/; revision=22148
2004-01-16 07:27:50 +00:00
Gonzalo Paniagua Javier e195c6933c fix windows build
svn path=/trunk/mono/; revision=22147
2004-01-16 06:39:17 +00:00
Atsushi Eno 4608f877eb 2004-01-16 Atsushi Enomoto <[email protected]>
* Al.cs : csc build fix. See bugzilla #47991.

svn path=/trunk/mcs/; revision=22146
2004-01-16 05:38:31 +00:00
Gonzalo Paniagua Javier b7c15c687a 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* Handlers.cs: added aliases table.
	* Manager.cs: when an encoding is not found, try its aliases if any.
	Fixes bug #52852.

svn path=/trunk/mcs/; revision=22145
2004-01-16 05:25:53 +00:00
Atsushi Eno 0dba749325 2004-01-16 Atsushi Enomoto <[email protected]>
* XslOutput.cs : Reverted. default encoding should be utf-8.

svn path=/trunk/mcs/; revision=22144
2004-01-16 04:16:13 +00:00
Atsushi Eno 626eca582a 2004-01-16 Atsushi Enomoto <[email protected]>
* Multiplexer.cs : Pass stream parameters as is (to handle
	  encoding correctly). Patch by Dariusz Olszewski. Bug #52913 fixed.
	* ManagedXslTransform.cs : In ctor() with stream, pass encoding
	  parameter also for managed transformer.

svn path=/trunk/mcs/; revision=22143
2004-01-16 04:14:04 +00:00
Atsushi Eno e77d1b48e9 2004-01-16 Atsushi Enomoto <[email protected]>
* Makefile : maybe semi-automates master xml build.

svn path=/trunk/mono/; revision=22142
2004-01-16 04:08:17 +00:00
Gonzalo Paniagua Javier 612543850b 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* System/Environment.cs: increased corlib version.
	* System.Reflection/MonoProperty.cs: changed get_property_info so that
	it only gets the values needed. Reduces the allocations needed.

svn path=/trunk/mcs/; revision=22141
2004-01-16 03:50:54 +00:00
Gonzalo Paniagua Javier a2cddc48da 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: increased corlib version.
	* filewatcher.c: removed g_print.
	* icall.c:
	(get_property_info): only allocate what is actually requested.
	(ves_icall_Type_GetInterfaces): free the bitset in case of early error.

svn path=/trunk/mono/; revision=22140
2004-01-16 03:50:41 +00:00
Gonzalo Paniagua Javier dbea39aa46 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added new files.

	* System_test.dll.sources: added new test.

	* System.IO/DefaultWatcher.cs: stub for the default watcher.
	* System.IO/WindowsWatcher.cs: stub for the windows watcher.

	* System.IO/FAMWatcher.cs: FAM watcher.

	* System.IO/FileAction.cs: enum with event types.

	* System.IO/FileSystemEventArgs.cs: added SetName property.
	* System.IO/FileSystemWatcher.cs: added support for the 3 watchers.

	* System.IO/IFileWatcher.cs: interface implemented by the watchers.
	* System.IO/SearchPattern.cs: copied from corlib.
	* Test/System.IO/FileSystemWatcherTest.cs: new test.

svn path=/trunk/mcs/; revision=22139
2004-01-16 03:27:24 +00:00
Gonzalo Paniagua Javier f1c67e9f36 2004-01-16 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: added filewatcher.[ch]
	* filewatcher.[ch]: FileSystemWatcher runtime support.
	* icall.c: added new FSW icalls.

svn path=/trunk/mono/; revision=22138
2004-01-16 03:26:09 +00:00
Gonzalo Paniagua Javier 0bd1e3df83 Changed line endings
svn path=/trunk/mcs/; revision=22137
2004-01-16 03:04:13 +00:00
Jackson Harper 687b3cd143 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
svn path=/trunk/mcs/; revision=22136
2004-01-16 01:50:25 +00:00
Jackson Harper 58c257224e * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
created when they shouldn't be.

svn path=/trunk/mcs/; revision=22135
2004-01-15 23:43:25 +00:00
Andreas N 6a6f512759 removed
svn path=/trunk/mcs/; revision=22134
2004-01-15 22:55:25 +00:00
Andreas N 4d853df76d 2004-01-15 Andreas Nahr <[email protected]>
* System.DirectoryServices.dll.sources: Added lots of files, sorted existing

svn path=/trunk/mcs/; revision=22132
2004-01-15 22:46:19 +00:00
Andreas N a3e13d6165 2004-01-15 Andreas Nahr <[email protected]>
* ChangeLog: Added
	* AssemblyInfo.cs: Removed
	* DirectoryEntry.cs: Added attributes, fixed warning, stubbed missing
	* DirectorySearcher.cs: Added attributes, stubbed missing
	* DirectoryServicesPermissionAccess.cs: Added, implemented
	* DSDescriptionAttribute.cs: Added, implemented
	* DSDescriptionAttribute.cs, Added implemented

svn path=/trunk/mcs/; revision=22131
2004-01-15 22:45:28 +00:00
Andreas N fe24d01887 2004-01-15 Andreas Nahr <[email protected]>
* Locale.cs: Added
	* Consts.cs: Added
	* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=22130
2004-01-15 22:44:15 +00:00
Andreas N ffedde1b71 2004-01-15 Andreas Nahr <[email protected]>
* DirectoryEntryConverter.cs: Added, stubbed minimal version
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=22129
2004-01-15 22:43:29 +00:00
César Natarén ce1a678126 2004-01-15 Cesar Lopez Nataren <[email protected]>
* ReferenceAttribute.cs: moved it back to namespace Microsoft.JScript.

svn path=/trunk/mcs/; revision=22128
2004-01-15 22:35:45 +00:00
Jackson Harper 06203180a8 * TemplateParser.cs: Detect if we are parsing a control or page
properly.
	* Page.cs: vary by params and vary by headers can be null now.

svn path=/trunk/mcs/; revision=22127
2004-01-15 22:26:13 +00:00
César Natarén 146a4c6c4c 2004-01-15 Cesar Lopez Nataren <[email protected]>
* CodeGenerator.cs: small fixes to generate same things that ms.

svn path=/trunk/mcs/; revision=22125
2004-01-15 20:50:43 +00:00
Jackson Harper cdce8c8943 * XmlSchemaContent.cs: Make actualBaseSchemaType protected (fixes
build).

svn path=/trunk/mcs/; revision=22124
2004-01-15 19:54:09 +00:00
Joel Basson 802417f479 Thu Jan 16 19:20:00 GMT+2 2003 Joel Basson <[email protected]>
* Applied patch from Alberto Fernandez with the following changes...
	Finished ProgressBar (Events?)
	Finished HScrollBar VScrollBar and ScrollBar
	Finished FolderBrowserDialog
	Base ComboBox
	Added DrawMode.cs
	Added ComboBoxStyle.cs
	Added Appearance.cs
	Added CheckState.cs
	Added TabAlignment
	Added TabAppearance.cs
	Added TabDrawMode.cs
	Added TabSizeMode.cs
	Added Panel.cs
	Added TabPage.cs
	Added TabControl.cs
	Added Cursors.cs
	Added MessageBoxDefaultButton.cs
	Added MessageBoxIcon.cs
	Added MessageBoxOptions.cs
	Changes in MessageBoxButtons.cs (Added values)
	Changes in MessageBox (Completed all functions, added return values).
	"Finished" CheckBox.cs
	"Finished" ComboBox.cs
	"Finished" RadioButton
	"Finished" GroupBox
	"Finished" Panel
	Changes in Form to work with new RadioButton.
	Fix double Click reported on MenuItems.
	"Finished" Application

svn path=/trunk/mcs/; revision=22123
2004-01-15 17:19:30 +00:00
Zoltan Varga 3ed04254b3 2004-01-15 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (Save): Handle entry points with an int return
	type as well.

svn path=/trunk/mcs/; revision=22122
2004-01-15 16:18:22 +00:00
Alon Gazit 994a76b145 RepeatLayout property should affect the rendered html.
svn path=/trunk/mcs/; revision=22121
2004-01-15 16:04:35 +00:00
Zoltan Varga 21ecde3747 2004-01-15 Zoltan Varga <[email protected]>
* jit-icalls.c (helper_stelem_ref_check): New jit icall for array type
	checking in Array.Set ().

	* mini.c (method_to_ir): Add array type checking in Array.Set (). Fixes
	#52590.

	* object.cs (test_0_multi_array_cast): New regression test.

svn path=/trunk/mono/; revision=22120
2004-01-15 15:59:53 +00:00
Zoltan Varga b00b8a5180 2004-01-15 Zoltan Varga <[email protected]>
* interp.c (ves_array_set): Check for ArrayTypeMismatchException.

svn path=/trunk/mono/; revision=22119
2004-01-15 15:53:53 +00:00
Martin Willemoes Hansen 071e768723 * HtmlTextWriter.cs: Fixed OutputTab routine to generate correct indention.
svn path=/trunk/mcs/; revision=22118
2004-01-15 15:27:12 +00:00
Paolo Molaro bba886cd08 Thu Jan 15 16:30:24 CET 2004 Paolo Molaro <[email protected]>
* exceptions-ppc.c: fix build on Linux/PPC.

svn path=/trunk/mono/; revision=22117
2004-01-15 15:15:26 +00:00
Alon Gazit 301324b8a5 Add validation check to Size property.
svn path=/trunk/mcs/; revision=22116
2004-01-15 15:01:55 +00:00
Zoltan Varga 0afca72947 2004-01-15 Zoltan Varga <[email protected]>
* scripts/Makefile.am: Add al.exe.

	* scripts/al.in: New file.

svn path=/trunk/mono/; revision=22115
2004-01-15 13:11:28 +00:00
Zoltan Varga 0417d0a146 2004-01-15 Zoltan Varga <[email protected]>
* runtime/Makefile.am: Add al.exe.

svn path=/trunk/mono/; revision=22114
2004-01-15 13:08:49 +00:00
Zoltan Varga 60cfe64c84 2004-01-15 Zoltan Varga <[email protected]>
* Makefile: Added al directory.

svn path=/trunk/mcs/; revision=22113
2004-01-15 12:55:20 +00:00
Zoltan Varga 87756a70d1 2004-01-15 Zoltan Varga <[email protected]>
* Al.cs Makefile ChangeLog al.exe.sources: New files.

svn path=/trunk/mcs/; revision=22112
2004-01-15 12:54:46 +00:00
Zoltan Varga e9420e7f28 2004-01-15 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (Save): If the entry point is in a module, create
	a new entry point which calls the real one, since the entry point must
	be in the module which contains the manifest.

	* ModuleBuilder.cs (Save): Create the global type automatically if not
	already done.

svn path=/trunk/mcs/; revision=22111
2004-01-15 12:47:31 +00:00
Alon Gazit 882b61af8e The property name always return the value of the property UniqueID.
svn path=/trunk/mcs/; revision=22110
2004-01-15 12:36:43 +00:00
Atsushi Eno e266243e8a 2004-01-15 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Now use ValidatableParticle instead of
	  ContentTypeParticle.  Use BaseXmlSchemaType.

svn path=/trunk/mcs/; revision=22109
2004-01-15 11:59:04 +00:00
Atsushi Eno 7fec452d6a 2004-01-15 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexContentExtension.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs,
	  XmlSchemaContent.cs : Added IsExtension. GetXXX() became nonvirtual.
	* XmlSchemaType.cs :
	  - Added NET_1_2 BaseXmlSchemaType (other members are commented out).
	  - Now BaseSchemaType redirects to new property BaseXmlSchemaType.
	* XmlSchemaComplexType.cs :
	  - Now it fully uses BaseXmlSchemaType above.
	  - Since ValidateXXX() became too huge, I divided them into
	    CollectXXX() [spec 3.4.1] and ValidateXXX() [spec 3.4.3 / 3.4.6].
	    Schema Components are contributed before constraint check.
	  - Now ContentTypeParticle is distinguished from validating particle
	    which is newly introduced as "ValidatableParticle" (only used in
	    XsdValidatingReader).
	* XmlSchemaSimpleType.cs : Now it uses BaseXmlSchemaType.
	  capitalized internal members a bit.

svn path=/trunk/mcs/; revision=22108
2004-01-15 11:22:00 +00:00
Atsushi Eno 29173cdaf7 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlNode.cs : When adding a node to child list, it should reject its
	  ancestors. Patch by Boris Kirzner.

svn path=/trunk/mcs/; revision=22107
2004-01-15 10:48:23 +00:00
Jackson Harper 5d57309bb4 * TraceData.cs: Fix control position when adding controls recursively.
svn path=/trunk/mcs/; revision=22106
2004-01-15 09:38:25 +00:00
Jackson Harper f7154910f2 * Page.cs: If we have a postback that wasn't sent through a
postback script (ie user hit submit on a input type=submit) call
	Validate so page validation occurs. This fixes bug #52770.

svn path=/trunk/mcs/; revision=22105
2004-01-15 09:25:20 +00:00
Jackson Harper 06c1cb99e7 * TraceData.cs: Fix some typos in the output text.
svn path=/trunk/mcs/; revision=22104
2004-01-15 07:49:35 +00:00
Jackson Harper ed9721a025 * Cache.cs: Return null when items are expired but have not been
removed yet.
	* OutputCacheModule.cs: Handle sliding expirations. Remove hacks
	checking if the item is expired, the cache no longer returns
	expired items.

svn path=/trunk/mcs/; revision=22103
2004-01-15 06:42:06 +00:00
Jackson Harper 85022c9848 * Page.cs: Set the cache's duration.
svn path=/trunk/mcs/; revision=22102
2004-01-15 06:39:46 +00:00
Jackson Harper c4560d70b1 * HttpCachePolicy.cs: Expose duration and sliding properties.
svn path=/trunk/mcs/; revision=22101
2004-01-15 06:38:23 +00:00
Jackson Harper e9aae24f7c * Cache.cs: When using sliding expiration update the cache objects
expires time as well as the expires entry expire time because the
	objects expire time is checked when objects are pulled out. This
	fixex bug #52778.

svn path=/trunk/mcs/; revision=22100
2004-01-15 05:18:02 +00:00
Martin Baulig bbb1ca612e Reverted my last commit.
svn path=/trunk/mcs/; revision=22096
2004-01-15 04:29:40 +00:00
Sebastien Pouliot eea8dffc10 2004-01-14 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added Url and UrlMembershipCondition unit
	tests in System.Security.Policy namespace.

svn path=/trunk/mcs/; revision=22095
2004-01-15 04:28:34 +00:00
Sebastien Pouliot 7fc0c5e5d2 2004-01-14 Sebastien Pouliot <[email protected]>
* UrlTest.cs: New. Unit tests for Url. Site test still fails.
	* UrlMembershipConditionTest.cs: New. Unit tests for
	UrlMembershipCondition. Site test still fails.

svn path=/trunk/mcs/; revision=22094
2004-01-15 04:23:52 +00:00
Martin Baulig e375070d10 2004-01-15 Martin Baulig <[email protected]>
* MonoSymbolFile.cs (MonoDebuggerSupport): New public class
	containing static wrappers for calling the `MonoDebugger_*'
	function in S.R.Assembly.

svn path=/trunk/mcs/; revision=22093
2004-01-15 04:23:48 +00:00
Sebastien Pouliot b67a5dd744 2004-01-14 Sebastien Pouliot <[email protected]>
* Url.cs: Added IBuiltInEvidence (corcompare) and new static methods
	to prepare and compare urls.
	* UrlMembershipCondition.cs: Added missing [Serializable] attribute
	and set_Url property. Implemented Check. Fixed Equals and To/FromXml.

svn path=/trunk/mcs/; revision=22092
2004-01-15 04:21:37 +00:00
Martin Baulig b3a09e5757 2003-12-08 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam): New internal class;
	derives from MonoType.

svn path=/trunk/mcs/; revision=22091
2004-01-15 03:56:43 +00:00
Martin Baulig e1342a39f7 2004-01-15 Martin Baulig <[email protected]>
* IMonoSymbolWriter.cs (IMonoSymbolWriter): Make this interface internal.

svn path=/trunk/mcs/; revision=22090
2004-01-15 03:55:37 +00:00
Jackson Harper 2cde9249cb * HttpCachePolicy.cs: Add an event that is fired when the
cacheability is updated. The response uses this to determine
	whether or not it needs to cache itself.
	* HttpResponse.cs: When the cacheability is updated either create
	or dispose of the cached raw response based on whether or not we
	wil need it. This allows output caching to be controlled
	programatically.

svn path=/trunk/mcs/; revision=22089
2004-01-15 03:50:30 +00:00
Jackson Harper 5449c99506 * Page.cs: Don't tell the response to cache anymore. This is done
when the cacheability is modified by a callback.

svn path=/trunk/mcs/; revision=22083
2004-01-15 03:39:30 +00:00
Atsushi Eno 7fe4c80155 2004-01-15 Atsushi Enomoto <[email protected]>
* ManagedXslTransform.cs : Pass TextReader's encoding for outputter.
	  don't write start and end document.

svn path=/trunk/mcs/; revision=22082
2004-01-15 02:53:48 +00:00
Jackson Harper 10db3b666a * TemplateParser.cs: If varybyparam is set to "none" make it null
so we dont get a param named null in the outputcache key.

svn path=/trunk/mcs/; revision=22081
2004-01-15 01:32:35 +00:00
Jackson Harper c9f9326a2e * BasePartialCachingControl.cs: Use varyby attributes in key
generation.

svn path=/trunk/mcs/; revision=22080
2004-01-15 01:14:19 +00:00
Jackson Harper 7e8fb6a4b2 * TemplateControlCompiler.cs: Is a user control is cached and
shared use the controls type hashcode for the GUID so it will be
	the same across instances.

svn path=/trunk/mcs/; revision=22079
2004-01-15 01:11:49 +00:00
David Sheldon e99c98d99d 2004-01-14 David Sheldon <[email protected]>
* XmlSchemaSimpleTypeRestriction: Convert pattern facets to be ORed,
          as per: http://www.w3.org/TR/xmlschema-2/#src-multiple-patterns
          Fixes bug 52841

svn path=/trunk/mcs/; revision=22078
2004-01-14 23:29:02 +00:00
David Sheldon bba8c02eac Improved handling of length facets on non-standard data types. Fixed bug
52840.

2004-01-14  David Sheldon <[email protected]>

  * BuiltInDatatype.cs:
	   XsdAnySimpleType - Added Length that returns the string length.
	   XsdBase64Binary - Added Length, and used more direct, less fussy,
	       Base64 decoder.
	   XsdHexBinary - Added Length method

	* XmlSchemaSimpleTypeRestriction: use DataType Length method to
	  determine length to compare against. Stop testing Lenght facets on
	  QName and Notation types (as per errata)

svn path=/trunk/mcs/; revision=22077
2004-01-14 23:22:46 +00:00
Jackson Harper 0d000aaf52 fix filename
svn path=/trunk/mcs/; revision=22076
2004-01-14 23:06:27 +00:00
Jackson Harper 177ed79ff9 * OutputCache.cs: Add all the outputcache attribute error
messages.

svn path=/trunk/mcs/; revision=22075
2004-01-14 23:01:27 +00:00
Jackson Harper 338ef9e9ca * GenericOutputter.cs: Add constructors that do not take an
encoding to fix build.

svn path=/trunk/mcs/; revision=22074
2004-01-14 21:44:58 +00:00
Atsushi Eno f2b6f9ce4e 2004-01-14 Atsushi Enomoto <[email protected]>
* XslVariable.cs : Use new GenericOutputter.ctor() to indicate it is
	  created for variable. (It is required not to output "PI for xmldecl"
	  incorrectly.)
	* XslNumber.cs : trivial code refactoring.
	* XslCopy.cs : comment out WriteLine().

svn path=/trunk/mcs/; revision=22073
2004-01-14 19:44:16 +00:00
Atsushi Eno b5ade3a8c7 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlWriterEmitter.cs : It now uses WriteProcessingInstruction() to
	  write XML declaration. It means that output supports non document
	  entity. This fixes bug #52729.
	* Emitter.cs, TextEmitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
	  modified WriteStartDocument() signature to receive Encoding.
	* GenericOutputter.cs :
	  - Added .ctor() which receives Encoding. (It is used for TextWriter
	    output to get actual encoding.)
	  - Added .ctor() to take an boolean argument which indicates it is
	    variable content or not. (When variable, it does not call
	    WriteStartDocument().)
	* XslKey.cs,
	  XsltCompiledContext.cs : comment out WriteLine().
	* XslOutput.cs : set default encoding utf-16.

svn path=/trunk/mcs/; revision=22072
2004-01-14 19:43:05 +00:00
Zoltan Varga bf9de60a09 2004-01-14 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_magic_trampoline): Fix build bustage.

svn path=/trunk/mono/; revision=22071
2004-01-14 19:38:32 +00:00
Lluis Sanchez db7425089f Set web service namespace
svn path=/trunk/mcs/; revision=22068
2004-01-14 17:36:45 +00:00
Lluis Sanchez 3b50579296 * wstest.cs: Wsdl documents are cached locally.
* services.xml: updated services.

svn path=/trunk/mcs/; revision=22067
2004-01-14 17:33:26 +00:00
Lluis Sanchez d9ad57f75d * ProtocolImporter.cs, SoapProtocolImporter.cs: Added support for OneWay
operations (those don't	have output message).
	* SoapProtocolReflector.cs: Set the correct element name and
	namespace for headers (those are not managed like other data classes).

svn path=/trunk/mcs/; revision=22066
2004-01-14 17:32:31 +00:00
Lluis Sanchez ea972d0084 * Methods.cs: Set the correct element name and namespace for headers (those
are not managed like other data classes).

svn path=/trunk/mcs/; revision=22065
2004-01-14 17:31:40 +00:00
Lluis Sanchez 35c1a12ab0 * MapCodeGenerator.cs: Use type namespace instead of root namespace as
default namespace for members.
	* XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
	* XmlReflectionImporter.cs: Fixed the assignment of root and type
	  namespaces.
	* XmlSchemaExporter.cs: Use type namespace instead of root namespace as
	  default namespace for members. In AddSchemaElement, if the element is
	  a root element never use a "ref" attribute.
	* XmlSchemaImporter.cs: Fixed issue when importing root elements.

svn path=/trunk/mcs/; revision=22064
2004-01-14 17:30:50 +00:00
Zoltan Varga 928c1d0a50 2004-01-14 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_magic_trampoline): Disable code patching when
	running under valgrind.

svn path=/trunk/mono/; revision=22063
2004-01-14 16:41:05 +00:00
Zoltan Varga 61ed9a7d9c 2004-01-14 Zoltan Varga <[email protected]>
* debug-mini.c: Modify the debug info serialize/deserialize code so it handles
	negative values as well. This is needed for the encoding of the line number
	info, since sometimes the line numbers are not in increasing order.

svn path=/trunk/mono/; revision=22062
2004-01-14 16:30:23 +00:00
Ravindra 5226212bfc Changed SolidBrush constructor to initialize its color from IntPtr.
svn path=/trunk/mcs/; revision=22061
2004-01-14 16:17:19 +00:00
Atsushi Eno 5a6b46aac3 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs : forgot to commit ;)
	* XmlSchemaUtil.cs : Fixed IsSchemaDatatypeEquals() to return false
	  for comparison between ID and IDREF.

svn path=/trunk/mcs/; revision=22060
2004-01-14 15:42:15 +00:00
Atsushi Eno 47a9a2a4d2 2004-01-14 Atsushi Enomoto <[email protected]>
* XsdIdentityState.cs :
	  Now takes xsi:nil value into consideration for comparison.
	  nsname:* was not handled correctly.
	  Reject complexType as key value type (it is dynamic instance error).
	* XsdKeyTable.cs : remoed unused code.
	* XsdValidatingReader.cs :
	  ID comparison was not done.
	  {final} value of attribute definition was not used for default value.
	  Get xsi:nil value from non-default value.

svn path=/trunk/mcs/; revision=22059
2004-01-14 15:41:32 +00:00
Zoltan Varga a86c96441e 2004-01-14 Zoltan Varga <[email protected]>
* FileStream.cs (.ctor): Avoid allocating a large buffer when reading
	from small files.

svn path=/trunk/mcs/; revision=22058
2004-01-14 14:55:46 +00:00
Martin Willemoes Hansen f7e0a9315f index:Fixed spelling
svn path=/trunk/mono/; revision=22057
2004-01-14 12:36:04 +00:00
Lluis Sanchez 87ac237614 * MonoCustomAttrs.cs: Removed attribute cache. Attribute instances can't
be reused because they could be modified. This fixes bug #52655.

svn path=/trunk/mcs/; revision=22056
2004-01-14 11:19:29 +00:00
Martin Willemoes Hansen 5dc6f903a2 * INSTALL.txt: Fixed, autogen should be autogen.sh
svn path=/trunk/mcs/; revision=22055
2004-01-14 10:46:28 +00:00
Atsushi Eno 8577b699e3 2004-01-14 Atsushi Enomoto <[email protected]>
* README, Makefile, xmltest.cs : Initial checkin.

svn path=/trunk/mcs/; revision=22054
2004-01-14 08:06:19 +00:00
Atsushi Eno 485add530e 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlAttributeCollectionTests.cs : Added RemoveDefaultAttribute().
	* XmlDocumentTests.cs, XmlElementTests.cs, XmlNodeReaderTests.cs,
	  XmlTextReaderTests.cs, XmlTextWriter.cs, XmlWriterTests.cs :
	  Close or avoid XmlTextReader.

svn path=/trunk/mcs/; revision=22053
2004-01-14 08:02:53 +00:00
Atsushi Eno 4a3a3b770d 2004-01-14 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : when set a value, it is no longer default
	  (even if the value is the same as default value).
	* XmlAttributeCollection.cs : Remove() should recover default attribute
	  value to default, not specified value.
	  Patch by Boris Kirzner (modified a bit)
	* XmlDocument.cs : Reference to undeclared entity is not allowed in
	  Load(), while allowed in ReadNode(). Added such distinguishing logic.

svn path=/trunk/mcs/; revision=22052
2004-01-14 07:55:50 +00:00
Atsushi Eno efe4c1a38a 2004-01-14 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added SchemaDataValueType.cs

svn path=/trunk/mcs/; revision=22051
2004-01-14 07:20:21 +00:00
Atsushi Eno d7ef514f4f 2004-01-14 Atsushi Enomoto <[email protected]>
* Added SchemaDataValueType.cs.
	* BuiltInDatatype.cs, XmlSchemaDatatype.cs : Adde ParseValueType() on
	  all derived datatype classes.
	* XmlSchemaComplexType.cs : Fixed ContentType value for simple types.
	  Errata-considered simple content derivation check and simple content
	  restriction should check this too.

svn path=/trunk/mcs/; revision=22050
2004-01-14 07:19:20 +00:00
Gonzalo Paniagua Javier f8a61c334a 2004-01-14 Gonzalo Paniagua Javier <[email protected]>
* StringBuilderTest.cs: added tests for the couple of bugs found in the
	new StringBuilder implementation.

svn path=/trunk/mcs/; revision=22049
2004-01-14 07:08:41 +00:00
Eran Domb 3ec7ccb9e7 Check for empty elements to avoid NullReferenceException.
svn path=/trunk/mcs/; revision=22048
2004-01-14 05:09:32 +00:00
César Natarén 9446de8d00 2004-01-13 Cesar Lopez Nataren <[email protected]>
* VariableDeclaration.cs: get the this.type which is a Type not a TypeBuilder.

svn path=/trunk/mcs/; revision=22047
2004-01-14 02:07:20 +00:00
Miguel de Icaza be77b6a3ef remove my mistake
svn path=/trunk/mcs/; revision=22046
2004-01-13 23:43:42 +00:00
Andreas N 7145d38539 2004-01-14 Andreas Nahr <[email protected]>
* IISAPIRuntime.cs: Fixed wrong attribute

svn path=/trunk/mcs/; revision=22045
2004-01-13 23:22:42 +00:00
Bernie Solomon 48a82fb923 2004-01-13 Bernie Solomon <[email protected]>
* graphics-path.c (append): fix struct initialization
	for old fashioned C compilers

svn path=/trunk/mcs/; revision=22044
2004-01-13 22:55:36 +00:00
Miguel de Icaza 5c92d72fdb Flush
svn path=/trunk/mono/; revision=22043
2004-01-13 22:40:30 +00:00
Gonzalo Paniagua Javier 5454016dea install config, not config.in
svn path=/trunk/mono/; revision=22042
2004-01-13 22:39:12 +00:00
Jackson Harper 478790c70c * TemplateControlCompiler.cs: If an item has the partial caching
attribute build a PartialCachingControl in the parents __Build method.
	* BaseCompiler.cs: Add a method for adding class attributes to the
	class.
	* UserControlCompiler.cs: If caching is enabled on a user control
	add the PartialCachingAttribute to it.

svn path=/trunk/mcs/; revision=22034
2004-01-13 21:22:37 +00:00
Jackson Harper ad6fd34680 * TemplateParser.cs: Add VaryByControls and Shared output cache
properties. These are not assigned yet.
	* TemplateControlParser.cs: Do not ignore the OutputCache
	attribute.
	* BasePartialCachingControl.cs: Initial implementation. Keys are
	still not created properly.
	* StaticPartialCachingControl.cs: Assign properties in base class,
	implement CreateControl.

svn path=/trunk/mcs/; revision=22033
2004-01-13 21:21:27 +00:00
Gonzalo Paniagua Javier ad730dfe6b 2004-01-13 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: added checks for null in a few Append methods.

svn path=/trunk/mcs/; revision=22032
2004-01-13 21:18:06 +00:00
Paolo Molaro a402c1e3bd Tue Jan 13 22:23:25 CET 2004 Paolo Molaro <[email protected]>
* StringBuilder.cs: fixed start offset in Append(char).

svn path=/trunk/mcs/; revision=22030
2004-01-13 21:08:46 +00:00
Jackson Harper af1698145a * XmlSchemaComplexType.cs: Comment out line that was breaking
the build.

svn path=/trunk/mcs/; revision=22029
2004-01-13 19:52:22 +00:00
Miguel de Icaza 10cf8d1042 2004-01-10 Miguel de Icaza <[email protected]>
* ecore.cs (FieldExpr.AddressOf): Fix generated IL for accessing
	static read-only fields in ctors.

	Applied patch from Benjamin Jemlich

	* expression.cs (UnaryMutator): Avoid leaking local variables.

svn path=/trunk/mcs/; revision=22028
2004-01-13 19:49:14 +00:00
Paolo Molaro 3499100fb0 Tue Jan 13 20:03:17 CET 2004 Paolo Molaro <[email protected]>
* string-icalls.c: fix stringbuilder regression as suggested by
	Iain McCoy <[email protected]>.

svn path=/trunk/mono/; revision=22026
2004-01-13 18:49:30 +00:00
Atsushi Eno f740f77ec7 2004-01-13 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs :
	  Dependent change with XmlSchemaElement internal property.

svn path=/trunk/mcs/; revision=22025
2004-01-13 18:23:23 +00:00
Atsushi Eno d6ba3804b6 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeUnion.cs : The same reason as the previous patch.
	* XmlSchemaComplexType.cs : Now it handles ContentTypeParticle and
	  ContentType much more presise than before.
	* XmlSchemaElement.cs :
	  Simplified property handling for reference element.

svn path=/trunk/mcs/; revision=22024
2004-01-13 18:22:49 +00:00
Miguel de Icaza 53920f8b99 Update
svn path=/trunk/mono/; revision=22023
2004-01-13 16:56:47 +00:00
Lluis Sanchez b3aa17a569 * XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs
XmlTypeMapping.cs: more namespace fixes.

svn path=/trunk/mcs/; revision=22022
2004-01-13 15:19:53 +00:00
Miguel de Icaza 4513a42f33 Escape backslashed
svn path=/trunk/mcs/; revision=22021
2004-01-13 14:36:52 +00:00
Zoltan Varga f1955998b7 2004-01-13 Zoltan Varga <[email protected]>
* process.c (process_read_stringtable_block): Recognize '007f' as
	a language neutral stringtable block.

svn path=/trunk/mono/; revision=22020
2004-01-13 14:12:26 +00:00
Zoltan Varga 271b3628b2 2004-01-13 Zoltan Varga <[email protected]>
* cpu-pentium.md (localloc): Increase the size of the localloc
	instruction since it is a loop under Win32.

svn path=/trunk/mono/; revision=22019
2004-01-13 13:30:41 +00:00
Zoltan Varga ab0591205a 2004-01-13 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (DefineVersionInfoResource): Set more
	version info properties.

svn path=/trunk/mcs/; revision=22018
2004-01-13 13:18:22 +00:00
Zoltan Varga 405a2f77a9 2004-01-13 Zoltan Varga <[email protected]>
* Win32Resources.cs (Win32VersionInfoResource): Add more properties.

svn path=/trunk/mcs/; revision=22017
2004-01-13 13:17:04 +00:00
Lluis Sanchez cc725012f1 * XmlReflectionImporter.cs: type namespace must never be used as root
namespace. This fixes bug #52772.

svn path=/trunk/mcs/; revision=22016
2004-01-13 12:33:08 +00:00
Zoltan Varga aeda98a415 2004-01-13 Zoltan Varga <[email protected]>
* debug-mini.c (record_line_number): Get rid of unneccesary memory
	allocation.

svn path=/trunk/mono/; revision=22015
2004-01-13 10:54:08 +00:00
Atsushi Eno 9815687aa9 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs :
	  Invalid attribute should raise an error, not a warning.

svn path=/trunk/mcs/; revision=22014
2004-01-13 10:27:20 +00:00
Atsushi Eno 69cb50914e 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlSchemaObject.cs : Fixed error() not to set severity as Warning.
	* ValidationHandler.cs,
	  XmlSchemaSet.cs,
	  XmlSchemaCollection.cs : Throw exception only in case of errors.
	* XmlSchemaCollection.cs : Remove schema from schemaset if exist.
	  (It might not be good to use schemaset, but keep for a while)
	* XmlSchemaContent.cs,
	  XmlSchemaComplexContentExtension.cs,
	  XmlSchemaComplexContentRestriction.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs,
	  : added GetBaseTypeName() and GetParticle() (not used yet).

svn path=/trunk/mcs/; revision=22013
2004-01-13 09:32:18 +00:00
Atsushi Eno 6ed2623468 2004-01-13 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : Throw exception only in case of errors.
	  Added NET_1_2 Evidences property.

svn path=/trunk/mcs/; revision=22012
2004-01-13 09:07:20 +00:00
Atsushi Eno cfab1fb0dd 2004-01-13 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Throw exception only in case of errors.

svn path=/trunk/mcs/; revision=22011
2004-01-13 09:03:46 +00:00
Ravindra 8731c62658 Changing the access to Matrix(IntPtr) constructor from private to internal.
svn path=/trunk/mcs/; revision=22008
2004-01-13 05:18:30 +00:00
Ravindra 76bb0c1d7a Forgot to commit the Changelog last time.
svn path=/trunk/mcs/; revision=22007
2004-01-13 05:16:29 +00:00
Ravindra 1b73cc5238 pen.matrix must be initialized to identity matrix. Fixing the same.
svn path=/trunk/mcs/; revision=22006
2004-01-13 05:14:03 +00:00
Sebastien Pouliot dac209852b 2004-01-12 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: RSA doesn't start with a Q - at least that what
	a strongname told me. Sorry Ron :(

svn path=/trunk/mcs/; revision=22005
2004-01-13 04:06:53 +00:00
Atsushi Eno dc421281b0 2004-01-12 Atsushi Enomoto <[email protected]>
* XmlElement.cs : Fixed .ctor(). Default attribute was not treated as
	  Specified = false. Patch by Boris Kirzner.

svn path=/trunk/mcs/; revision=22004
2004-01-13 03:25:01 +00:00
Miguel de Icaza e4482c677e Flush
svn path=/trunk/mono/; revision=22003
2004-01-13 03:23:26 +00:00
Martin Baulig acf5dddf38 2004-01-13 Martin Baulig <[email protected]>
* MonoSymbolTable.cs: Added more #region's and a comment at the
	top of the file.

svn path=/trunk/mcs/; revision=22001
2004-01-13 02:25:47 +00:00
Martin Baulig 89c9825191 Added a comment about BuildLineNumberTable().
svn path=/trunk/mcs/; revision=22000
2004-01-13 02:06:25 +00:00
Martin Baulig 31b1c8e496 2004-01-13 Martin Baulig <[email protected]>
* MonoSymbolWriter.cs (SourceMethod.BuildLineNumberTable): Removed
	it here since it's in MethodEntry again.

svn path=/trunk/mcs/; revision=21999
2004-01-13 02:00:11 +00:00
Martin Baulig b3f0c6fe69 Reverting revisions 1.37, 1.38, 1.40 and 1.41.
svn path=/trunk/mcs/; revision=21998
2004-01-13 01:58:59 +00:00
Martin Baulig 3b358aa133 2004-01-13 Martin Baulig <[email protected]>
* ChangeLog, MonoSymbolTable.cs: Reviewed Ben's patches.  For
	those which are not ok, I'll add detailed comments to the source
	code.

svn path=/trunk/mcs/; revision=21997
2004-01-13 01:55:19 +00:00
Ben Maurer 80641cf812 miscommit
svn path=/trunk/mcs/; revision=21994
2004-01-13 01:05:57 +00:00
Ben Maurer 546dd15cce 2004-01-12 Ben Maurer <[email protected]>
* Color.cs: Keep KnownColors in an array so that we avoid ht lookup.

svn path=/trunk/mcs/; revision=21993
2004-01-12 23:26:36 +00:00
Lluis Sanchez 4af3876453 * ProtocolReflector.cs: in the case a new ServiceDescription is created,
the name of the BindingInfo was not copied into the new ServiceDescriptor.
	Patch by Yaacov Akiba Slama.

svn path=/trunk/mcs/; revision=21992
2004-01-12 23:13:12 +00:00
Lluis Sanchez 2351fc2ee8 * Hashtable.cs: Added serialization support to SynchedHashtable. This
fixes bug #52741.

svn path=/trunk/mcs/; revision=21991
2004-01-12 23:02:00 +00:00
Lluis Sanchez c5b3c69570 * WebConnection.cs: Yet another fix for WebConnection. This fixes
bug #52169.

svn path=/trunk/mcs/; revision=21989
2004-01-12 22:42:44 +00:00
Miguel de Icaza 6a0a8eabd5 2004-01-12 Miguel de Icaza <[email protected]>
* monoresgen.cs (PoResourceWriter.AddResource): Escape strings,
	fixes #52105

svn path=/trunk/mcs/; revision=21988
2004-01-12 22:40:19 +00:00
Pedro Abelleira Seco 7f5a6fa5a8 Added myself to the team
svn path=/trunk/mono/; revision=21987
2004-01-12 22:38:00 +00:00
Pedro Abelleira Seco 5194b68567 Added my photo
svn path=/trunk/mono/; revision=21986
2004-01-12 22:34:17 +00:00
Patrik Torstensson 8baeea14ee 2004-01-12 Patrik Torstensson
* object.h (MonoStringBuilder) : Changed layout to support our
	new stringbuilder class.
	* marshal.c: Change marshalling to support the new layout of
	string builder.
	* appdomain.c: increased version number because new layout of
	string builder.

svn path=/trunk/mono/; revision=21985
2004-01-12 22:09:28 +00:00
Patrik Torstensson 7138482c94 2004-01-12 Patrik Torstensson
* StringBuilder.cs: new implementation that uses
	string as a buffer instead of a array of chars.

svn path=/trunk/mcs/; revision=21984
2004-01-12 22:07:38 +00:00
Patrik Torstensson 593a4c19b7 2004-01-12 Patrik Torstensson
* Environment.cs: Bump corlib version number due to new StringBuilder

	* String.cs: New internal method to support the new StringBuilder that
	uses the string as a buffer (until ToString is called)

svn path=/trunk/mcs/; revision=21983
2004-01-12 22:06:54 +00:00
Zoltan Varga e2eada94ec 2004-01-12 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version number for real this time.

svn path=/trunk/mcs/; revision=21982
2004-01-12 17:43:28 +00:00
Zoltan Varga fc8f7cfc8e 2004-01-12 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Receive the
	assembly name as an string instead of an AssemblyName, since it is
	easier to extract info from it.

	* appdomain.c (mono_domain_assembly_preload): Look for assemblies in
	the culture subdirectories too. Fixes #52231.

svn path=/trunk/mono/; revision=21981
2004-01-12 16:04:56 +00:00
Zoltan Varga 6683e8a76d 2004-01-12 Zoltan Varga <[email protected]>
* AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
	the runtime, so it can take into account the Culture etc.

	* Environment.cs: Bump corlib version number.

svn path=/trunk/mcs/; revision=21980
2004-01-12 16:01:29 +00:00
Gonzalo Paniagua Javier 24c4c225d2 2003-12-23 Jaroslaw Kowalski <[email protected]>
* CodeAttributeDeclaration.cs:
	* CodeDelegateInvokeExpression:
	  -Added "params" keyword to constructors

svn path=/trunk/mcs/; revision=21979
2004-01-12 11:12:48 +00:00
Gonzalo Paniagua Javier 6a850e1acd 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* CultureInfo.cs: Parent returns null when lcid == parent_lcid. Fixes
	bug #52102.

svn path=/trunk/mcs/; revision=21978
2004-01-12 11:09:50 +00:00
Gonzalo Paniagua Javier 45161feaac 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* interp.c: call setlocale (). Fixes bug #52100.

svn path=/trunk/mono/; revision=21977
2004-01-12 10:51:14 +00:00
Gonzalo Paniagua Javier 08fd92c968 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* Hashtable.cs: fix Clone. Closes bug #52740. Patch by Benjamin Jemlich
	([email protected]).

svn path=/trunk/mcs/; revision=21976
2004-01-12 10:31:20 +00:00
Eran Domb 476a161d9f Use ExecuteReader instead of ExecuteNonQuery. We need to use the CommandBehavior parameter, so the connection will be closed if neede.
svn path=/trunk/mcs/; revision=21975
2004-01-12 08:53:13 +00:00
Gonzalo Paniagua Javier 34907526ab 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
	new parameter with the method name and a boolean for ignoring case.
	Removed some string comparisons no longer needed.

svn path=/trunk/mcs/; revision=21974
2004-01-12 07:42:28 +00:00
Gonzalo Paniagua Javier bafda838fe 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* icall.c: renamed ves_icall_Type_GetMethods to GetMethodsByName.
	It takes 2 new parameters with an optional name for the method to look
	for and case ignoring info.

	* threadpool.c: removed unused variable.

svn path=/trunk/mono/; revision=21973
2004-01-12 07:42:17 +00:00
Gonzalo Paniagua Javier 874e3a648d Added system.web/pages section
svn path=/trunk/mono/; revision=21972
2004-01-12 07:04:06 +00:00
Gonzalo Paniagua Javier 0745d5cd5d 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new files in S.W.Configuration.

	* System.Web/HttpContext.cs: add setter for ConfigTimeout.
	* System.Web/HttpException.cs: added Description property and HTML
	encode some unescaped values.

	* System.Web/HttpRequest.cs: support request validation.

	* System.Web/HttpRequestValidationException.cs: added message and
	description.

	* System.Web/HttpServerUtility.cs: implemented ScriptTimeout.

	* System.Web.Compilation/PageCompiler.cs: invoke Request.ValidateInput
	if required.

	* System.Web.Configuration/GlobalizationConfiguration.cs: undo old fix.

	* System.Web.Configuration/PagesConfiguration.cs:
	* System.Web.Configuration/PagesConfigurationHandler.cs: new files for
	processing system.web/pages section.

	* System.Web.UI/ApplicationFileParser.cs: adde DefaultBaseTypeName
	property.

	* System.Web.UI/PageParser.cs: support validateRequest.

	* System.Web.UI/TemplateControlParser.cs: get default values from
	system.web/pages section.

	* System.Web.UI/TemplateParser.cs: added separate method for changing
	base type (Inherits or system.web/pages).

	* System.Web.UI/UserControlParser.cs: support system.web/pages defined
	base type.

svn path=/trunk/mcs/; revision=21971
2004-01-12 07:03:42 +00:00
Atsushi Eno 379d720471 2004-01-12 Atsushi Enomoto <[email protected]>
* JSMethodInfo.cs : tiny fix for NET_1_2 build.

svn path=/trunk/mcs/; revision=21970
2004-01-12 06:39:46 +00:00
Atsushi Eno e2a1fdf9f1 2004-01-12 Atsushi Enomoto <[email protected]>
* test-uri-list.txt, test-uri-props.txt : added more tests.

svn path=/trunk/mcs/; revision=21969
2004-01-12 06:33:31 +00:00
Atsushi Eno 0b7ab7a256 2004-01-12 Atsushi Enomoto <[email protected]>
* Uri.cs : should not escape already-escaped string (Patch by
	  Boris Kirzner).  File LocalPath should unespace return value.
	  ToString() should be unescaped only when it is not an UNC path.
	  (UNC looks not to be unescaped).

svn path=/trunk/mcs/; revision=21968
2004-01-12 06:30:09 +00:00
Miguel de Icaza c2e15801a7 Flush
svn path=/trunk/mono/; revision=21967
2004-01-12 04:45:21 +00:00
Jackson Harper 8502e8ea49 * OutputCacheModule.cs: Remove varyby objects when there are no
more raw responses that belong to them.
	* CachedRawResponse.cs: Keep a reference to the VaryBy object that
	this response belongs to this is so the varyby can be cleaned up.
	* CachedVaryBy.cs: Keep a reference to the keys that belong to the
	varyby and a reference to the varyby's key.

svn path=/trunk/mcs/; revision=21966
2004-01-12 03:01:48 +00:00
Jackson Harper 1c703c45ac * OutputCacheModule.cs: Remove varyby objects when there are no
more raw responses that belong to them.
	* CachedRawResponse.cs: Keep a reference to the VaryBy object that
	this response belongs to this is so the varyby can be cleaned up.
	* CachedVaryBy.cs: Keep a reference to the keys that belong to the
	varyby and a reference to the varyby's key.

svn path=/trunk/mcs/; revision=21965
2004-01-12 02:58:21 +00:00
Sebastien Pouliot 964f1a03ea 2004-01-11 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added AssemblyInfo.cs and Locale.cs.

svn path=/trunk/mcs/; revision=21964
2004-01-12 01:30:01 +00:00
Sebastien Pouliot 49442da6c8 2004-01-11 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: New. Copied and ajusted from corlib.
	* Locale.cs: New. Copied (verbatim) from corlib.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=21963
2004-01-12 01:28:16 +00:00
Sebastien Pouliot 9ff63f2031 2004-01-11 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
	Resolver property.
	* Transform.cs: Fixed class signature (for 1.1+) by adding public to
	Resolver property.

svn path=/trunk/mcs/; revision=21962
2004-01-12 01:26:55 +00:00
Sebastien Pouliot 504bfb58cb 2004-01-11 Sebastien Pouliot <[email protected]>
* CodeAccessPermissionTest.cs: Fixed CustomCAS test under Windows.

svn path=/trunk/mcs/; revision=21961
2004-01-12 01:24:17 +00:00
Daniel Morgan dd52dbcb45 2004-01-11 Daniel Morgan <[email protected]>
* Graphics.cs: fix compile error on Windows builds for out
	parameter state	in call to GdipSaveGraphics

svn path=/trunk/mcs/; revision=21959
2004-01-12 01:06:25 +00:00
Miguel de Icaza 019d7aa2a4 Add two more links
svn path=/trunk/mono/; revision=21958
2004-01-11 22:48:04 +00:00
Miguel de Icaza 1e297ac759 Add two more links
svn path=/trunk/mono/; revision=21957
2004-01-11 22:34:11 +00:00
Gonzalo Paniagua Javier 539763a10e 2004-01-11 Gonzalo Paniagua Javier <[email protected]>
* MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
	new parameter with the property name and a boolean for ignoring case.
	Fixes bug #52753.

svn path=/trunk/mcs/; revision=21956
2004-01-11 22:08:00 +00:00
Gonzalo Paniagua Javier b1066ea706 2004-01-11 Gonzalo Paniagua Javier <[email protected]>
* icall.c: renamed ves_icall_Type_GetProperties to GetPropertiesByName.
	It takes 2 new parameters with an optional name for the property to look
	for and case ignoring info.
	Fixes bug #52753.

svn path=/trunk/mono/; revision=21955
2004-01-11 22:07:55 +00:00
Jackson Harper 417867b253 * TraceManager.cs: Dont crash if there is no trace
config element.

svn path=/trunk/mcs/; revision=21954
2004-01-11 21:56:16 +00:00
Miguel de Icaza a1880a0424 Flush
svn path=/trunk/mono/; revision=21953
2004-01-11 21:53:03 +00:00
Gonzalo Paniagua Javier 44d9ee3196 Added customErrors handler
svn path=/trunk/mono/; revision=21952
2004-01-11 21:47:21 +00:00
Jackson Harper fdf22ddecd * TraceHandler.cs: Obey localOnly attribute.
svn path=/trunk/mcs/; revision=21951
2004-01-11 21:42:04 +00:00
Jackson Harper dc3dfd5448 * HttpRequest.cs: Add property for determining if the request is
local or not.

svn path=/trunk/mcs/; revision=21950
2004-01-11 21:39:18 +00:00
Martin Willemoes Hansen 9b24dd1b7c Fixed: Book titles was apearing in only one line, instead of three
svn path=/trunk/mono/; revision=21947
2004-01-11 20:46:52 +00:00
Eran Domb bf06102e4a Fix a bug : Convert the value from xml using XmlConvert.
svn path=/trunk/mcs/; revision=21946
2004-01-11 16:00:21 +00:00
Atsushi Eno c0278b2f1d 2004-01-11 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : internal type should not appear in protected
	  members' signature.

svn path=/trunk/mcs/; revision=21945
2004-01-11 15:33:25 +00:00
Alexandre Pigolkine ef4dd01970 fixes to gdip, see ChangeLog for details
svn path=/trunk/mcs/; revision=21944
2004-01-11 15:14:28 +00:00
Andreas N 997d3034f6 2004-01-11 Andreas Nahr <[email protected]>
* UserControl.cs: Added missing attribute, implemented method
	* Page.cs: Added missing attribute, implemented method

svn path=/trunk/mcs/; revision=21943
2004-01-11 14:44:45 +00:00
Eran Domb c1638d2b25 Fix a big in Close () method - close the underlying stream.
svn path=/trunk/mcs/; revision=21942
2004-01-11 14:36:31 +00:00
Andreas N 60a72594b5 2004-01-11 Andreas Nahr <[email protected]>
* makefile: Dependency to EnterpriseServices.dll added
	* System.Web.dll.sources: Added 4 files in System.Util, sorted Web.Util file names

svn path=/trunk/mcs/; revision=21941
2004-01-11 13:59:23 +00:00
Andreas N c00335d5d6 2004-01-11 Andreas Nahr <[email protected]>
* TransactedCallback.cs:
	* WorkItemCallback.cs:
	* WorkItem.cs:
	* Transactions.cs: Added and stubbed/ implemented

svn path=/trunk/mcs/; revision=21940
2004-01-11 13:54:58 +00:00
Andreas N ebcccebf55 2004-01-11 Andreas Nahr <[email protected]>
* WebEqualComparer.cs:
	* WebHashCodeProvider.cs:
	* FileAction.cs:
	* FileChangeEventHandler.cs:
	* NativeFileChangeEventHandler.cs: Monostyled header, internalized

svn path=/trunk/mcs/; revision=21939
2004-01-11 13:51:38 +00:00
Andreas N 24b952db75 2004-01-11 Andreas Nahr <[email protected]>
* PassportIdentity.cs: Added v 1.1 members

svn path=/trunk/mcs/; revision=21938
2004-01-11 13:48:12 +00:00
Andreas N e5c18812d6 2004-01-11 Andreas Nahr <[email protected]>
* SimpleWorkerRequest.cs: Added missing attribute
	* IISAPIRuntime.cs: Added attributes, fixed signature
	* IAppDomainFactory.cs: Added attributes, fixed signature

svn path=/trunk/mcs/; revision=21937
2004-01-11 13:47:20 +00:00
Atsushi Eno 9bf15946b2 2004-01-11 Atsushi Enomoto <[email protected]>
* XmlException.cs : Fixed incorrect .ctor signature.
	* XmlParserInput.cs : Fixed in sync with the above fix.

svn path=/trunk/mcs/; revision=21936
2004-01-11 10:47:33 +00:00
David Sheldon 8283ad27ba 2004-01-11 David Sheldon <[email protected]>
* DateTime.cs: Correct processing of formats with multiple '-'s, fixing bug
  52274

  * DateTimeTest.cs: Tests for bug 52274 fix, formats such as
  '--MM--'

svn path=/trunk/mcs/; revision=21935
2004-01-11 09:57:35 +00:00
David Sheldon 0ebca37f5d Added more checking of restriction facets.
2004-01-11  David Sheldon <[email protected]>

  * BuiltInDatatype.cs : Added XsdOrdering enum, and Compare methods
   to the data-types. Changed AllowedFacets to be a bitfield.

  * XmlSchemaFacet.cs : Added Facet enumeration to represent bitfield.

  * XmlSchemaEnumerationFacet.cs,
    XmlSchemaFractionDigitsFacet.cs,
    XmlSchemaLengthFacet.cs,
    XmlSchemaMaxExclusiveFacet.cs,
    XmlSchemaMaxInclusiveFacet.cs,
    XmlSchemaMaxLengthFacet.cs,
    XmlSchemaMinExclusiveFacet.cs,
    XmlSchemaMinInclusiveFacet.cs,
    XmlSchemaMinLengthFacet.cs,
    XmlSchemaNumericFacet.cs,
    XmlSchemaPatternFacet.cs,
    XmlSchemaTotalDigitsFacet.cs,
    XmlSchemaWhiteSpaceFacet.cs : Added ThisFacet Property to return facet type


  * XmlSchemaSimpleTypeRestriction.cs: Inherited facets from base types,
    checked which which were allowed on different types. Validated fixed
    facets, duplicated facets and derivation by restriction. Added checking
    for min/max Inclusive/Exclusive, totalDigits and fractionDigits facets in
    validation.

svn path=/trunk/mcs/; revision=21934
2004-01-11 09:46:37 +00:00
Atsushi Eno 1ac8af115d 2004-01-11 Atsushi Enomoto <[email protected]>
* xml-classes : added v2 info. schema status updates.

	Added ChangeLog. (There are reason not to keep ChangeLog for
	documents, at least for not a little changes ;-)

svn path=/trunk/mono/; revision=21933
2004-01-11 09:38:28 +00:00
Jackson Harper 5dafd5ea2b add trace configuration handlers.
svn path=/trunk/mono/; revision=21930
2004-01-11 05:12:54 +00:00
Jackson Harper 85f10999fc * Page.cs: Handle trace being enabled in the config file.
svn path=/trunk/mcs/; revision=21929
2004-01-11 05:11:54 +00:00
Jackson Harper 88e7f05120 * TraceContext.cs: Handle tracing when it is enabled in the config
file but not on the page.
	* TraceManager.cs: Get settings from the configuration object.
	* HttpRuntime.cs: Create trace manager in the first request start
	so it can get configuration settings.

svn path=/trunk/mcs/; revision=21928
2004-01-11 05:09:46 +00:00
Jackson Harper ac2d68319b * System.Web.dll.sources: Add TraceConfig.cs and
TraceConfigurationHandler.cs to the build.

svn path=/trunk/mcs/; revision=21927
2004-01-11 05:09:11 +00:00
Jackson Harper c3282fb1dd * TraceConfig.cs: New class contains trace configuration data.
* TraceConfigurationHandler.cs: New class parses trace
	configurations.

svn path=/trunk/mcs/; revision=21926
2004-01-11 05:07:32 +00:00
Jackson Harper ef9519b1fe * data/machine.config: Add trace handler (Trace.axd)
svn path=/trunk/mono/; revision=21924
2004-01-11 02:15:48 +00:00
Jackson Harper e9d467be67 fix
svn path=/trunk/mcs/; revision=21923
2004-01-11 01:50:20 +00:00
Jackson Harper 7e679b5c2e * TraceHandler.cs: Implement.
svn path=/trunk/mcs/; revision=21922
2004-01-11 01:48:45 +00:00
Jackson Harper a9df58485d * TraceContext.cs: Save the request path in the trace data.
* TraceData.cs: Add RequestPath property, make some rendering
	methods internal static so the TraceHandler can use them.
	* TraceManager.cs: Expose trace data, add a method for clearing
	trace data.

svn path=/trunk/mcs/; revision=21921
2004-01-11 01:47:29 +00:00
Ben Maurer 246fa1ab4f add mono-develop
svn path=/trunk/mono/; revision=21920
2004-01-11 00:48:15 +00:00
Francisco Figueiredo Jr. 1f1e3f6ff2 2004-01-10 Francisco Figueiredo Jr <[email protected]>
* Synchronized test files with gborg repository.

svn path=/trunk/mcs/; revision=21919
2004-01-10 20:22:05 +00:00
Francisco Figueiredo Jr. eedb5dfa9a 2004-01-10 Francisco Figueiredo Jr. <[email protected]>
* Changed makefile to add test targets. Now Npgsql can be tested with alread existing nunit test infrastructure.

svn path=/trunk/mcs/; revision=21918
2004-01-10 20:20:11 +00:00
Francisco Figueiredo Jr. 8626e7e401 2004-01-10 Francisco Figueiredo Jr. <[email protected]>
* Added new test sources to the list.

svn path=/trunk/mcs/; revision=21917
2004-01-10 20:18:40 +00:00
Atsushi Eno 7665202145 2004-01-10 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : Fixed NET_1_2 build related to
	  obsolete attribute problem (see DbDataPermission.cs)

svn path=/trunk/mcs/; revision=21916
2004-01-10 18:39:13 +00:00
Atsushi Eno e83e518891 2004-01-10 Atsushi Enomoto <[email protected]>
* ISqlParameterCollection.cs : Obsolete attribute requires usingdecl.

svn path=/trunk/mcs/; revision=21915
2004-01-10 18:37:17 +00:00
Atsushi Eno ab835423d2 2004-01-10 Atsushi Enomoto <[email protected]>
* ISqlParameterCollection.cs : Obsolete attribute namespace
	  declaration is missing (looks mcs bug if mcs allows this code).

svn path=/trunk/mcs/; revision=21914
2004-01-10 18:32:36 +00:00
Atsushi Eno 0e83ff495b 2004-01-10 Atsushi Enomoto <[email protected]>
* OleDbPermission.cs : NET_1_2 fix not to call obsolete .ctor.

svn path=/trunk/mcs/; revision=21913
2004-01-10 18:30:25 +00:00
Atsushi Eno 8e13a8c81d 2004-01-10 Atsushi Enomoto <[email protected]>
* DbDataPermission.cs : tiny fix to pass OleDbPermission.

svn path=/trunk/mcs/; revision=21912
2004-01-10 18:28:11 +00:00
Atsushi Eno e5e8b92127 2004-01-10 Atsushi Enomoto <[email protected]>
* Path.cs : GetDirectoryName ("c:\readme.txt") should return "c:\"
	  instead of "c:" . This fixed bug #52735.

svn path=/trunk/mcs/; revision=21911
2004-01-10 18:07:11 +00:00
Ben Maurer 2db620bf66 typo fix
svn path=/trunk/mcs/; revision=21910
2004-01-10 17:40:43 +00:00
Miguel de Icaza 57fdf073b3 Add new docs
svn path=/trunk/mono/; revision=21909
2004-01-10 17:30:03 +00:00
Miguel de Icaza efb530c91c Update
svn path=/trunk/mono/; revision=21908
2004-01-10 17:05:03 +00:00
Miguel de Icaza 9deb14b11b Ah, thta was a mistake, its not ready
svn path=/trunk/mono/; revision=21907
2004-01-10 16:34:17 +00:00
Rafael Teixeira 2fe8d3d4bb 2004-01-10 Rafael Teixeira <[email protected]>
* System.Reflection.Emit/ModuleBuilder.cs: 'types' array is normally larger than number of itens in it,
	so searchs have to stop at 'num_types' limit (as it was it was throwing exceptions inside mbas that needs the case insensitive scan)

svn path=/trunk/mcs/; revision=21906
2004-01-10 15:50:09 +00:00
Zoltan Varga 5e97397c23 2004-01-10 Zoltan Varga <[email protected]>
* AppDomain.cs: Keep track of type resolve and assembly resolve
	events in progress to prevent infinite recursion.

svn path=/trunk/mcs/; revision=21905
2004-01-10 10:55:15 +00:00
Jackson Harper 2afe222a7c * System.Web.dll.sources: Add TraceData.cs and TraceManager.cs to
build.

svn path=/trunk/mcs/; revision=21904
2004-01-10 09:57:07 +00:00
Jackson Harper 19e9cb29b4 * HttpRuntime.cs: Add trace manager
* TraceManager.cs: New class for handling trace configuration and
	storing trace data objects.
	* TraceContext.cs: Save trace data to the trace manager. Fix
        typo.

svn path=/trunk/mcs/; revision=21903
2004-01-10 09:55:31 +00:00
Ravindra 200bee6858 Made all Enums serializable.
svn path=/trunk/mcs/; revision=21902
2004-01-10 09:51:29 +00:00
Jackson Harper 15b67acb2e changelog
svn path=/trunk/mcs/; revision=21901
2004-01-10 09:51:18 +00:00
Ravindra ed6b9ca7c3 Made all Enums serializable and corrected some class declarations.
svn path=/trunk/mcs/; revision=21900
2004-01-10 09:43:58 +00:00
Ravindra 97eae23285 Made all Enums serializable and corrected some class declarations.
svn path=/trunk/mcs/; revision=21899
2004-01-10 09:21:19 +00:00
Jackson Harper 2872584f2c * Page.cs: Save trace data before rendering it.
* System.Web.dll.sources: Add TraceData.cs

svn path=/trunk/mcs/; revision=21898
2004-01-10 09:08:53 +00:00
Jackson Harper e924ad8630 * Page.cs: Save trace data before rendering it.
svn path=/trunk/mcs/; revision=21897
2004-01-10 09:07:41 +00:00
Jackson Harper b815289712 * TraceData.cs: New class for storing trace data. Data is stored
here instead of the trace context so it can be saved and accessed
	from the trace handler.
	* TraceContext.cs: Save data in the TraceData object, let the
	trace data object handle the rendering.

svn path=/trunk/mcs/; revision=21896
2004-01-10 09:06:39 +00:00
Ravindra 2c564f6f33 Added missing attributes to relevent classes and corrected coding style mistakes of my previous commit.
svn path=/trunk/mcs/; revision=21895
2004-01-10 09:05:31 +00:00
Gonzalo Paniagua Javier dc40f53dae 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services/WebService.cs: added SetContext ().

	* System.Web.Services.Protocols/HttpSoapWebServiceHandler.cs:
	* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: set
	base.Context property.

	* System.Web.Services.Protocols/WebServiceHandler.cs: added set_Context
	and set the context for the WebService when creating the instance.

	Fixes bug #52615.

svn path=/trunk/mcs/; revision=21894
2004-01-10 05:36:25 +00:00
Jackson Harper 3edad349f7 * monodis.1: Add --show-method-tokens switch
* get.c: When stringifying methods show the method token if the
	show-method-tokens flag is set.
	* get.h: Add show_method_tokens flag
	* main.c: Add --show-method-tokens switch

svn path=/trunk/mono/; revision=21893
2004-01-10 03:19:45 +00:00
Gonzalo Paniagua Javier 52772c85e8 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: when generating files from DOM, set the
	encoding to UTF-8 with BOM marker. Fixes bug #52604.

svn path=/trunk/mcs/; revision=21892
2004-01-10 02:10:33 +00:00
Miguel de Icaza c0275ed050 Use monologue
svn path=/trunk/mono/; revision=21891
2004-01-10 01:16:39 +00:00
Gonzalo Paniagua Javier 9f6185664b 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: patch from Brad Fitzpatrick <[email protected]> take 2.

svn path=/trunk/mcs/; revision=21890
2004-01-10 00:02:57 +00:00
Miguel de Icaza bf9ec30598 2004-01-09 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs (IsCastToken): Allow the various native types
	here to return true, as they can be used like this:

		(XXX) int.MEMBER ()

	Fixed 49836 and all the other dups

svn path=/trunk/mcs/; revision=21888
2004-01-09 22:53:00 +00:00
Miguel de Icaza b90a8ba023 update
svn path=/trunk/mcs/; revision=21887
2004-01-09 22:51:28 +00:00
Todd Berman c1eaa78c74 i think this is clean, notsure as i cant build the web page for some reason.
svn path=/trunk/mono/; revision=21886
2004-01-09 21:54:51 +00:00
Jackson Harper 6aa1b0d528 * monodis.1: Add typespec switch
svn path=/trunk/mono/; revision=21884
2004-01-09 21:36:39 +00:00
Gonzalo Paniagua Javier 0a5ccb6f09 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
	tidied up the end of ReadDone. Disabled relaunching the request if 2
	InitRead are called, since now we don't throw everything into
	RegisterWaitForSingleObject but one request at a time.

	* WebConnectionGroup.cs: when checking available connections, allow them
	not to be Connected but allocated to honor the connection limit.

	* WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
	too. ReadAll don't mess contentLength if it's provided in the headers.

	BIG thanks to Lluis. Turns out that we were debugging the same stuff and
	his Data.Init discovery was THE thing I was missing.

	Fixes bug #51277.

svn path=/trunk/mcs/; revision=21883
2004-01-09 21:02:20 +00:00
Atsushi Eno 5c8e118b1c 2004-01-09 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs : implemented some members.
	* XmlSchemaCollection.cs : modified to use internal schema set (This
	  class provides more precise schema validation feature and will be
	  commonly used for XPathNavigator2).
	  Added .NET 1.1 .ctor() which takes XmlResolver.
	* XmlSchema.cs : fix related to above changes.
	  Use validation event handler on Read() at all required places.
	  Added .NET 1.1 .ctor() which takes XmlResolver.
	* XmlSchemaComplexType.cs : content type comparison was incorrect.
	  Renamed confusing method.
	* XmlSchemaElement.cs : don't use ContentTypeParticle in
	  CheckRecursion(), where that property might not be determined yet.
	* XmlSchemaGroupBase.cs : Modified ValidateRecurse() a bit (currently
	  no effect)
	* XmlSchemaGroupBase.cs,
	  XmlSchemaChoice.cs,
	  XmlSchemaAll.cs,
	  XmlSchemaSequence.cs : moved CheckRecursion to XmlSchemaGroupBase.
	* XmlSchemaObjectTable.cs : Fixed missing error info.
	* BUGS-MS.txt : Added info a bit.

svn path=/trunk/mcs/; revision=21880
2004-01-09 17:55:57 +00:00
Zoltan Varga 44f191f3b4 2004-01-09 Zoltan Varga <[email protected]>
* custom-attr.cs: Add test for properties with array type.

svn path=/trunk/mono/; revision=21879
2004-01-09 16:02:46 +00:00
Zoltan Varga 461e4b20a3 2004-01-09 Zoltan Varga <[email protected]>
* reflection.c: Applied patch from Benjamin Jemlich ([email protected]).
	Fix #52451.

svn path=/trunk/mono/; revision=21878
2004-01-09 16:02:00 +00:00
Tim Coleman fe3197aa40 Submitted thanks to patch from Joerg Rosenkranz ...
2004-01-09  Joerg Rosenkranz  <[email protected]>

        * System.Data.OracleClient.Oci/OciCalls.cs:
                Added. It contains all external OCI calls which are
                removed from all other files.
        * System.Data.OracleClient/OciGlue.cs:
                Fix for #52699 (OCI not thread safe).
        * System.Data.OracleClient.Oci/OciHandle.cs:
                Introduced special handling for Bind, Define and
                Environment handles in FreeHandle. Revised the handling for
                other types. Minor change in Dispose.
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
                Special handling for Parameter handles in FreeHandle.
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Character types are converted using the DefaultEncoding.
                Replaced OCI calls.
        * System.Data.OracleClient/OracleCommand.cs:
                Dispose created OciStatementHandles.
        * System.Data.OracleClient/OracleDataReader.cs:
                Dispose used OciStatementHandle.
        * System.Data.OracleClient/OracleTransaction.cs:
                Dispose transaction handle.
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                OCI_INVALID_HANDLE results in exception "Invalid handle."
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciTransactionHandle.cs:
                Introduced DetachFromServiceContext which is called in Commit
                and Rollback (Fix for #52702).
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
        * System.Data.OracleClient.Oci/OciErrorHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
        * System.Data.OracleClient.Oci/OciServerHandle.cs:
        * System.Data.OracleClient.Oci/OciServiceHandle.cs:
        * System.Data.OracleClient.Oci/OciSessionHandle.cs:
                Replaced OCI calls.

svn path=/trunk/mcs/; revision=21877
2004-01-09 14:52:39 +00:00
Zoltan Varga a6566fdf7e 2004-01-09 Zoltan Varga <[email protected]>
* Win32Resources.cs: Fix warnings not detected by mcs.

svn path=/trunk/mcs/; revision=21876
2004-01-09 14:45:45 +00:00
Atsushi Eno ce76a33700 2004-01-09 Atsushi Enomoto <[email protected]>
* DbDataPermission.cs : .ctor(PermissionState state) should not call
	  obsolete .ctor(state, allowBlankPassword). csc reports an error.

svn path=/trunk/mcs/; revision=21875
2004-01-09 14:37:06 +00:00
Miguel de Icaza 82e902b772 Update man page with Zoltan's new improvements
svn path=/trunk/mono/; revision=21874
2004-01-09 14:07:45 +00:00
Zoltan Varga 6c06cfbe2e 2004-01-09 Zoltan Varga <[email protected]>
* exceptions-ppc.c exceptions-x86.c exceptions-sparc.c
	tramp-x86.c tramp-ppc.c tramp-sparc.c: Applied patch from
	Max Horn ([email protected]). Fix file names in comments.

svn path=/trunk/mono/; revision=21873
2004-01-09 13:43:02 +00:00
Zoltan Varga afda624180 2004-01-09 Zoltan Varga <[email protected]>
* driver.cs: Implement /win32res and /win32icon.

svn path=/trunk/mcs/; revision=21872
2004-01-09 13:34:02 +00:00
Zoltan Varga cab2b25c67 2004-01-09 Zoltan Varga <[email protected]>
* Win32Resources.cs (Win32VersionInfoResource:WriteTo): Add padding
	at the end of each string entry.

svn path=/trunk/mcs/; revision=21871
2004-01-09 13:17:03 +00:00
Nick Drochak 6a4b51831b 2004-01-09 Nick Drochak <[email protected]>
* TypeBuilderTest.cs (TestEnums): Fix build with csc.

svn path=/trunk/mcs/; revision=21870
2004-01-09 06:55:43 +00:00
Gonzalo Paniagua Javier e41ff60ba0 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
* ServicePointManager.cs: use GetMaxConnections to get the appropiate
	number of connections limit.

svn path=/trunk/mcs/; revision=21864
2004-01-09 03:18:04 +00:00
Jackson Harper caf1130b12 * main.c: Add switch to dump typespec table.
* dump.c/dump.h: Add function for dumping typespec table.

svn path=/trunk/mono/; revision=21862
2004-01-08 23:40:51 +00:00
Gonzalo Paniagua Javier e45178231c 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
* MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
	guilty for bug 52629.

svn path=/trunk/mcs/; revision=21861
2004-01-08 23:06:06 +00:00
Gonzalo Paniagua Javier 5c91f3bc8c 2004-01-09 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: make reduce not to throw an exception for '../'. Fixes
	bug #52599.

svn path=/trunk/mcs/; revision=21860
2004-01-08 23:05:58 +00:00
Miguel de Icaza 919eaa8232 2004-01-08 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add a rule to improve error handling for the
	common mistake of placing modifiers after the type.

svn path=/trunk/mcs/; revision=21857
2004-01-08 21:31:34 +00:00
Miguel de Icaza b994d376d9 Add
svn path=/trunk/mcs/; revision=21856
2004-01-08 21:29:09 +00:00
Paolo Molaro b71c9146ac Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <[email protected]>
* mono-uri.c: fixed compile problem.

svn path=/trunk/mono/; revision=21855
2004-01-08 18:43:26 +00:00
Zoltan Varga 15547c21c3 2004-01-08 Zoltan Varga <[email protected]>
* CustomAttributeBuilder.cs (string_arg): New helper method.

	* AssemblyBuilder.cs (DefineVersionInfoResource): Implement.

	* AssemblyBuilder.cs (SetCustomAttribute): Use the new helper method.

svn path=/trunk/mcs/; revision=21854
2004-01-08 16:35:42 +00:00
Zoltan Varga 7566fbaa5e 2004-01-08 Zoltan Varga <[email protected]>
* Win32Resources.cs (Win32VersionInfoResource): Fix version number
	calculation. Add Language property.

svn path=/trunk/mcs/; revision=21853
2004-01-08 16:32:13 +00:00
Ravindra 3e7ff2245b Modified SystemPens.cs and SystemBrushes.cs as per the .NET specs. Specs say that these classes provide an already existing object when requested, instead of creating a new one every time. Also, now they return unmodifiable Pens and Brushes like .NET. To achieve this Pen.cs and SolidBrush.cs are also modified.
svn path=/trunk/mcs/; revision=21852
2004-01-08 15:12:48 +00:00
Zoltan Varga 233969a1e1 2004-01-08 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (DefineUnmanagedResource): Implement.

	* AssemblyBuilder.cs (DefineIconResource): New internal method to
	support mcs.

svn path=/trunk/mcs/; revision=21851
2004-01-08 14:48:58 +00:00
Zoltan Varga dabbcb3890 2004-01-08 Zoltan Varga <[email protected]>
* Win32Resources.cs: Organize win32 resources into a class hierarchy
	with the class Win32Resource as the abstract superclass. Add
	Win32ResFileReader and Win32IconFileReader classes and the
	corresponding resource types.

svn path=/trunk/mcs/; revision=21850
2004-01-08 14:44:38 +00:00
Eran Domb e724384934 Add remarks.
svn path=/trunk/mcs/; revision=21849
2004-01-08 12:23:25 +00:00
Eran Domb 02d5fa16e6 DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram, InferSchema, ReadSchema and IgnoreSchema.
XmlDataLoader.cs : All modes use the same logic.
XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.

svn path=/trunk/mcs/; revision=21848
2004-01-08 12:22:51 +00:00
Lluis Sanchez 68126e4248 SynchronizationAttributeTest.cs: Improved test.
svn path=/trunk/mcs/; revision=21847
2004-01-08 12:22:03 +00:00
Eran Domb ff5fc3c73f Fix a bug. Check if table is in DataSet before adding it.
svn path=/trunk/mcs/; revision=21846
2004-01-08 12:21:47 +00:00
Lluis Sanchez 442ef0961d * XsdValidatingReader.cs: In MoveToAttribute(name), if "name" is a default
attribute, search for the attribute ignoring the namespace. This matches
	MS.NET behavior (and fixes bug #52557).

svn path=/trunk/mcs/; revision=21845
2004-01-08 12:04:46 +00:00
Zoltan Varga f06b24454f 2004-01-08 Zoltan Varga <[email protected]>
* TypeBuilder.cs (IsDefined): Implement this, since some corlib classes
	make calls to IsDefined.

svn path=/trunk/mcs/; revision=21844
2004-01-08 10:57:14 +00:00
Atsushi Eno b2bf5da369 2004-01-08 Atsushi Enomoto <[email protected]>
* xsdtest.cs : XmlReaders should be closed in case of errors.

svn path=/trunk/mcs/; revision=21843
2004-01-08 08:03:08 +00:00
Atsushi Eno 1750f2ade3 2004-01-08 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : added list derivation and facet case.
	* XmlSchemaComplexType.cs :
	  Added some description.  Avoided null reference exception in
	  some places.
	  Fixed incorrect 3.4.6 Derivation Valid (Extension) 1.4.1.2.2 and
	  3.9.6 Particle Valid (Extension) 2.
	* XmlSchemaGroupBase.cs : Fixed ParticleEquals() which didn't work
	  properly against sequence and all.

svn path=/trunk/mcs/; revision=21842
2004-01-08 07:53:49 +00:00
Miguel de Icaza ee6947b39a Add bug fix to fullbuild
svn path=/trunk/mono/; revision=21841
2004-01-08 04:29:30 +00:00
Miguel de Icaza 52e191a830 Flush
svn path=/trunk/mono/; revision=21840
2004-01-08 04:15:05 +00:00
Miguel de Icaza 055a2b896f Remove this until we get the packages signed
svn path=/trunk/mono/; revision=21839
2004-01-08 04:08:27 +00:00
Miguel de Icaza b2212fe76c Flush
svn path=/trunk/mono/; revision=21838
2004-01-08 04:04:17 +00:00
Miguel de Icaza e3be95dc54 Nothing to see here, move along
svn path=/trunk/mcs/; revision=21837
2004-01-08 03:31:24 +00:00
Atsushi Eno e66ea433af 2004-01-08 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlElement.cs :
	  Fixed incorrect protected .ctor modification.

svn path=/trunk/mcs/; revision=21836
2004-01-08 02:52:39 +00:00
Miguel de Icaza 3628e8b233 Small update from Peter's posting
svn path=/trunk/mono/; revision=21834
2004-01-08 02:29:24 +00:00
Gonzalo Paniagua Javier ff7e15504f 2004-01-08 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
	Thanks to Jan Jaros ([email protected]).

	* HttpRequestValidationException.cs: fix comment.

svn path=/trunk/mcs/; revision=21833
2004-01-08 00:59:35 +00:00
Gonzalo Paniagua Javier ecda466461 2004-01-08 Gonzalo Paniagua Javier <[email protected]>
* metadata/appdomain.c:
	* metadata/assembly.c: escape the uri before passing it to
	g_filename_from_uri.

	* utils/Makefile.am: added mono-uri.[ch]
	* utils/mono-uri.[ch]: slightly modified static function from glib used
	to escape URIs.

	Fixes bug #52630.

svn path=/trunk/mono/; revision=21832
2004-01-07 23:08:12 +00:00
Miguel de Icaza 9f389fe19f 2004-01-07 Miguel de Icaza <[email protected]>
* cs-parser.jay (interface_event_declaration): Catch
	initialization of events on interfaces, and report cs0068

	* cs-parser.jay (interface_event_declaration): Catch
	initialization of events.

	* ecore.cs: Better report missing constructors.

svn path=/trunk/mcs/; revision=21831
2004-01-07 22:58:36 +00:00
Zoltan Varga 3bebff2db0 2004-01-07 Zoltan Varga <[email protected]>
* reflection.c: Add support for more than one unmanaged resource.

svn path=/trunk/mono/; revision=21829
2004-01-07 21:06:01 +00:00
Atsushi Eno 6facc2f11d 2004-01-08 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Fixed in reflection to
	  XmlSchemaObjectTableGetEnumerator.Value change.

svn path=/trunk/mcs/; revision=21828
2004-01-07 19:34:52 +00:00
Atsushi Eno 3acad19b5f 2004-01-08 Atsushi Enomoto <[email protected]>
* XmlSchemaObjectTable.cs : Modified enumerator's Current to return
	  DictionaryEntry.
	* XmlSchemaComplexType.cs, XmlSchemaUtil.cs :
	  In reflection to object table enumerator change.

svn path=/trunk/mcs/; revision=21827
2004-01-07 19:34:15 +00:00
Lluis Sanchez bb7a6d1d38 * RegexBugs.cs: Improved test. In Split(), if the last match is at the end
of the string, an empty string must be added to the array of results.

svn path=/trunk/mcs/; revision=21826
2004-01-07 18:24:11 +00:00
Lluis Sanchez 266c78e7de * regex.cs: In Split(), if the last match is at the end of the string,
an empty string must be added to the array of results.

svn path=/trunk/mcs/; revision=21825
2004-01-07 18:23:37 +00:00
Atsushi Eno 1a7c6363d7 2004-01-08 Atsushi Enomoto <[email protected]>
* XmlSchemaElement.cs : Fixed incorrect unique particle attribution
	  check on ##other and target namespace element.

svn path=/trunk/mcs/; revision=21824
2004-01-07 17:58:48 +00:00
Miguel de Icaza ee77e39899 Applied patch from Marek Safar
svn path=/trunk/mcs/; revision=21823
2004-01-07 16:36:17 +00:00
Miguel de Icaza c6c9ec5222 Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
2004-01-07 16:35:35 +00:00
Miguel de Icaza a57fcfad05 2004-01-07 Miguel de Icaza <[email protected]>
* cs-parser.jay (interface_event_declaration): Catch
	initialization of events.

svn path=/trunk/mcs/; revision=21821
2004-01-07 15:27:28 +00:00
Nick Drochak 074d8f46d5 2004-01-08 Nick Drochak <[email protected]>
* Iterator.cs: Removed unused variable.

svn path=/trunk/mcs/; revision=21820
2004-01-07 15:13:11 +00:00
Miguel de Icaza d8417a1b88 2004-01-07 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): My previous bug fix had
	the error reporting done in the wrong place.  Fix.

svn path=/trunk/mcs/; revision=21819
2004-01-07 15:12:29 +00:00
Nick Drochak 387ec454aa 2004-01-08 Nick Drochak <[email protected]>
* XmlSchemaImporter.cs: Removed unused variable.

svn path=/trunk/mcs/; revision=21818
2004-01-07 15:11:57 +00:00
Miguel de Icaza d27aaf4584 Improve
svn path=/trunk/mcs/; revision=21817
2004-01-07 15:11:15 +00:00
Nick Drochak 42c9156637 2004-01-08 Nick Drochak <[email protected]>
* XmlSchemaSimpleType.cs: Needed a 'new' on the property
	* XmlSchemaXPath.cs: Removed unreachable code.

svn path=/trunk/mcs/; revision=21816
2004-01-07 15:10:49 +00:00
Nick Drochak 9c0bba9060 2004-01-08 Nick Drochak <[email protected]>
* DTDValidatingReader.cs: Removed unused variable

svn path=/trunk/mcs/; revision=21815
2004-01-07 15:08:37 +00:00
Nick Drochak 582c6ae69a 2004-01-08 Nick Drochak <[email protected]>
* XslAttribute.cs: Removed unused variable

svn path=/trunk/mcs/; revision=21814
2004-01-07 15:06:40 +00:00
Nick Drochak 8bdafcdb4b 2004-01-08 Nick Drochak <[email protected]>
* XsltCompiledContext.cs: Remove unused variable and unreachable code.

svn path=/trunk/mcs/; revision=21813
2004-01-07 15:05:40 +00:00
Nick Drochak 438764c22a 2004-01-08 Nick Drochak <[email protected]>
* XsdParticleValidationState.cs: Remove unreachable code.

svn path=/trunk/mcs/; revision=21812
2004-01-07 15:00:48 +00:00
Nick Drochak 5424bb46af 2004-01-07 Nick Drochak <[email protected]>
* Makefile: Don't hide behind the /nowarns.  Fix them.

svn path=/trunk/mcs/; revision=21811
2004-01-07 14:51:32 +00:00
Atsushi Eno 779b2bb2f0 2004-01-07 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
	  atomizedNames argument.
	* XmlTextReader.cs : Use new namespace manager methods.
	  Reduced NameTable.Add().
	* DTDObjectModel.cs : fixed incorrectly commented-out line.

svn path=/trunk/mcs/; revision=21810
2004-01-07 14:46:43 +00:00
Zoltan Varga 192d4bbf15 2004-01-07 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs (TestEnums): New test for using runtime generated
	enums.

svn path=/trunk/mcs/; revision=21809
2004-01-07 14:17:54 +00:00
Zoltan Varga 4597f5533a 2004-01-07 Zoltan Varga <[email protected]>
* icall.c (ves_icall_get_enum_info): Store the value of the enum fields
	in field->def_value, as done in all other cases.

	* reflection.c (mono_reflection_get_custom_attrs): Add support for
	TypeBuilders.

	* reflection.c (mono_reflection_create_runtime_class): Remove
	errorneous assignment to klass->element_class, since it is already
	done in mono_reflection_setup_internal_class.

svn path=/trunk/mono/; revision=21808
2004-01-07 14:09:23 +00:00
Zoltan Varga 3edbea9977 2004-01-07 Zoltan Varga <[email protected]>
* TypeBuilderTest.cs (IsDefined): Comment out this test, since
	IsDefined works under mono.

svn path=/trunk/mcs/; revision=21807
2004-01-07 13:52:26 +00:00
Nick Drochak 5c13908c88 2004-01-07 Nick Drochak <[email protected]>
* genericparser.cs:
	* mb-tokenizer.cs:
	* row.cs: Eliminate warnings about unused variables.

svn path=/trunk/mcs/; revision=21806
2004-01-07 13:18:37 +00:00
Alon Gazit b08e4accdb Fixed PrepareControlHierarchyForItem().
merge the column's style to the cell's style and not to the item's(row) style.

svn path=/trunk/mcs/; revision=21805
2004-01-07 13:09:40 +00:00
Lluis Sanchez ad2a221045 * XmlReflectionImporter.cs: Ignore Namespace property when applying
the [XmlType] attribute to an enum. This fixes bug #52607.

svn path=/trunk/mcs/; revision=21804
2004-01-07 12:32:07 +00:00
Atsushi Eno aa61a23fc0 2004-01-07 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
	  set_Prefix should atomize to name table.
	  Avoided extraneous atomization attempt a bit.

svn path=/trunk/mcs/; revision=21803
2004-01-07 12:26:28 +00:00
Lluis Sanchez 5ceb140949 Added information about web service tests
svn path=/trunk/mono/; revision=21802
2004-01-07 11:51:55 +00:00
Atsushi Eno 65b863c896 2004-01-07 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
	  avoiding obvious exception.
	* DTDReader.cs, XmlTextReader.cs : Some optimization.
	  Avoided extraneous PeekChar() and reduced name string creation.

svn path=/trunk/mcs/; revision=21797
2004-01-07 09:05:23 +00:00
Eran Domb 51e43a37c4 Fix a bug. No need to load the document.
svn path=/trunk/mcs/; revision=21787
2004-01-07 06:47:14 +00:00
Miguel de Icaza 0de7cb3c5d 2004-01-07 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Catch the
	operator + (E x, E y) error earlier, and later allow for implicit
	conversions in operator +/- (E e, U x) from U to the underlying
	type of E.

svn path=/trunk/mcs/; revision=21786
2004-01-07 06:29:43 +00:00
Miguel de Icaza fe13ee7e19 Improve test
svn path=/trunk/mcs/; revision=21785
2004-01-07 06:27:09 +00:00
Miguel de Icaza a559d3a817 Improve test
svn path=/trunk/mcs/; revision=21784
2004-01-07 06:26:43 +00:00
Miguel de Icaza f03e098a48 Indentation
svn path=/trunk/mcs/; revision=21781
2004-01-07 06:03:44 +00:00
Miguel de Icaza d20bd24a6c 2004-01-07 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.DefineDefaultConstructor): Fix bug
	52596, if the container class is abstract, the default constructor
	is protected otherwise its public (before, we were always public).

	* statement.cs (Fixed.Resolve): Catch a couple more errors in the
	fixed statement.

	(Using.EmitLocalVariableDecls): Applied patch from Benjamin
	Jemlich that fixes bug #52597, MCS was generating invalid code for
	idisposable structs.   Thanks to Ben for following up with this
	bug as well.

svn path=/trunk/mcs/; revision=21779
2004-01-07 05:55:04 +00:00
Miguel de Icaza 163f9ed8aa Improve test
svn path=/trunk/mcs/; revision=21777
2004-01-07 05:41:57 +00:00
Sebastien Pouliot 28527072e1 2004-01-06 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SecurityException unit tests in
	System.Security namespace.

svn path=/trunk/mcs/; revision=21776
2004-01-07 04:27:11 +00:00
Sebastien Pouliot 8667cf577a 2004-01-06 Sebastien Pouliot <[email protected]>
* CodeAccessPermissionTest.cs: Added a new test for calling Demand on
	custom code access permission.
	Ref: http://bugzilla.ximian.com/show_bug.cgi?id=52626
	* SecurityExceptionTest.cs: New. Unit tests for SecurityException.

svn path=/trunk/mcs/; revision=21775
2004-01-07 04:19:42 +00:00
Sebastien Pouliot bcb408cc6c 2004-01-06 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Fixed Demand for custom permissions
	(permissions that do not implement, the internal, IBuiltInPermission).
	Ref. http://bugzilla.ximian.com/show_bug.cgi?id=52626
	* SecurityException.cs: Fixed ToString() which could, when no
	PermissionType where specified, throws a NullReferenceException.
	Ref. http://bugzilla.ximian.com/show_bug.cgi?id=52626

svn path=/trunk/mcs/; revision=21774
2004-01-07 04:15:39 +00:00
Gonzalo Paniagua Javier c9f97d63f0 2004-01-07 Gonzalo Paniagua Javier <[email protected]>
* gc.c: added missing LeaveCriticalSection.
	* icall.c: indented a couple of lines.
	* threadpool.c: remove dangling LeaveCriticalSection. Don't wait forever
	if we call EndInvoke inside a callback. Fixes bug #52601.

svn path=/trunk/mono/; revision=21772
2004-01-07 02:06:05 +00:00
Miguel de Icaza 37f5c012f8 2004-01-06 Miguel de Icaza <[email protected]>
* driver.cs: Allow assemblies without code to be generated, fixes
	52230.

svn path=/trunk/mcs/; revision=21771
2004-01-07 01:33:56 +00:00
Gonzalo Paniagua Javier ca84bc714b remove generated files
svn path=/trunk/mcs/; revision=21770
2004-01-07 01:18:40 +00:00
Miguel de Icaza 6900229e66 Update
svn path=/trunk/mcs/; revision=21769
2004-01-07 01:12:02 +00:00
Gonzalo Paniagua Javier 6b5ca8285d reenabled Mono.Posix
svn path=/trunk/mcs/; revision=21768
2004-01-07 01:09:33 +00:00
Gonzalo Paniagua Javier 8245da3788 2004-01-07 Gonzalo Paniagua Javier <[email protected]>
* Makefile: handle win32 paths and copy Mono.Posix.dll to Mono.Posix
	directory so that MS runtime finds it.

	* Mono.Posix/Syscall.cs: moved the assembly attribute to a proper place
	and added 'signal.h'
	* Mono.Posix/make-map.cs: use reflection to invoke the properties, as it
	fails under MS runtime.

svn path=/trunk/mcs/; revision=21767
2004-01-07 01:06:48 +00:00
Duncan Mak e35a842763 Import GraphicsPath functions from GDI+.
svn path=/trunk/mcs/; revision=21766
2004-01-07 01:04:55 +00:00
Miguel de Icaza 0c7b0c1b74 Update, some people got confused
svn path=/trunk/mcs/; revision=21765
2004-01-07 00:38:59 +00:00
Martin Baulig e990bcc5d1 2004-01-07 Martin Baulig <[email protected]>
* mono-debug-debugger.h
	(MonoDebuggerIOLayer): Added `GetCurrentThreadID'.

svn path=/trunk/mono/; revision=21764
2004-01-07 00:36:11 +00:00
Miguel de Icaza b90c1f0867 Remove non-POSIX flags
svn path=/trunk/mcs/; revision=21763
2004-01-07 00:28:14 +00:00
Rafael Teixeira 2dc2f43a00 2004/01/06 Rafael Teixeira <[email protected]>
* typemanager.cs : 	correcting translation of System types to language types,
						also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
						corrected many ` characters to ' in error messages
	* testmbas/WriteOK.vb : testing newly implemented IsNumeric global function

svn path=/trunk/mcs/; revision=21760
2004-01-06 23:07:08 +00:00
Miguel de Icaza fbcf76b01e 2004-01-06 Miguel de Icaza <[email protected]>
* Console.cs: Test for UTF-8 being present anywhere on the
	string, also do ToUpper instead of ToLower, which will work even
	around the ICU bug with different locales (#52065), and addresses #52101

svn path=/trunk/mcs/; revision=21759
2004-01-06 22:34:40 +00:00
Miguel de Icaza cf852df21b 2004-01-06 Miguel de Icaza <[email protected]>
* appdomain.c: Use messages in NotImplementedException.

	* exception.c (mono_get_exception_not_implemented): Now this takes
	a message argument.

	* marshal.c (emit_str_to_ptr_conv): g_warning and throw an
	exception instead of g_asserting an aborting when something is not
	implemented.

	Add some inline docs.

svn path=/trunk/mono/; revision=21758
2004-01-06 22:32:08 +00:00
Gonzalo Paniagua Javier 3685b46875 2004-01-06 Gonzalo Paniagua Javier <[email protected]>
* HttpException.cs: default to error 500. Fixes bug #52623.

svn path=/trunk/mcs/; revision=21757
2004-01-06 22:30:50 +00:00
Rafael Teixeira ce42dfa5cb 2004-01-06 Rafael Teixeira <[email protected]>
* Information.cs:
		Implemented IsNumeric(object)

svn path=/trunk/mcs/; revision=21756
2004-01-06 22:26:54 +00:00
Rafael Teixeira 769cb883c1 someone has left Console.cs uncompilable - fixed it
svn path=/trunk/mcs/; revision=21755
2004-01-06 21:06:37 +00:00
Miguel de Icaza c243a9f3e1 Forgot to make this internal
svn path=/trunk/mcs/; revision=21754
2004-01-06 21:02:59 +00:00
Martin Willemoes Hansen c336ea7c15 * doc/books: Added books on Web Services and ASP.NET
svn path=/trunk/mono/; revision=21752
2004-01-06 20:46:31 +00:00
Zoltan Varga 4b388bad80 2004-01-06 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Fix warning.

svn path=/trunk/mcs/; revision=21748
2004-01-06 18:33:35 +00:00
Miguel de Icaza 75074fa75e 2004-01-06 Miguel de Icaza <[email protected]>
* Console.cs: Test for UTF-8 being present anywhere on the
	string, also do ToUpper instead of ToLower, which will work even
	around the ICU bug with different locales (#52065), and addresses #52101

svn path=/trunk/mcs/; revision=21746
2004-01-06 17:27:13 +00:00
Nick Drochak 6671b621ba 2004-01-07 Nick Drochak <[email protected]>
* attribute.cs: Remove unneeded catch variables. Eliminates a warning.

svn path=/trunk/mcs/; revision=21745
2004-01-06 15:33:05 +00:00
Eran Domb 5413d3d7de Fix method access modifier.
svn path=/trunk/mcs/; revision=21744
2004-01-06 12:42:08 +00:00
Eran Domb d12fa340ed Add remarks.
svn path=/trunk/mcs/; revision=21743
2004-01-06 11:10:25 +00:00
Eran Domb cdd0c03105 DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
XmlDiffLoader.cs : Reading nested tables.
XmlSchemaMapper.cs : Reading the relation.
XmlConstants.cs : Adding some constants.

svn path=/trunk/mcs/; revision=21742
2004-01-06 11:09:32 +00:00
Eran Domb 5c5f765aa4 DataRelationCollection.cs : Use IndexOf in indexer.
svn path=/trunk/mcs/; revision=21741
2004-01-06 10:56:20 +00:00
Atsushi Eno 0d70288ef4 2004-01-06 Atsushi Enomoto <[email protected]>
* makefile : added xml-classes page.

svn path=/trunk/mono/; revision=21740
2004-01-06 06:33:04 +00:00
Atsushi Eno 2720fc2cdb 2004-01-06 Atsushi Enomoto <[email protected]>
* added xml-classes to summarize system.xml.dll status.

svn path=/trunk/mono/; revision=21739
2004-01-06 06:29:22 +00:00
Sebastien Pouliot 96d7d36aa7 2004-01-05 Sebastien Pouliot <[email protected]>
* CodeGroup.cs: (temp) Commented lines 126-127 because it doesn't
	compile with mcs. This should fix the build for corlib.

svn path=/trunk/mcs/; revision=21738
2004-01-06 04:45:18 +00:00
Atsushi Eno 77f0b209ed 2004-01-06 Atsushi Enomoto <[email protected]>
* Makefile : use /noconfig like System.dll (to erase make test warning)

svn path=/trunk/mcs/; revision=21737
2004-01-06 03:44:38 +00:00
Sebastien Pouliot 657f8fe0d9 2004-01-05 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added CodeAccessPermission unit tests in
	in System.Security namespace. Added CodeGroup related and PolicyLevel
	unit tests to System.Security.Policy.

svn path=/trunk/mcs/; revision=21736
2004-01-06 03:43:05 +00:00
Sebastien Pouliot 74b59250da 2004-01-05 Sebastien Pouliot <[email protected]>
* CodeGroupTest.cs: Updated to NUnit2. Added new tests for exceptions
	and for ToXml/FromXml methods.
	* FileCodeGroupTest.cs: New. Unit tests for FileCodeGroup. Missing
	Resolve unit tests.
	* FirstMatchCodeGroupTest.cs: New. Unit tests for FirstMatchCodeGroup.
	Missing Resolve unit tests.
	* NetCodeGroupTest.cs: New. Unit tests for NetCodeGroup. Missing
	Resolve unit tests.
	* UnionCodeGroupTest.cs: New. Unit tests for NetCodeGroup. Missing
	Resolve unit tests.
	* PolicyLevelTest.cs: New. Unit tests for PolicyLevel. Missing Resolve
	unit tests.

svn path=/trunk/mcs/; revision=21735
2004-01-06 03:32:39 +00:00
Sebastien Pouliot bc08403e4f 2004-01-05 Sebastien Pouliot <[email protected]>
* CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract
	CodeAccessPermission class.
	* SecurityManagerTest.cs: Removed .Policy from namespace.

svn path=/trunk/mcs/; revision=21734
2004-01-06 03:27:56 +00:00
Sebastien Pouliot fa1e8bf5fc 2004-01-05 Sebastien Pouliot <[email protected]>
* CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
	FromXml. Various small fixes to match the unit tests.
	* FileCodeGroup.cs: Added internal constructor for PolicyLevel.
	Implemented GetHashCode (may not be exactly the same as MS).
	* FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
	Copy method now returns a deep copy (as documented).
	* NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed
	"Same site Web" (as documented) to "Same site Web." (as real life).
	Copy method now returns a deep copy (as documented).
	* PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
	FromXml method. Added internal methods to load from file or string.
	Added/changed lots of things to match unit tests.
	* StrongNameMembershipCondition.cs: Added internal constructor for
	PolicyLevel. Fixed Equals.
	* UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
	Copy method now returns a deep copy (as documented).

svn path=/trunk/mcs/; revision=21733
2004-01-06 03:23:58 +00:00
Sebastien Pouliot ca11b26fba 2004-01-05 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Fixed Union to match 1.1/1.2 documentation.
	Simplified ToString to match MS implementation. Added LAMESPEC to
	Assert, Demand, Deny and PermitOnly as they aren't virtual.
	* NamedPermissionSet.cs: Added internal constructor for PolicyLevel.
	* PermissionSet.cs: Added internal constructor for PolicyLevel.
	* SecurityManager.cs: Moved some stuff to PolicyLevel class (e.g. Load).

svn path=/trunk/mcs/; revision=21732
2004-01-06 03:15:33 +00:00
Atsushi Eno de1b447d18 2004-01-06 Atsushi Enomoto <[email protected]>
* UriTest.cs :
	  Derived from Assertion.
	  Added ConstructorsRejectRelativePath ().
	  "file://cygwin" means machine name cygwin, not top directory cygwin.
	* UriTest2.cs : added relative constructor tests and manually created
	  absolute uri tests (rejected by MS.NET).
	* uri-test-generator.cs : added relative test generator.
	* added test-uri-props-manual.txt, test-uri-relative-list.txt,
	  test-uri-relative-props.txt for relative path test and
	  manually added tests.

svn path=/trunk/mcs/; revision=21731
2004-01-06 03:15:21 +00:00
Atsushi Eno 526b94b0ee 2004-01-06 Atsushi Enomoto <[email protected]>
* Uri.cs : quick fix on local file relative uri.

svn path=/trunk/mcs/; revision=21730
2004-01-06 03:06:37 +00:00
Atsushi Eno 239c5d7c67 2004-01-06 Atsushi Enomoto <[email protected]>
* Uri.cs : Fixed Parse(). Should not allow relative URIs.

svn path=/trunk/mcs/; revision=21729
2004-01-06 02:43:15 +00:00
Atsushi Eno 7205028794 2003-01-06 Atsushi Enomoto <[email protected]>
* DirectoryTest.cs : remoed incorrect args.

svn path=/trunk/mcs/; revision=21728
2004-01-06 00:36:09 +00:00
Miguel de Icaza e58c318bb0 Updated some notes, and:
2004-01-05  Miguel de Icaza  <[email protected]>

	* cs-parser.jay: Add rules to improve error reporting if fields or
	methods are declared at the namespace level (error 116)

	* Add rules to catch event add/remove

svn path=/trunk/mcs/; revision=21727
2004-01-05 22:45:08 +00:00
David Sheldon d70eb80a72 2004-01-05 David Sheldon <[email protected]>
* XmlTextReader.cs: Fixed constructors taking string url to not
   loose the absolute part of the path.

svn path=/trunk/mcs/; revision=21726
2004-01-05 22:30:46 +00:00
Jackson Harper c1efcd16d3 * DataView.cs: Set readonly property of property descriptor. This
fixes bug #52598.

svn path=/trunk/mcs/; revision=21725
2004-01-05 22:29:11 +00:00
Jackson Harper 7e7247bd80 * HandlerItem.cs: Fix typo so slashes are stripped from paths properly.
svn path=/trunk/mcs/; revision=21724
2004-01-05 19:19:47 +00:00
Zoltan Varga bb2df3656f 2004-01-05 Zoltan Varga <[email protected]>
* reflection.h: Update after changes to object layout.

	* reflection.c: Implement saving of unmanaged aka win32 resources.

	* appdomain.c: Bump version number.

	* appdomain.c (ves_icall_System_AppDomain_InternalSetDomainByID):
	Handle missing domains gracefully.

svn path=/trunk/mono/; revision=21722
2004-01-05 17:41:13 +00:00
Zoltan Varga dcc88d224d 2004-01-05 Zoltan Varga <[email protected]>
* Environment.cs: Bump version.

svn path=/trunk/mcs/; revision=21721
2004-01-05 17:34:39 +00:00
Zoltan Varga ac5d731e7f 2004-01-05 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (DefineVersionInfoResource): Implement.

svn path=/trunk/mcs/; revision=21720
2004-01-05 17:33:57 +00:00
Zoltan Varga 2ced932e50 2004-01-05 Zoltan Varga <[email protected]>
* Win32Resources.cs: New file.

	* Win32Resources.cs: The value of properties can't be empty.

	* Win32Resources.cs: Add Win32ResourceType enumeration. Add accessors
	for well-known property names. Add missing namespace declaration.

svn path=/trunk/mcs/; revision=21719
2004-01-05 17:31:46 +00:00
Zoltan Varga 7fd76f30f8 2004-01-05 Zoltan Varga <[email protected]>
* Win32Resources.cs: The value of properties can't be empty.

svn path=/trunk/mcs/; revision=21718
2004-01-05 16:45:43 +00:00
Zoltan Varga 5e500a3537 2004-01-05 Zoltan Varga <[email protected]>
* corlib.dll.sources: Added System.Resources.Win32Resources.cs.

svn path=/trunk/mcs/; revision=21717
2004-01-05 16:24:42 +00:00
Paolo Molaro b97962f212 Updated todo.
svn path=/trunk/mono/; revision=21716
2004-01-05 16:09:10 +00:00
Alon Gazit b6cefa9d83 fix typo in LoadPostData().
svn path=/trunk/mcs/; revision=21715
2004-01-05 14:53:01 +00:00
Atsushi Eno 1e6f396c31 2004-01-05 Atsushi Enomoto <[email protected]>
* Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
	  based on MS.NET experiment.

svn path=/trunk/mcs/; revision=21714
2004-01-05 14:50:11 +00:00
Atsushi Eno 3b16861095 2004-01-05 Atsushi Enomoto <[email protected]>
* file-io.c : On Windows, there are much more invalid_path_chars.

svn path=/trunk/mono/; revision=21713
2004-01-05 14:33:21 +00:00
Alon Gazit 216a44853e can't set item's value to null if the item is new.
svn path=/trunk/mcs/; revision=21712
2004-01-05 12:54:53 +00:00
Atsushi Eno 5dee0bf591 2004-01-05 Atsushi Enomoto <[email protected]>
* mono-build-w32.sh : Maybe this fixes the latest cygwin build.

svn path=/trunk/mono/; revision=21710
2004-01-05 10:53:05 +00:00
Atsushi Eno 278c916722 2003-01-05 Atsushi Enomoto <[email protected]>
* testing : added new xml schema standalone test info.

svn path=/trunk/mono/; revision=21709
2004-01-05 10:34:54 +00:00
Atsushi Eno 2a9e30eeb4 2004-01-05 Atsushi Enomoto <[email protected]>
* README, Makefile, test-masters.tar.gz, xsdtest.cs : Initial checkin.

svn path=/trunk/mcs/; revision=21708
2004-01-05 10:27:41 +00:00
Jackson Harper 67cd102677 * TraceContext.cs: Store and render trace info times. Also render
cookie sizes. Remove debug code.

svn path=/trunk/mcs/; revision=21703
2004-01-05 06:52:30 +00:00
Jackson Harper fe11fbe774 * OutputCacheModule.cs: Dont cache items when trace is enabled.
svn path=/trunk/mcs/; revision=21702
2004-01-05 05:21:09 +00:00
Jackson Harper dfb90b3347 * HttpResponse.cs: Set the cached response date header so it can
be updated.
	* HttpResponseHeader.cs: Let values be set so we can update cached
	response header values.

svn path=/trunk/mcs/; revision=21701
2004-01-05 04:12:41 +00:00
Jackson Harper d3895b8c75 * OutputCacheModule.cs: Update the date header value.
* CachedRawResponse.cs: Expose a ref to the date header, so it can
	be easily set/updated. Remove unused methods and vars.

svn path=/trunk/mcs/; revision=21700
2004-01-05 04:10:55 +00:00
Daniel Morgan 4fb17af5e8 update web pages
svn path=/trunk/mono/; revision=21699
2004-01-05 03:49:44 +00:00
Daniel Morgan 723508b01a 2004-01-04 Daniel Morgan <[email protected]>
* monowiz.win32.nsi: update the NSIS installer script for windows
	  to support NSIS 2.0 rc1 and Mono 0.29

svn path=/trunk/mono/; revision=21696
2004-01-05 02:31:48 +00:00
Jackson Harper 46d769c5a8 * OutputCacheModule.cs: Make raw repsonse entries dependent on
their varyby param entries.

svn path=/trunk/mcs/; revision=21694
2004-01-05 01:54:54 +00:00
Jackson Harper cf3e66260d * HttpResponse.cs: Implement RemoveOutputCacheItem.
svn path=/trunk/mcs/; revision=21693
2004-01-05 01:49:11 +00:00
Jackson Harper e2a4fa1f17 * Cache.cs: Add method to get CacheEntry objects.
svn path=/trunk/mcs/; revision=21692
2004-01-05 01:40:35 +00:00
Jackson Harper 8f2d626453 * CacheDependency.cs: Copy all the entries into the entries array,
set on removed callback for items that we are dependent on.

svn path=/trunk/mcs/; revision=21691
2004-01-05 01:34:03 +00:00
Gonzalo Paniagua Javier 83790cb582 2004-01-05 Gonzalo Paniagua Javier <[email protected]>
* Syscall.cs: moved assembly attribute and added unsafe block to fix
	the build on windows.

svn path=/trunk/mcs/; revision=21690
2004-01-05 00:39:46 +00:00
Miguel de Icaza 17897dcc09 Add new test, for testing 52587
svn path=/trunk/mcs/; revision=21688
2004-01-04 22:28:14 +00:00
Miguel de Icaza 43fefbc895 Revert this patch, as it introduced a bug: 52587
svn path=/trunk/mcs/; revision=21687
2004-01-04 22:26:19 +00:00
Jackson Harper c8574de2f2 * OutputCacheModule.cs: VaryBy keys now need the HttpContext not just the request.
* CachedVaryBy.cs: Handle vary by headers, and vary by custom.

svn path=/trunk/mcs/; revision=21686
2004-01-04 21:51:45 +00:00
Jackson Harper d1803738f3 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
* HttpCacheVaryByHeaders.cs: Add internal method to get the header names.

svn path=/trunk/mcs/; revision=21685
2004-01-04 21:37:39 +00:00
Ben Maurer 8f4b1042d6 we fail some error testing here
svn path=/trunk/mcs/; revision=21684
2004-01-04 20:59:16 +00:00
Atsushi Eno 5637b0de4c 2004-01-04 Atsushi Enomoto <[email protected]>
* testing : added ADO.NET standalone test info. Fixed html format.

svn path=/trunk/mono/; revision=21683
2004-01-04 19:40:16 +00:00
Atsushi Eno b74de98e59 2004-01-04 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
	  by Benjamin Jemlich.
	  Assure closing XmlTextReader which are internally used.

svn path=/trunk/mcs/; revision=21682
2004-01-04 18:20:41 +00:00
Gonzalo Paniagua Javier c4d2c2d8f2 updated asp.net testing info
svn path=/trunk/mono/; revision=21681
2004-01-04 17:44:43 +00:00
David Sheldon 1049820f47 2003-01-04 David Sheldon <[email protected]>
* performance: Corrected two typos

svn path=/trunk/mono/; revision=21680
2004-01-04 17:40:26 +00:00
Gonzalo Paniagua Javier a370405329 2004-01-04 Gonzalo Paniagua Javier <[email protected]>
* Makefile: disabled Mono.Posix for other platforms than linux until it
	builds properly.

svn path=/trunk/mcs/; revision=21678
2004-01-04 17:09:35 +00:00
David Sheldon a899f32c32 2003-01-04 David Sheldon <[email protected]>
* BUGS-MS.txt: Added mention of type derivation with fixed facets (012)

svn path=/trunk/mcs/; revision=21677
2004-01-04 16:22:40 +00:00
Atsushi Eno f5d2d4efe1 2004-01-04 Atsushi Enomoto <[email protected]>
* testing : added more notes on standalone tests.

svn path=/trunk/mono/; revision=21676
2004-01-04 15:26:38 +00:00
Nick Drochak 99b03d6db9 2004-01-04 Nick Drochak <[email protected]>
* Assembly.cs: Removed unused variable in catch block.Eliminates a build
	warning.

svn path=/trunk/mcs/; revision=21675
2004-01-04 14:38:12 +00:00
Nick Drochak 67bd4ec125 2004-01-04 Nick Drochak <[email protected]>
* Path.cs: Remove defined but unused variable, and also got rid of
	some unreachable code.  Eliminates some build warnings.

svn path=/trunk/mcs/; revision=21674
2004-01-04 14:35:50 +00:00
Alon Gazit 62b4589782 Fixed ControlPropertiesValid().
svn path=/trunk/mcs/; revision=21673
2004-01-04 10:17:45 +00:00
Atsushi Eno b3e0ed9380 2003-01-04 Atsushi Enomoto <[email protected]>
* testing : refering that we might have some standalone tests in
	  class libraries.

svn path=/trunk/mono/; revision=21672
2004-01-04 06:55:32 +00:00
Sebastien Pouliot 21a7a7c09f 2004-01-03 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added SecurityManager unit tests in
	in System.Security namespace.

svn path=/trunk/mcs/; revision=21668
2004-01-04 03:17:45 +00:00
Sebastien Pouliot 14c92de36a 2004-01-03 Sebastien Pouliot <[email protected]>
* SecurityManagerTest.cs: New. Added VERY minimal unit tests that I
	used to validate some behaviors.

svn path=/trunk/mcs/; revision=21667
2004-01-04 03:10:01 +00:00
Sebastien Pouliot f1ab947561 2004-01-03 Sebastien Pouliot <[email protected]>
* SecurityManager.cs: Added some basic stuff to make some security unit
	tests works (mostly when using PolicyHierarchy).

svn path=/trunk/mcs/; revision=21666
2004-01-04 03:08:38 +00:00
David Sheldon 9e711d42ec 2004-01-04 David Sheldon <[email protected]>
* mcs/expression.cs, mbas/expression.cs, gmcs/expression.cs: Added matching ")" to error message for CS0077

svn path=/trunk/mcs/; revision=21664
2004-01-04 00:43:15 +00:00
Todd Berman 1070d00f72 2004-01-03 Todd Berman <[email protected]>
* ecore.cs, attribute.cs:
        Applying fix from #52429.

svn path=/trunk/mcs/; revision=21662
2004-01-03 23:07:43 +00:00
Todd Berman f47a83c90d 2004-01-03 Todd Berman <[email protected]>
* test-224.cs: new test for #52429

svn path=/trunk/mcs/; revision=21661
2004-01-03 23:05:39 +00:00
Ben Maurer 1b5ada5730 unbackout with bugfix
svn path=/trunk/mcs/; revision=21660
2004-01-03 23:01:33 +00:00
Ben Maurer 9614c875b4 backing out change
svn path=/trunk/mcs/; revision=21659
2004-01-03 22:31:37 +00:00
Paolo Molaro 1349ac57ba Codegen macros for mips.
svn path=/trunk/mono/; revision=21658
2004-01-03 21:42:37 +00:00
Atsushi Eno 9b7d27711d 2004-01-03 Atsushi Enomoto <[email protected]>
* other : added Japanese translation info.

svn path=/trunk/mono/; revision=21656
2004-01-03 18:57:06 +00:00
Ben Maurer fae38cf83a 2004-01-03 Ben Maurer <[email protected]>
* ecore.cs, expression.cs, statement.cs:
	Total rewrite of how we handle branching. We
	now handle complex boolean expressions with fewer
	jumps. As well if (x == 0) no longer emits a ceq.

	if (x is Foo) is much faster now, because we generate
	better code.

	Overall, we get a pretty big improvement on our benchmark
	tests. The code we generate is smaller and more readable.

	I did a full two-stage bootstrap. The patch was reviewed
	by Martin and Miguel.

svn path=/trunk/mcs/; revision=21655
2004-01-03 18:33:16 +00:00
Ben Maurer c60868f831 2004-01-03 Ben Maurer <[email protected]>
* cs-parser.jay: Make primary_expression not take a QI.
	we dont need this because the member_access rule covers
	us here. So we replace the rule with just IDENTIFIER.

	This has two good effects. First, we remove a s/r conflict.
	Second, we allocate many fewer QualifiedIdentifier objects.

svn path=/trunk/mcs/; revision=21654
2004-01-03 18:27:41 +00:00
Ben Maurer 85a15857ff 2004-01-03 Ben Maurer <[email protected]>
* attribute.cs: Handle MarshalAs attributes as pseudo, and
	set the correct information via SRE. This prevents
	hanging on the MS runtime. Fixes #29374.

svn path=/trunk/mcs/; revision=21653
2004-01-03 17:51:33 +00:00
Ben Maurer 6bd455f628 2004-01-03 Ben Maurer <[email protected]>
* test-205.cs: remove from the build. This does
	not compile under csc.

svn path=/trunk/mcs/; revision=21652
2004-01-03 17:47:22 +00:00
Ben Maurer 87691da789 2004-01-03 Ben Maurer <[email protected]>
* test-223.cs: test for #52569.

svn path=/trunk/mcs/; revision=21650
2004-01-03 17:20:06 +00:00
Sebastien Pouliot c9e27348f0 2004-01-03 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added SiteMembershipCondition to
	System.Security.Policy namespace.
	* corlib_test.dll.sources: Added Site and SiteMembershipCondition
	unit tests in System.Security.Policy namespace.

svn path=/trunk/mcs/; revision=21649
2004-01-03 17:03:50 +00:00
Atsushi Eno 7ea3f6ddf9 2004-01-03 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : trivial character-case fix
	* XmlUrlResolver.cs : It downloads network stream content at
	  GetEntity() call. You can try like below:
	    for (int i=0;i<100;i++) u.GetEntity(url, null, typeof(Stream));

svn path=/trunk/mcs/; revision=21648
2004-01-03 17:01:22 +00:00
Ben Maurer 84d652708a my change log was incorrect
svn path=/trunk/mcs/; revision=21647
2004-01-03 17:01:16 +00:00
Sebastien Pouliot 0e8d2da40d 2004-01-03 Sebastien Pouliot <[email protected]>
* SiteTest.cs: New. Unit tests for Site.
	* SiteMembershipConditionTest.cs: New. Implemented.

svn path=/trunk/mcs/; revision=21646
2004-01-03 16:59:42 +00:00
Ben Maurer dfeefb622b 2004-01-03 Ben Maurer <[email protected]>
* convert.cs: correctly handle conversions from value types
	to Enum and ValueType as unboxing conversions.

	Fixes bug #52569. Patch by Benjamin Jemlich.

svn path=/trunk/mcs/; revision=21645
2004-01-03 16:58:16 +00:00
Sebastien Pouliot 659e8e2a57 2004-01-03 Sebastien Pouliot <[email protected]>
* Site.cs: Completed implementation.
	* SiteMembershipCondition.cs: New. Implemented.

svn path=/trunk/mcs/; revision=21644
2004-01-03 16:57:39 +00:00
Atsushi Eno 1df9298698 2004-01-03 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : trivial allocation fix.

svn path=/trunk/mcs/; revision=21643
2004-01-03 16:52:00 +00:00
Atsushi Eno 5bed43d68c 2004-01-03 Atsushi Enomoto <[email protected]>
* XmlAttributeCollectionTests.cs :
	  added InsertAfterReplacesInCorrectOrder().
	* XmlUrlResolverTests.cs : fixed file path.
	* XmlTextReaderTests.cs : fixed file path.
	* XmlTextWriterTests.cs : added ElementXmlnsNeedEscape().

svn path=/trunk/mcs/; revision=21641
2004-01-03 16:35:04 +00:00
Atsushi Eno cbaebb87c4 2004-01-03 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : fixed file path. Added more tests.
	* added XmlSchemaCollectionTests.cs and XmlSchemaDatatypeTests.cs (the
	  latter one's purpose overlaps with XmlSchemaBuiltInDatatypeTests ;)

svn path=/trunk/mcs/; revision=21639
2004-01-03 16:12:50 +00:00
Atsushi Eno f7fa289e5c 2004-01-03 Atsushi Enomoto <[email protected]>
* Added 2,3,4,5 and 6.xsd

svn path=/trunk/mcs/; revision=21637
2004-01-03 16:06:33 +00:00
Atsushi Eno 0743e3871b 2004-01-03 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : fixed incorrect file path, and output childnode
	  count.

svn path=/trunk/mcs/; revision=21636
2004-01-03 16:04:26 +00:00
Gonzalo Paniagua Javier b32f665e04 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: don't rely on GC to close the files parsed. Fixes bug
	#52521. Patch by [email protected].

svn path=/trunk/mcs/; revision=21635
2004-01-03 15:53:25 +00:00
Gonzalo Paniagua Javier 35a5991312 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* ExpiresBuckets.cs: set _intPos when expanding the array. Fixes bug
	52541. Patch by Jan Jaros ([email protected]).

svn path=/trunk/mcs/; revision=21634
2004-01-03 15:47:24 +00:00
Gonzalo Paniagua Javier 7dc98c80ba 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: implemented MachineConfigurationDirectory,

svn path=/trunk/mcs/; revision=21633
2004-01-03 15:28:34 +00:00
Gonzalo Paniagua Javier 1c5bb21c02 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: removed a couple of MonoTODO on methods we're not gonna
	implement. Applied patch from Jan Jaros ([email protected]) to
	ensure that Unload event is raised. Fixes bug #52555.

svn path=/trunk/mcs/; revision=21632
2004-01-03 15:22:11 +00:00
Gonzalo Paniagua Javier cf8416a83a 2004-01-03 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: mono-stylized and removed warnings.

svn path=/trunk/mcs/; revision=21631
2004-01-03 15:09:23 +00:00
Nick Drochak 2b0e7159d9 2004-01-04 Nick Drochak <[email protected]>
* UriBuilderTest.cs: Make tests pass on .NET 1.1.

svn path=/trunk/mcs/; revision=21630
2004-01-03 15:07:16 +00:00
Nick Drochak 0ad948f7d3 Ignore .pdb file
svn path=/trunk/mcs/; revision=21629
2004-01-03 14:45:09 +00:00
Nick Drochak ea6808111b Ignore .pdb files
svn path=/trunk/mcs/; revision=21628
2004-01-03 14:41:20 +00:00
Nick Drochak 10c43d5167 Ignore .pdb file
svn path=/trunk/mcs/; revision=21627
2004-01-03 14:31:38 +00:00
Nick Drochak a7a31806e1 Ignore .dll and .pdb files
svn path=/trunk/mcs/; revision=21626
2004-01-03 14:28:53 +00:00
Zoltan Varga e7a9729cb5 2004-01-03 Zoltan Varga <[email protected]>
* ssa.c (mono_ssa_rename_vars): Allocate new_stack on the heap to
	avoid stack overflow.
	(replace_usage): Avoid uninitialized variable warnings.

	* mini.c (mono_method_to_ir): Avoid disabling SSA for array operations
	and taking the address of valuetype variables.

svn path=/trunk/mono/; revision=21625
2004-01-03 13:21:12 +00:00
Nick Drochak 45a0129d03 Ignore test .dll and .pdb files
svn path=/trunk/mcs/; revision=21624
2004-01-03 12:52:09 +00:00
Nick Drochak 999c8e2552 ignore .pdb
svn path=/trunk/mcs/; revision=21623
2004-01-03 12:51:21 +00:00
Nick Drochak 6d3aa33035 Ignore .pdb files
svn path=/trunk/mcs/; revision=21622
2004-01-03 12:44:15 +00:00
Nick Drochak a3c4e72252 Ignore test .dll and .pdb files
svn path=/trunk/mcs/; revision=21621
2004-01-03 12:43:25 +00:00
Nick Drochak 6aa5445b20 Ignore .dll and .pdb files
svn path=/trunk/mcs/; revision=21620
2004-01-03 12:37:16 +00:00
Nick Drochak 507b66053e Opps, wrong folder
svn path=/trunk/mcs/; revision=21619
2004-01-03 12:33:39 +00:00
Nick Drochak 383038c244 Ignore .dll and .pdb files
svn path=/trunk/mcs/; revision=21618
2004-01-03 12:25:51 +00:00
Nick Drochak 563087eecb Ignore .pdb file
svn path=/trunk/mcs/; revision=21617
2004-01-03 12:24:33 +00:00
Nick Drochak 682d44885d Ignore dll and pdb files
svn path=/trunk/mcs/; revision=21616
2004-01-03 12:14:35 +00:00
Tim Coleman f2af18f697 2004-01-02 Tim Coleman <[email protected]>
* ChangeLog:
                Start ChangeLog in this directory
        * DynamicAssembly.cs ObjectList.cs ObjectReader.cs ObjectSet.cs
        * ObjectSources.cs PersistenceError.cs PersistenceOptions.cs:
                More implementation of these classes

svn path=/trunk/mcs/; revision=21615
2004-01-03 03:57:14 +00:00
Sebastien Pouliot a81f630f3e 2004-01-02 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added many (long time) missing classes in the
	System.Security.Policy namespace.

svn path=/trunk/mcs/; revision=21614
2004-01-03 01:37:34 +00:00
Sebastien Pouliot 08bfb7aba6 2004-01-02 Sebastien Pouliot <[email protected]>
* EvidenceTest.cs: Upgraded tests to NUnit2. Added new tests.
	* StrongNameTest.cs: Class now inherits from Assertion.

svn path=/trunk/mcs/; revision=21613
2004-01-03 01:35:06 +00:00
Sebastien Pouliot 5981cbf89b 2004-01-02 Sebastien Pouliot <[email protected]>
* ApplicationDirectory.cs: Added to build. Commented IBuildInEvidence
	(not implemented).
	* Evidence.cs: Synchronised collections (IsSynchronized is always true).
	Add Locked property and Security exceptions.
	* Publisher.cs: Now use SecurityElement in ToString. Removed TODO for
	CreateIdentityPermission (Evidence is useless).
	* StrongNameMembershipCondition.cs: Added IConstantMembershipCondition
	interface. Implemented Check method.
	* Url.cs: Implemented CreateIdentityPermission.
	* UrlMembershipCondition.cs: Added IConstantMembershipCondition interface.
	* ZoneMembershipCondition.cs: Added IConstantMembershipCondition
	interface. Implemented Check method.

svn path=/trunk/mcs/; revision=21612
2004-01-03 01:31:51 +00:00
Sebastien Pouliot e9e39f2c66 2004-01-02 Sebastien Pouliot <[email protected]>
* SecurityElementTest.cs: Added new tests, constructors and null
	related, and converted to NUnit2.

svn path=/trunk/mcs/; revision=21611
2004-01-03 00:58:49 +00:00
Sebastien Pouliot 860cead170 2004-01-02 Sebastien Pouliot <[email protected]>
* AllowPartiallyTrustedCallersAttribute.cs: Fixed AttributeUsage using
	1.2 documentation (AllowMultiple=false, Inherited=false)
	* NamedPermissionSet.cs: Changes to match unit tests.
	* PermissionSet.cs: Implemented Copy, Intersect, IsSubsetOf and Union
	methods. Corrected FromXml.
	* PolicyLevelType.cs: Added missing [Serializable].
	* SecurityElement.cs: Fixed constructor to match unit tests.
	* SecurityException.cs: Added support for GrantedSet and RefusedSet
	properties (since 1.1). Set HResult to 0x8013150A.
	* SecurityZone.cs: Added missing [Serializable].
	* SuppressUnmanagedCodeSecurityAttribute.cs: Fixed AttributeUsage using
	1.2 documentation (AllowMultiple=true, Inherited=false)
	* UnverifiableCodeAttribute.cs: Fixed AttributeUsage using 1.2
	documentation (AllowMultiple=true, Inherited=false)

svn path=/trunk/mcs/; revision=21610
2004-01-03 00:56:33 +00:00
Patrik Torstensson c935882be6 2004-01-03 Patrik Torstensson
* mini-x86.c: renamed fpflags to flags in RegTrack, going to be used
	for other purposes than FP later on.

svn path=/trunk/mono/; revision=21609
2004-01-03 00:24:11 +00:00
Ben Maurer 91f9c52b99 group all the memory related stuff together, add boxing info
svn path=/trunk/mono/; revision=21608
2004-01-02 23:45:42 +00:00
Ravi Pratap M 0d97b1e094 2004-01-02 Ravi Pratap <[email protected]>
* expression.cs (BetterConversion): Prefer int -> uint
	over int -> ulong (csc's behaviour). This fixed bug #52046.

svn path=/trunk/mcs/; revision=21607
2004-01-02 23:24:10 +00:00
Ravi Pratap M 7c8dc9ab57 Add new test
svn path=/trunk/mcs/; revision=21606
2004-01-02 23:18:04 +00:00
Miguel de Icaza 0dae6847d5 Small updates to perf doc and postgress
svn path=/trunk/mono/; revision=21605
2004-01-02 22:58:27 +00:00
Ben Maurer 1bc189511c add info about generational GC
svn path=/trunk/mono/; revision=21604
2004-01-02 21:52:57 +00:00
Ben Maurer 1e6baa6055 more stuff
svn path=/trunk/mono/; revision=21603
2004-01-02 21:41:48 +00:00
Miguel de Icaza 501ce57b51 Update
svn path=/trunk/mcs/; revision=21602
2004-01-02 19:53:33 +00:00
Ben Maurer 4636e15e7a 2004-01-02 Ben Maurer <[email protected]>
* decl.cs (MemberCache.FindMembers): now returns a
	MemberInfo [].

	* typemanager.cs: In general, go with with ^^.
	(CopyNewMethods): take an IList.
	(RealMemberLookup): Only allocate an arraylist
	if we copy from two sets of methods.

	This change basically does two things:
	1) Fewer array lists allocated due to CopyNewMethods.
	2) the explicit cast in MemberList costed ALOT.

svn path=/trunk/mcs/; revision=21601
2004-01-02 19:52:36 +00:00
Miguel de Icaza 2b65706835 Add make-map.cs tool
svn path=/trunk/mcs/; revision=21600
2004-01-02 19:19:07 +00:00
Miguel de Icaza 542cedba47 Add bunch of Posix calls
svn path=/trunk/mcs/; revision=21599
2004-01-02 18:43:52 +00:00
Miguel de Icaza f97ebd4d45 initial doc
svn path=/trunk/mono/; revision=21598
2004-01-02 18:32:57 +00:00
Zoltan Varga a232add221 2004-01-02 Zoltan Varga <[email protected]>
* cs-tokenizer.cs (consume_identifier) driver.cs: Cache identifiers in
	a hashtable to avoid needless string allocations when an identifier is
	used more than once (the common case).

svn path=/trunk/mcs/; revision=21596
2004-01-02 16:20:18 +00:00
Zoltan Varga 7b6a980d18 2004-01-02 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Prevent register allocation for arguments
	of tail calls.

svn path=/trunk/mono/; revision=21595
2004-01-02 15:52:25 +00:00
Zoltan Varga 218d987fcd 2004-01-02 Zoltan Varga <[email protected]>
* KeyedList.cs: 'private' is not allowed on explicit interface
	implementations. Fixes 1.2 build.

	Happy New Year !

svn path=/trunk/mcs/; revision=21594
2004-01-02 14:24:26 +00:00
Paolo Molaro a53c46b61e Fri Jan 2 13:37:25 CET 2004 Paolo Molaro <[email protected]>
* mini-ops.h, mini.c, inssel.brg: Object.GetType () speedup.

svn path=/trunk/mono/; revision=21593
2004-01-02 12:25:38 +00:00
Paolo Molaro 77d212da37 Fri Jan 2 13:35:48 CET 2004 Paolo Molaro <[email protected]>
* class.h, object.c: prepare for GetType () speedup.

svn path=/trunk/mono/; revision=21592
2004-01-02 12:23:59 +00:00
Ben Maurer ccd3078f2a 2004-01-01 Ben Maurer <[email protected]>
* pending.cs: MS's TypeBuilder.GetInterfaces ()
	is broken, it will not return anything. So, we
	have to use the information we have in mcs to
	do the task.

	* typemanager.cs: Add a cache for GetInterfaces,
	since this will now be used more often (due to ^^)

	(GetExplicitInterfaces) New method that gets the
	declared, not effective, interfaces on a type
	builder (eg, if you have interface IFoo, interface
	IBar, Foo : IFoo, Bar : Foo, IBar, GetExplInt (Bar) ==
	{ IBar }.

	This patch makes MCS able to bootstrap itself on
	Windows again.

svn path=/trunk/mcs/; revision=21589
2004-01-01 22:05:35 +00:00
Ben Maurer 65c7dd933e 2004-01-01 Ben Maurer <[email protected]>
* expression.cs: Remove the Nop's that Miguel put
	in by mistake.

svn path=/trunk/mcs/; revision=21588
2004-01-01 21:49:03 +00:00
Nick Drochak 436295836b 2004-01-02 Nick Drochak <[email protected]>
* ServicePointManagerTest.cs: Use the nunit v2 paradigm, and stop this
	test from outputting its debug info with WriteLines.
	* ServicePointTest.cs: Make sure MaxServicePoints weren't set to some
	other limit in another test or whatever.  Suppress debug output.

svn path=/trunk/mcs/; revision=21585
2004-01-01 16:39:28 +00:00
Alon Gazit 7b42819225 update RenderItem() so that each item in the RadioButtonList or the
CheckBoxList is disabled or enabled like the container.

svn path=/trunk/mcs/; revision=21584
2004-01-01 15:57:33 +00:00
Alon Gazit 725716eaf5 add check in Write() in order to prevent NullReferenceException.
svn path=/trunk/mcs/; revision=21583
2004-01-01 15:04:28 +00:00
Alon Gazit 2bad0155d5 implemented ExpiresAbsolute and Expires.
svn path=/trunk/mcs/; revision=21582
2004-01-01 13:47:00 +00:00
Sanja Gupta 53ae717645 ChangeLog for Added missing functionality in WriteXml() of DataSet.
svn path=/trunk/mcs/; revision=21581
2004-01-01 11:06:59 +00:00
Sanja Gupta c0c6567450 Added missing functionality in WriteXml() of DataSet
svn path=/trunk/mcs/; revision=21580
2004-01-01 11:05:17 +00:00
Alon Gazit 8c1943405e Fixed PrepareControlHierarchyForItem().
The Header or Footer Style shouldn't merge with the cells Style.

svn path=/trunk/mcs/; revision=21579
2004-01-01 09:54:46 +00:00
Alon Gazit 8280e80504 Headers and Footers are initialized with the relevant Style object.
svn path=/trunk/mcs/; revision=21578
2004-01-01 08:20:16 +00:00
Ben Maurer 1476a5d4fc another way we dont catch cs0121
svn path=/trunk/mcs/; revision=21577
2003-12-31 21:27:06 +00:00
Jackson Harper 5eac25987d TemplateControlParser.cs: When registering tag prefixs make sure
the file exists and throw the correct error if it does not.

svn path=/trunk/mcs/; revision=21576
2003-12-31 21:23:38 +00:00
Ben Maurer 54c4192ee6 we do not report cs0229 at all really
svn path=/trunk/mcs/; revision=21575
2003-12-31 21:21:55 +00:00
Ben Maurer 21e80144b2 2003-12-31 Ben Maurer <[email protected]>
* report.cs, codegen.cs: Give the real stack trace to
	the error when an exception is thrown.

svn path=/trunk/mcs/; revision=21574
2003-12-31 20:53:22 +00:00
Ben Maurer 8b05c42528 2003-12-31 Ben Maurer <[email protected]>
* decl.cs: only allocate hashtables for ifaces if
	it is an iface!

svn path=/trunk/mcs/; revision=21573
2003-12-31 20:27:10 +00:00
Ben Maurer 32e1225289 2003-12-31 Ben Maurer <[email protected]>
* expression.cs: fix the error from cs0121-2.cs
	(a parent interface has two child interfaces that
	have a function with the same name and 0 params
	and the function is called through the parent).

svn path=/trunk/mcs/; revision=21572
2003-12-31 19:08:33 +00:00
Ben Maurer c9b3bfce35 We fail on this variation of CS0121, where an interface has two identical methods from base interfaces, leaving an ambigious call
svn path=/trunk/mcs/; revision=21571
2003-12-31 17:43:54 +00:00
Nick Drochak 6bca4e9a70 2004-01-01 Nick Drochak <[email protected]>
* ServiceContainerTest.cs: Eliminate unused variable that was giving us
	a warning.  Also did a little nunit version 2 house cleaning.

svn path=/trunk/mcs/; revision=21570
2003-12-31 16:10:11 +00:00
Nick Drochak 11a3f558f8 2004-01-01 Nick Drochak <[email protected]>
* Makefile: Suppress warnings about multiple Regex defs and obsolete
	calls in the test assembly.

svn path=/trunk/mcs/; revision=21569
2003-12-31 16:00:24 +00:00
Nick Drochak bfb707603f 2004-01-01 Nick Drochak <[email protected]>
* corlib_test.dll.sources: Add PermissionRequestEvidenceTest.cs
	* corlib.dll.sources. Add PermissionRequestEvidence.cs

svn path=/trunk/mcs/; revision=21568
2003-12-31 15:48:23 +00:00
Nick Drochak 67278dc606 2004-01-01 Nick Drochak <[email protected]>
* PermissionRequestEvidenceTest.cs: New File

svn path=/trunk/mcs/; revision=21567
2003-12-31 15:46:31 +00:00
Nick Drochak a5663524c4 2004-01-01 Nick Drochak <[email protected]>
* PermissionRequestEvidence.cs: New File

svn path=/trunk/mcs/; revision=21566
2003-12-31 15:44:43 +00:00
Nick Drochak 8ae7a982eb 2004-01-01 Nick Drochak <[email protected]>
* RegistryKey.cs: Add some missing overloads.

svn path=/trunk/mcs/; revision=21565
2003-12-31 14:57:41 +00:00
Nick Drochak 802cc402a9 2004-01-01 Nick Drochak <[email protected]>
* BitVector32Test.cs: Test some more values less than 1.

Happy New Year!

svn path=/trunk/mcs/; revision=21564
2003-12-31 14:55:26 +00:00
Nick Drochak 2d550f76a5 2003-12-31 Nick Drochak <[email protected]>
* UriTest2.cs: Use proper path to find file.
	* UriBuilderTest.cs: 123456789 is not a bad port.

svn path=/trunk/mcs/; revision=21563
2003-12-31 14:43:58 +00:00
Gonzalo Paniagua Javier c5cd9cb597 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
* System_test.dll.sources: added SocketTest.cs

	* System.Net.Sockets/Socket.cs: fix for several asynchronous methods to
	delay exception throwing.

	* Test/System.Net.Sockets/SocketTest.cs: new test for asynchronous
	connection failure.

	Test+fix by Brad FitzpatrickBrad Fitzpatrick <[email protected]>.

svn path=/trunk/mcs/; revision=21562
2003-12-31 13:18:45 +00:00
Ben Maurer 2838c7ff9f 2003-12-30 Ben Maurer <[email protected]>
* class.cs, rootcontext.cs, typmanager.cs: do not
	leak pointers.

svn path=/trunk/mcs/; revision=21558
2003-12-30 19:50:12 +00:00
Patrik Torstensson 62a361bf8d 2003-12-13 Patrik Torstensson <[email protected]>
* bug-42136.cs: invalid liveness analyse for locals
	used in try and catch block. (exceptions not counted
	for in the liveness analyse)
	* Makefile.am: added bug-42136.cs

svn path=/trunk/mono/; revision=21557
2003-12-30 14:38:48 +00:00
Nick Drochak b59a4cf5c2 2003-12-30 Nick Drochak <[email protected]>
* DnsTest.cs: Update with new IP address for www.go-mono.com and make
	test failure output more informative. All Tests pass for me on
	.NET 1.1.
	* HttpWebRequestTest.cs: Get rid of WriteLines and use Asserts to make
	it a proper unit test.

svn path=/trunk/mcs/; revision=21556
2003-12-30 14:23:49 +00:00
Alon Gazit 2a9a5a66c8 Fixed DoVerticalRendering () and DoHorizontalRendering().
Current implementation produces few extra html tags.

svn path=/trunk/mcs/; revision=21555
2003-12-30 14:23:43 +00:00
Patrik Torstensson 902f07f3eb 2003-12-30 Patrik Torstensson <[email protected]>
* mini-x86.h: Decreased number of availiable fp regs.
	Solves corner cases with FP spilling.

svn path=/trunk/mono/; revision=21554
2003-12-30 13:02:12 +00:00
Gonzalo Paniagua Javier 4207917675 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
* DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
	AcceptChanges in Update when a CommandBuilder is used and
	correctly fill information about primary keys in FillSchema.
	Patch from Sergei Malinin ([email protected]).

svn path=/trunk/mcs/; revision=21553
2003-12-30 12:56:29 +00:00
Alon Gazit e5544bf0e6 undo to the change that i made few hours ago.
the problem is in HyperLink.
sorry for my mistake.

svn path=/trunk/mcs/; revision=21552
2003-12-30 11:49:22 +00:00
Nick Drochak 2362fd4b8c 2003-12-30 Nick Drochak <[email protected]>
* DiagnosticsConfigurationHandlerTest.cs: Inherit from Assertion to
	make it a bit simpler.
	* SwitchesTest.cs: Make the tests pass on .NET 1.1

svn path=/trunk/mcs/; revision=21551
2003-12-30 10:52:46 +00:00
Nick Drochak 4d6888736d 2003-05-29 Nick Drochak <[email protected]>
* System_test.dll.config: Nunit loads configs with the same name as the
	test assembly. This is for the Swithes test.

svn path=/trunk/mcs/; revision=21550
2003-12-30 10:42:48 +00:00
Alon Gazit 1e9c997a3d fix typo in IsRelativeUrl().
fix cases when the path is absolute path like "www.go-mono.com".

svn path=/trunk/mcs/; revision=21549
2003-12-30 10:12:16 +00:00
Sebastien Pouliot a9d7e29245 2003-12-29 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added new unit tests to System.Security.Principal.

svn path=/trunk/mcs/; revision=21548
2003-12-30 04:28:16 +00:00
Sebastien Pouliot 1bf4b6130c 2003-12-29 Sebastien Pouliot <[email protected]>
* WindowsPrincipal.cs: Return false for a null role.

svn path=/trunk/mcs/; revision=21547
2003-12-30 04:20:08 +00:00
Sebastien Pouliot 57968355bc 2003-12-29 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added new unit tests to System.Security.
	Permissions and System.Security.Principal.

svn path=/trunk/mcs/; revision=21546
2003-12-30 04:17:40 +00:00
Sebastien Pouliot ef13b3da61 2003-12-29 Sebastien Pouliot <[email protected]>
* WindowsIdentityTest.cs: New. Partial unit test for WindowsIdentity.
	* WindowsPrincipalTest.cs: New. Partial unit test for WindowsPrincipal.

svn path=/trunk/mcs/; revision=21545
2003-12-30 04:16:32 +00:00
Sebastien Pouliot a11b4b2722 2003-12-29 Sebastien Pouliot <[email protected]>
* PrincipalPolicy.cs: Added missing [Serializable] to enum.
	* WindowsAccountType.cs: Added missing [Serializable] to enum.
	* WindowsBuiltInRole.cs: Added missing [Serializable] to enum.
	* WindowsIdentity.cs: Updated to match the unit tests.
	* WindowsPrincipal.cs: Return false for a null role.

svn path=/trunk/mcs/; revision=21544
2003-12-30 04:13:59 +00:00
Sebastien Pouliot 24c965fc2f 2003-12-29 Sebastien Pouliot <[email protected]>
* EnvironmentPermission.cs: Fixed return value to match unit tests.
	* EnvironmentPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
	* FileDialogPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
	* FileIOPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
	* IsolatedStorageFilePermissionAttribute.cs: Implemented
	CreatePermission method. Updated AttributeUsage using 1.2 documentation.
	* IsolatedStoragePermissionAttribute.cs: Updated AttributeUsage using
	1.2 documentation.
	* PermissionSetAttribute.cs: Prepared CreatePermissionSet. Updated
	AttributeUsage using 1.2 documentation.
	* PrincipalPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Fixed AttributeUsage (more limited than others).
	* PublisherIdentityPermissionAttribute.cs: Updated CreatePermission to
	throw ArgumentException for Unrestricted permission. Updated
	AttributeUsage using 1.2 documentation.
	* ReflectionPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
	* RegistryPermission.cs: Implemented IsUnrestricted for unit tests.
	* RegistryPermissionAttribute.cs: Implemented CreatePermission method.
	Updated AttributeUsage using 1.2 documentation.
	* SecurityAttribute.cs: m_Action is now assigned in constructor.
	* SecurityPermission.cs: Completed class.
	* SecurityPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Added missing [Serializable] attribute and
	UnmanagedCode property. Changed -= to &= to preserve flags (e.g.
	setting a flags to false more than one time).
	* SecurityPermissionFlag.cs: Cleanup unused XML tags.
	* SiteIdentityPermission.cs: Fixed exception for constructor and Site
	property to match unit tests.
	* SiteIdentityPermissionAttribute.cs: Updated CreatePermission for
	Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
	* StrongNameIdentityPermission.cs: Fixed default values for Name and
	Version to match unit tests.
	* StrongNamePermissionAttribute.cs: Updated CreatePermission to
	throw ArgumentException for Unrestricted permission. Updated
	AttributeUsage using 1.2 documentation.
	* UIPermission.cs: Fixed default values in constructor to match unit
	tests.
	* UIPermissionAttribute.cs: Updated CreatePermission to throw
	ArgumentException for Unrestricted permission. Fixed strange case for
	null URL. Updated AttributeUsage using 1.2 documentation.
	* UrlIdentityPermission.cs: Url property now throws an exception to
	match unit tests.
	* UrlIdentityPermissionAttribute.cs: Updated CreatePermission to throw
	ArgumentException for Unrestricted permission. Updated AttributeUsage
	using 1.2 documentation.
	* ZoneIdentityPermissionAttribute.cs: Updated CreatePermission to throw
	ArgumentException for Unrestricted permission. Updated AttributeUsage
	using 1.2 documentation.

svn path=/trunk/mcs/; revision=21543
2003-12-30 04:07:48 +00:00
Sebastien Pouliot 1eb7770a06 2003-12-29 Sebastien Pouliot <[email protected]>
* EnvironmentPermissionAttributeTest.cs: Updated to test default
	properties, Actions, get for All (1.1) and Unrestricted.
	* FileDialogPermissionAttributeTest.cs: Updated to test default
	properties, Actions and Unrestricted.
	* FileIOPermissionAttributeTest.cs: Updated to test default
	properties, Actions, get for All (1.1) and Unrestricted.
	* IsolatedStorageFilePermissionAttributeTest.cs: New.
	* PermissionSetAttributeTest.cs: New.
	* PrincipalPermissionAttributeTest.cs: Updated to test default
	properties, Actions and Unrestricted.
	* PublisherIdentityPermissionAttributeTest.cs: Updated to test default
	properties, Actions and Unrestricted.
	* ReflectionPermissionAttributeTest.cs: Updated to test default
	properties, Actions and Unrestricted.
	* RegistryPermissionAttributeTest.cs: New.
	* SecurityPermissionAttributeTest.cs: New.
	* SiteIdentityPermissionAttributeTest.cs: New.
	* StrongNameIdentityPermissionAttributeTest.cs: New.
	* StrongNamePublicKeyBlobTest.cs: Converted to NUnit2 format.
	* UIPermissionAttributeTest.cs: New.
	* UrlIdentityPermissionAttributeTest.cs: New.
	* ZoneIdentityPermissionAttributeTest.cs: New.

svn path=/trunk/mcs/; revision=21542
2003-12-30 03:35:32 +00:00
Jochen Wezel 471aa239f3 Fixed bug in Len(Decimal)
Added some results of my studies regarding Asc and single/double byte systems in documentation comments

svn path=/trunk/mcs/; revision=21541
2003-12-29 23:28:06 +00:00
Jochen Wezel 06ae8265d7 StringsTest.cs updated
svn path=/trunk/mcs/; revision=21540
2003-12-29 23:23:19 +00:00
Ben Maurer 70e4c499da ok, so i did not need a +1 there; i hate off by one errors
svn path=/trunk/mcs/; revision=21539
2003-12-29 18:43:20 +00:00
Ben Maurer 022fccaeac 2003-12-29 Ben Maurer <[email protected]>
* MethodBuilder.cs, ConstructorBuilder.cs: Override GetParameterCount.
	* ILGenerator.cs: Use GetParameterCount.

svn path=/trunk/mcs/; revision=21538
2003-12-29 17:08:30 +00:00
Ben Maurer a536805431 2003-12-29 Ben Maurer <[email protected]>
* MethodBase.cs: Internal method to get param count (this
	way we can get the info for the ilgen without creating
	an array, if we override the method).

svn path=/trunk/mcs/; revision=21537
2003-12-29 16:58:36 +00:00
Alon Gazit 149ba450ca update the implementation of RenderAttributes().
Change the if statement that determines if the onclick script is rendered.

svn path=/trunk/mcs/; revision=21536
2003-12-29 16:53:34 +00:00
Alon Gazit 152039aa97 change the implementation of LoadPostData.
Currently, while the AutoPostBack property equals true ,
it isn't possible to perform uncheck.

svn path=/trunk/mcs/; revision=21535
2003-12-29 09:03:41 +00:00
Tim Coleman 74ae7aef8f 2003-12-29 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces/ObjectContext.cs:
        * System.Data.ObjectSpaces/ObjectReader.cs:
        * System.Data.ObjectSpaces/ObjectSet.cs:
        * System.Data.ObjectSpaces/ObjectSpace.cs:
                Some implementation
        * System.Data.ObjectSpaces/ObjectList.cs:
        * System.Data.ObjectSpaces/ObjectSources.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectSchema.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClass.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMember.cs:
                Remove erroneous "private" modifiers

svn path=/trunk/mcs/; revision=21534
2003-12-29 06:48:49 +00:00
Tim Coleman e9cdb7b78a Missed commit
svn path=/trunk/mcs/; revision=21533
2003-12-29 06:40:55 +00:00
Tim Coleman 92a4d49a72 2003-12-29 Tim Coleman <[email protected]>
* System.Data.SqlXml.dll.sources:
                Remove XmlDataSourceResolver as it is broken.
        * System.Data.Mapping/DataSource.cs:
                Fix property name
        * System.Xml.Query/XmlViewSchemaDictionary.cs:
                Remove "private" from some properties

svn path=/trunk/mcs/; revision=21532
2003-12-29 06:40:27 +00:00
Ben Maurer f04abd519e 2003-12-28 Ben Maurer <[email protected]>
* codegen.cs: remove stack for the ec flow branching.
	It is already a linked list, so no need.

svn path=/trunk/mcs/; revision=21524
2003-12-29 02:04:05 +00:00
Tim Coleman b2a700554e 2003-12-28 Tim Coleman <[email protected]>
* SqlResultSet.cs:
		Missed a couple of includes.

svn path=/trunk/mcs/; revision=21523
2003-12-28 23:36:35 +00:00
Tim Coleman 1c7abed6e0 2003-12-28 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add new .NET 1.2 sources.

svn path=/trunk/mcs/; revision=21522
2003-12-28 23:31:24 +00:00
Tim Coleman 0692a21c0e 2003-12-28 Tim Coleman <[email protected]>
* SqlResultSet.cs:
                Stubbed out this class.

svn path=/trunk/mcs/; revision=21521
2003-12-28 23:30:42 +00:00
John Luke 7940591a59 add a pic to be like everyone else
svn path=/trunk/mono/; revision=21520
2003-12-28 21:40:01 +00:00
Tim Coleman d4bae83c5e 2003-12-28 Tim Coleman <[email protected]>
* DbParameterBase.cs:
                Correct type of ValueSize method to int

svn path=/trunk/mcs/; revision=21519
2003-12-28 21:24:16 +00:00
Ben Maurer cce3945593 2003-12-28 Ben Maurer <[email protected]>
* BinaryWriter.cs: use one encoding buffer for writing
	strings rather than allocting one/string. HUGE perf
	boost when writing many strings.

svn path=/trunk/mcs/; revision=21518
2003-12-28 18:30:10 +00:00
Ben Maurer 49ea663189 2003-12-28 Ben Maurer <[email protected]>
* MonoSymbolTable.cs (MethodEntry): kill more
	useless fields.

svn path=/trunk/mcs/; revision=21517
2003-12-28 18:00:57 +00:00
Ben Maurer 0a3370c451 2003-12-28 Ben Maurer <[email protected]>
* MonoSymbolTable.cs (MethodEntry): Remove the
	SourceFileIndex field, we already have the info.

svn path=/trunk/mcs/; revision=21516
2003-12-28 17:43:39 +00:00
Ben Maurer 50acdec194 2003-12-28 Ben Maurer <[email protected]>
* MonoSymbolTable.cs: Done make the MethodIndexEntry
	part of the method entry class, because it just
	takes up extra space.

svn path=/trunk/mcs/; revision=21515
2003-12-28 17:30:39 +00:00
Alon Gazit b0f32e8156 add parentheses to if statement.
Currently the else statement refers to the inner if statement.

svn path=/trunk/mcs/; revision=21514
2003-12-28 15:47:32 +00:00
Alon Gazit 5e44013bfd fix upper bound of for statement.
svn path=/trunk/mcs/; revision=21513
2003-12-28 14:57:52 +00:00
Ben Maurer 5e8269d1db forgot to remove dead code
svn path=/trunk/mcs/; revision=21512
2003-12-28 05:18:28 +00:00
Ben Maurer c1acb362af 2003-12-28 Ben Maurer <[email protected]>
* MonoSymbolTable.cs, MonoSymbolWriter.cs: Use
	fewer arrays, dont use arraylists with structs.

svn path=/trunk/mcs/; revision=21511
2003-12-28 05:06:38 +00:00
Ben Maurer e6c3a6dcad 2003-12-27 Ben Maurer <[email protected]>
* MonoSymbolFile.cs: Much, much better string writing.

svn path=/trunk/mcs/; revision=21510
2003-12-28 03:29:29 +00:00
Ben Maurer 32598c5c5c 2003-12-27 Ben Maurer <[email protected]>
* Makefile: Allow custom profiler here.

svn path=/trunk/mcs/; revision=21509
2003-12-28 03:04:58 +00:00
Atsushi Eno 9d166e21a2 2003-12-27 Atsushi Enomoto <[email protected]>
* DataSet.cs : Fixed incorrect WriteXml() signature.

svn path=/trunk/mcs/; revision=21508
2003-12-27 03:08:46 +00:00
Ben Maurer 08655b483e 2003-12-26 Ben Maurer <[email protected]>
* typemanager.cs (LookupType):
	  - Use a static char [], because split takes
	    a param array for args, so it was allocating
	    every time.
	  - Do not store true in a hashtable, it boxes.

svn path=/trunk/mcs/; revision=21507
2003-12-27 03:01:36 +00:00
Ben Maurer 0b3b1a6891 2003-12-26 Ben Maurer <[email protected]>
* ArrayList.cs: Add class `SimpleEnumerator' this handles the
	.GetEnumerator We are able to remove fields by doing this, the
	sizeof the simple version is 75% of that of the complex one, so we
	get a pretty nice saving.

svn path=/trunk/mcs/; revision=21506
2003-12-27 00:47:18 +00:00
Ben Maurer e416541202 2003-12-26 Ben Maurer <[email protected]>
* flowanalysis.cs: bytify common enums.

svn path=/trunk/mcs/; revision=21505
2003-12-26 20:49:25 +00:00
Nick Drochak 9c2d87bd97 2003-12-27 Nick Drochak <[email protected]>
* AppDomainSetupTest.cs: Seems that AppDomainSetup's use the temp
	path, not current directory.

svn path=/trunk/mcs/; revision=21501
2003-12-26 14:56:19 +00:00
Atsushi Eno 9e5f179927 2003-12-26 Atsushi Enomoto <[email protected]>
* XslDecimalFormat.cs : implemented format-number() other than number
	  grouping.
	* XsltCompiledContext.cs : Modified XsltFormatNumber.Evaluate() to
	  catch ArgumentException which will be thrown by formatting process.

svn path=/trunk/mcs/; revision=21500
2003-12-26 09:50:33 +00:00
Sebastien Pouliot c11144293e 2003-12-25 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added WindowsPrincipal to build.

svn path=/trunk/mcs/; revision=21499
2003-12-26 04:40:13 +00:00
Sebastien Pouliot cc02bb2de3 2003-12-25 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Added ISerializable (for 1.1+) and default
	implementation for constructors/properties.
	* WindowsImpersonationContext.cs: Added MonoTODO on class and
	NotImplementedException in constructor.
	* WindowsPrincipal.cs: New. Basic implementation (mostly a stub).

svn path=/trunk/mcs/; revision=21498
2003-12-26 04:25:41 +00:00
Ben Maurer 278452729f 2003-12-25 Ben Maurer <[email protected]>
* test-141.cs: add tests for #38674.

svn path=/trunk/mcs/; revision=21497
2003-12-25 23:29:54 +00:00
Ben Maurer c7518f1175 2003-12-25 Ben Maurer <[email protected]>
* modifiers.cs: Add a new set of flags for the
	flags allowed on explicit interface impls.
	* cs-parser.jay: catch the use of modifiers in
	interfaces correctly.
	* class.cs: catch private void IFoo.Blah ().

	All related to bug #50572.

svn path=/trunk/mcs/; revision=21496
2003-12-25 22:48:39 +00:00
Ben Maurer 4525c8a9e3 2003-12-25 Ben Maurer <[email protected]>
* decl.cs: Rewrite the consistant accessability checking.
	Accessability is not linear, it must be implemented in
	a tableish way. Fixes #49704.

svn path=/trunk/mcs/; revision=21495
2003-12-25 22:10:02 +00:00
Ben Maurer 292ea3a4a0 2003-12-25 Ben Maurer <[email protected]>
* expression.cs: Handle negation in a checked context.
	We must use subtraction from zero. Fixes #38674.

svn path=/trunk/mcs/; revision=21494
2003-12-25 21:56:22 +00:00
Jackson Harper 00784dd9b7 * AspGenerator.cs: Allow scriptlets in javascript. This fixes bug
#52522.

svn path=/trunk/mcs/; revision=21493
2003-12-25 10:51:15 +00:00
Jackson Harper d0fa545f50 * SessionStateModule.cs: Handle SessionStateMode.Off properly in
Init. Only set session cookies if a new session is created. This
	fixes bug #52501.

svn path=/trunk/mcs/; revision=21492
2003-12-25 10:00:17 +00:00
Jackson Harper 08c57c25ba * Page.cs: Throw error if the session is accessed when sessions
are disabled.

svn path=/trunk/mcs/; revision=21491
2003-12-25 09:57:49 +00:00
Atsushi Eno 24b8ecd2c5 2003-12-25 Atsushi Enomoto <[email protected]>
* Path.cs : Fixed GetFullPath() (and CanonicalizePath()),
	  HasExtension(), GetPathRoot() and IsPathRooted() to fit with tests.

svn path=/trunk/mcs/; revision=21489
2003-12-25 08:48:46 +00:00
Atsushi Eno 60fbe6d4f0 2003-12-25 Atsushi Enomoto <[email protected]>
* PathTest.cs : On Unix, "Z:" can be valid local file.
	  And cosmetic character case fix.

svn path=/trunk/mcs/; revision=21488
2003-12-25 08:41:00 +00:00
Duncan Mak 56a2049f06 Oops.
svn path=/trunk/mcs/; revision=21486
2003-12-25 07:40:52 +00:00
Duncan Mak 591a124259 * Matrix.cs (ToString): Cache the elements inside a local variable
to avoid calling the Elements property repeatedly.

* graphics-path.c (GdipAddPathLine): Use append instead of
append_point.
(GdipTransformPath): Remember to reset the points after the
transformation.

svn path=/trunk/mcs/; revision=21485
2003-12-25 07:39:23 +00:00
Atsushi Eno 5cecc5fa52 2003-12-25 Atsushi Enomoto <[email protected]>
* Multiplexer.cs : Now we use managed XSLT engine by default.
	  Added obsolete attribute to Transform()s without xmlresolver.

svn path=/trunk/mcs/; revision=21484
2003-12-25 05:16:41 +00:00
Ben Maurer 58df5bc175 2003-12-24 Ben Maurer <[email protected]>
* Type.cs (IsNotPublic): One would normally assume that
	IsNotPublic == !IsPublic, but this is not the case (note to MS,
	make better names ;-). Fixes #52547, `Type.IsNotPublic not
	correct for Nested types'

svn path=/trunk/mcs/; revision=21482
2003-12-24 19:32:54 +00:00
Duncan Mak 32620eef85 * graphics.c (DrawBezier, DrawBezierI): Well, it's pretty obvious
that the code was incorrect before. After Christmas, I'm gonna
hook up the GraphicsPath code and work on testing and making sure
this stuff is correct. I'm pretty sure, in a first pass, there are
lots of littles bugs waiting to be fixed.

* graphics-path.c (new_point): Removed, we now pack the point
inside the append functions.
(append): New function that takes the X, Y coordinates directly.
(append_bezier): Take coordinates instead of GpPointFs. Use the
new append function instead of append_point.

svn path=/trunk/mcs/; revision=21481
2003-12-24 18:23:45 +00:00
César Natarén 776d5f61cd updates from grammar changes.
svn path=/trunk/mcs/; revision=21480
2003-12-24 17:37:43 +00:00
César Natarén dd3715fe01 ChangeLog entries
svn path=/trunk/mcs/; revision=21479
2003-12-24 17:36:35 +00:00
César Natarén 7986d1c27c 2003-12-24 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: keep track of parent reference for
	IDENTIFIER, STRING_LITERAL.

	* expression.cs: Added 'binding' field. Added 'parent' parameter
	to constructor. Now we emit the proper code for the identifier.

	* VariableStatement.cs: updated to field names instead of the old
	property's name.

	* VariableDeclaration.cs: Added class Decl, it constains the
	references to the static field or LocalBuilder that are created
	when a declaration is emitted. Deleted unuseful properties (Id,
	InitValue, Type).

	* SymbolTable.cs: Deleted Retrieve method. Contains now returns an
	object instead of a boolean.

	* StringLiteral.cs: Deleted unuseful properties. Use ig instead of ec.ig.

	* IdentificationTable.cs: Deleted Retrieve method. Contains method
	now return an object instead of a boolean, that reference is the
	binding associated with the identifier being searched.

svn path=/trunk/mcs/; revision=21478
2003-12-24 17:33:19 +00:00
Atsushi Eno 248f5d7bf6 2003-12-24 Atsushi Enomoto <[email protected]>
* mono.1 : added MONO_UNMANAGED_XSLT env. value (will be available
	  soon).

svn path=/trunk/mono/; revision=21477
2003-12-24 17:08:07 +00:00
Atsushi Eno 8171962e6a 2003-12-24 Atsushi Enomoto <[email protected]>
* profiler.c: workaround for --profile null reference exception on
	  cygwin. Patch by Patrik Torstensson.

svn path=/trunk/mono/; revision=21476
2003-12-24 17:05:58 +00:00
Nick Drochak 9316916f1e 2003-12-24 Nick Drochak <[email protected]>
* Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
	even though docs say it should be an ArgumentNull. Sent email to MS
	about this "bug".

svn path=/trunk/mcs/; revision=21475
2003-12-24 09:52:15 +00:00
Rafael Teixeira 7297626481 bits
svn path=/trunk/mcs/; revision=21474
2003-12-24 05:23:56 +00:00
Rafael Teixeira b2dc44d3a9 2003/12/23 Rafael Teixeira <[email protected]>
* driver.cs : added stubs for options "/netcf /sdkpath:path"
	* namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces 
	  (especially between command-line option /imports and explicit Import clauses), what manifested itself as
	  error messages for ambiguous names that where in truth identical
	* statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
	* mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)

svn path=/trunk/mcs/; revision=21473
2003-12-24 05:23:28 +00:00
Atsushi Eno 3f8cc991a8 2003-12-24 Atsushi Enomoto <[email protected]>
* Added testresults.tar.gz and README.
	* Modified Makefile.

svn path=/trunk/mcs/; revision=21472
2003-12-24 03:37:13 +00:00
Atsushi Eno f054d15411 2003-12-24 Atsushi Enomoto <[email protected]>
* Added missing xalan_correct_catalog.xml.
	* Makefile : a bit improved.

svn path=/trunk/mcs/; revision=21471
2003-12-24 01:54:47 +00:00
Atsushi Eno cc0a3dd540 2003-12-24 Atsushi Enomoto <[email protected]>
* Makefile, prepare.cs, xslttest.cs : Initial checkin.

svn path=/trunk/mcs/; revision=21470
2003-12-24 01:44:12 +00:00
Ben Maurer b047e712a6 2003-12-23 Ben Maurer <[email protected]>
* pp.cs: Also test for 2 entry-point-looking methods
	in a library, bug #52490.

svn path=/trunk/mcs/; revision=21468
2003-12-23 22:41:46 +00:00
Ben Maurer 477f27317d 2003-12-23 Ben Maurer <[email protected]>
* class.cs: Ignore static void main in DLLs.
	* rootcontext.cs: Handle the target type here,
	since we are have to access it from class.cs
	* driver.cs: account for the above.

svn path=/trunk/mcs/; revision=21467
2003-12-23 22:35:02 +00:00
Ben Maurer 49afbd096e 2003-12-23 Ben Maurer <[email protected]>
* report.cs: Give line numbers and files if available.

svn path=/trunk/mcs/; revision=21466
2003-12-23 21:43:42 +00:00
Tim Coleman a3be91e485 2003-12-23 Tim Coleman <[email protected]>
* DbConnectionString.cs:
                Some implementation
        * DbProviderFactory.cs:
                Fix typo to make CLS compliant

svn path=/trunk/mcs/; revision=21465
2003-12-23 21:09:38 +00:00
Tim Coleman 3a55293e41 2003-12-23 Tim Coleman <[email protected]>
* SqlConnection.cs:
                Improved connection string parsing.  See
                System.Data.Common.DbConnectionString for source.

svn path=/trunk/mcs/; revision=21464
2003-12-23 21:08:34 +00:00
Tim Coleman 6d620b325a 2003-12-23 Tim Coleman <[email protected]>
* DbCommandBase.cs DbConnectionBase.cs DbConnectionFactory.cs
        * DbParameterCollectionBase.cs:
                Some implementation

svn path=/trunk/mcs/; revision=21463
2003-12-23 21:07:11 +00:00
Tim Coleman 54f9c3be08 2003-12-23 Tim Coleman <[email protected]>
* DbCommandBase.cs DbConnectionBase.cs DbConnectionFactory.cs:
                Some implementation

svn path=/trunk/mcs/; revision=21462
2003-12-23 21:06:10 +00:00
Tim Coleman 78ec55912f *** empty log message ***
svn path=/trunk/mcs/; revision=21461
2003-12-23 21:04:43 +00:00
Tim Coleman 265ac58f46 2003-12-23 Tim Coleman <[email protected]>
* DbConnectionString.cs:
                Some implementation

svn path=/trunk/mcs/; revision=21460
2003-12-23 21:04:29 +00:00
Rafael Teixeira 12104cf1a1 cygwin-induced headaches
svn path=/trunk/mcs/; revision=21459
2003-12-23 18:10:50 +00:00
Patrik Torstensson 735377cb73 2003-12-23 Patrik Torstensson <[email protected]>
* mini.x86.c, mini-ops.h, cpu-pentium.md: Added support
	for floating point stack tracking / spilling on x86.
	Fixes bug #49012.

	* basic-float.cs: added float mul overflow test.

svn path=/trunk/mono/; revision=21458
2003-12-23 17:11:34 +00:00
Atsushi Eno 7d18219c0b 2003-12-23 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : Use "mjs" as JScript compiler.

svn path=/trunk/mcs/; revision=21457
2003-12-23 16:41:41 +00:00
Lluis Sanchez e8e6ca52d0 * wstest.cs: Removed debug WriteLine.
* services.xml: updated services.
	* server/web.config: Added.

svn path=/trunk/mcs/; revision=21456
2003-12-23 16:22:40 +00:00
Lluis Sanchez 6992a6af1c SoapDocumentationHandler.cs: Added support for DISCO file generation.
svn path=/trunk/mcs/; revision=21455
2003-12-23 16:17:21 +00:00
Lluis Sanchez 41a3ec3dc8 Several bug fixes.
svn path=/trunk/mcs/; revision=21454
2003-12-23 16:10:58 +00:00
Lluis Sanchez d9513ee597 * ObjectReader.cs: Field names can include the type name if the field belongs to a base type. Take this into account.
svn path=/trunk/mcs/; revision=21453
2003-12-23 15:47:27 +00:00
Lluis Sanchez ba98751da5 * ConstructionResponse.cs: Added constructor for exception response.
svn path=/trunk/mcs/; revision=21452
2003-12-23 15:41:18 +00:00
Lluis Sanchez cd688d711e * ActivationServices.cs: If remote activation returns an exception, do not
try to attach the object identity to the return message.
	* AppDomainLevelActivator.cs: Catch exceptions when execution remote
	  activation.
	* ConstructionLevelActivator.cs: Do not store next activator. This is
	  always the last one.
	* ContextLevelActivator.cs: Renamed _next member to match MS.NET
	  implementation.

svn path=/trunk/mcs/; revision=21451
2003-12-23 15:38:12 +00:00
Lluis Sanchez f1c38e4f4f * ArrayList.cs: Renamed private fields m_Count, m_Data and m_StateChanges to
_size, _items and _version, to make it compatible with MS.NET (needed for
	remoting interoperability). This fixes bug #52438.

svn path=/trunk/mcs/; revision=21450
2003-12-23 15:30:48 +00:00
Lluis Sanchez ffae3c89ed * Exception.cs: Several changes to make it compatible with MS.NET (needed
for remoting interoperability): set a default value for hresult, added
	initialization of class_name, serialization field RemoteStackTrace must
	be RemoteStackTraceString, added ser. field ExceptionMethod.

	* IndexOutOfRangeException.cs: Added serialization constructor.

svn path=/trunk/mcs/; revision=21449
2003-12-23 15:22:05 +00:00
Lluis Sanchez 98e57017d6 * TcpServerChannel.cs: If useIpAddress and bindAddress are both specified,
set bindAddress as the host address for the client.

svn path=/trunk/mcs/; revision=21448
2003-12-23 15:14:45 +00:00
Zoltan Varga e985d883a4 2003-12-23 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Add workaround for bug #51126.

svn path=/trunk/mono/; revision=21447
2003-12-23 13:25:44 +00:00
Duncan Mak 93559ed557 * graphics-path.c:
* graphics-path.h: Implemented GraphicsPath.

* Makefile: Added graphics-path.c.

* gdip.h (GpPathPointType, GpWarpMode): Added.

svn path=/trunk/mcs/; revision=21446
2003-12-23 10:32:15 +00:00
Atsushi Eno f8c0135cc9 2003-12-23 Atsushi Enomoto <[email protected]>
* XmlNamedNodeMap.cs : Fixed internal SetNamedItem(node, pos) to set
	  replacing node correctly. This fixes bug #52453.

svn path=/trunk/mcs/; revision=21445
2003-12-23 08:57:07 +00:00
Bernie Solomon 273ace685b 2003-12-22 Bernie Solomon <[email protected]>
* docs/embedded-api: add info on interpreter embedding

svn path=/trunk/mono/; revision=21444
2003-12-23 04:13:26 +00:00
Bernie Solomon db0a332144 2003-12-22 Bernie Solomon <[email protected]>
* samples/embed/testi.c: interpreter embedding example

svn path=/trunk/mono/; revision=21443
2003-12-23 03:49:13 +00:00
Bernie Solomon a409a7a77f 2003-12-22 Bernie Solomon <[email protected]>
* Int32Test.cs:
          Int64Test.cs: Add checks for overflow on hex parse.

svn path=/trunk/mcs/; revision=21442
2003-12-23 03:44:32 +00:00
Bernie Solomon 772d98239c 2003-12-22 Bernie Solomon <[email protected]>
* Int32 (Parse):
	  Int64 (Parse): Fix overflow checking for AllowHexSpecifier

svn path=/trunk/mcs/; revision=21441
2003-12-23 03:41:17 +00:00
Bernie Solomon 6880ebfe67 Initialize handle to InvalidHandle as well
svn path=/trunk/mcs/; revision=21440
2003-12-23 03:25:48 +00:00
Bernie Solomon 60fd85a745 2003-12-22 Bernie Solomon <[email protected]>
* handles-private.h: (_wapi_handle_type) check
	for segment in range before using it

svn path=/trunk/mono/; revision=21438
2003-12-23 00:49:10 +00:00
Bernie Solomon 7b9484378a 2003-12-22 Bernie Solomon <[email protected]>
* FileStream.cs: (.ctor) do not set handle
	in object until after it is validated via
	GetFileType so finalizer doesn't see bad handles

svn path=/trunk/mcs/; revision=21437
2003-12-23 00:35:41 +00:00
Bernie Solomon 3521bd8985 2003-12-22 Bernie Solomon <[email protected]>
* thread-private.h: _wapi_thread_ops is now const
	must match .c file.

svn path=/trunk/mono/; revision=21436
2003-12-22 19:48:55 +00:00
Bernie Solomon f781be3fa7 2003-12-22 Bernie Solomon <[email protected]>
* configure.in: missed in my last change

svn path=/trunk/mono/; revision=21435
2003-12-22 19:35:03 +00:00
Bernie Solomon 747cc40d0e 2003-12-22 Bernie Solomon <[email protected]>
* marshal.c: (ves_icall_System_Runtime_InteropServices_Marshal_Read/WriteXXX)
	make work for unaligned access.

svn path=/trunk/mono/; revision=21434
2003-12-22 19:33:21 +00:00
Paolo Molaro 0e1c05651b Mon Dec 22 18:37:02 CET 2003 Paolo Molaro <[email protected]>
* class.c: small cleanup (class->fields [i] -> field).
	* image.c: check address of metadata is valid.

svn path=/trunk/mono/; revision=21433
2003-12-22 17:27:33 +00:00
Paolo Molaro 152cfc7d46 Mon Dec 22 18:29:03 CET 2003 Paolo Molaro <[email protected]>
* threads.c, timed-thread.c, timed-thread.h: use mach
	semaphores on Darwin (MacOSX) since the posix ones
	are mostly broken there (threads are not created suspended
	and they can start executing before they are fully initialized
	like in tests/thread-static.cs).

svn path=/trunk/mono/; revision=21432
2003-12-22 17:22:44 +00:00
Paolo Molaro e8037ba440 Mon Dec 22 18:27:14 CET 2003 Paolo Molaro <[email protected]>
* configure.in, acconfig.h: use mach semaphores on darwin.

svn path=/trunk/mono/; revision=21431
2003-12-22 17:22:05 +00:00
Zoltan Varga 133b629453 2003-12-22 Zoltan Varga <[email protected]>
* assembly.h assembly.c (mono_assembly_loaded): New public function to
	search the list of loaded assemblies.

	* reflection.c (mono_reflection_type_from_name): Use
	mono_assembly_loaded instead of mono_image_loaded.

	* reflection.c: Fix warnings.

svn path=/trunk/mono/; revision=21430
2003-12-22 17:16:44 +00:00
Lluis Sanchez abaab5420b Makefile: Use xsp.vsdisco instead of xsp.disco.
svn path=/trunk/mcs/; revision=21429
2003-12-22 17:08:11 +00:00
Lluis Sanchez ebe4550e8f wstest.cs: Changed default directory for client tests. Added some tests.
svn path=/trunk/mcs/; revision=21428
2003-12-22 16:52:16 +00:00
Ben Maurer 056987c192 2003-12-22 Ben Maurer <[email protected]>
* test-221.cs: Add some regression tests relating to
	52408 (these dont test the actual bug, but regressions I
	created while writing the code for it).

svn path=/trunk/mcs/; revision=21427
2003-12-22 16:49:33 +00:00
Lluis Sanchez 84a2ca4eef New tests
svn path=/trunk/mcs/; revision=21426
2003-12-22 16:46:31 +00:00
Bernie Solomon 4bc6941960 2003-12-22 Bernie Solomon <[email protected]>
* Makefile.am: Create mint.pc
	mint.pc.in: Added for embedding the interpreter

svn path=/trunk/mono/; revision=21425
2003-12-22 16:41:15 +00:00
Rafael Teixeira 22bbeee143 Separating positive/begative tests aas tested with vbc
svn path=/trunk/mcs/; revision=21424
2003-12-22 16:36:08 +00:00
Ben Maurer 5a7c57a0d1 oops
svn path=/trunk/mcs/; revision=21423
2003-12-22 16:14:29 +00:00
Ben Maurer 2e57bad0c0 cvsignoreify
svn path=/trunk/mcs/; revision=21422
2003-12-22 16:12:35 +00:00
Lluis Sanchez 37774e2b71 Test moved
svn path=/trunk/mcs/; revision=21421
2003-12-22 16:09:13 +00:00
Paolo Molaro eddd5a086b Mon Dec 22 17:18:45 CET 2003 Paolo Molaro <[email protected]>
* atomic.h: ppc fixes.

svn path=/trunk/mono/; revision=21420
2003-12-22 16:08:55 +00:00
Lluis Sanchez dcc7c83799 * MethodCall.cs: Do not try to resolve the method in the serialization
constructor, since the type array may not be yet completely deserialized.
	  This fixes bug #52426.

svn path=/trunk/mcs/; revision=21416
2003-12-22 12:44:39 +00:00
Jean-Marc Andre edca0fdbd3 2003-12-22 Jean-Marc Andre <[email protected]>
* SoapFormatterTest.cs:
		Added unit test for the SerializationBinder property

svn path=/trunk/mcs/; revision=21415
2003-12-22 11:53:09 +00:00
Tim Coleman a2bbf3a2e6 2003-12-21 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add new .NET 1.2 sources.

svn path=/trunk/mcs/; revision=21411
2003-12-22 02:43:31 +00:00
Tim Coleman bc861eafad 2003-12-21 Tim Coleman <[email protected]>
* DbConnectionBase.cs DbConnectionFactory.cs DbConnectionInternal.cs
        * DbConnectionPoolCounters.cs DbConnectionPoolOptions.cs
        * DbDataReaderBase.cs DbMetaDataFactory.cs DbParameterBase.cs
        * DbParameterCollectionBase.cs DbReferenceCollection.cs:
                New stubs added

svn path=/trunk/mcs/; revision=21410
2003-12-22 02:42:45 +00:00
Tim Coleman 7cd75f4218 2003-12-21 Tim Coleman <[email protected]>
* SqlConnection.cs:
                Enable Integrated Security

svn path=/trunk/mcs/; revision=21408
2003-12-21 20:40:55 +00:00
Miguel de Icaza d25ba8b6dd Flush
svn path=/trunk/mono/; revision=21407
2003-12-21 19:30:49 +00:00
Miguel de Icaza a1bb2a8624 Flush
svn path=/trunk/mono/; revision=21406
2003-12-21 19:24:05 +00:00
Miguel de Icaza b33773dd38 Update docs
svn path=/trunk/mono/; revision=21405
2003-12-21 19:22:46 +00:00
Miguel de Icaza 29b1f79da6 Update with testing instructions
svn path=/trunk/mono/; revision=21404
2003-12-21 19:09:55 +00:00
Miguel de Icaza b62ef47b36 Update with testing instructions
svn path=/trunk/mono/; revision=21403
2003-12-21 19:08:18 +00:00
Miguel de Icaza c15cb97693 Updated
svn path=/trunk/mono/; revision=21402
2003-12-21 18:57:27 +00:00
Paolo Molaro f3ac82d642 Sun Dec 21 19:53:16 CET 2003 Paolo Molaro <[email protected]>
* mini.h, mini-ppc.c, mini-ppc.h: small cleanups and
	supports for cond branches that overflow the immediate
	overflow offset. mcs can compile simple programs.

svn path=/trunk/mono/; revision=21401
2003-12-21 18:44:51 +00:00
Atsushi Eno 62be62bd75 2003-12-21 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs, XmlElementTests.cs :
	  Added GetElementsByTagNameNs2().

svn path=/trunk/mcs/; revision=21400
2003-12-21 17:26:09 +00:00
Atsushi Eno e1658172d0 2003-12-21 Atsushi Enomoto <[email protected]>
* XmlDocument.cs, XmlElement.cs, XmlNode.cs :
	  GetElementsByTagName() - Fixed bugzilla #52419, refactored,
	  and moved private implementation methods to XmlNode class.

svn path=/trunk/mcs/; revision=21399
2003-12-21 17:04:21 +00:00
Tim Coleman 24010c1808 2003-12-21 Tim Coleman <[email protected]>
* Tds70.cs:
                Fix Integrated Security to work with Domain users.

svn path=/trunk/mcs/; revision=21398
2003-12-21 15:54:49 +00:00
Francisco Figueiredo Jr. 61f550443f 2003-12-21 Francisco Figueiredo Jr. <[email protected]>
Fixed bug which prevented columns of same name to be returned in a resultset.

svn path=/trunk/mcs/; revision=21397
2003-12-21 14:14:19 +00:00
Duncan Mak 75212c6832 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
up to the GDI+ implementation.
(RotateTransform): Uncommented.

* gdipFunctions.cs (DrawArc, DrawArcI): Import from
libgdiplus.so.dll.

* graphics.c (C1): Made it more precise.
(make_pie): Fixed.
(make_arc): New helper function for getting the right Bezier for an
elliptical arc, based on an algorithm found in the comp.text.pdf FAQ.

svn path=/trunk/mcs/; revision=21396
2003-12-21 13:11:26 +00:00
Ben Maurer 3cf2a16c8a oops
svn path=/trunk/mcs/; revision=21395
2003-12-21 03:47:17 +00:00
Ben Maurer 5767b76a64 2003-12-20 Ben Maurer <[email protected]>
* XsltCompiledContext.cs: Remove workaround now that monodoc
	is fixed.

svn path=/trunk/mcs/; revision=21394
2003-12-21 03:46:42 +00:00
Ben Maurer 5840b99edc 2003-12-20 Ben Maurer <[email protected]>
* MonoSymbolTable.cs: Fewer StringBuilder allocs.

svn path=/trunk/mcs/; revision=21392
2003-12-21 01:55:05 +00:00
Zoltan Varga 0b2933f324 2003-12-20 Zoltan Varga <[email protected]>
* TypeTest.cs (GetMethodImpl): New test for overload resolution.

svn path=/trunk/mcs/; revision=21391
2003-12-20 21:35:08 +00:00
Zoltan Varga e3edc505e7 2003-12-20 Zoltan Varga <[email protected]>
* MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
	user supplied no parameter info, but not when the user supplied an
	empty parameter list. This fixes IKVM.

svn path=/trunk/mcs/; revision=21390
2003-12-20 21:34:07 +00:00
Zoltan Varga 0aa7f92491 2003-12-20 Zoltan Varga <[email protected]>
* module-1.cs module-2.cs module-3.cs: New files.

	* Makefile: Add test for /target:module and /addmodule.

svn path=/trunk/mcs/; revision=21389
2003-12-20 18:05:11 +00:00
Zoltan Varga 816c450a35 2003-12-20 Zoltan Varga <[email protected]>
* driver.cs: Implement /addmodule.

svn path=/trunk/mcs/; revision=21388
2003-12-20 17:57:57 +00:00
Zoltan Varga 781887c6d0 2003-12-20 Zoltan Varga <[email protected]>
* typemanager.cs:  Change 'modules' field so it now contains Modules not
	ModuleBuilders.

svn path=/trunk/mcs/; revision=21387
2003-12-20 17:54:02 +00:00
Zoltan Varga bdddce6026 2003-12-20 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=21386
2003-12-20 17:49:48 +00:00
Zoltan Varga 44ff5b063c 2003-12-20 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (AddModule): New internal method to support
	/addmodule in mcs.

svn path=/trunk/mcs/; revision=21385
2003-12-20 17:49:05 +00:00
Zoltan Varga 2f32bf884a 2003-12-20 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_load_references): Make this public.

svn path=/trunk/mono/; revision=21384
2003-12-20 17:47:53 +00:00
Zoltan Varga e689308e9e 2003-12-20 Zoltan Varga <[email protected]>
* image.h (MonoImage): Add a new 'dynamic' field to denote that the image
	is dynamic. This is needed since an assembly can contain both dynamic and
	non-dynamic images.

	* class.c loader.c metadata.c object.c: Use image->dynamic instead of
	assembly->dynamic.

	* icall.c reflection.c: Add new AssemblyBuilder:AddModule icall.

	* reflection.h (MonoReflectionAssemblyBuilder): Add 'loaded_modules' field
	to store modules loaded using AddModule.

	* reflection.c (mono_image_fill_file_table): Generalize this so it works
	on Modules.

	* reflection.c (mono_image_fill_export_table_from_class): New helper function.

	* reflection.c (mono_image_fill_export_table_from_module): New function to
	fill out the EXPORTEDTYPES table from a module.

	* reflection.c (mono_image_emit_manifest): Refactor manifest creation code
	into a separate function. Also handle loaded non-dynamic modules.

	* reflection.c (mono_image_basic_init): Fix memory allocation.

	* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

	* assembly.c (mono_assembly_load_references): Make this public.

svn path=/trunk/mono/; revision=21383
2003-12-20 17:46:29 +00:00
Ben Maurer d7a9edb89b 2003-12-20 Ben Maurer <[email protected]>
* CompareInfo.cs: Replace blah == "" with blah.Length == 0.
	MUCH faster. Note, we dont need to check for nulls, because
	the properties were used in other places.

svn path=/trunk/mcs/; revision=21382
2003-12-20 17:19:45 +00:00
Atsushi Eno afbe9cdc5d 2003-12-20 Atsushi Enomoto <[email protected]>
* XslLiteralElement.cs : considering xsl:imports, we have to evaluate
	  namespace aliases at the first evaluation.
	* XslNumber.cs : Fixed incorrect "any" level numbering (and
	  optimization), format string handling, grouping-separator.

svn path=/trunk/mcs/; revision=21381
2003-12-20 16:37:07 +00:00
Atsushi Eno fb2dc27708 2003-12-20 Atsushi Enomoto <[email protected]>
* XslStylesheet.cs : considering xsl:imports, we can't handle namespace
	  aliases at compilation time, so evaluate at the first run-time.

svn path=/trunk/mcs/; revision=21380
2003-12-20 16:36:25 +00:00
Martin Baulig 76ee6af65b More warning fixes.
svn path=/trunk/mcs/; revision=21379
2003-12-20 14:17:33 +00:00
Martin Baulig bfabee837c 2003-12-20 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineMembers): Don't do the CS0649 check here.
	(FieldBase.IsAssigned): Removed this field.
	(FieldBase.SetAssigned): New public method.
	(TypeContainer.Emit): Make the CS0169/CS0649 checks actually work.

svn path=/trunk/mcs/; revision=21378
2003-12-20 14:09:49 +00:00
Martin Baulig 92fb7f9a07 Fixed warnings.
svn path=/trunk/mcs/; revision=21377
2003-12-20 13:48:34 +00:00
Martin Baulig 7099692571 2003-12-20 Martin Baulig <[email protected]>
* expression.cs (LocalVariableReference.DoResolve): Don't set
	`vi.Used' if we're called from DoResolveLValue().

	* statement.cs (Block.DoResolve): `ec.DoEndFlowBranching()' now
	returns the usage vector it just merged into the current one -
	pass this one to UsageWarning().
	(Block.UsageWarning): Take the `FlowBranching.UsageVector' instead
	of the `EmitContext', don't call this recursively on our children.

svn path=/trunk/mcs/; revision=21376
2003-12-20 13:36:25 +00:00
Bernie Solomon 46e79026bd 2003-12-19 Bernie Solomon <[email protected]>
* MonoIO.cs: SetFileTime() Failed Open returns InvalidHandle
	not Zero

svn path=/trunk/mcs/; revision=21375
2003-12-20 05:46:30 +00:00
Bernie Solomon 0b7f70ee7f 2003-12-19 Bernie Solomon <[email protected]>
* handles.c: remove my bad use of MONO_ZERO_ARRAY_LENGTH
	in HDRSIZE

svn path=/trunk/mono/; revision=21374
2003-12-19 22:53:23 +00:00
Jackson Harper ec28faccea * TableCell.cs: Setting a cells text should clear its control
collection as per la specification. This fixes bug #51825.

svn path=/trunk/mcs/; revision=21373
2003-12-19 22:30:41 +00:00
Martin Baulig 7b4e39d917 2003-12-19 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsEqualGenericType): New public
	static method; see documentation in the method.
	(TypeManager.IsSubclassOrNestedChild): Allow IsEqualGenericType().

svn path=/trunk/mcs/; revision=21372
2003-12-19 21:37:24 +00:00
Tim Coleman 2e1fafa002 2003-12-19 Tim Coleman <[email protected]>
System.Data.SqlClient/SqlClientPermission.cs:
		Minor syntax error

svn path=/trunk/mcs/; revision=21371
2003-12-19 21:23:46 +00:00
Tim Coleman 77b82b501d 2003-12-19 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add new .NET 1.2 sources.

svn path=/trunk/mcs/; revision=21370
2003-12-19 21:22:26 +00:00
Tim Coleman 583d204983 2003-12-19 Tim Coleman <[email protected]>
* ISqlNotificationReceiver.cs SqlResultSet.cs:
                New stubs added
        * SqlClientPermission.cs:
                Fix constructor for 1.2

svn path=/trunk/mcs/; revision=21369
2003-12-19 21:21:29 +00:00
Tim Coleman bd67399d25 2003-12-19 Tim Coleman <[email protected]>
* SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
        * SqlUtcDateTime.cs SqlXmlReader.cs:
                New stubs added

svn path=/trunk/mcs/; revision=21368
2003-12-19 21:20:16 +00:00
Tim Coleman d5b90782e7 2003-12-19 Tim Coleman <[email protected]>
* DbCommandBase.cs:
                New stub added

svn path=/trunk/mcs/; revision=21367
2003-12-19 21:19:08 +00:00
Tim Coleman 51475078e1 2003-12-19 Tim Coleman <[email protected]>
* DataAccessKind.cs Format.cs IBinarySerialize.cs
        * InvalidUdtException.cs ISqlCommand.cs ISqlConnection.cs
        * ISqlExecutionContext.cs ISqlGetTypedData.cs
        * ISqlParameterCollection.cs ISqlParameter.cs ISqlReader.cs
        * ISqlRecord.cs ISqlResultSet.cs ISqlSetTypedData.cs
        * ISqlTransaction.cs ISqlUpdatableRecord.cs SerializationHelper.cs
        * SerializationVersion.cs SqlContextBase.cs SqlDataSourceEnumerator.cs
        * SqlDefinition.cs SqlFunctionAttribute.cs SqlMetaData.cs
        * SqlMethodAttribute.cs SqlNotificationRequest.cs SqlPipeBase.cs
        * SqlServerFactoryBase.cs SqlTriggerContextBase.cs
        * SqlUserDefinedAggregateAttribute.cs SqlUserDefinedTypeAttribute.cs
        * SystemDataAccessKind.cs TriggerAction.cs:
                New stubs added

svn path=/trunk/mcs/; revision=21366
2003-12-19 21:18:26 +00:00
Zoltan Varga 65ea955fbb 2003-12-19 Zoltan Varga <[email protected]>
* dump.c (dump_table_exported): Fix output.

svn path=/trunk/mono/; revision=21365
2003-12-19 21:03:29 +00:00
Martin Baulig bf69fddebf 2003-12-19 Martin Baulig <[email protected]>
* class.c (mono_class_initialize_generic): Made this static, take
	a `MonoGenericInst *' instead of a `MonoClass *'.
	(mono_class_from_generic): Call mono_class_initialize_generic()
	unless we're already initialized or being called from
	do_mono_metadata_parse_generic_inst().

	* class.h (MonoGenericInst): Added `initialized' and
	`init_pending' flags.

	* metadata.c (do_mono_metadata_parse_generic_inst): Don't call
	`mono_class_init (gklass)' or mono_class_initialize_generic()
	here; set `generic_inst->init_pending' while parsing the
	`type_argv'.

svn path=/trunk/mono/; revision=21364
2003-12-19 20:43:51 +00:00
Jackson Harper e61ad15aa4 * HtmlInputFile.cs: Do not set value when loading post data.
svn path=/trunk/mcs/; revision=21363
2003-12-19 20:21:40 +00:00
Jackson Harper 2b58f809fb * TraceContext.cs: Write () methods are not warnings.
svn path=/trunk/mcs/; revision=21362
2003-12-19 20:20:14 +00:00
Bernie Solomon c9312ede23 2003-12-19 Bernie Solomon <[email protected]>
* embed.h, main.c: new files to enable embedding
	the interpreter

        * interp.c: make main callable from main.c
	rearrange main for embedding

	* Makefile.am: changes now most code is in a library

svn path=/trunk/mono/; revision=21361
2003-12-19 20:19:37 +00:00
Jackson Harper c0dd83252c * Page.cs: Use the context trace object.
svn path=/trunk/mcs/; revision=21360
2003-12-19 20:15:31 +00:00
Paolo Molaro ec64a8d0be Fri Dec 19 21:17:16 CET 2003 Paolo Molaro <[email protected]>
* exceptions-ppc.c: exception handling support wip:
	finally handlers get run on exception.

svn path=/trunk/mono/; revision=21359
2003-12-19 20:11:07 +00:00
Bernie Solomon 4f65f066fd 2003-12-19 Bernie Solomon <[email protected]>
* locales.c: include string.h for memxxx prototypes

svn path=/trunk/mono/; revision=21358
2003-12-19 20:06:27 +00:00
Zoltan Varga a5231247ed 2003-12-19 Zoltan Varga <[email protected]>
* aot.c (mono_aot_get_method_inner): Avoid loading AOT code while
	profiling.

svn path=/trunk/mono/; revision=21357
2003-12-19 19:09:40 +00:00
Lluis Sanchez 08bd331cba * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
option that allow serialization of private types.

svn path=/trunk/mcs/; revision=21356
2003-12-19 17:54:24 +00:00
Lluis Sanchez 94013e6fb5 * services.xml: Enabled test for a couple of services.
* wstest.cs: Improved "stat" option.

svn path=/trunk/mcs/; revision=21355
2003-12-19 17:50:43 +00:00
Lluis Sanchez 73582cba7f * DiscoveryDocument.cs: Set namespace for ContractReference references.
Write() methods: Added namespace declaration in serializer.
	* DiscoveryDocumentSerializer.cs: Fixed namespace for ContractReference.
	* DiscoveryRequestHandler.cs: Implemented.
	* DynamicDiscoveryDocument.cs: Implemented.
	* ExcludePathInfo.cs, SoapBinding.cs: Removed some TODOs

svn path=/trunk/mcs/; revision=21354
2003-12-19 17:45:52 +00:00
Lluis Sanchez aee50cfe80 TcpServerChannel.cs: Fixes in channel initialization.
svn path=/trunk/mcs/; revision=21353
2003-12-19 17:44:37 +00:00
Paolo Molaro 6f30443761 Fri Dec 19 17:58:28 CET 2003 Paolo Molaro <[email protected]>
* cpu-g4.md, mini-ppc.c, exceptions-ppc.c, mini-ppc.h:
	initial support for stack walking and unwinding.

svn path=/trunk/mono/; revision=21352
2003-12-19 16:52:56 +00:00
Zoltan Varga e21e1b8ca4 2003-12-19 Zoltan Varga <[email protected]>
* driver.cs: Implement /target:module.

svn path=/trunk/mcs/; revision=21351
2003-12-19 16:42:37 +00:00
Zoltan Varga 8690b151f2 2003-12-19 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: New internal property to support /target:module in
	mcs.

svn path=/trunk/mcs/; revision=21350
2003-12-19 16:40:10 +00:00
Martin Baulig 59c7d52b31 Non-generic interfaces are null' entries in interfaces'.
svn path=/trunk/mcs/; revision=21349
2003-12-19 16:18:41 +00:00
Martin Baulig 25195a219e New generic test.
svn path=/trunk/mcs/; revision=21348
2003-12-19 16:17:32 +00:00
Martin Baulig 8fe1f90f57 2003-12-19 Martin Baulig <[email protected]>
* convert.cs (Convert.ImplicitReferenceConversion,
	Convert.ImplicitReferenceConversionExists): Add support for
	generic type declarations; see gen-36.cs.

svn path=/trunk/mcs/; revision=21347
2003-12-19 16:12:47 +00:00
Tim Coleman 8c0deb9759 2003-12-19 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

svn path=/trunk/mcs/; revision=21346
2003-12-19 14:59:55 +00:00
Tim Coleman 8b8c740f7e 2003-12-19 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

svn path=/trunk/mcs/; revision=21345
2003-12-19 14:40:55 +00:00
Tim Coleman 92e71f615d 2003-12-19 Tim Coleman <[email protected]>
* Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
                Change constructor so it does not use base
                constructor without arguments.  That constructor
                becomes obsolete in .NET 1.2, but it doesn't hurt
                to do it in other builds too.

svn path=/trunk/mcs/; revision=21344
2003-12-19 14:37:11 +00:00
Tim Coleman 3fb6a5b678 2003-12-19 Tim Coleman <[email protected]>
* Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

svn path=/trunk/mcs/; revision=21343
2003-12-19 14:27:04 +00:00
Tim Coleman 6199cde84d 2003-12-19 Tim Coleman <[email protected]>
* Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
                Change constructor so it does not use base
                constructor without arguments.  That constructor
                becomes obsolete in .NET 1.2, but it doesn't hurt
                to do it in other builds too.

svn path=/trunk/mcs/; revision=21342
2003-12-19 14:25:11 +00:00
Dick Porter d7f3590b36 2003-12-19 Dick Porter <[email protected]>
* String.cs: Added Compare shortcut for length==0.

2003-12-19  Dick Porter  <[email protected]>

	* CompareInfo.cs: Added assorted shortcuts when comparing empty
	strings.  Fixed offset and length range checks to flag when <0.
	Broke test that offset >= string length to match actual ms
	behaviour (sigh.)  Fixes bug 52310.

2003-12-19  Dick Porter  <[email protected]>

	* StringTest.cs: Added Compare test for length==0.

2003-12-19  Dick Porter  <[email protected]>

	* CompareInfoTest.cs: Added some Compare tests

svn path=/trunk/mcs/; revision=21341
2003-12-19 14:15:05 +00:00
Zoltan Varga 38d7d59b61 2003-12-19 Zoltan Varga <[email protected]>
* icall.c (ves_icall_MonoField_GetValueInternal): Do not run the class
	constructor when accessing literal fields.

svn path=/trunk/mono/; revision=21340
2003-12-19 14:10:34 +00:00
Martin Baulig 64786ebc92 2003-12-19 Martin Baulig <[email protected]>
* pending.cs (Pending.InterfaceMethod): Use
	`Type.IsAssignableFrom()' instead of `=='.

svn path=/trunk/mcs/; revision=21339
2003-12-19 11:05:08 +00:00
Nick Drochak 4c0cc7648c 2003-12-19 Nick Drochak <[email protected]>
* PathTest.cs: Make tests pass on .NET 1.1.  Probably still
	need to handle different directory and volume separators for
	other OS's.

svn path=/trunk/mcs/; revision=21338
2003-12-19 05:25:17 +00:00
Jackson Harper 6ac9468678 * DataViewTest.cs: Add some tests for new methods.
svn path=/trunk/mcs/; revision=21337
2003-12-19 03:44:41 +00:00
Jackson Harper 907db840bf * DataView.cs: Implement AddNew, Delete, and OnListChanged.
svn path=/trunk/mcs/; revision=21336
2003-12-19 03:41:12 +00:00
Atsushi Eno 57490eb85e 2003-12-20 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs :
	  Element's namespace should be escaped as usual attribute.

svn path=/trunk/mcs/; revision=21335
2003-12-19 02:05:48 +00:00
Tim Coleman f044dd148f 2003-12-18 Tim Coleman <[email protected]>
SchemaTableOptionalColumn.cs:
		Forgot to commit before.  Oops.

svn path=/trunk/mcs/; revision=21334
2003-12-18 21:27:49 +00:00
Todd Berman f9f8fee7e1 im a bit bored, updating my info a bit :)
svn path=/trunk/mono/; revision=21333
2003-12-18 20:25:38 +00:00
Rafael Teixeira da8916dc89 2003/12/18 Rafael Teixeira <[email protected]>
* class.cs : case-sensitiveness when tracking the entry-point removed
	* driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
		(even for correct programs because of the bug above). Now this condition is tested before

svn path=/trunk/mcs/; revision=21332
2003-12-18 19:16:47 +00:00
Rafael Teixeira 2a71b240eb A little better for mbas developers
svn path=/trunk/mcs/; revision=21331
2003-12-18 19:09:43 +00:00
Rafael Teixeira d1950c7d54 flush
svn path=/trunk/mcs/; revision=21330
2003-12-18 17:21:00 +00:00
Atsushi Eno dc63b10603 2003-12-16 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Indentation between xmldecl and doctype.
	* DTDValidatingReader.cs : AttList null reference fix.

svn path=/trunk/mcs/; revision=21329
2003-12-18 16:42:13 +00:00
Atsushi Eno c2bb398ad1 2003-12-18 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : support for runtime-determined output type.
	* HtmlEmitter.cs : Fixed invalid doctype output.
	  Fixed incorrect double attribute output on non-HTML elements.
	  Improved indentation. Fixed "selected" attribute output.
	  Don't have to convert "'" to "&apos;".
	* XmlWriterEmitter.cs : Now don't output incorrect doctype.
	  Escapes CDATA section text "]]>" to "...]]]]><![CDATA[>..." .
	* XslStylesheet.cs, XsltCompiledContext.cs :
	  space resolution consideration for import and wildcard.

svn path=/trunk/mcs/; revision=21328
2003-12-18 16:39:23 +00:00
Martin Baulig 4b7a05ce22 2003-12-18 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.AsAccessible): Check for array, pointer and
	byref types first.

	* convert.cs (Convert.ImplicitStandardConversionExists): Use
	`expr_type.Equals (target_type)' instead of `=='.

svn path=/trunk/mcs/; revision=21327
2003-12-18 16:08:58 +00:00
Zoltan Varga 19fe5c0670 2003-12-18 Zoltan Varga <[email protected]>
* driver.c (mono_main): Make corlib-out-of-sync message more descriptive.
	Also remove verify_corlib call.

svn path=/trunk/mono/; revision=21325
2003-12-18 15:23:01 +00:00
Zoltan Varga 5af3a72cc8 2003-12-18 Zoltan Varga <[email protected]>
* support.cs (CharArrayHashtable): New helper class.

	* cs-tokenizer.cs: Store keywords in a hashtable indexed by
	char arrays, not strings, so we can avoid creating a string in
	consume_identifier if the identifier is a keyword.

svn path=/trunk/mcs/; revision=21324
2003-12-18 15:15:04 +00:00
Zoltan Varga 4b708095ba 2003-12-18 Zoltan Varga <[email protected]>
* Assembly.cs: Implement LoadFrom.

svn path=/trunk/mcs/; revision=21322
2003-12-18 15:07:26 +00:00
Zoltan Varga ba9f8c0b89 2003-12-18 Zoltan Varga <[email protected]>
* ILGenerator.cs: Applied patch from Ben Maurer
	([email protected]). Allocate arrays holding label data
	lazily and reduce their size.

svn path=/trunk/mcs/; revision=21321
2003-12-18 14:54:32 +00:00
Lluis Sanchez 07dbc81ee3 * System.Xml_test.dll.sources : Added test files
System.Xml.Serialization/DeserializeTests.cs
		System.Xml.Serialization/XmlAttributesTests.cs
		System.Xml.Serialization/XmlReflectionImporterTests.cs
		System.Xml.Serialization/XmlSerializationWriterTests.cs

svn path=/trunk/mcs/; revision=21320
2003-12-18 12:56:23 +00:00
Lluis Sanchez 9f8ae02700 * DeserializeTests.cs, XmlAttributesTests.cs: Changed namespace.
* XmlSerializationWriterTests.cs, XmlSerializerTests.cs: Make xml compares
	  independent from the text format.

svn path=/trunk/mcs/; revision=21319
2003-12-18 12:55:37 +00:00
Anirban Bhattacharjee 45ff0b8133 Test suit for mbas
svn path=/trunk/mcs/; revision=21316
2003-12-18 11:26:34 +00:00
Gonzalo Paniagua Javier 9a9b6f2b31 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumn.cs: stylized LoadViewState.
	* DataGridColumnCollection.cs: when TrackViewState is called, also
	call it on all the existing columns. Fixes bug #52334.

svn path=/trunk/mcs/; revision=21315
2003-12-18 11:02:40 +00:00
Alon Gazit ee6c4d8192 Merge DataGridPagerStyle properties when Style is empty.
svn path=/trunk/mcs/; revision=21314
2003-12-18 09:09:35 +00:00
Atsushi Eno 103709e64e 2003-12-18 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : Added XPathDocumentMoveToId().

svn path=/trunk/mcs/; revision=21313
2003-12-18 09:03:37 +00:00
Atsushi Eno 9b7ca4a903 2003-12-16 Atsushi Enomoto <[email protected]>
* Compiler.cs, XslTransformProcessor.cs :
	  Use XmlValidatingReader to support id() for external stylesheets.
	* XslKey.cs, XsltCompiledContext.cs :
	  to evaluate MatchPattern and UsePattern, SetContext() is required.
	* XslTemplate.cs : Forgot to commit. Change is below(12/16).

svn path=/trunk/mcs/; revision=21312
2003-12-18 08:57:50 +00:00
Atsushi Eno da2f43702c 2003-12-18 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs : Removed supportsID argument and always
	  assumes to support IDs when specified XmlValidatingReader.
	  Quick fix for NullReferenceException when type was null.

svn path=/trunk/mcs/; revision=21311
2003-12-18 08:52:14 +00:00
Atsushi Eno 9f60bab588 2003-12-18 Atsushi Enomoto <[email protected]>
* Parser.jay : now it supresses error output from jay.
	* DefaultContext.cs : (XPathFunctionSubstring) exclude -Infinity.
	* Tokenizer.cs : better error message.
	* XPathDocument.cs : Use XmlValidatingReader to support id() function.
	  (just found MS.NET actually supports it)

svn path=/trunk/mcs/; revision=21310
2003-12-18 08:49:08 +00:00
Alon Gazit fbf3d3e087 Merge TableStyle properties when Style is empty.
svn path=/trunk/mcs/; revision=21309
2003-12-18 08:47:06 +00:00
Atsushi Eno 6827f7481e 2003-12-18 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : When source Reader has schema context, it
	  should return source's schema type if this class cannot provide it.

svn path=/trunk/mcs/; revision=21308
2003-12-18 08:41:34 +00:00
César Natarén 912a65c183 updates from grammar changes
svn path=/trunk/mcs/; revision=21307
2003-12-18 08:35:00 +00:00
César Natarén 216b549b14 2003-12-18 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: Keep track of parent for numeric_literal.

	* VariableDeclaration.cs: now I handle initialization (ex. var x =
	2; or function f () { var x = 4; }) at global scope or at
	function's body.

	* Literal.cs: Added parent param to NumericLiteral constructor.

	* FunctionDeclaration.cs: Added Ret opcode for all function declaration bodies.

svn path=/trunk/mcs/; revision=21306
2003-12-18 08:25:45 +00:00
Eran Domb b33fe0a2a1 Added remark.
svn path=/trunk/mcs/; revision=21305
2003-12-18 06:58:04 +00:00
Eran Domb 56e52ce8d1 change XSD primtive types map.
svn path=/trunk/mcs/; revision=21304
2003-12-18 06:56:41 +00:00
Eran Domb d7f26bf320 Added remark
svn path=/trunk/mcs/; revision=21303
2003-12-18 06:50:19 +00:00
Eran Domb 88789e4da3 Added included types as a derived classes of object.
svn path=/trunk/mcs/; revision=21302
2003-12-18 06:48:31 +00:00
Sebastien Pouliot abffcb4da4 2003-12-17 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: Added test case for a null (and empty) password.

svn path=/trunk/mcs/; revision=21301
2003-12-18 03:53:59 +00:00
Sebastien Pouliot 76acadb81e 2003-12-17 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: Sorry I must have a profesionnal problem with
	weak passwords ;-). Anyway I corrected the CR for null passwords (which
	would produce a weak key for the first DES key) and added clean up :).
	However it (null password) doesn't work for SQL Server authentication ?

svn path=/trunk/mcs/; revision=21300
2003-12-18 03:52:59 +00:00
Sebastien Pouliot 459e88fa0f 2003-12-06 Sebastien Pouliot <[email protected]>
for Daniel Morgan <[email protected]>

	Sebastien Pouliot ([email protected]) helped me greatly with his
	NTLM stuff.

	* Mono.Data.Tds.Protocol/Tds.cs
	* Mono.Data.Tds.Protocol/Tds70.cs
	* Mono.Data.Tds.Protocol/TdsConnectionParameters.cs
	* Mono.Data.Tds.Protocol/TdsPacketSubType.cs
	* Mono.Data.Tds.Protocol/TdsPacketType.cs: added NT Authentication aka
	Integrated Security aka Domain Login

svn path=/trunk/mcs/; revision=21299
2003-12-18 03:49:14 +00:00
Sebastien Pouliot 2214149a4f 2003-12-17 Sebastien Pouliot <[email protected]>
for Daniel Morgan <[email protected]>

	* Makefile: added Mono.Security.dll as a reference so we can get
	NTLM support via Mono.Security.Protocol.Ntlm

svn path=/trunk/mcs/; revision=21298
2003-12-18 03:28:27 +00:00
Sebastien Pouliot 166fa74a93 2003-12-17 Sebastien Pouliot <[email protected]>
* Makefile: Moved Mono.Security before Mono.Data.Tds because it's
	now required for NTLM authentication.

svn path=/trunk/mcs/; revision=21297
2003-12-18 03:22:19 +00:00
Gonzalo Paniagua Javier 4a2756e552 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* TcpListener.cs: get the LocalEndPoint from the socket after binding.
	Fixes bug #52329.

svn path=/trunk/mcs/; revision=21296
2003-12-18 02:44:19 +00:00
Sebastien Pouliot 5d2a47ff33 2003-12-17 Sebastien Pouliot <[email protected]>
* X509SpcTest.cs: Now use Path.GetFullPath for all filenames as
	X509Certificate.CreateFromSignedFile sometimes (like on Nick's
	computer) didn't "see" the file and returned an empty certificate.

svn path=/trunk/mcs/; revision=21295
2003-12-18 01:41:52 +00:00
Gonzalo Paniagua Javier d97ec8556a forgot cvs add
svn path=/trunk/mcs/; revision=21294
2003-12-18 01:24:03 +00:00
Gonzalo Paniagua Javier 52160c556f 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added HttpRequestValidationException.

svn path=/trunk/mcs/; revision=21293
2003-12-18 01:16:53 +00:00
Gonzalo Paniagua Javier 195a98bea2 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* MailMessage.cs: added Fields property.

svn path=/trunk/mcs/; revision=21292
2003-12-18 01:16:26 +00:00
Gonzalo Paniagua Javier f562f3e514 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* IStateRuntime.cs:
	* SessionStateModule.cs: class status based fixes.

svn path=/trunk/mcs/; revision=21291
2003-12-18 01:16:13 +00:00
Gonzalo Paniagua Javier a2d15941df 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: new ctor for 1.1. The default ctor is public.
	* Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
	internal.
	* PageParser.cs: the ctor is public.
	* PartialCachingAttribute.cs: added new ctor and Shared property.

svn path=/trunk/mcs/; revision=21290
2003-12-18 01:15:58 +00:00
Gonzalo Paniagua Javier 13c1b2015b 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
* HttpBrowserCapabilities.cs: added GetClrVersions ().
	* HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
	* HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
	* HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
	* HttpRequestValidationException.cs: new class for 1.1
	* HttpResponse.cs: added RedirectLocation.
	* HttpRuntime.cs: added UnloadAppDomain.
	* HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
	* HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
	* HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.

svn path=/trunk/mcs/; revision=21289
2003-12-18 01:15:44 +00:00
David Sheldon 74c080a8ec 2003-12-17 David Sheldon <[email protected]>
* System.Xml_test.dll.sources : Added XmlSchemaBuiltInDatatypeTests.cs

  * Added XmlSchemaBuiltInDatatypeTests.cs : Currently fails due to
    bug 52274.


  This tests the changes to BuiltInDatatype that I checked in this morning.

svn path=/trunk/mcs/; revision=21288
2003-12-17 17:38:08 +00:00
Patrik Torstensson cedaaa52e8 2003-12-17 Patrik Torstensson
contextbound-perf.cs: Test performance of CBO in same context.

svn path=/trunk/mono/; revision=21287
2003-12-17 17:27:38 +00:00
Gonzalo Paniagua Javier ed575c326a 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added CustomErrorsConfigHandler.cs

	* System.Web/HttpContext.cs: implemented IsCustomErrorEnabled and
	IsDebuggingEnabled. Added internal ErrorPage property.

	* System.Web/HttpRuntime.cs: on error, check if we have a custom error
	page enabled to handle it and redirect.

	* System.Web/HttpResponse.cs: added RedirectCustomError (), which
	actually does the redirection to the error page.

	* System.Web.Compilation/PageCompiler.cs: assign the ErrorPage property
	if provided.

	* System.Web.UI/Page.cs: assign the ErrorPage to the context if we get
	an exception when processing the page which only calls Unload.

	* System.Web.UI/PageParser.cs: handle ErrorPage.

	* System.Web.Configuration/CustomErrorsConfigHandler.cs: handle
	<system.web><customErrors />..

	Closes bug #51979.

svn path=/trunk/mcs/; revision=21286
2003-12-17 17:26:46 +00:00
Zoltan Varga 4fe4a6d5d0 2003-12-17 Zoltan Varga <[email protected]>
* Assembly.cs: Add stubs for LoadFile.

svn path=/trunk/mcs/; revision=21285
2003-12-17 17:22:52 +00:00
Atsushi Eno 94f937d41c 2003-12-17 Atsushi Enomoto <[email protected]>
* PathTest.cs :
	  Added more GetPathRoot and GetFullPath tests for windows.
	  Fixed incorrectly specified arguments in the previous patch.

svn path=/trunk/mcs/; revision=21283
2003-12-17 17:12:25 +00:00
Patrik Torstensson 8f5ed0bace Wed Dec 17 17:48:41 CET 2003 Patrik Torstensson <[email protected]>
* mini.c,inssel.brg,mini-ops.h: make String.get_Length
	a emulated opcode (optimization).

svn path=/trunk/mono/; revision=21282
2003-12-17 16:52:00 +00:00
Zoltan Varga dd0dc35a64 2003-12-17 Zoltan Varga <[email protected]>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

	* reflection.c (assembly_add_resource_manifest): New function to fill
	the MANIFESTRESOURCE table.

	* reflection.c (mono_image_build_metadata): Emit MANIFESTRESOURCE table.

	* reflection.h: Update to changes in class layout.

svn path=/trunk/mono/; revision=21281
2003-12-17 16:51:18 +00:00
Zoltan Varga 7502212883 2003-12-17 Zoltan Varga <[email protected]>
* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=21280
2003-12-17 16:47:17 +00:00
Zoltan Varga 85a96e4028 2003-12-17 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (MonoResource): New 'offset' field used by the
	runtime.

	* ModuleBuilder: Implement DefineResource.

svn path=/trunk/mcs/; revision=21279
2003-12-17 16:46:23 +00:00
Zoltan Varga 22c9df4393 2003-12-17 Zoltan Varga <[email protected]>
* ResourceWriter.cs (Stream): New internal property used by Ref.Emit.

svn path=/trunk/mcs/; revision=21278
2003-12-17 16:38:07 +00:00
Dick Porter 7e4f29bb71 2003-12-17 Dick Porter <[email protected]>
* String.cs: Fix StartsWith and EndsWith when the argument is the
	empty string.  Fixes bug 52283.

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

	* StringTest.cs: Add a String.Empty test to EndsWith.  Changed the
	StartsWith and EndsWith tests to use the attribute declaration.

svn path=/trunk/mcs/; revision=21277
2003-12-17 15:44:59 +00:00
Paolo Molaro a221bc8018 Wed Dec 17 15:31:41 CET 2003 Paolo Molaro <[email protected]>
* mini.c: make CEE_NEWARR calls and other emulated opcodes
	not overlap with other call's arguments, too.

svn path=/trunk/mono/; revision=21275
2003-12-17 14:29:29 +00:00
Atsushi Eno 615e45126d 2003-12-17 Atsushi Enomoto <[email protected]>
* PathTests.cs : Added more tests for IsPathRooted, HasExtension
          and GetExtension.

svn path=/trunk/mcs/; revision=21274
2003-12-17 12:54:40 +00:00
Zoltan Varga 3e540b2257 2003-12-17 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Environment_get_HasShutdownStarted):
	Reenable call to mono_runtime_is_shutting_down ().

	* appdomain.c (mono_runtime_is_shutting_down): New helper function to
	determine if the runtime is shutting down.

svn path=/trunk/mono/; revision=21273
2003-12-17 12:13:47 +00:00
Atsushi Eno e39ed8312d 2003-12-17 Atsushi Enomoto <[email protected]>
* Directory.cs : SetCurrentDirectory() should raise errors for
          some kind of arguments.

svn path=/trunk/mcs/; revision=21272
2003-12-17 11:45:48 +00:00
Paolo Molaro 33d28a5903 Wed Dec 17 12:49:23 CET 2003 Paolo Molaro <[email protected]>
* mini.h, mini.c, mini-ppc.c, mini-sparc.c, mini-x86.c:
	move to arch-specific code the choice of arch-specific
	intrinsics (from Laurent Morichetti ([email protected])).
	* mini.c: ensure emulation calls will not interleave
	with other calls.

svn path=/trunk/mono/; revision=21271
2003-12-17 11:44:44 +00:00
Atsushi Eno acf70c4f91 2003-12-17 Atsushi Enomoto <[email protected]>
* DirectoryTests.cs : Added some SetCurrentDirectory tests.

svn path=/trunk/mcs/; revision=21270
2003-12-17 11:42:15 +00:00
Paolo Molaro 5386d5e7dc Wed Dec 17 12:27:26 CET 2003 Paolo Molaro <[email protected]>
* tramp-ppc.c, basic-calls.cs: rework trampolines so that
	the magic trampoline stack frame is dropped before executing
	the new method.

svn path=/trunk/mono/; revision=21269
2003-12-17 11:20:27 +00:00
David Sheldon d35d6c9e9a 2003-12-17 David Sheldon <[email protected]>
* BuiltInDatatype.cs : Added whitespace=collapse to data types
    such as date, dateTime, .... gDay. I think I have them all now.

I can't think of a good way of writing test cases for this at the moment, sorry.

svn path=/trunk/mcs/; revision=21268
2003-12-17 10:06:57 +00:00
Jackson Harper 6a3c4a2a0c * profiles/default.make:
* profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
	the build

svn path=/trunk/mcs/; revision=21267
2003-12-17 09:53:04 +00:00
Jackson Harper d2d5721bf9 * SchemaTableOptionalColumn.cs: Add to fix default build
svn path=/trunk/mcs/; revision=21266
2003-12-17 09:49:42 +00:00
Atsushi Eno c95d261ce6 2003-12-17 Atsushi Enomoto <[email protected]>
* DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
	  they take shape of xml. This fixed bug #52240

svn path=/trunk/mcs/; revision=21265
2003-12-17 09:35:08 +00:00
Nick Drochak 9d8d2a2db4 2003-12-17 Nick Drochak <[email protected]>
* ModuleBuilderTest.cs: Shorten the path, there's a 260-or-so character
	limit for the path name.

svn path=/trunk/mcs/; revision=21264
2003-12-17 07:43:00 +00:00
Nick Drochak f78034986e 2003-12-17 Nick Drochak <[email protected]>
* FileStreamTest.cs: Ok, it wasn't a 1.1 thing.  The test simply would
	fail randomly because location 12 was sometimes a file handle.

svn path=/trunk/mcs/; revision=21263
2003-12-17 07:41:21 +00:00
Atsushi Eno fa3cf32738 2003-12-17 Atsushi Enomoto <[email protected]>
* StringTests.cs : Added more tests on TestStartsWith.

svn path=/trunk/mcs/; revision=21262
2003-12-17 07:21:55 +00:00
César Natarén 4370fa440b 2003-12-17 Cesar Lopez Nataren <[email protected]>
* CodeGenerator.cs: Added IL emittion for ldnull on default ending code for 'Global Code'.

svn path=/trunk/mcs/; revision=21261
2003-12-17 07:06:20 +00:00
Tim Coleman b01be2bf2d 2003-12-16 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add new .NET 1.2 sources.

svn path=/trunk/mcs/; revision=21260
2003-12-17 02:00:55 +00:00
Tim Coleman 7b11d92602 2003-12-16 Tim Coleman <[email protected]>
* CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
        * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
        * DbConnectionString.cs DbDataSourceEnumerator.cs
        * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
        * DbProviderConfigurationHandler.cs DbProviderFactories.cs
        * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
        * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
        * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
        * SchemaTableColumn.cs:
                New stubs added for .NET 1.2
        * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
        * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
        * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
        * FieldNameLookup.cs SchemaInfo.cs:
                Changes made for .NET 1.2

svn path=/trunk/mcs/; revision=21259
2003-12-17 01:59:11 +00:00
Tim Coleman aadaf043bb 2003-12-16 Tim Coleman <[email protected]>
* KeyRestrictionBehavior.cs:
                New stubs added for .NET 1.2
        * DataTable.cs:
                Changes for 1.2

svn path=/trunk/mcs/; revision=21258
2003-12-17 01:53:32 +00:00
Jackson Harper f71aab24b1 * icall.c: comment out call to mono_runtime_is_shutting_down to
fix build.

svn path=/trunk/mono/; revision=21257
2003-12-17 01:49:13 +00:00
Zoltan Varga 0cf7fb5bcc 2003-12-16 Zoltan Varga <[email protected]>
* Assembly.cs (GetManifestResourceStream): Only load non-embedded
	resources from files.

svn path=/trunk/mcs/; revision=21256
2003-12-16 22:50:43 +00:00
Zoltan Varga 92d2618c44 2003-12-16 Zoltan Varga <[email protected]>
* Environment.cs (HasShutdownStarted): Implement.

svn path=/trunk/mcs/; revision=21255
2003-12-16 22:48:52 +00:00
Zoltan Varga 1a0b0d0fff 2003-12-16 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetManifestResourceInternal): Add support for loading resources from modules.
	(ves_icall_System_Environment_get_HasShutdownStarted): New icall.

svn path=/trunk/mono/; revision=21254
2003-12-16 22:47:50 +00:00
Jackson Harper 474936d42d * TraceContext.cs: Render all the data, and the stylesheet.
svn path=/trunk/mcs/; revision=21250
2003-12-16 21:40:06 +00:00
Rafael Teixeira 774a6daefc just collapsed some ifs...
svn path=/trunk/mcs/; revision=21249
2003-12-16 19:26:46 +00:00
Lluis Sanchez ae76434743 * HttpSimpleClientProtocol.cs: Do not encode the request url, since it is
already encoded by the MimeParameterWriter.
	* MatchAttribute.cs: Set default value for Group to 1.
	* TextReturnReader.cs: Implemented. With this it is possible to create an
	  XML web service that parse the contents of a web page.

svn path=/trunk/mcs/; revision=21248
2003-12-16 19:22:41 +00:00
Gonzalo Paniagua Javier 8a88b9bd57 typo
svn path=/trunk/mcs/; revision=21247
2003-12-16 17:41:03 +00:00
Gonzalo Paniagua Javier e4299678de 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
	are not [Serializable]. Fixes bug #52244.

svn path=/trunk/mcs/; revision=21246
2003-12-16 17:36:10 +00:00
Lluis Sanchez 6ccfd61d67 * BinaryServerFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs:
Changed some ifdefs for allowedProperties field.

svn path=/trunk/mcs/; revision=21245
2003-12-16 17:17:12 +00:00
Lluis Sanchez 5100b15cfe * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
to check if a type is primitive, instead of Type.IsPrimitive, since CLR
	  primitive types are not the same as XML primitive types. Patch proposed
	  by Mordechai Taitelman. This fixes bug #52228.
	* XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.

svn path=/trunk/mcs/; revision=21244
2003-12-16 15:56:53 +00:00
Atsushi Eno b95124c7fb 2003-12-16 Atsushi Enomoto <[email protected]>
* XmlDeclarationTests.cs : Added InvalidInnerText().
	* XmlDocumentTests.cs : CRLF fix (to LF)
	* XmlWriterTests.cs : tiny fix on WriteNodeFullDocument().
	* XmlValidatingReaderTests.cs : Fixed entity handling check tests.

svn path=/trunk/mcs/; revision=21243
2003-12-16 15:46:53 +00:00
Atsushi Eno e22ed2eb99 2003-12-16 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Validity check and entity expansion were
	  incorrectly mixed.
	* DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
	  Going to remove XmlInputStream. XmlStreamReader might be replacable.

svn path=/trunk/mcs/; revision=21242
2003-12-16 15:38:15 +00:00
Alon Gazit 24f433a2b8 Change Text property implementation.
In MS when the Text roperty is set, all the controls in the
HyperLink are being deleted.

svn path=/trunk/mcs/; revision=21241
2003-12-16 15:36:03 +00:00
Atsushi Eno e07201822c 2003-12-16 Atsushi Enomoto <[email protected]>
* XslLiteralElement.cs : Pretty fix for prefix.
	* XslNumber.cs : Fix for rounding value and decimal digits hack.

svn path=/trunk/mcs/; revision=21240
2003-12-16 15:30:59 +00:00
Gonzalo Paniagua Javier 5edde61410 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* CredentialCache.cs: return null instead of throwing NotImplemented.

svn path=/trunk/mcs/; revision=21239
2003-12-16 15:29:45 +00:00
Gonzalo Paniagua Javier ad84beae9b 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs: ignore entries marked as 'fuzzy' in .po files.

svn path=/trunk/mcs/; revision=21237
2003-12-16 15:04:26 +00:00
Atsushi Eno ebebe5adc0 2003-12-16 Atsushi Enomoto <[email protected]>
* Emitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
	  Added WriteWhitespace().
	* GenericOutputter.cs, XslTemplate.cs : Call above.
	* XslTransformProcessor.cs : Changed NodesetStack to ArrayList since
	  CurrentNode in for-each context have to be pulled at evaluation.

svn path=/trunk/mcs/; revision=21236
2003-12-16 14:50:15 +00:00
Atsushi Eno 34b7c840b0 2003-12-16 Atsushi Enomoto <[email protected]>
* team.xml : Modified my profile.

svn path=/trunk/mono/; revision=21235
2003-12-16 14:41:55 +00:00
Alon Gazit c065e78258 Fixed DoVerticalRendering() and DoHorizontalRendering().
Both methods add additional empty table row in the head of each item table
when the variable named isTable equals true (happenes with the default instantiation
of RepeatInfo).
These additional rows should be added when isTable equals false.

svn path=/trunk/mcs/; revision=21234
2003-12-16 11:02:19 +00:00
Gonzalo Paniagua Javier 178fcee368 2003-12-16 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient/OracleCommand.cs:
	  Fix for bug #52223 (CommandTimeout throws exception).

svn path=/trunk/mcs/; revision=21233
2003-12-16 10:42:29 +00:00
Martin Baulig 9b5b337c58 2003-12-16 Martin Baulig <[email protected]>
* Makefile.am: In a Makefile.am, comments are started with `#' and
	not with `dnl' - I must have been an idiot ...

svn path=/trunk/mono/; revision=21232
2003-12-16 08:29:09 +00:00
Martin Baulig 78810a525e 2003-12-16 Martin Baulig <[email protected]>
* statement.cs (LocalInfo.Assigned): Removed this property.
	(LocalInfo.Flags): Removed `Assigned'.
	(LocalInfo.IsAssigned): New public method; takes the EmitContext
	and uses flow analysis.
	(Block.UsageWarning): Made this method private.
	(Block.Resolve): Call UsageWarning() if appropriate.

	* expression.cs (LocalVariableReference.DoResolve): Always set
	LocalInfo.Used here.

svn path=/trunk/mcs/; revision=21231
2003-12-16 08:21:40 +00:00
Jackson Harper 549afb771d * Page.cs: Render trace data when tracing is enabled.
svn path=/trunk/mcs/; revision=21230
2003-12-16 08:03:57 +00:00
Jackson Harper 1a97c7ccf9 * TraceContext.cs: Add incomplete render method.
svn path=/trunk/mcs/; revision=21229
2003-12-16 08:02:34 +00:00
Sunil Kumar 90e2ae7806 Changes sourceStream.Read to read in a while loop
svn path=/trunk/mcs/; revision=21228
2003-12-16 07:08:57 +00:00
Bernie Solomon fe02c72ef5 2003-12-15 Bernie Solomon <[email protected]>
* shared.c: (_wapi_shm_open) make scratch file
	not have to immediately regrow to avoid remaps
	(HPUX can't cope with these).
	(_wapi_shm_attach) use actual size of file
	to set scratch data_len for the creating process.

	* handles.c: (_wapi_handle_new_internal) make
	sure mutex & cond var are initialized even for
	non process shared ones.
	(_wapi_handle_unref) always call destroy
	routines on mutex & cond var

svn path=/trunk/mono/; revision=21227
2003-12-16 06:25:04 +00:00
Atsushi Eno 9dc833151d 2003-12-16 Atsushi Enomoto <[email protected]>
* skelton.cs : Added ErrorOutput text writer.

svn path=/trunk/mcs/; revision=21226
2003-12-16 05:30:18 +00:00
Atsushi Eno 8c751bda97 2003-12-16 Atsushi Enomoto <[email protected]>
* Iterator.cs : On its iteration, moving Current must not affect to
	  MoveNext(). To assure this, Current must be a clone of navigator.
	  Removed unused code.

svn path=/trunk/mcs/; revision=21225
2003-12-16 05:27:27 +00:00
Nick Drochak f592fda33d 2003-12-16 Nick Drochak <[email protected]>
* FileStreamTest.cs: Exception not thrown in .NET 1.1.
		And Happy Birthday to Me!

svn path=/trunk/mcs/; revision=21224
2003-12-16 04:43:33 +00:00
Atsushi Eno 1638a0f357 2003-12-16 Atsushi Enomoto <[email protected]>
* XsltCompiledContext.cs : Temporarily allow incorrectly resolved
	  function for bugzilla #52144. It should be reverted soon.

svn path=/trunk/mcs/; revision=21222
2003-12-16 03:55:33 +00:00
Jackson Harper eafdce1d24 * PageCompiler.cs: Add Trace and TraceMode to framework initialize
method if they are set.

svn path=/trunk/mcs/; revision=21221
2003-12-16 03:51:37 +00:00
Jackson Harper ea1ef8a270 * PageParser.cs: Add Trace and Trace mode attributes.
svn path=/trunk/mcs/; revision=21220
2003-12-16 03:50:56 +00:00
Gonzalo Paniagua Javier 8408ea909b 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* .cvsignore: added browscap.ini
	* Makefile.am: handle browscap.ini.gz
	* browscap.ini.gz: browser capabilities and detection data by Gary J.
	Keyth from http://www.GaryKeith.com/browsers.

svn path=/trunk/mono/; revision=21218
2003-12-16 03:31:59 +00:00
Gonzalo Paniagua Javier 67265ca809 distribute browsercaps-updater.exe
svn path=/trunk/mono/; revision=21217
2003-12-16 03:20:02 +00:00
Gonzalo Paniagua Javier ae61e80ccf 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* Makefile: added browsercaps-updater directory.

	* browsercaps-updater/ChangeLog:
	* browsercaps-updater/Makefile:
	* browsercaps-updater/browsercaps-updater.exe.sources:
	* browsercaps-updater/BrowserCapsUpdater.cs: new tool to update
	browscap.ini file. For those users who just can't wait for the next
	mono release.

	* corcompare/mono-api-diff.cs:
	* corcompare/mono-api-info.cs: fix comment and remove WriteLine.

svn path=/trunk/mcs/; revision=21216
2003-12-16 03:19:31 +00:00
Gonzalo Paniagua Javier 39a3ebe58b 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* mono-api.xsl: handle <interface>, which is different from
	<class name="x" type="interface"...>.

svn path=/trunk/mcs/; revision=21215
2003-12-16 03:19:10 +00:00
Gonzalo Paniagua Javier 94c898361b 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added CapabilitiesLoader.cs

	* System.Web/CapabilitiesLoader.cs: loads browser detection and
	capabilities data from browscap.ini file by Gary J. Keith.

	* System.Web/HttpBrowserCapabilities.cs: removed almost all TODOs.

	* System.Web/HttpRequest.cs: fixed Browser property.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: use the new loader.

svn path=/trunk/mcs/; revision=21214
2003-12-16 03:14:35 +00:00
Jackson Harper 585e37f1c3 * Page.cs: Use the context trace object.
svn path=/trunk/mcs/; revision=21213
2003-12-16 02:33:01 +00:00
Jackson Harper 25514c349f * TraceContext.cs: Initial implementation of storing data.
* HttpContext.cs: Create and expose a trace object.

svn path=/trunk/mcs/; revision=21212
2003-12-16 02:18:16 +00:00
Sebastien Pouliot 361076fd51 2003-12-15 Sebastien Pouliot <[email protected]>
* PublisherMembershipConditionTest.cs: Added new unit tests for the
	newly implemented methods.

svn path=/trunk/mcs/; revision=21211
2003-12-16 02:08:43 +00:00
Sebastien Pouliot 94b570f1f6 2003-12-15 Sebastien Pouliot <[email protected]>
* PublisherMembershipCondition.cs: Completed TODO.

svn path=/trunk/mcs/; revision=21210
2003-12-16 02:06:55 +00:00
Gonzalo Paniagua Javier 12be2ce2a6 Removed Console.WriteLine
svn path=/trunk/mcs/; revision=21209
2003-12-16 01:29:05 +00:00
Sebastien Pouliot 00c75500f6 2003-12-15 Sebastien Pouliot <[email protected]>
* ChallengeResponseTest.cs: Added the sample from L0phtCrack for a
	small password (WELCOME).
	* Type3MessageTest.cs: Added a new test for small password (smaller
	than 8 characters).

svn path=/trunk/mcs/; revision=21208
2003-12-16 00:34:32 +00:00
Sebastien Pouliot 59d94f8e73 2003-12-15 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: Pre-calculated second part of the LM hash for
	small password. Otherwise we get a  DES weak key - which isn't
	supported (exception) by the framework.

svn path=/trunk/mcs/; revision=21207
2003-12-16 00:33:04 +00:00
Joel Basson d6a820caf1 Tue Dec 16 12:15:00 GMT+2 2003 Joel Basson <[email protected]>
* Applied patch from Alberto Fernandez with the following changes...
	* Added Shorcut to MenuItem.
	* Changed demo.cs to work with new FileDialog.
	* Created dialogs (Basic funcionality).
	* Added new:
		Timer.cs (?)
	* Removed function ControlLocationChanged
		(the code has been moved to Control.OnLocationChanged, and now works from
		child Control, instead from parent.)
	* MenuItem
	* Menu
	* ContextMenu
	* MainMenu
	* Fixed Control.Size bug
	* New Samples:
		ButtonEvents2.cs
		ChangeParentDemo.cs (works with Gtk-Warnings)
		LabelClickDemo.cs (doesn't work for now)
		Menu.cs
	* Added new:
		CommonDialog.cs
		OpenFileDialog.cs
		SaveFileDialog.cs
		FolderBrowserDialog.cs
		PageSetupDialog.cs
		PrintDialog.cs
	* Changed:
		FileDialog.cs (now Inherits from CommonDialog, and is an abstract class).
	* Control.Parent works now.
	* Added - copied from current System.Windows.Forms (wine based):

		ApplicationContext.cs
		BindingContext.cs
		BoundsSpecified.cs
		ComVisible.cs
		ControlBindingsCollection.cs
		ControlStyles.cs
		CreateParams.cs
		DragAction.cs
		DragDropEffects.cs
		DragEventArgs.cs
		DragEventHandler.cs
		DrawItemEventHandler.cs
		FlatStyle.cs
		FormBorderStyle.cs
		FormStartPosition.cs
		FormWindowState.cs
		GiveFeedbackEventArgs.cs
		GiveFeedbackEventHandler.cs
		HelpEventArgs.cs
		HelpEventHandler.cs
		IDataObject.cs
		ImageList.cs
		ImeMode.cs
		IMessageFilter.cs
		IWin32Window.cs
		InputLanguageChangedEventArgs.cs
		InputLanguageChangedEventHandler.cs
		InputLanguageChangingEventArgs.cs
		InputLanguageChangingEventHandler.cs
		InputLanguageCollection.cs
		InputLanguage.cs
		InvalidateEventArgs.cs
		InvalidateEventHandler.cs
		LayoutEventHandler.cs
		LeftRightAlignment.cs
		MdiLayout.cs
		MeasureItemEventArgs.cs
		MeasureItemEventHandler.cs
		MenuMerge.cs
		Message.cs
		MouseEventHandler.cs
		QueryAccessibilityHelpEventArgs.cs
		QueryAccessibilityHelpEventHandler.cs
		QueryContinueDragEventArgs.cs
		QueryContinueDragEventHandler.cs
		SizeGripStyle.cs
		UICues.cs
		UICuesEventArgs.cs
		UICuesEventHandler.cs

	* Added (new, incomplete):
		Cursor.cs
		Menu.cs
		ContextMenu.cs

	* Changed (to be compatible, now have empty methods):
		MainMenu.cs
		MenuItem.cs

	* Added (provides static conversion methods):
		SWFGtkConv.cs
	* Work on:
		Control.cs - Completed stub, connected some events.
		Forms.cs - Completed stub.
		Button.cs - Some methos overriden, some property changes have
		to be aplied to the contained Gtk.Label (instead to the Gtk.Button)

	* Others minor changes...

svn path=/trunk/mcs/; revision=21206
2003-12-15 23:20:41 +00:00
Jackson Harper befba915c5 * System.Design.dll.sources: Add *UrlEditor files to build
svn path=/trunk/mcs/; revision=21205
2003-12-15 21:02:32 +00:00
Jackson Harper ee3ed966d3 * UrlEditor.cs:
* ImageUrlEditor.cs:
	* XmlUrlEditor.cs:
	* XslUrlEditor.cs:
	* UrlBuilderOptions.cs: Implement

svn path=/trunk/mcs/; revision=21204
2003-12-15 21:00:19 +00:00
Bernie Solomon dca10eb359 2003-12-15 Bernie Solomon <[email protected]>
* reflection.c: move definition of swap_with_size
	to before its first call

svn path=/trunk/mono/; revision=21203
2003-12-15 20:25:35 +00:00
Sebastien Pouliot 233eee3e86 2003-12-15 Sebastien Pouliot <[email protected]>
* CryptoConfigTest.cs: Converted unit tests to NUnit2.

svn path=/trunk/mcs/; revision=21202
2003-12-15 20:06:24 +00:00
Atsushi Eno 824dbc0067 2003-12-15 Atsushi Enomoto <[email protected]>
* System.Data.SqlXml.dll.sources: Added System.Xml classes.
	* Makefile : added reference to System.dll

svn path=/trunk/mcs/; revision=21201
2003-12-15 20:04:19 +00:00
Atsushi Eno 80778f5c06 2003-12-15 Atsushi Enomoto <[email protected]>
* UpdateEventHandler.cs,
	  XmlAdapter.cs,
	  XmlDataSourceResolve.cs,
	  XmlUpdateEventArgs.cs : Initial checkin.

svn path=/trunk/mcs/; revision=21200
2003-12-15 20:03:43 +00:00
Lluis Sanchez f846cc3a80 * Makefile.cs: Generate list of client test files in target "gen".
* services.xml: Added a couple of services.
	* wstest.cs: Added "stat" option.

svn path=/trunk/mcs/; revision=21199
2003-12-15 20:01:03 +00:00
Sebastien Pouliot aba1630c13 2003-12-15 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Now use internal Environment.GetMachineConfigPath()
	to find machine.config.	Initialization removed from static constructor
	to speed up 98% of software that do not requires it.

svn path=/trunk/mcs/; revision=21198
2003-12-15 20:00:43 +00:00
Lluis Sanchez 3c2d1485fb * HttpSoapWebServiceHandler.cs: Added check for valid SOAPAction header.
Fixed bug when routing style is RequestElement.
	  Removed GetMethodFromAction. This is done now in the type stub.
	  Other minor fixes.
	* Methods.cs, WebServiceHelper.cs: Faults are always serialized using
	  literal format. Removed unneded code.

svn path=/trunk/mcs/; revision=21197
2003-12-15 20:00:15 +00:00
Atsushi Eno f44413d7fd 2003-12-15 Atsushi Enomoto <[email protected]>
* XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
	* Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.

svn path=/trunk/mcs/; revision=21196
2003-12-15 20:00:04 +00:00
Lluis Sanchez 067a1114fd WebServicesConfigurationSectionHandler.cs: Removed TODO.
svn path=/trunk/mcs/; revision=21195
2003-12-15 19:59:13 +00:00
Atsushi Eno f563913c34 2003-12-15 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources :
	  removed UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.

svn path=/trunk/mcs/; revision=21194
2003-12-15 19:57:39 +00:00
Atsushi Eno 3b66b15cff 2003-12-15 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : anySimpleType should allow facets.

svn path=/trunk/mcs/; revision=21193
2003-12-15 19:44:35 +00:00
Atsushi Eno 2b27ae7138 2003-12-15 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.

svn path=/trunk/mcs/; revision=21192
2003-12-15 19:44:03 +00:00
Bernie Solomon 99e830351e More debug removed
svn path=/trunk/mono/; revision=21190
2003-12-15 19:10:14 +00:00
Sebastien Pouliot 4486c12363 2003-12-15 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added unit tests for X509 using CryptoAPI.

svn path=/trunk/mcs/; revision=21188
2003-12-15 17:30:13 +00:00
Sebastien Pouliot d270c1fd5f 2003-12-15 Sebastien Pouliot <[email protected]>
* X509CapiTest.cs: New. Unit test for loading a certificate using a
	(CryptoAPI) handle.
	* X509SpcTest.cs: Changed the code signing sample for an assembly
	signed by a valid (not a test) certificate so the test should run fine
	under Windows (without changing any configuration).

svn path=/trunk/mcs/; revision=21187
2003-12-15 17:25:50 +00:00
Sebastien Pouliot 45bf27a946 2003-12-15 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Removed old (commented) Authenticode stuff.
	Added new stuff for 1.2 (stub).

svn path=/trunk/mcs/; revision=21186
2003-12-15 17:23:06 +00:00
Sebastien Pouliot 47ded1d4b7 2003-12-15 Sebastien Pouliot <[email protected]>
* TrustAnchors.cs: Added a new trusted root, Thawte, for code signing.

svn path=/trunk/mcs/; revision=21185
2003-12-15 17:19:56 +00:00
Sebastien Pouliot a7934a53af 2003-12-15 Sebastien Pouliot <[email protected]>
* AuthenticodeDeformatter.cs: Now throw a COMException for invalid
	signature. Added a SigningCertificate property (to be independant of
	the certificate collection ordering).

svn path=/trunk/mcs/; revision=21184
2003-12-15 17:15:55 +00:00
Paolo Molaro 529600003e Mon Dec 15 18:13:57 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md, inssel-ppc.brg: fixed some opcode lengths
	and integer to fp conversions. Added support for overflowing
	arguments on the stack. Reserve a couple more registers as temps.
	Added support for aot compilation (as output still needs to be
	tweaked, though).

svn path=/trunk/mono/; revision=21183
2003-12-15 17:11:28 +00:00
Sebastien Pouliot 9d671849b7 2003-12-15 Sebastien Pouliot <[email protected]>
* PKCS1.cs: Fixed a typo which prevented "lame" (without OID)
	signature verification.

svn path=/trunk/mcs/; revision=21182
2003-12-15 17:10:06 +00:00
Bernie Solomon ce2f3ad732 Left in debug setting by mistake
svn path=/trunk/mono/; revision=21180
2003-12-15 16:50:25 +00:00
Alon Gazit 416556866b Fixed DoVerticalRendering() and DoHorizontalRendering().
Both methods add to rendered Header a colspan attribute according to the rows count.
After the change the colspan is added according to the columns count.

svn path=/trunk/mcs/; revision=21179
2003-12-15 16:45:47 +00:00
Bernie Solomon fecb7f8f53 2003-12-15 Bernie Solomon <[email protected]>
* daemon.c: change channel data structure so
	input sources are removed from glib event loop
	properly. xsp works better on Solaris and
	fixes #51278

svn path=/trunk/mono/; revision=21178
2003-12-15 16:39:26 +00:00
Zoltan Varga fe7927abee 2003-12-15 Zoltan Varga <[email protected]>
* object.c: Fix warnings.

svn path=/trunk/mono/; revision=21177
2003-12-15 16:31:01 +00:00
Lluis Sanchez a5364c5f66 XmlReflectionImporter.cs: Little fix.
svn path=/trunk/mcs/; revision=21176
2003-12-15 15:38:21 +00:00
Zoltan Varga ffc7107051 2003-12-15 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_Get...): Only consider inherited static
	members if FlattenHierarchy is set.

svn path=/trunk/mono/; revision=21175
2003-12-15 15:34:07 +00:00
Zoltan Varga 4cc1ac4158 2003-12-15 Zoltan Varga <[email protected]>
* Environment.cs (HasShutdownStarted): Make this static under NET 1.1.

svn path=/trunk/mcs/; revision=21174
2003-12-15 14:33:12 +00:00
Atsushi Eno ffad6ddea4 2003-12-15 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : GetEntity() does not return direct network stream
	  that may hold up connection. Now it reads up all the content stream.

svn path=/trunk/mcs/; revision=21173
2003-12-15 14:31:55 +00:00
Zoltan Varga 9bae808067 2003-12-15 Zoltan Varga <[email protected]>
* MonoField.cs (SetValue): Throw an exception if the value cannot be
	converted to the field's type. Fixes #52177.

svn path=/trunk/mcs/; revision=21172
2003-12-15 14:19:43 +00:00
Zoltan Varga e8d78b6cd3 2003-12-15 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs ConstructorBuilderTest.cs: Add tests for
	AddDeclarativeSecurity.

svn path=/trunk/mcs/; revision=21171
2003-12-15 13:57:08 +00:00
Zoltan Varga 21b6006f47 2003-12-15 Zoltan Varga <[email protected]>
* Environment.cs: Bump version number.

svn path=/trunk/mcs/; revision=21170
2003-12-15 13:27:11 +00:00
Zoltan Varga a34e11af6a 2003-12-15 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (RefEmitPermissionSet): New helper structure.

	* MethodBuilder.cs (AddDeclarativeSecurity): Implement.

	* ConstructorBuilder.cs (AddDeclarativeSecurity): Ditto.

svn path=/trunk/mcs/; revision=21169
2003-12-15 13:25:00 +00:00
Zoltan Varga 4bb8993241 2003-12-15 Zoltan Varga <[email protected]>
* reflection.c (mono_image_add_decl_security): New function to emit
	declarative security.

	* reflection.h reflection.c: Add support for declarative security.

	* appdomain.c (MONO_CORLIB_VERSION): Bump version number.

svn path=/trunk/mono/; revision=21168
2003-12-15 13:22:16 +00:00
Alon Gazit f31e57c21c Disabled CheckBox does not produce same HTML as .NET.
In .NET if the checkbox is disabled ,its text appears disabled too.
In Mono the text appears enabled. the fix is in Render().

svn path=/trunk/mcs/; revision=21167
2003-12-15 13:19:33 +00:00
Lluis Sanchez b26f56b73a * XmlReflectionImporter.cs: Type specified with XmlIncludeAttribute don't
need to be derived types of the includer. This fixes bug #52152.
	  Added null check for Name property of XmlEnumAttribute. This fixes
	  bug #52155.
	* XmlSerializationReader.cs: Fixed some error messages.
	* XmlSerializationReaderInterpreter.cs: Check that the root element has
	  the correct local name and namespace. This fixes bug #52038.
	  Throw exception if enum value can't be parsed.
	* XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
	  bug #52041.

svn path=/trunk/mcs/; revision=21166
2003-12-15 13:18:47 +00:00
Alon Gazit c5a41569cd Change the implementation of CreateControlHierarchy().
The current implementation renders extra Header and footer
without Repeater.DataSource assign.

svn path=/trunk/mcs/; revision=21165
2003-12-15 12:29:42 +00:00
Sebastien Pouliot 08e5985203 2003-12-15 Sebastien Pouliot <[email protected]>
* crypto : Updated status for RNG, MACTripleDES, MD4 and PKCS12.

svn path=/trunk/mono/; revision=21164
2003-12-15 12:27:38 +00:00
Sebastien Pouliot 7becefbc10 2003-12-15 Sebastien Pouliot <[email protected]>
* MACAlgorithm.cs: Fixed difference between 1.0 and 1.1 framework.
	The 1.0 framework is adding an additional  padding block (empty)
	to MAC when MACing an exact multiple of the TripleDES block size.

svn path=/trunk/mcs/; revision=21163
2003-12-15 12:18:41 +00:00
Sebastien Pouliot a3756ea890 2003-12-15 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Fixed padding for None and Zeros modes. Unit
	tests for padding modes are now in PaddingModeTest.cs.

svn path=/trunk/mcs/; revision=21162
2003-12-15 12:15:54 +00:00
Sebastien Pouliot 4a999bd535 2003-12-15 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added unit tests PaddingMode.

svn path=/trunk/mcs/; revision=21161
2003-12-15 12:12:25 +00:00
Sebastien Pouliot e94478792b 2003-12-15 Sebastien Pouliot <[email protected]>
* PaddingModeTest.cs: New. Unit tests to check every padding modes for
	symmetric algorithms.
	* MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
	both 1.0 and 1.1 framework.

svn path=/trunk/mcs/; revision=21160
2003-12-15 12:09:41 +00:00
Alon Gazit d08b0a8110 Change the implementation of the property BackImageUrl.
The current implementation has no influence on the rendered Html.

svn path=/trunk/mcs/; revision=21141
2003-12-15 07:54:54 +00:00
Alon Gazit c237b380d3 Change the implementation of the property Enabled.
Before the change the WebControl also looked at parent.Enabled .

svn path=/trunk/mcs/; revision=21138
2003-12-15 07:39:11 +00:00
Gonzalo Paniagua Javier 3b67b66da8 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
* ProviderSectionHandler.cs: use XPath to get the providers to avoid
	getting an exception when there's whitespace, comments... Patch by Marco
	Canini <[email protected]>.

svn path=/trunk/mcs/; revision=21136
2003-12-15 05:50:32 +00:00
Sanja Gupta 1c7690522a ChangeLog for bug #52034
svn path=/trunk/mcs/; revision=21135
2003-12-15 05:49:11 +00:00
Gonzalo Paniagua Javier 56418d1d2c entry
svn path=/trunk/mcs/; revision=21134
2003-12-15 05:27:45 +00:00
Sanja Gupta c01aad9a85 Check for null value before Substring method call
svn path=/trunk/mcs/; revision=21132
2003-12-15 05:09:12 +00:00
Gonzalo Paniagua Javier e6ee5d9be4 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
* Mono.Http.Modules/AuthenticationModule.cs:
	* Mono.Http.Modules/BasicAuthenticationModule.cs:
	* Mono.Http.Modules/DigestAuthenticationModule.cs: new modules to do
	Basic and Digest authentication.

	* samples/auth.xml: sample user/password file for the modules.

svn path=/trunk/mcs/; revision=21131
2003-12-15 04:59:00 +00:00
Gonzalo Paniagua Javier acd6bbe5c5 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: don't bail out with that year out of range error on
	stuff like "MM/dd/yyyy HH:MM:ss".

svn path=/trunk/mcs/; revision=21130
2003-12-15 04:17:26 +00:00
Gonzalo Paniagua Javier c760ef7cf7 2003-12-15 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: ignore <tbody> when we're inside a server table and
	fail when runat="server" is applied to <tbody> with a parse error
	instead of waiting for a compilation error. Fixes bug #52157.

svn path=/trunk/mcs/; revision=21129
2003-12-15 01:16:18 +00:00
David Sheldon a108e17ab2 2003-12-14 David Sheldon <[email protected]>
* BuiltInDatatype.cs : Added code to tell which facets were valid on
    types derived from each basetype.

  * XmlSchemaSimpleTypeRestriction.cs : Complain if an invalid facet
    has been added to a restriction.

svn path=/trunk/mcs/; revision=21128
2003-12-14 22:21:05 +00:00
David Sheldon 28da2c1b8e 2003-12-14 David Sheldon <[email protected]> (First commit)
* System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs : Check that
    min/max/lengths specified are integers. Also made some error messages more
    useful.

  * Test/System.Xml.Schema/XmlSchemaLengthFacetTests.cs : Tests for
    non-integers failing as length facets, and changed the assert for the
    correct type.

svn path=/trunk/mcs/; revision=21127
2003-12-14 21:57:44 +00:00
Sebastien Pouliot 4143288d58 2003-12-14 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Added a new unit test to verify both bugs (no
	key assigned on verification and GetElementId) found when fixing
	#52084.

svn path=/trunk/mcs/; revision=21125
2003-12-14 20:16:25 +00:00
Pedro Martínez Juliá 517a627fba 2003-12-14 Pedro Mart�nez Juli� <[email protected]>
* DateTime.cs: Be sure that the array access is not out of range
    when looking for ArgumentOutOfRangeException in the year value.

svn path=/trunk/mcs/; revision=21124
2003-12-14 18:43:15 +00:00
Sebastien Pouliot 49e8ac25c6 2003-12-14 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Now load the public key when verifying (bug #52084)
	and can find an element by it's Id when Id isn't defined in DTD or XSD.

svn path=/trunk/mcs/; revision=21123
2003-12-14 17:18:56 +00:00
Gonzalo Paniagua Javier e181b32c76 Avoid warnings
svn path=/trunk/mcs/; revision=21122
2003-12-14 17:06:24 +00:00
Gonzalo Paniagua Javier 883b77dbab Remove Console.WriteLine
svn path=/trunk/mcs/; revision=21121
2003-12-14 17:04:49 +00:00
Alon Gazit da27ee2dbb The problem was in HtmlInputButton.RenderAttributes().
Before adding the script to the HTML, the number of Validators should
be checked.

svn path=/trunk/mcs/; revision=21119
2003-12-14 16:44:08 +00:00
Tim Coleman c3f5f68b17 2003-12-14 Tim Coleman <[email protected]>
* System.Data.SqlXml.dll.sources:
                Remove some files from System.Xml.Query that
                were in the wrong assembly.

svn path=/trunk/mcs/; revision=21117
2003-12-14 16:22:51 +00:00
Tim Coleman c0258eef9b 2003-12-14 Tim Coleman <[email protected]>
Moved files to System.Xml assembly

svn path=/trunk/mcs/; revision=21116
2003-12-14 16:22:21 +00:00
Tim Coleman 27da84fd37 2003-12-14 Tim Coleman <[email protected]>
* System.Xml.dll.sources :
                Add files from new System.Xml.Query namespace.

svn path=/trunk/mcs/; revision=21115
2003-12-14 16:19:06 +00:00
Tim Coleman 5bc274334a 2003-12-14 Tim Coleman <[email protected]>
* ChangeLog XmlCommand.cs XmlQueryArgumentList.cs
        * XmlQueryCompileException.cs XmlQueryException.cs XsltProcessor.cs:
                Move classes from the System.Data.SqlXml assembly where they
                did not belong.

svn path=/trunk/mcs/; revision=21114
2003-12-14 16:17:47 +00:00
Alon Gazit bc4b1aee00 Changed AttributeCollection.Render().
After the change attributes ,that their value is null, aren't rendered.

svn path=/trunk/mcs/; revision=21108
2003-12-14 08:39:52 +00:00
Tim Coleman 62725758dd 2003-12-13 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces.Query/ObjectExpression.cs:
                Add missing includes
        * System.Data.ObjectSpaces.dll.Sources:
                Add missing files to build.

svn path=/trunk/mcs/; revision=21107
2003-12-14 03:12:09 +00:00
Paolo Molaro ad8132be98 Sat Dec 13 17:49:10 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, basic-long.cs: fix jumps to known labels.
	Don't overwrite return register in some corner cases.

svn path=/trunk/mono/; revision=21106
2003-12-13 16:55:47 +00:00
Zoltan Varga fda373f653 2003-12-13 Zoltan Varga <[email protected]>
* mini.h mini.c driver.c mini-x86.c mini-ppc.c aot.c: Do not run
	static constructors when AOT compiling.

svn path=/trunk/mono/; revision=21105
2003-12-13 15:18:47 +00:00
Martin Baulig 210baec17a 2003-12-13 Martin Baulig <[email protected]>
* statement.cs (Statement.DoEmit, Statement.Emit): Don't return
	any value here; we're now using flow analysis to figure out
	whether a statement/block returns a value.

svn path=/trunk/mcs/; revision=21104
2003-12-13 13:25:48 +00:00
Martin Baulig 9ae40eaca4 Adjust line numbers.
svn path=/trunk/mcs/; revision=21103
2003-12-13 12:29:24 +00:00
Martin Baulig 0ceb995279 2003-12-13 Martin Baulig <[email protected]>
* flowanalysis.cs (UsageVector.MergeFinallyOrigins): Made this
	working again.
	(FlowBranching.MergeFinally): Don't call
	`branching.CheckOutParameters()' here, this is called in
	MergeTopBlock().
	(FlowBranchingException.AddSibling): Call MergeFinallyOrigins()
	when adding the `finally' vector.

svn path=/trunk/mcs/; revision=21102
2003-12-13 12:27:23 +00:00
Zoltan Varga ce18b11814 2003-12-13 Zoltan Varga <[email protected]>
appdomain.c (MONO_CORLIB_VERSION): Bump version number.

svn path=/trunk/mono/; revision=21101
2003-12-13 12:10:33 +00:00
Zoltan Varga 1c12a8e0d2 2003-12-13 Zoltan Varga <[email protected]>
* Environment.cs: Make it a const instead.

svn path=/trunk/mcs/; revision=21100
2003-12-13 11:33:46 +00:00
Zoltan Varga 1040d4029f 2003-12-13 Zoltan Varga <[email protected]>
* driver.c (mono_main): Call mono_check_corlib_version.

svn path=/trunk/mono/; revision=21099
2003-12-13 11:07:49 +00:00
Zoltan Varga 53f2a252d4 2003-12-13 Zoltan Varga <[email protected]>
* Environment.cs: Make version field static.

svn path=/trunk/mcs/; revision=21098
2003-12-13 11:06:19 +00:00
Zoltan Varga 8744bcebe7 2003-12-13 Zoltan Varga <[email protected]>
* appdomain.c verify.c: Moved corlib version checking into its own
	function in appdomain.c since it needs to create vtables etc.

svn path=/trunk/mono/; revision=21097
2003-12-13 11:05:23 +00:00
Martin Baulig 7577893e14 2003-12-13 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for bug #48962.

svn path=/trunk/mcs/; revision=21096
2003-12-13 10:54:31 +00:00
Martin Baulig a5e0e77a3e 2003-12-13 Martin Baulig <[email protected]>
* flowanalysis.cs
	(UsageVector.MergeJumpOrigins, FlowBranching.Label): Make this
	actually work and also fix #48962.

svn path=/trunk/mcs/; revision=21095
2003-12-13 10:54:03 +00:00
Martin Baulig ab52846884 Improved debugging info.
svn path=/trunk/mcs/; revision=21094
2003-12-13 10:04:52 +00:00
Sunil Kumar f6f1fa446a updated with schema support and XML doc
svn path=/trunk/mcs/; revision=21093
2003-12-13 09:25:59 +00:00
Paolo Molaro 77e90c5daf Sat Dec 13 10:31:12 CET 2003 Paolo Molaro <[email protected]>
* cpu-g4.md, basic.cs: fixed div target register.

svn path=/trunk/mono/; revision=21092
2003-12-13 09:23:28 +00:00
Sunil Kumar 224ce9f09d Modified Comments to Support XML Documentation
svn path=/trunk/mcs/; revision=21091
2003-12-13 09:19:22 +00:00
Paolo Molaro 08c64023c5 Sat Dec 13 09:45:56 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, basic.cs: shl_imm fix with test.

svn path=/trunk/mono/; revision=21090
2003-12-13 08:43:22 +00:00
Todd Berman 7d3ab86837 2003-12-13 Todd Berman <[email protected]>
* Font.cs: Implementing a couple things for porting purposes
        * SystemBrushes.cs: ^
        * StringFormat.cs: ^^

svn path=/trunk/mcs/; revision=21089
2003-12-13 08:40:48 +00:00
Patrik Torstensson b16bc0f6a0 2003-12-13 Patrik Torstensson <[email protected]>
* marshal.c (mono_remoting_wrapper): Fix bug 48015, using TP as this
	instead of unwrapped server.

svn path=/trunk/mono/; revision=21088
2003-12-13 02:56:54 +00:00
Patrik Torstensson 513278edff 2003-12-13 Patrik Torstensson <[email protected]>
* bug-48015.cs: new test for obj.Equals on ContextBound objects
        * Makefile.am: added bug-48015.cs.

svn path=/trunk/mono/; revision=21087
2003-12-13 02:47:59 +00:00
Ben Maurer a42e3e56dc 2003-12-12 Ben Maurer <[email protected]>
* decl.cs: Do not check System.Object for nested types,
	since we know it does not have any. Big bang for buck:

	BEFORE:
	   Run 1:   8.35 seconds
	   Run 2:   8.32 seconds
	   corlib:  17.99 seconds
	AFTER:
	   Run 1:   8.17 seconds
	   Run 2:   8.17 seconds
	   corlib:  17.39 seconds

svn path=/trunk/mcs/; revision=21085
2003-12-13 00:57:51 +00:00
Miguel de Icaza c88777ac0a 2003-11-13 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources: MetafileHeader added (was missing), Consts.cs added

svn path=/trunk/mcs/; revision=21080
2003-12-12 22:28:58 +00:00
Francisco Figueiredo Jr. f8d99d29c3 2003-12-12 Francisco Figueiredo Jr. ([email protected])
*Reorganized files with astyle utility.
	*NpgsqlState.cs, NpgsqlClosedState.cs, NpgsqlReadState.cs, NpgsqlStartupState.cs:
		Changed code to use a buffered stream on demand instead of using the cached BufferedStream. It as giving hangs.
	*NpgsqlEventLog.cs:
		Removed the obsolete warning from file and changed the signature of the method from public to private. This make the building cleaner.
	*NpgsqlCommand.cs, NpgsqlDataReader.cs:
		Added support for CloseCommand behavior.
	*NpgsqlConnection.cs:
		Removed the cached BufferedStream. Now only uses the raw Stream.
	*NpgsqlParameter:
		Fixed a small bug which prevented the parameter name and its value from being set if the value of parameter was null.

svn path=/trunk/mcs/; revision=21079
2003-12-12 21:00:04 +00:00
Paolo Molaro 8f2f7a608a Fri Dec 12 21:25:14 CET 2003 Paolo Molaro <[email protected]>
* inssel-ppc.brg, mini-ppc.h, mini-ppc.c: support for passing
	structures by value. Misc fixes.
	* objects.cs: more tests.

svn path=/trunk/mono/; revision=21078
2003-12-12 20:19:11 +00:00
Patrik Torstensson a6eeacc065 2003-12-12 Patrik Torstesson <[email protected]>
* sbperf1,sbperf2.cs: Added performance test for StringBuilder
	* Makefile.am: Added StringBuilder perf test to build

svn path=/trunk/mono/; revision=21077
2003-12-12 19:34:04 +00:00
Gonzalo Paniagua Javier 3663a25256 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* monoresgen.cs: generate valid .po files. Fixes bug #52106.

svn path=/trunk/mcs/; revision=21076
2003-12-12 18:02:24 +00:00
Lluis Sanchez 82948ae516 * Methods.cs: Added special handling for RPC format.
svn path=/trunk/mcs/; revision=21075
2003-12-12 17:18:56 +00:00
Lluis Sanchez b75d8acd69 * DiscoveryReference.cs: In FilenameFromUrl(), improved name generation
for some common cases.

svn path=/trunk/mcs/; revision=21074
2003-12-12 17:14:45 +00:00
Lluis Sanchez fb550b3f54 * HttpSimpleProtocolImporter.cs: In ImportOutMembersMapping(), support part
without element name (use anyType in this case).
	  In GetOutMimeFormatter(), support MimeContentBinding.
	* ProtocolImporter.cs, SoapProtocolImporter.cs: Improved error and warning
	  handling. Minor fixes.
	* DiscoveryReference.cs: In FilenameFromUrl(), improved name generation
	  for some common cases.

svn path=/trunk/mcs/; revision=21073
2003-12-12 17:12:40 +00:00
Lluis Sanchez a88fae3a5d * MapCodeGenerator.cs: Added support for [Flags] enum.
* XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
	* XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
	  encoded array type. Added support for enums with [Flags].
	  In encoded format, unqualified types are schema types by default.

svn path=/trunk/mcs/; revision=21072
2003-12-12 17:04:59 +00:00
Lluis Sanchez 381e5a148b TcpChannel.cs: Added null check.
svn path=/trunk/mcs/; revision=21071
2003-12-12 17:00:05 +00:00
Lluis Sanchez 2e59e74126 HttpServer.cs: Removed debug code.
svn path=/trunk/mcs/; revision=21070
2003-12-12 16:58:26 +00:00
Lluis Sanchez 7361ff23cb Added web service test suite
svn path=/trunk/mcs/; revision=21069
2003-12-12 16:46:53 +00:00
Bernie Solomon 63d76f9400 2003-12-12 Bernie Solomon <[email protected]>
* wapi-private.h: Replace G_GNUC_PRETTY_FUNCTION
	definition with file & line number for non-GCC
	compiles.

svn path=/trunk/mono/; revision=21067
2003-12-12 16:44:32 +00:00
Zoltan Varga 61c6898ea7 2003-12-12 Zoltan Varga <[email protected]>
* verify.c (check_corlib): Fix field index.

svn path=/trunk/mono/; revision=21066
2003-12-12 15:38:52 +00:00
Pedro Martínez Juliá d3ce0f3256 2003-12-12 Pedro Mart�nez Juli� <[email protected]>
* Mono.Http.dll.sources: Added the new file
    Mono.Http.Modules/AcceptEncodingModule.cs.

svn path=/trunk/mcs/; revision=21065
2003-12-12 09:54:02 +00:00
Paolo Molaro d9702b6b1e Fri Dec 12 10:11:49 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c: lconv.ovf.i implemented.

svn path=/trunk/mono/; revision=21064
2003-12-12 09:05:40 +00:00
Atsushi Eno 24269827d7 2003-12-12 Atsushi Enomoto <[email protected]>
* ScriptCompilerInfo.cs : SecurityManager.ResolvePolicy() was not
	  implemented yet.
	* MSMslScriptManager.cs : modified generated assembly class to be unique
	  through running AppDomain.
	* XsltCompiledContext.cs : XsltExtensionFunction.Invoke() has to cast
	  arguments to actual argument types. Bugzilla #51450 should be fixed.

svn path=/trunk/mcs/; revision=21063
2003-12-12 08:46:21 +00:00
Gonzalo Paniagua Javier 3b93a1abb4 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: fixed checking if method allows a body. Patch by
	Benjamin Jemlich ([email protected]).

svn path=/trunk/mcs/; revision=21062
2003-12-12 07:40:13 +00:00
Gonzalo Paniagua Javier 75c6e7a683 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* Path.cs: GetTempPath () ends with DirectorySeparatorChar. Fixes bug
	#52056.

svn path=/trunk/mcs/; revision=21061
2003-12-12 07:26:48 +00:00
Gonzalo Paniagua Javier 8c74b14758 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed temp path in BaseDir.

svn path=/trunk/mcs/; revision=21060
2003-12-12 07:18:15 +00:00
Atsushi Eno da54c77a46 2003-12-12 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs,
	  XmlElement.cs : Fixed bug #51415.
	  When adding attribute to an element using Attributes, it failed.

svn path=/trunk/mcs/; revision=21059
2003-12-12 07:13:08 +00:00
Atsushi Eno e11a897268 2003-12-12 Atsushi Enomoto <[email protected]>
* HtmlEmitter.cs : Fixed incorrect character entity output.

svn path=/trunk/mcs/; revision=21058
2003-12-12 07:08:49 +00:00
Gonzalo Paniagua Javier c6bcb9a2f3 GetTempPath () ends in Path.DirectorySeparatorChar
svn path=/trunk/mcs/; revision=21057
2003-12-12 07:05:31 +00:00
Gonzalo Paniagua Javier ba968f7ae8 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: remove a few dangling ^M, don't set values for fields
	that has the default value. If Visible is modified and we're tracking
	viewstate, save and restore it. Fixes bug #48689.

svn path=/trunk/mcs/; revision=21056
2003-12-12 06:37:08 +00:00
Jackson Harper 8219b8b0e2 * Control.cs: Give null for the ID if it hasn't been explicitly
set. This fixes bug #51520.

svn path=/trunk/mcs/; revision=21055
2003-12-12 06:27:40 +00:00
Gonzalo Paniagua Javier ce1cada176 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: also cache parents when building the
	hierarchy up. Fixes bug #51818.

svn path=/trunk/mcs/; revision=21054
2003-12-12 05:48:34 +00:00
Gonzalo Paniagua Javier a38cd87414 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* AcceptEncodingModule.cs: moved this file here.

svn path=/trunk/mcs/; revision=21052
2003-12-12 03:36:48 +00:00
Gonzalo Paniagua Javier ceb9f6a930 Cannot preauthenticate
svn path=/trunk/mcs/; revision=21051
2003-12-12 03:34:21 +00:00
Gonzalo Paniagua Javier 0e8a82b2ed 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* Makefile: reference Mono.Security.
	* Mono.Http.dll.sources: added/renamed files.

	* NEWS: updated.

	* Assembly/AssemblyInfo.cs: assembly stuff.

	* Mono.Http/AcceptEncodingConfig.cs: Removed file.

	* Mono.Http/AcceptEncodingModule.cs:
	* Mono.Http/AcceptEncodingSectionHandler.cs:
	* Mono.Http.Configuration/AcceptEncodingConfig.cs:
	* Mono.Http.Configuration/AcceptEncodingSectionHandler.cs: moved files
	to new directory.

	* Mono.Http/GZipWebRequest.cs: small fixes to inject gzip header.
	* Mono.Http/GZipWebRequestCreator.cs: web request creator for gzip.
	* Mono.Http/GZipWebResponse.cs: fixed dispose/close.
	* Mono.Http/NtlmClient.cs: NTLM for HTTP. Used from System.Net.

	* samples/http-get-gzip.cs:
	* samples/http-get-gzip.exe.config: use the request creator.

svn path=/trunk/mcs/; revision=21050
2003-12-12 03:32:55 +00:00
Gonzalo Paniagua Javier 38764bc26b 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: deal with authentication schemes that have more
	than 1 round trip (Ntlm).

svn path=/trunk/mcs/; revision=21049
2003-12-12 03:25:17 +00:00
Ben Maurer 59a30cbe3c build fix
svn path=/trunk/mcs/; revision=21048
2003-12-11 22:26:02 +00:00
Ben Maurer 39425a4709 2003-12-11 Ben Maurer <[email protected]>
* class.cs (FindMembers): Allocate arraylists on demand. Most of the
	time we are returning 0 members, so we save alot here.

svn path=/trunk/mcs/; revision=21047
2003-12-11 21:35:00 +00:00
Gonzalo Paniagua Javier 61f5ff0fb8 Added NtlmClient to authentication modules
svn path=/trunk/mono/; revision=21046
2003-12-11 21:13:00 +00:00
Gonzalo Paniagua Javier e7c7fcce97 added NtlmClient
svn path=/trunk/mcs/; revision=21045
2003-12-11 21:12:24 +00:00
Gonzalo Paniagua Javier 8ceac180b4 2003-12-11 Gonzalo Paniagua Javier <[email protected]>
* NtlmClient.cs: new class that actually uses one from Mono.Http to do
	the authentication.

svn path=/trunk/mcs/; revision=21044
2003-12-11 21:12:05 +00:00
Ben Maurer c8bcc39b30 de-warn-ify
svn path=/trunk/mcs/; revision=21043
2003-12-11 20:44:47 +00:00
Rafael Teixeira c875e2c206 Fixed bug #49660
svn path=/trunk/mcs/; revision=21042
2003-12-11 20:33:26 +00:00
Atsushi Eno 53bf080059 2003-12-11 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : Added ScriptCompilerInfo.cs.

svn path=/trunk/mcs/; revision=21039
2003-12-11 18:23:26 +00:00
Atsushi Eno 99f6f41c80 2003-12-11 Atsushi Enomoto <[email protected]>
* Added ScriptCompilerInfo.cs.
	* MSXslScriptManager.cs : Fixed *true* author's name.
	  Implemented basic msxsl:script support.
	* Compiler.cs : Added Evidence member.

svn path=/trunk/mcs/; revision=21038
2003-12-11 18:22:55 +00:00
Lluis Sanchez ce97eef8b3 * XmlCodeExporter.cs: Little fix.
* XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
	  same name have the same type.
	* XmlSchemaImporter.cs: Support xml:lang.
	* XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
	  fixed wrong namespace for the arrayType attribute.

svn path=/trunk/mcs/; revision=21034
2003-12-11 18:10:29 +00:00
Lluis Sanchez 5d5600466b * AmbiguousMatchException.cs: Added serialization constructor.
svn path=/trunk/mcs/; revision=21033
2003-12-11 18:06:03 +00:00
Lluis Sanchez f28bf3de98 SoapServices.cs: Little fix: correctly encode namespaces.
svn path=/trunk/mcs/; revision=21032
2003-12-11 18:02:11 +00:00
Lluis Sanchez 57ad6a2b53 * SoapReader.cs: Little fix.
* SoapWriter.cs: Use ObjectIDGenerator instead of a couple of Hashtable.

svn path=/trunk/mcs/; revision=21031
2003-12-11 18:01:08 +00:00
Patrik Torstensson de83a16548 2003-12-11 Patrik Torstensson <[email protected]>
* SoapMessageFormater.cs: Use GetMethod with signature if possible, solves
          AmbiguousMatchException for bug 51990.

svn path=/trunk/mcs/; revision=21030
2003-12-11 17:08:05 +00:00
Martin Baulig b4f1e21562 2003-12-11 Martin Baulig <[email protected]>
* flowanalysis.cs (UsageVector.MergeResult): Renamed this back to
	`MergeChild()', also just take the `FlowBranching' as argument;
	call Merge() on it and return the result.
	(FlowBranching.Merge): We don't need to do anything if we just
	have one sibling.

svn path=/trunk/mcs/; revision=21029
2003-12-11 15:56:59 +00:00
Nick Drochak 10c2ea373e 2003-12-11 Nick Drochak <[email protected]>
* UriTest.cs: Test for UriFormatException

svn path=/trunk/mcs/; revision=21028
2003-12-11 14:33:11 +00:00
Nick Drochak 41b2633c03 2003-12-11 Nick Drochak <[email protected]>
* VBCodeProviderTest.cs: Console.WriteLine's don't really belong in
	unit tests.

svn path=/trunk/mcs/; revision=21027
2003-12-11 13:42:39 +00:00
Martin Baulig db0592e554 2003-12-11 Martin Baulig <[email protected]>
* flowanalysis.cs: Use a list of `UsageVector's instead of storing
	them in an `ArrayList' to reduce memory usage.  Thanks to Ben
	Maurer for this idea.

svn path=/trunk/mcs/; revision=21026
2003-12-11 13:24:20 +00:00
Nick Drochak 58e53b9c7c 2003-12-11 Nick Drochak <[email protected]>
* VBCodeProviderTest.cs: Fixed subtle namespace issues preventing
	build with csc.

svn path=/trunk/mcs/; revision=21025
2003-12-11 13:13:07 +00:00
Martin Baulig 45b297cba9 2003-12-11 Martin Baulig <[email protected]>
* flowanalysis.cs (MergeResult): This class is now gone; we now
	use the `UsageVector' for this.  The reason for this is that if a
	branching just has one sibling, we don't need to "merge" them at
	all - that's the next step to do.
	(FlowBranching.Merge): We now return a `UsageVector' instead of a
	`MergeResult'.

svn path=/trunk/mcs/; revision=21024
2003-12-11 12:44:42 +00:00
Miguel de Icaza 3217e397af Update
svn path=/trunk/mono/; revision=21023
2003-12-11 12:05:52 +00:00
Martin Baulig 23ee9a87f9 2003-12-11 Martin Baulig <[email protected]>
* test-154.cs: Added testcases for bugs #49153, #49359 and #49602.

svn path=/trunk/mcs/; revision=21022
2003-12-11 12:03:08 +00:00
Martin Baulig e599e40d5f 2003-12-11 Martin Baulig <[email protected]>
Reworked flow analyis and made it more precise and bug-free.  The
	most important change is that we're now using a special `Reachability'
	class instead of having "magic" meanings of `FlowReturns'.  I'll
	do some more cleanups and optimizations and also add some more
	documentation this week.

	* flowanalysis.cs (Reachability): Added `Throws' and `Barrier';
	largely reworked this class.
	(FlowReturns): Removed `Unreachable' and `Exception'; we now use
	the new `Reachability' class instead of having "magic" values here.
	(FlowBranching): We're now using an instance of `Reachability'
	instead of having separate `Returns', `Breaks' etc. fields.

	* codegen.cs (EmitContext.EmitTopBlock): Set `has_ret' solely
	based on flow analysis; ignore the return value of block.Emit ().

svn path=/trunk/mcs/; revision=21021
2003-12-11 12:00:13 +00:00
Jochen Wezel 4cd8388161 VB mirrored from C#
svn path=/trunk/mcs/; revision=21020
2003-12-11 11:08:00 +00:00
Jackson Harper d06c56531d * RepeatInfo.cs: When rendering vertically figure out how many
colmns are not going to be filled in in the last row, and adjust
	things accordingly. This fixes bug #51863.

svn path=/trunk/mcs/; revision=21015
2003-12-11 09:02:26 +00:00
Atsushi Eno 9c9c1c4cbb 2003-12-11 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
	  after setting all attribute nodes. Modified ReadNode() to handle
	  Depth comparison and error handling (!= to <). It allows MS's
	  SgmlReader bug that returns incorrect Depth.

svn path=/trunk/mcs/; revision=21014
2003-12-11 05:43:12 +00:00
Atsushi Eno 98ac1234b3 2003-12-11 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Fixed MoveToNextAttribute (and
	  MoveToNextNamespace) that might result in NullReferenceException.
	  patch by Sanjay Gupta. This fixed bug #51941 (and possibly #51415)

svn path=/trunk/mcs/; revision=21013
2003-12-11 04:13:30 +00:00
Sunil Kumar 7296eacb2c Added FtechSchema function
svn path=/trunk/mcs/; revision=21012
2003-12-11 03:30:19 +00:00
Sunil Kumar 2350af83a6 Updated the source list with Schema classes
svn path=/trunk/mcs/; revision=21011
2003-12-11 03:29:40 +00:00
Gonzalo Paniagua Javier 2dca35cf98 fix build on windows
svn path=/trunk/mcs/; revision=21010
2003-12-11 02:50:41 +00:00
Todd Berman 767ed67e11 2003-12-10 Todd Berman <[email protected]>
* configure.in: adding libicu url to the ICU: no message.

svn path=/trunk/mono/; revision=21009
2003-12-11 00:36:21 +00:00
Todd Berman 7934fecd26 2003-12-10 Todd Berman <[email protected]>
* gacutil.cs: Properly detect and fail gracefully on ms.net runtime
        * README:
        * TODO: Updated

svn path=/trunk/mcs/; revision=21008
2003-12-11 00:08:44 +00:00
Zoltan Varga d2e282d331 2003-12-10 Zoltan Varga <[email protected]>
* MethodBuilder.cs: Add stubs for missing methods.

svn path=/trunk/mcs/; revision=21004
2003-12-10 22:36:15 +00:00
Zoltan Varga 8f23cdcad7 2003-12-10 Zoltan Varga <[email protected]>
* TypeBuilder.cs (GetEvents): Add new override.

svn path=/trunk/mcs/; revision=21002
2003-12-10 22:32:26 +00:00
Zoltan Varga d1f9ecd97b 2003-12-10 Zoltan Varga <[email protected]>
* Type.cs: Make DefaultBindingFlags protected.

svn path=/trunk/mcs/; revision=21001
2003-12-10 22:30:52 +00:00
Zoltan Varga af15c86638 2003-12-10 Zoltan Varga <[email protected]>
* ModuleBuilder.cs: Implement some missing methods, add stubs for others.

svn path=/trunk/mcs/; revision=21000
2003-12-10 22:26:47 +00:00
Zoltan Varga 24ed89dca9 2003-12-10 Zoltan Varga <[email protected]>
* HMAC.cs: Fix compilation warnings.

svn path=/trunk/mcs/; revision=20999
2003-12-10 22:25:44 +00:00
Zoltan Varga 0fc46dfeb6 2003-12-10 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (GetFiles): Get rid of unneccessary override.

	* AssemblyBuilder.cs (ImageRuntimeVersion): Add override to keep
	signature compatibility with MS.NET.

	* TypeBuilder.cs (MemberType): Get rid of unneccessary override.

svn path=/trunk/mcs/; revision=20998
2003-12-10 21:23:55 +00:00
Zoltan Varga 2f7bf889b8 2003-12-10 Zoltan Varga <[email protected]>
* driver.cs typemanager.cs: Find the mono extensions to corlib even
	if they are private.

svn path=/trunk/mcs/; revision=20997
2003-12-10 21:18:27 +00:00
César Natarén c89a4e8b07 updates from grammar changes
svn path=/trunk/mcs/; revision=20996
2003-12-10 21:13:57 +00:00
Jackson Harper 432b14561c * ILParser.jay: When modifying extern types, clone them and modify
the clone.

svn path=/trunk/mcs/; revision=20995
2003-12-10 21:02:23 +00:00
César Natarén f719336af3 2003-12-10 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: added 'tokens { IN = "in"; INSTANCE_OF =
	"instanceof"; }' in order to be able to parse both keywords. When
	generating the parser, one warning about nondeterminism
	(k==1:"in") is generated ignore it.

svn path=/trunk/mcs/; revision=20994
2003-12-10 21:01:55 +00:00
Jackson Harper f698ff9ee4 * ModifiableType.cs: Allow the conversion list to be got/set.
* ExternTypeRef.cs: Add a Clone method. Remove table modification.

svn path=/trunk/mcs/; revision=20993
2003-12-10 21:00:48 +00:00
Zoltan Varga 98b87d8729 2003-12-10 Zoltan Varga <[email protected]>
* gacutil.cs: Fix binding flags.

svn path=/trunk/mcs/; revision=20992
2003-12-10 20:44:11 +00:00
Zoltan Varga 2c0c3c2893 2003-12-10 Zoltan Varga <[email protected]>
* gacutil.cs: Applied patch from Todd Berman ([email protected]).
	Use Environment.GacPath () instead of hardcoding the GAC path.

svn path=/trunk/mcs/; revision=20991
2003-12-10 20:37:01 +00:00
Zoltan Varga 753cd59008 2003-12-10 Zoltan Varga <[email protected]>
* Environment.cs: Applied patch from Todd Berman ([email protected]).
	Add new GacPath property + its associated icall.

svn path=/trunk/mcs/; revision=20990
2003-12-10 20:28:57 +00:00
Zoltan Varga dde267d8bc 2003-12-10 Zoltan Varga <[email protected]>
* icall.c: Applied patch from Todd Berman ([email protected]). New
	GetGacPath icall.

svn path=/trunk/mono/; revision=20989
2003-12-10 20:21:30 +00:00
Jochen Wezel c91dbce358 Updated and activated StringsTest.cs V0.00001
svn path=/trunk/mcs/; revision=20988
2003-12-10 19:41:39 +00:00
Jackson Harper 8d1cd7dfbf * ILParser.jay: Use the extern table for all extern type
creations.

svn path=/trunk/mcs/; revision=20986
2003-12-10 19:09:19 +00:00
Jackson Harper 6d4d498880 * ExternTable.cs: Add methods to update a types name.
* ExternTypeRef.cs: When a types name is modified update it in the
	table.

svn path=/trunk/mcs/; revision=20985
2003-12-10 19:07:46 +00:00
Jochen Wezel 744c3be303 VBCodeProviderTest now checks for compilation output
svn path=/trunk/mcs/; revision=20982
2003-12-10 18:54:39 +00:00
Jochen Wezel ffc37f55bc VBCodeProviderTest now checks for compilation output
svn path=/trunk/mcs/; revision=20981
2003-12-10 18:48:34 +00:00
Miguel de Icaza 34b275d371 Fix
svn path=/trunk/mono/; revision=20980
2003-12-10 18:02:31 +00:00
Miguel de Icaza 308ffd4bf2 Update to new component names
svn path=/trunk/mono/; revision=20979
2003-12-10 17:59:26 +00:00
Bernie Solomon 6406fd73d7 2003-12-10 Bernie Solomon <[email protected]>
* process.c:  (ves_icall_System_Diagnostics_Process_GetWorkingSet_internal
	ves_icall_System_Diagnostics_Process_SetWorkingSet_internal):
	cope with sizeof(size_t) != sizeof(guint32).

svn path=/trunk/mono/; revision=20978
2003-12-10 17:24:30 +00:00
Gonzalo Paniagua Javier 6b85ff307f 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: use a switch instead of creating a hashtable when
	mapping from an error code to a message.

svn path=/trunk/mcs/; revision=20977
2003-12-10 16:49:33 +00:00
Gonzalo Paniagua Javier 160303bc5c 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* Process.cs: if there's an error when starting the process, the 'pid'
	field contains the GetLastError code. Use that for the Win32Exception.

svn path=/trunk/mcs/; revision=20976
2003-12-10 16:48:12 +00:00
Gonzalo Paniagua Javier 1ba378b257 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* process.[ch]: the 'pid' field in MonoProcInfo stores GetLastError
	in case of failure.

svn path=/trunk/mono/; revision=20975
2003-12-10 16:46:24 +00:00
Lluis Sanchez 5862c7a783 SoapTypeAttribute.cs: Use full namespace name.
svn path=/trunk/mcs/; revision=20974
2003-12-10 16:40:59 +00:00
Lluis Sanchez 0126c17de5 * AsyncResult.cs: Call delegate on async call completion.
* CADMessages.cs: Removed TODO.

svn path=/trunk/mcs/; revision=20972
2003-12-10 16:36:20 +00:00
Lluis Sanchez e2b99f017d * LifetimeServices.cs: Removed TODO.
svn path=/trunk/mcs/; revision=20971
2003-12-10 16:34:18 +00:00
Alon Gazit e3d1ad040e Change the implementation of the properties HorizontalAlign and VerticalAlign.
The current implementation has no influence on the rendered Html.

svn path=/trunk/mcs/; revision=20969
2003-12-10 16:21:10 +00:00
Lluis Sanchez 68085bc0ce MonoWSDL.cs: Return error codes.
svn path=/trunk/mcs/; revision=20968
2003-12-10 16:12:59 +00:00
Lluis Sanchez ba99f60473 * MetaDataExporter.cs: Several fixes.
* SdlChannelSink.cs: Implemented.
	* SdlChannelSinkProvider.cs: Implemented.

svn path=/trunk/mcs/; revision=20967
2003-12-10 16:00:34 +00:00
Lluis Sanchez 292ff44766 * HttpServer.cs: Allow the use of GET method (SdlServerSink supports it).
Added some text constans for transport keys.
	* HttpServerChannel.cs: Add SdlChannelSinkProvider to the default
	sink provider chain. Removed unused ErrorMessage class.

svn path=/trunk/mcs/; revision=20966
2003-12-10 15:56:53 +00:00
Lluis Sanchez 37cd4be5ea * BinaryServerFormatterSinkProvider.cs: Removed TODO.
* CommonTransportKeys.cs: Added some internal transport keys.

svn path=/trunk/mcs/; revision=20965
2003-12-10 15:56:23 +00:00
Jochen Wezel 426eb4f0cf VBCodeGeneartor.cs moved to mcs/class/System/Test/....
svn path=/trunk/mcs/; revision=20964
2003-12-10 14:24:06 +00:00
Mark Crichton 114332341d Some cleanup to the Win32 random number generator. Also removed the
GetNonZeroBytes from the runtime.  That functionality is now performed in
managed code.

svn path=/trunk/mono/; revision=20963
2003-12-10 14:15:12 +00:00
Mark Crichton d639512dd8 GetNonZeroBytes is now done with managed code and not an icall.
svn path=/trunk/mcs/; revision=20962
2003-12-10 14:14:01 +00:00
Martin Willemoes Hansen f5914ee9a3 ups one more letter needed to be lower case
svn path=/trunk/mcs/; revision=20960
2003-12-10 12:59:19 +00:00
Martin Willemoes Hansen c30f0e9169 * RemotingConfiguration.cs: fixed wrong attribute name
sponsorshipTimeOut it should be sponsorshipTimeout

svn path=/trunk/mcs/; revision=20959
2003-12-10 12:54:36 +00:00
Alon Gazit 43b11ae8dc Add setting of The WRAP flag in the Wrap property's set method.
svn path=/trunk/mcs/; revision=20958
2003-12-10 12:45:01 +00:00
Jochen Wezel efecb7a220 Added workaround for Microsoft.VisualBasic.ChrW()
svn path=/trunk/mcs/; revision=20957
2003-12-10 12:15:20 +00:00
Sunil Kumar 6e843126c3 commenting LdapSchema since its not included in Novell.Directory.Ldap.dll.sources
svn path=/trunk/mcs/; revision=20956
2003-12-10 11:29:20 +00:00
Sunil Kumar 36ae36620d Added for schema support
svn path=/trunk/mcs/; revision=20955
2003-12-10 11:12:29 +00:00
Sunil Kumar 4dfed54d4f Added Support for Schema operation
svn path=/trunk/mcs/; revision=20954
2003-12-10 11:05:54 +00:00
Jackson Harper c7ec03d483 * ILParser.jay: Add COMP_NAME token.
svn path=/trunk/mcs/; revision=20952
2003-12-10 09:39:10 +00:00
Jackson Harper bc49eaf1c7 * ILTokenizer.cs: Handle dotted ids as a single token. This allows
keywords at the end of a dotted name.

svn path=/trunk/mcs/; revision=20951
2003-12-10 09:36:51 +00:00
Jackson Harper 6f13c935f5 * ILParser.jay: vtable fixups can be int32s
svn path=/trunk/mcs/; revision=20950
2003-12-10 09:12:56 +00:00
Miguel de Icaza df8997a003 update
svn path=/trunk/mono/; revision=20949
2003-12-10 09:02:02 +00:00
Gonzalo Paniagua Javier c642d31aa8 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* mini.c:
	(mini_init): don't error out if someone already called g_thread_init.

svn path=/trunk/mono/; revision=20945
2003-12-10 02:52:26 +00:00
Miguel de Icaza 65b95f095a Add link to Flat API
svn path=/trunk/mono/; revision=20944
2003-12-09 22:27:28 +00:00
Jackson Harper 171a7610c5 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
Increment counter when moving to start. Fixes bug #51926.

svn path=/trunk/mcs/; revision=20940
2003-12-09 20:02:21 +00:00
Jackson Harper bae83da7e4 * GlobalizationConfigurationHander.cs: Make unicode encodings case
insensitive.

svn path=/trunk/mcs/; revision=20937
2003-12-09 17:39:44 +00:00
Paolo Molaro b783bfba18 NUMA, SMP, RCU support (just to get SCO go crazy). Typo fix.
svn path=/trunk/mono/; revision=20935
2003-12-09 16:31:05 +00:00
Paolo Molaro a60a9bbc5b Tue Dec 9 17:27:14 CET 2003 Paolo Molaro <[email protected]>
* exceptions-x86.c, exceptions-ppc.c: allow the exception object
	to be any type per the spec. Fix abnormal memory usage when
	the same object is repeatedly thrown.

svn path=/trunk/mono/; revision=20934
2003-12-09 16:21:24 +00:00
Paolo Molaro 205a943692 Tue Dec 9 15:39:54 CET 2003 Paolo Molaro <[email protected]>
* mini.c: check for overruns in IL code.

svn path=/trunk/mono/; revision=20931
2003-12-09 14:32:58 +00:00
Paolo Molaro fffe5f1619 Tue Dec 9 15:36:18 CET 2003 Paolo Molaro <[email protected]>
* class.h, class.c, icall.c, marshal.c, object.c: ignore fields
	marked as deleted.

svn path=/trunk/mono/; revision=20930
2003-12-09 14:30:48 +00:00
Zoltan Varga 3b95eb12c2 2003-12-09 Zoltan Varga <[email protected]>
* TODO: Add/remove some todo entries.

svn path=/trunk/mono/; revision=20929
2003-12-09 13:24:56 +00:00
Patrik Torstensson aa1b31d4a4 2003-12-09 Patrik Torstensson <[email protected]>
* CryptAPI.cs: Added stdcall callconv to all Win32
	  calls, default in Mono is CDECL

svn path=/trunk/mcs/; revision=20928
2003-12-09 12:03:02 +00:00
Anirban Bhattacharjee 4e599ea147 Bug fix (41845, 51422)
svn path=/trunk/mcs/; revision=20927
2003-12-09 11:04:45 +00:00
Jackson Harper 155d9e0a18 * ModifiableType.cs: Put modifier and class in the list in the
correct order.

svn path=/trunk/mcs/; revision=20925
2003-12-09 07:11:57 +00:00
Jackson Harper 65a51c541e * main.cs: escape module names.
svn path=/trunk/mono/; revision=20924
2003-12-09 06:48:58 +00:00
Jackson Harper 61cb04e1fd * GlobalizationConfigurationHandler.cs: Handle creating some
the unicode encodings here so we can create ones without BOMs.

svn path=/trunk/mcs/; revision=20923
2003-12-09 06:17:48 +00:00
Martin Baulig 9eabb839e6 2003-12-09 Martin Baulig <[email protected]>
* flowanalyis.cs (FlowBranching.Return, Goto, Throw): Removed;
	call them directly on the UsageVector.

svn path=/trunk/mcs/; revision=20922
2003-12-09 05:07:53 +00:00
Martin Baulig d641ac507c 2003-12-09 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.MergeChild, MergeTopBlock):
	Changed return type from `FlowReturns' to `Reachability'.

svn path=/trunk/mcs/; revision=20921
2003-12-09 05:04:14 +00:00
Martin Baulig 7d0a1fc024 2003-12-09 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranching.Reachability): New sealed class.
	(FlowBranching.MergeResult): Replaced the `Returns', `Breaks' and
	`Reachable' fields with a single `Reachability' one.

svn path=/trunk/mcs/; revision=20918
2003-12-09 04:53:58 +00:00
Ben Maurer e54f9a7b60 add a profile target
svn path=/trunk/mcs/; revision=20917
2003-12-09 04:32:22 +00:00
Ben Maurer 953d42cad7 2003-12-08 Ben Maurer <[email protected]>
* class.cs (FindMembers): Remove foreach's.

	Bootstrap times:

	BEFORE
		Run 1:   8.74 seconds
		Run 2:   8.71 seconds

	AFTER
		Run 1:   8.64 seconds
		Run 2:   8.58 seconds

svn path=/trunk/mcs/; revision=20916
2003-12-09 03:55:46 +00:00
Ben Maurer b90e661d12 2003-12-08 Ben Maurer <[email protected]>
* cs-parser.jay:
	* gen-treedump.cs:
	* statement.cs:
	This patch does a few things:
		1. EmptyStatement is now a singleton, so it is never reallocated.
		2. All blah is EmptyStatement constructs have been changed to
		   blah == EmptyStatement.Value, which is much faster and valid
		   now that EmptyStatement is a singleton.
		3. When resolving a block, rather than allocating a new array for
		   the non-empty statements, empty statements are replaced with
		   EmptyStatement.Value
		4. Some recursive functions have been made non-recursive.
	Mainly the performance impact is from (3), however (1) and (2) are needed for
	this to work. (4) does not make a big difference in normal situations, however
	it makes the profile look saner.

	Bootstrap times:

	BEFORE
	9.25user 0.23system 0:10.28elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
	9.34user 0.13system 0:10.23elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
	Total memory allocated: 56397 KB

	AFTER
	9.13user 0.09system 0:09.64elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
	8.96user 0.24system 0:10.13elapsed 90%CPU (0avgtext+0avgdata 0maxresident)k
	Total memory allocated: 55666 KB

svn path=/trunk/mcs/; revision=20915
2003-12-09 03:53:16 +00:00
Ben Maurer ce05b1830e 2003-12-08 Ben Maurer <[email protected]>
* support.cs: Rewrite DoubleHash to use its own impl. Is faster
	than the hashtable in a hashtable version

	* decl.cs: Right now, whenever we try to lookup a type inside a namespace,
	we always end up concating a string. This results in a huge perf
	loss, because many strings have to be tracked by the GC. In this
	patch, we first use a hashtable that works with two keys, so that
	the strings do not need to be concat'ed.

svn path=/trunk/mcs/; revision=20914
2003-12-09 03:48:44 +00:00
Ben Maurer 73ecaebace get corlib times in here
svn path=/trunk/mcs/; revision=20913
2003-12-09 03:28:25 +00:00
Zoltan Varga ae2b8c92ea 2003-12-09 Zoltan Varga <[email protected]>
* verify.c (check_corlib): Handle the case when the version field is
	initialized by a static constructor.

svn path=/trunk/mono/; revision=20909
2003-12-08 23:50:43 +00:00
Jackson Harper e2e2967bf0 * PageParser.cs: Ignore the SmartNavigation attribute for now.
svn path=/trunk/mcs/; revision=20907
2003-12-08 22:11:32 +00:00
Ben Maurer 9b979541ab 2003-12-08 Ben Maurer <[email protected]>
* Makefile: Add a new target `do-time' that does a quick and simple
	profile, leaving easy to parse output.

svn path=/trunk/mcs/; revision=20906
2003-12-08 22:11:25 +00:00
Bernie Solomon 362b71f52b 2003-13-08 Bernie Solomon <[email protected]>
* Makefile.am: make sure hppa_atomic.s is in distribution

svn path=/trunk/mono/; revision=20905
2003-12-08 22:08:41 +00:00
Patrik Torstensson 3711007025 2003-12-08 Patrik Torstensson <[email protected]>
* rand.c (InternalGetBytes): Implemented win32 version with cryptapi

svn path=/trunk/mono/; revision=20904
2003-12-08 21:49:25 +00:00
Martin Baulig e4fa54b9a5 New generics test.
svn path=/trunk/mcs/; revision=20900
2003-12-08 20:16:24 +00:00
Martin Baulig c12ce2cc6c 2003-12-08 Martin Baulig <[email protected]>
* generics.cs (Constraints.Types): Removed.
	(Constraints.Resolve): Just resolve everything to TypeExpr's, not
	to Type's.
	(Constraints.ResolveTypes): New public method; resolves the
	TypeExpr's to Type's.
	(TypeParameter.Define): TypeBuilder.DefineGenericParameter() no
	longer takes the constraints.
	(TypeParameter.DefineMethod): Likewise.
	(TypeParameter.DefineType): New public method.  Calls
	`TypeBuilder/MethodBuilder.SetGenericParameterConstraints()' to set
	the constraints.

svn path=/trunk/mcs/; revision=20899
2003-12-08 20:06:13 +00:00
Martin Baulig fa4a8a88e0 2003-12-08 Martin Baulig <[email protected]>
* convert.cs (Convert.ImplicitConversionStandard): Use
	`expr_type.Equals (target_type)' instead of `=='.

svn path=/trunk/mcs/; revision=20898
2003-12-08 20:02:05 +00:00
Martin Baulig 7997b83bc6 2003-12-08 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetReferenceType): Call
	`Type.MakeByRefType ()'.

svn path=/trunk/mcs/; revision=20897
2003-12-08 20:00:30 +00:00
Martin Baulig 37dcc0bd50 2003-12-08 Martin Baulig <[email protected]>
* cs-parser.jay, cs-tokenizer.cs: `where' is not a keyword, it
	just has some special meaning in some situations.  For instance,
	it is allowed to use `where' as the name of a variable etc.

svn path=/trunk/mcs/; revision=20896
2003-12-08 19:59:08 +00:00
Martin Baulig 83502153df 2003-12-04 Martin Baulig <[email protected]>
* corlib.dll.sources: Added System.Collections.Generic.

svn path=/trunk/mcs/; revision=20895
2003-12-08 19:48:16 +00:00
Martin Baulig 06cf56a582 2003-12-08 Martin Baulig <[email protected]>
* *.cs: require GENERICS.

svn path=/trunk/mcs/; revision=20894
2003-12-08 19:47:45 +00:00
Martin Baulig 18826fddd1 2003-12-08 Martin Baulig <[email protected]>
* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Return
	a MonoReflectionGenericParameter, also take the parameter index
	and name as arguments.
	(ves_icall_MethodBuilder_define_generic_parameter): Likewise.
	(ves_icall_MonoGenericParam_initialize): New interncall.
	(ves_icall_Type_make_byref_type): New interncall.

	* reflection.h (MonoReflectionGenericParam): Derive from
	MonoReflectionType, not just from MonoObject.  Added `refobj' and
	`index' fields.

	* reflection.c (mono_reflection_define_generic_parameter): Create
	and return a new MonoReflectionGenericParam; don't initialize the
	constraints here.
	(mono_reflection_initialize_generic_parameter): New public method;
	initializes the constraints and creates the `param->pklass'.

svn path=/trunk/mono/; revision=20893
2003-12-08 19:45:57 +00:00
Martin Baulig 4596639fca 2003-12-08 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Removed; use the
	new `MonoGenericParam' class instead (in S.R/MonoGenericInst.cs).

svn path=/trunk/mcs/; revision=20892
2003-12-08 19:45:10 +00:00
Martin Baulig 40f05b7f47 2003-12-08 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericParam): New internal class;
	derives from MonoType.

svn path=/trunk/mcs/; revision=20891
2003-12-08 19:44:14 +00:00
Martin Baulig 284dc7b9f1 2003-12-08 Martin Baulig <[email protected]>
* Type.cs (MakeByRefType): New public method.

svn path=/trunk/mcs/; revision=20890
2003-12-08 19:39:51 +00:00
Jackson Harper 33394bad6a * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
Benjamin Jemlich. Fixes bug #51823.

svn path=/trunk/mcs/; revision=20889
2003-12-08 19:19:23 +00:00
Rafael Teixeira 90b141c785 flush
svn path=/trunk/mcs/; revision=20886
2003-12-08 19:02:16 +00:00
Zoltan Varga 23ad196445 2003-12-08 Zoltan Varga <[email protected]>
* codegen.cs (Init): Create the dynamic assembly with
	AssemblyBuilderAccess.Save, to enable some optimizations in the runtime.

svn path=/trunk/mcs/; revision=20884
2003-12-08 17:04:15 +00:00
Zoltan Varga bc02a4a409 2003-12-08 Zoltan Varga <[email protected]>
* reflection.h reflection.c: Use the new fields 'num_types',
	'num_fields' and 'num_methods' to track the number of types etc.

svn path=/trunk/mono/; revision=20883
2003-12-08 16:35:11 +00:00
Zoltan Varga 83669a4ba4 2003-12-08 Zoltan Varga <[email protected]>
* ModuleBuilder.cs: Double the size of the types array during insertion
	do avoid excessive memory allocation and copying. Track the number of
	types in a separate variable.

	* TypeBuilder.cs: Same for the 'fields' and 'methods' arrays.

svn path=/trunk/mcs/; revision=20882
2003-12-08 16:32:50 +00:00
Zoltan Varga 4d800b50b4 2003-12-08 Zoltan Varga <[email protected]>
* driver.c (mono_main): Call mono_verify_corlib.

svn path=/trunk/mono/; revision=20881
2003-12-08 16:29:41 +00:00
Zoltan Varga 7995b2c58b 2003-12-08 Zoltan Varga <[email protected]>
* verify.c (check_corlib): Check corlib version number.

svn path=/trunk/mono/; revision=20880
2003-12-08 16:28:41 +00:00
Zoltan Varga b8d58e1412 2003-12-08 Zoltan Varga <[email protected]>
* Environment.cs: Add a version number for the corlib-runtime interface
	to make it easier to diagnose problems resulting from a mismatch
	between the two.

svn path=/trunk/mcs/; revision=20879
2003-12-08 16:26:58 +00:00
Miguel de Icaza 8f712ab83c Another good catch
svn path=/trunk/mcs/; revision=20878
2003-12-08 15:30:08 +00:00
Miguel de Icaza f620ffb24b Updated
svn path=/trunk/mcs/; revision=20877
2003-12-08 15:07:28 +00:00
Miguel de Icaza 4822091413 Ben pointed this out
svn path=/trunk/mcs/; revision=20876
2003-12-08 15:04:50 +00:00
Patrik Torstensson bfd5df2f19 2003-12-08 Patrik Torstensson <[email protected]>
* Type.cs (GetMethod): Check type arguments within array
	* MonoType.cs (GetMethodImpl): Handle methods with a new slot
	(same signature but different classes (derived level)

svn path=/trunk/mcs/; revision=20875
2003-12-08 14:47:16 +00:00
Atsushi Eno a1ebe2e256 2003-12-08 Atsushi Enomoto <[email protected]>
* UriTest2.cs : eliminating Console.WriteLine().

svn path=/trunk/mcs/; revision=20874
2003-12-08 14:43:36 +00:00
Patrik Torstensson 4d51d3af46 2003-12-08 Patrik Torstensson <[email protected]>
* Binder.cs: Added internal helpers to get derived level and select the
	most derived methodbase (used in GetMethodImpl)

svn path=/trunk/mcs/; revision=20873
2003-12-08 14:43:14 +00:00
Patrik Torstensson 8610cc7d6c 2003-12-08 Patrik Torstensson <[email protected]>
* TypeTest.cs: Added basic tests for GetMethodImpl and GetPropertyImpl

svn path=/trunk/mcs/; revision=20872
2003-12-08 14:37:11 +00:00
Atsushi Eno 519bec2463 2003-12-08 Atsushi Enomoto <[email protected]>
* Uri.cs : more fixes. More presice UNC handling, opaque part
	  handling for non-standard uri (e.g. urn:go-mono.com), ToString()
	  fix (that returns AbsoluteUri, which is not escaped any more),
	  and so on.

svn path=/trunk/mcs/; revision=20871
2003-12-08 14:36:32 +00:00
Atsushi Eno 80df4c8c60 2003-12-08 Atsushi Enomoto <[email protected]>
* System_test.dll.sources : Added UriTest2.cs

svn path=/trunk/mcs/; revision=20870
2003-12-08 14:36:00 +00:00
Atsushi Eno 203c99963f 2003-12-08 Atsushi Enomoto <[email protected]>
* Added uri-test-generator.cs, test-uri-list.txt, test-uri-props.txt
	  and UriTest2.cs. They are test generator files.

svn path=/trunk/mcs/; revision=20869
2003-12-08 14:35:12 +00:00
Lluis Sanchez e50b09d072 * SoapReflectionImporter.cs, XmlMembersMapping.cs, XmlReflectionImporter.cs,
XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
	  When using rpc format on a web service, members don't need to have any
	  specific namespace. Added a flag for turning namespace check on/off.

svn path=/trunk/mcs/; revision=20868
2003-12-08 14:32:53 +00:00
Eran Domb d567ef007f Added remarks.
svn path=/trunk/mcs/; revision=20867
2003-12-08 13:30:26 +00:00
Eran Domb 96c3d57c4b * DataColumn.cs (Expression) : Validate the expression.
* DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.

(Contains, IndexOf, this[], Add) : Call new IndexOf when needed.


* DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.

(RejectChanges) : Detach row when state was Added.

(CollectionChanged) : Fix a bug.


* ExpressionElement (ValidateExpression) : Fix a bug.


* ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
a parent row in the parent table.

(_validateColumns) : Fix bugs.


* MergeManager.cs (AdjustSchema) : Fix a bug.


* XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
between the tables.

svn path=/trunk/mcs/; revision=20866
2003-12-08 13:27:43 +00:00
Zoltan Varga 294c2861d3 2003-12-08 Zoltan Varga <[email protected]>
* MonoSymbolWriter.cs: Create ArrayLists only when needed.

svn path=/trunk/mcs/; revision=20865
2003-12-08 12:16:06 +00:00
Miguel de Icaza 01850f1901 Add configure script
svn path=/trunk/mcs/; revision=20864
2003-12-08 10:10:02 +00:00
Miguel de Icaza cc8e65c157 Revert the patches from Anirban
svn path=/trunk/mcs/; revision=20863
2003-12-08 09:45:40 +00:00
Anirban Bhattacharjee 4eb82ee171 Bugs fixed - 41845, 51422
svn path=/trunk/mcs/; revision=20861
2003-12-08 06:56:16 +00:00
Anirban Bhattacharjee 0fa29bbec8 Extended test cases for checking DateTime conversion
svn path=/trunk/mcs/; revision=20860
2003-12-08 06:49:49 +00:00
Ravindra c03f05d921 Added IsUnc tests for local file paths.
svn path=/trunk/mcs/; revision=20859
2003-12-08 06:34:45 +00:00
Peter Williams 08d3e029aa Fix bugzilla 51666.
build:

2003-12-08  Peter Williams  <[email protected]>

	* config-default.make: Don't check for / define
	ECHO_ESCAPE: the check isn't smart enough and
	apparently OS X's shell somehow doesn't support
	escape characters.

	* library.make: Use embedded tab instead of
	$(ECHO_ESCAPE). Fixes OS X build.

	* executable.make: Same.

class/corlib:

2003-12-08  Peter Williams  <[email protected]>

	* Makefile: Use embedded tab instead of $(ECHO_ESCAPE).
	Fixes build on OS X.

class/Microsoft.Web.Services:

2003-12-08  Peter Williams  <[email protected]>

	* Makefile: Update Makefile to use embedded tabs instead
	of ECHO_ESCAPE. Fixes build on OS X.

svn path=/trunk/mcs/; revision=20858
2003-12-08 05:51:03 +00:00
Atsushi Eno f55d620bcf 2003-12-08 Atsushi Enomoto <[email protected]>
* Uri.cs : Several fixes, including Unc problem, Host and LocalPath
          fixes, null reference check for .ctor(Uri, string). This fixes
          bug #51844.

svn path=/trunk/mcs/; revision=20857
2003-12-08 05:36:03 +00:00
Miguel de Icaza 745f03d274 Update mono-todo, add todo, which is just a scratch area
svn path=/trunk/mono/; revision=20856
2003-12-08 05:06:02 +00:00
Atsushi Eno 183a0c1c0a 2003-12-08 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : patch by David Sheldon. Base type's facet
	  validation should also be done.

svn path=/trunk/mcs/; revision=20855
2003-12-08 04:39:47 +00:00
Atsushi Eno 4ecee8e872 2003-12-08 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : patch by David Sheldon. Check
	  if max/min length range is valid.

svn path=/trunk/mcs/; revision=20854
2003-12-08 04:39:12 +00:00
Atsushi Eno 171e068dc7 2003-12-08 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources : patch by David Sheldon. Added XmlSchemaLengthFacetTests.cs.

svn path=/trunk/mcs/; revision=20853
2003-12-08 04:38:42 +00:00
Atsushi Eno 9528032244 2003-12-08 Atsushi Enomoto <[email protected]>
* Added XmlSchemaLengthFacetTests.cs. (patch by David Sheldon.)

svn path=/trunk/mcs/; revision=20852
2003-12-08 04:38:06 +00:00
Nick Drochak 9a2e34a189 2003-12-08 Nick Drochak <[email protected]>
* DateTimeTest.cs: Little build fix for csc. It doesn't like the
		fully qualified name.

svn path=/trunk/mcs/; revision=20851
2003-12-08 04:07:46 +00:00
Sebastien Pouliot 25f77d396e 2003-12-07 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added PKCS#12 support for X.509 certificates.
	* Mono.Security_test.dll.sources: Added unit tests for PKCS#12.

svn path=/trunk/mcs/; revision=20850
2003-12-08 03:45:09 +00:00
Sebastien Pouliot b24ece5228 2003-12-07 Sebastien Pouliot <[email protected]>
* PKCS12Test.cs: New. Unit test for PKCS#12 files (with/without
	passwords, weak/strong encryption) and PKCS#12 password based key
	derivation.

svn path=/trunk/mcs/; revision=20849
2003-12-08 03:42:58 +00:00
Sebastien Pouliot 9f1a66f52e 2003-12-07 Sebastien Pouliot <[email protected]>
* PKCS12.cs: New. PKCS#12 implementation. Only decoding is working
	right now.

svn path=/trunk/mcs/; revision=20848
2003-12-08 03:41:00 +00:00
Sebastien Pouliot 695ba2e96b 2003-12-07 Sebastien Pouliot <[email protected]>
* PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated
	SignedData for v3 SubjectKeyIdentifier.

svn path=/trunk/mcs/; revision=20847
2003-12-08 03:39:08 +00:00
Ben Maurer a0cc03b77c 2003-12-07 Ben Maurer <[email protected]>
* UTF8Encoding.cs (GetBytes string): Do not call base
	The version in Encoding will call string.ToCharArray (),
	allocating an extra array. By calling the better method
	in our own class we can save memory.

svn path=/trunk/mcs/; revision=20846
2003-12-08 01:38:15 +00:00
Sebastien Pouliot 4483736039 2003-12-07 Sebastien Pouliot <[email protected]>
* PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded
	public key.
	* X509BasicConstraintsExtension.cs: New (1.2). X.509 certification
	extension for BasicConstraints.
	* X509CertificateEx.cs: New (1.2). Augmented class to use X.509
	certificates.
	* X509CertificateExCollection.cs: New (1.2). Collection class for
	X509CertificateEx.
	* X509CertificateExEnumerator.cs: New (1.2). Enumerator class for
	X509CertificateEx.
	* X509ChainElement.cs: New (1.2). Information (certificate, status,
	informations) for a member of a certificate chain.
	* X509ChainElementCollection.cs: New (1.2). Collection class for
	X509ChainElement.
	* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
	X509ChainElement.
	* X509ChainStatus.cs: New (1.2). Chain status (many can apply to a
	single X509ChainElement).
	* X509Extension.cs: New (1.2). Base class for all certificate
	extensions.
	* X509ExtensionCollection.cs: New (1.2). Collection class for
	X509Extension.
	* X509ExtensionEnumerator.cs: New (1.2). Enumerator class for
	X509Extension.

svn path=/trunk/mcs/; revision=20845
2003-12-08 01:38:13 +00:00
Sebastien Pouliot dcb008febc 2003-12-07 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: Changed test for GetContentType.
	* EnvelopedPkcs7Test.cs: New. Unit tests for EnvelopedPkcs7
	(encryption).
	* KeyTransRecipientInfoTest.cs: New. Unit tests for
	KeyTransRecipientInfo.
	* Pkcs7RecipientTest.cs: New. Unit tests for Pkcs7Recipient.
	* SignedPkcs7Test.cs: New. Unit tests for SignedPkcs7 (signatures).
	* SignedInfoTest.cs: New. Unit tests for SignedInfo.
	* SubjectIdentifierTest.cs: New. Unit tests for SubjectIdentifier.

svn path=/trunk/mcs/; revision=20844
2003-12-08 01:29:16 +00:00
Sebastien Pouliot a7dc35c1f9 2003-12-07 Sebastien Pouliot <[email protected]>
* ContentInfo.cs: Modified default Oid not to include description.
	Added basic support for static GetContentType.
	* EnvelopedPkcs7.cs: New. Partial implementation of PKCS#7 envelopes
	(encrypted data).
	* KeyAgreeRecipientInfo.cs: New. Stub for key agreement informations.
	Note that key agreement algorithms (DH) are absent from the framework.
	* KeyTransRecipientInfo.cs: New. Implementation for key transport
	informations.
	* Pkcs7Recipient.cs: New. Implementation of "recipients" - how it
	links to a X.509 certificate (issuer and serial key or subject key
	info).
	* Pkcs7RecipientCollection.cs: New. Collection of Pkcs7Recipient.
	* Pkcs7RecipientEnumerator.cs: New. Enumerator for Pkcs7Recipient.
	* Pkcs7AttributeCollection.cs: New. Collection of Pkcs9Attributes.
	* Pkcs7AttributeEnumerator.cs: New. Enumerator for Pkcs9Attributes.
	* PublicKeyInfo.cs: New. Handle public key informations.
	* RecipientInfoCollection.cs: New. Collection of RecipientInfo (and
	inherited classes).
	* RecipientInfoEnumerator.cs: New. Enumerator for RecipientInfo (and
	inherited classes).
	* SignedPkcs7.cs: New. Partial implementation of PKCS#7 signed
	structures.
	* SignerInfo.cs: New. Information (certificate and attributes) about
	the signer. Actual signature/verification stuff is missing.
	* SignerInfoCollection.cs: New. Collection of SignerInfo.
	* SignerInfoEnumarator.cs: New. Enumerator for SignerInfo.
	* SubjectIdentifier.cs: New. Contains the type of identifier linking
	to a subject.
	* SubjectIdentifierOrKey.cs: New. Contains the subject's public key or
	an information linking to a subject public key.

svn path=/trunk/mcs/; revision=20843
2003-12-08 01:20:50 +00:00
Ben Maurer 344149b208 2003-12-07 Ben Maurer <[email protected]>
* MonoSymbolTable.cs: It is faster to do a linear search
	than it is to make a hashtable. Even though the linear
	search is O(n^2) while the hashtable is O(n), the allocation
	cost for a hashtable is *very* high, especially when only
	a few members will be added.

svn path=/trunk/mcs/; revision=20842
2003-12-08 00:17:26 +00:00
Zoltan Varga ba6c028c52 2003-12-07 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_method_from_wrapper): Remove assert so this
	function works on all methods.

svn path=/trunk/mono/; revision=20840
2003-12-07 19:41:44 +00:00
Zoltan Varga 075dedcd53 2003-12-07 Zoltan Varga <[email protected]>
* Type.cs (MakeArrayType): Add argument checking.

svn path=/trunk/mcs/; revision=20839
2003-12-07 19:37:51 +00:00
César Natarén af5582497a updates from grammar changes
svn path=/trunk/mcs/; revision=20838
2003-12-07 19:37:28 +00:00
César Natarén 14bd265f0b 2003-12-07 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: things like 'new Point (10, 20).x' were
	not parsable now they are. Mozilla's and Janet's  test suites are
	being really helpful.

svn path=/trunk/mcs/; revision=20837
2003-12-07 19:35:59 +00:00
Atsushi Eno 157370a854 2003-12-07 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
	  bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).

svn path=/trunk/mcs/; revision=20835
2003-12-07 15:03:54 +00:00
Lluis Sanchez 03e97b5d26 * inssel.brg: In CEE_ISINST and CEE_CASTCLASS, removed check for proxy.
This has been moved to mini.c
	* mini.c: in mono_method_to_ir, CEE_ISINST and CEE_CASTCLASS cases, if the
	type being casted is marshalbyref it could be a proxy, so instead of
	emitting the type check code, emit a call to a runtime method that will
	perform the check by calling CanCastTo if needed.

svn path=/trunk/mono/; revision=20834
2003-12-07 13:12:50 +00:00
Lluis Sanchez 12ef371180 * domain.c, loader.h: Added IRemotingTypeInfo interface in MonoDefaults.
* icall.c: in, ves_icall_Remoting_RealProxy_GetTransparentProxy set
	the custom_type_info flag of the transparent proxy.
	* object.c: Added method mono_object_isinst_mbyref for casting mbyref
	objects that supports IRemotingTypeInfo.
	* object.h: Added custom_type_info field in transparent proxy.

svn path=/trunk/mono/; revision=20833
2003-12-07 13:12:09 +00:00
Alon Gazit 422e251479 Panel doesn't render nowrap attribute while the Wrap property is set to
false.the problem was in Panel.AddAttributesToRender().

svn path=/trunk/mcs/; revision=20832
2003-12-07 10:41:44 +00:00
Alon Gazit a763520e25 fixing a typo in NoWrap property.
svn path=/trunk/mcs/; revision=20831
2003-12-07 09:47:45 +00:00
Atsushi Eno 53bdf9925c 2003-12-07 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : XsdDecimal and XsdInteger defaults whitespace
	  facet as collapse (patch by David Sheldon).
	* XmlSchemaAnnotations.cs, XmlSchemaAny.cs : No more MonoTODOs ;-)
	* XmlSchemaSequence.cs : MapAndSum implementation.

svn path=/trunk/mcs/; revision=20830
2003-12-07 08:17:54 +00:00
Atsushi Eno d345f75309 2003-12-07 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : FindElement() should use argument names
	  (patch by David Sheldon).  Warning elimination.

svn path=/trunk/mcs/; revision=20829
2003-12-07 08:14:08 +00:00
Atsushi Eno 9f7be9dc81 2003-12-07 Atsushi Enomoto <[email protected]>
* Compiler.cs : Check stylesheet recursion. Check decimal-format name.
	* GenericOutputter.cs, Outputter.cs, TextOutputter.cs :
	  Added WriteWhitespace() to assure not writing whitespaces as cdata.
	* XslAttributeSet.cs : Error check if attribute-set contains other than
	  xsl:attribute.  Error should be XsltException.
	* XslDecimalFormat.cs : Complete equality check.  Allow just one
	  character value for some attributes.
	* XslStylesheet.cs : Made whitespace control setting overridable.
	  Added Version property (for the future compatibility mode).
	  Check unrecongnized top level element.
	* XslTemplate.cs : Check priority as a number.
	* XslTransformProcessor.cs : PushCDataState is now PushElementState,
	  for xsl:preserve-space and xsl:strip-space support.
	* XsltCompiledContext.cs : Implemented PreserveWhitespace() (far from
	  incomplete), PushScope and Pop

svn path=/trunk/mcs/; revision=20827
2003-12-07 05:57:11 +00:00
Atsushi Eno ed8f2c27d4 2003-12-05 Atsushi Enomoto <[email protected]>
* XslAttribute.cs, XslElement.cs, XslVariable.cs : Check name.
	* XslChoose.cs : Check content validity (xsl:when or xsl:otherwise).
	* XslComment.cs, XslCopy.cs, XslProcessingInstruction.cs,
	  XslValueOf.cs : Check content and attributes.
	* XslCompiledElement.cs : Added ParentType to check content validity.
	* XslCopy.cs : Check attribute set existence.
	* XslCopy.cs, XslCopyOf.cs  Don't output whitspace as cdata.
	* XslLiteralElement.cs : Added extension element prefixes as
	  namespace exclusion target. Consider namespace-aliases.
	* XslNumber.cs : level="any" should also be emptiable. MatchesCount()
	  should also consider node type. Reverted a little formatting stuff.
	* XslTemplateContent.cs : Check if content nodes are containable.
	* XslText.cs : New .ctor() argument, specifying if it is whitespace.
	  Never output whitespace as cdata.

svn path=/trunk/mcs/; revision=20826
2003-12-07 05:55:39 +00:00
Atsushi Eno 7040240ff7 2003-12-07 Atsushi Enomoto <[email protected]>
* Tokenizer.cs : Removed some TODOs. (trivial ;-)
	* Iterator.cs : ParensIterator can inherit from BaseIterator.
	  SlashIterator copy .ctor() always failed to clone. This fixes Count.

svn path=/trunk/mcs/; revision=20825
2003-12-07 05:45:00 +00:00
Atsushi Eno 16b920e823 2003-12-07 Atsushi Enomoto <[email protected]>
* XsltException.cs, XsltCompileException.cs : Added locatable .ctor().

svn path=/trunk/mcs/; revision=20824
2003-12-07 05:43:54 +00:00
Martin Baulig 401b598342 2003-12-06 Martin Baulig <[email protected]>
* DefaultTraceListener: Don't use `where' in variable names.

svn path=/trunk/mcs/; revision=20823
2003-12-06 20:12:35 +00:00
Martin Baulig 0f56c00bb0 2003-12-06 Martin Baulig <[email protected]>
* class.c (mono_class_create_from_generic): Removed.
	(mono_class_from_generic): Check `ginst->klass' before doing
	anything else.  This is important to fully support "recursive"
	generic types.

	* metadata.c (do_mono_metadata_parse_generic_inst): Create an
	empty `generic_inst->klass' before doing anything else.

svn path=/trunk/mono/; revision=20822
2003-12-06 19:52:05 +00:00
Rafael Teixeira b7cb9718dd 2003/12/06 Rafael Teixeira <[email protected]>
* ecore.cs : problems trying to implicit convert OMITTED arguments, solved
	* mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
	* testmbas/WriteOK.vb: testing date type and date literal

svn path=/trunk/mcs/; revision=20821
2003-12-06 18:44:29 +00:00
Dick Porter 90562882fb 2003-12-06 Dick Porter <[email protected]>
* String.cs: Don't use CompareInfo for non-culture-sensitive
	IndexOf and LastIndexOf methods.

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

	* CompareInfo.cs: Don't build strings in Compare, IndexOf and
	LastIndexOf methods.  Avoid the icall in IndexOf and LastIndexOf
	if the search parameter is a char and the CompareOptions include
	Ordinal.

svn path=/trunk/mcs/; revision=20820
2003-12-06 16:54:59 +00:00
Dick Porter 99012a2253 2003-12-06 Dick Porter <[email protected]>
* verify.c:
	* object.h:
	* icall.c:
	* locales.c: Use C structs to access class fields.  Don't do a
	conversion between MonoString and UChar because both are
	platform-endian UTF-16.  Compare now takes startindex and count
	parameters.  Add a char overload for IndexOf.  Speed up the
	invariant string IndexOf.

svn path=/trunk/mono/; revision=20819
2003-12-06 16:54:11 +00:00
Zoltan Varga be0d8373d1 2003-12-06 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_emit_prolog): Fix stack space allocation for
	methods with large stack frames under Win32.

svn path=/trunk/mono/; revision=20818
2003-12-06 15:47:43 +00:00
Ravindra 9d9dcd92bd Fixed bug 51464 and added a test case for the same.
svn path=/trunk/mcs/; revision=20817
2003-12-06 15:34:40 +00:00
Ravindra 6dd39c405c Added a new exception case.
svn path=/trunk/mcs/; revision=20815
2003-12-06 09:03:10 +00:00
César Natarén 88ed1a9157 changes resulting from grammar changes
svn path=/trunk/mcs/; revision=20814
2003-12-06 07:31:47 +00:00
César Natarén 4f7aab7684 2003-12-05 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: added check for non-null reference at
	var_decl_list rule. Added single quote STRING_LITERAL lexical rule
	and multiple lines comments rule.

svn path=/trunk/mcs/; revision=20813
2003-12-06 07:27:00 +00:00
John Luke 0bdf9f1b0a 2003-12-05 John Luke <[email protected]>
* data/config.in: new dll mapping entry for libgstreamer

svn path=/trunk/mono/; revision=20812
2003-12-05 23:20:43 +00:00
Jackson Harper e9957c6999 * SessionStateModule.cs: Add readonly property for readonly
sessions. This fixes bug #51647.
	* SessionInProcHandler.cs:
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: Cleanup params for
	HttpSessionState ctor. Make sure to always set is new, cookieless,
	and readonly properly.

svn path=/trunk/mcs/; revision=20811
2003-12-05 20:08:40 +00:00
Jackson Harper 0cfc23e7ef * DataBinder.cs (GetIndexedPropertyValue): Check if container is
an IList and use a cast instead of reflection to retrieve the item
	if it is. Fixes bug #51759.

svn path=/trunk/mcs/; revision=20810
2003-12-05 19:00:28 +00:00
Martin Baulig 29a2a580ef Use gmcs again.
svn path=/trunk/mcs/; revision=20809
2003-12-05 18:51:15 +00:00
Martin Baulig d9c43a9e84 2003-12-05 Martin Baulig <[email protected]>
* profiles/generics.make: Define `GENERICS'.

svn path=/trunk/mcs/; revision=20808
2003-12-05 18:29:11 +00:00
Martin Baulig 22cf9447ca 2003-12-05 Martin Baulig <[email protected]>
* profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
	without generics and with mcs instead of gmcs.

	* profiles/bootstrap.make: New profile; already use the newly
	compiled mcs to compile corlib.

svn path=/trunk/mcs/; revision=20807
2003-12-05 18:27:18 +00:00
César Natarén b3bc652a7a changes from grammar updates
svn path=/trunk/mcs/; revision=20806
2003-12-05 18:21:00 +00:00
César Natarén d929b35da1 tracking parent references, and object_literal rule fix.
svn path=/trunk/mcs/; revision=20805
2003-12-05 18:19:39 +00:00
César Natarén 69680d2094 2003-12-05 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: Now I keep track of the parent for most
	of the syntatic constructs. Fixed object_literal rule.
	* ast.cs: Added field parent. This will help me to track nested
	blocks for all of the syntatic constructs and will allow to Emit
	everything in one single pass.
	* FunctionDeclaration.cs, FunctionExpression.cs: Rearranged the
	parent stuff.
	* Block.cs, FunctionObject.cs: deleted parent field as AST will
	hold it. Delete parent parameter from constructor.
	* CodeGenerator.cs: Add field gc_ig (global code IL generator) to
	EmitContext class. The idea is Emitting everything in one pass (decls
	and 'Global Code' method, the parent reference let me know which IL
	generator use, gc_ig or ig).
	* Equality.cs, BooleanLiteral, Relational.cs: Added new parameter to
	constructor. Use new parent reference for choosing the IL
	generator. NumericLiteral a 'hard coded' int32 IL emittion added
	for testing.
	* StringLiteral.cs, Literal.cs (BooleanLiteral.Emit): now I use
	the parent reference to infere which IL generator to use.
	* VariableDeclaration.cs: deleted parent field. At Emit, now I use the parent
	reference to infer which IL generator to use.
	* expression.cs: Added paramenter parent to constructor of: Unary,
	Binary, Conditional, Call.

svn path=/trunk/mcs/; revision=20804
2003-12-05 18:14:52 +00:00
Zoltan Varga 0477712125 2003-12-05 Zoltan Varga <[email protected]>
* Makefile.am (monosn_LDADD): Fix parallel build.

svn path=/trunk/mono/; revision=20803
2003-12-05 12:25:57 +00:00
Lluis Sanchez e5d2ec807d Added man pages for disco, wsdl and soapsuds tools
svn path=/trunk/mono/; revision=20801
2003-12-05 10:48:04 +00:00
Miguel de Icaza d76a4b7b45 Removed old file
svn path=/trunk/mcs/; revision=20800
2003-12-05 10:33:08 +00:00
Lluis Sanchez 4e6b021733 Added the soapsuds tool to the build
svn path=/trunk/mono/; revision=20799
2003-12-05 09:49:30 +00:00
Lluis Sanchez 46213a8b33 * MetaData.cs: Added check of compilation results in
ConvertCodeSourceFileToAssemblyFile().
	* MetaDataCodeGenerator.cs, MetaDataExporter.cs: Many fixes.
	  Added support for delegates, base classes, implemented interfaces,
	  methods, properties, ISerializable, enums, etc.

svn path=/trunk/mcs/; revision=20798
2003-12-05 09:20:29 +00:00
John Luke 2b593229c2 2003-12-04 John Luke <[email protected]>
* SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
		fix peek so it checks if it is at the end and also to make sure that if Read()
		advances the position past the end of the localBuffer array, it makes
		a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
		using SqlCommand.ExecuteXmlReader()

svn path=/trunk/mcs/; revision=20797
2003-12-05 03:57:56 +00:00
John Luke 920206633a 2003-12-04 John Luke <[email protected]>
* Uri.cs: applied patch from Chris Masters <[email protected]>
		fixes bug #51510.  ftp uses port 21, https uses 443 and
		parse the host name properly for UNC path.

svn path=/trunk/mcs/; revision=20796
2003-12-05 03:38:34 +00:00
Atsushi Eno 6dd94efd7a 2003-12-05 Atsushi Enomoto <[email protected]>
* Multiplexer.cs : set_XmlResolver is marked as obsolete.
	  Added new Transform() methods introduced in .NET 1.1.
	  CRLF and LF are desparately mixed, so adjusted to LF.
	* XslTransform.cs :
	  CRLF and LF are desparately mixed, so adjusted to CRLF.

svn path=/trunk/mcs/; revision=20795
2003-12-05 02:40:24 +00:00
Ben Maurer e992c12eef revert
svn path=/trunk/mcs/; revision=20794
2003-12-04 22:07:33 +00:00
Ben Maurer a4d409e99b Revert Martin's patch using generics, see the email to ximian-mono-list
svn path=/trunk/mcs/; revision=20793
2003-12-04 22:01:59 +00:00
Gonzalo Paniagua Javier e476550a7e 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
* TableItemStyle.cs: merge TableItemStyle properties when Style is
	empty. Fixes bug #51689. Patch by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20792
2003-12-04 21:52:53 +00:00
Gonzalo Paniagua Javier c0caf9df6c 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: ThreadAbortException is ok on Redirect.
	* HttpContext.cs: added TimeoutPossible property.
	* HttpResponse.cs: throw ThreadAbortException if End () is called within
	a step in which is possible to timeout.

	Fixes bug #51703.

svn path=/trunk/mcs/; revision=20791
2003-12-04 21:49:43 +00:00
Zoltan Varga 89dfb3c9bc 2003-12-04 Zoltan Varga <[email protected]>
* Makefile.am: Distribute regression tests.

svn path=/trunk/mono/; revision=20790
2003-12-04 21:33:43 +00:00
Martin Baulig e888119c67 2003-12-04 Martin Baulig <[email protected]>
* corlib.dll.sources: Added System.Collections.Generic.

svn path=/trunk/mcs/; revision=20787
2003-12-04 19:22:25 +00:00
Martin Baulig ce784d098d 2003-12-04 Martin Baulig <[email protected]>
* profiles/generics.make: Use gmcs.

svn path=/trunk/mcs/; revision=20786
2003-12-04 19:19:51 +00:00
Martin Baulig 7d6683ec06 2003-12-04 Martin Baulig <[email protected]>
* expression.cs (ComposedCast.DoResolveAsTypeStep): Use
	`Type.MakeArrayType()' for array types.

svn path=/trunk/mcs/; revision=20785
2003-12-04 19:18:07 +00:00
Martin Baulig e179b40f26 2003-12-04 Martin Baulig <[email protected]>
* Type.cs (Type.MakeArrayType): New public method.

svn path=/trunk/mcs/; revision=20784
2003-12-04 19:15:06 +00:00
Martin Baulig 2d6969d3b5 2003-12-04 Martin Baulig <[email protected]>
* icall.c
	(ves_icall_type_GetTypeCode): Added MONO_TYPE_VAR and MONO_TYPE_MVAR.
	(ves_icall_Type_make_array_type): New interncall.

svn path=/trunk/mono/; revision=20783
2003-12-04 19:11:27 +00:00
Jackson Harper 11fbe37916 * HttpRequest.cs: Cleanup method.
svn path=/trunk/mcs/; revision=20782
2003-12-04 18:35:05 +00:00
Martin Baulig 3ac468a9aa 2003-12-04 Martin Baulig <[email protected]>
* locales.c: also change it in the !HAVE_ICU case.

svn path=/trunk/mono/; revision=20779
2003-12-04 16:35:45 +00:00
Atsushi Eno dd1a4d6aa4 2003-12-04 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
	* XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
	  This may fix bug #51415.

svn path=/trunk/mcs/; revision=20778
2003-12-04 16:30:38 +00:00
Dick Porter 6e25fb15de 2003-12-04 Dick Porter <[email protected]>
* icall.c:
	* locales.c: construct_compareinfo is now in CompareInfo, not
	CultureInfo.

svn path=/trunk/mono/; revision=20777
2003-12-04 15:01:47 +00:00
Dick Porter 190b0a5060 2003-12-04 Dick Porter <[email protected]>
* CompareInfo.cs: Implement the deserialization callback

	* CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
	it can construct the ICU collator itself

svn path=/trunk/mcs/; revision=20776
2003-12-04 15:01:04 +00:00
Gonzalo Paniagua Javier 0ca733a035 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
* Buffer.cs:
	(BlockCopy): make the exception thrown helpful.

svn path=/trunk/mcs/; revision=20775
2003-12-04 14:49:34 +00:00
Zoltan Varga 2e2c02ecf1 2003-12-04 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_get_allocatable_int_vars): Sort the var list
	at the end instead of inserting each variable into the sorted list.

	* linear-scan.c (mono_varlist_sort): New helper function.

svn path=/trunk/mono/; revision=20774
2003-12-04 14:14:47 +00:00
Zoltan Varga 3e6e9349cd 2003-12-04 Zoltan Varga <[email protected]>
* image.c (mono_image_load_file_for_image): Cache loaded images in the
	image->files array.

	* image.c (load_class_name): Load class names from the EXPORTEDTYPES
	table as well.

	* assembly.c (mono_assembly_load_references): Only load references
	once.

	* class.c (mono_class_from_name): Avoid linear search of the
	EXPORTEDTYPE table.

	* loader.c (mono_field_from_token): Cache lookups of fieldrefs as well.

svn path=/trunk/mono/; revision=20768
2003-12-04 12:30:01 +00:00
Gonzalo Paniagua Javier dc1fbf2e37 Removed obsolete files
svn path=/trunk/mcs/; revision=20767
2003-12-04 12:24:53 +00:00
Gonzalo Paniagua Javier 443cd21d02 Updated version
svn path=/trunk/mcs/; revision=20766
2003-12-04 12:17:18 +00:00
Gonzalo Paniagua Javier efd1d9f047 updated version
svn path=/trunk/mono/; revision=20765
2003-12-04 12:09:22 +00:00
Sunil Kumar 2f0e01a30b Modified after DirectorySearcher implementation
svn path=/trunk/mcs/; revision=20764
2003-12-04 11:52:49 +00:00
Sunil Kumar fe69dd33ec Modified for DirectorySearcher implementation
svn path=/trunk/mcs/; revision=20763
2003-12-04 11:49:17 +00:00
Jackson Harper 4e39082da7 * HttpValueCollection.cs: Allow blank value names. Posting
<blank>=SomeValue is valid. And occurs if a radio button does
	not have its name set.

svn path=/trunk/mcs/; revision=20762
2003-12-04 10:47:40 +00:00
Jackson Harper 15677effbe * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
value. This is because radio button groups are created by setting
	the name to the same value with each button, then on postback the
	value of the name is the id of the selected radio button.

svn path=/trunk/mcs/; revision=20761
2003-12-04 10:28:16 +00:00
Alon Gazit d6a770b483 Page.ID should call Control.ID. needed for updating Page.ClientID.
svn path=/trunk/mcs/; revision=20760
2003-12-04 08:14:48 +00:00
Jackson Harper db3acd1383 * SessionStateModule.cs: If using cookieless sessions add an
onbegin request handler that parsers out session ids and rewrites
	the path. Also redirect to a url with an embedded session id if we
	are creating a new cookieless session.
	* SesionInProcHandler.cs:
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
	ids, don't set the session id cookie anymore. That is handled by
	the SessionStateModule.
	* SessionId.cs: Add method for looking up session ids, add
	some constants.

svn path=/trunk/mcs/; revision=20759
2003-12-04 05:47:16 +00:00
Jackson Harper e7b8a16897 * HttpResponse.cs: Actually apply an app path modifier in
ApplyAppPathModifer and add a method to set the app path modifier.
	* HttpRequest.cs: Add utility method for setting a request
	header.

svn path=/trunk/mcs/; revision=20758
2003-12-04 05:44:44 +00:00
Jackson Harper ad391da46e * UrlUtils.cs: Some methods for working with session ids in
urls.

svn path=/trunk/mcs/; revision=20757
2003-12-04 05:43:27 +00:00
Gonzalo Paniagua Javier 7ec6a0f206 2003-12-04 Gonzalo Paniagua Javier <[email protected]>
* Blend.cs: fix array sizes in the constructors. Closes bug #51564.
	System.Web moves in mysterious ways.

svn path=/trunk/mcs/; revision=20756
2003-12-04 02:49:40 +00:00
Paolo Molaro 48a6a2ba83 Wed Dec 3 20:46:28 CET 2003 Paolo Molaro <[email protected]>
* mini.c: ensure arguments and locals are within bounds.

svn path=/trunk/mono/; revision=20753
2003-12-03 19:40:39 +00:00
Zoltan Varga 28b76a9cc2 2003-12-03 Zoltan Varga <[email protected]>
* ModuleBuilder.cs (DefinePInvokeMethod): Implement.

	* ModuleBuilder.cs (DefineGlobalMethod): Implement the Net 1.2 variants.

svn path=/trunk/mcs/; revision=20752
2003-12-03 19:32:07 +00:00
Gonzalo Paniagua Javier 8d78d728de update version
svn path=/trunk/mcs/; revision=20751
2003-12-03 19:20:45 +00:00
Gonzalo Paniagua Javier 012ba810db 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.

svn path=/trunk/mcs/; revision=20750
2003-12-03 18:54:09 +00:00
Gonzalo Paniagua Javier 3d5f46ed19 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
	#51648.

svn path=/trunk/mcs/; revision=20749
2003-12-03 18:40:59 +00:00
Dick Porter 298b72b0fc 2003-12-03 Dick Porter <[email protected]>
* String.cs: Calling Replace on an empty string returns itself.

svn path=/trunk/mcs/; revision=20747
2003-12-03 16:55:46 +00:00
Paolo Molaro a1afe3e059 Wed Dec 3 17:59:10 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md, basic.cs, basic-long.cs: more tests and
	related fixes.

svn path=/trunk/mono/; revision=20746
2003-12-03 16:55:00 +00:00
Paolo Molaro 728ef0156a Typo fix.
svn path=/trunk/mono/; revision=20745
2003-12-03 16:48:07 +00:00
Gonzalo Paniagua Javier 683a6036bc 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: initialize config in
	ChangeConfigurationSettings if it has not been done yet. Patch by
	George Kodinov [email protected]). Fixes bug #51643.

svn path=/trunk/mcs/; revision=20744
2003-12-03 16:35:26 +00:00
Zoltan Varga 2018e9c781 2003-12-03 Zoltan Varga <[email protected]>
* mini.c (mono_cprop_copy_values): Fix crash.

svn path=/trunk/mono/; revision=20743
2003-12-03 16:13:01 +00:00
Miguel de Icaza ba464c93f2 Flush
svn path=/trunk/mono/; revision=20742
2003-12-03 15:51:40 +00:00
Zoltan Varga aa3265e3ee 2003-12-03 Zoltan Varga <[email protected]>
* aot.c: Set verbosity back to 0.

svn path=/trunk/mono/; revision=20741
2003-12-03 15:42:37 +00:00
Lluis Sanchez 3636523cbd MonoWSDL.cs: Added support for VB.
svn path=/trunk/mcs/; revision=20740
2003-12-03 15:26:13 +00:00
Lluis Sanchez 3c886cd118 Makefile: Added soapsuds to build.
svn path=/trunk/mcs/; revision=20739
2003-12-03 15:25:38 +00:00
Lluis Sanchez 57d5bacd12 2003-12-03 Lluis Sanchez Gual <[email protected]>
* soapsuds.cs, Makefile, soapsuds.exe.sources: New files. Initial implementation
	  of the soapsuds.

svn path=/trunk/mcs/; revision=20738
2003-12-03 15:22:25 +00:00
Gonzalo Paniagua Javier 118d627642 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: with the new LosFormatter, we get array types right, so
	remove the code used to workaround that.

svn path=/trunk/mcs/; revision=20737
2003-12-03 15:04:36 +00:00
Zoltan Varga b60f7e3b1e 2003-12-03 Zoltan Varga <[email protected]>
* driver.c (main_thread_handler): Revert the previous patch.

svn path=/trunk/mono/; revision=20736
2003-12-03 14:57:27 +00:00
Paolo Molaro 26b22585d2 Wed Dec 3 15:42:27 CET 2003 Paolo Molaro <[email protected]>
* regalloc.c: complete memory leak fix by Laurent Morichetti
	([email protected]).

svn path=/trunk/mono/; revision=20735
2003-12-03 14:45:32 +00:00
Zoltan Varga ee1d394b90 2003-12-03 Zoltan Varga <[email protected]>
* main.c (dis_field_list): Update after changes to
	mono_metadata_get_constant_index ().

svn path=/trunk/mono/; revision=20734
2003-12-03 14:38:16 +00:00
Zoltan Varga 58a5cf064b 2003-12-03 Zoltan Varga <[email protected]>
* mini.c (mono_find_jit_opcode_emulation): Turn emul_opcode_hash into
	an array for better performance.

svn path=/trunk/mono/; revision=20733
2003-12-03 13:54:15 +00:00
Zoltan Varga e8157734b9 2003-12-03 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_class_init_trampoline): Avoid patching when running
	under valgrind.

	* mini-x86.c (mono_arch_local_regalloc): Do not allocate transient
	memory from the memory pool.

	* driver.c (main_thread_handler): Turn on all optimizations when
	--aot is used.

	* mini.c (mono_find_jit_opcode_emulation): Turn emul_opcode_hash into
	an array for better performance.

	* regalloc.c (mono_regstate_assign): Fix memory leak.

svn path=/trunk/mono/; revision=20732
2003-12-03 13:53:32 +00:00
Zoltan Varga 14ab0713a2 2003-12-03 Zoltan Varga <[email protected]>
* image.h (MonoImage): Add 'field_cache' field.

	* loader.c (mono_field_from_token): Cache field lookups.

	* reflection.c (mono_module_get_object): Fix name property.

svn path=/trunk/mono/; revision=20731
2003-12-03 13:48:17 +00:00
Zoltan Varga 1ea2bacc84 2003-12-03 Zoltan Varga <[email protected]>
* MonoType.cs: Get rid of get_type_info, use a separate icall for
	each property instead.

svn path=/trunk/mcs/; revision=20730
2003-12-03 13:43:46 +00:00
Zoltan Varga 4ddf53df4f 2003-12-03 Zoltan Varga <[email protected]>
* icall.c (ves_icall_get_enum_info): Update after changes to
	mono_metadata_get_constant_index ().

	* icall.c: Get rid of get_type_info icall, use a separate icall for
	each type property to avoid needless memory allocations. Fixes #51514.

svn path=/trunk/mono/; revision=20729
2003-12-03 13:42:40 +00:00
Zoltan Varga 01361492ab 2003-12-03 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_get_constant_index): Add a 'hint' parameter
	to avoid needless binary searches.

	* class.c (class_compute_field_layout): Move the initialization of
	field->def_value to mono_class_vtable ().

	* class.c (mono_class_layout_fields): Enable GC aware auto layout for
	non-corlib types.

	* object.c (mono_object_allocate): Make it inline.

	* object.c (mono_object_allocate_spec): Make it inline.

svn path=/trunk/mono/; revision=20728
2003-12-03 13:36:15 +00:00
Zoltan Varga 30c6a6472b 2003-12-03 Zoltan Varga <[email protected]>
* debug-mini.c (mono_debug_serialize_debug_info): New function to
	serialize the debug info.

	* debug-mini.c (mono_debug_add_aot_method): New function to load the
	debug info from the serialized representation.

	* aot.c: Save debug info into the generated file and load it when
	loading a method.

	* mini.h (MONO_AOT_FILE_VERSION): Bump version number.

svn path=/trunk/mono/; revision=20727
2003-12-03 13:24:27 +00:00
Sunil Kumar 99f7bf7275 Fixed (*s*) kind of filter problem
svn path=/trunk/mcs/; revision=20723
2003-12-03 06:45:34 +00:00
Sunil Kumar cb9f13c098 Included Support for including Delimeters as tokens
svn path=/trunk/mcs/; revision=20722
2003-12-03 06:44:54 +00:00
Atsushi Eno ca0a570668 2003-12-03 Atsushi Enomoto <[email protected]>
* Expression.cs : XPathSorters.Compare() should compare document
	  position. See last sentence of XSLT 1.0 secion 10.

svn path=/trunk/mcs/; revision=20720
2003-12-03 05:45:54 +00:00
Atsushi Eno a2ed0960bb 2003-12-03 Atsushi Enomoto <[email protected]>
* XslNumber.cs : Fixed GetFormatNumber() not to emit number (0) in
	  case of count 0.  Improved format-string, but still wondering.

svn path=/trunk/mcs/; revision=20719
2003-12-03 05:45:22 +00:00
Atsushi Eno c34b1534c4 2003-12-03 Atsushi Enomoto <[email protected]>
* HtmlEmitter.cs : CloseStartElement is needed almost everywhere.

svn path=/trunk/mcs/; revision=20718
2003-12-03 05:45:01 +00:00
Ben Maurer adfbe4c613 2003-12-02 Ben Maurer <[email protected]>
* support.cs: Make the PtrHashtable use only one
	instance of its comparer.

svn path=/trunk/mcs/; revision=20715
2003-12-03 04:23:08 +00:00
Atsushi Eno 0eb628648d 2003-12-03 Atsushi Enomoto <[email protected]>
* Makefile : added reference to System.Web.Services.dll

svn path=/trunk/mcs/; revision=20713
2003-12-03 03:48:33 +00:00
Atsushi Eno bd9c6af0a8 2003-12-03 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Overrode all functions' ToString().
	  XPathFunctions.ToNumber() trims whitespaces at both side.
	  Fixed NullReferenceException in normalize-space().
	* Iterator.cs : Fixed AncestorOrSelfIterator.MoveNext() didn't handle
	  attribute or namespace node correctly.
	  SlashIterator.Clone() didn't clone "next node iterator" correctly.
	  EnumeratorIterator.ctor() should raise an error (not at Clone())
	  when the target IEnumerator is not ICloneable.

svn path=/trunk/mcs/; revision=20711
2003-12-03 02:02:24 +00:00
Sebastien Pouliot 97a9e93918 2003-12-02 Sebastien Pouliot <[email protected]>
* Type3MessageTest.cs: Fixed 16 bits Options to 32 bits Flags and class name.

svn path=/trunk/mcs/; revision=20710
2003-12-03 01:40:13 +00:00
Sebastien Pouliot dc8bbf8431 2003-12-02 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: Fixed compilation error with mcs (System.Math.Min)
	* Type2Message.cs: Fixed compilation warning for override. Flags are now
	32 bits.
	* Type3Message.cs: Fixed compilation warning for override. Removed (old)
	header code to use base class. Changed 16 bits Options for 32 bits Flags
	(NtlmFlags).

svn path=/trunk/mcs/; revision=20709
2003-12-03 01:38:56 +00:00
Lluis Sanchez ec7d6280bf * System.Runtime.Remoting.dll.sources: Added:
System.Runtime.Remoting.MetadataServices/MetaDataExporter.cs
		System.Runtime.Remoting.MetadataServices/MetaDataCodeGenerator.cs
	* Makefile: Added new assembly references.

svn path=/trunk/mcs/; revision=20708
2003-12-03 01:13:26 +00:00
Lluis Sanchez 80a4c6eb88 * MetaData.cs: Implemented most of methods.
* ServiceType.cs: Implemented.
	* MetaDataCodeGenerator.cs: Added. Implements code generation functionality.
	* MetaDataExporter.cs: Added. Implements support methods for generating
	  schemas for MetaData.

svn path=/trunk/mcs/; revision=20707
2003-12-03 00:58:47 +00:00
Lluis Sanchez 2eed4e60ad * SoapServices.cs: Little fix in namespace construction.
svn path=/trunk/mcs/; revision=20706
2003-12-03 00:48:38 +00:00
Lluis Sanchez 24c71ace67 SoapTypeAttribute.cs: Set correct value for default namespace.
svn path=/trunk/mcs/; revision=20705
2003-12-03 00:45:15 +00:00
Gonzalo Paniagua Javier 3ae17c419a 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: when building the redirect URI, use the previous
	one as the base URI, which makes relative URIs work.

svn path=/trunk/mcs/; revision=20704
2003-12-02 22:42:07 +00:00
Gonzalo Paniagua Javier 8397bdc061 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* DigestClient.cs: merged in code from Sebastien Pouliot and Greg
	Reinacker that Supports cnonce and preauthentication.

svn path=/trunk/mcs/; revision=20703
2003-12-02 21:45:54 +00:00
Bernie Solomon 98608c8479 2003-12-02 Bernie Solomon <[email protected]>
* pen.c (GdipSetPenLineCap): fix arg type so it compiles
	using HP compiler.

	* gdip.h: fix spelling of GdipSetPenLineJoin and add
	prototype for GdipGetPenLineJoin

svn path=/trunk/mcs/; revision=20702
2003-12-02 20:52:05 +00:00
Gonzalo Paniagua Javier 55061bdcc6 fix typo
svn path=/trunk/mcs/; revision=20701
2003-12-02 20:50:32 +00:00
Gonzalo Paniagua Javier 62da082ea2 added DigestClient
svn path=/trunk/mono/; revision=20700
2003-12-02 20:41:15 +00:00
Gonzalo Paniagua Javier 4fb37c7a1a 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: Modified file.
	* System.Net/DigestClient.cs: initial Digest autothentication. Works
	with apache mod_digest.

svn path=/trunk/mcs/; revision=20699
2003-12-02 20:41:04 +00:00
Rafael Teixeira 09a8e016ce Strings.cs bits
svn path=/trunk/mcs/; revision=20698
2003-12-02 18:34:26 +00:00
Jackson Harper cac132d0e3 * Page.cs: Implemented registered array declarations. Patch by
Benjamin Jemlich <[email protected]>

svn path=/trunk/mcs/; revision=20697
2003-12-02 18:08:51 +00:00
Bernie Solomon 006e31890d 2003-12-02 Bernie Solomon <[email protected]>
* mono-math.c: fix for older C compilers and big endian machines

svn path=/trunk/mono/; revision=20696
2003-12-02 16:46:30 +00:00
Gonzalo Paniagua Javier d7f82b97ab 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: handle FileNotFound and
	DirectoryNotFound exceptions when creating the handler to generate
	a better error page.

	* System.Web/HttpException.cs: display the http_code if available.
	Changed all \n by \r\n to make the hidden stack trace readable.

	* System.Web/StaticFileHandler.cs: don't send the real path in th
	eerror.

	* System.Web.Compilation/AspGenerator.cs: basic checking of ID validity.
	Throw a ParseException when mixing languages.

	* System.Web.UI/TemplateParser.cs: basic check for 'classname' attribute
	and added patch by [email protected] for bug #51568, which fixes automatic
	class names for pages starting with a number.

svn path=/trunk/mcs/; revision=20695
2003-12-02 16:22:05 +00:00
Richard Thombs bb74107e5d Moved TODOAttribute.cs out of the assembly's root directory and into a System
sub-directory as requested.

svn path=/trunk/mcs/; revision=20694
2003-12-02 15:34:52 +00:00
Richard Thombs a8c349349a Finished stubbing ObjectSpaces.Query and updated all 'using' statements to
pick up MonoTODO from the System assembly as recommended.

svn path=/trunk/mcs/; revision=20693
2003-12-02 15:17:36 +00:00
Dick Porter 9278c488f9 This needs to be thread-safe. Spotted by Gonzalo.
svn path=/trunk/mcs/; revision=20692
2003-12-02 13:56:37 +00:00
Dick Porter 793d2afe20 2003-12-02 Dick Porter <[email protected]>
* Thread.cs: Throw InvalidOperationException if Thread.Name is
	already set.

svn path=/trunk/mcs/; revision=20691
2003-12-02 13:04:54 +00:00
Dick Porter bd3e3ba8af 2003-12-02 Dick Porter <[email protected]>
* Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
	Mohammad DAMT ([email protected]), fixes bug 51443.

svn path=/trunk/mcs/; revision=20690
2003-12-02 10:11:05 +00:00
Dick Porter 4762c35660 2003-12-02 Dick Porter <[email protected]>
* locales.c (create_NumberFormat): NumberFormatInfo construction.
	Patch by Mohammad DAMT ([email protected]).

svn path=/trunk/mono/; revision=20689
2003-12-02 10:01:18 +00:00
Dick Porter a1e508222d 2003-12-02 Dick Porter <[email protected]>
* NumberFormatInfo.cs: Helper called by runtime locale
	construction from ICU.  Patch by Mohammad DAMT ([email protected]).

svn path=/trunk/mcs/; revision=20688
2003-12-02 10:00:32 +00:00
Atsushi Eno b358c26633 2003-12-02 Atsushi Enomoto <[email protected]>
* README: tiny fix ;-)

svn path=/trunk/mono/; revision=20687
2003-12-02 07:24:19 +00:00
Atsushi Eno 645ac5c99c 2003-12-02 Atsushi Enomoto <[email protected]>
* Compiler.cs : In FromListString(), it should use default ns,
	  not unqualified one.
	* GenericOutputter.cs : CheckState() - attribute's Prefix should take
	  precedence.  Doctype should be written even if SYSTEM id is absent.
	  Fixed possible multiple xmlns output.
	* HtmlEmitter.cs :
	  - Encoding output using META element.
	  - Doctype name is fixed (html).
	  - Double quotation on PUBLIC and SYSTEM missing.
	  - Fixed incorrect tag name check for IMG.
	  - '>' should not be escaped.
	* XmlWriterEmitter.cs :
	  Added newline before doctype.  In WriteComment(), "--" and tail
	  '-' are not allowed (it escapes, while XmlWriter simply rejects).
	* XslTransformProcessor.cs : cdata-section-elements should enclose
	  direct child tests only.   Added PreserveWhitespace() (incomplete).
	* XsltCompiledContext.cs : Implemented PreserveWhitespace() (incomplete).

svn path=/trunk/mcs/; revision=20686
2003-12-02 05:14:43 +00:00
Atsushi Eno 1418ecebba 2003-12-02 Atsushi Enomoto <[email protected]>
* XslElement.cs, XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs :
	  Modified cdata-section-elements handling.
	* XslAttribute.cs, XslElement.cs : Fixed incorrect prefix handling.
	* XslComment.cs : In case of empty value, don't call value.Evaluate().
	* XslCopyOf.cs : Element node should consider cdata-section elements.

svn path=/trunk/mcs/; revision=20685
2003-12-02 05:13:42 +00:00
Atsushi Eno 0356ee4c30 2003-12-02 Atsushi Enomoto <[email protected]>
* XslTransformImpl.cs : Load(XmlReader) should pass XmlSpace.Preserve
	  to XPathDocument.ctor().

svn path=/trunk/mcs/; revision=20684
2003-12-02 05:12:47 +00:00
Sebastien Pouliot 23ffe2f9c3 2003-12-01 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added Mono.Security.Protocol.Ntlm namespace
	* Mono.Security_test.dll.sources: Added Mono.Security.Protocol.Ntlm unit
	tests.

svn path=/trunk/mcs/; revision=20683
2003-12-02 04:04:25 +00:00
Reggie Burnett 841b93f471 MySql - same pooling bug fixed again!! ;-)
svn path=/trunk/mcs/; revision=20682
2003-12-02 04:03:32 +00:00
Gonzalo Paniagua Javier 92bf49b0f6 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added WebConfigurationSettings.

	* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
	API.

	* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
	as it tries to read configuration settings while the config. system is
	not available (ie, before the first request).

	* System.Web/HttpRuntime.cs: delayed queueManager and response writer
	initialization until the configuration system is working.

	* System.Web.Configuration/GlobalizationConfiguration.cs: return null
	when the configuration is not available.

	* System.Web.Util/WebEncoding.cs: use the Default encoding when the
	globalization configuration is not available.

	* System.Web.Configuration/WebConfigurationSettings.cs: handle
	configuration for System.Web. It replaces the default
	IConfigurationSystem with itself and handles web.config files
	oddities.

	* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
	when GetAttribute is called.

svn path=/trunk/mcs/; revision=20681
2003-12-02 04:00:19 +00:00
Miguel de Icaza 3a492194a9 2003-11-21 Juraj Skripsky <[email protected]>
* quicksearch.cs: Create and use hashtable only for "long" search
	strings.

	(Search): Use simple scan for a single-character search strings.

	(GetChar): Simplify case sensitivity handling.

svn path=/trunk/mcs/; revision=20680
2003-12-02 03:51:03 +00:00
Gonzalo Paniagua Javier a5ddf37045 update changelog
svn path=/trunk/mcs/; revision=20679
2003-12-02 03:46:33 +00:00
Gonzalo Paniagua Javier e3ae67e9dc 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: handle allowdefinition and allowlocation,
	added locks, don't reopen the file for every new section to be read,
	but keep them as strings and build the section handlers with that.

svn path=/trunk/mcs/; revision=20678
2003-12-02 03:45:27 +00:00
Sebastien Pouliot de7338760b 2003-12-01 Sebastien Pouliot <[email protected]>
* ChallengeResponseTest.cs: New. Unit tests for NTLMv1 challenge response.
	* Type1MessageTest.cs: New. Unit tests to encode/decode negotiation messages.
	* Type2MessageTest.cs: New. Unit tests to encode/decode challenge messages.
	* Type3MessageTest.cs: New. Unit tests to encode/decode authentication message.

svn path=/trunk/mcs/; revision=20677
2003-12-02 03:41:49 +00:00
Sebastien Pouliot f5d4134bc9 2003-12-01 Sebastien Pouliot <[email protected]>
* ChallengeResponse.cs: New. Implements the NTLM (v1) Challenge Response.
	* MessageBase.cs: New. Abstract base class for NTLM messages.
	* NtlmFlags.cs: New. All known flags for NTLM.
	* Type1Message.cs: New. Negotiation message.
	* Type2Message.cs: New. Challenge message.
	* Type3Message.cs: New. Authentication message.

svn path=/trunk/mcs/; revision=20676
2003-12-02 03:38:55 +00:00
Reggie Burnett 681d87fc10 Mysql -fixed pooling bug
svn path=/trunk/mcs/; revision=20673
2003-12-02 03:10:33 +00:00
César Natarén 11d9ddc412 added dir jerrors and jtests
svn path=/trunk/mcs/; revision=20672
2003-12-02 00:18:56 +00:00
Jackson Harper 18504bc645 * WebControl.cs: Only allow access keys to be null or a single
char. Patch by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20671
2003-12-01 18:39:50 +00:00
Gonzalo Paniagua Javier 81199691d2 re-added class-status.html (it was empty in go-mono.com). Fixed make clean.
svn path=/trunk/mono/; revision=20670
2003-12-01 18:34:16 +00:00
Jackson Harper ee6bbb7e18 * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
<[email protected]>.

svn path=/trunk/mcs/; revision=20669
2003-12-01 18:07:06 +00:00
Paolo Molaro c899c95afe Mon Dec 1 16:54:05 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, tramp-ppc.c: save FP arguments in the trampoline.
	More FP-related fixes.

svn path=/trunk/mono/; revision=20668
2003-12-01 15:49:54 +00:00
Eran Domb 2fa649a189 Add remarks to ChangeLog.
svn path=/trunk/mcs/; revision=20667
2003-12-01 13:56:54 +00:00
Eran Domb 54a339e689 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
(Add) : Find if the new column name is the same as the one found in IndexOf.
	(IndexOf) : New method.
	(Contains) : Use new IndexOf.
	(IndexOf) : Use new IndexOf.

	* DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
	(DataSetRelationCollection.AddCore) : First add the UniqueConstraint.

	* DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
	(Delete) : Detach row if the RowState was Added.
	(GetChildRows) : Get the array form the ChildTable.
	(GetParentRows) : Get the array from the ParenTable.

	* DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.

	* DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.

	* DataTable.cs (PrimaryKey) : Fix bugs.
	(Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.

	* DataTableCollection.cs (Add) : Fix a bug.

	* ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.

	* MergeManager.cs (AdjustSchema) : Fix a bug.

svn path=/trunk/mcs/; revision=20666
2003-12-01 13:55:13 +00:00
Eran Domb 74f9629a31 ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
(Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
	Some code style changes (tab instead of whit spaces, alignment, etc...).

svn path=/trunk/mcs/; revision=20665
2003-12-01 13:51:25 +00:00
Dick Porter e14a43da4f 2003-12-01 Dick Porter <[email protected]>
* wapi-private.h:
	* mutexes.c (CreateMutex):
	* mutex-private.h (struct _WapiHandle_mutex):
	* handles.c: Look up certain handle types by name, in a shared
	namespace.  Currently only mutex handles have this implemented.
	Fixes bug 51089.

	* semaphores.c (CreateSemaphore):
	* events.c (CreateEvent): Fix signature

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

	* threads.c: Fix signature and call in CreateMutex and
	CreateEvent.

svn path=/trunk/mono/; revision=20664
2003-12-01 12:24:46 +00:00
Dick Porter c72b1a0824 2003-12-01 Dick Porter <[email protected]>
* String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
	Replace, ToLower, ToUpper and Equals use the correct CultureInfo.

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

	* CultureInfo.cs: Culture name creation is case-insensitive.
	Implemented CurrentCulture and CurrentUICulture.

	* CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
	for combining characters.

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

	* Thread.cs: Implement CurrentCulture and CurrentUICulture

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

	* CaseInsensitiveComparer.cs: Construct the default comparers when
	they're needed, to avoid a dependency loop with CultureInfo's
	constructor.

svn path=/trunk/mcs/; revision=20663
2003-12-01 12:04:49 +00:00
Dick Porter fbe73a0c92 2003-12-01 Dick Porter <[email protected]>
* icall.c:
	* locales.c: Implement string compares and searching

	* object.h: Add extra Thread field

svn path=/trunk/mono/; revision=20662
2003-12-01 12:01:39 +00:00
Dick Porter 916f136e4a Fix build
svn path=/trunk/mcs/; revision=20661
2003-12-01 12:00:59 +00:00
Eran Domb 441325cafd Adding remark.
svn path=/trunk/mcs/; revision=20657
2003-12-01 07:20:43 +00:00
3550 changed files with 257081 additions and 98758 deletions

No files matched your search

+3
View File
@@ -17,3 +17,6 @@ stamp-h
stamp-h.in
mono.pc
mono.spec
autom4te.cache
mint.pc
stamp-h1
+127
View File
@@ -1,3 +1,130 @@
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]>
* configure.in, acconfig.h: check for truncl. Disable
version script on MacOSX (see bug #51590 if a check becomes
necessary).
Fri Jan 23 21:26:01 CET 2004 Paolo Molaro <[email protected]>
* configure.in, acconfig.h: added check for socklen_t.
2004-01-22 Zoltan Varga <[email protected]>
* Makefile.am: Do not install mono.pc on platforms without a JIT.
2004-01-21 Zoltan Varga <[email protected]>
* Makefile.am (remove-binaries): Get rid of non-portable >& construct.
2003-12-29 Miguel de Icaza <[email protected]>
* scripts/sn.in: Add sn script.
2004-01-15 Zoltan Varga <[email protected]>
* scripts/Makefile.am: Add al.exe.
* scripts/al.in: New file.
* runtime/Makefile.am: Add al.exe.
2004-01-10 Jackson Harper <[email protected]>
* data/machine.config: Add trace handler (Trace.axd) add trace
configuration handlers.
2004-01-06 Martin Willemoes Hansen <[email protected]>
* doc/books: Added books on Web Services and ASP.NET
2004-01-04 Daniel Morgan <[email protected]>
* monowiz.win32.nsi: update the NSIS installer script for windows
to support NSIS 2.0 rc1 and Mono 0.29
2003-12-22 Bernie Solomon <[email protected]>
* configure.in: missed in my last change
* samples/embed/testi.c: interpreter embedding example
* docs/embedded-api: add info on interpreter embedding
Mon Dec 22 18:27:14 CET 2003 Paolo Molaro <[email protected]>
* configure.in, acconfig.h: use mach semaphores on darwin.
2003-12-22 Bernie Solomon <[email protected]>
* Makefile.am: Create mint.pc
mint.pc.in: Added for embedding the interpreter
2003-12-16 Martin Baulig <[email protected]>
* Makefile.am: In a Makefile.am, comments are started with `#' and
not with `dnl' - I must have been an idiot ...
2003-12-10 Todd Berman <[email protected]>
* configure.in: adding libicu url to the ICU: no message.
2003-12-05 John Luke <[email protected]>
* data/config.in: new dll mapping entry for libgstreamer
2003-12-02 Atsushi Enomoto <[email protected]>
* README: tiny fix ;-)
2003-11-26 Zoltan Varga <[email protected]>
* configure.in: Add -fno-strict-aliasing to CFLAGS.
+13 -8
View File
@@ -1,14 +1,18 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples
SUBDIRS = @libgc_dir@ mono web docs runtime scripts man data samples support
dnl EXTRA_SUBDIRS = libgc
# EXTRA_SUBDIRS = libgc
EXTRA_DIST= mono.pc.in mono.spec.in
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= mono.pc
DISTCLEANFILES= mono.pc
if JIT_SUPPORTED
pkgconfig_DATA= mono.pc mint.pc
else
pkgconfig_DATA= mint.pc
endif
DISTCLEANFILES= mono.pc mint.pc
#
# The following target is used to compile and install
@@ -20,20 +24,21 @@ fullbuild: remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest install
mcs-tree-safe-build:
(cd ../mcs/jay; $(MAKE))
(cd ../mcs/mcs; $(MAKE) MCS=mcs)
(cd ../mcs/class/corlib; $(MAKE) MCS=mcs)
(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
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)
mcs-rest:
(cd ../mcs/class; $(MAKE))
remove-binaries:
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe >& /dev/null; echo
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
win32getdeps:
+101 -4
View File
@@ -8,6 +8,36 @@ This is Mono.
1. Compilation and Installation
===============================
a. Build Requirements
---------------------
To build Mono, you will need the following components:
* pkg-config
Available from: http://www.freedesktop.org/Software/pkgconfig
* glib 2.0
Available from: http://www.gtk.org/
Optional dependencies:
* ICU library
http://oss.software.ibm.com/icu/index.html
You will need this one to get complete support for the international
features of the .NET Framework.
* Cairo and libgdiplus
If you want to get support for System.Drawing, you will need to get
both Libgdiplus and Cairo.
b. Building the Software
------------------------
If you obtained this package as an officially released tarball,
this is very simple, use configure and make:
@@ -15,12 +45,60 @@ This is Mono.
make
make install
If you obtained this as a snapshot, you will need an existing
Mono installation. To upgrade your installation do:
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.
./autogen --prefix=/usr/local
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
./autogen.sh --prefix=/usr/local
make fullbuild
c. Upgrade from CVS
-------------------
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
Compile:
mcs x.cs
And run:
mono x.exe
If you get the output `OK' and no errors, you are ready to start your CVS upgrade.
First, 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
Then compile using the special target `fullbuild':
make fullbuild
This step will compile and install at the same time.
Failure to follow these steps will result in a broken installation.
2. Using Mono
=============
@@ -47,7 +125,13 @@ This is Mono.
====================
doc/
Contains documentation and the web site contents.
Contains the web site contents.
docs/
Technical documents about the Mono runtime.
data/
Configuration files installed as part of the Mono runtime.
mono/
The core of the Mono Runtime.
@@ -78,4 +162,17 @@ This is Mono.
arch/
Architecture specific portions.
man/
Manual pages for the various Mono commands and programs.
scripts/
Scripts used to invoke Mono and the corresponding program.
runtime/
A directory holding a pre-compiled version of the Mono
runtime.
+6
View File
@@ -25,8 +25,14 @@
#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
#undef HAVE_KW_THREAD
#undef HAVE_SIGNBIT
#undef USE_MACH_SEMA
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_WORKING_SIGALTSTACK
+128 -20
View File
@@ -1,15 +1,13 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* config.h.in. Generated from configure.in by autoheader. */
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_MSG_NOSIGNAL
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_SOL_IPV6
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_STRUCT_IP_MREQ
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
@@ -18,34 +16,144 @@
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
#undef USE_INCLUDED_LIBGC
#undef DISABLE_SHARED_HANDLES
#undef HAVE_TIMEZONE
#undef HAVE_TM_GMTOFF
#undef MONO_SIZEOF_SUNPATH
#undef 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
#undef HAVE_KW_THREAD
#undef HAVE_SIGNBIT
#undef USE_MACH_SEMA
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_WORKING_SIGALTSTACK
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define to 1 if you have the <aio.h> header file. */
#undef HAVE_AIO_H
/* 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. */
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if you have the <netdb.h> header file. */
/* Define to 1 if you have the <elf.h> header file. */
#undef HAVE_ELF_H
/* Define to 1 if you have the `finite' function. */
#undef HAVE_FINITE
/* Define to 1 if you have the <gc/gc.h> header file. */
#undef HAVE_GC_GC_H
/* Define to 1 if you have the <gc.h> header file. */
#undef HAVE_GC_H
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON
/* Define to 1 if you have the `inet_pton' function. */
#undef HAVE_INET_PTON
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `isfinite' function. */
#undef HAVE_ISFINITE
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define if you have the <sys/filio.h> header file. */
/* Define to 1 if you have the `poll' function. */
#undef HAVE_POLL
/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
/* Define to 1 if you have the `pthread_mutex_timedlock' function. */
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
/* Define to 1 if you have the <semaphore.h> header file. */
#undef HAVE_SEMAPHORE_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define if you have the <sys/sockio.h> header file. */
/* Define to 1 if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define if you have the <utime.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/un.h> header file. */
#undef HAVE_SYS_UN_H
/* Define to 1 if you have the `truncl' function. */
#undef HAVE_TRUNCL
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
#undef HAVE_VALGRIND_MEMCHECK_H
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
+107 -6
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.29)
AM_INIT_AUTOMAKE(mono,0.31)
AM_MAINTAINER_MODE
dnl
@@ -27,6 +27,9 @@ libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
dnl if linker handles the version script
no_version_script=no
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
libgc_threads=no
@@ -97,6 +100,8 @@ case "$host" in
libmono_ldflags="-pthread"
AC_DEFINE(NEED_LINK_UNLINK)
AC_DEFINE(PTHREAD_POINTER_ID)
AC_DEFINE(USE_MACH_SEMA)
no_version_script=yes
libdl=
libgc_threads=no
gc_default=none
@@ -109,6 +114,7 @@ case "$host" in
esac
AC_MSG_RESULT(ok)
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
@@ -220,7 +226,15 @@ 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])
if test x$with_sigaltstack = "xyes"; then
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
fi
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
@@ -254,6 +268,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)
@@ -275,6 +293,7 @@ case "x$gc" in
# The included libgc contains GCJ support
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
AC_DEFINE(HAVE_GC_ENABLE)
;;
xnone)
@@ -463,6 +482,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 *****************************
@@ -588,7 +609,7 @@ if test x$platform_win32 = xno; then
return !(res1 + res2 == 2);
}
], [
if test "x$with_nptl" = "x"; then
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_MSG_RESULT(yes)
@@ -665,11 +686,46 @@ if test x$platform_win32 = xno; then
], [
AC_MSG_RESULT(no)
])
dnl *********************
dnl *** Check for AIO ***
dnl *********************
AC_CHECK_HEADERS(aio.h)
AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
else
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
fi
dnl socklen_t check
AC_MSG_CHECKING(for socklen_t)
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
],[
socklen_t foo;
],[
ac_cv_c_socklen_t=yes
AC_DEFINE(HAVE_SOCKLEN_T)
AC_MSG_RESULT(yes)
],[
AC_MSG_RESULT(no)
])
AC_CHECK_FUNCS(truncl, , AC_MSG_CHECKING(for truncl in math.h)
AC_TRY_LINK([#include <math.h>],
[ truncl(0.0); ],
[
AC_DEFINE(HAVE_TRUNCL)
AC_MSG_RESULT(yes)
ac_cv_truncl=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 ****************************
@@ -749,6 +805,7 @@ 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)
@@ -764,6 +821,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;
@@ -773,11 +831,19 @@ case "$host" in
TARGET=X86;
arch_target=x86;
JIT_SUPPORTED=yes
jit_wanted=true
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=x86-64;
JIT_SUPPORTED=no
;;
sparc*-*-*)
TARGET=SPARC;
arch_target=sparc;
JIT_SUPPORTED=yes
ACCESS_UNALIGNED="no"
jit_wanted=true
;;
# alpha*-*-linux* | alpha*-*-osf*)
# TARGET=ALPHA;
@@ -819,6 +885,33 @@ case "$host" in
;;
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"
;;
esac
AC_SUBST(libsuffix)
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
@@ -851,6 +944,7 @@ 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)
@@ -870,6 +964,7 @@ AC_SUBST(LDFLAGS)
AC_OUTPUT([
Makefile
mint.pc
mono.pc
mono/Makefile
mono/utils/Makefile
@@ -881,6 +976,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
@@ -900,16 +996,21 @@ mono/profiler/Makefile
runtime/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
web/Makefile
docs/Makefile
data/Makefile
samples/Makefile
support/Makefile
data/config
mono.spec
])
echo "
GC: $gc
ICU: $enable_icu
GC: $gc
ICU: $enable_icu
NPTL: $with_nptl
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
"
+1
View File
@@ -2,3 +2,4 @@ Makefile.in
Makefile
config
.cvsignore
browscap.ini
+855 -8
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" %>
@@ -86,7 +86,9 @@ void BuildOperationInfo ()
InParams = new ArrayList ();
OutParams = new ArrayList ();
Binding binding = FindBinding (CurrentOperationBinding);
Port port = FindPort (CurrentOperationBinding, null);
Binding binding = descriptions.GetBinding (port.Binding);
PortType portType = descriptions.GetPortType (binding.Type);
Operation oper = FindOperation (portType, CurrentOperationName);
@@ -229,15 +231,33 @@ ArrayList FindServiceProtocols(string operName)
return table;
}
Binding FindBinding (string portName)
Port FindPort (string portName, string protocol)
{
Service service = descriptions[0].Services[0];
foreach (Port port in service.Ports)
if (port.Name == portName)
return descriptions.GetBinding (port.Binding);
{
if (portName == null)
{
Binding binding = descriptions.GetBinding (port.Binding);
if (GetProtocol (binding) == protocol) return port;
}
else if (port.Name == portName)
return port;
}
return null;
}
string GetProtocol (Binding binding)
{
if (binding.Extensions.Find (typeof(SoapBinding)) != null) return "Soap";
HttpBinding hb = (HttpBinding) binding.Extensions.Find (typeof(HttpBinding));
if (hb == null) return "";
if (hb.Verb == "POST") return "HttpPost";
if (hb.Verb == "GET") return "HttpGet";
return "";
}
Operation FindOperation (PortType portType, string name)
{
foreach (Operation oper in portType.Operations) {
@@ -339,6 +359,40 @@ string GetTestResult ()
}
}
string GenerateOperationMessages (string protocol, bool generateInput)
{
if (!IsOperationSupported (protocol)) return "";
Port port;
if (protocol != "Soap") port = FindPort (null, protocol);
else port = FindPort (CurrentOperationBinding, null);
Binding binding = descriptions.GetBinding (port.Binding);
OperationBinding obin = FindOperation (binding, CurrentOperationName);
PortType portType = descriptions.GetPortType (binding.Type);
Operation oper = FindOperation (portType, CurrentOperationName);
HtmlSampleGenerator sg = new HtmlSampleGenerator (descriptions, schemas);
string txt = sg.GenerateMessage (port, obin, oper, protocol, generateInput);
if (protocol == "Soap") txt = WrapText (txt,CodeTextColumns);
txt = ColorizeXml (txt);
txt = txt.Replace ("@placeholder!","<span class='literal-placeholder'>");
txt = txt.Replace ("!placeholder@","</span>");
return txt;
}
bool IsOperationSupported (string protocol)
{
if (CurrentPage != "op" || CurrentTab != "msg") return false;
if (protocol == "Soap") return true;
Port port = FindPort (null, protocol);
if (port == null) return false;
Binding binding = descriptions.GetBinding (port.Binding);
if (binding == null) return false;
return FindOperation (binding, CurrentOperationName) != null;
}
//
// Proxy code generation
//
@@ -688,9 +742,762 @@ class Parameter
public string Description { get { return description; } set { description = value; } }
}
public class HtmlSampleGenerator: SampleGenerator
{
public HtmlSampleGenerator (ServiceDescriptionCollection services, XmlSchemas schemas)
: base (services, schemas)
{
}
protected override string GetLiteral (string s)
{
return "@placeholder!" + s + "!placeholder@";
}
}
public class SampleGenerator
{
protected ServiceDescriptionCollection descriptions;
protected XmlSchemas schemas;
XmlSchemaElement anyElement;
ArrayList queue;
SoapBindingUse currentUse;
XmlDocument document = new XmlDocument ();
static readonly XmlQualifiedName anyType = new XmlQualifiedName ("anyType",XmlSchema.Namespace);
static readonly XmlQualifiedName arrayType = new XmlQualifiedName ("Array","http://schemas.xmlsoap.org/soap/encoding/");
static readonly XmlQualifiedName arrayTypeRefName = new XmlQualifiedName ("arrayType","http://schemas.xmlsoap.org/soap/encoding/");
const string SoapEnvelopeNamespace = "http://schemas.xmlsoap.org/soap/envelope/";
const string WsdlNamespace = "http://schemas.xmlsoap.org/wsdl/";
const string SoapEncodingNamespace = "http://schemas.xmlsoap.org/soap/encoding/";
class EncodedType
{
public EncodedType (string ns, XmlSchemaElement elem) { Namespace = ns; Element = elem; }
public string Namespace;
public XmlSchemaElement Element;
}
public SampleGenerator (ServiceDescriptionCollection services, XmlSchemas schemas)
{
descriptions = services;
this.schemas = schemas;
queue = new ArrayList ();
}
public string GenerateMessage (Port port, OperationBinding obin, Operation oper, string protocol, bool generateInput)
{
OperationMessage msg = null;
foreach (OperationMessage opm in oper.Messages)
{
if (opm is OperationInput && generateInput) msg = opm;
else if (opm is OperationOutput && !generateInput) msg = opm;
}
if (msg == null) return null;
switch (protocol) {
case "Soap": return GenerateHttpSoapMessage (port, obin, oper, msg);
case "HttpGet": return GenerateHttpGetMessage (port, obin, oper, msg);
case "HttpPost": return GenerateHttpPostMessage (port, obin, oper, msg);
}
return "Unknown protocol";
}
public string GenerateHttpSoapMessage (Port port, OperationBinding obin, Operation oper, OperationMessage msg)
{
string req = "";
if (msg is OperationInput)
{
SoapAddressBinding sab = port.Extensions.Find (typeof(SoapAddressBinding)) as SoapAddressBinding;
SoapOperationBinding sob = obin.Extensions.Find (typeof(SoapOperationBinding)) as SoapOperationBinding;
req += "POST " + new Uri (sab.Location).AbsolutePath + "\n";
req += "SOAPAction: " + sob.SoapAction + "\n";
req += "Content-Type: text/xml; charset=utf-8\n";
req += "Content-Length: " + GetLiteral ("string") + "\n";
req += "Host: " + GetLiteral ("string") + "\n\n";
}
else
{
req += "HTTP/1.0 200 OK\n";
req += "Content-Type: text/xml; charset=utf-8\n";
req += "Content-Length: " + GetLiteral ("string") + "\n\n";
}
req += GenerateSoapMessage (obin, oper, msg);
return req;
}
public string GenerateHttpGetMessage (Port port, OperationBinding obin, Operation oper, OperationMessage msg)
{
string req = "";
if (msg is OperationInput)
{
HttpAddressBinding sab = port.Extensions.Find (typeof(HttpAddressBinding)) as HttpAddressBinding;
HttpOperationBinding sob = obin.Extensions.Find (typeof(HttpOperationBinding)) as HttpOperationBinding;
string location = new Uri (sab.Location).AbsolutePath + sob.Location + "?" + BuildQueryString (msg);
req += "GET " + location + "\n";
req += "Host: " + GetLiteral ("string");
}
else
{
req += "HTTP/1.0 200 OK\n";
req += "Content-Type: text/xml; charset=utf-8\n";
req += "Content-Length: " + GetLiteral ("string") + "\n\n";
MimeXmlBinding mxb = (MimeXmlBinding) obin.Output.Extensions.Find (typeof(MimeXmlBinding)) as MimeXmlBinding;
if (mxb == null) return req;
Message message = descriptions.GetMessage (msg.Message);
XmlQualifiedName ename = null;
foreach (MessagePart part in message.Parts)
if (part.Name == mxb.Part) ename = part.Element;
if (ename == null) return req + GetLiteral("string");
StringWriter sw = new StringWriter ();
XmlTextWriter xtw = new XmlTextWriter (sw);
xtw.Formatting = Formatting.Indented;
currentUse = SoapBindingUse.Literal;
WriteRootElementSample (xtw, ename);
xtw.Close ();
req += sw.ToString ();
}
return req;
}
public string GenerateHttpPostMessage (Port port, OperationBinding obin, Operation oper, OperationMessage msg)
{
string req = "";
if (msg is OperationInput)
{
HttpAddressBinding sab = port.Extensions.Find (typeof(HttpAddressBinding)) as HttpAddressBinding;
HttpOperationBinding sob = obin.Extensions.Find (typeof(HttpOperationBinding)) as HttpOperationBinding;
string location = new Uri (sab.Location).AbsolutePath + sob.Location;
req += "POST " + location + "\n";
req += "Content-Type: application/x-www-form-urlencoded\n";
req += "Content-Length: " + GetLiteral ("string") + "\n";
req += "Host: " + GetLiteral ("string") + "\n\n";
req += BuildQueryString (msg);
}
else return GenerateHttpGetMessage (port, obin, oper, msg);
return req;
}
string BuildQueryString (OperationMessage opm)
{
string s = "";
Message msg = descriptions.GetMessage (opm.Message);
foreach (MessagePart part in msg.Parts)
{
if (s.Length != 0) s += "&";
s += part.Name + "=" + GetLiteral (part.Type.Name);
}
return s;
}
public string GenerateSoapMessage (OperationBinding obin, Operation oper, OperationMessage msg)
{
SoapOperationBinding sob = obin.Extensions.Find (typeof(SoapOperationBinding)) as SoapOperationBinding;
SoapBindingStyle style = (sob != null) ? sob.Style : SoapBindingStyle.Document;
MessageBinding msgbin = (msg is OperationInput) ? (MessageBinding) obin.Input : (MessageBinding)obin.Output;
SoapBodyBinding sbb = msgbin.Extensions.Find (typeof(SoapBodyBinding)) as SoapBodyBinding;
SoapBindingUse bodyUse = (sbb != null) ? sbb.Use : SoapBindingUse.Literal;
StringWriter sw = new StringWriter ();
XmlTextWriter xtw = new XmlTextWriter (sw);
xtw.Formatting = Formatting.Indented;
xtw.WriteStartDocument ();
xtw.WriteStartElement ("soap", "Envelope", SoapEnvelopeNamespace);
xtw.WriteAttributeString ("xmlns", "xsi", null, XmlSchema.InstanceNamespace);
xtw.WriteAttributeString ("xmlns", "xsd", null, XmlSchema.Namespace);
if (bodyUse == SoapBindingUse.Encoded)
{
xtw.WriteAttributeString ("xmlns", "soapenc", null, SoapEncodingNamespace);
xtw.WriteAttributeString ("xmlns", "tns", null, msg.Message.Namespace);
}
// Serialize headers
foreach (object ob in msgbin.Extensions)
{
SoapHeaderBinding hb = ob as SoapHeaderBinding;
if (hb == null) continue;
xtw.WriteStartElement ("soap", "Header", SoapEnvelopeNamespace);
WriteHeader (xtw, hb);
xtw.WriteEndElement ();
}
// Serialize body
xtw.WriteStartElement ("soap", "Body", SoapEnvelopeNamespace);
currentUse = bodyUse;
WriteBody (xtw, oper, msg, sbb, style);
xtw.WriteEndElement ();
xtw.WriteEndElement ();
xtw.Close ();
return sw.ToString ();
}
void WriteHeader (XmlTextWriter xtw, SoapHeaderBinding header)
{
Message msg = descriptions.GetMessage (header.Message);
if (msg == null) throw new InvalidOperationException ("Message " + header.Message + " not found");
MessagePart part = msg.Parts [header.Part];
if (part == null) throw new InvalidOperationException ("Message part " + header.Part + " not found in message " + header.Message);
currentUse = header.Use;
if (currentUse == SoapBindingUse.Literal)
WriteRootElementSample (xtw, part.Element);
else
WriteTypeSample (xtw, part.Type);
}
void WriteBody (XmlTextWriter xtw, Operation oper, OperationMessage opm, SoapBodyBinding sbb, SoapBindingStyle style)
{
Message msg = descriptions.GetMessage (opm.Message);
if (msg.Parts.Count > 0 && msg.Parts[0].Name == "parameters")
{
MessagePart part = msg.Parts[0];
if (part.Element == XmlQualifiedName.Empty)
WriteTypeSample (xtw, part.Type);
else
WriteRootElementSample (xtw, part.Element);
}
else
{
string elemName = oper.Name;
string ns = "";
if (opm is OperationOutput) elemName += "Response";
if (style == SoapBindingStyle.Rpc) {
xtw.WriteStartElement (elemName, sbb.Namespace);
ns = sbb.Namespace;
}
foreach (MessagePart part in msg.Parts)
{
if (part.Element == XmlQualifiedName.Empty)
{
XmlSchemaElement elem = new XmlSchemaElement ();
elem.SchemaTypeName = part.Type;
elem.Name = part.Name;
WriteElementSample (xtw, ns, elem);
}
else
WriteRootElementSample (xtw, part.Element);
}
if (style == SoapBindingStyle.Rpc)
xtw.WriteEndElement ();
}
WriteQueuedTypeSamples (xtw);
}
void WriteRootElementSample (XmlTextWriter xtw, XmlQualifiedName qname)
{
XmlSchemaElement elem = (XmlSchemaElement) schemas.Find (qname, typeof(XmlSchemaElement));
if (elem == null) throw new InvalidOperationException ("Element not found: " + qname);
WriteElementSample (xtw, qname.Namespace, elem);
}
void WriteElementSample (XmlTextWriter xtw, string ns, XmlSchemaElement elem)
{
bool sharedAnnType = false;
XmlQualifiedName root;
if (!elem.RefName.IsEmpty) {
XmlSchemaElement refElem = FindRefElement (elem);
if (refElem == null) throw new InvalidOperationException ("Global element not found: " + elem.RefName);
root = elem.RefName;
elem = refElem;
sharedAnnType = true;
}
else
root = new XmlQualifiedName (elem.Name, ns);
if (!elem.SchemaTypeName.IsEmpty)
{
XmlSchemaComplexType st = FindComplexTyype (elem.SchemaTypeName);
if (st != null)
WriteComplexTypeSample (xtw, st, root);
else
{
xtw.WriteStartElement (root.Name, root.Namespace);
if (currentUse == SoapBindingUse.Encoded)
xtw.WriteAttributeString ("type", XmlSchema.InstanceNamespace, GetQualifiedNameString (xtw, elem.SchemaTypeName));
xtw.WriteString (GetLiteral (FindBuiltInType (elem.SchemaTypeName)));
xtw.WriteEndElement ();
}
}
else if (elem.SchemaType == null)
{
xtw.WriteStartElement ("any");
xtw.WriteEndElement ();
}
else
WriteComplexTypeSample (xtw, (XmlSchemaComplexType) elem.SchemaType, root);
}
void WriteTypeSample (XmlTextWriter xtw, XmlQualifiedName qname)
{
XmlSchemaComplexType ctype = FindComplexTyype (qname);
if (ctype != null) {
WriteComplexTypeSample (xtw, ctype, qname);
return;
}
XmlSchemaSimpleType stype = (XmlSchemaSimpleType) schemas.Find (qname, typeof(XmlSchemaSimpleType));
if (stype != null) {
WriteSimpleTypeSample (xtw, stype);
return;
}
xtw.WriteString (GetLiteral (FindBuiltInType (qname)));
throw new InvalidOperationException ("Type not found: " + qname);
}
void WriteComplexTypeSample (XmlTextWriter xtw, XmlSchemaComplexType stype, XmlQualifiedName rootName)
{
WriteComplexTypeSample (xtw, stype, rootName, -1);
}
void WriteComplexTypeSample (XmlTextWriter xtw, XmlSchemaComplexType stype, XmlQualifiedName rootName, int id)
{
string ns = rootName.Namespace;
if (rootName.Name.IndexOf ("[]") != -1) rootName = arrayType;
if (currentUse == SoapBindingUse.Encoded) {
string pref = xtw.LookupPrefix (rootName.Namespace);
if (pref == null) pref = "q1";
xtw.WriteStartElement (pref, rootName.Name, rootName.Namespace);
ns = "";
}
else
xtw.WriteStartElement (rootName.Name, rootName.Namespace);
if (id != -1)
{
xtw.WriteAttributeString ("id", "id" + id);
if (rootName != arrayType)
xtw.WriteAttributeString ("type", XmlSchema.InstanceNamespace, GetQualifiedNameString (xtw, rootName));
}
WriteComplexTypeAttributes (xtw, stype);
WriteComplexTypeElements (xtw, ns, stype);
xtw.WriteEndElement ();
}
void WriteComplexTypeAttributes (XmlTextWriter xtw, XmlSchemaComplexType stype)
{
WriteAttributes (xtw, stype.Attributes, stype.AnyAttribute);
}
void WriteComplexTypeElements (XmlTextWriter xtw, string ns, XmlSchemaComplexType stype)
{
if (stype.Particle != null)
WriteParticleComplexContent (xtw, ns, stype.Particle);
else
{
if (stype.ContentModel is XmlSchemaSimpleContent)
WriteSimpleContent (xtw, (XmlSchemaSimpleContent)stype.ContentModel);
else if (stype.ContentModel is XmlSchemaComplexContent)
WriteComplexContent (xtw, ns, (XmlSchemaComplexContent)stype.ContentModel);
}
}
void WriteAttributes (XmlTextWriter xtw, XmlSchemaObjectCollection atts, XmlSchemaAnyAttribute anyat)
{
foreach (XmlSchemaObject at in atts)
{
if (at is XmlSchemaAttribute)
{
string ns;
XmlSchemaAttribute attr = (XmlSchemaAttribute)at;
XmlSchemaAttribute refAttr = attr;
// refAttr.Form; TODO
if (!attr.RefName.IsEmpty) {
refAttr = FindRefAttribute (attr.RefName);
if (refAttr == null) throw new InvalidOperationException ("Global attribute not found: " + attr.RefName);
}
string val;
if (!refAttr.SchemaTypeName.IsEmpty) val = FindBuiltInType (refAttr.SchemaTypeName);
else val = FindBuiltInType ((XmlSchemaSimpleType) refAttr.SchemaType);
xtw.WriteAttributeString (refAttr.Name, val);
}
else if (at is XmlSchemaAttributeGroupRef)
{
XmlSchemaAttributeGroupRef gref = (XmlSchemaAttributeGroupRef)at;
XmlSchemaAttributeGroup grp = (XmlSchemaAttributeGroup) schemas.Find (gref.RefName, typeof(XmlSchemaAttributeGroup));
WriteAttributes (xtw, grp.Attributes, grp.AnyAttribute);
}
}
if (anyat != null)
xtw.WriteAttributeString ("custom-attribute","value");
}
void WriteParticleComplexContent (XmlTextWriter xtw, string ns, XmlSchemaParticle particle)
{
WriteParticleContent (xtw, ns, particle, false);
}
void WriteParticleContent (XmlTextWriter xtw, string ns, XmlSchemaParticle particle, bool multiValue)
{
if (particle is XmlSchemaGroupRef)
particle = GetRefGroupParticle ((XmlSchemaGroupRef)particle);
if (particle.MaxOccurs > 1) multiValue = true;
if (particle is XmlSchemaSequence) {
WriteSequenceContent (xtw, ns, ((XmlSchemaSequence)particle).Items, multiValue);
}
else if (particle is XmlSchemaChoice) {
if (((XmlSchemaChoice)particle).Items.Count == 1)
WriteSequenceContent (xtw, ns, ((XmlSchemaChoice)particle).Items, multiValue);
else
WriteChoiceContent (xtw, ns, (XmlSchemaChoice)particle, multiValue);
}
else if (particle is XmlSchemaAll) {
WriteSequenceContent (xtw, ns, ((XmlSchemaAll)particle).Items, multiValue);
}
}
void WriteSequenceContent (XmlTextWriter xtw, string ns, XmlSchemaObjectCollection items, bool multiValue)
{
foreach (XmlSchemaObject item in items)
WriteContentItem (xtw, ns, item, multiValue);
}
void WriteContentItem (XmlTextWriter xtw, string ns, XmlSchemaObject item, bool multiValue)
{
if (item is XmlSchemaGroupRef)
item = GetRefGroupParticle ((XmlSchemaGroupRef)item);
if (item is XmlSchemaElement)
{
XmlSchemaElement elem = (XmlSchemaElement) item;
XmlSchemaElement refElem;
if (!elem.RefName.IsEmpty) refElem = FindRefElement (elem);
else refElem = elem;
int num = (elem.MaxOccurs == 1 && !multiValue) ? 1 : 2;
for (int n=0; n<num; n++)
{
if (currentUse == SoapBindingUse.Literal)
WriteElementSample (xtw, ns, refElem);
else
WriteRefTypeSample (xtw, ns, refElem);
}
}
else if (item is XmlSchemaAny)
{
xtw.WriteString (GetLiteral ("xml"));
}
else if (item is XmlSchemaParticle) {
WriteParticleContent (xtw, ns, (XmlSchemaParticle)item, multiValue);
}
}
void WriteChoiceContent (XmlTextWriter xtw, string ns, XmlSchemaChoice choice, bool multiValue)
{
foreach (XmlSchemaObject item in choice.Items)
WriteContentItem (xtw, ns, item, multiValue);
}
void WriteSimpleContent (XmlTextWriter xtw, XmlSchemaSimpleContent content)
{
XmlSchemaSimpleContentExtension ext = content.Content as XmlSchemaSimpleContentExtension;
if (ext != null)
WriteAttributes (xtw, ext.Attributes, ext.AnyAttribute);
XmlQualifiedName qname = GetContentBaseType (content.Content);
xtw.WriteString (GetLiteral (FindBuiltInType (qname)));
}
string FindBuiltInType (XmlQualifiedName qname)
{
if (qname.Namespace == XmlSchema.Namespace)
return qname.Name;
XmlSchemaComplexType ct = FindComplexTyype (qname);
if (ct != null)
{
XmlSchemaSimpleContent sc = ct.ContentModel as XmlSchemaSimpleContent;
if (sc == null) throw new InvalidOperationException ("Invalid schema");
return FindBuiltInType (GetContentBaseType (sc.Content));
}
XmlSchemaSimpleType st = (XmlSchemaSimpleType) schemas.Find (qname, typeof(XmlSchemaSimpleType));
if (st != null)
return FindBuiltInType (st);
throw new InvalidOperationException ("Definition of type " + qname + " not found");
}
string FindBuiltInType (XmlSchemaSimpleType st)
{
if (st.Content is XmlSchemaSimpleTypeRestriction) {
return FindBuiltInType (GetContentBaseType (st.Content));
}
else if (st.Content is XmlSchemaSimpleTypeList) {
string s = FindBuiltInType (GetContentBaseType (st.Content));
return s + " " + s + " ...";
}
else if (st.Content is XmlSchemaSimpleTypeUnion)
{
//Check if all types of the union are equal. If not, then will use anyType.
XmlSchemaSimpleTypeUnion uni = (XmlSchemaSimpleTypeUnion) st.Content;
string utype = null;
// Anonymous types are unique
if (uni.BaseTypes.Count != 0 && uni.MemberTypes.Length != 0)
return "string";
foreach (XmlQualifiedName mt in uni.MemberTypes)
{
string qn = FindBuiltInType (mt);
if (utype != null && qn != utype) return "string";
else utype = qn;
}
return utype;
}
else
return "string";
}
XmlQualifiedName GetContentBaseType (XmlSchemaObject ob)
{
if (ob is XmlSchemaSimpleContentExtension)
return ((XmlSchemaSimpleContentExtension)ob).BaseTypeName;
else if (ob is XmlSchemaSimpleContentRestriction)
return ((XmlSchemaSimpleContentRestriction)ob).BaseTypeName;
else if (ob is XmlSchemaSimpleTypeRestriction)
return ((XmlSchemaSimpleTypeRestriction)ob).BaseTypeName;
else if (ob is XmlSchemaSimpleTypeList)
return ((XmlSchemaSimpleTypeList)ob).ItemTypeName;
else
return null;
}
void WriteComplexContent (XmlTextWriter xtw, string ns, XmlSchemaComplexContent content)
{
XmlQualifiedName qname;
XmlSchemaComplexContentExtension ext = content.Content as XmlSchemaComplexContentExtension;
if (ext != null) qname = ext.BaseTypeName;
else {
XmlSchemaComplexContentRestriction rest = (XmlSchemaComplexContentRestriction)content.Content;
qname = rest.BaseTypeName;
if (qname == arrayType) {
ParseArrayType (rest, out qname);
XmlSchemaElement elem = new XmlSchemaElement ();
elem.Name = "Item";
elem.SchemaTypeName = qname;
xtw.WriteAttributeString ("arrayType", SoapEncodingNamespace, qname.Name + "[2]");
WriteContentItem (xtw, ns, elem, true);
return;
}
}
// Add base map members to this map
XmlSchemaComplexType ctype = FindComplexTyype (qname);
WriteComplexTypeAttributes (xtw, ctype);
if (ext != null) {
// Add the members of this map
WriteAttributes (xtw, ext.Attributes, ext.AnyAttribute);
if (ext.Particle != null)
WriteParticleComplexContent (xtw, ns, ext.Particle);
}
WriteComplexTypeElements (xtw, ns, ctype);
}
void ParseArrayType (XmlSchemaComplexContentRestriction rest, out XmlQualifiedName qtype)
{
XmlSchemaAttribute arrayTypeAt = FindArrayAttribute (rest.Attributes);
XmlAttribute[] uatts = arrayTypeAt.UnhandledAttributes;
if (uatts == null || uatts.Length == 0) throw new InvalidOperationException ("arrayType attribute not specified in array declaration");
XmlAttribute xat = null;
foreach (XmlAttribute at in uatts)
if (at.LocalName == "arrayType" && at.NamespaceURI == WsdlNamespace)
{ xat = at; break; }
if (xat == null)
throw new InvalidOperationException ("arrayType attribute not specified in array declaration");
string arrayType = xat.Value;
string type, ns;
int i = arrayType.LastIndexOf (":");
if (i == -1) ns = "";
else ns = arrayType.Substring (0,i);
int j = arrayType.IndexOf ("[", i+1);
if (j == -1) throw new InvalidOperationException ("Cannot parse WSDL array type: " + arrayType);
type = arrayType.Substring (i+1);
type = type.Substring (0, type.Length-2);
qtype = new XmlQualifiedName (type, ns);
}
XmlSchemaAttribute FindArrayAttribute (XmlSchemaObjectCollection atts)
{
foreach (object ob in atts)
{
XmlSchemaAttribute att = ob as XmlSchemaAttribute;
if (att != null && att.RefName == arrayTypeRefName) return att;
XmlSchemaAttributeGroupRef gref = ob as XmlSchemaAttributeGroupRef;
if (gref != null)
{
XmlSchemaAttributeGroup grp = (XmlSchemaAttributeGroup) schemas.Find (gref.RefName, typeof(XmlSchemaAttributeGroup));
att = FindArrayAttribute (grp.Attributes);
if (att != null) return att;
}
}
return null;
}
void WriteSimpleTypeSample (XmlTextWriter xtw, XmlSchemaSimpleType stype)
{
xtw.WriteString (GetLiteral (FindBuiltInType (stype)));
}
XmlSchemaParticle GetRefGroupParticle (XmlSchemaGroupRef refGroup)
{
XmlSchemaGroup grp = (XmlSchemaGroup) schemas.Find (refGroup.RefName, typeof (XmlSchemaGroup));
return grp.Particle;
}
XmlSchemaElement FindRefElement (XmlSchemaElement elem)
{
if (elem.RefName.Namespace == XmlSchema.Namespace)
{
if (anyElement != null) return anyElement;
anyElement = new XmlSchemaElement ();
anyElement.Name = "any";
anyElement.SchemaTypeName = anyType;
return anyElement;
}
return (XmlSchemaElement) schemas.Find (elem.RefName, typeof(XmlSchemaElement));
}
XmlSchemaAttribute FindRefAttribute (XmlQualifiedName refName)
{
if (refName.Namespace == XmlSchema.Namespace)
{
XmlSchemaAttribute at = new XmlSchemaAttribute ();
at.Name = refName.Name;
at.SchemaTypeName = new XmlQualifiedName ("string",XmlSchema.Namespace);
return at;
}
return (XmlSchemaAttribute) schemas.Find (refName, typeof(XmlSchemaAttribute));
}
void WriteRefTypeSample (XmlTextWriter xtw, string ns, XmlSchemaElement elem)
{
if (elem.SchemaTypeName.Namespace == XmlSchema.Namespace || schemas.Find (elem.SchemaTypeName, typeof(XmlSchemaSimpleType)) != null)
WriteElementSample (xtw, ns, elem);
else
{
xtw.WriteStartElement (elem.Name, ns);
xtw.WriteAttributeString ("href", "#id" + (queue.Count+1));
xtw.WriteEndElement ();
queue.Add (new EncodedType (ns, elem));
}
}
void WriteQueuedTypeSamples (XmlTextWriter xtw)
{
for (int n=0; n<queue.Count; n++)
{
EncodedType ec = (EncodedType) queue[n];
XmlSchemaComplexType st = FindComplexTyype (ec.Element.SchemaTypeName);
WriteComplexTypeSample (xtw, st, ec.Element.SchemaTypeName, n+1);
}
}
XmlSchemaComplexType FindComplexTyype (XmlQualifiedName qname)
{
if (qname.Name.IndexOf ("[]") != -1)
{
XmlSchemaComplexType stype = new XmlSchemaComplexType ();
stype.ContentModel = new XmlSchemaComplexContent ();
XmlSchemaComplexContentRestriction res = new XmlSchemaComplexContentRestriction ();
stype.ContentModel.Content = res;
res.BaseTypeName = arrayType;
XmlSchemaAttribute att = new XmlSchemaAttribute ();
att.RefName = arrayTypeRefName;
res.Attributes.Add (att);
XmlAttribute xat = document.CreateAttribute ("arrayType", WsdlNamespace);
xat.Value = qname.Namespace + ":" + qname.Name;
att.UnhandledAttributes = new XmlAttribute[] {xat};
return stype;
}
return (XmlSchemaComplexType) schemas.Find (qname, typeof(XmlSchemaComplexType));
}
string GetQualifiedNameString (XmlTextWriter xtw, XmlQualifiedName qname)
{
string pref = xtw.LookupPrefix (qname.Namespace);
if (pref != null) return pref + ":" + qname.Name;
xtw.WriteAttributeString ("xmlns", "q1", null, qname.Namespace);
return "q1:" + qname.Name;
}
protected virtual string GetLiteral (string s)
{
return s;
}
void GetOperationFormat (OperationBinding obin, out SoapBindingStyle style, out SoapBindingUse use)
{
style = SoapBindingStyle.Document;
use = SoapBindingUse.Literal;
SoapOperationBinding sob = obin.Extensions.Find (typeof(SoapOperationBinding)) as SoapOperationBinding;
if (sob != null) {
style = sob.Style;
SoapBodyBinding sbb = obin.Input.Extensions.Find (typeof(SoapBodyBinding)) as SoapBodyBinding;
if (sbb != null)
use = sbb.Use;
}
}
}
</script>
<head>
<link rel="alternate" type="text/xml" href="<%=Request.FilePath%>?disco"/>
<title><%=WebServiceName%> Web Service</title>
<style type="text/css">
BODY { font-family: Arial; margin-left: 20px; margin-top: 20px; font-size: x-small}
@@ -714,6 +1521,7 @@ class Parameter
.code-vb { font-size:10pt; font-family:courier }
.tabLabelOn { font-weight:bold }
.tabLabelOff {color: darkgray }
.literal-placeholder {color: darkblue; font-weight:bold}
A:link { color: black; }
A:visited { color: black; }
A:active { color: black; }
@@ -831,6 +1639,11 @@ function clearForm ()
<br>Supported protocols: <%#CurrentOperationProtocols%>
<% } %>
<!--
**********************************************************
Operation description - Test form
-->
<% if (CurrentTab == "test") {
if (CurrentOperationSupportsTest) {%>
Enter values for the parameters and click the 'Invoke' button to test this method:<br><br>
@@ -860,8 +1673,42 @@ function clearForm ()
The test form is not available for this operation because it has parameters with a complex structure.
<% } %>
<% } %>
<!--
**********************************************************
Operation description - Message Layout
-->
<% if (CurrentTab == "msg") { %>
TODO
The following are sample SOAP requests and responses for each protocol supported by this method:
<br/><br/>
<% if (IsOperationSupported ("Soap")) { %>
<span class="label">Soap</span>
<br/><br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("Soap", true)%></div></div>
<br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("Soap", false)%></div></div>
<br/>
<% } %>
<% if (IsOperationSupported ("HttpGet")) { %>
<span class="label">HTTP Get</span>
<br/><br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("HttpGet", true)%></div></div>
<br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("HttpGet", false)%></div></div>
<br/>
<% } %>
<% if (IsOperationSupported ("HttpPost")) { %>
<span class="label">HTTP Post</span>
<br/><br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("HttpPost", true)%></div></div>
<br/>
<div class="codePanel"><div class="code-xml"><%#GenerateOperationMessages ("HttpPost", false)%></div></div>
<br/>
<% } %>
<% } %>
<%}%>
+11 -2
View File
@@ -1,6 +1,15 @@
monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in machine.config DefaultWsdlHelpGenerator.aspx
EXTRA_DIST = config.in \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini.gz
mono_DATA = config machine.config DefaultWsdlHelpGenerator.aspx
mono_DATA = config \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
Binary file not shown.
+2 -1
View File
@@ -15,6 +15,7 @@
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so.2" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so" />
<dllmap dll="db2cli" target="libdb2_36.so"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
</configuration>
+13
View File
@@ -21,6 +21,8 @@
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
<section name="webControls"
@@ -29,6 +31,10 @@
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
@@ -50,6 +56,8 @@
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
<add type="System.Net.DigestClient" />
<add type="System.Net.NtlmClient" />
</authenticationModules>
<defaultProxy>
<proxy />
@@ -67,6 +75,7 @@
</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" />
@@ -138,6 +147,10 @@
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
<pages buffer="true"
enableSessionState="true"
autoEventWireup="true"
validateRequest="true" />
</system.web>
<system.runtime.remoting>
-4
View File
@@ -1,4 +0,0 @@
Makefile.in
Makefile
all-docs
pending-classes.in
-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
-385
View File
@@ -1,385 +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">TDS Generic</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> (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</td>
</tr>
<tr>
<td>ODBC</br> (Mono)</td>
<td>System.Data.OracleClient /</br> System.Data.OracleClient</td>
<td>TestOracleClient.cs at</br> System.Data.OracleClient</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/miguel2.rss"><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>
-53
View File
@@ -1,53 +0,0 @@
* Mono Books
<a href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">
Mono: .NET-kompatible Anwendungen mit dem Open Source-Framework
</a>
* C# Books
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
* .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>
* 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
* Threading
.NET Multithreading: Alan L. Dennis (ISBN 1-930110-54-5)
* 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>
-69
View File
@@ -1,69 +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%2FAssembler&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%2FAssembler">[Add]</a> IL Assembler.
* <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">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FMCS">[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%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%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">[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
-295
View File
@@ -1,295 +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>
* 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>.
-45
View File
@@ -1,45 +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 will use external XML files
for type documentation, rather than documenting the source
inline. The XML file format used is inspired by the XML format used
to document the ECMA APIs.
Several tools will be created for managing, verifying, generating,
and updating class library documentation, including:
<ul>
<li><a href="#monodoc">monodoc - A graphical documentation viewer.</a></li>
<li>xmllint: a tool used to validate a proper XML document.
</ul>
You can download the tools to document Mono from the CVS
repository from module `monodoc'.
** 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.
-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.
-392
View File
@@ -1,392 +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>
* Every classes are present.
* Most classes have their unit tests. Some tests like <code>
SymmetricAlgorithmTest</code> are generated by external
tools.
* MACTripleDES is compatible with the implementation shipped in
framework 1.0. Version 1.1 gives different results when the
MACed data is a multiple of BlockSize (8 bytes).
</ul>
**** TODO
<ul>
* RNGCryptoServiceProvider is currently only working on Linux.
The current implementation reside in Mono's runtime and use
the <code>/dev/[u]random</code> device (which do not exists
under Windows). A Windows specific alternative is available
using the Mono.Security.Win32 assembly.
* Keypair persistance for RSA and DSA. This persistance must
somehow be linked with X509 certificate stores (in planning).
* <code>PasswordDeriveBytes.CryptDeriveKey</code> is included
in MS BCL to provide compatibility with existing Windows
applications. The main problem is that the key derivation
algorithm can be different for every CSP (Crypto Service
Provider). However for compatibility we should provide an
implementation compatible with the MS CSP (most likely used).
</ul>
**** Notes
<ul>
* All cryptographic algorithms are entirely managed, including
classes named <code>*CryptoServiceProvider</code>, with the
exception of <code>RNGCryptoServiceProvider</code> (which
implementation resides in the runtime).
* There is a bug in the <code>PKCS1MaskGenerationMethod</code>
class (in both framework 1.0 and 1.1). This means our
implementation isn't compatible with MS (but is compatible with
PKCS#1 v.2.1). However we get OAEP padding for every platform!
* Look at assembly Mono.Security.Win32 if you require more
compatiblity with the Microsoft implementation (like accessing
a particuliar keypair container inside a specific CSP).
</ul>
*** Namespace: <b>System.Security.Cryptography.X509Certificates</b>
**** Status
<ul>
* X.509 certificates are parsed using 100% managed code
(using the Mono.Security.ASN1 class).
* Software Publisher Certificates (SPC) used by Authenticode
(tm) to sign assemblies are supported 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, ARCFOUR (required for SSL)
* Convertion helpers
</ul>
*** Namespace: Mono.Security.Protocol.Tls
<ul>
* An 100% managed TLS implementation from Carlos Guzman Alvarez.
</ul>
*** Namespace: Mono.Security.X509
<ul>
* X.509 structures (certificate, CRL...) building and decoding.
</ul>
*** Namespace: Mono.Security.X509.Extensions
<ul>
* X.509 extensions (from public X.509 to private PKIX, Netsapce,
Microsoft, Entrust...).
</ul>
**** Status
<ul>
* 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> as I'm not a very good writer (at least in English).
</ul>
Contact Sebastien Pouliot (<a href="mailto:[email protected]">home</a>
, <a href="mailto:[email protected]">work</a>) if you need additional
informations about the status of the cryptographic classes.
<hr>
Last reviewed: October 26, 2003 (post mono 0.28)
-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.
-1390
View File
File diff suppressed because it is too large. Load diff
-43
View File
@@ -1,43 +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 "GDI+ Flat API").
<center>
<img src="images/system-drawing.png">
</center>
In Windows Mono uses the GDI+ library that is included
with the operating system, while in Unix we provide an
implementation of this API which 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.
-1508
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>.
-162
View File
@@ -1,162 +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">Mono FAQ</a> has some useful
information too.
** GTK# On Linux
<p>Where to get distributions of GTK# for Linux:
<ul>
<li><a href="http://gtk-sharp.sourceforge.net">RPMs</a></li>
<li><a href="http://www.debianplanet.org/mono/">Debs</a></li>
</ul>
<p>Buidling on Linux:
<ul>
<li>Get GTK# source from <a href="http://gtk-sharp.sourceforge.net">Gtk# Project</a>.</li>
<li>run ./autogen.sh --prefix=my_mono_installation_prefix</li>
<li>make</li>
<li>make install</li>
</ul>
** GTK# On Windows
<p>Look at our Wiki for installation instructions <a href="http://www.nullenvoid.com/gtksharp/wiki/index.php/InstallingBeginnersGuide">here</a>
<p>If you want to build GTK# yourself on Windows:
<p>To build gtk# under windows, you will need the following:
<ul>
<li>cygwin from <a href="http://www.cygwin.com/">here</a> When installing Cygwin via setup.exe,
by default binutils and other tools do not get installed; you have to make
sure to select these items. Just make
sure Base and Development are set to Install.</li>
<li>Mono 0.17 or later from <a href="http://www.go-mono.com/download.html">here</a>
You can use Windows Setup Wizard (NT/2000/XP).</li>
<li>GTK+ 2.0 (and dependencies). You can obtain gtk+ 2.0 by either of the
following:
<ul>
<li>You can get a Windows Installer at:
<a href="http://www.dropline.net/jade/download.html">here</a> </li>
<li>or get the separate binary and dev/lib packages at
at <a href="http://www.gimp.org/~tml/gimp/win32/downloads.html">here</a> </li>
<li>or binary package from Dev-C++ site <a href="http://www.bloodshed.net/dev/packages/gtk.html">here</a> </li>
<li>or get Gtk4Win <a href="http://wingtk.sourceforge.net/index.html">here</a> </li>
<li>or the source at <a href="http://www.gtk.org/">here</a> </li>
</ul>
</li>
<li>binary distriubtion of a current web browser
like Internet Explorer 4.0, Mozilla 1.0, or Netscape 7.0 which
includes things like msvcrt.dll.</li>
<li>Microsoft .NET Framework at
<a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a> </li>
<p>If you are running Windows 95/98/ME, then you will need Unicode support.
Look in
mono-list archives for information about how to get
Mono to work on Windows 9x.
<a href="http://lists.ximian.com/archives/public/mono-list/2002-December/004158.html">here</a>
<p>Environment Variables to set:
<ul>
<li>PATH - set to your mono installation bin and lib path.
For example, my mono installation prefix is:
<pre>
F:/cygwin/home/DanielMorgan/mono/install
</pre>
<p>So, I would set my PATH in the Windows Control Panel as:
<pre>
F:/cygwin/home/DanielMorgan/mono/install/bin;F:/cygwin/home/DanielMorgan/mono/install/lib</li>
</pre>
</li>
<li>LD_LIBRARY_PATH - set to your mono installation lib path</li>
<li>PKG_CONFIG_PATH - set to your mono installation lib/pkgconfig path, such
as,
<pre>
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig</li>
</pre>
<p>If you got the gtk-sharp source, cd to the gtk-sharp directory, type:
<pre>
./autogen.sh --prefix=~/mono/install
</pre>
<p>Set your --prefix= to whatever your mono installation prefix is located.
This will take awhile to go through the ./autogen.sh and ./configure...
<p>After that it finishes succesfully, you run make with the makefile.win32
like:
<pre>
make -f makefile.win32
</pre>
<p>After that finishes succesfully, you can copy to your mono installation lib
path like:
<pre>
cp */*.dll ~/mono/install/lib
</pre>
</ul>
<p>The pkg-config files for
gtk+ 2.0 and dependencies will need to be set correctly if they haven't
already been.
<p>Look in your mono installation/lib/pkgconfig, such as,
<pre>
F:/cygwin/home/DanielMorgan/mono/install/lib/pkgconfig
</pre>
<p>You will find files like: gtk+-2.0.pc
<p>Edit the line that says
<pre>
prefix=something
</pre>
<p>And set it to your mono installation prefix, such as,
<pre>
prefix=F:/cygwin/home/DanielMorgan/mono/install
</pre>
<p>Do this for all the .pc files in that directory. If there are not any, then
you will need to create them. Or get them from somewhere like the dev
packages at
<a href="http://www.gimp.org/~tml/gimp/win32/downloads.html">here</a>
** GTK# On FreeBSD
TODO. Any volunteers?
** GTK# On Solaris
TODO. Any volunteers?
** GTK# On AIX
TODO. Any volunteers?
-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-3.ibm.com/software/data/db2/">IBM DB2</a> software. There
are versions for Windows, Linux, AIX, and Sun Solaris.</li>
<li>Make sure the assembly Mono.Data.DB2Client.dll was built and installed
where the other class libraries are installed.</li>
<li>If you do not have the source to mcs, get the source from
<a href="http://www.go-mono.com/download">here</a></li>
<li>Has a ConnectionString format like ODBC</li>
<li>Here is a ConnectionString format if you have a DSN setup:
<pre>
"DSN=dataSetName;UID=myuserid;PWD=mypassword"
</pre>
</li>
<li>Here is a ConnectionString format if you do not have a DSN (have not
gotten this to work though, so, I am open to suggestions):
<pre>
"DRIVER={DB2 Driver};SERVER=localhost;DATABASE=test;UID=myuserid;PASSWORD=mypassword"
</pre>
</li>
<li>In mcs/class/Mono.Data.DB2Client/Test/DBConnTest, you will find
a DBConnTest.cs.</li>
<li>To build DBConnTest:
<ul>
<li>On Unix:</li>
<pre>
mcs DBConnTest.cs -r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
<li>On Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe DBConnTest.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
<li>To run it on mono:
<pre>
mono DBConnTest.exe database userid password
</pre>
</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.DB2Client;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"DSN=sample;UID=db2admin;PWD=mypass";
IDbConnection dbcon = new DB2ClientConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"CREATE TABLE mono_db2_test1 ( " +
" testid varchar(2), " +
" testdesc varchar(16) " +
")";
dbcmd.CommandText = sql;
dbcmd.ExecuteNonQuery();
dbcmd.Dispose();
dbcmd = null;
dbcon.Close();
dbcon = null;
}
}
</pre>
</li>
<li>Building C# Example:
<ul>
<li>Save the example to a file, such as, TestExample.cs</li>
<li>Build on Linux:
<pre>
mcs TestExample.cs -r System.Data.dll \
-r Mono.Data.DB2Client.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r Mono.Data.DB2Client.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
-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>
-1531
View File
File diff suppressed because it is too large. Load diff
-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>
-161
View File
@@ -1,161 +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">
** 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 href="http://www.superin.formativ.net/mono/oberon/oberon.zip">http://www.superin.formativ.net/mono/oberon/oberon.zip</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="www.dataman.ro/dforth">Home
Page</a> and <a href="http://www.dataman.ro/dforth/index.html">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">
** 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>.
An FAQ document is available <a
href="http://www.zope.org/Members/Brian/PythonNet/FAQ.html">here</a>.
<a name="dotlisp">
** 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="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.
-262
View File
@@ -1,262 +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>
</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="mailing-lists_files/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
-186
View File
@@ -1,186 +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
# 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_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
# 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
if [ $install_pkgconfig = "no" ]; then
echo "Fixing up the pkgconfig paths"
for i in $here/install/lib/pkgconfig/*.pc
do
mv $i $i.orig
sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
done
export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
fi
# Needed to find the libgc bits
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
export LDFLAGS
# 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>
-394
View File
@@ -1,394 +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>
<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>
-194
View File
@@ -1,194 +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>
* Write documentation.
* Write regression tests.
* Complete the implementations of the class libraries.
* 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>not assigned
</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>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Port the JIT to additional architectures.
Currently ports are in the works for ppc, 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>not assigned
</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>
</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://ourworld.compuserve.com/homepages/Ken_North/odbcvend.htm">ODBC Vendors</a>
<li>ODBC can connect to various databases which has an ODBC driver installed:
<ul>
<li><a href="http://www.mysql.com/">MySQL</a></li>
<li><a href="http://www.postgresql.org/">PostgreSQL</a></li>
<li><a href="http://www.oracle.com/">Oracle</a></li>
<li><a href="http://www.borland.com/products/downloads/download_interbase.html">Interbase</a></li>
<li><a href="http://www.sybase.com/downloads">Sybase</a> (
via <a href="http://www.freetds.org/">FreeTDS</a> on UNIX)</li>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a> (
via <a href="http://www.freetds.org/">FreeTDS</a> on UNIX)</li>
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a></li>
<li><a href="http://www.microsoft.com/office/access/default.asp">MS Access</a>
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a> on UNIX)</li>
</ul>
<li>ODBC Provider created by Brian Ritchie.</li>
<li>Does not support trusted connections</li>
</ul>
** Current Status
<ul>
<li>Can Connect on:
<ul>
<li>Windows via native Windows odbc32.dll</a></li>
<li>Linux via:
<ul>
<li>unixODBC's libodbc.so</li>
<li>iODBC's libiodbc.so</li>
</ul>
</li>
</ul>
</li>
<li>Various databases have been tested using their
ODBC drivers: MySQL, PostgreSQL, Oracle, IBM DB2, and Microsoft SQL Server</li>
<li>Can execute non-query commands via ExecuteNonQuery of a OdbcCommand</li>
<li>Can execute aggreates and retrieve a single row single column result via
ExecuteScalar of a OdbcCommand</li>
<li>Can execute queries via ExecuteReader of a OdbcCommand and
retrieve results using an OdbcDataReader</li>
<li>Can get a DataTable containing schema info via GetSchemaTable() in a OdbcDataReader</li>
<li>Can Fill a DataTable in a DataSet via an OdbcDataAdapter</li>
<li>Works in SQL#, but Column names don't show up correctly.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Action Plan
<ul>
<li>Fixing bugs
<li>Testing with other setups
</ul>
** Testing ODBC provider with IBM DB2 Universal Database
<ul>
<li>You need a working mono and mcs</li>
<li>For Unix, you will need unixODBC or iODBC installed</li>
<li>Have acess to a <a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a> or
you can download from IBM</li>
<li>Read these web pages about Unix, ODBC, and IBM DB2
<ul>
<li><a href="http://www.unixodbc.com/doc/db2.html">unixODBC web page about IBM DB2</a></li>
<li><a href="http://www-3.ibm.com/software/data/db2/udb/ad/v8/cli/t0010406">IBM web page about unixODBC and DB2</a></li>
</ul>
</li>
<li>The ODBC provider is similar to the <a href="http://www.go-mono.com/ibmdb2.html">IBM DB2</a> provider.</li>
</ul>
** Testing ODBC provider with MySQL
<p>You can test Mono's ODBC provider System.Data.Odbc with the MySQL ODBC driver MyODBC
<p><ul>
<li>Take a look at OdbcTest.cs in mcs/class/System.Data/Test</li>
<li>Here is a ConnectionString format if you have a DSN setup:
<pre>
"DSN=dataSetName;UID=myuserid;PWD=mypassword"
</pre>
</li>
<li>Here is a ConnectionString format if you do not have a DSN (have not
gotten this to work though):
<pre>
"DRIVER={MySQL ODBC 3.51 Driver};" +
"SERVER=localhost;DATABASE=test;" +
"UID=myuserid;PASSWORD=mypassword;" +
"OPTION=3";
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.Odbc;
public class Test
{
public static void Main(string[] args)
{
// have an ODBC DSN setup named MYSQLDSN
// that accesses a MySQL database via
// MyODBC driver for ODBC with a
// hostname of localhost and database test
string connectionString =
"DSN=MYSQLDSN;" +
"UID=myuserid;" +
"PWD=mypassword";
IDbConnection dbcon;
dbcon.Open();
dbcon = new OdbcConnection(connectionString);
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = (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>
-1507
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>
-181
View File
@@ -1,181 +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</li>
<li>May work with Oracle 9i</li>
<li>Uses the Oracle CLI (Call Level Interface) which is a C library (API) for the Oracle Client
software</li>
<li>Internally, the OracleClient provider has OCI abstracted to an object-oriented programming model</li>
<li>Created by Daniel Morgan and Tim Coleman</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>OracleConnection can connect and disconnect to an Oracle 8i database on
Windows and Linux via OCI (Oracle Call-level Interface)</li>
<li>No longer uses a glue library (a library between the System.Data.OracleClient.dll
assembly and the oci library). In Current Mono cvs, System.Data.OracleClient
directly platform invokes into the oci library thanks to Tim Coleman.</li>
<li>Can have multiple connections with different transactions where each transaction is
separated from the others, so a rollback or commit in one transaction
does not affect the other.</li>
<li>Can execute simple DML SQL statements, such as,
INSERT a row into the EMP table via the OracleCommand's ExecuteNonQuery method</li>
<li>The System.Data.OracleClient.dll assembly can be built with mcs/mono via
the makefile.gnu for System.Data.OracleClient or csc/.net via the
System.Data.OracleClient.build nant build file.</li>
<li>Can retrieve data via ExecuteReader and OracleDataReader. Currently,
supports character, numeric, some date data types. ExecuteScalar
also works.</li>
<li>Simple input parameters (character and numeric data) can now
be used in SQL queries. Output parameters do not yet work.</li>
<li>OracleException and Error handling exists now.</li>
<li>Message handling needs to be added for non-critical messages
received from Oracle</li>
<li>Handling of various data types need to be added.</li>
<li>Data Adapter exists, and a DataSet can be filled using it.</li>
<li>Lots of missing functionality and bugs.</li>
<li>Works with SQL# command-line and GTK# versions in cvs. Only works with
simple character data though.</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 (WORKING</li>
<li>Support for Oracle 9i (UNKNOWN)</li>
<li>Support LOBs</li>
<li>Support all the data types</li>
<li>Implement Connection pooling</li>
<li>Security</li>
</ul>
** Testing System.Data.OracleClient
<ul>
<li>Have a working mono and mcs</li>
<li>Have access to an Oracle 8i 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, if not, go
into System.Data.OracleClient and do a make -f makefile.gnu (on Linux) or
../../nant/NAnt.exe (on Windows using Cygwin).</li>
<li>Take a look at TestOracleClient.cs found at mcs/class/System.Data.OracleClient/Test</li>
<li>The Data Source is an Oracle TNSNAME</li>
<li>Has a connection string format:
<pre>
"Data Source=tnsname;User ID=userid;Password=password"
</pre>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.OracleClient;
public class Test
{
public static void Main (string[] args)
{
string connectionString =
"Data Source=testdb;" +
"User ID=scott;" +
"Password=tiger;";
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 via Cygwin:
<pre>
mono C:/cygwin/home/MyHome/mono/install/bin/mcs.exe \
TestExample.cs \
-lib:C:/cygwin/home/MyHome/mono/install/lib \
-r System.Data.dll -r System.Data.OracleClient.dll
</pre>
</li>
</ul>
</li>
<li>Running the Example:
<pre>
mono TestExample.exe
</pre>
</li>
</ul>
-34
View File
@@ -1,34 +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.
</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.
-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.Open();
dbcon = new NpgsqlConnection(connectionString);
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
// such as,
// CREATE TABLE employee (
// firstname varchar(32),
// lastname varchar(32));
string sql =
"SELECT firstname, lastname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = (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>
-33
View File
@@ -1,33 +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
Start the port
** 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://www.esofta.com/softspecs.html">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.
-248
View File
@@ -1,248 +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/net">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>
** Presentations
Currently the <a href="Presentations/O-Reilly">O'Reilly</a>
presentation on Mono is available. Arturo Espinosa has given
a talk on Mono in Mexico and made <a
href="http://construct.ximian.com/~arturo/Presentations/Mono.OLS/html">spanish
slides</a>
** 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://developer.intel.com/software/idap/ecma">Intel</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://9mm.com/~ogl/sdldotnet/">SDL for
.NET:</a> Bindings for the popular SDL graphics library.
* C# bindings for OpenGL and SDL are available here: <a
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
* <a
href="http://qtcsharp.sourceforge.net">Qt#:</a>
C# bindings for the Qt toolkit.
* <a
href="http://codigolivre.org.br/projects/monoqle">Project MonoQLE:</a> a C# Message Queue Server.
Sorry only in portuguese, for now.
</ul>
<li><b>Programming languages:</b></li>
<ul>
* <a
href="http://janet-js.sourceforge.net/">Janet:</a>
an implemention of ECMAScript (the standarized
version of JavaScript) in C#
</ul>
<li><b>Other projects</b></li>
<ul>
* <a
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
Plugin for C#</a>
* <a href="http://www.kaffe.org">Kaffe:</a> A popular
Free Software JIT engine for Java.
* <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.
* A Free (GFDL) tutorial on C# in Spanish with
examples, slides, and extras (under development). Get it <a
href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
</ul>
** GNOME Documentation
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>
-214
View File
@@ -1,214 +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>Able to connect to Microsoft SQL Server 7/2000 databases</li>
<li>Connection pooling works.</li>
<li>Stored Procedures work</li>
<li>Parameters work.</li>
<li>Prepare works.</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a SqlCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SqlCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SqlDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SqlDataReader</li>
<li>XML can be read via ExecuteXmlReader in a SqlCommand.</li>
<li>Data can be filled in a DataTable in a DataSet via a SqlDataAdapter</li>
<li>Uses TDS Protocol Version 7.0</li>
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a></li>
<li>Works in the SQL# command-line and GTK# GUI version</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now</li>
<li>Needs more testing</li>
<li>Would like to figure out how to connect via Trusted_Connection or Integrated Security</li>
<li>Start work on TDS Protocol Version 8.0 support</li>
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Microsoft SQL Server database
or either download it:
<ul>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a></li>
</ul>
</li>
<li>If using Microsoft SQL Server 2000, make sure
you are using at least Service Pack 3 for Microsoft SQL Server 2000. If using
MSDE 2000, make sure you have the special Service Pack 3 for MSDE 2000.</li>
<li>For those that only have MSDE installed. You can change the authentication mode
from Windows Only Authentication to SQL Server and Windows Authentications (also knows as Mixed-mode authentication)
via the <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q322336&sd=tech#4">registry</a></li>. It is
the LoginMode you need to change. By default,
MSDE is installed with Windows Only Authentication. For SqlClient to work with MSDE, you will
need to change the setting.</a>
<li>If using MSDE, you might need to create a new user with password. Give
this user access to various databases in this MSDE instance. Also, for each
database, give this new user at least SELECT access to the various tables you want
to retrieve data from.</li>
<li>If you have Enterprise Manager, you can easily change the authentication mode
for both MSDE and Microsoft SQL Server. To change the authentication mode in
Enterprise Mananger, select the instance, right-click on it, and select properites.
The SQL Server properties dialog for that instance will pop up. Choose the Security
tab. Change the authentication from Windows Only to SQL Server and Windows. If
the instance of your database does not show up in Enterprise Manager, Register first
by selecting the Action menu and choosing New SQL Server Registration.</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Mono's SqlClient does not support trusted connections
nor integrated security. You can not use this when connecting. You need
to explicitly use a User ID and Password
authenticated by SQL Server.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used three ways:
<table border=1>
<tr>
<td><b>Server Definition</b></td> <td><b>Example</b></td>
</tr>
<tr>
<td>hostname</td> <td>Server=MYHOST</td>
</tr>
<tr>
<td>hostname,port</td> <td>Server=MYHOST,1433</td>
</tr>
<tr>
<td>hostname\\instance</td> <td>Server=MYHOST\\NETSDK</td>
</tr>
</table>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using System.Data.SqlClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new SqlConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = (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>
-155
View File
@@ -1,155 +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>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Able to connect to Sybase databases</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a SybaseCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a SybaseCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via SybaseDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a SybaseDataReader</li>
<li>Data can be filled in a DataTable in a DataSet via a SybaseDataAdapter</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now.
<li>Needs more testing...
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Sybase database
or either download it:
<ul>
<li><a href="http://www.sybase.com/downloads">Sybase</a></li>
</ul>
</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used two ways:
<ul>
<li>hostname - "Server=MYHOST"</li>
<li>hostname,port - "Server=MYHOST,1533"</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.SybaseClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new SybaseConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = (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.
-159
View File
@@ -1,159 +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>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
and easy to
create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Only builds on Windows currently due to mcs does not support modules and mcs
has problems with code that is internal.</li>
<li>Able to connect to Microsoft SQL Server and Sybase databases</li>
<li>SQL commands can be executed
via ExecuteNonQuery() of a TdsCommand.</li>
<li>SQL aggregates can be executed and a single row and single column
result can be retrieved via ExecuteScalar() of a TdsCommand</li>
<li>SQL queries can be executed via ExecuteReader() and results
can be retrieved via TdsDataReader.</li>
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
in a TdsDataReader</li>
<li>Data can be filled in a DataTable in a DataSet via a TdsDataAdapter</li>
</ul>
** Action plan
<ul>
<li>Connection timeouts is being developed now.</li>
<li>TODO</li>
</ul>
** Testing
<ul>
<li>Have a working mono and mcs installed</li>
<li>Have access to a Sybase or Microsoft SQL Server database
or either download it:
<ul>
<li><a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a></li>
<li><a href="http://www.sybase.com/downloads">Sybase</a></li>
</ul>
</li>
<li>If using Microsoft SQL Server 2000, make sure
you are using at least Service Pack 3 for Microsoft SQL Server 2000</li>
<li>Located at mcs/class/System.Data/Test is a test for System.Data.SqlClient
named SqlTest.cs and you could use this as a basis for your test.</li>
<li>Has a connection string format:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>The Server part can be used two ways:
<ul>
<li>hostname - "Server=MYHOST"</li>
<li>hostname,port - "Server=MYHOST,1533"</li>
</ul>
</li>
<li>C# Example:
<pre>
using System;
using System.Data;
using Mono.Data.TdsClient;
public class Test
{
public static void Main(string[] args)
{
string connectionString =
"Server=localhost;" +
"Database=pubs;" +
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new TdsConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
string sql =
"SELECT fname, lname " +
"FROM employee";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = (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>
-147
View File
@@ -1,147 +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.
** 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.
** Getting started
If you are new to writing NUnit tests, there is a template you may use
to help get started. The file is:
<b>mcs/class/doc/TemplateTest.cs</b>
Save a copy of this file in the appropriate test subdirecty
(see below), and replace all the {text} markers with
appropriate code. Comments in the template are there to guide
you. You should also look at existing tests to see how other
people have written them.
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
is a small one that might help.
The directory that will contain your new file depends on the
assembly/namespace of the class for which you are creating the
tests. Under mcs/class there is a directory for each
assembly. In each assembly there is a Test directory,
e.g. mcs/class/corlib/Test. In the Test directory there are
sub-directories for each namespace in the assembly,
e.g. mcs/class/corlib/Test/Sytem. Put your new test file in
the appropriate sub-directory under Test for the class you are
testing.
Once all of that is done, you can do a 'make test' from the top mcs
directory. Your test class will be automagically included in the
build and the tests will be run along with all the others.
* Tips on writing Unit tests.
You should look at the <a href="http://nunit.org">NUnit documentation</a>,
as it is a fantastic product, and includes fantastic documentation,
but here are some tips for those of you who are already reading
this web page.
** Provide an unique error message for Assert()
Include an unique message for each Assert() so that when the assert
fails, it is trivial to locate it in the source. Otherwise, it may be
difficult to determine which part of the test is failing. A good way
to ensure unique messages is to use something like #A01, #A02 etc.
Ok:
<pre>
AssertEquals("array match", compare[0], i1[0]);
AssertEquals("array match", compare[1], i1[1]);
AssertEquals("array match", compare[2], i1[2]);
AssertEquals("array match", compare[3], i1[3]);
</pre>
Excellent:
<pre>
AssertEquals("#A01", compare[0], i1[0]);
AssertEquals("#A02", compare[1], i1[1]);
AssertEquals("#A03", compare[2], i1[2]);
AssertEquals("#A04", compare[3], i1[3]);
</pre>
Once you used such a number in an Assert(), don't change it later on -
people might use it it identify the test in bug reports or in mailing
lists.
** Use AssertEquals() to compare things, not Assert().
Do not compare two values with Assert() - if the test fails,
people have no idea what went wrong while AssertEquals()
reports the failed value.
Ok:
<pre>
Assert ("A01", myTicks[0] == t1.Ticks);
</pre>
Excellent:
<pre>
AssertEquals ("A01", myTicks[0], t1.Ticks);
</pre>
** Test your test with the Microsoft runtime
If possible, try to run your testsuite with the Microsoft runtime on
.NET on Windows and make sure all tests in it pass. This is especially
important if you're writing a totally new testcase - without this
check you can never be sure that your testcase contains no bugs ....
Don't worry if you're writing your test on Linux, other people can
test it for you on Windows.
Sometimes you may discover that a test doesn't show the expected
result when run with the Microsoft runtime - either because there is a
bug in their runtime or something is misleading or wrong in their
documentation. In this case, please put a detailed description of the
problem to mcs/class/doc/API-notes and do also report it to the
<a href="mailing-lists">mailing list</a> - we'll forward this to the
Microsoft people from time to time to help them fix their documentation
and runtime.
** Unit tests.
Why do unit testing? It becomes simple to run automated tests
for the whole library. Unit tests are a safety net - you can
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.
-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.
-1
View File
@@ -1 +0,0 @@
Discuss with write new JIT
-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
-76
View File
@@ -1,76 +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
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,ADO.NET,ado-net.html,ado-net.src
1,Drawing,drawing.html,drawing.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
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
Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

-182
View File
@@ -1,182 +0,0 @@
.y IMG
{
border: 0px;
padding: 0px;
margin: 0px;
margin-right: 4px;
vertical-align: middle;
}
.y, .y_,
.n, .n_,
.c, .c_,
.c, .c_,
.d, .d_,
.en, .en_,
.i, .i_,
.s, .s_,
.e, .e_,
.f, .f_,
.m, .m_,
.o, .o_,
.p, .p_,
.r, .r_,
.x, .x_
{
FONT: 10px 'Verdana';
margin-left: 20px;
}
.y_ .n,
.y_ .n_,
.n_ .c,
.n_ .c_,
.n_ .s,
.n_ .s_,
.n_ .d,
.n_ .d_,
.n_ .en,
.n_ .en_,
.n_ .i,
.n_ .i_,
.c_ .c,
.c_ .c_,
.c_ .e,
.c_ .e_,
.c_ .f,
.c_ .f_,
.c_ .m,
.c_ .m_,
.c_ .o,
.c_ .o_,
.c_ .p,
.c_ .p_,
.c_ .r,
.c_ .r_,
.c_ .x,
.c_ .x_,
.c_ .i,
.c_ .i_,
.d_ .c,
.d_ .c_,
.d_ .e,
.d_ .e_,
.d_ .f,
.d_ .f_,
.d_ .m,
.d_ .m_,
.d_ .o,
.d_ .o_,
.d_ .p,
.d_ .p_,
.d_ .r,
.d_ .r_,
.d_ .x,
.d_ .x_,
.en_ .c,
.en_ .c_,
.en_ .e,
.en_ .e_,
.en_ .f,
.en_ .f_,
.en_ .m,
.en_ .m_,
.en_ .o,
.en_ .o_,
.en_ .p,
.en_ .p_,
.en_ .r,
.en_ .r_,
.en_ .x,
.en_ .x_,
.i_ .c,
.i_ .c_,
.i_ .e,
.i_ .e_,
.i_ .f,
.i_ .f_,
.i_ .m,
.i_ .m_,
.i_ .o,
.i_ .o_,
.i_ .p,
.i_ .p_,
.i_ .r,
.i_ .r_,
.i_ .x,
.i_ .x_,
.i_ .i,
.i_ .i_,
.s_ .c,
.s_ .c_,
.s_ .e,
.s_ .e_,
.s_ .f,
.s_ .f_,
.s_ .m,
.s_ .m_,
.s_ .o,
.s_ .o_,
.s_ .p,
.s_ .p_,
.s_ .r,
.s_ .r_,
.s_ .x,
.s_ .x_,
.s_ .i,
.s_ .i_,
.e_ .r,
.e_ .r_,
.e_ .o,
.e_ .o_,
.f_ .r,
.f_ .r_,
.f_ .o,
.f_ .o_,
.m_ .r,
.m_ .r_,
.m_ .o,
.m_ .o_,
.o_ .r,
.o_ .r_,
.o_ .o,
.o_ .o_,
.p_ .r,
.p_ .r_,
.p_ .o,
.p_ .o_,
.r_ .r,
.r_ .r_,
.r_ .o,
.r_ .o_,
.x_ .r,
.x_ .r_,
.x_ .o,
.x_ .o_
{
display: none;
}
.t
{
cursor: pointer;
margin-right: 8px;
}
.filter
{
cursor: pointer;
vertical-align: middle;
}
.st
{
margin-left: 20px;
}
.l
{
cursor: pointer;
}
Loaded 100 of 3550 files, more files were not shown because too many files have changed in this diff. Show more