Compare commits

...
5440 Commits
Author SHA1 Message Date
nobody 34822afe22 This commit was manufactured by cvs2svn to create tag 'MONO_0_30'.
svn path=/tags/MONO_0_30/mono/; revision=22714
2004-02-02 21:39:54 +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
Reggie Burnett 0c047b7b17 synced with ByteFX (0.74) 11-30-2003
svn path=/trunk/mcs/; revision=20652
2003-12-01 04:20:36 +00:00
Jackson Harper 40e82a8ca8 * CheckBoxList.cs: A checkbox will have null post data if it is
unselected. This fixes bug #51516.

svn path=/trunk/mcs/; revision=20651
2003-12-01 03:47:52 +00:00
Miguel de Icaza 32a79c987d Update Mono to point to xsp.1
svn path=/trunk/mono/; revision=20648
2003-12-01 01:19:17 +00:00
Ben Maurer 8420bd11b0 2003-11-30 Ben Maurer <[email protected]>
* LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
	reduction.

	* ObjectStateFormatter.cs: Comment out tracing.

svn path=/trunk/mcs/; revision=20647
2003-12-01 01:07:45 +00:00
Gonzalo Paniagua Javier 40e1dae650 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
* QueueTest.cs: added more tests. Patch from Carlos Barcenilla.

svn path=/trunk/mcs/; revision=20645
2003-12-01 00:49:41 +00:00
Gonzalo Paniagua Javier 3249b986e1 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
* Queue.cs: patch from Carlos Barcenilla.
	public class Queue
		- method: ICollection.Clone()
		- Optimized. Removed unneeded instructions.
		- method: public static Queue Synchronized (Queue queue)
		- ArgumentNullException.ParamName must be "queue", not null.
		- method: public virtual void TrimToSize()
		- Must increment modCount.

	private class SyncQueue
		- method: public override object Clone ()
		- Must return a synchronized (SyncStack) instance.
		- method: public override void TrimToSize ()
		- Not implemented.

svn path=/trunk/mcs/; revision=20644
2003-12-01 00:48:29 +00:00
Gonzalo Paniagua Javier e3f33e5e35 Fix typo
svn path=/trunk/mono/; revision=20643
2003-12-01 00:40:44 +00:00
Gonzalo Paniagua Javier 1e1a1f8a9c 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
* OdbcTransaction.cs: applied patch from Jeff Seifert that makes
	this class implement IDbTransaction interface.

svn path=/trunk/mcs/; revision=20642
2003-12-01 00:37:44 +00:00
Gonzalo Paniagua Javier 854682ab6f 2003-12-01 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: don't forget basePath when relative path is not rooted.
	Fixes bug #51522.

svn path=/trunk/mcs/; revision=20641
2003-11-30 23:32:23 +00:00
Miguel de Icaza 20b16ab4c1 Ah, missing
svn path=/trunk/mono/; revision=20639
2003-11-30 21:03:40 +00:00
Miguel de Icaza 20bfd06839 Update
svn path=/trunk/mcs/; revision=20637
2003-11-30 21:02:28 +00:00
Miguel de Icaza 96f27584e0 flush
svn path=/trunk/mono/; revision=20635
2003-11-30 18:53:31 +00:00
Paolo Molaro 150f825783 Another small fix.
svn path=/trunk/mono/; revision=20634
2003-11-30 18:51:06 +00:00
Gonzalo Paniagua Javier f744323f8f 2003-11-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/PageCompiler.cs: assign LCID, Culture and/or
	UICulture in FrameworInitialize() if provided in @Page.

	* System.Web.UI/Page.cs: fixed UICulture, LCID and Culture. Set the
	thread [UI]Culture before processing the request.

	* System.Web.UI/PageParser.cs: read Culture, UICulture and LCID
	attributes. Added properties for these. Partially contributed by
	Mohammad Damt.

	Fixes bug #51511.

svn path=/trunk/mcs/; revision=20633
2003-11-30 18:46:53 +00:00
Paolo Molaro dceaa1f089 Sun Nov 30 19:13:52 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md, inssel-ppc.brg: fixed finally handlers
	and register allocation buglet. Hello world now runs.

svn path=/trunk/mono/; revision=20632
2003-11-30 18:10:05 +00:00
César Natarén 59c888f750 changelog entries
svn path=/trunk/mcs/; revision=20631
2003-11-30 17:42:49 +00:00
César Natarén 677f96fc9a 2003-11-30 Cesar Lopez Nataren <[email protected]>
* expression.cs: Added new field to Call class, so it can handle more arguments.

	* StringLiteral.cs (Emit) : Load the string value.

	* Literal.cs: BooleanLiteral, Resolve always return true. Emit the value and box it to Boolean.

svn path=/trunk/mcs/; revision=20630
2003-11-30 17:40:36 +00:00
César Natarén fa5c4d3a7b 2003-11-30 Cesar Lopez Nataren <[email protected]>
* CodeGenerator.cs: Set parent if 'JScript 0' to GlobalScope. Set
	custom attribute. Build default 'JScript 0' constructor. Emit
	default initial/final code of 'Global Code'. Create default
	'JScript Main'.

svn path=/trunk/mcs/; revision=20629
2003-11-30 17:20:08 +00:00
Zoltan Varga 5b99e09212 2003-11-30 Zoltan Varga <[email protected]>
* reflection.c (fixup_method): Add support for MonoCMethod.

svn path=/trunk/mono/; revision=20628
2003-11-30 16:30:29 +00:00
Eran Domb 68cbdfe765 DbDataAdapter.cs : Check if there is mapping to avoid exception.
svn path=/trunk/mcs/; revision=20627
2003-11-30 15:20:33 +00:00
Zoltan Varga 93c6d11c75 2003-11-30 Zoltan Varga <[email protected]>
* typemanager.cs: Fix lookup of GetNamespaces.

svn path=/trunk/mcs/; revision=20626
2003-11-30 15:09:12 +00:00
Miguel de Icaza 51331581a2 Up
svn path=/trunk/mono/; revision=20625
2003-11-30 12:30:46 +00:00
Miguel de Icaza 79b9bc1683 update docs
svn path=/trunk/mono/; revision=20624
2003-11-30 12:20:01 +00:00
Miguel de Icaza bfe6a9f86a More WinForms
svn path=/trunk/mcs/; revision=20623
2003-11-30 12:18:00 +00:00
Miguel de Icaza 0fcf1502aa Remove
svn path=/trunk/mcs/; revision=20622
2003-11-30 12:17:33 +00:00
Miguel de Icaza 1eb1a0155e SignatureFix
svn path=/trunk/mcs/; revision=20621
2003-11-30 12:13:46 +00:00
César Natarén cb81cf02a3 updates from grammar changes
svn path=/trunk/mcs/; revision=20618
2003-11-30 03:10:25 +00:00
César Natarén e2e7a6b356 2003-11-29 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-grammar.g: define new rule 'arguments' instead of
	repeating hand written rule all around. Change "." for DOT, dumb
	mistake by myself. Added rule new_expr. Now we handle properly the
	call_expr rule (as defined on the spec), and added a new
	argument. Added subrule new_expr to  left_hand_side_expr rule.

svn path=/trunk/mcs/; revision=20616
2003-11-30 03:02:20 +00:00
Miguel de Icaza 1c16c7ba54 2003-11-29 Miguel de Icaza <[email protected]>
* expression.cs: Removed redundant line.

svn path=/trunk/mcs/; revision=20615
2003-11-30 01:37:22 +00:00
Miguel de Icaza b5c0473418 Rename Cairo.Object -> Cairo.Graphics
svn path=/trunk/mcs/; revision=20614
2003-11-30 01:36:18 +00:00
Miguel de Icaza 9c71c3ddf2 2003-11-28 Miguel de Icaza <[email protected]>
* Mono.Cairo/Object.cs:

	* Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
	while to find out why Cairo applications would crash sometimes.
	The problem was that Cairo.Object:TargetSurface get property would
	create a Surface from an IntPtr, leading to having two managed
	objects owning the same unmanaged Surface.

	(Surface..ctor): Make private, so only this module can create
	surfaces.

	(Surface.Dispose): Add disposable pattern, finalizer.

	* Mono.Cairo/Object.cs: Add disposable pattern, finalizer.

svn path=/trunk/mcs/; revision=20606
2003-11-29 22:11:47 +00:00
Miguel de Icaza 9e5b38c8a2 2003-11-29 Miguel de Icaza <[email protected]>
* statement.cs (Block.Resolve, Block.Emit): Avoid foreach on
	ArrayLists, use for loops with bounds.

	* flowanalysis.cs (FlowBranching.Merge): Avoid foreach on
	arraylist.

	* expression.cs (Invocation.OverloadResolve): Avoid foreach on
	arraylists, use for loop with bounds.

	The above three changes give us a 0.071 second performance
	improvement out of 3.294 seconds down to 3.223.  On my machine
	the above changes reduced the memory usage by 1,387 KB during
	compiler bootstrap.

	* cs-parser.jay (QualifiedIdentifier): New class used to represent
	QualifiedIdentifiers.  Before we created a new string through
	concatenation, and mostly later on, the result would be
	manipulated by DecomposeQI through string manipulation.

	This reduced the compiler memory usage for bootstrapping from
	59380 KB to 59007 KB on my machine, 373 KB, and also reduced the
	compile times in 0.05 seconds.

svn path=/trunk/mcs/; revision=20605
2003-11-29 21:59:18 +00:00
Jackson Harper 860e2b71f3 * DataGrid.cs: Display paging controls even when there is no
data. Path by Mohammad DAMT. Fixes bug #51487.

svn path=/trunk/mcs/; revision=20601
2003-11-29 08:48:43 +00:00
Jackson Harper e3b4797571 * DataGrid.cs: Call TrackViewState when loading bound columns view
state. So that their state is saved. This fixes bug #51424. Also
	set ReadOnly.

svn path=/trunk/mcs/; revision=20600
2003-11-29 08:19:12 +00:00
Paolo Molaro 439374fe53 Fri Nov 28 23:03:05 CET 2003 Paolo Molaro <[email protected]>
* cpu-g4.md, inssel-ppc.brg, mini-ppc.c: better long return support.
	* tramp-ppc.c: fixed class init trampoline.
	* inssel-ppc.brg, mini.c, jit-icalls.c, mini-ppc.h: more emulation.

svn path=/trunk/mono/; revision=20595
2003-11-28 22:15:54 +00:00
Zoltan Varga afdf9a0edb 2003-11-28 Zoltan Varga <[email protected]>
* gc.c: Fix hangs and error messages when GC_DONT_GC is set.

svn path=/trunk/mono/; revision=20594
2003-11-28 18:39:50 +00:00
Dick Porter f204bdc417 Do string compares with the Invariant culture.
Use the char forms of IndexOf and LastIndexOf, so that the comparison is
done with the Invariant culture.

svn path=/trunk/mcs/; revision=20593
2003-11-28 18:22:08 +00:00
Atsushi Eno d0d1b1e4ad 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".

svn path=/trunk/mcs/; revision=20592
2003-11-28 16:59:28 +00:00
Atsushi Eno bcc961ca84 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
	  shouldn't expect non-empty element content. This will fix bug #48287.

svn path=/trunk/mcs/; revision=20591
2003-11-28 16:32:42 +00:00
Atsushi Eno 1395cd6eac 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added WriteNodeFullDocument() with
	  encoding specification. Added WriteNodeNonEmptyElement().
	* XmlUrlResolverTests.cs : Added GetEntityWithNonStreamReturnType()
	  and GetEntityWithRelativeFileUri().
	* XmlTextWriterTests.cs : Added some namespace related tests.
	* XmlTextReaderTests.cs : Added char-entity and ReadBase64() tests.
	* XmlNodeTests.cs : GetPrefixOfNamespace() test also for disconnected
	  nodes.
	* XmlElementTests.cs : Added ConstructionAndDefaultAttributes().
	* XmlDeclarationTests.cs : Added InvalidInnerText().
	* XmlAttributeTests.cs : Added CheckPrefixWithNamespace().

svn path=/trunk/mcs/; revision=20590
2003-11-28 16:30:45 +00:00
Jochen Wezel acf66eb06f added StringsTest.cs, but not yet complete
svn path=/trunk/mcs/; revision=20589
2003-11-28 15:43:41 +00:00
Paolo Molaro ee4ccb6971 Fri Nov 28 16:36:29 CET 2003 Paolo Molaro <[email protected]>
* cpu-g4.md, inssel-ppc.brg, jit-icalls.c, mini-ppc.c, mini-ppc.h,
	mini.c: more ppc changes/fixes.

svn path=/trunk/mono/; revision=20588
2003-11-28 15:34:09 +00:00
Miguel de Icaza 7b4ee1de42 Applied patch from Philipp <[email protected]>
svn path=/trunk/mcs/; revision=20587
2003-11-28 14:55:54 +00:00
Zoltan Varga b352df2467 2003-11-28 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (SetCustomAttribute): Implement automatic
	generation of build and revision numbers. Fixes #46492.

svn path=/trunk/mcs/; revision=20586
2003-11-28 14:32:59 +00:00
Jochen Wezel a90848a2ca q
ion `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 %[DIGITS | WORD] [&]               (( expression ))
 . filename                         :
 [ arg... ]                         [[ expression ]]
 alias [-p] [name[=value] ... ]     bg [job_spec]
 bind [-lpvsPVS] [-m keymap] [-f fi break [n]
 builtin [shell-builtin [arg ...]]  case WORD in [PATTERN [| PATTERN].
 cd [-L|-P] [dir]                   command [-pVv] command [arg ...]
 compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o
 continue [n]                       declare [-afFirtx] [-p] name[=valu
 dirs [-clpv] [+N] [-N]             disown [-h] [-ar] [jobspec ...]
 echo [-neE] [arg ...]              enable [-pnds] [-a] [-f filename]
 eval [arg ...]                     exec [-cl] [-a name] file [redirec
 exit [n]                           export [-nf] [name[=value] ...] or
 false                              fc [-e ename] [-nlr] [first] [last
 fg [job_spec]                      for NAME [in WORDS ... ;] do COMMA
 for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA
 getopts optstring name [arg]       hash [-lr] [-p pathname] [-dt] [na
 help [-s] [pattern ...]            history [-c] [-d offset] [n] or hi
 if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job
 kill [-s sigspec | -n signum | -si let arg [arg ...]
 local name[=value] ...             logout
 popd [+N | -N] [-n]                printf format [arguments]
 pushd [dir | +N | -N] [-n]         pwd [-PL]
 read [-ers] [-u fd] [-t timeout] [ readonly [-anf] [name[=value] ...]
 return [n]                         select NAME [in WORDS ... ;] do CO
 set [--abefhkmnptuvxBCHP] [-o opti shift [n]
 shopt [-pqsu] [-o long-option] opt source filename
 suspend [-f]                       test [expr]
 time [-p] PIPELINE                 times
 trap [arg] [signal_spec ...] or tr true
 type [-afptP] name [name ...]      typeset [-afFirtx] [-p] name[=valu
 ulimit [-SHacdflmnpstuv] [limit]   umask [-p] [-S] [mode]
 unalias [-a] [name ...]            unset [-f] [-v] [name ...]
 until COMMANDS; do COMMANDS; done  variables - Some variable names an
 wait [n]                           while COMMANDS; do COMMANDS; done
 { COMMANDS ; }
VBCodeGenerator: CreateNameSpace creates Namespace after Imports

svn path=/trunk/mcs/; revision=20585
2003-11-28 14:31:03 +00:00
Francisco Figueiredo Jr. 7f17050ebf 2003-11-28: Francisco Figueiredo Jr. <[email protected]>
*NpgsqlCommand.cs:  Fixed a problem with prepare commands in 7.3 server versions. The command was being incorrectly interpreted as needing an explicit cast.

svn path=/trunk/mcs/; revision=20584
2003-11-28 13:40:45 +00:00
Zoltan Varga b433306476 2003-11-28 Zoltan Varga <[email protected]>
* reflection.c (assembly_name_to_aname): Allow extra characters in
	assembly names. Fixes #51468.

svn path=/trunk/mono/; revision=20583
2003-11-28 13:39:32 +00:00
Duncan Mak d5242d2347 (CompoundArray): Hide this for now.
svn path=/trunk/mcs/; revision=20576
2003-11-28 06:00:21 +00:00
Duncan Mak 37502cab90 * Brush.cs (CreateBrush): new internal factory method for creating
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.

* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.

* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.

* gdipEnums.cs (BrushType): Added new GDI+ enum.

* gdipFunctions.cs: Imported new Brush and Pen functions.

* brush.c (gdip_brush_setup): Check on the type of the brush and
delegate the implementation to the concrete Brushes,
(GdipCloneBrush, GdipDeleteBrush, GdipGetBrushType): Implemented.

* gdip.h (DashStyle): Fixed typo.
(PenAlignment, BrushType): Added new enumerations.
(GpBrush): Added new type field.
(GpPen): Added new fields: color, brush, mode, dash_array and
unit. Updated the header file to include new Pen functions.

* pen.c (convert_dash_array): Utitlity function for converting
from a float* from GDI+ to a double* for Cairo.
(GdipCreatePen2, GdipClonePen): Implemented.
(PenWidth, BrushFill, Color, PenMode, PenUnit, DashStyle):
(DashOffset, DashCount, DashArray): Implemented the Get/Set
function pairs for these properties.
(GdipGetPenCompoundArray, GdipSetPenCompoundArray):
(GdipGetPenCompoundArrayCount): Stubbed.

* solidbrush.c (gdip_solidfill_init): Utility for initializing a
SolidBrush. Sets type as BrushTypeSolidColor.
(gdip_solidfill_setup): Moved from gdip_brush_setup.
(gdip_solidfill_clone): Implementation for GdipCloneBrush for a
GpSolidFill.
(GdipSetSolidFillColor, GdipGetSolidFillColor): Implemented.

svn path=/trunk/mcs/; revision=20575
2003-11-28 05:47:58 +00:00
Ben Maurer 68cc122b1c bug fixie
svn path=/trunk/mcs/; revision=20574
2003-11-28 05:37:22 +00:00
Tim Coleman a85f0c4bde 2003-11-27 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces.Query/ObjectExpression.cs:
        * System.Data.ObjectSpaces.Query/ObjectSpaceNode.cs:
        * System.Data.ObjectSpaces_test.dll.sources:
                Various updates for completion

svn path=/trunk/mcs/; revision=20572
2003-11-28 03:45:04 +00:00
Tim Coleman 85ff313919 2003-11-27 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces.Query/ObjectExpressionTests.cs:
        * SupportFiles/osd.xml:
        * SupportFiles/rsd.xml:
                New classes added for test

svn path=/trunk/mcs/; revision=20571
2003-11-28 03:43:56 +00:00
Sebastien Pouliot d9fed90928 2003-11-27 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added MD4, MD4Managed and PKCS8 to build.
	* Mono.Security_test.dll.sources: Added unit tests for MD4, MD4Managed
	and PKCS8.

svn path=/trunk/mcs/; revision=20570
2003-11-28 02:58:02 +00:00
Sebastien Pouliot 6d2feadd8b 2003-11-27 Sebastien Pouliot <[email protected]>
* MD4Test.cs: New. Contains all the test vectors provided in RFC1320
	- but none are executed because MD4 is an abstract class.
	* MD4ManagedTest.cs: New. Run the unit tests from MD4Test.cs using
	the MD4Managed implementation of MD4.
	* PKCS8Test.cs: New. Unit tests for PKCS8.

svn path=/trunk/mcs/; revision=20569
2003-11-28 02:54:04 +00:00
Sebastien Pouliot 342218a66d 2003-11-27 Sebastien Pouliot <[email protected]>
* MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
	The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in
	NEW designs. However some higher level algorithms (like NTLM) requires
	MD4 (and may even be secure using it). YOU'RE WARNED!
	* MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
	* PKCS8.cs: New. Added Private-Key Information Syntax Standard as a
	building block for PKCS12.

svn path=/trunk/mcs/; revision=20568
2003-11-28 02:53:06 +00:00
Atsushi Eno d8220dd03e 2003-11-28 Atsushi Enomoto <[email protected]>
* XslCopy.cs, XslCopyOf.cs : namespace nodes should be written.

svn path=/trunk/mcs/; revision=20567
2003-11-28 01:20:14 +00:00
Atsushi Eno 9b9e6d7f91 2003-11-28 Atsushi Enomoto <[email protected]>
* IdPattern.cs : This should work against multiple ids.

svn path=/trunk/mcs/; revision=20566
2003-11-28 01:15:51 +00:00
Atsushi Eno feaa393fe3 2003-11-28 Atsushi Enomoto <[email protected]>
* Expression.cs : namespace axis now traversed in reverse order, so it
	  requires sorting.
	* Iterator.cs : UnionIterator.Clone() was incomplete.
	  NamespaceItarator() should be reverse order (special handling
	  because of XPathNavigator specification).

svn path=/trunk/mcs/; revision=20565
2003-11-28 01:13:15 +00:00
Atsushi Eno 3576a348b5 2003-11-28 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : When element's namespace should be overwritten by
	  one of its attribute, if exist as such. This fixes bug #51305.

svn path=/trunk/mcs/; revision=20564
2003-11-28 01:09:10 +00:00
Miguel de Icaza 69b262e826 2003-11-27 Miguel de Icaza <[email protected]>
* statement.cs (Foreach.TryType): Use DeclaredOnly to find the
	GetEnumerator method.

	(ProbeCollectionType): Iterate starting at the most specific type
	upwards looking for a GetEnumerator

svn path=/trunk/mcs/; revision=20558
2003-11-27 22:37:41 +00:00
Miguel de Icaza 9f4f719249 Add new test for bug 51446
svn path=/trunk/mcs/; revision=20557
2003-11-27 22:37:12 +00:00
Ben Maurer 5c30b86770 2003-11-27 Ben Maurer <[email protected]>
* Array.cs: make the enumerator ICloneable

svn path=/trunk/mcs/; revision=20556
2003-11-27 22:29:13 +00:00
Zoltan Varga e911be028c 2003-11-27 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Fix tail calls with valuetype arguments.
	Also optimize the case when the arguments are the same in the caller
	and in the callee.

svn path=/trunk/mono/; revision=20554
2003-11-27 21:28:22 +00:00
Zoltan Varga ae6ec3fe10 2003-11-27 Zoltan Varga <[email protected]>
* iltests.il: Add tests for tail calls with valuetype arguments.

svn path=/trunk/mono/; revision=20553
2003-11-27 21:14:24 +00:00
Miguel de Icaza e63e233fa5 Small update
svn path=/trunk/mcs/; revision=20552
2003-11-27 20:45:42 +00:00
Ben Maurer e0265efd45 some work on msxml script
svn path=/trunk/mcs/; revision=20551
2003-11-27 20:15:36 +00:00
Rafael Teixeira a22d633bef * Microsoft.VisualBasic/VBCodeGenerator.cs: Support for Option Strict/Option Explicit
svn path=/trunk/mcs/; revision=20550
2003-11-27 20:06:31 +00:00
Paolo Molaro 1e08673843 Thu Nov 27 21:06:37 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c: fixes for struct return type.

svn path=/trunk/mono/; revision=20549
2003-11-27 20:02:52 +00:00
Gonzalo Paniagua Javier 82619b57c4 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fix bug introduced with last change that makes relative
	paths fail. Closes bug #51448.

svn path=/trunk/mcs/; revision=20548
2003-11-27 19:24:34 +00:00
Ben Maurer 682eeca040 2003-11-27 Ben Maurer <[email protected]>
* Decimal.cs (ToXXX): Call Convert.ToXXX.

svn path=/trunk/mcs/; revision=20542
2003-11-27 18:12:18 +00:00
Paolo Molaro 68f82cadae Thu Nov 27 19:02:07 CET 2003 Paolo Molaro <[email protected]>
* mini.h, mini.c, mini-x86.c, mini-ppc.c, mini-sparc.c: move
	mono_spillvar_offset() to arch-specific code.

svn path=/trunk/mono/; revision=20541
2003-11-27 18:00:53 +00:00
Paolo Molaro 9c5735525f Thu Nov 27 18:30:42 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.h, mini-ppc.c: handle some different ABI call convention issues.

svn path=/trunk/mono/; revision=20540
2003-11-27 17:26:45 +00:00
Lluis Sanchez 2bc1f2ed46 * Methods.cs: Added correct namespace for serialization in Fault class.
* SoapHttpClientProtocol.cs: Changed the method used to check if the
	  result is a fault. Now the check is done inside
	  WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
	* WebServiceHelper.cs: If the message body is a fault, use the fault
	  serializer.

svn path=/trunk/mcs/; revision=20539
2003-11-27 16:47:17 +00:00
Lluis Sanchez e6581dceb8 * XmlSerializationReader.cs: Generate identifiers for arrays user a counter.
delayedListFixups.Count cannot be used because elementes from
	  delayedListFixups are deleted sometimes.

svn path=/trunk/mcs/; revision=20538
2003-11-27 16:45:43 +00:00
Zoltan Varga ba532a0033 2003-11-27 Zoltan Varga <[email protected]>
* exceptions-x86.c: Fix stack space leaks.

svn path=/trunk/mono/; revision=20537
2003-11-27 15:55:41 +00:00
Gonzalo Paniagua Javier 1b248b38fb 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* System.Text.RegularExpressions/interpreter.cs: when evaluating a
	degenerate match, restore the RepeatContext if fail. Fixes bug #42529.

	* Test/System.Text.RegularExpressions/RegexBugs.cs: added tests from
	bug #42529.

svn path=/trunk/mcs/; revision=20536
2003-11-27 15:31:59 +00:00
Zoltan Varga 7503db0881 2003-11-27 Zoltan Varga <[email protected]>
* exceptions-x86.c (mono_arch_find_jit_info): Restore callee saved
	registers from the lmf if the method has save_lmf set.

svn path=/trunk/mono/; revision=20535
2003-11-27 15:19:14 +00:00
Lluis Sanchez 70ca8a718c * XmlReflectionImporter.cs: Indexer properties must not be serialized.
This fixes bug #51060.

svn path=/trunk/mcs/; revision=20534
2003-11-27 12:08:50 +00:00
Jackson Harper 21ee60bb01 * VBCodeCompiler.cs: Put a space between Property and the
properties name. Only add a closing quote to strings if we are
	still in a quote. Use BaseType == "System.Void" to determine if a
	method is void. This prevents getting As Nothing functions. Many
	thanks to Anirban for helping me with VB Syntax.

svn path=/trunk/mcs/; revision=20533
2003-11-27 11:50:48 +00:00
Peter Dennis Bartok e324cf97b0 * Implemented DrawMixedCheckBox on top of System.Drawing
* Implemented DrawMenuGlyph on top of System.Drawing
* Implemented DrawStringDisabled on top of System.Drawing
* Implemented DrawSizeGrip on top of System.Drawing
* Implemented DrawSelectionFrame on top of System.Drawing
* Minor cleanups

svn path=/trunk/mcs/; revision=20532
2003-11-27 11:33:45 +00:00
Sunil Kumar 524bd049f0 Set CLSComplaint to true in AssemblyInfo
svn path=/trunk/mcs/; revision=20531
2003-11-27 11:00:26 +00:00
Jackson Harper e39c498646 * VBCodeCompiler.cs: Put a space between Property and the
properties name.

svn path=/trunk/mcs/; revision=20530
2003-11-27 10:58:31 +00:00
Sunil Kumar 91301d9ae8 Change explicit implementation of interface method as per migueal suggestion
svn path=/trunk/mcs/; revision=20529
2003-11-27 10:51:51 +00:00
Jackson Harper 02da738fd0 * VBCodeCompiler.cs: use /wlevel for warning level. This is what
mbas uses.

svn path=/trunk/mcs/; revision=20528
2003-11-27 09:28:19 +00:00
Jackson Harper 1051c0d09e * TemplateParser.cs: Ignore aspCompat attribute. This fixes bug
51434.

svn path=/trunk/mcs/; revision=20527
2003-11-27 08:31:21 +00:00
Miguel de Icaza 90fc8a6e75 Improve
svn path=/trunk/mono/; revision=20524
2003-11-27 07:01:26 +00:00
César Natarén 3ebae787b8 more Emit method addings
svn path=/trunk/mcs/; revision=20523
2003-11-27 06:42:12 +00:00
César Natarén 655e62b764 2003-11-27 Cesar Lopez Nataren <[email protected]>
* expression.cs (Expression): implemented Emit.

	* expression.cs (Binary): Emit now creates a local for the
	different kinds of binary expressions (initial code for this).

	* ast.cs: Emit method now is abstract instead of virtual.

	* CodeGenerator.cs: changed no_global_code_method to is_global_code_method.

	* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, DebugBreak.cs,
	Enum.cs, Equality.cs, Eval.cs, ForIn.cs, FormalParameterList.cs,
	FunctionExpression.cs, Import.cs, InstanceOf.cs, Literal.cs,
	NumericLiteral, NumericBinary.cs, NumericUnary.cs, Package.cs,
	Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
	Continue, Break, Return, StrictEquality.cs, StringLiteral.cs,
	Throw.cs, Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs,
	Conditional, Call, Identifier, Args, Expression, :
	added Emit method.

svn path=/trunk/mcs/; revision=20522
2003-11-27 06:33:40 +00:00
Miguel de Icaza e42fd40d83 This was not a bug
svn path=/trunk/mcs/; revision=20521
2003-11-27 05:56:35 +00:00
Miguel de Icaza fb8bc36ed2 2003-11-27 Miguel de Icaza <[email protected]>
* expression.cs: Shift count can be up to 31 for int/uint and 63
	for long/ulong.

svn path=/trunk/mcs/; revision=20520
2003-11-27 05:52:19 +00:00
Miguel de Icaza 8222bade0d 2003-11-26 Miguel de Icaza <[email protected]>
* statement.cs (Block.LookupLabel): Also look for the label on the
	children blocks.  Use a hash table to keep track of visited
	nodes.

svn path=/trunk/mcs/; revision=20519
2003-11-27 04:48:22 +00:00
Miguel de Icaza f661100abb Add new test
svn path=/trunk/mcs/; revision=20518
2003-11-27 04:47:31 +00:00
Miguel de Icaza efe62a14ae Dummy
svn path=/trunk/mcs/; revision=20517
2003-11-27 04:41:26 +00:00
Gonzalo Paniagua Javier c413e40c06 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* UrlUtils.cs: fixed Combine() handling of ~.

svn path=/trunk/mcs/; revision=20516
2003-11-27 04:10:04 +00:00
Gonzalo Paniagua Javier 47105b4b4e 2003-11-27 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: removed unneeded StringBuilder.
	* WebConnection.cs: default to keep the connection open for HTTP/1.1
	only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.

svn path=/trunk/mcs/; revision=20513
2003-11-27 01:50:44 +00:00
Miguel de Icaza bb0fc7c8bf 2003-11-26 Miguel de Icaza <[email protected]>
* cfold.cs (IntConstant to UIntConstant mapping): Only return if
	we actually did transform the other operand, otherwise fall back
	to the common codepath that casts to long.

	* cs-tokenizer.cs: Use the same code pattern as the int case.
	Maybe I should do the parsing myself, and avoid depending on the
	Parse routines to get this done.

svn path=/trunk/mcs/; revision=20512
2003-11-27 01:41:32 +00:00
Jackson Harper 2330138736 * BaseDataList.cs: Change && to || We will call that a typo so no
one gets embarrased.

svn path=/trunk/mcs/; revision=20510
2003-11-26 23:50:14 +00:00
Ben Maurer b5010be256 2003-11-26 Ben Maurer <[email protected]>
* Control.cs: Add DataBindChildren for v2. Implement
	glue to make Page.Eval work.
	* Page: use a stack to store the current dataitem
	for Eval. Implement Eval/XPath/XPathSelect
	* DataBinder.cs: implement GetDataItem.

svn path=/trunk/mcs/; revision=20508
2003-11-26 23:31:41 +00:00
Jackson Harper 58b898f85f * TabsDrawMode.cs: OwnerDrawFixed (fix typo).
svn path=/trunk/mcs/; revision=20507
2003-11-26 22:35:56 +00:00
Jackson Harper bc46837166 * OutputCacheModule.cs: Only cache a page if it has a 200 status
code. Fix tabbing.
	* CachedVaryBy.cs: Give raw response keys a name, use the
	httpmethod in the key, and delimit items with \n so it is easier
	to read when debugging.

svn path=/trunk/mcs/; revision=20506
2003-11-26 22:23:28 +00:00
Zoltan Varga bb39a0e847 2003-11-26 Zoltan Varga <[email protected]>
* exception.c (mono_exception_from_name_domain): New helper function.

	* appdomain.c (ves_icall_System_AppDomain_createDomain): Create the
	exception object in the correct domain.

	* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix
	formatting + make a copy a the input data.

svn path=/trunk/mono/; revision=20505
2003-11-26 20:42:50 +00:00
César Natarén e1f9859dbc 2003-11-27 Cesar Lopez Nataren <[email protected]>
* FunctionDeclaration.cs: Check if values are not null first (at
	Resolve). Ignore code generation is at 'Global Code'.

	* VariableDeclaration.cs: Now I take care of IL generation when we
	are at statements and expressions at global code, 'Global Code'
	method is populated with that IL.

	* CodeGenerator.cs: Added flag for 'Global Code' method
	emittion. Now I call 'Emit' twice. The first for declarations the
	follower for statements and expressions at global scope.

svn path=/trunk/mcs/; revision=20504
2003-11-26 20:33:43 +00:00
Zoltan Varga b7b65f48f4 2003-11-26 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_magic_trampoline): Avoid patching in the addresses
	of icall wrappers into InvokeInDomain, since these are now per-domain.

svn path=/trunk/mono/; revision=20503
2003-11-26 19:24:46 +00:00
Paolo Molaro a1b0651c4f Wed Nov 26 20:15:04 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.h, mini-x86.h, mini.c, inssel-ppc.brg, jit-icalls.c:
	make some opcode emulation and intrinsic ops enabled/disabled
	according to the architecture. More fixes.

svn path=/trunk/mono/; revision=20502
2003-11-26 19:14:16 +00:00
Andreas N 27396f0256 2003-11-26 Andreas Nahr <[email protected]>
* corlib.dll.sources: Added file:
		System.Runtime.InteropServices.DispatchWrapper.cs

svn path=/trunk/mcs/; revision=20501
2003-11-26 19:13:37 +00:00
Andreas N 1fd6c20c26 2003-11-26 Andreas Nahr <[email protected]>
* DispatchWrapper.cs: Added and implemented
	* ErrorWrapper.cs: Fixed bug
	* Marshal.cs: Added missing members

svn path=/trunk/mcs/; revision=20500
2003-11-26 19:12:59 +00:00
Tim Coleman 7d23b3d129 2003-11-26 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces_test.dll.sources:
        * Makefile:
                Add stuff for tests
        * System.Data.ObjectSpaces/PersistenceError.cs:
        * System.Data.ObjectSpaces/PersistenceException.cs:
        * System.Data.ObjectSpaces.Schema/ExtendedProperty.cs:
        * System.Data.ObjectSpaces.Schema/ExtendedPropertyCollection.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationshipCollection.cs:
        * System.Data.ObjectSpaces.Schema/ObjectRelationshipType.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClass.cs:
        * System.Data.ObjectSpaces.Schema/SchemaClassCollection.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMember.cs:
        * System.Data.ObjectSpaces.Schema/SchemaMemberCollection.cs:
        * System.Data.ObjectSpaces.dll.sources:
                New class stubs added
        * System.Data.ObjectSpaces/CommonObjectContext.cs:
        * System.Data.ObjectSpaces/ContextException.cs:
        * System.Data.ObjectSpaces/DbObjectReader.cs:
        * System.Data.ObjectSpaces/ObjectContext.cs:
        * System.Data.ObjectSpaces/ObjectException.cs:
        * System.Data.ObjectSpaces/ObjectKeyManager.cs:
        * System.Data.ObjectSpaces/ObjectList.cs:
        * System.Data.ObjectSpaces/OneToManyRelationship.cs:
        * System.Data.ObjectSpaces/OneToOneRelationship.cs:
        * System.Data.ObjectSpaces.Schema/ObjectSchema.cs:
                Updates to make more correct

svn path=/trunk/mcs/; revision=20499
2003-11-26 19:03:15 +00:00
Paolo Molaro 9f629e2b72 Wed Nov 26 19:59:09 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, mini-sparc.c, cpu-g4.md: more bug fixes.

svn path=/trunk/mono/; revision=20498
2003-11-26 18:56:32 +00:00
Tim Coleman a9ea0406c0 2003-11-26 Tim Coleman <[email protected]>
* ChangeLog run_test.sh
        * System.Data.ObjectSpaces/CommonObjectContextTests.cs:
                New classes added for test

svn path=/trunk/mcs/; revision=20497
2003-11-26 18:54:26 +00:00
Miguel de Icaza 76233a9aa5 Style
svn path=/trunk/mcs/; revision=20496
2003-11-26 18:42:32 +00:00
Miguel de Icaza f0ddc7f2ea API signature fix
svn path=/trunk/mcs/; revision=20495
2003-11-26 18:42:19 +00:00
Miguel de Icaza 242e770df9 2003-11-25 Miguel de Icaza <[email protected]>
* expression.cs: Apply fix from [email protected] (Laurent Morichetti),
	which fixes bug 51347.  This time test it.

svn path=/trunk/mcs/; revision=20494
2003-11-26 18:42:00 +00:00
Miguel de Icaza d5310923f2 Add old test
svn path=/trunk/mcs/; revision=20493
2003-11-26 18:41:43 +00:00
Miguel de Icaza 9ff5f57fad 2003-11-26 Miguel de Icaza <[email protected]>
* DataSet.cs: Add a few more missing methods, code style updated
	to Mono style.

svn path=/trunk/mcs/; revision=20492
2003-11-26 18:37:32 +00:00
Miguel de Icaza ad97176f44 Add missing method
svn path=/trunk/mcs/; revision=20491
2003-11-26 18:27:55 +00:00
Miguel de Icaza e371bd0778 Fix build
svn path=/trunk/mcs/; revision=20490
2003-11-26 18:21:36 +00:00
Paolo Molaro 4f5f2f117d Wed Nov 26 19:18:29 CET 2003 Paolo Molaro <[email protected]>
* mini.h, inssel.brg, mini-x86.c, mini-ppc.c, mini-sparc.c: move
	arch-specific handling for 'this' and struct return type to
	arch-specific code.

svn path=/trunk/mono/; revision=20489
2003-11-26 18:15:42 +00:00
Zoltan Varga 69f67109e1 2003-11-26 Zoltan Varga <[email protected]>
* configure.in: Add -fno-strict-aliasing to CFLAGS.

svn path=/trunk/mono/; revision=20488
2003-11-26 18:12:44 +00:00
Tim Coleman f41a332b34 2003-11-26 Tim Coleman <[email protected]>
* DbDataReader.cs:
		Bugfix.

svn path=/trunk/mcs/; revision=20487
2003-11-26 18:07:41 +00:00
Jackson Harper 0fae173e71 * SessionSQLServerHandler.cs: Fix typo in param name.
svn path=/trunk/mcs/; revision=20486
2003-11-26 18:06:26 +00:00
Zoltan Varga c25d8405e2 2003-11-26 Zoltan Varga <[email protected]>
* dump.c dump.h main.c: Added support for dumping the ImplMap table
	(--implmap).

	* main.c (dis_method_list): Avoid disassembling native code.

svn path=/trunk/mono/; revision=20485
2003-11-26 17:37:36 +00:00
Zoltan Varga 31709a8cb7 2003-11-26 Zoltan Varga <[email protected]>
* loader.c (mono_get_method_from_token): Methods which contain
	native code do not have entries in the ImplMap.

svn path=/trunk/mono/; revision=20484
2003-11-26 17:35:41 +00:00
Zoltan Varga c73f9cc0a6 2003-11-26 Zoltan Varga <[email protected]>
(ves_icall_System_AppDomain_LoadAssemblyRaw): Fix exception throw.
	Thanks to Gonzalo for spotting this.

svn path=/trunk/mono/; revision=20483
2003-11-26 17:17:59 +00:00
Lluis Sanchez 788b8cbf2e * corlib.dll.sources: Added
System.Runtime.Remoting.Services/EnterpriseServicesHelper.cs
	* corlib_test.dll.sources: Added System.Runtime.Remoting/SoapServicesTest.cs

svn path=/trunk/mcs/; revision=20482
2003-11-26 16:05:37 +00:00
Lluis Sanchez 65325ed00a SoapServicesTest.cs: New test added.
svn path=/trunk/mcs/; revision=20481
2003-11-26 16:03:49 +00:00
Lluis Sanchez e40689b7be RealProxy.cs: Signature fix.
svn path=/trunk/mcs/; revision=20480
2003-11-26 15:56:48 +00:00
Lluis Sanchez 13e0327f20 * EnterpriseServicesHelper.cs: Added to CVS.
svn path=/trunk/mcs/; revision=20479
2003-11-26 15:55:37 +00:00
Tim Coleman 7d246e307b 2003-11-26 Tim Coleman <[email protected]>
* AssemblyInfo.cs: Added
        * ChangeLog: Added
        * Locale.cs: Added

svn path=/trunk/mcs/; revision=20478
2003-11-26 15:49:35 +00:00
Gonzalo Paniagua Javier bb360f301f 2003-11-26 Gonzalo Paniagua Javier <[email protected]>
* aot.c: prevent divide by zero error when reporting (it happened with
	Accessibility.dll).

svn path=/trunk/mono/; revision=20477
2003-11-26 15:46:04 +00:00
Zoltan Varga 1faf750da9 2003-11-26 Zoltan Varga <[email protected]>
* configure.in: Applied patch from [email protected]. Avoid linking in
	librt if not neccesary.

svn path=/trunk/mono/; revision=20476
2003-11-26 15:34:59 +00:00
Zoltan Varga 5dcccf3651 2003-11-26 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Applied
	patch from [email protected] (Zdravko Tashev). New icall.

svn path=/trunk/mono/; revision=20475
2003-11-26 15:21:00 +00:00
Lluis Sanchez bdf7797c52 * InternalRemotingServices.cs: Fixed GetCachedSoapAttribute().
* RemotingConfiguration.cs: Implemented CustomErrorsEnabled().
	  Added support for soapInterop configuration section.
	* SoapServices.cs: Several fixes to match MS behavior.

svn path=/trunk/mcs/; revision=20474
2003-11-26 15:19:37 +00:00
Lluis Sanchez f61f2aea52 * MethodCall.cs, MethodResponse.cs, ReturnMessage.cs: Implemented
HasVarArgs property.

svn path=/trunk/mcs/; revision=20473
2003-11-26 15:19:10 +00:00
Lluis Sanchez 784fc355c8 * SoapAttribute.cs, SoapFieldAttribute.cs, SoapMethodAttribute.cs,
SoapTypeAttribute.cs: Added SetReflectionObject. Used to initialize some
	  attribute properties.

svn path=/trunk/mcs/; revision=20472
2003-11-26 15:18:12 +00:00
Zoltan Varga d8ef86811f 2003-11-26 Zoltan Varga <[email protected]>
* assembly.h (mono_assembly_load_from): Split the second part of
	assembly loading into a new public function.

svn path=/trunk/mono/; revision=20471
2003-11-26 15:17:32 +00:00
Lluis Sanchez a5dd638987 * BinaryFormatter.cs: Added missing methods.
svn path=/trunk/mcs/; revision=20470
2003-11-26 15:17:12 +00:00
Zoltan Varga 28cdb2c0f3 2003-11-26 Zoltan Varga <[email protected]>
* exception.h (mono_get_exception_bad_image_format): New function.

svn path=/trunk/mono/; revision=20469
2003-11-26 15:16:26 +00:00
Zoltan Varga 354d3224f1 2003-11-26 Zoltan Varga <[email protected]>
* AppDomain.cs: Applied patch from [email protected] (Zdravko Tashev).
	Implement Load(byte[]) methods.

svn path=/trunk/mcs/; revision=20468
2003-11-26 15:14:39 +00:00
Zoltan Varga 24481f2bff 2003-11-26 Zoltan Varga <[email protected]>
* BadImageFormatException.cs: Fix ToString.

svn path=/trunk/mcs/; revision=20467
2003-11-26 15:12:56 +00:00
Gonzalo Paniagua Javier b233c57ff8 Shit happens
svn path=/trunk/mcs/; revision=20466
2003-11-26 13:20:25 +00:00
Gonzalo Paniagua Javier 464376a49f 2003-11-26 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: added request queue handling.

	* QueueManager.cs: simple request queue.

	* TimeoutManager.cs: added some locks to prevent the enumerator used in
	CheckTimeouts to be out of synch.

svn path=/trunk/mcs/; revision=20464
2003-11-26 12:07:05 +00:00
Tim Coleman ced8729a98 2003-11-26 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add many new System.Data classes for NET_1_2 build.

svn path=/trunk/mcs/; revision=20461
2003-11-26 06:19:58 +00:00
Tim Coleman 7f8e281cab 2003-11-26 Tim Coleman <[email protected]>
* DbDataReader.cs: Add new stub class

svn path=/trunk/mcs/; revision=20460
2003-11-26 06:18:37 +00:00
Tim Coleman f28c2e73e6 2003-11-25 Tim Coleman <[email protected]>
AdapterMappingException.cs:
		Forgot to add this one.

svn path=/trunk/mcs/; revision=20459
2003-11-26 06:17:37 +00:00
Tim Coleman cb0f49304c 2003-11-26 Tim Coleman <[email protected]>
* ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
        * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
        * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
        * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
        * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
        * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
        * StatementCompletedEventHandler.cs UpdateOptions.cs:
                New classes added for NET_1_2
        * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
        * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
                Modifications to add new NET_1_2 functions

svn path=/trunk/mcs/; revision=20458
2003-11-26 06:16:56 +00:00
Peter Dennis Bartok f03ff49959 * Implemented DrawGrabHandle on top of System.Drawing
* Implemented DrawFocusRectangle on top of System.Drawing
* Implemented DrawGrid on top of System.Drawing
* Implemented DrawImageDisabled on top of System.Drawing
* Implemented DrawLockedFrame on top of System.Drawing
* Removed MonoTODO from undocumented MS methods

svn path=/trunk/mcs/; revision=20453
2003-11-26 04:09:42 +00:00
Peter Dennis Bartok 8cde8f43fc * Added Dispose()
* Added SetColorMatrix() stubs

svn path=/trunk/mcs/; revision=20452
2003-11-26 04:04:17 +00:00
Miguel de Icaza 9971884733 up
svn path=/trunk/mcs/; revision=20451
2003-11-26 04:00:09 +00:00
Ben Maurer ee47ae5d42 update sources
svn path=/trunk/mcs/; revision=20450
2003-11-26 03:37:50 +00:00
Miguel de Icaza e42ba7fa0f testagain
svn path=/trunk/mcs/; revision=20449
2003-11-26 03:37:48 +00:00
Miguel de Icaza cc05b91c63 update
svn path=/trunk/mcs/; revision=20448
2003-11-26 03:36:48 +00:00
Ben Maurer 6659397e03 2003-11-25 Ben Maurer <[email protected]>
* AccessMembershipProvider.cs: New v2 file
	* AccessRoleProvider.cs: New v2 file
	* ADMembershipProvider.cs: New v2 file
	* AnonymousIdentificationEventArgs.cs: New v2 file
	* AnonymousIdentificationEventHandler.cs: New v2 file
	* AnonymousIdentificationModule.cs: New v2 file
	* CookieProtection.cs: New v2 file
	* IMembershipProvider.cs: New v2 file
	* IRoleProvider.cs: New v2 file
	* Membership.cs: New v2 file
	* MembershipCreateStatus.cs: New v2 file
	* MembershipCreateUserException.cs: New v2 file
	* MembershipOnlineStatus.cs: New v2 file
	* MembershipPasswordException.cs: New v2 file
	* MembershipPasswordFormat.cs: New v2 file
	* MembershipProviderCollection.cs: New v2 file
	* MembershipSortOptions.cs: New v2 file
	* MembershipUser.cs: New v2 file
	* MembershipUserCollection.cs: New v2 file
	* RoleManagerEventArgs.cs: New v2 file
	* RoleManagerEventHandler.cs: New v2 file
	* RoleManagerModule.cs: New v2 file
	* RolePrincipal.cs: New v2 file
	* RoleProviderCollection.cs: New v2 file
	* Roles.cs: New v2 file
	* SqlMembershipProvider.cs: New v2 file
	* SqlRoleProvider.cs: New v2 file

svn path=/trunk/mcs/; revision=20447
2003-11-26 03:33:43 +00:00
Miguel de Icaza da760141e1 add
svn path=/trunk/mono/; revision=20443
2003-11-26 00:50:38 +00:00
Tim Coleman 73b0a52175 2003-11-25 Tim Coleman <[email protected]>
* System.Data.ObjectSpaces/PersistenceErrorBehaviour.cs:
        * System.Data.ObjectSpaces/PersisteneceErrorType.cs:
                Remove misnamed class files
        * System.Data.ObjectSpaces/ObjectException.cs:
        * System.Data.ObjectSpaces/ObjectQuery.cs:
        * System.Data.ObjectSpaces/ObjectSet.cs:
        * System.Data.ObjectSpaces/ObjectSources.cs:
        * System.Data.ObjectSpaces/PersistenceErrorBehavior.cs:
        * System.Data.ObjectSpaces/PersistenceErrorType.cs:
        * System.Data.ObjectSpaces/PersistenceOptions.cs:
                New stubs created to get things to compile
        * Makefile:
                Add new dependencies
        * System.Data.ObjectSpaces/ASTBaseParser.cs:
        * System.Data.ObjectSpaces/CommonObjectContext.cs:
        * System.Data.ObjectSpaces/DbObjectReader.cs:
        * System.Data.ObjectSpaces/DynamicAssembly.cs:
        * System.Data.ObjectSpaces/IObjectHelper.cs:
        * System.Data.ObjectSpaces/IObjectNotification.cs:
        * System.Data.ObjectSpaces/KeyGenerator.cs:
        * System.Data.ObjectSpaces/ObjectContext.cs:
        * System.Data.ObjectSpaces/ObjectEngine.cs:
        * System.Data.ObjectSpaces/ObjectKeyManager.cs:
        * System.Data.ObjectSpaces/ObjectList.cs:
        * System.Data.ObjectSpaces/ObjectReader.cs:
        * System.Data.ObjectSpaces/ObjectSpace.cs:
        * System.Data.ObjectSpaces/ValueRecord.cs:
        * System.Data.ObjectSpaces.Query/Axis.cs:
                Changes to get things to compile

svn path=/trunk/mcs/; revision=20442
2003-11-25 22:22:09 +00:00
Tim Coleman 13f8ee91d0 2003-11-25 Tim Coleman <[email protected]>
* System.Data.dll.sources:
                Add System.Data/IDataSources.cs to build

svn path=/trunk/mcs/; revision=20441
2003-11-25 21:50:53 +00:00
Tim Coleman 46bb14f0e9 2003-11-25 Tim Coleman <[email protected]>
* IDataSources.cs:
                New 1.2 class added

svn path=/trunk/mcs/; revision=20440
2003-11-25 21:50:31 +00:00
Jackson Harper 6d33b34794 * RemoteStateServer.cs: Update the session dictionary data and the
static objects data.
	* SessionDictionary.cs: Remove type serialization methods, these
	have been moved to a utility class. Add convenience methods for
	converting to/from byte arrays.
	* SessionSQLServerHandler.cs:
	* SessionStateServerHandler.cs: Save/Restore static objects. Use new
	to/from byte array methods.
	* StateServerItem.cs: Hold static objects data.

svn path=/trunk/mcs/; revision=20439
2003-11-25 21:43:29 +00:00
Jackson Harper 0be4ac62da * HttpStaticObjectsCollection.cs: Add methods for serialization
and conversion to/from byte arrays.

svn path=/trunk/mcs/; revision=20438
2003-11-25 21:42:21 +00:00
Jackson Harper 50f9116c23 * System.web.dll.sources: Add AltSerialization.cs to the build
svn path=/trunk/mcs/; revision=20437
2003-11-25 21:41:45 +00:00
Jackson Harper bfc36ca5b6 * AltSerialization.cs: Utility methods for optimized
serializing.

svn path=/trunk/mcs/; revision=20436
2003-11-25 21:39:59 +00:00
Tim Coleman b90f99ec33 2003-11-25 Tim Coleman <[email protected]>
* ChangeLog:
        * Makefile:
        * System.Data.Mapping/*.cs:
        * System.Data.SqlXml/*.cs:
        * System.Data.SqlXml.dll.sources:
        * System.Xml.Query/*.cs:
        * TODOAttribute.cs:
                Create initial stubs for System.Data.SqlXml

svn path=/trunk/mcs/; revision=20435
2003-11-25 21:34:21 +00:00
Tim Coleman 896db3807d 2003-11-25 Tim Coleman <[email protected]>
* System.Xml.dll.sources: added XmlSchemaBuiltInType.cs

svn path=/trunk/mcs/; revision=20434
2003-11-25 21:02:58 +00:00
Zoltan Varga 0e4591c279 2003-11-25 Zoltan Varga <[email protected]>
* mini.h (inst_switch): Remove unused macro.

svn path=/trunk/mono/; revision=20433
2003-11-25 19:19:49 +00:00
Gonzalo Paniagua Javier 24498fc233 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
* aot.c:
	(load_aot_module): free 'info->methods' and 'info' properly. No more
	"free(): invalid pointer blah" messages when you have an old aot
	compiled assembly.

svn path=/trunk/mono/; revision=20432
2003-11-25 16:51:24 +00:00
Lluis Sanchez d8531f12db * InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
* SoapServices.cs: Implemented missing methods.
	* WellKnownClientTypeEntry.cs: Initialize object_url in constructor.

svn path=/trunk/mcs/; revision=20431
2003-11-25 16:48:03 +00:00
Lluis Sanchez 56fa430659 * AsyncResult.cs, CallContext.cs: Added private constructor.
* ReturnMessage.cs: Added parameter array length check.

svn path=/trunk/mcs/; revision=20430
2003-11-25 16:47:29 +00:00
Lluis Sanchez 1c807cb263 * RealProxy.cs: Added some missing methods.
* RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
	  instead of a ReturnMessage.

svn path=/trunk/mcs/; revision=20429
2003-11-25 16:40:00 +00:00
Lluis Sanchez 72e6efb213 * InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
* SoapServices.cs: Implemented missing methods.
	* WellKnownClientTypeEntry.cs: Initialize object_url in constructor.

svn path=/trunk/mcs/; revision=20428
2003-11-25 16:30:36 +00:00
Zoltan Varga 41ff2aed1c 2003-11-25 Zoltan Varga <[email protected]>
* Assembly.cs (LoadWithPartialName): Return null instead of throwing
	an exception to match MS behavior.

svn path=/trunk/mcs/; revision=20427
2003-11-25 11:51:53 +00:00
Gonzalo Paniagua Javier 42018d8a7c Fix compilation for gcc 2.95
svn path=/trunk/mono/; revision=20426
2003-11-25 11:49:40 +00:00
Zoltan Varga 6050c737a4 2003-11-25 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Implement GetField.

svn path=/trunk/mcs/; revision=20425
2003-11-25 11:48:26 +00:00
Gonzalo Paniagua Javier 464ba68686 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
	<[email protected]>. Fixes bug #51377.

svn path=/trunk/mcs/; revision=20424
2003-11-25 11:45:43 +00:00
Gonzalo Paniagua Javier 4739b4b82b Updated LAMESPEC
svn path=/trunk/mcs/; revision=20423
2003-11-25 10:50:06 +00:00
Peter Dennis Bartok 83a475629a * Implemented DrawFocusRectangle on top of System.Drawing
* Changed code to use System Brushes and Pens instead of those locally defined

svn path=/trunk/mcs/; revision=20422
2003-11-25 09:02:36 +00:00
Peter Dennis Bartok 8647d672bb * Added ControlDark and ControlDarkDark brushes
svn path=/trunk/mcs/; revision=20421
2003-11-25 08:56:47 +00:00
Peter Williams bba7b798da Add disco to .cvsignore
svn path=/trunk/mono/; revision=20420
2003-11-25 05:32:03 +00:00
Miguel de Icaza 544b84163d 2003-11-25 Miguel de Icaza <[email protected]>
* expression.cs: Make TypeOfVoid derive from TypeOf, so code in
	attributes for example can not tell the difference between these.
	The difference was only a syntax feature of the language.

svn path=/trunk/mcs/; revision=20419
2003-11-25 05:26:36 +00:00
Miguel de Icaza 698628df09 update
svn path=/trunk/mcs/; revision=20418
2003-11-25 05:24:38 +00:00
Miguel de Icaza e9a6777048 Add new test
svn path=/trunk/mcs/; revision=20417
2003-11-25 05:23:39 +00:00
Miguel de Icaza fa15136a3e 2003-11-25 Miguel de Icaza <[email protected]>
* attribute.cs: Apply attributes to delegates.

	* delegate.cs: Call the apply attributes method.

svn path=/trunk/mcs/; revision=20416
2003-11-25 05:15:13 +00:00
Miguel de Icaza d41bec356a 2003-11-24 Miguel de Icaza <[email protected]>
* convert.cs (TryImplicitIntConversion): One line bug fix: we were
	comparing 0 vs Byte.MinValue, not the value

	(ImplicitConversionRequired): When reporting a conversion error,
	use error 31 to print out the constant error instead of the
	simpler 29.

	* expression.cs: Apply fix from [email protected] (Laurent Morichetti),
	which fixes bug 51347.

svn path=/trunk/mcs/; revision=20415
2003-11-25 04:52:26 +00:00
Jackson Harper f82c6fa251 * SessionStateServerHandler.cs: Parse connection string. Need to
look into what MS allows/doesn't allow better.

svn path=/trunk/mcs/; revision=20413
2003-11-25 04:25:24 +00:00
Jackson Harper 9a6f07bdd6 * System.web.dll.sources: Add State server classes to build.
svn path=/trunk/mcs/; revision=20412
2003-11-25 03:44:38 +00:00
Jackson Harper 04cb1c4ce5 * RemoteStateServer.cs: The state server object that will reside
on the server and store session data and ids.
	* StateServerItem.cs: Container for session data.
	* SessionStateServerHandler.cs: Handler that communicates with the
	StateServer so sessions can be stored out of process.
	* SessionStateModule.cs: Allow state server mode.

svn path=/trunk/mcs/; revision=20411
2003-11-25 03:42:46 +00:00
Peter Dennis Bartok 74d5cd6f2d * Implemented DrawComboButton on top of System.Drawing
* Implemented DrawContainerGrabHandle on top of System.Drawing

svn path=/trunk/mcs/; revision=20410
2003-11-25 03:37:41 +00:00
Jackson Harper 4a0237ecc0 * ServerIdentity.cs: Get non public types, so remote objects can
be non public or have non public constructors.

svn path=/trunk/mcs/; revision=20404
2003-11-25 00:54:29 +00:00
Gonzalo Paniagua Javier 9bfb9295eb 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* io.c: don't call g_free before testing errno as it may modify it.
	If the path exists, return an error if it's not a directory. Fixes
	bug #50753.

svn path=/trunk/mono/; revision=20403
2003-11-24 20:40:01 +00:00
Gonzalo Paniagua Javier 2be737caf8 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: provide the path when getting the IOException.

svn path=/trunk/mcs/; revision=20402
2003-11-24 20:37:42 +00:00
Zoltan Varga b7860f0593 2003-11-24 Zoltan Varga <[email protected]>
* MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
	GetConstructor, as done by MS.

svn path=/trunk/mcs/; revision=20401
2003-11-24 20:37:26 +00:00
Zoltan Varga 292f90b0cb 2003-11-24 Zoltan Varga <[email protected]>
* ModuleTest.cs: Make the assembly name unique to fix the GlobalData
	test.

svn path=/trunk/mcs/; revision=20400
2003-11-24 20:33:50 +00:00
Zoltan Varga 6a7eecfe83 2003-11-24 Zoltan Varga <[email protected]>
* MonoMethod.cs: Add missing constructor.

svn path=/trunk/mcs/; revision=20399
2003-11-24 20:18:28 +00:00
Zoltan Varga d831ed7d20 2003-11-24 Zoltan Varga <[email protected]>
icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
	Enumerate all modules inside a dynamic assembly. Fixes #51293.

svn path=/trunk/mono/; revision=20398
2003-11-24 19:35:36 +00:00
Gonzalo Paniagua Javier c51a5f0ff0 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs: allow setting null as Datasource.

	* DataGrid.cs: keep autogenerated columns in the ViewState.

	Patches by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20397
2003-11-24 18:46:31 +00:00
Gonzalo Paniagua Javier bacb1930e5 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
	<[email protected]>.

svn path=/trunk/mcs/; revision=20396
2003-11-24 18:44:24 +00:00
Zoltan Varga 2bd2b20535 2003-11-24 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add System.Reflection.Emit/DynamicMethod.cs.

svn path=/trunk/mcs/; revision=20395
2003-11-24 18:30:40 +00:00
Zoltan Varga 036f11c6a7 2003-11-24 Zoltan Varga <[email protected]>
* DynamicMethod.cs: New class.

svn path=/trunk/mcs/; revision=20394
2003-11-24 18:29:47 +00:00
Zoltan Varga 821f57faa6 2003-11-24 Zoltan Varga <[email protected]>
* icall.c: Add new icall for creating dynamic methods.

	* loader.h debug-helpers.c: Add new wrapper type for dynamic methods.

	* reflection.h (MonoReflectionDynamicMethod): Fix type of bool fields.

	* reflection.c (mono_reflection_create_dynamic_method): New icall to
	create a dynamic method.

	* reflection.c (resolve_object): New helper function.

	* reflection.c: Generalize ReflectionMethodBuilder and the functions
	which manipulate it so they can also work on dynamic methods.

	* reflection.c (reflection_method_builder_to_mono_method): Avoid
	creating the MonoReflectionMethodAux structure if it is not needed.

svn path=/trunk/mono/; revision=20393
2003-11-24 18:28:28 +00:00
Atsushi Eno 3b45ef8b4d 2003-11-24 Atsushi Enomoto <[email protected]>
* Iterator.cs : PrecedingIterator.MoveNext() now breaks up at Root.
	* XPathNavigator.cs : ComparePosition() didn't handle attributes
	  correctly.

svn path=/trunk/mcs/; revision=20392
2003-11-24 17:03:12 +00:00
Atsushi Eno 0b5457bd50 2003-11-24 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Fixed ReadContent() which may result in
	  invalid additional Text node.

svn path=/trunk/mcs/; revision=20391
2003-11-24 17:02:35 +00:00
Atsushi Eno 0fc04af1cb 2003-11-24 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs :
	  On WriteProcessingInstruction(), ArgumentException() is expected ;-)

svn path=/trunk/mcs/; revision=20390
2003-11-24 15:30:32 +00:00
Atsushi Eno d0a53d86bb 2003-11-24 Atsushi Enomoto <[email protected]>
* Parser.jay, Expression.cs, Iterator.cs :
	  Added ExprParens and ParensIterator classes which is used to handle
	  precedence of parenthesized expressions.
	  (e.g. consider "(preceding::*)[3]" and "preceding::[3]" )

	* Expression.cs, Iterator.cs :
	  Added RequireSorting property for each Expr and BaseIterator classes.
	  SlashIterator.MoveNext() now considers correct sorting. But
	  considering performance, it separates two logics, sorted and sortless
	  depending on RequireSorting of left iterator and right expression.

	* Iterator.cs :
	  SimpleIterator.ctor() should consider when nav is null.
	  FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
	  not return any nodes.
	  AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
	  positions.
	  AncestorIterator.MoveNext() should skip Root if context node is
	  Root itself.
	  FollowingIterator.MoveNext() should not handle children of context
	  itself.
	  PrecedingIterator.MoveNext() should skip its ancestors.
	  AxisIterator.ReverseAxis should be dependent on its containing iter.
	  UnionIterator.MoveNext() should consider comparison of nodes in
	  different document. The behavior is implementation dependent.
	  (see XSLT spec 12.1)

svn path=/trunk/mcs/; revision=20389
2003-11-24 15:18:16 +00:00
Atsushi Eno e213ea0691 2003-11-24 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs :
	  WriteProcessingInstruction() should check name validity.
	  AddMissingElementXmlns() should allow namespace emission even if it
	  is identical to existing one.

svn path=/trunk/mcs/; revision=20388
2003-11-24 15:16:54 +00:00
Atsushi Eno 68ad9b4667 2003-11-24 Atsushi Enomoto <[email protected]>
* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
	  More precise namespace handling.
	* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
	  Added cdata-section-elements support.
	* XslNumber.cs :
	  Cases when value is NodeSet should be allowed.
	  Default output should be 1,2,3... not exception. see XSLT spec 7.7.1

svn path=/trunk/mcs/; revision=20387
2003-11-24 15:16:23 +00:00
Atsushi Eno dee5657b71 2003-11-24 Atsushi Enomoto <[email protected]>
(in general: cdata-section-elements support, correct document()
	base uri handling, and so on)
	* Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet.
	  And move to document element.  Added XslNameUtil.FromListString().
	* Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs :
	  Added WriteCDataSection().
	* Outputter.cs, GenericOutputter.cs, TextOutputter.cs :
	  Added InsideCDataSection.
	* GenericOutputter.cs :
	  In .ctor(), WriteState should be succeeded from output XmlWriter.
	  WriteNamespaceDecl() now drops declaration identical to existing one.
	  Removed obsolete htmlEmulation.
	* XslOutput.cs : Added CDataSectionElements support.
	* XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect().
	* XslTransformProcessor.cs :
	  Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput()
	  now considers xsl:exclude-element-prefixes on literal element.
	  Added PushCDataState() and PopCDataState().
	* XsltCompiledContext.cs : When base uri of document() target is empty,
	  then it should use stylesheet's BaseURI, not that of current document.

svn path=/trunk/mcs/; revision=20386
2003-11-24 15:15:09 +00:00
Lluis Sanchez 1b07d5ac23 * Methods.cs, TypeStubManager.cs, SoapMessage.cs: Removed TODO comment.
* SoapDocumentationHandler.cs: Check that the documentation page exist.
	* SoapHttpClientProtocol.cs: Removed cast from WebResponse to
	  HttpWebResponse. This fixes bug #51281.

svn path=/trunk/mcs/; revision=20385
2003-11-24 15:02:41 +00:00
Zoltan Varga f2865175d6 2003-11-24 Zoltan Varga <[email protected]>
* reflection.h verify.c: Update after changes to object layout.

svn path=/trunk/mono/; revision=20384
2003-11-24 13:47:11 +00:00
Zoltan Varga 9d906d57da 2003-11-24 Zoltan Varga <[email protected]>
* ILGenerator.cs MethodBuilder.cs ConstructorBuilder.cs: Retrieve
	tokens from a token generator object instead of from the ModuleBuilder,
	to support the implementation of DynamicMethod. Also get rid of the
	unused 'mbuilder' field.

	* ModuleBuilder.cs: Create a token generator object which can be
	passed to ILGenerator.

svn path=/trunk/mcs/; revision=20383
2003-11-24 13:45:09 +00:00
Gonzalo Paniagua Javier a903f50a1b Fix build on windows
svn path=/trunk/mcs/; revision=20382
2003-11-24 13:23:21 +00:00
Gonzalo Paniagua Javier 6162bd2ef5 fix build on windows.
svn path=/trunk/mcs/; revision=20381
2003-11-24 13:14:56 +00:00
Lluis Sanchez f0f70ad254 Applied patch by Eran Domb. If type is Enum, the code use type.GetElememtType() instead of Enum.GetUnderlyingType().
svn path=/trunk/mcs/; revision=20380
2003-11-24 11:46:26 +00:00
Zoltan Varga 6e583cf0a8 2003-11-24 Zoltan Varga <[email protected]>
* LocalBuilder.cs ILGenerator.cs: Get rid of 'module' field, obtain
	needed objects from the ilgen object instead.

svn path=/trunk/mcs/; revision=20379
2003-11-24 11:39:46 +00:00
Sunil Kumar 36bdc52cf4 commented currentlocale line in getResultString method
svn path=/trunk/mcs/; revision=20378
2003-11-24 10:53:49 +00:00
Zoltan Varga d3b7a6cb4e 2003-11-24 Zoltan Varga <[email protected]>
* reflection.c (method_builder_encode_signature): Fix compilation on
	gcc 2.95.x.

svn path=/trunk/mono/; revision=20377
2003-11-24 09:22:33 +00:00
Zoltan Varga f7ed82a27e 2003-11-24 Zoltan Varga <[email protected]>
* configure.in: Fix signbit check. Fixes #51315.

svn path=/trunk/mono/; revision=20376
2003-11-24 09:03:34 +00:00
Peter Dennis Bartok effd0d3da5 * Implemented DrawCaptionButton on top of System.Drawing
* Implemented DrawScrollButton on top of System.Drawing
* Implemented DrawRadioButton on top of System.Drawing
* Implemented DrawCheckBox on top of System.Drawing
* Implemented DrawButton on top of System.Drawing

svn path=/trunk/mcs/; revision=20375
2003-11-24 08:45:04 +00:00
Sunil Kumar dbbabde6aa Added log for System.DirectoryServices class files
svn path=/trunk/mcs/; revision=20373
2003-11-24 04:15:32 +00:00
Sunil Kumar 2209dbb112 Class files Implementing System.DirectoryServices namespace
svn path=/trunk/mcs/; revision=20372
2003-11-24 04:13:09 +00:00
Sunil Kumar 8cd0d2f788 Modified for checked in files
svn path=/trunk/mcs/; revision=20371
2003-11-24 04:11:13 +00:00
Sunil Kumar 8d1423b62d Added refernce to Novell.Directory.Ldap
svn path=/trunk/mcs/; revision=20370
2003-11-24 04:10:05 +00:00
Sunil Kumar 4094303cd8 Added Novell.Directory.Ldap namespace
svn path=/trunk/mcs/; revision=20369
2003-11-24 04:08:57 +00:00
Sunil Kumar 502c9dce7d Added ChangeLog and Makefile
svn path=/trunk/mcs/; revision=20368
2003-11-24 04:07:13 +00:00
Sunil Kumar 97eb9c81ca Class files Implementing various utility classes used by LDAP C# Libraray
svn path=/trunk/mcs/; revision=20367
2003-11-24 03:59:43 +00:00
Sunil Kumar b54c016e59 Class files implementing LDAP RFC2251 Messages
svn path=/trunk/mcs/; revision=20366
2003-11-24 03:58:26 +00:00
Sunil Kumar e80ff96eb1 Class files implementing various LDAP Extensions
svn path=/trunk/mcs/; revision=20365
2003-11-24 03:56:19 +00:00
Sunil Kumar 88252fc702 Class files implementing Various LDAP Controls
svn path=/trunk/mcs/; revision=20364
2003-11-24 03:55:00 +00:00
Sunil Kumar 4d207c1c3a Class files Representing Various ASN1 Structures
svn path=/trunk/mcs/; revision=20363
2003-11-24 03:54:00 +00:00
Sunil Kumar 8e04da8dd3 Class Files Representing Various LDAP Requests
svn path=/trunk/mcs/; revision=20362
2003-11-24 03:52:45 +00:00
Peter Dennis Bartok ce7f894400 * Added Disposable interface
svn path=/trunk/mcs/; revision=20359
2003-11-23 19:58:20 +00:00
Peter Dennis Bartok 1806533831 * Added missing StartCap & EndCap property to Pen
* Removed extra LineCap property

svn path=/trunk/mcs/; revision=20358
2003-11-23 19:57:13 +00:00
Peter Dennis Bartok dd70a6323f * Corrected wrong number
svn path=/trunk/mcs/; revision=20357
2003-11-23 19:14:15 +00:00
Pedro Martínez Juliá c370beeff7 2003-11-23 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/HashAlgorithm.cs:
    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlCommand.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlStartupState.cs:
    * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
    ADO.NET we need to call Dispose after using any Component like
    NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
    methods to Properties.

svn path=/trunk/mcs/; revision=20356
2003-11-23 17:33:07 +00:00
Pedro Martínez Juliá cb09b2aa71 2003-11-23 Pedro Mart�nez Juli� <[email protected]>
* DbDataAdapter.cs: Call command dispose in self dispose method. We
    need to dispose the connections and other stuff stored in the
    commands.

svn path=/trunk/mcs/; revision=20355
2003-11-23 17:28:59 +00:00
Jackson Harper 81ca226d75 * regex.cs: Add CultureInvariant flag to RegexOptions.
svn path=/trunk/mcs/; revision=20351
2003-11-23 05:14:53 +00:00
Ben Maurer b8f24da8b5 add sources
svn path=/trunk/mcs/; revision=20350
2003-11-23 02:45:11 +00:00
Ben Maurer 069539d2b0 2003-11-22 Ben Maurer <[email protected]>
* SqlDataSource*: Implement almost everything. Data access is
	still missing.

svn path=/trunk/mcs/; revision=20349
2003-11-23 02:44:44 +00:00
Miguel de Icaza f9b908cd24 2003-11-22 Miguel de Icaza <[email protected]>
* PropertyDescriptorCollection.cs (Insert): Another one.

svn path=/trunk/mcs/; revision=20346
2003-11-23 00:06:53 +00:00
Miguel de Icaza 4279c0c1ea 2003-11-22 Miguel de Icaza <[email protected]>
* PropertyTabAttribute.cs (Equals): Avoid recurssion

svn path=/trunk/mcs/; revision=20345
2003-11-22 23:59:05 +00:00
Duncan Mak 9cf400d341 * Matrix.cs: Rewrote to use GDI+ implementation, doing all the
math in unmanaged code instead of doing it in C#.

* gdipFunctions.cs
(GdipResetWorldTransform, GdipSetWorldTransform):
(GdipGetWorldTransform, GdipScaleWorldTransform): Imported.

* Graphics.cs: Remove unnecessary TODO, and reformatted the code.
(transform): Removed this field. Always use the
matrix associated in the GpGraphics ptr.
(DrawBeziers): Implemented.
(DrawLine): Don't need to manually invoke the transform now.
(MultiplyTransform, ResetTransform):
(ScaleTransform, TranslateTransform): Use GDI+ implementation.
(Transform): Instead of storing a Matrix in managed code, use
equivalent GDI+ functions.

* matrix.c (GdipCreateMatrix3, GdipCreateMatrix3I): Implemented.
(GdipCloneMatrix): Fixed.
(GdipShearMatrix, set_shear): Implemented.

* graphics.c:
(GdipGetWorldTransform, GdipMultiplyWorldTransform): Implemented.
(GdipRotatePenTransform, GdipTranslatePenTransform): Use GDI+
functions instead.

* gdip.h
(GdipRotatePenTransform, GdipTranslatePenTransform): Fix
signature.
(GdipCreateMatrix3, GdipCreateMatrix3I): Use const appropriately.

svn path=/trunk/mcs/; revision=20344
2003-11-22 23:32:56 +00:00
Ben Maurer ad8bbec4ba 2003-11-22 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: Fix bug when reading small ints.
	Add some tracing so we can see what is going on.

svn path=/trunk/mcs/; revision=20343
2003-11-22 22:04:38 +00:00
Ben Maurer d2f9b77b7a 2003-11-22 Ben Maurer <[email protected]>
* Calendar.cs (SaveViewState):
	    - We were allocating a 11 item array, we only used 10 items,
	      so only allocate 10.
	    - We only need to save the selected dates if there are any.
	* DataGrid.cs (SaveViewState):
	* DataGridColumn.cs (SaveViewState):
	* DataGridColumnCollection.cs (SaveViewState):
	    - Only return the array if there is anything in it
	* Style.cs (SaveViewState):
	    - Only save the bits if there were changes.
	* WebControl.cs (SaveViewState), (LoadViewState):
	    - Don't save Enabled into the viewstate here, we already
	      do it in the property. This just caused *EVERY* control
	      to have a non-null state, taking up lots of extra room
	      in the ViewState.
	    - The style will always be created with this control's
	      viewstate, so the style will always return null for the
	      viewstate. As such, we do not need to store it. We can
	      also reduce the triplet to a pair because of this.

svn path=/trunk/mcs/; revision=20342
2003-11-22 22:01:19 +00:00
Jackson Harper 2fb22ed808 * ValidationSummary.cs: Fix number of messages and message
array computation.

svn path=/trunk/mcs/; revision=20341
2003-11-22 21:48:27 +00:00
Miguel de Icaza b0d3c2e932 2003-11-22 Miguel de Icaza <[email protected]>
* driver.cs: Applied patch from [email protected] (Gert Driesen)
	which fixes the -warnaserror command line option.

svn path=/trunk/mcs/; revision=20339
2003-11-22 20:59:25 +00:00
Miguel de Icaza af0830eb58 Apply patch from Wojciech Polak <[email protected]>, updates errno values
svn path=/trunk/mcs/; revision=20337
2003-11-22 20:39:16 +00:00
Carlos Guzmán Álvarez 4c916d4600 2003-11-22 Carlos Guzman Alvarez <[email protected]>
* Changed line endings to unix format in SSL/TLS sources.

	* Mono.Security.CryptographyoHMD5SHA1CryptoServiceProvider.cs:

	    - Removed file (now it's called MD5SHA1.cs)

	* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:

	    - Removed comments from AES ciphersuites.

svn path=/trunk/mcs/; revision=20335
2003-11-22 13:10:33 +00:00
Jackson Harper 17a329e7c2 * OutputCacheModule.cs: Store a CachedVaryBy object for each
cached page. Then store a CachedRawResponse for each combination
	of varried parameters for a page.
	* CachedRawResponse.cs: Do not need to store param values anymore
	those are stored in the CachedVaryBy now. Get the content length
	so we dont send back the entire buffer.
	* CachedVaryBy.cs: New file - holds the varyby data for a page,
	and a method to generate a key based on params. Right now this
	only works with VaryByParams. TODO: support VaryByHeaders and
	VaryByCustom.

svn path=/trunk/mcs/; revision=20334
2003-11-22 06:53:51 +00:00
Jackson Harper 1889af35df * OutputCacheModule.cs: Store a CachedVaryBy object for each
cached page. Then store a CachedRawResponse for each combination
	of varried parameters for a page.
	* CachedRawResponse.cs: Do not need to store param values anymore
	those are stored in the CachedVaryBy now. Get the content length
	so we dont send back the entire buffer.
	* CachedVaryBy.cs: New file - holds the varyby data for a page,
	and a method to generate a key based on params. Right now this
	only works with VaryByParams. TODO: support VaryByHeaders and
	VaryByCustom.

svn path=/trunk/mcs/; revision=20333
2003-11-22 06:53:51 +00:00
Jackson Harper c176b0e7d5 * System.web.dll.sources: Add CachedVaryBy.cs to the build
svn path=/trunk/mcs/; revision=20332
2003-11-22 06:53:03 +00:00
Jackson Harper bcf89fd02c * HttpResponse.cs: When caching data set the content length in the
cached repsonse so that only that amount will be written back to
	the client. Add method to write a range of binary data.
	* HttpCacheVaryByParams.cs: Add method to retrieve param
	names.

svn path=/trunk/mcs/; revision=20331
2003-11-22 06:52:22 +00:00
Jackson Harper dde5f46fc1 * Page.cs: Set vary by params when cache location is Server.
svn path=/trunk/mcs/; revision=20330
2003-11-22 06:50:21 +00:00
Ben Maurer 46a2f42592 2003-11-21 Ben Maurer <[email protected]>
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
	internal as LosFormatter will eventually use it to save
	the view state.

svn path=/trunk/mcs/; revision=20329
2003-11-22 04:31:31 +00:00
Atsushi Eno ebbc046198 2003-11-22 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.

svn path=/trunk/mcs/; revision=20328
2003-11-22 02:54:34 +00:00
Miguel de Icaza c8750feb3e 2003-11-21 Miguel de Icaza <[email protected]>
* cfold.cs (DoNumericPromotions): During constant folding of
	additions on UIntConstant, special case intconstants with
	IntConstants like we do on the expression binary operator.

svn path=/trunk/mcs/; revision=20327
2003-11-22 02:52:16 +00:00
Pedro Martínez Juliá 00453f39e6 2003-11-22 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
    implementation. Now we're using TcpClient for the connection and
    Stream for the abstraction layer to SslClientStream.

svn path=/trunk/mcs/; revision=20325
2003-11-21 23:08:09 +00:00
Atsushi Eno cb91912bc4 2003-11-21 Atsushi Enomoto <[email protected]>
* Compiler.cs : Modified decimal-format comparison code.
	* Outputter.cs,
	  TextOutputter.cs,
	  GenericOutputter.cs : Added WriteState. Now WriteStartDocument() will
	  be called only when required.
	* HtmlEmitter.cs : Improved indentation stuff.
	* XslDecimalFormat.cs : Added incomplete implementation of
	  CheckSameAs() and FormatNumber().
	* XslStylesheet.cs,
	  XslTransformProcessor.cs : Changed XslStylesheet.StylesheetNamespaces
	  from StringDictionary to ArrayList of QName (to keep order).

svn path=/trunk/mcs/; revision=20323
2003-11-21 19:21:24 +00:00
Atsushi Eno 24aa5eeb08 2003-11-21 Atsushi Enomoto <[email protected]>
* XslAttribute.cs : Name verification.
	* XslElement.cs : Name verification. Consider IsEmptyElement.
	* XslCopy.cs : copy namespace nodes too.

svn path=/trunk/mcs/; revision=20322
2003-11-21 19:20:35 +00:00
Atsushi Eno b5694b34c8 2003-11-21 Atsushi Enomoto <[email protected]>
* ManagedXslTransform.cs : Now WriteStartDocument() is moved internal to
	  GenericOutputter.

svn path=/trunk/mcs/; revision=20321
2003-11-21 19:19:54 +00:00
Lluis Sanchez f0705370c4 * context-static.cs: new test for ContextStaticAttribute.
* Makefile.am: added context-static.cs.

svn path=/trunk/mono/; revision=20319
2003-11-21 18:43:49 +00:00
Lluis Sanchez cc169bb16b Context.cs: Added internal static_data field.
svn path=/trunk/mcs/; revision=20318
2003-11-21 18:39:12 +00:00
Lluis Sanchez eb03e6681b * jit-icalls.c, mini.c: Added support for context static fields.
svn path=/trunk/mono/; revision=20317
2003-11-21 18:37:19 +00:00
Lluis Sanchez 585ff921f0 * interp.c: Added support for context static fields.
svn path=/trunk/mono/; revision=20316
2003-11-21 18:36:44 +00:00
Lluis Sanchez d1e69b8480 * appdomain.h: Added support for context static fields. Added static_data
field to MonoAppContext and renamed thread_static_fields to a more
	  generic special_static_fields in MonoAppDomain, since it can now contain
	  context static fields.
	* domain.c: Updated hashtable name.
	* object.c: Replaced field_is_thread_static() for a more generic
	  field_is_special_static() which also checks for context static attribute.
	  In mono_class_vtable(), added support for static context fields.
	* threads.c: Changed methods that manage thread static fields to more
	  generic methods so they can be reused both for thread and context static
	  data.
	* threads.h: Declared some new methods.

svn path=/trunk/mono/; revision=20315
2003-11-21 18:36:17 +00:00
Andreas N c65e21b139 2003-11-21 Andreas Nahr <[email protected]>
* System.Web.dll.sources: added XmlBuilder.cs

svn path=/trunk/mcs/; revision=20314
2003-11-21 17:16:08 +00:00
Andreas N 6b375445c5 2003-11-21 Andreas Nahr <[email protected]>
* Xml.cs: Corrected attribute
	* XmlBuilder.cs: Added

svn path=/trunk/mcs/; revision=20313
2003-11-21 17:15:45 +00:00
Lluis Sanchez f22dc5eae7 * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
for TypeFilter property.

svn path=/trunk/mcs/; revision=20312
2003-11-21 16:57:11 +00:00
Lluis Sanchez a6bf88dba5 * FormatterServices.cs: Added CheckTypeSecurity() and
GetSafeUninitializedObject().

svn path=/trunk/mcs/; revision=20311
2003-11-21 16:54:15 +00:00
Lluis Sanchez 00b7aea7e9 SoapFormatter.cs: Added FilterLevel property.
svn path=/trunk/mcs/; revision=20310
2003-11-21 16:48:27 +00:00
Lluis Sanchez e27a077277 * BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs,
BinaryCore.cs, BinaryServerFormatterSinkProvider.cs,
	  SoapClientFormatterSinkProvider.cs, SoapCore.cs,
	  SoapServerFormatterSinkProvider.cs.cs: Added support for TypeFilterLevel
	  property.

svn path=/trunk/mcs/; revision=20309
2003-11-21 16:44:58 +00:00
Zoltan Varga a31f5a1704 2003-11-21 Zoltan Varga <[email protected]>
* MethodBase.cs (Invoke): Make this virtual under NET 1.2.

svn path=/trunk/mcs/; revision=20308
2003-11-21 16:33:34 +00:00
Zoltan Varga 230696abd4 2003-11-21 Zoltan Varga <[email protected]>
* reflection.h: Update after changes to the managed types.

	* reflection.c (encode_custom_modifiers): New helper function.

	* reflection.c (method_encode_signature): Emit custom modifiers.

	* reflection.c (field_encode_signature): Emit custom modifiers.

svn path=/trunk/mono/; revision=20307
2003-11-21 16:31:56 +00:00
Zoltan Varga a4abb0b405 2003-11-21 Zoltan Varga <[email protected]>
* TypeBuilder.cs FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs:  Add support for custom modifiers from NET 1.2.

svn path=/trunk/mcs/; revision=20306
2003-11-21 16:29:08 +00:00
Zoltan Varga 995111be74 2003-11-21 Zoltan Varga <[email protected]>
* ILGenerator.cs: Remove unused abuilder member.

svn path=/trunk/mcs/; revision=20305
2003-11-21 16:20:38 +00:00
Pedro Martínez Juliá 97215f8247 2003-11-21 Pedro Mart�nez Juli� <[email protected]>
* DataRow.cs: Detached row can be accesible (new rows from data
    table are detached). Closes but #51263.

svn path=/trunk/mcs/; revision=20304
2003-11-21 15:57:35 +00:00
Jean-Marc Andre d63c76b38e 2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
		Bug fixed. SerializationBinder.BindToType was not called
		the right way in GetElementInfo() (switched assemblyName
		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
			* SoapReader.cs:
				Bug fixed. SerializationBinder.BindToType was not called
				the right way in GetElementInfo() (switched assemblyName
				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
					* SoapReader.cs:
						Bug fixed. SerializationBinder.BindToType was not called
						the right way in GetElementInfo() (switched assemblyName
						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
							* SoapReader.cs:
								Bug fixed. SerializationBinder.BindToType was not called
								the right way in GetElementInfo() (switched assemblyName
								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
									* SoapReader.cs:
										Bug fixed. SerializationBinder.BindToType was not called
										the right way in GetElementInfo() (switched assemblyName
										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
											* SoapReader.cs:
												Bug fixed. SerializationBinder.BindToType was not called
												the right way in GetElementInfo() (switched assemblyName
												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
													* SoapReader.cs:
														Bug fixed. SerializationBinder.BindToType was not called
														the right way in GetElementInfo() (switched assemblyName
														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
															* SoapReader.cs:
																Bug fixed. SerializationBinder.BindToType was not called
																the right way in GetElementInfo() (switched assemblyName
																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																	* SoapReader.cs:
																		Bug fixed. SerializationBinder.BindToType was not called
																		the right way in GetElementInfo() (switched assemblyName
																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																			* SoapReader.cs:
																				Bug fixed. SerializationBinder.BindToType was not called
																				the right way in GetElementInfo() (switched assemblyName
																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																					* SoapReader.cs:
																						Bug fixed. SerializationBinder.BindToType was not called
																						the right way in GetElementInfo() (switched assemblyName
																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																							* SoapReader.cs:
																								Bug fixed. SerializationBinder.BindToType was not called
																								the right way in GetElementInfo() (switched assemblyName
																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																									* SoapReader.cs:
																										Bug fixed. SerializationBinder.BindToType was not called
																										the right way in GetElementInfo() (switched assemblyName
																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																											* SoapReader.cs:
																												Bug fixed. SerializationBinder.BindToType was not called
																												the right way in GetElementInfo() (switched assemblyName
																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																													* SoapReader.cs:
																														Bug fixed. SerializationBinder.BindToType was not called
																														the right way in GetElementInfo() (switched assemblyName
																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																															* SoapReader.cs:
																																Bug fixed. SerializationBinder.BindToType was not called
																																the right way in GetElementInfo() (switched assemblyName
																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																	* SoapReader.cs:
																																		Bug fixed. SerializationBinder.BindToType was not called
																																		the right way in GetElementInfo() (switched assemblyName
																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																			* SoapReader.cs:
																																				Bug fixed. SerializationBinder.BindToType was not called
																																				the right way in GetElementInfo() (switched assemblyName
																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																					* SoapReader.cs:
																																						Bug fixed. SerializationBinder.BindToType was not called
																																						the right way in GetElementInfo() (switched assemblyName
																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																							* SoapReader.cs:
																																								Bug fixed. SerializationBinder.BindToType was not called
																																								the right way in GetElementInfo() (switched assemblyName
																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																									* SoapReader.cs:
																																										Bug fixed. SerializationBinder.BindToType was not called
																																										the right way in GetElementInfo() (switched assemblyName
																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																											* SoapReader.cs:
																																												Bug fixed. SerializationBinder.BindToType was not called
																																												the right way in GetElementInfo() (switched assemblyName
																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																													* SoapReader.cs:
																																														Bug fixed. SerializationBinder.BindToType was not called
																																														the right way in GetElementInfo() (switched assemblyName
																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																															* SoapReader.cs:
																																																Bug fixed. SerializationBinder.BindToType was not called
																																																the right way in GetElementInfo() (switched assemblyName
																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																	* SoapReader.cs:
																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																		the right way in GetElementInfo() (switched assemblyName
																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																			* SoapReader.cs:
																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																				the right way in GetElementInfo() (switched assemblyName
																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																					* SoapReader.cs:
																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																						the right way in GetElementInfo() (switched assemblyName
																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																							* SoapReader.cs:
																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																								the right way in GetElementInfo() (switched assemblyName
																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																									* SoapReader.cs:
																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																										the right way in GetElementInfo() (switched assemblyName
																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																											* SoapReader.cs:
																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																												the right way in GetElementInfo() (switched assemblyName
																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																													* SoapReader.cs:
																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																														the right way in GetElementInfo() (switched assemblyName
																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																															* SoapReader.cs:
																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																the right way in GetElementInfo() (switched assemblyName
																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																	* SoapReader.cs:
																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																			* SoapReader.cs:
																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																					* SoapReader.cs:
																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																							* SoapReader.cs:
																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																									* SoapReader.cs:
																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																											* SoapReader.cs:
																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																													* SoapReader.cs:
																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																															* SoapReader.cs:
																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																	* SoapReader.cs:
																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																			* SoapReader.cs:
																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																					* SoapReader.cs:
																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																							* SoapReader.cs:
																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																									* SoapReader.cs:
																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																											* SoapReader.cs:
																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																													* SoapReader.cs:
																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																															* SoapReader.cs:
																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																	* SoapReader.cs:
																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																			* SoapReader.cs:
																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																					* SoapReader.cs:
																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																							* SoapReader.cs:
																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																									* SoapReader.cs:
																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																											* SoapReader.cs:
																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																													* SoapReader.cs:
																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																															* SoapReader.cs:
																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																	* SoapReader.cs:
																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																			* SoapReader.cs:
																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																					* SoapReader.cs:
																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																							* SoapReader.cs:
																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																									* SoapReader.cs:
																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																											* SoapReader.cs:
																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																													* SoapReader.cs:
																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																															* SoapReader.cs:
																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																	* SoapReader.cs:
																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																			* SoapReader.cs:
																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																					* SoapReader.cs:
																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																							* SoapReader.cs:
																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																									* SoapReader.cs:
																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																											* SoapReader.cs:
																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																													* SoapReader.cs:
																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																															* SoapReader.cs:
																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																	* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																		Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																		the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																		and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																			* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																				Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																				the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																				and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																					* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																						Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																						the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																						and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																							* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																								Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																								the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																								and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																									* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																										Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																										the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																										and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																											* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																												Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																												the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																												and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																													* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																														Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																														the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																														and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
																																																																																																																																																																																																																																																																																																																																																																																																															* SoapReader.cs:
																																																																																																																																																																																																																																																																																																																																																																																																																Bug fixed. SerializationBinder.BindToType was not called
																																																																																																																																																																																																																																																																																																																																																																																																																the right way in GetElementInfo() (switched assemblyName
																																																																																																																																																																																																																																																																																																																																																																																																																and typeName). Will add a unit test in few days.

svn path=/trunk/mcs/; revision=20302
2003-11-21 11:39:50 +00:00
Peter Dennis Bartok 5fa6f9b681 * Added missing DashStyle property to Pen
svn path=/trunk/mcs/; revision=20301
2003-11-21 11:26:09 +00:00
Peter Dennis Bartok c0461452c8 * Fully implemented all DrawBorder3D methods on top of System.Drawing
* Fully implemented all DrawBorder methods on top of System.Drawing
* Replaced the (apparently) broken double-based HLS/RGB formulas with faster integer versions
* Removed MonoTODO tags from verified and complete methods

svn path=/trunk/mcs/; revision=20300
2003-11-21 11:08:18 +00:00
Peter Dennis Bartok c8f1e579cb * Added enum for DrawFrameControlStates
* Renamed enum for DrawFrameControlTypes to avoid clash with DrawFrameControlStates

svn path=/trunk/mcs/; revision=20299
2003-11-21 10:45:51 +00:00
Carlos Guzmán Álvarez bf8eec2c44 2003-11-17 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls/SslClientStream.cs:

		Removed ReadByte method, use innerStream.ReadByte() method instead.

2003-11-13 Carlos Guzm��n ��lvarez  <[email protected]>

	* Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.

		The next files are no more needed:

			- TlsSession.cs

			- TlsNetworkStream.cs

			- TlsSocket.cs

			- TlsSessionState.cs

		The next files are renamed:

			- TlsSessionSettings.cs -> TlsClientSettings.cs

			- TlsSessionContext.cs -> TlsContext.cs

		The next files are new:

			- SslClientStream.cs ( the name is non definitive yet )

		The next files where changed to reflect the new canges:

			- TlsHandshakeMessage.cs

			- TlsClientCertificate.cs

			- TlsClientCertificateVerify.cs

			- TlsClientFinished.cs

			- TlsClientHello.cs

			- TlsClientKeyExchange.cs

			- TlsServerCertificate.cs

			- TlsServerCertificateRequest.cs

			- TlsServerFinished.cs

			- TlsServerHello.cs

			- TlsServerHelloDone.cs

			- TlsServerKeyExchange.cs

			- TlsAlert.cs

			- TlsCloseNotifyAlert.cs

		
2003-11-12 Carlos Guzm��n ��lvarez  <[email protected]>

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
	
		- Changes for give full error message only in debug mode ( Thanks to Sebasti��n Pouliot. )
		
	* Mono.Security.Protocol.Tls/TlsProtocol.cs:
	
		- Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
	
	* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
	
		- Renamed to MD5SHA1.cs ( Thanks to Sebasti��n Pouliot. )
		
	* Mono.Security.Cryptography/TlsCompressionMethod.cs:
	
		- Renamed to SecurityCompressionType.
		
	* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
	* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
	
		- New enumerations that matches .NET 1.2 definitions with some minor differences.
	
	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
	
		- Added changes for make use of new enumerations.
	
	* Mono.Security.Protocol.Tls/TlsClientStream.cs:
	
		- Added new informative properties that matches .NET 1.2 SslClientStream
		( Not all the properties are implemented yet ).


2003-11-10 Carlos Guzm��n ��lvarez  <[email protected]>

	* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

		- Fixed invalid alert message.

	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
	* Mono.Security.Cryptography/HMAC.cs:
	* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

		- Changed ( Thanks to Sebasti��n Pouliot for his feedback )

			SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
			MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();

			to

			HashAlgorithm sha = SHA1.Create();
			HashAlgorithm md5 = MD5.Create(); 


2003-11-04 Carlos Guzm��n ��lvarez <[email protected]>

	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

		- Commented server certificate signature verification.

	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:

		- Renamed ServerCertificates property to Certificates.

svn path=/trunk/mcs/; revision=20298
2003-11-21 08:35:12 +00:00
Miguel de Icaza 47df0810d0 Add to right place
svn path=/trunk/mcs/; revision=20296
2003-11-21 03:00:34 +00:00
Ben Maurer a337a00a9d 2003-11-20 Ben Maurer <[email protected]>
* BigInteger.cs: Fix prob. prime test for small numbers (Pieter Philippaerts)

svn path=/trunk/mcs/; revision=20295
2003-11-21 02:26:12 +00:00
Gonzalo Paniagua Javier 94518d8f70 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* SizeConverter.cs: fixed class signature and implemented some methods.

svn path=/trunk/mcs/; revision=20294
2003-11-21 00:27:18 +00:00
Gonzalo Paniagua Javier 7f3d97fe03 added httpRuntime section
svn path=/trunk/mono/; revision=20293
2003-11-21 00:26:41 +00:00
Gonzalo Paniagua Javier 5e99ee75fe 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* System.CodeDom.Compiler/CodeGenerator.cs: fixed assembly level
	attribute generation.

	* Test/Microsoft.CSharp/CodeGeneratorFromCompileUnitTest.cs: don't
	compare whitespace for assembly level attribute.

svn path=/trunk/mcs/; revision=20292
2003-11-21 00:26:33 +00:00
Gonzalo Paniagua Javier 5d84bef5d3 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new files.

	* System.Web/HttpApplication.cs:
	* System.Web/HttpContext.cs:
	* System.Web/HttpRuntime.cs: add timeout handling.
	* System.Web/TimeoutManager.cs: new class that takes care of aborting
	threads on timeout.

	* System.Web.Configuration/CompilationConfiguration.cs: don't throw
	an HttpException.
	* System.Web.Configuration/HttpRuntimeConfig.cs:
	* System.Web.Configuration/HttpRuntimeConfigurationHandler.cs: handle
	system.web/httpRuntime configuration section.

	* System.Web.UI/PersistChildrenAttribute.cs:
	* System.Web.UI/PersistenceModeAttribute.cs: implemented.

	* System.Web.UI/TODO: Removed file.
	* System.Web.UI/OutputCacheLocation.cs:
	* System.Web.UI/TemplateControlParser.cs:
	* System.Web.UI.HtmlControls/HtmlInputFile.cs:
	* System.Web.UI.WebControls/Xml.cs: class status based fixes.

svn path=/trunk/mcs/; revision=20291
2003-11-21 00:26:20 +00:00
Miguel de Icaza 3768d7be68 Db2 mapping
svn path=/trunk/mono/; revision=20284
2003-11-20 22:00:00 +00:00
Miguel de Icaza 98dc740d62 Applied patch from Victor Vatamanescu that adds Db2Client API
svn path=/trunk/mcs/; revision=20283
2003-11-20 21:58:34 +00:00
Miguel de Icaza c53593a6e2 Add new tests from Juraj
svn path=/trunk/mcs/; revision=20280
2003-11-20 21:17:58 +00:00
Miguel de Icaza 2fe3660204 2003-11-20 Juraj Skripsky <[email protected]>
* quicksearch.cs: Use a hashtable instead of an array for the
	shift table to improve the memory usage.

svn path=/trunk/mcs/; revision=20279
2003-11-20 21:14:28 +00:00
Miguel de Icaza b078990028 Update
svn path=/trunk/mono/; revision=20278
2003-11-20 18:19:29 +00:00
Jackson Harper ec76608fbb * Mono.Data.Tds/TdsMetaParameter.cs: Fixed Prepare to allow string
and binary parameters with Length == 0

svn path=/trunk/mcs/; revision=20277
2003-11-20 18:12:00 +00:00
Jackson Harper 3bf567a2dc * SqlConnection (SetDefaultConnectionParameters):
Changed default value of WORKSTATION ID to reflect real
	host name instead of "localhost".

svn path=/trunk/mcs/; revision=20276
2003-11-20 18:06:59 +00:00
Dick Porter 31461fc6ed 2003-11-20 Dick Porter <[email protected]>
* io.c: Missed a little-endian UTF16 conversion.  Patch from
	Jeroen Zwartepoorte ([email protected]), fixes bug 51065.

svn path=/trunk/mono/; revision=20275
2003-11-20 15:46:50 +00:00
Dick Porter 5148e136a2 Reverting the previous change to sockets.h, because config.h should not
be included in an installed header.  locales.h was also including it.

svn path=/trunk/mono/; revision=20274
2003-11-20 12:03:23 +00:00
Jackson Harper 955a512a72 * data/machine.config: Add OutputCacheModule
svn path=/trunk/mono/; revision=20273
2003-11-20 11:53:37 +00:00
Jackson Harper 54d9ed0618 * Cache.cs: New method so non public cache items can be added.
* CachedRawResponse.cs: New file - A snapshot of a response that
	is stored in the cache and can be used to create a new response.
	* OutputCacheModule.cs: Module for inserting and retrieving
	responses from the cache.

svn path=/trunk/mcs/; revision=20272
2003-11-20 11:50:24 +00:00
Dick Porter 853144477d Previous change breaks autoconf 2.13
svn path=/trunk/mono/; revision=20271
2003-11-20 11:49:21 +00:00
Jackson Harper 1073966587 * System.web.dll.sources: add OutputCacheModule.cs and
CachedRawResponse.cs to the build.

svn path=/trunk/mcs/; revision=20270
2003-11-20 11:49:19 +00:00
Jackson Harper 72dad0ad49 * Page.cs: Always set the cache expire time. Tell the response to
cache itself for server side cached pages.

svn path=/trunk/mcs/; revision=20269
2003-11-20 11:48:55 +00:00
Jackson Harper c14089cf5f * HttpWriter.cs: Use a constant for the buffer size so the cache
can get the buffer size. Add method to get the buffer.
	* HttpResponse.cs: Methods for getting data to cache, and setting
	vars from the cache.
	* HttpCachePolicy.cs: Expose a pages cache expire time.

svn path=/trunk/mcs/; revision=20268
2003-11-20 11:48:18 +00:00
Jackson Harper 9b8336664c * Control.cs: Remove ResolveBaseUrl. ResolveUrl does the same
thing, some corner cases still need work though. Was this the
	shortest lived method in the history of mono?

svn path=/trunk/mcs/; revision=20267
2003-11-20 11:30:38 +00:00
Jackson Harper 9b714bbb33 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
svn path=/trunk/mcs/; revision=20266
2003-11-20 11:27:52 +00:00
Jackson Harper 63661f04c7 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
teh applications base directory. This fixes bug #51092.

svn path=/trunk/mcs/; revision=20265
2003-11-20 10:47:47 +00:00
Jackson Harper 8ecdf4a863 * Control.cs: New method for resolving urls that use ~/ to denote
the applications base directory.

svn path=/trunk/mcs/; revision=20264
2003-11-20 10:41:26 +00:00
Gonzalo Paniagua Javier 0834470382 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: support for expressions of
	System.Drawing.Size type. Allow getting Color from comma separated
	numbers, which is not allowed by ColorConverter.

	This makes http://www.codeproject.com/aspnet/asppopup.asp work.

svn path=/trunk/mcs/; revision=20263
2003-11-20 08:03:06 +00:00
Jackson Harper 2eeda6f463 * TemplateParser.cs: Fix typo in error message.
svn path=/trunk/mcs/; revision=20262
2003-11-20 06:12:54 +00:00
Gonzalo Paniagua Javier a713da6c38 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* HttpSoapWebServiceHandler.cs: WebException is ok here for wrong
	content encoding...
	* SoapHttpClientProtocol.cs: ... but here, we should throw an
	InvalidOperationException including the full response.

	* WebServiceHelper.cs:
	(GetContentEncoding): now fills an output variable with the name of the
	content encoding used.
	(InvalidOperation): new method to build the message for
	InvalidOperationException.

svn path=/trunk/mcs/; revision=20261
2003-11-20 06:11:16 +00:00
Eran Domb 961bd21825 Addding remarks to ChangeLog
svn path=/trunk/mcs/; revision=20260
2003-11-20 05:48:29 +00:00
Eran Domb f6d1555aa1 XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table
before trying to add it to the table.

svn path=/trunk/mcs/; revision=20259
2003-11-20 05:46:17 +00:00
Gonzalo Paniagua Javier 015cf670d2 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* SoapHttpClientProtocol.cs:
	* WebServiceHelper.cs: throw a WebException instead of an Exception.
	Fixes bug #51193.

svn path=/trunk/mcs/; revision=20258
2003-11-20 05:19:25 +00:00
Gonzalo Paniagua Javier fe9a1a15cd 2003-11-20 Gonzalo Paniagua Javier <[email protected]>
* MailMessageWrapper.cs: fixed typo that made all messages be sent as
	html, even when the body is marked as text. Path by Mohammad DAMT.
	Closes bug #51177.

svn path=/trunk/mcs/; revision=20256
2003-11-20 04:36:08 +00:00
Miguel de Icaza d4d97eb900 Fix
svn path=/trunk/mcs/; revision=20255
2003-11-20 02:09:11 +00:00
Miguel de Icaza 8c8b98568a Add empty file
svn path=/trunk/mcs/; revision=20252
2003-11-20 00:36:41 +00:00
Andreas N 1e1c297819 2003-11-19 Andreas Nahr <[email protected]>
* OpCodes.cs: Remove Boxval for v1.1+

svn path=/trunk/mcs/; revision=20250
2003-11-19 22:35:16 +00:00
Andreas N 4b14ef9bf4 2003-11-19 Andreas Nahr <[email protected]>
* OpCodes.cs: Small rearrange to fix csc compiler warning about obsolete member used

svn path=/trunk/mcs/; revision=20249
2003-11-19 22:25:50 +00:00
Andreas N af2bdf47ec 2003-11-19 Andreas Nahr <[email protected]>
* FloatingPointFormatter.cs: Removed some unused variables to prevent csc compiler warnings

svn path=/trunk/mcs/; revision=20248
2003-11-19 22:24:24 +00:00
pteich 69f9254f61 detect socklen_t in configure.in, and only define it in sockets.h if we
really need it (OSX Panther fix)

svn path=/trunk/mono/; revision=20247
2003-11-19 22:05:45 +00:00
Miguel de Icaza a255223fc8 Flush
svn path=/trunk/mono/; revision=20246
2003-11-19 21:35:16 +00:00
Miguel de Icaza 12e37cc78e Signature fixes
svn path=/trunk/mcs/; revision=20245
2003-11-19 19:55:48 +00:00
Miguel de Icaza 7f061fe495 Flush
svn path=/trunk/mono/; revision=20244
2003-11-19 19:42:16 +00:00
Miguel de Icaza b8686b9979 Signature fixes
svn path=/trunk/mcs/; revision=20243
2003-11-19 19:41:41 +00:00
Atsushi Eno c45fa31568 2003-11-19 Atsushi Enomoto <[email protected]>
* XsltCompiledContext.cs : XsltGenerateId.Evaluate() should consider
	  node type (i.e. attribute and namespace). Removed extraneous Clone().
	  Fixed XsltKey.Evaluate() to use MoveToNextAttribute to iterate attrs.

svn path=/trunk/mcs/; revision=20242
2003-11-19 19:11:32 +00:00
Atsushi Eno 92174ef106 2003-11-19 Atsushi Enomoto <[email protected]>
* KeyPattern.cs : Matches() should iterate candidate keys to the end.

svn path=/trunk/mcs/; revision=20241
2003-11-19 19:10:51 +00:00
Atsushi Eno b83879e2be 2003-11-19 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added XPathComparer.cs

svn path=/trunk/mcs/; revision=20240
2003-11-19 19:09:56 +00:00
Atsushi Eno 997edebaec 2003-11-19 Atsushi Enomoto <[email protected]>
* Added XPathComparer.cs
	* DefaultContext.cs : Fixed XPathFunctionId.Evaluate() to iterate base
	  iterator correctly, and sort results.

svn path=/trunk/mcs/; revision=20239
2003-11-19 19:09:35 +00:00
Miguel de Icaza 8ea9bd9904 Unix file format + New test from Juraj Skripsky <[email protected]>
svn path=/trunk/mcs/; revision=20237
2003-11-19 18:03:00 +00:00
Miguel de Icaza 03e70766e5 Patch from Juraj Skripsky <[email protected]> that improves the conformance of
the Uri class, it handles a few new cases:

	Uri + "?var"
	Uri + "#anchor"

svn path=/trunk/mcs/; revision=20236
2003-11-19 18:01:31 +00:00
Miguel de Icaza d6ae787cdc update docs
svn path=/trunk/mono/; revision=20235
2003-11-19 17:54:57 +00:00
Miguel de Icaza 2617619625 Applied patch from Laurent Morichetti <[email protected]> to add ifdef/else/endif
support to Monoburg

svn path=/trunk/mono/; revision=20234
2003-11-19 17:52:35 +00:00
Lluis Sanchez 489d73ba65 * corlib_test.dll.sources: Added some test files:
System.Runtime.Remoting/ContextTest.cs
		System.Runtime.Remoting/SynchronizationAttributeTest.cs

svn path=/trunk/mcs/; revision=20233
2003-11-19 17:12:55 +00:00
Lluis Sanchez 2abc58a914 ContextTest.cs, SynchronizationAttributeTest.cs: New tests added.
svn path=/trunk/mcs/; revision=20232
2003-11-19 17:10:04 +00:00
Lluis Sanchez f7a98aa62a * Context.cs: Implemented several missing methods and properties:
ContextProperties, DoCallBack, AllocateDataSlot, AllocateNamedDataSlot,
	  FreeNamedDataSlot, GetData, GetNamedDataSlot, SetData.
	* SynchronizationAttribute.cs: Fixed check for current context.

svn path=/trunk/mcs/; revision=20231
2003-11-19 17:07:07 +00:00
Lluis Sanchez a6ef74259e InternalRemotingServices.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=20230
2003-11-19 17:03:18 +00:00
Zoltan Varga 0af9801904 2003-11-19 Zoltan Varga <[email protected]>
* get.c (dis_stringify_modifiers): Fix display of modreq and modopt.

svn path=/trunk/mono/; revision=20229
2003-11-19 15:59:53 +00:00
Atsushi Eno 400eba4fbe 2003-11-19 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : Imcomplete fix ;-)

svn path=/trunk/mcs/; revision=20227
2003-11-19 15:28:52 +00:00
Atsushi Eno c4118e6781 2003-11-19 Atsushi Enomoto <[email protected]>
* ManagedXslTransform.cs : Transform() should raise an error if no
	  stylesheet was loaded.

svn path=/trunk/mcs/; revision=20226
2003-11-19 15:25:51 +00:00
Atsushi Eno 1156749402 2003-11-19 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : XPathFunctions.ToNumber() should catch overflow.
	  XPathFunctionId.cs : Exposed Id expression.
	* Expression.cs : Added ExprLiteral.Value, and class ExprParens (it
	  will be used to solve evaluation precedence problem).

svn path=/trunk/mcs/; revision=20225
2003-11-19 15:24:04 +00:00
Atsushi Eno 35bad455de 2003-11-19 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Replaced entity should not treat whitespaces
	  as significant.
	* XmlNode.cs : Removed extraneous MonoTODOs.

svn path=/trunk/mcs/; revision=20224
2003-11-19 15:14:24 +00:00
Atsushi Eno 5f185b2cce 2003-11-19 Atsushi Enomoto <[email protected]>
* IdPattern.cs,
	  KeyPattern.cs : Implemented Matches(), overrode DefaultPriority,
	  modified inheritance.
	* Pattern.cs : Added id and key pattern support.

svn path=/trunk/mcs/; revision=20223
2003-11-19 15:09:48 +00:00
Atsushi Eno 63355400ed 2003-11-19 Atsushi Enomoto <[email protected]>
* Compiler.cs : Changed Keys from ArrayList to Hashtable.
	  XslStylesheet.cs : Added Keys support here.
	* XslTransformProcessor.cs : Should call SetContext() to expressions
	  before evaluating current nodes.
	* XsltCompiledContext.cs : 1) XsltDocument.GetDocument() should use
	  xsltContext. 2) XsltKey exposes KeyName, Field and NamespaceManager
	  for KeyPattern. It now uses CompiledStyle.FindKeys().

svn path=/trunk/mcs/; revision=20222
2003-11-19 15:09:04 +00:00
Gonzalo Paniagua Javier 361104c1ec 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlParser.cs: support @Reference. Fixes bug #49572. Thanks
	to Sanjay Gupta.

svn path=/trunk/mcs/; revision=20221
2003-11-19 12:24:23 +00:00
Gonzalo Paniagua Javier 133d83ca16 New tests
svn path=/trunk/mcs/; revision=20220
2003-11-19 12:04:46 +00:00
Gonzalo Paniagua Javier c2f8202972 2003-11-19 Gonzalo Paniagua Javier <[email protected]>
* System_test.dll.sources: added new RegexBugs test.

	* System.Text.RegularExpressions/regex.cs:
	(Split): include capture groups in the results, if any. Fixes bug
	#51146.

	* Test/system_linux_test.args: removed. Not needed any more.

svn path=/trunk/mcs/; revision=20219
2003-11-19 12:01:19 +00:00
Jackson Harper d824108ffd * doc/web/team.xml: New email address and job description
* doc/web/team/jackson.png: Picture of me debugging...seems
        appropriate

svn path=/trunk/mono/; revision=20218
2003-11-19 09:22:29 +00:00
Eran Domb e5b5687c23 * DataRow.cs : Throw exceptions if Row is Detached.
(EndEdit) : Check that we are not in middle of ChangeEvent.
	(AcceptChanges) : Detach the row.

	* DataRelation.cs : throw correct exception.
	*UniqueConstraint.cs : throw correct exception.

svn path=/trunk/mcs/; revision=20217
2003-11-19 07:15:30 +00:00
John Luke b137260fa3 2003-11-18 John Luke <[email protected]>
* CheckArgument.cs:
       (PathLength): fix recursion found by JonK

svn path=/trunk/mcs/; revision=20215
2003-11-19 05:42:02 +00:00
Todd Berman 96c23f11ab 2003-11-19 Todd Berman <[email protected]>
* System.Web.dll.sources: Add KeyedList.cs and KeyedListEnumerator.cs

svn path=/trunk/mcs/; revision=20214
2003-11-19 04:48:34 +00:00
Todd Berman 288f8abdd5 2003-11-18 Todd Berman <[email protected]>
* ControlParameter.cs:
        * CookieParameter.cs:
        * FormParameter.cs:
        * QueryStringParameter.cs:
        * SessionParameter.cs: added public .ctor ()
        * Parameter.cs: added public .ctor (), internal SetOwnerCollection
        and handling, as well as internal ParameterValue for easy access.
        NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
        * ParameterCollection.cs: implementation redux.

svn path=/trunk/mcs/; revision=20213
2003-11-19 04:47:13 +00:00
Todd Berman cdfc1a0f22 2003-11-19 Todd Berman <[email protected]>
* KeyedList.cs:
        * KeyedListEnumerator.cs: New v2 implementations.

svn path=/trunk/mcs/; revision=20212
2003-11-19 04:36:57 +00:00
Todd Berman 508577e051 2003-11-18 Todd Berman <[email protected]>
* System.dll.sources: Added IOrderedDictionary.cs

svn path=/trunk/mcs/; revision=20207
2003-11-19 01:49:47 +00:00
Todd Berman 54796c8886 2003-11-18 Todd Berman <[email protected]>
* IOrderedDictionary.cs: new v2 interface

svn path=/trunk/mcs/; revision=20206
2003-11-19 01:46:48 +00:00
Ben Maurer 3dafbfdc30 I am reverting todd's patch because it kills the build on the generics tree
svn path=/trunk/mcs/; revision=20204
2003-11-18 22:39:00 +00:00
Jackson Harper a527f075c0 * CurrencyWrapper.cs: Fix file name.
svn path=/trunk/mcs/; revision=20203
2003-11-18 22:02:25 +00:00
Lluis Sanchez 5dd2168674 * corlib.dll.sources: Added some files:
System.Runtime.Remoting.Contexts/IContextPropertyActivator.cs
		System.Runtime.Remoting.Contexts/SynchronizationAttribute.cs
		System.Runtime.Remoting.Messaging/ISerializationRootObject.cs

svn path=/trunk/mcs/; revision=20201
2003-11-18 21:54:29 +00:00
Lluis Sanchez 390c82e5ce SynchronizationAttribute.cs: Implemented.
svn path=/trunk/mcs/; revision=20200
2003-11-18 21:47:59 +00:00
Lluis Sanchez b369a2476d * ArgInfo.cs, ClientContextTerminatorSink.cs, ErrorMessage.cs, MethodCall.cs,
MethodResponse.cs, MonoMethodMessage.cs, ServerContextTerminatorSink.cs,
	  StackBuilderSink.cs: Fixed class visibility.
	* CADMessages.cs: Added null reference check in SaveLogicalCallContext.
	* ISerializationRootObject.cs: Added.

svn path=/trunk/mcs/; revision=20198
2003-11-18 21:43:23 +00:00
Lluis Sanchez d9d6dd7650 TypeInitializationException.cs: Added missing serialization constructor.
svn path=/trunk/mcs/; revision=20196
2003-11-18 21:29:50 +00:00
Andreas N ee37bf57b5 2003-11-18 Andreas Nahr <[email protected]>
* corlib.dll.sources: Added already existing, but not added delegate
		Added various classes in System.InteropServices

svn path=/trunk/mcs/; revision=20194
2003-11-18 21:21:54 +00:00
Andreas N ee1931a46e 2003-11-18 Andreas Nahr <[email protected]>
* BestFitMappingAttribute.cs: Signature fix
	* Marshal.cs: Add attribute, fix signatures
	* MarshalAsAttribute.cs: Add head, add entry
	* DllImportAttribute.cs: Added v1.1 entries
	* TypeLibConverter.cs: Added, stubbed
	* RegistrationServices.cs: Added, stubbed
	* ExtensibleClassFactory.cs: Added, stubbed
	* ErrorWrapper.cs: Added, implemented
	* CurrencyWrapper.cs: Added, implemented

svn path=/trunk/mcs/; revision=20193
2003-11-18 21:20:53 +00:00
Andreas N a43df02714 2003-11-18 Andreas Nahr <[email protected]>
* ResourceSet.cs: Implemented v1.1 updates

svn path=/trunk/mcs/; revision=20192
2003-11-18 21:19:54 +00:00
Joel Basson 20b385bb3c *** empty log message ***
svn path=/trunk/mcs/; revision=20191
2003-11-18 21:16:44 +00:00
Joel Basson 636605aaa2 Tue Nov 18 23:00:00 GMT+2 2003 Joel Basson <[email protected]>
* New start to DataGrid. Imported files from swf-winelib
	* CurrencyManager.cs
	* BindingManagerBase.cs
	* BindingsCollection.cs
	* BaseCollection.cs
	* Binding.cs
	* ItemChangedEventArgs.cs
	* ItemChangedEventHandler.cs
	* ConvertEventArgs.cs
	* ConvertEventHandler.cs
	* BindingMemberInfo.cs
	* BorderStyle.cs
	* KeyEventArgs.cs
	* KeyEventHandler.cs
	* KeyPressEventArgs.cs
	* KeyPressEventHandler.cs
	* Keys.cs
	* AccessibleObject.cs
	* AccessibleEvents.cs
	* AccessibleNavigation.cs
	* AccessibleRole.cs
	* AccessibleSelection.cs
	* AccessibleStates.cs
	* NavigateEventArgs.cs
	* NavigateEventHandler.cs
	* PaintEventArgs.cs
	* PaintEventHandler.cs
	* GridTableStylesCollection.cs
	* GridColumnStylesCollection.cs
	* DataGrid.cs
	* IDataGridColumnStyleEditingNotificationService.cs
	* IDataGridEditingService.cs
	* DataGridColumnStyle.cs
	* DataGridBoolColumn.cs
	* DataGridCell.cs
	* DataGridLineStyle.cs
	* DataGridParentRowsLabelStyle.cs
	* DataGridPreferredColumnWidthTypeConverter.cs
	* DataGridTableStyle.cs
	* DataGridTextBoxColumn.cs
	* DataGridTextBox.cs

svn path=/trunk/mcs/; revision=20189
2003-11-18 21:14:15 +00:00
Andreas N 641af932c2 2003-11-18 Andreas Nahr <[email protected]>
* corlib.dll.sources: Added some files:
		System.Runtime.Serialization.Formatter.cs
		System.Runtime.Serialization.Formatters/InternalRM.cs
		System.Runtime.Serialization.Formatters/InternalST.cs
		System.Runtime.Serialization.Formatters/TypeFilterLevel.cs

svn path=/trunk/mcs/; revision=20187
2003-11-18 20:05:00 +00:00
Andreas N c7cb04a69d 2003-11-18 Andreas Nahr <[email protected]>
* ObjectManager.cs: Fixed header, internalized enum
	* Formatter.cs: Implemented

svn path=/trunk/mcs/; revision=20186
2003-11-18 20:03:41 +00:00
Andreas N 18b3502a47 2003-11-18 Andreas Nahr <[email protected]>
* ServerFault.cs: Added missing attribute
	* SoapFault.cs: Added missing attribute
	* InternalRM.cs: Added
	* InternalST.cs: Added
	* TypeFilterLevel.cs: Added (complete)

svn path=/trunk/mcs/; revision=20185
2003-11-18 20:02:45 +00:00
Gonzalo Paniagua Javier 3bdb42f4c0 2003-11-18 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: Don't add an extra '/' at the end of
	ApplicationBase. The tests pass now with mono.

svn path=/trunk/mcs/; revision=20182
2003-11-18 18:58:48 +00:00
Zoltan Varga 64b5f3b05b 2003-11-18 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionAssemblyName): Applied patch from Laurent Morichetti ([email protected]). Fix type of 'flags' field.

svn path=/trunk/mono/; revision=20181
2003-11-18 18:02:26 +00:00
Zoltan Varga 2fa07ed67a 2003-11-18 Zoltan Varga <[email protected]>
* mini.c (mono_method_blittable): Methods which set LastError are not
	blittable either. Fixes #51108.

svn path=/trunk/mono/; revision=20180
2003-11-18 17:14:12 +00:00
Todd Berman 0a98890675 2003-11-18 Todd Berman <[email protected]>
* System.Web.dll.sources: Add ParameterCollection.cs

svn path=/trunk/mcs/; revision=20178
2003-11-18 16:57:04 +00:00
Todd Berman 7e9e390ccf 2003-11-18 Todd Berman <[email protected]>
* ParameterCollection.cs: Implemented
        * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
        ToString () now matches asp.net

svn path=/trunk/mcs/; revision=20177
2003-11-18 16:56:19 +00:00
Paolo Molaro 1624abe136 Tue Nov 18 16:41:37 CET 2003 Paolo Molaro <[email protected]>
* mini.c: flush icache.
	* cpu-g4.md, mini-ppc.c, inssel.brg: more fixes. Trace support.

svn path=/trunk/mono/; revision=20176
2003-11-18 15:42:52 +00:00
Todd Berman e9006a2243 updating readme
svn path=/trunk/mcs/; revision=20175
2003-11-18 15:40:49 +00:00
Dick Porter c7f2885bfb Compile fix
svn path=/trunk/mono/; revision=20174
2003-11-18 15:05:37 +00:00
Zoltan Varga bc16eccb40 2003-11-18 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_ValueType_Equals): New optimized
	implementation.

	* icall.c (ves_icall_System_ValueType_InternalGetHashCode): New
	icall.

svn path=/trunk/mono/; revision=20173
2003-11-18 13:55:36 +00:00
Zoltan Varga 4a78709d99 2003-11-18 Zoltan Varga <[email protected]>
* object.c (mono_field_get_value_object): New function.

	* object.c appdomain.h appdomain.c: Make out_of_memory_ex domain
	specific.

svn path=/trunk/mono/; revision=20172
2003-11-18 13:48:37 +00:00
Zoltan Varga 24afef0b65 2003-11-18 Zoltan Varga <[email protected]>
* RuntimeHelpers.cs (Equals): Track changes to ValueType.

svn path=/trunk/mcs/; revision=20171
2003-11-18 13:45:45 +00:00
Zoltan Varga e87bc630b6 2003-11-18 Zoltan Varga <[email protected]>
* ValueType.cs: New optimized implementation for Equals and GetHashCode.

svn path=/trunk/mcs/; revision=20170
2003-11-18 13:43:51 +00:00
Zoltan Varga 8eba427397 2003-11-18 Zoltan Varga <[email protected]>
* mini.c (mono_type_blittable): OBJECT is not blittable. Fixes #47842.

svn path=/trunk/mono/; revision=20169
2003-11-18 13:22:15 +00:00
Jackson Harper 0692a0627d * ILParser.jay: Add zeroinit.
svn path=/trunk/mcs/; revision=20168
2003-11-18 10:19:28 +00:00
Jackson Harper cc44d8a779 * MethodDef.cs: Add support for .zeroinit. This is just another
way of initializing locals.

svn path=/trunk/mcs/; revision=20167
2003-11-18 10:18:04 +00:00
Jackson Harper de36a8c79d * PEAPI.cs: If the data length for a methods seh section is
greater then 255 use fat format headers.

svn path=/trunk/mcs/; revision=20166
2003-11-18 10:14:58 +00:00
Nick Drochak a50d5a5e4a 2003-11-14 Nick Drochak <[email protected]>
* FloatingPointFormatterTest.cs: Make test pass on .NET 1.1.

svn path=/trunk/mcs/; revision=20162
2003-11-18 09:25:43 +00:00
Miguel de Icaza 550dad65d7 Build
svn path=/trunk/mcs/; revision=20161
2003-11-18 07:28:17 +00:00
Gonzalo Paniagua Javier 0f43e6d1c8 Fixed message in exception
svn path=/trunk/mcs/; revision=20160
2003-11-18 07:16:02 +00:00
Peter Dennis Bartok 4f5280dd2f * Added GenericDefault method
svn path=/trunk/mcs/; revision=20158
2003-11-18 07:06:34 +00:00
Gonzalo Paniagua Javier 0ed90fec1f 2003-11-18 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: Modified file.
	* HttpWriter.cs: Modified file.

svn path=/trunk/mcs/; revision=20157
2003-11-18 07:03:17 +00:00
Peter Dennis Bartok a266760149 * Added IsVisible methods
* Added MakeXXX methods

svn path=/trunk/mcs/; revision=20156
2003-11-18 06:12:25 +00:00
Peter Dennis Bartok 99deebc7aa * Fixed signature for MeasureString
svn path=/trunk/mcs/; revision=20154
2003-11-18 05:43:56 +00:00
Miguel de Icaza 795c830e5f Update profile
svn path=/trunk/mcs/; revision=20153
2003-11-18 05:34:53 +00:00
Miguel de Icaza 0b4938b5a6 Kill GENERICS as the define to use to build the GENERICS build, that is now
part of the NET_1_2 build.

svn path=/trunk/mcs/; revision=20152
2003-11-18 05:33:34 +00:00
Miguel de Icaza 6245b5c89a 2003-11-18 Miguel de Icaza <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Remove
	debugging message.

	(SizeOf.DoResolve): assign the `type_queried' field.  This gets
	corlib to compile.

Martin must have done most of the fixes, because corlib now builds with gmcs

svn path=/trunk/mcs/; revision=20151
2003-11-18 05:13:35 +00:00
Miguel de Icaza 4ffc1eb524 Add back tests that somehow have been removed
svn path=/trunk/mcs/; revision=20150
2003-11-18 04:18:03 +00:00
Jackson Harper 85c05ef1d8 * XPathEditor.cs: .net 1.2 only
svn path=/trunk/mcs/; revision=20149
2003-11-18 00:13:29 +00:00
Miguel de Icaza c5724630b2 Add this bad boy
svn path=/trunk/mono/; revision=20148
2003-11-17 23:39:16 +00:00
Miguel de Icaza 47817aa3dc Updated ;-)
svn path=/trunk/mono/; revision=20147
2003-11-17 23:22:40 +00:00
Ben Maurer d0ac8392d4 2003-11-17 Ben Maurer <[email protected]>
* StateManagedCollection.cs: Implement.

2003-11-17 Ben Maurer  <[email protected]>

	* ControlParameter.cs:
	* CookieParameter.cs:
	* FormParameter.cs:
	* Parameter.cs:
	* QueryStringParameter.cs: New v2 files. Mostly
	implemented, still need a few methods.

svn path=/trunk/mcs/; revision=20146
2003-11-17 23:03:01 +00:00
Ben Maurer 6c4da907eb 2003-11-17 Ben Maurer <[email protected]>
* ConfigurationSettings.cs: make the *Mark objects static
	because they need to be comparable across instances.
	(ReadSectionGroup): You can add an element to a group declared
	in the parent config files (MS.net's QuickStarts do this).

svn path=/trunk/mcs/; revision=20145
2003-11-17 22:53:17 +00:00
Ben Maurer c30c1d0945 2003-11-17 Ben Maurer <[email protected]>
* StringBuilder.cs (Insert int, char): It is really silly and
	wasteful to allocate an array here. We can just copy the value
	over.

svn path=/trunk/mcs/; revision=20144
2003-11-17 22:42:53 +00:00
Rafael Teixeira f0569b859b bump up version number
svn path=/trunk/mcs/; revision=20143
2003-11-17 22:27:14 +00:00
Ben Maurer f3e8cabf67 shutup, cvs
svn path=/trunk/mcs/; revision=20142
2003-11-17 22:10:40 +00:00
Duncan Mak 2b230f884f * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
* Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.

svn path=/trunk/mcs/; revision=20141
2003-11-17 22:05:33 +00:00
Miguel de Icaza 0223236773 Add new files
svn path=/trunk/mcs/; revision=20139
2003-11-17 21:37:48 +00:00
Miguel de Icaza 02a6a72410 Signature fixes for .NET 1.1
svn path=/trunk/mcs/; revision=20138
2003-11-17 21:31:56 +00:00
Lluis Sanchez 754a3126e4 * corlib.dll.sources: Added some files:
System.Runtime.Remoting.Channels/AggregateDictionary.cs
		System.Runtime.Remoting.Metadata.W3cXsd2001/SoapHelper.cs

svn path=/trunk/mcs/; revision=20135
2003-11-17 20:37:26 +00:00
Lluis Sanchez 404ff940ef * GetChannelSinkProperties.cs: Implemented GetChannelSinkProperties().
* ServerDispatchSink.cs: Removed some TODOs.
	* AggregateDictionary.cs: Added.

svn path=/trunk/mcs/; revision=20134
2003-11-17 20:35:55 +00:00
Lluis Sanchez b7a7e88f76 * SoapAnyUri.cs, SoapBase64Binary.cs, SoapDate.cs, SoapDateTime.cs
SoapDay.cs, SoapDuration.cs, SoapEntities.cs, SoapEntity.cs,
	  SoapHexBinary.cs, SoapId.cs, SoapIdref.cs, SoapIdrefs.cs, SoapInteger.cs,
	  SoapLanguage.cs, SoapMonth.cs, SoapMonthDay.cs, SoapName.cs,
	  SoapNcName.cs, SoapNegativeInteger.cs, SoapNmtoken.cs, SoapNmtokens.cs,
	  SoapNonNegativeInteger.cs, SoapNonPositiveInteger.cs,
	  SoapNormalizedString.cs, SoapNotation.cs, SoapPositiveInteger.cs,
	  SoapQName.cs, SoapTime.cs, SoapToken.cs, SoapYear.cs, SoapYearMonth.cs:
	  Implemented

	* SoapHelper.cs: Added

svn path=/trunk/mcs/; revision=20133
2003-11-17 20:34:53 +00:00
Lluis Sanchez 6eeaabbb46 StackBuilderSink.cs: Implemented AsyncProcessMessage().
svn path=/trunk/mcs/; revision=20132
2003-11-17 20:28:32 +00:00
Lluis Sanchez 74e00dbeca * BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs:
SoapClientFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs: Small fix.
	* SoapServerFormatterSink.cs: Small fix in AsyncProcessResponse.
	* BinaryCore.cs, SoapCore.cs: throw an exception if an unknown property
	  is found.

svn path=/trunk/mcs/; revision=20131
2003-11-17 20:19:13 +00:00
Jackson Harper fc124b55c8 * ILParser.jay: Create strings from byte arrays. Fix parsing of
bytes that are passed as INT64.

svn path=/trunk/mcs/; revision=20129
2003-11-17 20:02:42 +00:00
Jackson Harper 4a65e9f26a * LdstrInstr.cs: Allow strings to be created as bytearrays.
svn path=/trunk/mcs/; revision=20128
2003-11-17 20:01:03 +00:00
Jackson Harper dabff76544 * PEAPI.cs: Allow strings to be loaded as bytearrays.
svn path=/trunk/mcs/; revision=20127
2003-11-17 19:59:24 +00:00
Gonzalo Paniagua Javier 075ba68cbe use Paolo's benchmark
svn path=/trunk/mono/; revision=20123
2003-11-17 18:08:40 +00:00
Atsushi Eno d1ae966923 2003-11-17 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added some new .NET 1.2 stuff,
	  and sorted some members of the list.

svn path=/trunk/mcs/; revision=20122
2003-11-17 18:05:32 +00:00
Atsushi Eno 40e9508231 2003-11-17 Atsushi Enomoto <[email protected]>
* AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
	  IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
	  UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
	  XPathDocument2ChangedEventAction.cs,
	  XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
	  XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
	  XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
	  XmlQueryDialect.cs, XmlUpdateEventArgs.cs
	  : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).

svn path=/trunk/mcs/; revision=20121
2003-11-17 18:00:17 +00:00
Atsushi Eno 7da15068fd 2003-11-17 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
	  (for convenience of ObjectSpaces stubbing).

svn path=/trunk/mcs/; revision=20120
2003-11-17 17:51:35 +00:00
Duncan Mak 8d3940de07 * Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Use GpRectF.

* gdipFunctions.cs: Updated method signatures.

* Graphics.cs (MultiplyTransform): Implemented using
GdipMultiplyWorldTransform from GDI+.

* gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
GpRect, to be more consistent with the C naming.

svn path=/trunk/mcs/; revision=20119
2003-11-17 17:50:55 +00:00
Lluis Sanchez 64767df762 * InternalRemotingServices.cs: Added CLSCompliant to SetServerIdentity
(MethodCall is not compliant)
	* IObjectHandle.cs: Set correct value for Guid.

svn path=/trunk/mcs/; revision=20118
2003-11-17 17:08:15 +00:00
Gonzalo Paniagua Javier 063eec915c 2003-11-17 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: turns out that socket.Connected is not useful until
	we actually try to send/receive data, even if the other end has already
	closed the socket. Added TryReconnect() and Connected.

	* WebConnectionData.cs: default value for StatusCode is 0 now.

	* WebConnectionGroup.cs: reuse the connection since the beginning,
	instead of opening up to ConnectionLimit and then reusing.

	* WebConnectionStream.cs: reopen the socket if we're trying to reuse
	one which fails on first write.

svn path=/trunk/mcs/; revision=20117
2003-11-17 16:24:15 +00:00
Zoltan Varga dc94e2c2de 2003-11-17 Zoltan Varga <[email protected]>
* appdomain.c (mono_runtime_get_out_of_memory_ex): New function to
	return a preallocated out-of-memory exception instance.

	* object.c (out_of_memory): Use the new function.

svn path=/trunk/mono/; revision=20116
2003-11-17 16:21:37 +00:00
Zoltan Varga 66492b0f28 2003-11-17 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_parse_type): Handle the case when the byref
	flag is before the custom modifiers. Fixes #49802.

svn path=/trunk/mono/; revision=20114
2003-11-17 11:04:54 +00:00
Zoltan Varga 4ad9a932a1 2003-11-17 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_class_init_trampoline): Make code patching thread
	safe on IA32.

svn path=/trunk/mono/; revision=20112
2003-11-17 10:11:27 +00:00
Mark Easton c1e3c29721 Empty stubization for the masses...
svn path=/trunk/mcs/; revision=20111
2003-11-17 10:09:29 +00:00
Zoltan Varga 92261da285 2003-11-17 Zoltan Varga <[email protected]>
* cattr-object.cs: Fix test so it does not count the attributes on the
	Object class.

svn path=/trunk/mono/; revision=20110
2003-11-17 09:52:01 +00:00
Zoltan Varga a20750ce32 2003-11-17 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_call_opcode): Disable AOT for methods with
	vararg calls.

svn path=/trunk/mono/; revision=20109
2003-11-17 09:23:31 +00:00
Zoltan Varga 53fb162303 2003-11-17 Zoltan Varga <[email protected]>
* inssel.brg (CEE_MKREFANY): Fix AOT case.

svn path=/trunk/mono/; revision=20108
2003-11-17 09:22:19 +00:00
Mark Easton af3e77e6e0 Stubs created with correct signatures and very little functionality
svn path=/trunk/mcs/; revision=20107
2003-11-17 09:19:59 +00:00
Nick Drochak cd9f188621 Add myself. I blog sometimes.
svn path=/trunk/mono/; revision=20106
2003-11-17 08:52:18 +00:00
Zoltan Varga 0ce40fc6e7 2003-11-17 Zoltan Varga <[email protected]>
* ModuleTest.cs: Fix temp folder path.

svn path=/trunk/mcs/; revision=20105
2003-11-17 08:14:38 +00:00
Zoltan Varga e583255af9 2003-11-17 Zoltan Varga <[email protected]>
* ConstructorBuilderTest.cs (TestAttributes): Make this test more
	general so it runs on mono too.

svn path=/trunk/mcs/; revision=20104
2003-11-17 07:53:06 +00:00
Nick Drochak 1658bdb9ea 2003-11-14 Nick Drochak <[email protected]>
* X509SpcTest.cs: Ignore for now test where we need an exe to load.

svn path=/trunk/mcs/; revision=20100
2003-11-17 05:23:20 +00:00
Sebastien Pouliot 55b3269332 2003-11-16 Sebastien Pouliot <[email protected]>
* gacutil.cs: Added strongname validation
	* Makefile: Added a reference to Mono.Security assembly.

svn path=/trunk/mcs/; revision=20094
2003-11-17 01:23:20 +00:00
Miguel de Icaza 898ec6bb98 oops
svn path=/trunk/mcs/; revision=20093
2003-11-17 00:07:29 +00:00
Miguel de Icaza 4bd00342d6 2003-11-04 Miguel de Icaza <[email protected]>
* GraphicsPathIterator.cs: Do not make this protected.

2003-11-16  Miguel de Icaza  <[email protected]>

	* Graphics.cs: Implement the other DrawString overloads .

2003-11-16  Miguel de Icaza  <[email protected]>

	* gdipStructs.cs (GdipRectF): Added utility constructor

svn path=/trunk/mcs/; revision=20092
2003-11-16 23:30:43 +00:00
Ben Maurer c9fb05e84c 2003-11-16 Ben Maurer <[email protected]>
* SqlParameterCollection.cs (Clear): Clear needs to take
	the parameter out of the collection so that it can be used
	again.
	(Remove):
	(RemoveAt): Ditto.

svn path=/trunk/mcs/; revision=20091
2003-11-16 23:30:06 +00:00
Duncan Mak 6dd1becf09 2003-11-16 Duncan Mak <[email protected]>
* pen.c (GdipResetPenTransform):
	(GdipMultiplyPenTransform, GdipTranslatePenTransform):
	(GdipScalePenTransform, GdipRotatePenTransform): Implemented..

	* matrix.c (set_translate, set_scale, set_rotate): Helper
	functions copied from Cairo. We are doing this because you can
	specify the order of multiplcation in GDI+, but not in Cairo.

2003-11-15  Duncan Mak  <[email protected]>

	* graphics.c: Moved PI and GRADTORAD to gdip.h.
	* gdip.h: Renamed GRADTORAD to DEGTORAD.

	* matrix.c (GdipCloneMatrix): Fix argument order.
	* matrix.c
	(GdipMultiplyMatrix, GdipTranslateMatrix, GdipScaleMatrix):
	(GdipRotateMatrix, GdipInvertMatrix):
	(GdipTransformMatrixPoints, GdipVectorTransformMatrixPoints):
	(GdipSetMatrixElements, GdipGetMatrixElements):
	(GdipIsMatrixInvertible): Implemented.

	* matrix.c (GdipIsMatrixIdentity, GdipIsMatrixEqual): Implemented,
	but pending commit for cairo_matrix_equals to Cairo.

2003-11-15  Duncan Mak  <[email protected]>

	* gdipFunctions.cs: Imported matrix functions.

svn path=/trunk/mcs/; revision=20090
2003-11-16 23:07:56 +00:00
Jackson Harper 49694b52cf * Driver.cs: Give the parser an instance of the stream reader so
it can get the streams encoding.

svn path=/trunk/mcs/; revision=20089
2003-11-16 22:50:28 +00:00
Jackson Harper 1618bb719e * ILParser.jay: Handle string instructions that are given byte
arrays. This fixes bug #51039.

svn path=/trunk/mcs/; revision=20088
2003-11-16 22:49:12 +00:00
Jackson Harper b3c4311455 * Driver.cs: If an arg isn't a switch and starts with a / add it
as a file to be compiled. This fixes bug #51041.

svn path=/trunk/mcs/; revision=20087
2003-11-16 22:32:43 +00:00
Lluis Sanchez 5046f4906f * System.Runtime.Remoting.dll.sources: Added:
System.Runtime.Remoting.Channels/BinaryCore.cs
		System.Runtime.Remoting.Channels/ChannelCore.cs
		System.Runtime.Remoting.Channels/SoapCore.cs

svn path=/trunk/mcs/; revision=20086
2003-11-16 22:30:08 +00:00
Lluis Sanchez 005d5be306 * BinaryFormatter.cs, MessageFormatter.cs, ObjectWriter.cs:
Implemented support for AssemblyFormat property.

svn path=/trunk/mcs/; revision=20085
2003-11-16 22:27:29 +00:00
Lluis Sanchez 9bb10f200d * CADMessages.cs: Added methods for setting and getting the logical call
context.
	* ConstructionCall.cs: Fixed signature of some methods.
	* ConstructionResponse.cs: Fixed signature of constructor and added missing
	  property.
	* LogicalCallContext.cs: Removed TODO.
	* MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
	  consturctor.
	* MethodReturnMessageWrapper.cs: Removed some unneded methods.

svn path=/trunk/mcs/; revision=20084
2003-11-16 22:23:42 +00:00
Martin Baulig 245f7a6920 2003-11-16 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.IsGeneric): Removed.

	* ecore.cs (SimpleName.ResolveAsTypeStep): Always call
	ResolveGeneric() on the DeclSpace.

svn path=/trunk/mcs/; revision=20083
2003-11-16 22:17:51 +00:00
Lluis Sanchez e8c214fd18 * ChannelServices.cs: Removed some TODOs. Implemented AsyncDispatchMessage.
svn path=/trunk/mcs/; revision=20082
2003-11-16 22:13:49 +00:00
Lluis Sanchez d542fb1174 * corlib.dll.sources: Add System.Runtime.Remoting/InternalRemotingServices.cs
svn path=/trunk/mcs/; revision=20081
2003-11-16 22:13:19 +00:00
Lluis Sanchez d3a284a6d2 * IObjectHandle.cs, ObjectHandle.cs: Added missing attributes.
* RemotingConfiguration.cs: GetRegisteredActivatedClientTypes made public.
	  Declared CustomErrorsEnabled() method.
	* RemotingServices.cs: Implemented GetSessionIdForMethodMessage().
	  IsAsyncMessage must be internal.
	* InternalRemotingServices.cs: Added.

svn path=/trunk/mcs/; revision=20080
2003-11-16 22:11:02 +00:00
Lluis Sanchez ae66c15a00 * SoapFormatter.cs: Added AssemblyFormat property.
svn path=/trunk/mcs/; revision=20079
2003-11-16 22:04:00 +00:00
Todd Berman edc7ee6394 2003-11-16 Todd Berman <[email protected]>
* TODO: updated
        * gacutil.cs: help text added.

svn path=/trunk/mcs/; revision=20078
2003-11-16 21:58:56 +00:00
Lluis Sanchez 70be2409d0 * SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
* ChannelCore.cs: New file. Implements a simple type binder used by the
	  formatter sinks.

svn path=/trunk/mcs/; revision=20077
2003-11-16 21:58:08 +00:00
Lluis Sanchez 94b17b6181 * TcpClientChannel.cs: Added support for name and priority properties.
* TcpServerChannel.cs: Added support for priority, bindTo, useIpAddress,
	  machineName and supressChannelData properties.
	* TcpChannel.cs, TcpServerTransportSink.cs: Formatting change.

svn path=/trunk/mcs/; revision=20076
2003-11-16 21:56:48 +00:00
Lluis Sanchez 8fe1f64ee8 * HttpHelper.cs: Removed usnused method GetMachineIp.
* HttpServerChannel.cs: Added support for priority, bindTo, useIpAddress and
	  machineName properties.

svn path=/trunk/mcs/; revision=20075
2003-11-16 21:56:13 +00:00
Lluis Sanchez 94c78fd733 * BinaryClientFormatterSink.cs, BinaryClientFormatterSinkProvider.cs,
BinaryServerFormatterSink.cs, BinaryServerFormatterSinkProvider.cs:
	  Moved formatter code to BinaryCore. This adds support for the properties
	  "includeVersion" and "strictBinding" to the binary formatter.
	* BinaryCore.cs: New file. Contains some code used by the binary formatter sinks.
	* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs,
	  SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs
	  Moved formatter code to BinaryCore. This adds support for the properties
	  "includeVersion" and "strictBinding" to the soap formatter.
	* SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
	* ChannelCore.cs: New file. Implements a simple type binder used by the
	  formatter sinks.

svn path=/trunk/mcs/; revision=20074
2003-11-16 21:54:57 +00:00
Martin Baulig 7bbc7f4e6c One more test ....
svn path=/trunk/mcs/; revision=20073
2003-11-16 21:46:38 +00:00
Martin Baulig e15033af04 2003-11-16 Martin Baulig <[email protected]>
* generic.cs (TypeArguments.Resolve):
	`Expression.ResolveAsTypeTerminal()' returns a TypeExpr; call
	`ResolveType()' on it to get the Type.

svn path=/trunk/mcs/; revision=20072
2003-11-16 21:42:53 +00:00
Martin Baulig 437d22bdd3 2003-11-16 Martin Baulig <[email protected]>
* class.c (mono_class_is_open_constructed_type): Implemented the
	MONO_TYPE_GENERICINST case.

svn path=/trunk/mono/; revision=20071
2003-11-16 21:41:01 +00:00
Richard Thombs 27631954b8 Added TODOAttribute.cs
svn path=/trunk/mcs/; revision=20070
2003-11-16 19:47:02 +00:00
Martin Baulig 4099931c36 2003-11-16 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.inflate): Call
	`parent.inflate (parent,...)' instead of
	`parent.inflate (reflected,...)'.

svn path=/trunk/mcs/; revision=20069
2003-11-16 18:40:05 +00:00
Gonzalo Paniagua Javier 2bfa12e181 2003-11-16 Gonzalo Paniagua Javier <[email protected]>
* ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
	Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=20068
2003-11-16 18:20:52 +00:00
Zoltan Varga 78dead5f6b 2003-11-16 Zoltan Varga <[email protected]>
* Assembly.cs (InternalGetAssemblyName): New icall.

	* AssemblyName.cs (GetAssemblyName): Implement this without loading
	the assembly in question. Fixes #51035.

svn path=/trunk/mcs/; revision=20067
2003-11-16 17:22:06 +00:00
Zoltan Varga c79b0e4152 2003-11-16 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_fill_assembly_name): New function to
	fill out the MonoAssemblyName structure.
	(mono_assembly_open): Use the new function.

	* icall.c (fill_reflection_assembly_name): New helper function.

	* icall.c (ves_icall_System_Reflection_Assembly_FillName): Use the
	new function.

	* icall.c (ves_icall_System_Reflection_Assembly_InternalGetAssemblyName): New icall.

svn path=/trunk/mono/; revision=20066
2003-11-16 17:20:03 +00:00
Zoltan Varga be28fbaa87 2003-11-16 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_local_regalloc): Fix regalloc for div
	instruction when the result is discarded.

svn path=/trunk/mono/; revision=20064
2003-11-16 15:40:42 +00:00
Zoltan Varga e4b94d51cf 2003-11-16 Zoltan Varga <[email protected]>
* iltests.il (test_0_div_regalloc): New regression test.

svn path=/trunk/mono/; revision=20063
2003-11-16 15:02:57 +00:00
Zoltan Varga c6f0243d87 2003-11-16 Zoltan Varga <[email protected]>
* arrays.cs: Fix compilation error.

svn path=/trunk/mono/; revision=20062
2003-11-16 14:53:02 +00:00
Mark Easton 3654067031 Added stubbed class files to match current MSDN API declarations...
svn path=/trunk/mcs/; revision=20061
2003-11-16 11:14:39 +00:00
Richard Thombs fae31b4dee Stubbed out System.Data.ObjectSpaces.Query
svn path=/trunk/mcs/; revision=20060
2003-11-16 06:59:04 +00:00
Todd Berman c5522c0615 2003-11-16 Todd Berman <[email protected]>
* gacutil.cs: /ul functionality
        * TODO: updated

svn path=/trunk/mcs/; revision=20059
2003-11-16 06:49:02 +00:00
Todd Berman cc92173287 2003-11-16 Todd Berman <[email protected]>
* gacutil.cs: /il functionality

svn path=/trunk/mcs/; revision=20058
2003-11-16 06:01:08 +00:00
Todd Berman a723043fa5 2003-11-15 Todd Berman <[email protected]>
* gacutil.cs: Incorporated uac (User Assembly Cache), needs some
        machine.config security checking as well.

svn path=/trunk/mcs/; revision=20055
2003-11-16 04:41:55 +00:00
Todd Berman 4141b30021 2003-11-15 Todd Berman <[email protected]>
* gacutil.cs: Changed ... + Path.DirSepChar + ... to Path.Combine
        Thanks to Ben Maurer. Turns out code marked as potentially not
        needed was not needed, now refcounting with /u assemblyname works
        as well.

svn path=/trunk/mcs/; revision=20054
2003-11-16 03:57:58 +00:00
Todd Berman fe1ceabf92 2003-11-15 Todd Berman <[email protected]>
* gacutil.cs: Added reference counting for installation and deletion.
        An assembly will have a RefCount of 1 if --force is used.

svn path=/trunk/mcs/; revision=20053
2003-11-16 03:20:06 +00:00
Miguel de Icaza 918b01fe4c Flush
svn path=/trunk/mono/; revision=20048
2003-11-16 02:01:33 +00:00
Zoltan Varga 2d996a3a9c 2003-11-15 Zoltan Varga <[email protected]>
* corlib.dll.sources: Add System.Runtime.CompilerServices/IsVolatile.cs.

svn path=/trunk/mcs/; revision=20034
2003-11-15 14:38:32 +00:00
Zoltan Varga 121c22e588 2003-11-15 Zoltan Varga <[email protected]>
* MethodImplOptions.cs MethodCodeType.cs: Add [Flags].

svn path=/trunk/mcs/; revision=20033
2003-11-15 14:37:33 +00:00
Gonzalo Paniagua Javier 5fd271c08b 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
* System/Environment.cs: use Directory in CurrentDirectory property.
	We were not throwing any exception when setting the directory to an
	invalid path.

	* System.IO/Directory.cs:
	(GetCurrentDirectory):
	(SetCurrentDirectory): moved here from Environment. Handle error cases.

	* System.IO/MonoIO.cs: add path to the default error message.

svn path=/trunk/mcs/; revision=20032
2003-11-15 13:13:45 +00:00
Mark Easton 6e784422b3 Uncommented fields named after C# keywords - using @ prefix to allow compilation
svn path=/trunk/mcs/; revision=20030
2003-11-15 11:20:56 +00:00
Martin Baulig 641b45f1bc Two new tests .....
svn path=/trunk/mcs/; revision=20029
2003-11-15 11:02:52 +00:00
Martin Baulig e6ca2ed4eb Ooops, forgot to add these tests last time.
svn path=/trunk/mcs/; revision=20028
2003-11-15 10:59:39 +00:00
Martin Baulig beddc1fe05 2003-11-15 Martin Baulig <[email protected]>
* class.c (mono_class_is_open_constructed_type): New public
	function; checks whether a type is an open constructed type,
	ie. whether it still contains type parameters.
	(mono_class_inflate_generic_type): If we're a type parameter and
	the inflated type is also a MONO_TYPE_(M)VAR, return the original
	type.

	* class.h (MonoGenericInst): Added `guint32 is_open'.

	* loader.c (method_from_methodspec): Check whether we're an open
	or closed constructed type and set `ginst->is_open'.

	* reflection.c (mono_reflection_bind_generic_parameters): Check
	whether we're an open or closed constructed type and set
	`ginst->is_open'.
	(mono_reflection_inflate_method_or_ctor): Don't inflate methods
	from open constructed types.

svn path=/trunk/mono/; revision=20027
2003-11-15 10:56:02 +00:00
Gonzalo Paniagua Javier cb6396f352 forgot this one
svn path=/trunk/mono/; revision=20026
2003-11-15 10:37:35 +00:00
Gonzalo Paniagua Javier 94cffd842d Fix typo
svn path=/trunk/mcs/; revision=20025
2003-11-15 10:22:06 +00:00
Gonzalo Paniagua Javier dd7438a9f0 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
* StringReaderTest.cs: added test from bug #51020.

svn path=/trunk/mcs/; revision=20024
2003-11-15 10:05:32 +00:00
Gonzalo Paniagua Javier 15a61d1543 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
* StringReader.cs: fixed ReadLine for some cases where there are mixed
	'\r' and '\n'. Closes bug #51020.

svn path=/trunk/mcs/; revision=20023
2003-11-15 10:04:40 +00:00
Martin Baulig 3c30557e6f 2003-11-15 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.GetInterfaces): Override this.

svn path=/trunk/mcs/; revision=20022
2003-11-15 09:41:03 +00:00
Martin Baulig ad98a2f904 2003-11-15 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters): If we're
	a generic instance (instead of a generic type declaration) with
	unbound generic parameters, bind them to our actual types.

svn path=/trunk/mono/; revision=20021
2003-11-15 09:38:21 +00:00
Peter Dennis Bartok 4cb105260e Added required sanity check before calling Activated() method
svn path=/trunk/mcs/; revision=20020
2003-11-15 04:25:32 +00:00
Peter Dennis Bartok f3d5256de4 Changed display model to offscreen buffers (faster)
Added handling of foreColor
Added handling of Pushbutton checkboxes
Added handling for three-state checkboxes
Added handling for alignment of checkbox and text
Added (incomplete) support for focus handling

svn path=/trunk/mcs/; revision=20019
2003-11-15 04:23:30 +00:00
Peter Dennis Bartok aeac1256a1 Added define required for 3-state checkbox
svn path=/trunk/mcs/; revision=20018
2003-11-15 04:08:05 +00:00
Peter Dennis Bartok 04bf64e3e7 Added (rudimentary) focus handling for button controls
svn path=/trunk/mcs/; revision=20017
2003-11-15 04:06:55 +00:00
Ben Maurer 3881e09320 2003-11-14 Ben Maurer <[email protected]>
* MemoryStream.cs (.ctor): We need to check if buffer is null
	before we get the Length of it.

svn path=/trunk/mcs/; revision=20016
2003-11-15 03:48:24 +00:00
Peter Dennis Bartok 51bc780615 Added RichTextEdit control messages
svn path=/trunk/mcs/; revision=20015
2003-11-15 03:32:59 +00:00
Miguel de Icaza 7c95f0650a A couple more TODOs
svn path=/trunk/mcs/; revision=20012
2003-11-14 22:32:04 +00:00
Martin Baulig 5348ae4f02 2003-11-14 Martin Baulig <[email protected]>
* interface.cs (Interface.DefineType): Define all type parameters
	before adding the interfaces we inherit.

svn path=/trunk/mcs/; revision=20011
2003-11-14 22:22:16 +00:00
Miguel de Icaza ecdbd8248f Flush
svn path=/trunk/mono/; revision=20010
2003-11-14 22:03:52 +00:00
Martin Baulig 0d5017120b 2003-11-14 Martin Baulig <[email protected]>
* reflection.h (MonoReflectionGenericInst): Added `MonoArray *interfaces'.

	* reflection.c (mono_reflection_bind_generic_parameters): If we're
	an interface type, populate `res->interfaces' with instantiated
	versions of all the interfaces we inherit.

svn path=/trunk/mono/; revision=20009
2003-11-14 21:57:02 +00:00
Martin Baulig 76effbb459 2003-11-14 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst): Added
	`MonoGenericInst[] interfaces' field.  This is only used for
	interface types.
	(MonoGenericInst.inflate): If we're an interface type, add the
	methods from all interfaces we inherit.

svn path=/trunk/mcs/; revision=20008
2003-11-14 21:49:08 +00:00
Miguel de Icaza debe066896 lowercase
svn path=/trunk/mcs/; revision=20007
2003-11-14 20:39:39 +00:00
Paolo Molaro 4232031424 Fri Nov 14 21:34:06 CET 2003 Paolo Molaro <[email protected]>
* inssel-x86.brg, inssel-float.brg, mini-ops.h: move x86-specific
	float rules to inssel-x86.brg: sane architectures with FP registers
	don't need to implement these rules.

svn path=/trunk/mono/; revision=20006
2003-11-14 20:34:31 +00:00
Gonzalo Paniagua Javier ed670ac1b0 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* Array.cs:
	* Delegate.cs: implemented 1.1 stuff.

	* Enum.cs:
	* IntPtr.cs: removed extra attribute.
	* PlatformID.cs: added WinCE.

svn path=/trunk/mcs/; revision=20005
2003-11-14 20:05:19 +00:00
Paolo Molaro 99c729dd4e Fri Nov 14 20:52:12 CET 2003 Paolo Molaro <[email protected]>
* mini-ppc.c, cpu-g4.md, inssel-ppc.brg: updates and fixes to the ppc port.

svn path=/trunk/mono/; revision=20004
2003-11-14 19:51:47 +00:00
Gonzalo Paniagua Javier a170b319fa assign correct parent for inner attributes
svn path=/trunk/mcs/; revision=20003
2003-11-14 19:27:28 +00:00
Jackson Harper 8ef9b761ac * Makefile.am: delete mscorlib.dll
svn path=/trunk/mono/; revision=20001
2003-11-14 17:39:24 +00:00
Gonzalo Paniagua Javier a4f63452ab Some benchmarks for ValueType Equals () and GetHashCode
svn path=/trunk/mono/; revision=20000
2003-11-14 17:26:38 +00:00
Duncan Mak c1f4d2dcce * general.c (gdip_get_status): Take cairo_status_t instead of
cairo_t. We need this because this is used in matrix.c and we only
have cairo_matrix_t there.

* graphics.c: Updated calls to gdip_get_status.

* pen.c
(convert_line_cap, convert_line_join): Added static keyword.
(GdipDeletePen): Implemented.

* matrix.c
(GdipCreateMatrix2, GdipCloneMatrix, GdipInvertMatrix): Use
gdip_get_status instead of just returning Ok.
(GdipRotateMatrix, GdipScaleMatrix, GdipTranslateMatrix):
Implemented.

svn path=/trunk/mcs/; revision=19999
2003-11-14 17:11:44 +00:00
Paolo Molaro c304924ce7 Fri Nov 14 17:58:27 CET 2003 Paolo Molaro <[email protected]>
* mini.h, inssel-long32.brg: fixed endianess issues in int64
	implementation of 32 bit systems.

svn path=/trunk/mono/; revision=19998
2003-11-14 16:57:22 +00:00
Zoltan Varga 936de0894a 2003-11-14 Zoltan Varga <[email protected]>
* AssemblyNameFlags.cs MethodAttributes.cs: Add new enumerated values
	from NET 1.1.

	* *.cs: Add missing attributes.

svn path=/trunk/mcs/; revision=19997
2003-11-14 16:20:02 +00:00
Gonzalo Paniagua Javier 76ba6097bc 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=19996
2003-11-14 08:12:13 +00:00
Nick Drochak 4cca9ffb7e 2003-11-14 Nick Drochak <[email protected]>
* DateTime.cs: Running tests in different timezones give different
	results.  Need to change the way these tests work. Disabling some
	tests for now.

svn path=/trunk/mcs/; revision=19995
2003-11-14 07:53:53 +00:00
Gonzalo Paniagua Javier 3d5de38150 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* corlib_test.dll.sources: added new ValueTypeTest.cs

	* System/ValueType.cs:
	(Equals): compare the fields of structs too.
	(GetHashCode): combine the hash code of all the fields.
	Fixes bug #50901 (will remove the icall in a couple of days).

	* Test/corlib_linux_test.args: Removed file.
	* Test/corlib_test.args: Removed file.
	* Test/System/ValueTypeTest.cs: New file.

svn path=/trunk/mcs/; revision=19994
2003-11-14 07:36:29 +00:00
Nick Drochak d662b140d6 2003-11-14 Nick Drochak <[email protected]>
* ArrayTest.cs: Fix a few tests where NullReferenceException
	is expected, not ArgumentNullException.

svn path=/trunk/mcs/; revision=19993
2003-11-14 06:44:45 +00:00
Todd Berman f0c498c23a 003-11-14 Todd Berman <[email protected]>
* gacutil.cs: added proper removal of assemblies, now the version=
        syntax also works.
        * gacutil.exe: somehow got added, removing, duh.

svn path=/trunk/mcs/; revision=19992
2003-11-14 06:37:44 +00:00
Nick Drochak 9b68b3b948 2003-11-14 Nick Drochak <[email protected]>
* X509SpcTest.cs: Ignore for now test where we need an exe to load.

svn path=/trunk/mcs/; revision=19991
2003-11-14 06:34:06 +00:00
Gonzalo Paniagua Javier 8472d11bb4 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* Directory.cs: allow directory names without wildcards in the pattern.
	Fixes bug #3 50969.

	* SearchPattern.cs: made InvalidChars and WildcardChars internal.

svn path=/trunk/mcs/; revision=19990
2003-11-14 06:14:33 +00:00
Gonzalo Paniagua Javier cab135287b 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: fixed Clear for non-zero bounded arrays. Fixes bug #50968.

svn path=/trunk/mcs/; revision=19989
2003-11-14 05:08:49 +00:00
Gonzalo Paniagua Javier c080ad94a2 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: handle century when we try to parse 4-digit years and
	only 2 digits are present. Fixes bug #49394.

svn path=/trunk/mcs/; revision=19988
2003-11-14 04:54:46 +00:00
Gonzalo Paniagua Javier 6e323452f6 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: use the argument name when throwing exception.

	* StreamReader.cs:
	* StringReader.cs:
	* TextReader.cs: added [In] attribute for the array in Read.

svn path=/trunk/mcs/; revision=19987
2003-11-14 04:06:38 +00:00
Gonzalo Paniagua Javier 294108dcfa 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* mono-api-diff.cs: added a couple of missing attributes for extra
	classes.

svn path=/trunk/mcs/; revision=19986
2003-11-14 03:51:16 +00:00
Gonzalo Paniagua Javier 0fd6a488f8 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
	wrap it and do our job before calling it. Fixes bug #48497.

svn path=/trunk/mcs/; revision=19985
2003-11-14 03:23:07 +00:00
Todd Berman 4c05a43ce5 2003-11-13 Todd Berman <[email protected]>
* Makefile: Hacked up a bit to allow the assemblies generated to have
        'Microsoft.Web.Services' as their AssemblyName.Name instead of
        'Microsoft.Web.Services.1' and 'Microsoft.Web.Services.2'.

svn path=/trunk/mcs/; revision=19984
2003-11-14 03:20:04 +00:00
Miguel de Icaza dc6ab5e52e 2003-11-13 Miguel de Icaza <[email protected]>
* Console.cs: On utf-8 consoles, use unmarked output.

svn path=/trunk/mcs/; revision=19981
2003-11-14 02:47:53 +00:00
Sebastien Pouliot cb5e2acb88 2003-11-13 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added unit tests for ProtectedData and
	ProtectedMemory (1.2).

svn path=/trunk/mcs/; revision=19980
2003-11-14 01:43:26 +00:00
Sebastien Pouliot e53cc2ea33 2003-11-13 Sebastien Pouliot <[email protected]>
* ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
	* ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).

svn path=/trunk/mcs/; revision=19979
2003-11-14 01:39:27 +00:00
Sebastien Pouliot 68723379f4 2003-11-13 Sebastien Pouliot <[email protected]>
* ProtectedData.cs: Added exceptions - core is still TODO.
	* ProtectedMemory.cs: Added exceptions - core is still TODO.

svn path=/trunk/mcs/; revision=19978
2003-11-14 01:37:33 +00:00
Jackson Harper 5e57511b0a * SessionInProcHandler.cs: Use AppDomain.SetData so data is
available across all threads. Set the path of session id
	cookies. Patch by Mohammad DAMT. Fixes bug #50922.

svn path=/trunk/mcs/; revision=19977
2003-11-13 23:02:38 +00:00
Jackson Harper 033f3e176d * TemplateParser.cs: Page OutputCache options
svn path=/trunk/mcs/; revision=19976
2003-11-13 22:41:21 +00:00
Andreas N 7c937df551 2003-11-13 Andreas Nahr <[email protected]>
* Bitmap.cs: Added Attributes
	* ColorTranslator.cs: Added private constructor
	* Font.cs: Added Attributes
	* FontFamily.cs: sealed
	* Icon.cs: Added Attributes
	* IconConverter.cs: Fixed signature
	* Image.cs: Added attributes
	* ImageAnimator.cs:
	* ImageConverter.cs:
	* ImageFormatConverter.cs:
	* SolidBrush.cs:
	* StringFormat.cs:
	* SystemBrushes.cs:
	* SystemColors.cs:
	* SystemIcons.cs:
	* SystemPens.cs:
	* TextureBrush.cs: Fixed signature
	* Color.cs: Added attributes
	* Point.cs:
	* PointF.cs:
	* Rectangle.cs:
	* Size.cs:
	* SizeF.cs: Added attributes
	* ContentAlignment.cs: Added attribute

svn path=/trunk/mcs/; revision=19975
2003-11-13 22:40:00 +00:00
Jackson Harper b85283462b * PageCompiler.cs: Call InitOutputCache when the OutputCache
directive is set.

svn path=/trunk/mcs/; revision=19974
2003-11-13 22:39:59 +00:00
Jackson Harper 3faaff27c7 * Page.cs: Initial implementation of InitOutputCache.
* TemplateParser.cs: Call InitOutputCache when the OutputCache
	directive is set.

svn path=/trunk/mcs/; revision=19973
2003-11-13 22:37:52 +00:00
Andreas N 37809261cd 2003-11-13 Andreas Nahr <[email protected]>
* ColorMap.cs: Implemented
	* ColorMatrix.cs: Implemented, Removed unneccesary members
	* ImageAttributes.cs: Fixed signature
	* ImageCodecInfo.cs: Added missing attribure, hide constructor
	* ImageFormat.cs: Implemented, Added attribute
	* MetaHeader.cs: Implemented
	* PropertyItem.cs: Implemented
	* ImageFlags.cs: Added Attribute
	* ImageCodecFlags.cs: Added Attribute
	* EmfPlusRecordType.cs: Added missing members

svn path=/trunk/mcs/; revision=19972
2003-11-13 22:37:11 +00:00
Jackson Harper 02b656b2de * HttpCachePolicy.cs: Make sure cacheability and maxage get
set. Add method to set Http response header data
	* HttpCacheVaryByParams.cs: Add method to create a response header.
	* HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
	* HttpResponse.cs: Set cache headers.

svn path=/trunk/mcs/; revision=19971
2003-11-13 22:37:10 +00:00
Andreas N 21a5a4133c 2003-11-13 Andreas Nahr <[email protected]>
* QualityMode.cs: Fixed typo
	* InterpolationMode.cs: Fixed typo
	* RegionData.cs: Fixed signatures, partially implemented
	* PathGradientBrush.cs: Fixed signatures
	* PathData.cs: Fixed signature, implemented
	* LinearGradientBrush.cs: Added missing MonoTODOs, fixed typo
	* GraphicsContainer.cs: Added private constructor
	* CustomLineCap.cs: Fixed typos, fixed inheritance, removed unneeded member

svn path=/trunk/mcs/; revision=19970
2003-11-13 22:36:20 +00:00
Jackson Harper 088e9e3a35 * System.web.dll.sources: Add System.Web.Util.TimeUtil.cs to the
build

svn path=/trunk/mcs/; revision=19969
2003-11-13 22:35:11 +00:00
Andreas N 035bf2c227 2003-11-13 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources: MetafileHeader added (was missing), Consts.cs added

svn path=/trunk/mcs/; revision=19968
2003-11-13 22:35:00 +00:00
Jackson Harper cc6bda232c * TimeUtil.cs: Utility methods for dealing with time.
svn path=/trunk/mcs/; revision=19967
2003-11-13 22:34:40 +00:00
Andreas N 8e84b71059 2003-11-13 Andreas Nahr <[email protected]>
* Consts.cs: Added

svn path=/trunk/mcs/; revision=19966
2003-11-13 22:34:38 +00:00
Duncan Mak 28dbef7d64 2003-11-13 Duncan Mak <[email protected]>
* Pen.cs (LineCape, LineJoin, MiterLimit, Transform): implemented.

	* gdipFunctions.cs
	(GdipSetPenMiterLimit, GdipGetPenMiterLimit):
	(GdipSetPenLineJoin, GdipGetPenLineJoin):
	(GdipSetPenLineJoin, GdipGetPenTransform): imported.

	* bitmap.c, brush.c, general.c:
	* graphics.c, image.c, matrix.c:
	* pen.c, solidbrush.c: Use gdip.h instead of gdip_main.h.

	* gdip.h: New header file, merged from gdip_main.h and
	gdip_defs.h.

	* gdip_main.h, gdip_defs.h: Removed.

	* pen.c
	(convert_line_join, convert_line_cap): new function for converting
	enumerations between GDI+ and Cairo.
	(gdip_pen_setup): set miter limit and line join.
	(GdipSetPenMiterLimit, GdipGetPenMiterLimit):
	(GdipSetPenLineJoin, GdipGetPenLineJoin):
	(GdipSetPenLineJoin, GdipGetPenTransform): implemented.

svn path=/trunk/mcs/; revision=19964
2003-11-13 21:45:55 +00:00
Miguel de Icaza 08215812b9 Flush
svn path=/trunk/mono/; revision=19963
2003-11-13 20:31:52 +00:00
Peter Dennis Bartok be01ef7e2e DrawFrameControlHelper no longer uses the provided Graphics object to initialize it's bitmap. It seems that the Windows System.Drawing library throws an exception when creating a bitmap from a graphics object that in itself was created from a bitmap.
svn path=/trunk/mcs/; revision=19962
2003-11-13 20:18:52 +00:00
Andreas N 522f338564 Corrected version
svn path=/trunk/mcs/; revision=19961
2003-11-13 20:00:18 +00:00
Andreas N 2d61d06676 2003-11-13 Andreas Nahr <[email protected]>
* Microsoft.VisualBasic.dll.sources: Added Assembly files

svn path=/trunk/mcs/; revision=19960
2003-11-13 19:57:15 +00:00
Andreas N 0d79eede5a 2003-11-13 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=19959
2003-11-13 19:55:27 +00:00
Andreas N eaebb92fce 2003-11-13 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added attribute

svn path=/trunk/mcs/; revision=19958
2003-11-13 19:54:39 +00:00
Andreas N 7f3f8b7c37 2003-11-13 Andreas Nahr <[email protected]>
* AspNetHostingPermissionAttribute.cs: Accidentially set to wrong value

svn path=/trunk/mcs/; revision=19957
2003-11-13 19:32:46 +00:00
Andreas N 2b5455e7e0 2003-11-13 Andreas Nahr <[email protected]>
* AspNetHostingPermissionAttribute.cs: Added missing AttributeUsageAttribute

svn path=/trunk/mcs/; revision=19956
2003-11-13 19:30:58 +00:00
Andreas N a41bcb0ed3 2003-11-13 Andreas Nahr <[email protected]>
* ICollectData.cs: Fixed signature

svn path=/trunk/mcs/; revision=19955
2003-11-13 19:30:35 +00:00
Andreas N ccf287dc04 2003-11-13 Andreas Nahr <[email protected]>
* IComponent.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19954
2003-11-13 19:30:06 +00:00
Andreas N ac122271f9 2003-11-13 Andreas Nahr <[email protected]>
* IExpando.cs: Added attribute

svn path=/trunk/mcs/; revision=19953
2003-11-13 19:29:30 +00:00
Andreas N 188eae8c55 2003-11-13 Andreas Nahr <[email protected]>
* IRegistrationServices.cs:
	* ITypeLibConverter.cs:
	* ITypeLibExporterNameProvider.cs:
	* ITypeLibExporterNotifySink.cs:
	* ITypeLibImporterNotifySink.cs: Added missing attribute
	* UCOMIBindCtx.cs: Added missing attribute, fixed in attribute
	* UCOMIConnectionPoint.cs:
	* UCOMIConnectionPointContainer.cs:
	* UCOMIEnumConnectionPoints.cs:
	* UCOMIEnumConnections.cs:
	* UCOMIEnumMoniker.cs:
	* UCOMIEnumString.cs:
	* UCOMIEnumVARIANT.cs:
	* UCOMIMoniker.cs:
	* UCOMIPersistFile.cs:
	* UCOMIRunningObjectTable.cs:
	* UCOMIStream.cs:
	* UCOMITypeComp.cs:
	* UCOMITypeInfo.cs:
	* UCOMITypeLib.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19952
2003-11-13 19:29:10 +00:00
Andreas N fc6178e0fd 2003-11-13 Andreas Nahr <[email protected]>
* IEnumerator.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19951
2003-11-13 19:28:22 +00:00
Andreas N 32ff475509 2003-11-13 Andreas Nahr <[email protected]>
* IAppDomainSetup.cs:
	* _AppDomain.cs:
	* Object.cs:
	* Type.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19950
2003-11-13 19:28:02 +00:00
Lluis Sanchez f5c1212900 Added web handlers for .rem and .soap, which are managed by remoting
svn path=/trunk/mono/; revision=19949
2003-11-13 17:27:03 +00:00
Lluis Sanchez e550dc51cc HttpChannel.cs: Create empty property dictionary in the default constructor.
svn path=/trunk/mcs/; revision=19948
2003-11-13 17:25:43 +00:00
Lluis Sanchez f16a0fe68f System.Runtime.Remoting.dll.sources: Removed HttpThread.cs
svn path=/trunk/mcs/; revision=19947
2003-11-13 17:23:23 +00:00
Lluis Sanchez 538cd7f44f Not used any more
svn path=/trunk/mcs/; revision=19946
2003-11-13 17:10:29 +00:00
Lluis Sanchez 1dabdb179f * ObjectWriter.cs: Added FIXME
* SoapParser.cs: Added null reference check.

svn path=/trunk/mcs/; revision=19945
2003-11-13 17:03:38 +00:00
Lluis Sanchez 3509f4a46f TcpChannel.cs: take into account name and priority properties.
svn path=/trunk/mcs/; revision=19944
2003-11-13 17:01:35 +00:00
Lluis Sanchez 47d9640fa6 * HttpChannel.cs: Moved initialization code in SetupChannel to the
respective client and server channels. Added implementatoin of the
	  interface IChannelReceiverHook.
	* HttpRemotingHandler.cs: Implemented.
	* HttpRemotingHandlerFactory.cs: Implemented.
	* HttpServer.cs: In general, use Stream instances instead of Socket. It is
	  more reusable in this way. Also improved formatting.
	* HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
	  Added new method DispatchRequest in HttpServerTransportSink that can
	  be reused by HttpRemotingHandler.

svn path=/trunk/mcs/; revision=19943
2003-11-13 16:59:42 +00:00
Lluis Sanchez 33dee9905b ChannelServices.cs: Catch errors when creating configured channels.
svn path=/trunk/mcs/; revision=19942
2003-11-13 16:50:56 +00:00
Lluis Sanchez 04541cca20 * RemotingServices.cs: Add ".rem" suffix to generated uri names.
svn path=/trunk/mcs/; revision=19941
2003-11-13 16:49:21 +00:00
Gonzalo Paniagua Javier f60cd24f60 corlib->mscorlib
svn path=/trunk/mono/; revision=19940
2003-11-13 16:22:02 +00:00
Gonzalo Paniagua Javier 2af4604de0 2003-11-13 Gonzalo Paniagua Javier <[email protected]>
* mono-api-diff.cs: ensure no nested type gets in as non-nested.
	(May be a bug in MS?). Added ptype and params attributes for properties.

	* mono-api-info.cs: fixed some cases where there's a name duplication
	(multiple attributes, properties). Fixed completion counters.

svn path=/trunk/mcs/; revision=19939
2003-11-13 16:12:48 +00:00
Paolo Molaro 678ef138ad Thu Nov 13 16:24:29 CET 2003 Paolo Molaro <[email protected]>
* ppc/ppc-codegen.h: fixed most of the incorrect macros from ct.

svn path=/trunk/mono/; revision=19938
2003-11-13 15:23:48 +00:00
Aleksey Demakov cec06f221c fixed problem with MONO_PATH and mscorlib.dll
svn path=/trunk/mono/; revision=19937
2003-11-13 15:22:09 +00:00
Paolo Molaro 29ddc71b6d Thu Nov 13 16:14:41 CET 2003 Paolo Molaro <[email protected]>
* exceptions-ppc.c: fix build on Linux/ppc from [email protected]
	(Jeroen Zwartepoorte).

svn path=/trunk/mono/; revision=19936
2003-11-13 15:14:03 +00:00
Paolo Molaro b58ee90490 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <[email protected]>
* util.h, dump.c: get rid of ugly CSIZE macro.

svn path=/trunk/mono/; revision=19935
2003-11-13 15:11:14 +00:00
Gonzalo Paniagua Javier 35fcafcb10 max_interface_id+1
svn path=/trunk/mono/; revision=19934
2003-11-13 14:50:01 +00:00
Gonzalo Paniagua Javier b5b0f46c6c 2003-11-13 Gonzalo Paniagua Javier <[email protected]>
* icall.c:
	(ves_icall_Type_GetInterfaces): don't return an interface twice when
	it's also implemented in base classes. Fixes bug #50927.

svn path=/trunk/mono/; revision=19933
2003-11-13 13:52:45 +00:00
Zoltan Varga 41b954b1c2 2003-11-13 Zoltan Varga <[email protected]>
* gc.c (ves_icall_System_GC_WaitForPendingFinalizers): Avoid deadlocks
	if this method is called from a finalizer. Fixes #50913.

svn path=/trunk/mono/; revision=19932
2003-11-13 13:18:13 +00:00
Gonzalo Paniagua Javier 1b96bbcce2 2003-11-13 Gonzalo Paniagua Javier <[email protected]>
* RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
	Patch by Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=19931
2003-11-13 10:21:01 +00:00
Atsushi Eno 121ae49adb 2003-11-13 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added HtmlEmitter.cs

svn path=/trunk/mcs/; revision=19929
2003-11-13 02:23:47 +00:00
Atsushi Eno a00bce360d 2003-11-13 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : Added HTML output support. Closer xmlns handling
	  to Xalan tests and MS.NET implementation (only for test convenience).
	* XslOutput.cs : Indent holds string rathen than bool. Its default value
	  varies in the context. When method="html", then default is "yes".
	* XslTransformProcessor.cs : Extension element prefixes should not
	  be written as stylesheet namespaces.
	* XsltCompiledContext.cs : Return type of generate-id() is string.
	  Implemented unparsed-entity-uri().

svn path=/trunk/mcs/; revision=19928
2003-11-13 02:18:06 +00:00
Pedro Martínez Juliá fc5a41fb88 2003-11-13 Pedro Mart�nez Juli� <[email protected]>
* LoginDialog.cs
    * SqlEditorSharp.cs
    * sqlsharpgtk.cs: Updated to the new changes in gtk-sharp
    library.

svn path=/trunk/mcs/; revision=19926
2003-11-12 23:34:48 +00:00
Miguel de Icaza 3d14e00621 Interface to interface
svn path=/trunk/mcs/; revision=19925
2003-11-12 23:14:37 +00:00
Miguel de Icaza 3e9ea8eb31 Improve test
svn path=/trunk/mcs/; revision=19924
2003-11-12 23:14:20 +00:00
Zoltan Varga 7677b13f28 2003-11-12 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Use CEE_JMP only if the signature of
	the caller and the callee matches.

svn path=/trunk/mono/; revision=19923
2003-11-12 22:36:41 +00:00
Miguel de Icaza 214766ffe9 2003-11-12 Miguel de Icaza <[email protected]>
* convert.cs (ImplicitReferenceConversion): We were missing a case
	(System.Enum are not value types or class types, so we need to
	classify them separatedly).

svn path=/trunk/mcs/; revision=19922
2003-11-12 22:29:45 +00:00
Zoltan Varga ed3d0f949f 2003-11-12 Zoltan Varga <[email protected]>
* AssemblyBuilderAccess.cs PackingSize: Add [Flags].

svn path=/trunk/mcs/; revision=19921
2003-11-12 22:00:27 +00:00
Alexandre Pigolkine e667d1c4ea BGR to RGB function
svn path=/trunk/mcs/; revision=19920
2003-11-12 21:41:30 +00:00
Alexandre Pigolkine d8ff3dcdf9 removed symbol
svn path=/trunk/mcs/; revision=19919
2003-11-12 21:30:32 +00:00
Alexandre Pigolkine d039f33f92 copy image function added
svn path=/trunk/mcs/; revision=19918
2003-11-12 21:27:33 +00:00
Alexandre Pigolkine bb033e86c8 convert BGR to RGB, PNG codec fixed
svn path=/trunk/mcs/; revision=19917
2003-11-12 21:20:52 +00:00
Alexandre Pigolkine b2ed84740a copy image in Bitmap constructor
svn path=/trunk/mcs/; revision=19916
2003-11-12 21:07:27 +00:00
Miguel de Icaza 12f98f57e4 2003-11-12 Miguel de Icaza <[email protected]>
* driver.cs: We do not support error 2007.

svn path=/trunk/mcs/; revision=19915
2003-11-12 20:48:48 +00:00
Lluis Sanchez 6afe3efa63 * CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between options
and source files.

svn path=/trunk/mcs/; revision=19914
2003-11-12 20:36:15 +00:00
Andreas N 7ffd65ca4d corrected some format errors my previous commit did make
svn path=/trunk/mcs/; revision=19913
2003-11-12 20:32:56 +00:00
Zoltan Varga 352faa887f 2003-11-12 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (DefineDynamicModule): Make internal method
	private.

	* AssemblyBuilder.cs (Save): Write out the main module at the end.

svn path=/trunk/mcs/; revision=19912
2003-11-12 20:32:53 +00:00
Andreas N 7e119da5fd 2003-11-12 Andreas Nahr <[email protected]>
* System.dll.sources: Added some new class files

svn path=/trunk/mcs/; revision=19911
2003-11-12 20:26:02 +00:00
Andreas N 34f3516909 2003-11-12 Andreas Nahr <[email protected]>
* ChangeLog: Added
	* AspNetHostingPermissionLevel.cs: Added and implemented
	* AspNetHostingPermissionAttribute.cs: Added and partially implemented
	* AspNetHostingPermission.cs: Added and partially implemented

svn path=/trunk/mcs/; revision=19910
2003-11-12 20:25:34 +00:00
Andreas N 73fadc8a9d 2003-11-12 Andreas Nahr <[email protected]>
* WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
	* SecurityProtocolType.cs: Added and implemented

svn path=/trunk/mcs/; revision=19909
2003-11-12 20:24:22 +00:00
Andreas N 377d09d54d 2003-11-12 Andreas Nahr <[email protected]>
* ICollectData.cs: Added missing attribute

svn path=/trunk/mcs/; revision=19908
2003-11-12 20:23:41 +00:00
Andreas N 9a51f6d100 2003-11-12 Andreas Nahr <[email protected]>
* ComponentResourceManager.cs: Added and partially implemented

svn path=/trunk/mcs/; revision=19907
2003-11-12 20:22:54 +00:00
Andreas N 5e75f78ee7 TimerElapsedEventArgs.cs: Added missing Attribute, restyled
svn path=/trunk/mcs/; revision=19906
2003-11-12 20:21:35 +00:00
Andreas N f3c0e8f473 AssemblyInfo.cs: Added missing attribute
svn path=/trunk/mcs/; revision=19905
2003-11-12 20:18:00 +00:00
Miguel de Icaza 1e6962adb0 update to reflect reality
svn path=/trunk/mcs/; revision=19904
2003-11-12 19:44:29 +00:00
Peter Dennis Bartok b366e52670 - Fixed calculation of mouse position in WM_RBUTTONDOWN handling. It had X & Y coordinates swapped and context-menus would be displayed in the wrong spot.
svn path=/trunk/mcs/; revision=19903
2003-11-12 18:33:21 +00:00
Rafael Teixeira e55ac5a3bf 2003/11/12 Rafael Teixeira <[email protected]>
* driver.cs : /imports option now is implemented
	* mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)

svn path=/trunk/mcs/; revision=19902
2003-11-12 18:12:50 +00:00
Miguel de Icaza 1b3f4704e9 Use mscorlib here
svn path=/trunk/mono/; revision=19901
2003-11-12 18:09:33 +00:00
Rafael Teixeira f89a4e86bc 2003/11/10 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
	* 	handle unicode specialized double-quotes in string literals	
	* 	corrected some mishandling of conversions in numeric literals
	*	implemented support for char literals ("z"c)
	* Makefile : verbose target uses verbose argument
	* testmbas/WriteOK.vb: many tests for literals implemented
	* literal.cs: correcting lack of a ShortLiteral class
	* mb-parser.jay: removed support for unsigned int literals, added support for short int literals

svn path=/trunk/mcs/; revision=19900
2003-11-12 17:25:54 +00:00
Miguel de Icaza 4b1d5100d5 2003-11-12 Miguel de Icaza <[email protected]>
* Thread.cs: Add new VolatileRead/VolatileWrite methods from 1.1

svn path=/trunk/mcs/; revision=19899
2003-11-12 17:22:53 +00:00
Miguel de Icaza 77a4b2ddf8 2003-11-12 Miguel de Icaza <[email protected]>
* threads.c: Implement VolatileRead/VolatileWrite

	* icall.c: Add new icalls for VolatileRead/VolatileWrite

svn path=/trunk/mono/; revision=19898
2003-11-12 17:22:22 +00:00
Gonzalo Paniagua Javier 896dfe4d89 added print-stack to DIST
svn path=/trunk/mono/; revision=19897
2003-11-12 17:21:51 +00:00
Gonzalo Paniagua Javier 222be569c0 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: fixed redirects when they target another host.

svn path=/trunk/mcs/; revision=19896
2003-11-12 17:19:00 +00:00
Zoltan Varga 50b55be26f 2003-11-12 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Applied
	patch from Danilo Sagan ([email protected]). Fix compilation under gcc
	2.95.3.

svn path=/trunk/mono/; revision=19895
2003-11-12 16:48:46 +00:00
Lluis Sanchez c28ae953ef Added remoting configuration section
svn path=/trunk/mono/; revision=19894
2003-11-12 16:18:56 +00:00
Lluis Sanchez 247e8203ac * XmlSerializationReader.cs, XmlSerializationWriter.cs, XmlSerializer.cs:
Removed several TODOs already done.

svn path=/trunk/mcs/; revision=19893
2003-11-12 15:58:12 +00:00
Lluis Sanchez 4680ad0fa4 ObjectReader.cs, ObjectWriter.cs: Changed some GetType calls to "is" checks.
svn path=/trunk/mcs/; revision=19892
2003-11-12 15:54:08 +00:00
Gonzalo Paniagua Javier b9b627fbcd 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
* DirectoryInfo.cs: fixed ToString. Closes bug #50842.

svn path=/trunk/mcs/; revision=19891
2003-11-12 15:45:36 +00:00
Lluis Sanchez bb787ad8e0 * TcpServerChannel.cs: Remove listener initialization and StartListening
call from constructor. It is called now by the remoting framework.
	* TcpConnectionPool.cs: Removed fixme.

svn path=/trunk/mcs/; revision=19890
2003-11-12 15:43:12 +00:00
Lluis Sanchez ee47b84f26 * HttpServerChannel.cs: Removed StartListening call from constructor. It
is called by the remoting framework.
	* HttpClientChannel.cs, HttpHelper.cs: Fixed some formatting.

svn path=/trunk/mcs/; revision=19889
2003-11-12 15:37:19 +00:00
Lluis Sanchez 36bb54ad70 * BinaryServerFormatterSink.cs: Removed fixme.
* BinaryServerFormatterSinkProvider.cs: Removed a NotImplementedException.
	* SoapServerFormatterSinkProvider.cs: Removed some TODOs.

svn path=/trunk/mcs/; revision=19888
2003-11-12 15:33:32 +00:00
Lluis Sanchez b802930aac * RemotingConfiguration.cs: Implemented all remaining functionality.
* ActivatedClientTypeEntry.cs: Set the value of ObjectType in the constructor
	* ActivatedServiceTypeEntry.cs, WellKnownClientTypeEntry.cs,
	  WellKnownServiceTypeEntry.cs: Check that the provided type is valid.

svn path=/trunk/mcs/; revision=19887
2003-11-12 15:30:42 +00:00
Lluis Sanchez 15038483fb * ChannelServices.cs: Added support for creating channels from configuration
files. Added some locks.
	* SinkProviderData.cs: Implemented.

svn path=/trunk/mcs/; revision=19886
2003-11-12 15:30:01 +00:00
Zoltan Varga 8ec320de49 2003-11-12 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_open): Fix windows build. Applied patch
	from Peter Ross ([email protected]).

svn path=/trunk/mono/; revision=19885
2003-11-12 15:25:35 +00:00
Lluis Sanchez da9314ca3a * Environment.cs: Added internal method for getting the path to
machine.config.

svn path=/trunk/mcs/; revision=19884
2003-11-12 15:19:31 +00:00
Lluis Sanchez e1e651d804 * icall.c: Added internal call for System.Environment::GetMachineConfigPath
svn path=/trunk/mono/; revision=19883
2003-11-12 15:16:56 +00:00
Zoltan Varga 23453df81a 2003-11-12 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Add comment.

svn path=/trunk/mono/; revision=19882
2003-11-12 14:45:57 +00:00
Zoltan Varga d0a8b268bb 2003-11-12 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_load_references): Disable check because it
	triggers on older corlibs which lots of people have.

svn path=/trunk/mono/; revision=19881
2003-11-12 14:43:07 +00:00
Jackson Harper ca7a1a1273 * mono-cov.c: Change default assembly name to mscorlib.dll
svn path=/trunk/mono/; revision=19880
2003-11-12 14:12:47 +00:00
Jackson Harper dc8bcc5ddd * monograph.c: Change default assembly name to mscorlib.dll
svn path=/trunk/mono/; revision=19879
2003-11-12 14:12:21 +00:00
Jackson Harper 2f5a8940be * assembly.c: Change corlib name to mscorlib. Add a temp. hack to
load corlib.dll if mscorlib.dll is not found.
	* assembly.h: Remove corlib name define.
	* class.c:
	* domain.c:
	* image.c: Change corlib name to mscorlib.

svn path=/trunk/mono/; revision=19878
2003-11-12 14:11:11 +00:00
Jackson Harper b848c7b6a0 * Makefile.am: corlib is now named mscorlib.dll
svn path=/trunk/mono/; revision=19877
2003-11-12 14:10:10 +00:00
Jackson Harper becac04241 * driver.cs: Use corlib.dll or mscorlib.dll when looking up the
system directory. Also use the full file name so users can
	libraries names mscorlib-o-tron.dll in a non system dir.

svn path=/trunk/mcs/; revision=19876
2003-11-12 14:08:33 +00:00
Jackson Harper 6685b6c323 * AssemblyInfo.cs: Change assembly name to mscorlib
svn path=/trunk/mcs/; revision=19875
2003-11-12 14:07:20 +00:00
Jackson Harper 1912d127ea * Makefile: corlib is now named mscorlib.
svn path=/trunk/mcs/; revision=19874
2003-11-12 14:06:43 +00:00
Jackson Harper a3476d7a8a * rules.make:
* platforms/linux.make: corlib name is now mscorlib.

svn path=/trunk/mcs/; revision=19873
2003-11-12 14:05:36 +00:00
Zoltan Varga c28de004c2 2003-11-12 Zoltan Varga <[email protected]>
* debug-mono-symfile.c: Add patch from FreeBSD ports tree.

svn path=/trunk/mono/; revision=19872
2003-11-12 13:15:34 +00:00
Zoltan Varga ca343ded45 2003-11-12 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Use mono_signbit, since
	signbit is missing on some platforms.

svn path=/trunk/mono/; revision=19871
2003-11-12 13:11:46 +00:00
Zoltan Varga 1cc6ea76b9 2003-11-12 Zoltan Varga <[email protected]>
* mono-math.h mono-math.c: New file which contains implementations of
	math functions/macros which are missing on some platforms.

svn path=/trunk/mono/; revision=19870
2003-11-12 13:11:05 +00:00
Zoltan Varga 8f7a297278 2003-11-12 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for signbit, which is missing in
	FreeBSD 4.x.

svn path=/trunk/mono/; revision=19869
2003-11-12 13:09:46 +00:00
Jackson Harper b18b5aeff0 * Environment.cs: Add MyMusic and MyPictures to the SpecialFolder
enum. This fixes the SWF build.

svn path=/trunk/mcs/; revision=19868
2003-11-12 11:58:03 +00:00
Jordi Mas i Hernandez e40f9fcf52 FolderBrowserDialog implementation
svn path=/trunk/mcs/; revision=19867
2003-11-12 10:16:24 +00:00
Gonzalo Paniagua Javier e6ff4694cc Build fix on windows
svn path=/trunk/mcs/; revision=19863
2003-11-12 05:38:20 +00:00
Todd Berman 2099d03c56 2003-11-12 Todd Berman <[email protected]>
* Makefile:
        * TODO:
        * README:
        * ChangeLog:
        * gacutil.exe.sources:
        * gacutil.cs: Added

svn path=/trunk/mcs/; revision=19862
2003-11-12 05:37:38 +00:00
Gonzalo Paniagua Javier 8dfd169964 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
* mono-api-diff.cs: fixed attribute handling for members. Fixed counts
	for properties.
	* mono-api-info.cs: don't output .cctor information.

svn path=/trunk/mcs/; revision=19861
2003-11-12 05:20:49 +00:00
Gonzalo Paniagua Javier fd2a678f39 added System.Web.Services
svn path=/trunk/mono/; revision=19860
2003-11-12 05:18:29 +00:00
Miguel de Icaza 781b9220a2 2003-11-12 Miguel de Icaza <[email protected]>
* CaseInsensitiveComparer.cs: Add missing method.

svn path=/trunk/mcs/; revision=19859
2003-11-12 05:17:15 +00:00
Miguel de Icaza c680cc32d0 2003-11-12 Miguel de Icaza <[email protected]>
* Directory.cs: Adjust for missing PlatformID.Unix.

2003-11-12  Miguel de Icaza  <[email protected]>

	* PlatformID.cs: Remove Unix platform, we cant expose constants
	that are not in the framework.

	* OperatingSystem.cs: Adjust for the breakage.

	* RuntimeMethodHandle.cs: Fix signature.

	* Double.cs: Fix signature of TryParse.

	* String.cs (Concat (object, object, object, object)): Add missing method.

	* OperatingSystem.cs: Removed Equals, GetHashCode, they were not
	in the .NET Framework.

	* Enum.cs: Hide constructor.

	Fix ToUint16 to be explicitly implemented.

	* Console.cs: Add couple of extra missing methods (Write and
	WriteLine overloaded)

svn path=/trunk/mcs/; revision=19857
2003-11-12 04:52:47 +00:00
Sebastien Pouliot 163a10828e 2003-11-11 Sebastien Pouliot <[email protected]>
* Rfc2898DeriveBytesTest.cs: More tests for Reset and keys longer than
	a single block.

svn path=/trunk/mcs/; revision=19856
2003-11-12 03:28:30 +00:00
Sebastien Pouliot ca431aa35c 2003-11-11 Sebastien Pouliot <[email protected]>
* Rfc2898DeriveBytes.cs: Now handle resets and keys longer than 160
	bits (HMACSHA1 block size). Removed TODO.

svn path=/trunk/mcs/; revision=19855
2003-11-12 03:23:32 +00:00
Sebastien Pouliot dd81897823 2003-11-11 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Fixed decryption when inputOffset > 0.
	[#50826].

svn path=/trunk/mcs/; revision=19854
2003-11-12 03:04:18 +00:00
Todd Berman 77b0fcb51f 2003-11-11 Todd Berman <[email protected]>
* AssemblyName.cs (FullName): Fixed to include a proper PublicKeyToken.

svn path=/trunk/mcs/; revision=19853
2003-11-12 02:44:12 +00:00
Mark Easton 217b36824d Removed misplaced source files as warned by Miguel...
svn path=/trunk/mcs/; revision=19852
2003-11-12 01:47:51 +00:00
Mark Easton 6bee7c4e55 *** empty log message ***
svn path=/trunk/mcs/; revision=19851
2003-11-12 01:33:31 +00:00
Mark Easton 184c000712 First stub files entered and hopefully no other bits of the repositry damaged by my newbie hands
svn path=/trunk/mcs/; revision=19850
2003-11-12 01:23:43 +00:00
Ben Maurer 4115eec3b2 recursion
svn path=/trunk/mcs/; revision=19849
2003-11-12 01:19:19 +00:00
Ben Maurer a4d0fb6b66 recursion fixing
svn path=/trunk/mcs/; revision=19848
2003-11-12 01:17:25 +00:00
Ben Maurer 646233375d 2003-11-11 Ben Maurer <[email protected]>
* HttpModuleCollection.cs (GetKey): Recursion, again!

svn path=/trunk/mcs/; revision=19847
2003-11-12 01:08:26 +00:00
Miguel de Icaza bb428553c3 2003-11-11 Miguel de Icaza <[email protected]>
* AppDomain.cs, Activator.cs: New unimplmented entry points from
	1.1 (Com activation related).

	* Exception.cs: Formatting.

	* IServiceProvider.cs: Add ComVisible (true).

	* AppDomainSetup.cs: Add a couple more properties from .NET 1.1

svn path=/trunk/mcs/; revision=19846
2003-11-11 23:14:20 +00:00
Miguel de Icaza 3af4c86e49 2003-11-11 Miguel de Icaza <[email protected]>
* appdomain.h: Added loader_optimization here to sync with the C#
	code, and add disallow_binding_redirects field.

svn path=/trunk/mono/; revision=19845
2003-11-11 23:12:55 +00:00
Miguel de Icaza 8daf6a80c5 Add InterfaceType attribute
svn path=/trunk/mcs/; revision=19844
2003-11-11 22:55:57 +00:00
Miguel de Icaza 3d0638b95e 2003-11-11 Miguel de Icaza <[email protected]>
* Encoding.cs: Use an internal variable to track the parameters of
	each encoder, since the .NET API does not expose virtual methods
	in the child classes, we should not depend on that.

	* ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
	Initialize the parameters for base class encoding here.

svn path=/trunk/mcs/; revision=19843
2003-11-11 22:54:18 +00:00
Ben Maurer 7360d33d76 2003-11-11 Ben Maurer <[email protected]>
* LinkLabel.cs, InputLanguageChangedEventArgs.cs: recursion!

svn path=/trunk/mcs/; revision=19842
2003-11-11 22:52:43 +00:00
Ben Maurer 454f51f5c3 2003-11-11 Ben Maurer <[email protected]>
* HttpClientCertificate.cs (ValidUntil): recursion!

svn path=/trunk/mcs/; revision=19841
2003-11-11 22:45:14 +00:00
Ben Maurer 0f8491decd 2003-11-11 Ben Maurer <[email protected]>
* ColorBlend.cs (Positions): another one.

svn path=/trunk/mcs/; revision=19840
2003-11-11 22:42:26 +00:00
Ben Maurer c440a1a849 2003-11-11 Ben Maurer <[email protected]>
* Blend.cs (Positions): recursion in prop.

svn path=/trunk/mcs/; revision=19839
2003-11-11 22:41:29 +00:00
Gonzalo Paniagua Javier 2b22c9c131 2003-11-11 Gonzalo Paniagua Javier <[email protected]>
* mono-api-diff.cs: fixed nullref and add warning when class type do not
	match.

	* mono-api-info.cs: ignore private classes.

svn path=/trunk/mcs/; revision=19838
2003-11-11 22:37:06 +00:00
Gonzalo Paniagua Javier d7c227a661 bah
svn path=/trunk/mcs/; revision=19837
2003-11-11 22:29:00 +00:00
Gonzalo Paniagua Javier c0b02c1059 updated to use new compare utils
svn path=/trunk/mono/; revision=19836
2003-11-11 21:38:59 +00:00
Miguel de Icaza a8940d7f41 Flush
svn path=/trunk/mcs/; revision=19835
2003-11-11 21:29:09 +00:00
Miguel de Icaza 786509868a Update
svn path=/trunk/mcs/; revision=19833
2003-11-11 20:03:35 +00:00
Zoltan Varga 7744a27e73 2003-11-11 Zoltan Varga <[email protected]>
* mono-debug.c (mono_debug_add_method): Ignore unknown modules.

	* reflection.c (mono_image_build_metadata): Fix crash on modules
	with no types.

svn path=/trunk/mono/; revision=19832
2003-11-11 19:07:41 +00:00
Zoltan Varga 833785878e 2003-11-11 Zoltan Varga <[email protected]>
* reflection.h (MonoMethodInfo): Track changes to the managed structure.

	* icall.c (ves_icall_get_method_info): Return callingConvention as
	well.

	* icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces): Add
	namespaces from the EXPORTEDTYPE table as well.

	* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Merge types
	from all modules inside the assembly.

svn path=/trunk/mono/; revision=19831
2003-11-11 18:59:41 +00:00
Zoltan Varga cbfcae3ec1 2003-11-11 Zoltan Varga <[email protected]>
* MonoMethod.cs: Implement CallingConvention member.

svn path=/trunk/mcs/; revision=19830
2003-11-11 18:53:12 +00:00
Martin Baulig 427498eb74 2003-11-11 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters): Make
	this work for interfaces.

svn path=/trunk/mono/; revision=19829
2003-11-11 17:45:37 +00:00
Martin Baulig 4be6cd881f 2003-11-11 Martin Baulig <[email protected]>
* mono-debug.c (mono_debug_add_type): Ignore unknown modules.

svn path=/trunk/mono/; revision=19828
2003-11-11 17:38:34 +00:00
Miguel de Icaza 814ddf8a13 Applied patch from Marek Safar to add more error checking.
Include the public class to embed compiler (miguel)

svn path=/trunk/mcs/; revision=19827
2003-11-11 17:37:04 +00:00
Miguel de Icaza d4c562e554 Applied patch from Marek Safar: New error test files for MCS.
svn path=/trunk/mcs/; revision=19826
2003-11-11 17:34:37 +00:00
Miguel de Icaza 5540520e22 Applied patch from Marek Safar <[email protected]> that adds compiler options to the source code
svn path=/trunk/mcs/; revision=19825
2003-11-11 17:31:18 +00:00
Martin Baulig 55406d467f 2003-11-11 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_inflate_method_or_ctor): Allow
	"MonoInflatedMethod" and "MonoInflatedCtor".

svn path=/trunk/mono/; revision=19824
2003-11-11 17:30:38 +00:00
Martin Baulig 09a44ccacf 2003-11-11 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.ResolveType): Always call
	`gt.BindGenericParameters (atypes)'; also if `args.HasTypeArguments'.

svn path=/trunk/mcs/; revision=19823
2003-11-11 17:15:35 +00:00
Martin Baulig 0f85b1f3f8 Merged from mcs.
svn path=/trunk/mcs/; revision=19822
2003-11-11 17:11:45 +00:00
Gonzalo Paniagua Javier ffeab944ee 2003-11-11 Gonzalo Paniagua Javier <[email protected]>
* CorCompare.exe.sources: not needed now.

	* Makefile: updated to build the 3 exes we have now.

	* mono-api-info.cs: new program. Given an assembly name, it generates
	an xml file with its public data.

	* mono-api-diff.cs: compares 2 xml files generated with mono-api-info
	and outputs an xml file suitable for building class status pages with
	mono-api.xsl.

	* mono-api.xsl: small modifications to corcompare.xsl to match the new
	file format.

svn path=/trunk/mcs/; revision=19821
2003-11-11 16:17:57 +00:00
Lluis Sanchez b7ed6f9b4a RemotingConfiguration.cs: Added initial implementation of Configure method by Jaime Anguiano.
svn path=/trunk/mcs/; revision=19820
2003-11-11 15:46:31 +00:00
Miguel de Icaza 7dafded93a Add
svn path=/trunk/mcs/; revision=19819
2003-11-11 15:24:53 +00:00
Zoltan Varga 0c54b6b5b9 2003-11-11 Zoltan Varga <[email protected]>
* reflection.c (resolution_scope_from_image): Use the assembly table
	from the manifest module, since other modules don't have it.

svn path=/trunk/mono/; revision=19818
2003-11-11 14:58:38 +00:00
Zoltan Varga 163f767230 2003-11-11 Zoltan Varga <[email protected]>
* debug-helpers.c (mono_type_full_name): New helper function.

	* image.h (MonoAssembly): Change 'dynamic' to a boolean.

	* image.c (mono_image_load_file_for_image): New public function which
	is a replacement for the load_file_for_image in class.c.

	* assembly.c (mono_assembly_load_module): A wrapper for the function
	above which does assembly association and reference loading too.

	* class.c (mono_class_from_name): Call mono_assembly_load_module.

svn path=/trunk/mono/; revision=19817
2003-11-11 14:56:14 +00:00
Miguel de Icaza 649aa4c3a0 2003-11-11 Wojciech Polak <[email protected]
* Syscall.cs: Applied patch from Wojciech Polak <[email protected]> to
	support IsAtty.

svn path=/trunk/mcs/; revision=19815
2003-11-11 05:31:52 +00:00
Gonzalo Paniagua Javier b8c5919fb3 2003-11-11 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: not all of the attributes for the full assembly name
	are required and the order doesn't matter. Fixes bug #50787.

svn path=/trunk/mono/; revision=19814
2003-11-11 05:10:51 +00:00
Miguel de Icaza 3e0677c9b1 Fix link
svn path=/trunk/mono/; revision=19813
2003-11-11 05:02:29 +00:00
Todd Berman be4c0ae8ee 2003-11-10 Todd Berman <[email protected]>
* sn.cs: Wow, gonzalo is so super s-m-a-r-t, changing up last fix to
        make it nice and pretty.

svn path=/trunk/mcs/; revision=19812
2003-11-11 04:30:31 +00:00
Todd Berman 68d68d1776 2003-11-10 Todd Berman <[email protected]>
* sn.cs: No more OutOfMemoryExceptions if the GetPublicKey returns
        a new byte[0].

svn path=/trunk/mcs/; revision=19811
2003-11-11 04:20:12 +00:00
Pedro Martínez Juliá 1d2d8f002b 2003-11-11 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
    CanRead because the schema can be readed with or without result
    rows.

svn path=/trunk/mcs/; revision=19810
2003-11-11 01:32:05 +00:00
Lluis Sanchez 6b716f33dc DiscoveryDocumentSerializer.cs: The class must be internal.
svn path=/trunk/mcs/; revision=19809
2003-11-11 01:16:50 +00:00
Lluis Sanchez ad921233a9 * ServiceDescription.cs, SoapBinding.cs, SoapHeaderBinding.cs,
SoapHeaderFaultBinding.cs: Removed some TODOs and FIXMEs.

svn path=/trunk/mcs/; revision=19808
2003-11-11 01:15:16 +00:00
Lluis Sanchez a05abf88e8 * FormatterServices.cs: Fixed some comments
svn path=/trunk/mcs/; revision=19807
2003-11-11 01:11:38 +00:00
Lluis Sanchez c2fd61126b RemotingProxy.cs: Do not dispose proxy identity when it is a local
ContextBoundObject proxy.

svn path=/trunk/mcs/; revision=19806
2003-11-11 01:10:06 +00:00
Lluis Sanchez 7d78d46a02 * SoapAttribute.cs, SoapFieldAttribute.cs, SoapMethodAttribute.cs,
SoapTypeAttribute.cs: Implemented several simple methods and properties.

svn path=/trunk/mcs/; revision=19805
2003-11-11 01:07:02 +00:00
Lluis Sanchez d67e0f458d * ConstructionCall.cs, ReturnMessage.cs: minor fixes.
svn path=/trunk/mcs/; revision=19804
2003-11-11 01:04:37 +00:00
Lluis Sanchez f2f83ab1a6 * CrossAppDomainChannel.cs: Implemented support for async calls.
* ClientChannelSinkStack.cs, ServerDispatchSinkProvider.cs: Removed some TODOs

svn path=/trunk/mcs/; revision=19803
2003-11-11 00:59:49 +00:00
Lluis Sanchez 7e2751e079 * ActivatedClientTypeEntry.cs, ActivatedServiceTypeEntry.cs,
IRemotingTypeInfo.cs, RemotingServices.cs, WellKnownServiceTypeEntry.cs:
	  Removed some TODOs.

svn path=/trunk/mcs/; revision=19802
2003-11-11 00:46:27 +00:00
Peter Dennis Bartok 6ecb808c54 Fixed bug 48728. Form was not calling the Activated method. Added handling of WM_ACTIVATE to fix.
svn path=/trunk/mcs/; revision=19801
2003-11-11 00:24:22 +00:00
Lluis Sanchez b2a60bf58d System.Runtime.Remoting_test.dll.sources: Added CrossDomainCalls.cs test file.
svn path=/trunk/mcs/; revision=19800
2003-11-10 23:18:08 +00:00
Lluis Sanchez fb5ec80b18 * BaseCalls.cs: Little fix.
* ContextsTest.cs: Unregister dynamic properties even if there is an exception.
	* CrossDomainCalls.cs: New test for the cross-app domain channel.

svn path=/trunk/mcs/; revision=19799
2003-11-10 23:17:21 +00:00
Pedro Martínez Juliá fb74fbef48 2003-11-10 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.

svn path=/trunk/mcs/; revision=19798
2003-11-10 22:36:44 +00:00
Pedro Martínez Juliá 18cbe9acde 2003-11-10 Pedro Mart�nez Juli� <[email protected]>
* DataColumnMappingCollection.cs: Fix a missing exception when the
    required mapping is not in the collection. MS.NET throws an
    exception there.

svn path=/trunk/mcs/; revision=19797
2003-11-10 22:29:30 +00:00
Pedro Martínez Juliá b84dad6765 2003-11-10 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
    when a mapping is not in the collection.

svn path=/trunk/mcs/; revision=19796
2003-11-10 22:28:12 +00:00
Jackson Harper ef7bedd254 * CompilationConfigurationHandler.cs: Append .dll to shortened
assembly names.

svn path=/trunk/mcs/; revision=19795
2003-11-10 21:06:23 +00:00
Rafael Teixeira 08d80f7129 2003/11/10 Rafael Teixeira <[email protected]>
* *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC 
    * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID

svn path=/trunk/mcs/; revision=19794
2003-11-10 20:56:33 +00:00
Dick Porter ec2ff6d2e9 2003-11-10 Dick Porter <[email protected]>
* locales.c:
	* strenc.c: Use platform-endian UTF16

svn path=/trunk/mono/; revision=19793
2003-11-10 19:57:59 +00:00
Zoltan Varga 85b739c61c 2003-11-10 Zoltan Varga <[email protected]>
* reflection.c: Emit FILE and EXPORTEDTYPE tables.

svn path=/trunk/mono/; revision=19792
2003-11-10 19:40:15 +00:00
Martin Baulig c4fdc0b77c 2003-11-10 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.ResolveExpressionTypes): Removed.
	(TypeManager.InitCoreTypes): Initialize them here, but instead of
	calling `ResolveType()' on them, directly assign their `Type'.

svn path=/trunk/mcs/; revision=19791
2003-11-10 18:23:20 +00:00
César Natarén 52cdda3407 ChangeLog entries
svn path=/trunk/mcs/; revision=19790
2003-11-10 17:14:51 +00:00
César Natarén e39d3a258d don't build Visitor.cs anymore
svn path=/trunk/mcs/; revision=19789
2003-11-10 17:10:53 +00:00
César Natarén 64a5679e7a delete the Visitor interface as won't be used.
svn path=/trunk/mcs/; revision=19788
2003-11-10 17:09:04 +00:00
Miguel de Icaza e8c3b46984 Use a prefix, to deambiguate
svn path=/trunk/mcs/; revision=19787
2003-11-10 16:59:55 +00:00
Martin Baulig deb2f8e544 2003-11-10 Martin Baulig <[email protected]>
* metadata.c
	(mono_metadata_load_generic_params): Make this actually work.

	* reflection.c (mono_reflection_bind_generic_parameters): If our
	parent is a generic instance, pass all the `types' to it, no
	matter whether it has the same number of type parameters or not.

svn path=/trunk/mono/; revision=19786
2003-11-10 16:35:50 +00:00
Carlos Guzmán Álvarez 24375f1045 Updated TLS/SSL implementation files with unix-like line endings
svn path=/trunk/mcs/; revision=19785
2003-11-10 16:13:41 +00:00
Zoltan Varga 39e84eb478 2003-11-10 Zoltan Varga <[email protected]>
* StackTest.cs: Applied patch from Carlos A. Barcenilla to fix minor
	bugs (#50755).

svn path=/trunk/mcs/; revision=19784
2003-11-10 11:37:34 +00:00
Zoltan Varga efc5e28599 2003-11-10 Zoltan Varga <[email protected]>
* Stack.cs: Applied patch from Carlos A. Barcenilla to fix minor
	bugs (#50755).

svn path=/trunk/mcs/; revision=19783
2003-11-10 11:37:16 +00:00
Zoltan Varga 780bc96479 2003-11-10 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_load_references): Move the image<->assembly
	assignment code to this function so it gets called recursively for all
	modules.

	* image.c (load_modules): Remove the assembly assignment since it is
	now done by mono_assembly_load_references.

svn path=/trunk/mono/; revision=19782
2003-11-10 11:19:31 +00:00
Zoltan Varga 53a5d8aedf 2003-11-10 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
	Add 'module' argument.
	(mono_module_get_types): New helper function.
	(ves_icall_System_Reflection_Module_InternalGetTypes): New icall.

svn path=/trunk/mono/; revision=19781
2003-11-10 11:13:14 +00:00
Zoltan Varga 3b1456f8f2 2003-11-10 Zoltan Varga <[email protected]>
* Assembly.cs (InternalGetType): Add a 'module' argument so this
	method can be used from Module as well.

	* Module.cs (GetType): Implement.

	* Module.cs (GetTypes): Implement.

	* Module.cs: Remove some [MonoTODO] attributes from implemented methods.

svn path=/trunk/mcs/; revision=19780
2003-11-10 11:09:37 +00:00
Sebastien Pouliot 06e942c4eb 2003-11-10 Sebastien Pouliot <[email protected]>
* Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
	and test vectors from RFC3211.

svn path=/trunk/mcs/; revision=19775
2003-11-10 03:35:56 +00:00
Sebastien Pouliot b1e7855917 2003-11-10 Sebastien Pouliot <[email protected]>
* Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
	except for the Reset() part - which implies some kind of Resume.

svn path=/trunk/mcs/; revision=19774
2003-11-10 03:32:54 +00:00
Ben Maurer 19d8d5d139 2003-11-09 Ben Maurer <[email protected]>
* DataBoundControl.cs: Implement
	* ListControl.cs: inherit from the above.
	* Repeater.cs, BaseDataList.cs: should reset whenever we databind.

svn path=/trunk/mcs/; revision=19773
2003-11-10 00:15:45 +00:00
César Natarén 572a3c6398 FormalParameterList.cs
svn path=/trunk/mcs/; revision=19772
2003-11-09 23:33:58 +00:00
Ben Maurer 31d94eec92 2003-11-09 Ben Maurer <[email protected]>
* BaseDataList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* Repeater.cs: add v2 databinding stuff
	* XmlDataSource.cs: make it load the xml.

svn path=/trunk/mcs/; revision=19771
2003-11-09 21:50:27 +00:00
Ben Maurer feb6527808 v2 stuff
svn path=/trunk/mcs/; revision=19769
2003-11-09 19:47:04 +00:00
Pedro Martínez Juliá 072b210983 2003-11-09 Pedro Mart�nez Juli� <[email protected]>
* DataRow.cs: Use RemoveInternal instead of Remove because the last
    one uses Delete and AcceptChanges.

    * DataRowCollection.cs: When removing, Delete and AcceptChanges
    method from the row are called. Added an internal method that will
    be used by DataRow to "physically" remove the row from the list.

svn path=/trunk/mcs/; revision=19768
2003-11-09 18:51:03 +00:00
Pedro Martínez Juliá abcd28bab7 2003-11-09 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
    CommandBuilder to the local data. Local data should be null if the
    client doesn't set them.

    * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.

svn path=/trunk/mcs/; revision=19767
2003-11-09 18:48:26 +00:00
Atsushi Eno a92e6d2af7 2003-11-09 Atsushi Enomoto <[email protected]>
* Iterator.cs : Fixed SlashIterator that might return nodes 1)in
	  inconsistent order, and 2)may return duplicate result nodes.

svn path=/trunk/mcs/; revision=19766
2003-11-09 17:16:22 +00:00
Atsushi Eno 2d79c88bbc 2003-11-09 Atsushi Enomoto <[email protected]>
* XslAttribute.cs : namespace should be String.Empty if no specification
	  exists.
	* XslNumber.cs : default format string is "1". See XSLT spec. 7.7.1.

svn path=/trunk/mcs/; revision=19765
2003-11-09 17:13:44 +00:00
Eran Domb 5ffcf71ce0 * DataColumn.cs (AllowDBNull) : Throw an exception.
* DataRow.cs (this[]) : First check if row is deleted.
	(ItemArray) : First check if row is deleted.
	(SetColumnValue) : Initiate error message when null violation happens. Check for array type when
	setting the value of the row.
	(EndEdit) : Check that the table's row is not in loading before validating constrains.
	(CheckNullConstraints) : new method for validating null constraint violations.

	* DataRowCollection.cs (ValidateDataRowInternal) : Adding validation of null constraint violation.

	* DataSet.cs (CaseSensitive) : After changing the value - check constrains.
	(EnforceConstraints) : When changing the value to true assert all constraints.

	* UniqueConstraint.cs (AssertConstraint,CalcHashValue, RowsComparer) : Adding support for case insensitive comparison.

svn path=/trunk/mcs/; revision=19764
2003-11-09 16:30:03 +00:00
Sebastien Pouliot e8e44f5e36 2003-11-09 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added new 1.2 classes for System.Security.Cryptography.
	* corlib_test.dll.sources: Added unit tests for some HMAC (new in 1.2).

svn path=/trunk/mcs/; revision=19763
2003-11-09 14:44:31 +00:00
Sebastien Pouliot 836296b738 2003-11-09 Sebastien Pouliot <[email protected]>
* HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
	RFC2104.
	* HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
	vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
	* HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.

svn path=/trunk/mcs/; revision=19762
2003-11-09 14:39:15 +00:00
Sebastien Pouliot df74b0caca 2003-11-09 Sebastien Pouliot <[email protected]>
* CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
	* CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
	containers.
	* DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
	* HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
	from internal Mono.Security.Cryptography.HMACAlgorith.cs.
	* HMACMD5.cs: New (1.2). HMAC implementation using MD5.
	* HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
	* HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
	* HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
	* HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
	* HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
	* ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
	asymmetric algorithm.
	* KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
	* MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
	* PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
	* ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
	* ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
	* Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.

svn path=/trunk/mcs/; revision=19761
2003-11-09 14:35:28 +00:00
Martin Baulig 60ffad44d0 2003-11-08 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
	a private `IntPtr ginst' field.
	(MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.

svn path=/trunk/mcs/; revision=19760
2003-11-09 08:14:30 +00:00
Martin Baulig bf89642aab 2003-11-08 Martin Baulig <[email protected]>
* class.c (mono_class_inflate_generic_method): Interface method
	don't have a header.

	* reflection.c (mono_image_get_methodspec_token): Take an
	additional `MonoGenericInst *' argument instead of reading it from
	the header; this is necessary to support interfaces.
	(mono_image_create_token): Pass the `MonoGenericInst *' from the
	MonoReflectionInflatedMethod to mono_image_get_methodspec_token().
	(inflated_method_get_object): Take an additional `MonoGenericInst *'
	argument.

	* reflection.h (MonoReflectionInflatedMethod): Added
	`MonoGenericInst *ginst'.

svn path=/trunk/mono/; revision=19759
2003-11-09 08:12:22 +00:00
César Natarén a2d3f00947 changelog entry
svn path=/trunk/mcs/; revision=19758
2003-11-09 06:34:44 +00:00
César Natarén 94ea335c6b 2003-11-08 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: Allow the building of numeric_literal and DECIMAL_LITERAL,
	this is temporal in order to get Factorial compiled by mjs (must
	build the types according to Ecma-262 spec).

	* Literal.cs: Added NumericLiteral class.

2003-11-06 cesar lopez nataren <[email protected]>

svn path=/trunk/mcs/; revision=19757
2003-11-09 06:33:58 +00:00
Ben Maurer a2a9dac983 2003-11-09 Ben Maurer <[email protected]>
* XPathBinder.cs: Implemented.

svn path=/trunk/mcs/; revision=19756
2003-11-09 05:54:07 +00:00
Ben Maurer df23fc4297 2003-11-09 Ben Maurer <[email protected]>
* profiles/generics.make: add the -2 flag.

svn path=/trunk/mcs/; revision=19755
2003-11-09 05:16:51 +00:00
Ben Maurer 0f25cef728 2003-11-08 Ben Maurer <[email protected]>
* SiteMapNode.cs (GetDataSourceView): Implement.
	* SiteMapProvider.cs: Typo fixing.
	* XmlSiteMapProvider.cs: We shouldnt resolve here.

2003-11-08 Ben Maurer  <[email protected]>

	* DataSourceView.cs:
	* IDataSource.cs:
	* ListSourceHelper.cs:
	* DataSourceControl.cs:
	* HierarchicalDataSourceView.cs:
	* IHierarchicalDataSource.cs: Move v2 stuff.

2003-11-08 Ben Maurer  <[email protected]>

	* SiteMapDataSourceView.cs: Implement.

svn path=/trunk/mcs/; revision=19754
2003-11-09 04:56:15 +00:00
Pedro Martínez Juliá f5e8fbdb62 2003-11-09 Pedro Mart�nez Juli� <[email protected]>
* DataRowCollection.cs: To follow the specification: Remove and
    RemoveAt should remove the row. But needed to call DeletingDataRow
    to prepare the deleting.

    * DataRow.cs: Don't call DeletingDataRow when it is called by the
    method Table.Rows.Remove.

svn path=/trunk/mcs/; revision=19753
2003-11-09 01:50:28 +00:00
Sebastien Pouliot e5bc66f02a 2003-11-08 Sebastien Pouliot <[email protected]>
* RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
	* RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
	RIPEMD160Managed implementation.

svn path=/trunk/mcs/; revision=19752
2003-11-09 01:42:42 +00:00
Sebastien Pouliot 378b301558 2003-11-08 Sebastien Pouliot <[email protected]>
* RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
	Pieter Philippaerts ([email protected])
	* RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
	algorithm from Pieter Philippaerts ([email protected])

svn path=/trunk/mcs/; revision=19751
2003-11-09 01:40:42 +00:00
Sebastien Pouliot 33a57b64f0 2003-11-08 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added new namespace Mono.Security.X509.Stores

svn path=/trunk/mcs/; revision=19750
2003-11-09 01:38:17 +00:00
Ben Maurer 8d985b1909 2003-11-08 Ben Maurer <[email protected]>
* UrlUtils.cs: new function to do the app mapping, but make
	it return a physical path.

2003-11-08 Ben Maurer  <[email protected]>

	* SiteMap.cs (Init): implement a hack that doesnt need the config
	stuff. Should do that later.
	* SiteMapNodeCollection (OnValidate): Fix recursion.
	* SiteMapProvider.cs: We dont implement some culture stuff work
	around it. Fix typo.
	* XmlSiteMapProvider.cs: Added.

svn path=/trunk/mcs/; revision=19749
2003-11-09 00:48:37 +00:00
Pedro Martínez Juliá 7927d9c9fb 2003-11-09 Pedro Mart�nez Juli� <[email protected]>
* DataRowCollection.cs: Make the row be deleted by itself. If not,
    it fails because we need to call OnRowDeleting and OnRowDeleted. It
    is full implemented inside DataRow.

svn path=/trunk/mcs/; revision=19748
2003-11-09 00:01:08 +00:00
Sebastien Pouliot d9624bb86b 2003-11-08 Sebastien Pouliot <[email protected]>
* ICertificateStore.cs: Interface for certificate stores.
	* FileCertificateStore.cs: File-based certificate stores using SPC (PKCS7) files.

svn path=/trunk/mcs/; revision=19747
2003-11-08 23:59:59 +00:00
Sebastien Pouliot a96279f54d 2003-11-08 Sebastien Pouliot <[email protected]>
* X509ChainElementCollectionTest.cs: New. Unit tests for
	X509ChainElementCollection.
	* X509ChainElementEnumeratorTest.cs: New. Unit tests for
	X509ChainElementEnumerator.
	* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
	* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
	* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.

svn path=/trunk/mcs/; revision=19746
2003-11-08 23:28:48 +00:00
Sebastien Pouliot 29aa0efd33 2003-11-08 Sebastien Pouliot <[email protected]>
* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
	* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
	* StoreName.cs: New (1.2). Enumeration for certificate stores.
	* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
	trusted anchor.
	* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
	status and information) - only stubbed for now.
	* X509ChainElementCollection.cs: New (1.2). Collection class for
	X509ChainElement.
	* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
	X509ChainElement.
	* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
	* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
	* X509FindType.cs: New (1.2). Enumeration for how to find X.509
	certificates in stores.
	* X509IncludeOption.cs: New (1.2). Enumeration for options about which
	certificate(s) to store within a (pkcs7) structure.
	* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
	usage for a keypair.
	* X509NameType.cs: New (1.2). Enumeration for different types of name
	that can be present inside a certificate.
	* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
	certificates should be verified for revocation in a chain.
	* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
	revocation process should find it's informations.
	* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
	certificates (ui-related).
	* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
	* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
	affecting the verification of a certificate chain.

svn path=/trunk/mcs/; revision=19745
2003-11-08 23:24:01 +00:00
Pedro Martínez Juliá fe921c80ec 2003-11-09 Pedro Mart�nez Juli� <[email protected]>
* Makefile: Little fix for build the resources.

    * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
    command.

svn path=/trunk/mcs/; revision=19744
2003-11-08 23:23:14 +00:00
Sebastien Pouliot 77dc62b785 2003-11-08 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: New. (Incomplete) Unit tests for ContentInfo.
	* Pkcs7SignerTest.cs: New. New. Unit tests for Pkcs7Signer.
	* RecipientInfoTest.cs: New. Unit tests for abstract class

svn path=/trunk/mcs/; revision=19743
2003-11-08 23:14:05 +00:00
Sebastien Pouliot 63b44ab9f1 2003-11-08 Sebastien Pouliot <[email protected]>
* ContentInfo.cs: New. Class to encapsulate PKCS7 ContentInfo. Static
	method GetContentType need to be completed (requires some test vectors).
	* Pkcs7Signer.cs: New. Class to add attributes (authenticated and/or
	authenticated),	certificates and other informations to the signature.
	* RecipientInfo.cs: New. Abstract class to encpasulate recipient
	informations.

svn path=/trunk/mcs/; revision=19742
2003-11-08 23:12:23 +00:00
Ben Maurer 0bc8e387ca get #if stuff right
svn path=/trunk/mcs/; revision=19741
2003-11-08 19:35:16 +00:00
Jackson Harper 8ad1e88c45 * CompilationConfigurationHandler.cs: Trim extra versioning
information off of assembly names. This is a workaround that fixes
	bug #50355.

svn path=/trunk/mcs/; revision=19740
2003-11-08 19:02:56 +00:00
Pedro Martínez Juliá cff547564e 2003-11-08 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
    calls, the problem is fixed.

    * Makefile: Fix one bug in the build of resources.

svn path=/trunk/mcs/; revision=19739
2003-11-08 18:20:16 +00:00
Martin Baulig b69be832b1 2003-11-08 Martin Baulig <[email protected]>
* generic.cs (ConstructedType): Override `IsClass' etc.

svn path=/trunk/mcs/; revision=19736
2003-11-08 15:14:44 +00:00
Martin Baulig 4d3a2ec56b Merged from mcs.
svn path=/trunk/mcs/; revision=19735
2003-11-08 15:04:45 +00:00
Martin Baulig e295a05415 2003-11-08 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Use TypeExpr's for the
	return value and the `out parent' parameter.
	(TypeContainer.DefineType): Moved the CS0644 check into
	GetClassBases().  Don't pass the interface types to the
	`builder.DefineType()'/`builder.DefineNestedType()', but resolve
	them later and then call `TypeBuilder.AddInterfaceImplementation()'.

	* ecore.cs (TypeExpr.IsAttribute): New property.
	(TypeExpr.GetInterfaces): New method.

	* interface.cs (Interface.GetInterfaceTypeByName): Return a
	TypeExpr instead of a Type.
	(Interface.GetInterfaceBases): Return TypeExpr's instead of Type's.
	(Interface.DefineType): Don't pass the interface types to the
	`builder.Definetype()'/`builder.DefineNestedType()', but resolve
	them later and then call `TypeBulider.AddInterfaceImplementation()'.

	* typemanager.cs (TypeManager.AddUserType): Take a `TypeExpr[]'
	instead of a `Type[]'.
	(TypeManager.RegisterBuilder): Likewise.
	(TypeManager.AddUserInterface): Likewise.
	(TypeManager.ExpandInterfaces): Take a `Type[]' instead of a
	`Type[]' and also return a `TypeExpr[]'.
	(TypeManager.GetInterfaces): Return a `TypeExpr[]'.

svn path=/trunk/mcs/; revision=19734
2003-11-08 14:49:03 +00:00
Martin Baulig 3c67dd7b15 2003-11-08 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.ResolveTypeExpr): Return a TypeExpr, not an
	Expression.

svn path=/trunk/mcs/; revision=19733
2003-11-08 14:07:11 +00:00
Martin Baulig 290abb0e02 2003-11-08 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.GetTypeResolveEmitContext): Call
	TypeManager.ResolveExpressionTypes().

	* ecore.cs (Expression.ResolveAsTypeTerminal): Return a TypeExpr
	instead of an Expression.
	(TypeExpr): This is now an abstract base class for `TypeExpression'.
	(TypeExpression): New public class; formerly known as `TypeExpr'.

	* expression.cs (ComposedCast): Derive from TypeExpr.

	* typemanager.cs (TypeManager.system_*_expr): These are now
	TypExpr's instead of Expression's.
	(TypeManager.ResolveExpressionTypes): New public static function;
	called from DeclSpace.GetTypeResolveEmitContext() to resolve all
	of them.

svn path=/trunk/mcs/; revision=19732
2003-11-08 13:39:12 +00:00
Martin Baulig 76716bfa3a Merged from mcs.
svn path=/trunk/mcs/; revision=19731
2003-11-08 13:06:45 +00:00
Pedro Martínez Juliá 2fbf99acb8 2003-11-08 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.

    * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
    OnRowUpdating is called we create the command necesary for updating,
    inserting or deleting any row of the DataTable/DataSet.

    * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
    work. This must be removed when ResMan works.

    * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
    is more efficient for the deep if structure types.

svn path=/trunk/mcs/; revision=19730
2003-11-08 11:19:40 +00:00
Jackson Harper bc653100af * Control.cs (ResolveUrl): Special case for urls that consist of
only a page anchor. ie <a href="#top">. This fixes bug #50165.

svn path=/trunk/mcs/; revision=19729
2003-11-08 07:56:31 +00:00
Ben Maurer 0fccff8c39 2003-11-07 Ben Maurer <[email protected]>
* IHierarchicalEnumerable.cs:
	* IHierarchyData.cs:
	* INavigateUIData.cs: New v2 interfaces.

2003-11-07 Ben Maurer  <[email protected]>

	* ISiteMapProvider.cs:
	* SiteMap.cs:
	* SiteMapNode.cs:
	* SiteMapNodeCollection.cs:
	* SiteMapProvider.cs:
	* SiteMapProviderCollection.cs: V2 sitemap related stuff.

2003-11-07 Ben Maurer  <[email protected]>

	* UrlUtils.cs: add a new function for mapping app absolute
	paths to virual paths (ie, ~/blah/ to /application/root/blah/)

svn path=/trunk/mcs/; revision=19728
2003-11-08 04:48:47 +00:00
César Natarén d1b07ab6c7 it's the global object not the activation object
svn path=/trunk/mcs/; revision=19727
2003-11-08 04:47:56 +00:00
Gonzalo Paniagua Javier 78da983dd8 version
svn path=/trunk/mono/; revision=19726
2003-11-08 03:23:10 +00:00
Jackson Harper 893941212b * ImageButton.cs: This is a workaround for bug #49819. It appears
that the .x and .y values are not being posted, and only the x
	value is being posted with the ctrl's id as the key.

svn path=/trunk/mcs/; revision=19725
2003-11-08 00:49:53 +00:00
Ben Maurer 2d946a5532 get this in sync
svn path=/trunk/mcs/; revision=19724
2003-11-08 00:48:02 +00:00
Ben Maurer 530e493e68 implement for v2
svn path=/trunk/mcs/; revision=19723
2003-11-07 22:40:02 +00:00
Gonzalo Paniagua Javier a9758de8cc 2003-11-07 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: don't attempt to read more bytes than specified
	content length.

svn path=/trunk/mcs/; revision=19722
2003-11-07 22:13:28 +00:00
Zoltan Varga 994c2ef0c6 2003-11-07 Zoltan Varga <[email protected]>
* configure.in: Remove debugging junk accidently checked in.

svn path=/trunk/mono/; revision=19721
2003-11-07 22:07:09 +00:00
Ben Maurer 09da513959 more interfaces
svn path=/trunk/mcs/; revision=19720
2003-11-07 22:05:06 +00:00
Zoltan Varga 9c0ac84d0b 2003-11-07 Zoltan Varga <[email protected]>
* configure.in: Add new --with-nptl option to enable NPTL only
	features since auto-detection is not reliable.

svn path=/trunk/mono/; revision=19718
2003-11-07 21:46:34 +00:00
Zoltan Varga df95853df7 2003-11-07 Zoltan Varga <[email protected]>
* autogen.sh: Fix previous patch and silence noisy GNU which.

svn path=/trunk/mono/; revision=19717
2003-11-07 21:05:40 +00:00
Zoltan Varga 39489b2839 2003-11-07 Zoltan Varga <[email protected]>
* gc.c (mono_domain_finalize): Fix compilation for no GC case.

svn path=/trunk/mono/; revision=19716
2003-11-07 20:17:12 +00:00
Jackson Harper 21380702ef * DataGrid.cs (CreateControlHierarchy): Current page index is
alolowed to equal page count. This prevents an exception being
	thrown when both are zero.

svn path=/trunk/mcs/; revision=19715
2003-11-07 20:13:15 +00:00
Bernie Solomon 50edd0e2e8 2003-11-07 Bernie Solomon <[email protected]>
* autogen.sh: tweak glibtool check so it works
	if which doesn't set return code properly

svn path=/trunk/mono/; revision=19714
2003-11-07 19:58:30 +00:00
Pedro Martínez Juliá 32d0402493 2003-11-07 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
    change. The Command objects must not be created in the constructor.
    The Commands should be in the overrided method "OnRowUpdating".

    * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
    the proper exception (not MissingManifestResourceException). It is
    thrown in MS.NET and in MONO. (Npgsql compiled with MCS).

svn path=/trunk/mcs/; revision=19713
2003-11-07 19:13:39 +00:00
Zoltan Varga 4cdbd45693 2003-11-07 Zoltan Varga <[email protected]>
* autogen.sh: Applied patch from Peter Teichman ([email protected]).
	Use 'glibtool' instead of 'libtool' on OSX.

svn path=/trunk/mono/; revision=19711
2003-11-07 18:10:11 +00:00
Sebastien Pouliot 4e2af909fa 2003-11-07 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
	* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
	* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
	CryptographicAttribute).
	* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
	* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
	* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.

svn path=/trunk/mcs/; revision=19710
2003-11-07 12:51:36 +00:00
Sebastien Pouliot 3e442ce6ff 2003-11-07 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifier.cs: New. Class to encapsulate PKCS7 AlgorithmIdentifier.
	* CryptographicAttribute.cs: Basic class for attributes.
	* KeyAgreeKeyChoice.cs: New. Enumeration for key agreement.
	* Pkcs9Attribute.cs: New. Base class for Pkcs#9 attributes.
	* Pkcs9DocumentDescription.cs: New. Pkcs#9 DocumentDescription attribute.
	* Pkcs9DocumentName.cs: New. Pkcs#9 DocumentName attribute.
	* Pkcs9SigningTime.cs: New. Pkcs#9 SigningTime attribute.
	* RecipientInfoType.cs: New. Enumeration for RecipientInfo.
	* RecipientSubType.cs: New. Enumeration for RecipientInfo.
	* SubjectIdentifierOrKeyType.cs: New. Enumeration for SubjectIdentifier.
	* SubjectIdentifierType.cs: New. Enumeration for SubjectIdentifier.

svn path=/trunk/mcs/; revision=19709
2003-11-07 12:49:29 +00:00
Pedro Martínez Juliá d5e5d2828e 2003-11-07 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
    different Insrt / Update / Delete commands.

svn path=/trunk/mcs/; revision=19708
2003-11-07 10:26:51 +00:00
Miguel de Icaza eacb487b9b 2003-11-06 Miguel de Icaza <[email protected]>
* expression.cs (New.DoResolve): Do not dereference value that
	might be a null return.

	* statement.cs (Block.EmitMeta): Use the Const.ChangeType to make
	sure that the constant value has the right type.  Fixes an
	unreported bug, similar to 50425.

	* const.cs (Const.LookupConstantValue): Call
	ImplicitStandardConversionExists before doing a conversion to
	avoid havng the TypeManager.ChangeType do conversions.

	Reduced the number of casts used

	(Const.ChangeType): New routine to enable reuse of the constant
	type changing code from statement.

	* typemanager.cs (ChangeType): Move common initialization to
	static global variables.

	Fixes #50425.

svn path=/trunk/mcs/; revision=19707
2003-11-07 07:01:27 +00:00
Ben Maurer 54b6da7498 2003-11-06 Ben Maurer <[email protected]>
* Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
	it inherit from the base class. This made b[2] evaluated on
	<a /><b /><c /><a /><b /><c /> return the first b node because
	in the ChildIterator it was the second node and seemed to satsify
	the predicate.

svn path=/trunk/mcs/; revision=19706
2003-11-07 04:46:49 +00:00
Miguel de Icaza b17308d293 Its serializable only in 1.2
svn path=/trunk/mcs/; revision=19705
2003-11-07 04:11:41 +00:00
Miguel de Icaza eeef3e1c3a Add serialization support; We should audit the Exception classes
svn path=/trunk/mcs/; revision=19704
2003-11-07 03:44:42 +00:00
Duncan Mak 129e8dbaa9 (DrawEllipse): Fix Width, Height ordering.
svn path=/trunk/mcs/; revision=19703
2003-11-07 03:06:50 +00:00
Sebastien Pouliot 41a29fde13 2003-11-06 Sebastien Pouliot <[email protected]>
* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
	* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
	* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
	* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).

svn path=/trunk/mcs/; revision=19702
2003-11-07 02:04:00 +00:00
Sebastien Pouliot 2d39162823 2003-11-06 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
	* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
	* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
	* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).

svn path=/trunk/mcs/; revision=19701
2003-11-07 02:03:00 +00:00
Sebastien Pouliot 0736e6254c 2003-11-06 Sebastien Pouliot <[email protected]>
* BinarySecurityTokenTest.cs: Fixed some tests and added one for RawData.
	* DecryptionKeyProviderTest.cs: New. Unit tests for DecryptionKeyProvider.
	* SignatureTest.cs: Updated for WSE2 compatibility (SignatureOptions).

svn path=/trunk/mcs/; revision=19700
2003-11-07 01:15:15 +00:00
Sebastien Pouliot 7f405ab1cb 2003-11-06 Sebastien Pouliot <[email protected]>
* BinarySecurityToken.cs: Oops unit tests were failing on this one. Also implemented RawData (it's  actually used - see updated unit tests).
	* DecryptionKeyProvider.cs: Basic implementation based on code I (wrongly) put in EncryptedKey.
	* EncrypedKey.cs: Now calls DecryptionKeyProvider.
	* SignatureOptions.cs: Updated for WSE2 compatibility (removed IncludePath*).

svn path=/trunk/mcs/; revision=19699
2003-11-07 01:12:52 +00:00
Sebastien Pouliot 7cae78d29e 2003-11-06 Sebastien Pouliot <[email protected]>
* StrongName.cs: Now supports MZ headers bigger than 128 bytes.

svn path=/trunk/mcs/; revision=19698
2003-11-07 00:40:32 +00:00
Gonzalo Paniagua Javier 924547505b 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
* VBCodeGenerator.cs: some corrections regarding missing spaces in
	generated code (e. g. "Property "). QuoteSnippetString implemented.
	Patch by Jochen Wezel ([email protected]).

svn path=/trunk/mcs/; revision=19697
2003-11-06 21:49:29 +00:00
Zoltan Varga 69a687539a 2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* appdomain.c (mono_domain_unload): Add a workaround for bug #27663.

svn path=/trunk/mono/; revision=19696
2003-11-06 21:02:53 +00:00
Zoltan Varga a5a47830bf 2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* mono/benchmark/pinvoke.cs: New benchmark for testing the performance
	of the managed/unmanaged boundary.

svn path=/trunk/mono/; revision=19695
2003-11-06 20:54:00 +00:00
Duncan Mak ac2a6e362c (GdipDrawRectangle): Add call to gdip_pen_setup so
that we stroke with the right color.

svn path=/trunk/mcs/; revision=19694
2003-11-06 20:46:04 +00:00
Zoltan Varga 227ab7a4f8 2003-11-06 Zoltan Varga <[email protected]>
* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.

	* mini.c (setup_jit_tls_data): Call the new function.

	* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.

	* mini-x86.c: Add experimental support for fast access to the lmf
	structure under NPTL/Linux 2.6.x.

svn path=/trunk/mono/; revision=19693
2003-11-06 20:44:48 +00:00
Duncan Mak 9f7f77519b (DrawPie): Use DrawPieI instead of DrawPie and fix
angle parameters for the integer case.
(DrawBezier): Hook it up with GdipDrawBezier.

svn path=/trunk/mcs/; revision=19692
2003-11-06 20:44:30 +00:00
Zoltan Varga 948d181eac 2003-11-06 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for __thread keyword in gcc.

svn path=/trunk/mono/; revision=19691
2003-11-06 20:36:01 +00:00
Jackson Harper c3673d5945 * System.web.dll.sources: Add SessionId.cs to build
svn path=/trunk/mcs/; revision=19690
2003-11-06 19:26:31 +00:00
Jackson Harper 08c0a14710 * ISessionHandler.cs: Pass the SessionStateModule to handlers when
updating.
	* SessionSqlServerHandler.cs:
	* SessionInProcHandler.cs: Accept SessionStateModule when
	updating. Use new SessionId.Create method for creating session
	ids.
	* SessionStateModule.cs: Add a random number generator that will
	be used for creating session ids. Pass this to handlers when
	updating.
	* SessionId.cs: New class for creating session ids.

svn path=/trunk/mcs/; revision=19689
2003-11-06 19:25:32 +00:00
Jackson Harper c51c0d5dab * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
* BaseValidator.cs: Disable base control so the isValid flag is
	not reset.

svn path=/trunk/mcs/; revision=19688
2003-11-06 17:39:37 +00:00
César Natarén 5d030e937b 2003-11-06 cesar lopez nataren <[email protected]>
* FunctionDeclaration.cs: Build a ScriptFunction local variable,
	if inside a nested block.

svn path=/trunk/mcs/; revision=19687
2003-11-06 17:10:42 +00:00
Zoltan Varga b8d848b84b 2003-11-06 Zoltan Varga <[email protected]>
* reflection.c
	(reflection_methodbuilder_from_method_builder):
	(reflection_methodbuilder_from_ctor_builder): New helper functions to
	initialize a ReflectionMethodBuilder structure.
	(mono_image_get_methodbuilder_token):
	(mono_image_get_ctorbuilder_token): New functions to emit memberref
	tokens which point to types in another module inside the same assembly.

	* reflection.c: Use the new helper functions.

svn path=/trunk/mono/; revision=19686
2003-11-06 15:28:22 +00:00
Zoltan Varga d85a77d801 2003-11-06 Zoltan Varga <[email protected]>
* ConstructorBuilder.cs (.ctor): Automatically add RTSpecialName flag
	as MS does.

svn path=/trunk/mcs/; revision=19685
2003-11-06 15:11:00 +00:00
Martin Baulig f7d2487b8b 2003-11-06 Martin Baulig <[email protected]>
* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
	`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
	the debugger.

svn path=/trunk/mono/; revision=19683
2003-11-06 13:40:06 +00:00
Martin Baulig 1dbe5c0173 2003-11-06 Martin Baulig <[email protected]>
* ModuleBuilder.cs (ModuleBuilder.Save): Call `build_metadata'
	before writing the symbol file.

svn path=/trunk/mcs/; revision=19682
2003-11-06 13:13:18 +00:00
Zoltan Varga ca5ab75e53 2003-11-06 Zoltan Varga <[email protected]>
* reflection.c (mono_image_basic_init): Initialize basedir and culture.

svn path=/trunk/mono/; revision=19680
2003-11-06 12:06:58 +00:00
Zoltan Varga 9ae23667b2 2003-11-06 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (.ctor): Initialize the 'dir' field to something
	sensible.

svn path=/trunk/mcs/; revision=19679
2003-11-06 12:05:37 +00:00
Gonzalo Paniagua Javier 99022ba3e6 ay
svn path=/trunk/mcs/; revision=19678
2003-11-06 11:52:53 +00:00
Gonzalo Paniagua Javier bffa7d8f49 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: patch by Alon Gazit <[email protected]> to remove extra
	space in generated javascript.

svn path=/trunk/mcs/; revision=19677
2003-11-06 11:46:33 +00:00
Zoltan Varga 9d06800954 2003-11-06 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (Save): Set 'created' flag.

svn path=/trunk/mcs/; revision=19676
2003-11-06 11:33:44 +00:00
Zoltan Varga cbc1dacaa1 2003-11-06 Zoltan Varga <[email protected]>
* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
	instead of AssemblyBuilder->dynamic_assembly in the appropriate places.

	* reflection.c (resolution_scope_from_image): Emit a moduleref if
	neccesary.

	* reflection.c (mono_image_build_metadata): Emit metadata only for the
	current module. Emit the manifest only for the main module.

	* reflection.c (mono_image_create_token): Add assertion when a
	memberref needs to be created.

	* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.

	* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
	larger buffer for the custom attribute blob. Fixes #50637.

svn path=/trunk/mono/; revision=19675
2003-11-06 11:06:53 +00:00
Carlos Guzmán Álvarez acb3ab86d5 Changed line endings
svn path=/trunk/mcs/; revision=19674
2003-11-06 10:48:53 +00:00
Carlos Guzmán Álvarez 02648fee5d 2003-11-04 Carlos Guzm�n �lvarez <[email protected]>
* Mono.Security.Protocol.Tls/CipherSuite.cs:

		- Added custom padding for record encryption.


2003-11-03 Carlos Guzm�n �lvarez <[email protected]>

	* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
	
		- Removed file.

	* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
	
		- New class for handshake hashes calculation on SSL3 protocol.

	* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
	
		- Fixed mac keys clearing for SSL3 protocol.

	* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
	
		- Added changes for make use of new TlsSslHandshakeHash class.
	
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
	
		- Added initial implementation for SSL3 protocol.
	
	* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
	
		- New class for md5-sha hash calculation.
							
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
	
		- Make use of new MD5SHA1CryptoServiceProvider class.
		
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	
		- Added initial implementation (not finished).
			
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
	
		- Minor change to message processing.

		- Changed verify method name to verifySignature.
			
	* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
	
		- Changed handshakeHashes member to be an TlsStream.

2003-10-28 Carlos Guzm�n �lvarez <[email protected]>

	* Mono.Security.Protocol.Tls/CipherSuite.cs:
	* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
	* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
	* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

		- Added changes for make use of X509 classes from mono.

svn path=/trunk/mcs/; revision=19673
2003-11-06 09:30:36 +00:00
Zoltan Varga da7190904e 2003-11-06 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (get_next_table_index): Moved to ModuleBuilder,
	since table indexes are per-module.

svn path=/trunk/mcs/; revision=19672
2003-11-06 09:03:12 +00:00
Gonzalo Paniagua Javier e05bcb2308 Throw a plain Exception here
svn path=/trunk/mcs/; revision=19671
2003-11-06 07:54:46 +00:00
Gonzalo Paniagua Javier 1100cc2718 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs: prevent exceptions when trying to parse the static IPv6
	addresses.

svn path=/trunk/mcs/; revision=19670
2003-11-06 07:51:11 +00:00
Gonzalo Paniagua Javier aad5697e24 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: don't handle null or non-existent file in
	the catch blocks.

svn path=/trunk/mcs/; revision=19669
2003-11-06 07:40:27 +00:00
Gonzalo Paniagua Javier 089d4cbb70 Ooops. Forgot to enable globalization section
svn path=/trunk/mono/; revision=19668
2003-11-06 07:21:26 +00:00
Miguel de Icaza 8e628ae780 2003-11-06 Miguel de Icaza <[email protected]>
* convert.cs (ImplicitReferenceConversion): Somehow we allowed
	every value type to go through, even if it was void.  Fix that.

svn path=/trunk/mcs/; revision=19667
2003-11-06 06:17:21 +00:00
Martin Baulig 10d00504cf 2003-11-06 Martin Baulig <[email protected]>
* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
	Started to implement the System.Collections.Generic classes.

svn path=/trunk/mcs/; revision=19666
2003-11-06 06:08:48 +00:00
Miguel de Icaza bfc9484c8b 2003-11-06 Miguel de Icaza <[email protected]>
* cs-tokenizer.cs: Use is_identifier_start_character on the start
	character of the define, and the is_identifier_part_character for
	the rest of the string.

svn path=/trunk/mcs/; revision=19665
2003-11-06 05:55:08 +00:00
Miguel de Icaza e8cd60b84b Update list
svn path=/trunk/mono/; revision=19663
2003-11-06 02:26:12 +00:00
Miguel de Icaza f43895eab0 Update list
svn path=/trunk/mono/; revision=19662
2003-11-06 02:25:06 +00:00
Miguel de Icaza d4445e7cd6 2003-11-05 Miguel de Icaza <[email protected]>
* expression.cs (UnaryMutator.EmitCode): When I updated
	LocalVariableReference.DoResolve, I overdid it, and dropped an
	optimization done on local variable references.

svn path=/trunk/mcs/; revision=19661
2003-11-06 02:13:58 +00:00
Miguel de Icaza abab67e7bb Update makefile
svn path=/trunk/mcs/; revision=19660
2003-11-06 02:13:41 +00:00
Miguel de Icaza 5e9b51ad1a Flush
svn path=/trunk/mono/; revision=19657
2003-11-06 01:01:17 +00:00
Duncan Mak 7ebeae5ac7 * Graphics.cs (DrawPie):
* gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
in graphics.c.

* graphics.c
(make_pie, make_ellipse, make_polygon): Add static keyword.

* gdip_defs.h: Update headers to include DrawBezier, DrawBeziers,
DrawEllipse, DrawPie, DrawPolygon, DrawRectangle, FillEllipse,
FillPolygon and the RenderingOrigin property.

* Makefile (install-local): Added missing semi-colons.

svn path=/trunk/mcs/; revision=19656
2003-11-06 00:14:27 +00:00
Bernie Solomon b3a746a31f 2003-11-03 Bernie Solomon <[email protected]>
* gdip_main.h, gdip_win32.h, gdip_win32.c:
	fixes for non-GCC compilers

svn path=/trunk/mcs/; revision=19653
2003-11-05 23:44:58 +00:00
César Natarén fbc8cb167d updates from grammar
svn path=/trunk/mcs/; revision=19647
2003-11-05 18:01:41 +00:00
César Natarén 6a7d37e445 ChangeLog entries.
svn path=/trunk/mcs/; revision=19646
2003-11-05 18:00:01 +00:00
César Natarén b1cc584d87 * ScriptBlock.cs: Initiate the global block with 'null' as parent.
svn path=/trunk/mcs/; revision=19645
2003-11-05 17:57:49 +00:00
César Natarén 0307c8bb00 * Block.cs, FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' field.
* Block.cs, FunctionDeclaration.cs, FunctionExpression.cs,
FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' parameter to constructor.

svn path=/trunk/mcs/; revision=19644
2003-11-05 17:57:01 +00:00
César Natarén f32e2ac435 * jscript-lexer-parser.g: Now we take care of parents. This allows
to keep track if we are inside nested blocks. At
	'func_decl_or_expr', now I built the FunctionDeclaration or
	FunctionExpression first and then assign its body to it - this let
	me get a non-null value of the FunctionExpression or
	FunctionDeclaration so I can detect if it's a nested block (thanks go to Jackson!).

svn path=/trunk/mcs/; revision=19643
2003-11-05 17:55:20 +00:00
Eran Domb 87bb319203 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
svn path=/trunk/mcs/; revision=19642
2003-11-05 08:51:01 +00:00
Gonzalo Paniagua Javier 817a717054 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpUtility.cs:
	* System.Web/HttpValueCollection.cs: encoding fixes/updates.

	* System.Web/HttpWriter.cs: when updating the encoding, flush the
	existing stream. Encoding updates.

	* System.Web.Compilation/AspGenerator.cs: use fileEncoding from
	configuration files.

	* System.Web.Compilation/PageCompiler.cs: add assign statements for
	ContentType, ResponseEncoding and CodePage if supplied.

	* System.Web.Configuration/GlobalizationConfiguration.cs: added
	GetInstance method.

	* System.Web.Configuration/GlobalizationConfigurationHandler.cs: warn
	about unsupported encodings and provide reasonable defaults.

	* System.Web.Security/FormsAuthentication.cs: encoding updates.
	* System.Web.UI/LosFormatter.cs: encoding updates.
	* System.Web.UI/Page.cs: implemented CodePage and ContentType.
	* System.Web.UI/PageParser.cs: handle CodePage, ContentEncoding and
	ResponseEncoding attributes.

	* System.Web.Util/WebEncoding.cs: added properties to access
	configuration files encoding.

svn path=/trunk/mcs/; revision=19641
2003-11-05 07:49:02 +00:00
Eran Domb 1ad45b3cb7 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
on all Relations.
	(GetChildRows) : Adding some checks.
	(GetParentRows) : Adding some checks. Fix a bug in implementation.
	(SetParentRow) : Added implementation.

	* DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
	* DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
	* ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
	* MergeManager.cs : Check that the target table is not null.

svn path=/trunk/mcs/; revision=19640
2003-11-05 07:03:03 +00:00
Gonzalo Paniagua Javier ffc3fa7caf 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* AssemblyResourceLoader.cs: fixed compilation under MS. Ben already
	filed a bug report.

svn path=/trunk/mcs/; revision=19639
2003-11-05 06:14:59 +00:00
Pedro Martínez Juliá 2b16a49b3a 2003-11-05 Pedro Mart�nez Juli� <[email protected]>
* DateTimeFormatInfo.cs: Hack an era for US culture. We must look
    for other ways to get the ERA string.

svn path=/trunk/mcs/; revision=19638
2003-11-05 06:00:35 +00:00
Miguel de Icaza 24e93d5cbd Make this optional for those who dont have cairo
svn path=/trunk/mcs/; revision=19637
2003-11-05 05:02:33 +00:00
Jackson Harper b7aeba0bd5 * AssemblyResourceLoader.cs: No method body for v1. This fixes the
build.

svn path=/trunk/mcs/; revision=19634
2003-11-05 00:27:31 +00:00
Ben Maurer 302311405c add WebResource.axd support
svn path=/trunk/mono/; revision=19632
2003-11-04 23:44:56 +00:00
Ben Maurer 4ff2d51140 2003-11-04 Ben Maurer <[email protected]>
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
	(which makes sense, as the custom errors *arent* enabled; ie they dont work.
	* HttpResponseStream.cs: you actually can write with len = 0
	* AssemblyResourceLoader.cs: New file. New v2 handler.
	* Control.cs (GetWebResourceUrl): new v2 function
	* Page.cs (GetWebResourceUrl): ditto.
	make the JS we generate work with moz if the form is not a child
	of document.
	* WebResourceAttribute.cs: Added, new v2 attribute.

svn path=/trunk/mcs/; revision=19631
2003-11-04 23:43:25 +00:00
Miguel de Icaza 5913de6f3f 2003-11-04 Miguel de Icaza <[email protected]>
* ecore.cs: Convert the return from Ldlen into an int.

svn path=/trunk/mcs/; revision=19629
2003-11-04 22:59:28 +00:00
César Natarén 9d93ddc5da grammar updates
svn path=/trunk/mcs/; revision=19627
2003-11-04 22:35:47 +00:00
César Natarén 93a5056341 2003-11-04 cesar lopez nataren <[email protected]>
* FunctionObject.cs: Handle no parameters on functions.

svn path=/trunk/mcs/; revision=19626
2003-11-04 22:03:19 +00:00
César Natarén 42be91634b 2003-11-04 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: Allow functions without parameters.

svn path=/trunk/mcs/; revision=19624
2003-11-04 21:44:33 +00:00
Jackson Harper 2b75405d6a * TemplateColumn.cs: Use the same renderer for selected items as
normal items. This fixes bug #49744.

svn path=/trunk/mcs/; revision=19623
2003-11-04 21:08:20 +00:00
Jackson Harper c3ad385b3d * DataList.cs:
* WebControl.cs: Fix argument out of range exceptions on
	properties. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19622
2003-11-04 19:44:05 +00:00
Atsushi Eno 70968e882c 2003-11-04 Atsushi Enomoto <[email protected]>
* Iterator.cs : Added bool ReverseAxis property to identify whether
	  the iterator is in reverse order or not.  Added ComparablePosition
	  for correct position comparison for PredicateIterator and reverse-
	  order-axes.  Modified AncestorIterator, AncestorOrSelfIterator,
	  PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
	  return their nodes in document order. This fixes bugzilla #39079.

svn path=/trunk/mcs/; revision=19621
2003-11-04 18:56:16 +00:00
Miguel de Icaza 591af6e4a0 Flush
svn path=/trunk/mono/; revision=19620
2003-11-04 17:40:01 +00:00
Miguel de Icaza d1b47762e9 Flush
svn path=/trunk/mono/; revision=19619
2003-11-04 17:34:15 +00:00
Miguel de Icaza e23e63d17a Flush
svn path=/trunk/mono/; revision=19618
2003-11-04 17:28:16 +00:00
Miguel de Icaza 8867ce250e Flush
svn path=/trunk/mono/; revision=19616
2003-11-04 14:40:19 +00:00
Miguel de Icaza 2c47f64504 Update
svn path=/trunk/mono/; revision=19615
2003-11-04 14:30:14 +00:00
Miguel de Icaza c3c82b9058 Flush
svn path=/trunk/mono/; revision=19614
2003-11-04 14:03:03 +00:00
Miguel de Icaza 8b419bd8ae Build fixes
svn path=/trunk/mcs/; revision=19612
2003-11-04 13:38:47 +00:00
Jackson Harper 4c8635c916 * TemplateColumn.cs: If the item is selected but there is no
editItemTemplate use the itemTemplate. This matches MS
	behvoir.

svn path=/trunk/mcs/; revision=19611
2003-11-04 07:58:25 +00:00
Jackson Harper ea32ed9304 * Repeater.cs: Always set alternating items to the AlternatingItem
type, when instantiating alternating items use the itemTemplate if
	the alternatingItem template is null. This matches MS behavoir and
	fixes bug #50157.

svn path=/trunk/mcs/; revision=19610
2003-11-04 06:02:35 +00:00
Jackson Harper 9ca4eb89dd * DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
	visibility is changed. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19609
2003-11-04 05:44:03 +00:00
Jackson Harper ef437d1bc2 * DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
	visibility is changed. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19608
2003-11-04 05:43:30 +00:00
Jackson Harper 41591e12e1 * RepeatInfo.cs: When doing horizontal rendering use the repeat
columns as the number of columns in a row. This fixes bug
	#49016.

svn path=/trunk/mcs/; revision=19607
2003-11-04 05:22:38 +00:00
Lluis Sanchez 3e511bd164 * AppDomain.cs: Added some null checks in Load methods. This fixes bug
#50356.

svn path=/trunk/mcs/; revision=19606
2003-11-04 00:25:33 +00:00
Jackson Harper 925fc6f10b * PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
	* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
	* TableStyle.cs (AddAttributesToRender): Render border style
	collapse. Patch by Yaron Shkop.
	* TableStyle.cs:
	* TableItemStyle.cs:
	* DataGridPagerStyle.cs: Call base copy and merge even if style is of
	the wrong type. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19605
2003-11-03 23:34:55 +00:00
Duncan Mak 6cd2cb1cf6 Executive summary:
Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.


2003-11-01  Duncan Mak  <[email protected]>

	* matrix.c
	(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
	(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
	functions are stubbed out.

	* gdip_defs.h (GpMatrixOrder): Added.

	* gdip_main.h
	(GpRect, GpRectF): Synonyms for Rect and RectF.
	(GpMatrix): An alias of cairo_matrix_t.

	* Makefile: Added matrix.c.

2003-10-28  Duncan Mak  <[email protected]>

	* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
	(FillEllipse, FillPolygon): implemented.
	(RenderingOrigin): implemented.

	* gdipFunctions.cs: Added new GDI+ equivalents.

2003-10-28  Duncan Mak  <[email protected]>

	* gdip_main.h, gdip_def.h:
	Renamed all gdip_foo_ptr types are now GpFoo *.
	Renamed Status to GpStatus.
	Reformatted all C++ style comments to C style comments.
	Reformatted all C function prototypes to the style used by GTK+.

	* gdip_main.h (GpPoint, GpPointF): Added.

	* gdip_defs.h (GpFillMode): Added.

	* graphics.c (make_ellipse):
	(make_polygon, make_polygon_from_integers):
	(make_pie): private functions (make_foo) to be reused by DrawFoo
	and FillFoo.

	(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.

	(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.

2003-10-26  Duncan Mak  <[email protected]>

	* graphics.c
	(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.

2003-10-25  Duncan Mak  <[email protected]>

	* graphics.c
	(GdipDrawBezier, GdipDrawBezierI):
	(GdipDrawBeziers, GdipDrawBeziersI):
	(GdipDrawLine, GdipDrawLineI):
	(GdipDrawLines, GdipDrawLinesI): implemented.

	(GdipFillRectangle):
	(GdipDrawString): Make use of gdip_get_status.

	* general.c
	(gdip_get_status): A new function for retrieving a Status from a
	cairo_t.

svn path=/trunk/mcs/; revision=19604
2003-11-03 23:14:20 +00:00
Gonzalo Paniagua Javier 7505cd3247 2003-11-03 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: notify listener on async processing handles after
	invoking the async callback. Thanks to Zoltan.

svn path=/trunk/mono/; revision=19603
2003-11-03 23:04:04 +00:00
Jackson Harper 4128794e4f * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
Yaron Shkop.

svn path=/trunk/mcs/; revision=19602
2003-11-03 22:47:31 +00:00
Jackson Harper 6055ac6d30 * HttpResponse.cs (ContentEncoding): Throw
ArgumentNullException. Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19601
2003-11-03 22:45:20 +00:00
Lluis Sanchez f2a3a11a8d * SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
svn path=/trunk/mcs/; revision=19599
2003-11-03 21:36:23 +00:00
Lluis Sanchez 1ddd1b45ea * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
bug #50041.

svn path=/trunk/mcs/; revision=19598
2003-11-03 21:23:48 +00:00
Jackson Harper 30a48ff1be * System.Web.dll.sources: Add SessionSQLServerHandler.cs
* makefile: Reference System.Data.dll

svn path=/trunk/mcs/; revision=19597
2003-11-03 21:11:40 +00:00
Jackson Harper 804bccf91f * HttpSessionState.cs: Make the SessionDictionary accessable
* ISessionHandler.cs: Add method to update the session state
	data in the handler. Pass the session config to handlers when
	initializing.
	* SessionConfig.cs: Add StateNetworkTimeout
	* SessionInProcHandler.cs: Updates because interface has
	changed, all functionality is the same.
	* SessionStateModule.cs: Get new config items, allow SQLServer
	session manager type. Update session handlers when the session
	state has been released.
	* SessionStateSectionHandler.cs: Add StateNetworkTimeout
	* SessionSQLServerHandler.cs: New class allows sessions to be
	stored in a database.

svn path=/trunk/mcs/; revision=19596
2003-11-03 21:08:59 +00:00
Zoltan Varga d351160496 2003-11-03 Zoltan Varga <[email protected]>
* reflection.c (create_dynamic_mono_image): Call mono_image_init to
	avoid code duplication.

svn path=/trunk/mono/; revision=19595
2003-11-03 21:07:31 +00:00
Zoltan Varga 14766a1406 2003-11-03 Zoltan Varga <[email protected]>
* TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
	null to DefineConstructor, to avoid NullReferenceExceptions in the
	binder code.

svn path=/trunk/mcs/; revision=19594
2003-11-03 21:03:15 +00:00
Zoltan Varga 8c28845a69 2003-11-03 Zoltan Varga <[email protected]>
* reflection.h (MonoDynamicImage): New type which is currently unused,
	but will be used through the ref.emit code in place of
	MonoDynamicAssembly.

	* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
	object layout.

	* reflection.c (create_dynamic_mono_image): Rewrote so it now creates
	a MonoDynamicImage instead of just a MonoImage.

	* reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
	icalls to ModuleBuilder but keep their semantics, so they will work
	with moduleb->assemblyb. This will change later.

svn path=/trunk/mono/; revision=19593
2003-11-03 20:55:02 +00:00
Zoltan Varga 74069838f9 2003-11-03 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
	and getToken methods, and the associated icalls to ModuleBuilder,
	since tokens are per-module.

	* AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
	patch, since having the 'is_main' field is useful in the unmanaged
	code.

	* AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
	file creation logic to ModuleBuilder:Save (), since this needs to be
	done for every module. Also move the corresponding icalls to
	ModuleBuilder.

svn path=/trunk/mcs/; revision=19592
2003-11-03 20:47:00 +00:00
Jackson Harper 5a98ec1ab9 * BoundColumn.cs: Render readonly columns. Patch by Mohammad
DAMT.

svn path=/trunk/mcs/; revision=19591
2003-11-03 20:44:36 +00:00
César Natarén 707d5ccfe2 updates from grammar changes
svn path=/trunk/mcs/; revision=19590
2003-11-03 17:10:46 +00:00
Martin Baulig 78ec0b95ea 2003-11-03 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_inflate_method_or_ctor): Set
	`ginst->klass' here.
	(method_encode_methodspec): Don't use the `ginst->generic_method's
	klass if it's a generic instance, use `ginst->klass' in this case.

svn path=/trunk/mono/; revision=19589
2003-11-03 17:08:54 +00:00
César Natarén 33cc8aef66 ChangeLog entries.
svn path=/trunk/mcs/; revision=19588
2003-11-03 17:08:38 +00:00
César Natarén 42b503cca3 * jscript-lexer-parser.g: Added parsing support for formal
parameters type annotations. Build FormalParameterList accordingly.

svn path=/trunk/mcs/; revision=19587
2003-11-03 17:05:02 +00:00
César Natarén 1eb8317b22 * SymbolTable.cs: Added Add method that receives the id and the
function declaration class. Retrieve changed to return an AST. Added
ToString method.

svn path=/trunk/mcs/; revision=19586
2003-11-03 17:03:27 +00:00
César Natarén f9ed504ed7 * Statement.cs: Deleted Statement class (it was being used for
nothing). All classes that were having Statement as parent,
changed their parent to be AST.

svn path=/trunk/mcs/; revision=19585
2003-11-03 17:01:58 +00:00
César Natarén 730c7e4367 * SemanticAnalizer.cs: Fixed the file name (maybe I should erase it
and add it again with the correct name). Not based on the Visitor
pattern anymore. Deleted all the VisitFOO methods. Added a
IdentificationTable field. Added Run, Dump methods.

svn path=/trunk/mcs/; revision=19584
2003-11-03 17:01:06 +00:00
César Natarén 06ea3d23e7 * IdentificationTable.cs: Added ToString method. Retrieve now returns an AST not a VariableDeclaration.
svn path=/trunk/mcs/; revision=19583
2003-11-03 16:58:12 +00:00
César Natarén 6d7268f6db * FunctionObject.cs: Added MethodAttributes and type_annot
fields. Added params_types function, which returns an array of
types from each of the function's parameters.

svn path=/trunk/mcs/; revision=19582
2003-11-03 16:56:18 +00:00
César Natarén 7d51b1addf * FormalParameterList.cs: Added FormalParam class. Change Add method to receive the id and the type annotation from function's parameters.
svn path=/trunk/mcs/; revision=19581
2003-11-03 16:54:59 +00:00
César Natarén 271e4047d2 *** empty log message ***
svn path=/trunk/mcs/; revision=19580
2003-11-03 16:52:32 +00:00
César Natarén d8d2d3ed8a 2003-11-03 <[email protected]>
*  Microsoft.JScript.dll.sources: Added IdentificationTable.cs,
	SemanticAnalizer.cs and SymbolTable.cs to the build.

svn path=/trunk/mcs/; revision=19579
2003-11-03 16:49:17 +00:00
César Natarén 3bf8b7ce1b 2003-11-03 cesar lopez nataren <[email protected]>
* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Blocks.cs,
	DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
	FunctionDeclaration.cs, FunctionExpression.cs, Import.cs,
	InstanceOf.cs, Literal.cs, NumericBinary.cs, NumericUnary.cs,
	Package.cs, Plus.cs, PostOrPrefixOperator.cs, Print.cs,
	Relational.cs, ScriptBlock.cs, StrictEquality.cs, Throw.cs,
	Try.cs, TypeOf.cs, VariableDeclaration.cs, VariableStatement.cs,
	With.cs, expression.cs : Added
	'Resolve' method stub.

svn path=/trunk/mcs/; revision=19578
2003-11-03 16:43:13 +00:00
Zoltan Varga 80c101a95b 2003-11-03 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
	object layout.

	* reflection.c (mono_image_build_metadata): Avoid creation of a default
	main module, since it is now done by the managed code.

svn path=/trunk/mono/; revision=19575
2003-11-03 15:15:12 +00:00
Zoltan Varga 71412a4dbc 2003-11-03 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
	#48700 (proper module support in Ref.Emit). Remove is_main field from
	ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
	This is neccesary, since the main module is determined during the
	Save () call: the module with the same file name as the assembly is
	the main module. Also create a default main module, if one is not
	existing.

svn path=/trunk/mcs/; revision=19574
2003-11-03 15:11:25 +00:00
Martin Baulig a8d817f188 2003-11-03 Martin Baulig <[email protected]>
* reflection.c (mono_image_get_generic_method_param_info):
	Removed, use mono_image_get_generic_param_info() instead.
	(mono_image_get_type_info): Write the GenericParam table before
	the Method table.  This is neccessary because in the GenericParam
	table, type parameters of the class (ie. '!0' etc.) must come
	before the ones from its generic methods (ie. '!!0' etc).

svn path=/trunk/mono/; revision=19573
2003-11-03 14:08:34 +00:00
Eran Domb aad18f162a * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
can be converted to the column type.

	* DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.

	* DataRow.cs (EndEdit) : Check if we need to validate the constraints.
	(GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.

	* DataRowCollection.cs (Add) : Fixing a bug.
	(Clear) : Before clearing the array check that there is no violation of FK constraint.

	* DataSet.cs (Prefix) : If value is null chage it to empty string.
	(GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.

	* ExpressionElement : Adding support for IN expresion.

	* DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
	(Select) : Adding support for DataViewwRowState.

	* ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.

	* MergeManager.cs (MergeRow) : Fix bugs.

svn path=/trunk/mcs/; revision=19572
2003-11-03 12:35:50 +00:00
Zoltan Varga 8e246a65ec 2003-11-03 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill out AssemblyName->codebase. Fixes #50469.

svn path=/trunk/mono/; revision=19571
2003-11-03 12:24:32 +00:00
Martin Baulig 5597cb889f 2003-11-03 Martin Baulig <[email protected]>
* expression.cs (ArrayAccess.GetStoreOpcode): Added
	`out bool has_type_arg'; if set, we need to pass the type to
	ig.Emit().
	(ArrayAccess.GetStoreOpcode, ArrayAccess.EmitLoadOpcode): Use
	Stelem_Any/Ldelem_Any for generic parameters.

svn path=/trunk/mcs/; revision=19570
2003-11-03 09:09:16 +00:00
Martin Baulig 5f1da9fb55 2003-11-03 Martin Baulig <[email protected]>
* OpCodes.cs: Added Ldelem_Any, Stelem_Any and Unbox_Any from .NET 1.2.

svn path=/trunk/mcs/; revision=19569
2003-11-03 09:06:30 +00:00
Daniel Morgan 3570fe498f update ADO.NET and provider web pages
svn path=/trunk/mono/; revision=19568
2003-11-03 06:27:02 +00:00
Atsushi Eno 3d7ed7612d 2003-11-03 Atsushi Enomoto <[email protected]>
* XslCompiledElement.cs, XslAttribute.cs, XslElement.cs :
	  Removed Clone() everywhere. Limited only to required places.

svn path=/trunk/mcs/; revision=19566
2003-11-03 03:32:08 +00:00
Miguel de Icaza aa554c15b1 Small updates
svn path=/trunk/mono/; revision=19565
2003-11-03 03:22:59 +00:00
Daniel Morgan cd69d4a98c update mono index web page about gtk# 0.12 release
svn path=/trunk/mono/; revision=19564
2003-11-03 02:22:14 +00:00
Daniel Morgan f11ddb1a39 update postgresql web page
svn path=/trunk/mono/; revision=19563
2003-11-03 01:53:38 +00:00
Miguel de Icaza 0befeb6efb Add Mono 1.0 list of assemblies
svn path=/trunk/mono/; revision=19562
2003-11-03 01:47:04 +00:00
Ben Maurer 7acb63770b 2003-11-02 Ben Maurer <[email protected]>
* BulletStyle.cs:
	* BulletedListDisplayMode.cs:
	* BulletedListEventHandler.cs:
	* BulletedList.cs:
	* BulletedListEventArgs.cs: V2 controls (yay!)

svn path=/trunk/mcs/; revision=19560
2003-11-03 00:16:59 +00:00
Alexandre Pigolkine 308a1514a5 convert 24/32 bpp in LockBits
svn path=/trunk/mcs/; revision=19558
2003-11-02 20:49:37 +00:00
Alexandre Pigolkine 74a08e4969 codec can select pixel format of bitmap
svn path=/trunk/mcs/; revision=19557
2003-11-02 20:41:19 +00:00
Alexandre Pigolkine 551212ef66 use 32bpp bitmaps internally
svn path=/trunk/mcs/; revision=19555
2003-11-02 20:33:32 +00:00
Atsushi Eno 046bca7af9 2003-11-02 Atsushi Enomoto <[email protected]>
* XslCompiledElement.cs : Added InputNode for namespace-prefix support.
	* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
	  Correct Prefix support.
	* XslLiteralElement.cs : Moved xmlns output after attribute sets.
	* XslCopy.cs : Added use-attribute-sets support for Root XPath type.
	* XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs : Support for
	  IsEmptyElement (XslElement not yet. confirm what OASIS tests expect).
	* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
	  Support for stylesheet xmlns decls emission.

svn path=/trunk/mcs/; revision=19554
2003-11-02 14:26:48 +00:00
Atsushi Eno f3b35ea6e1 2003-11-02 Atsushi Enomoto <[email protected]>
* Compiler.cs : More complete attribute set gathering.
	  GetNamespacesToCopy() should only return Local namespaces.
	* GenericOutputter.cs : Added support for indentation.
	  Added easy hack for html output.
	  More correct Prefix handling (considers already defined ones).
	  Namespace emmission is moved to CheckState().
	* Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
	  Added WriteFullEndElement(). (i.e. IsEmptyElement support)
	* GenericOutputter.cs, Outputter.cs :
	  Added CanProcessAttributes property for
	  use-attribute-sets of xsl:copy.
	* XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
	  Added support for exclude-result-prefixes.
	* XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.

svn path=/trunk/mcs/; revision=19553
2003-11-02 14:25:15 +00:00
Atsushi Eno b66b7ca806 2003-11-02 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
	  to skip XmlEntityReference.
	* XmlTextWriter.cs : Fixed AddMissingElements() and
	  WriteStartAttribute() not to emit extraneous xmlns.

svn path=/trunk/mcs/; revision=19552
2003-11-02 14:15:04 +00:00
Martin Baulig 38bc2d599d New test.
svn path=/trunk/mcs/; revision=19551
2003-11-02 13:16:47 +00:00
Martin Baulig 72b0dc6131 2003-11-02 Martin Baulig <[email protected]>
* reflection.c (create_generic_typespec): Take a
	`MonoReflectionTypeBuilder *' instead of a `MonoType *' and get
	the generic parameters from it.

svn path=/trunk/mono/; revision=19550
2003-11-02 13:16:24 +00:00
Martin Baulig 8b74b6fd07 2003-11-02 Martin Baulig <[email protected]>
* mini.c (inflate_generic_field): New static method.
	(mono_method_to_ir): In CEE_LDFLD and CEE_LDSFLD: if we're a
	generic instance and the field is declared in a generic type, call
	inflate_generic_field() to inflate it.  Fixes gen-28.cs.

svn path=/trunk/mono/; revision=19549
2003-11-02 12:38:22 +00:00
Martin Baulig 137e2ff98d New test.
svn path=/trunk/mcs/; revision=19548
2003-11-02 10:52:38 +00:00
Martin Baulig b2cee3ec28 2003-11-02 Martin Baulig <[email protected]>
* reflection.c (fieldref_encode_signature): Take a `MonoType *'
	instead of a `MonoClassField *' since we just need the type.
	(create_generic_typespec): New static function.  Creates a
	TypeSpec token for a generic type declaration.
	(mono_image_get_generic_field_token): New static function.
	(mono_image_create_token): If we're a FieldBuilder in a generic
	type declaration, call mono_image_get_generic_field_token() to get
	the token.

svn path=/trunk/mono/; revision=19547
2003-11-02 10:51:47 +00:00
Atsushi Eno f07ba5468a 2003-11-02 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Skip multiple xmlns when element and any of
	  attributes have the same xmlns values.
	  WriteEndElement() allows open attribute (calles WriteEndAttribute()).
	  Indentation should be inserted between ">" and "</xxx>" .

svn path=/trunk/mcs/; revision=19546
2003-11-02 08:03:08 +00:00
Martin Baulig 66e1f02987 New test.
svn path=/trunk/mcs/; revision=19545
2003-11-02 06:26:04 +00:00
Martin Baulig 9466d986ea 2003-11-02 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoGenericInst.initialize): Include members
	from our parent classes in the `methods', `ctors' and `fields'
	arrays.  When inflating them, reflection now sets their
	`declaring_type' and `reflected_type' fields.
	(MonoInflatedMethod, MonoInflatedCtor): Added
	`MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
	fields and override the `DeclaringType' and `ReflectedType' properties.

svn path=/trunk/mcs/; revision=19544
2003-11-02 06:25:24 +00:00
Martin Baulig 95a9554452 2003-11-02 Martin Baulig <[email protected]>
* reflection.h
	(MonoReflectionInflatedMethod, MonoReflectionInflatedField): Added
	`MonoReflectionGenericInst *declaring_type' and
	`MonoReflectionGenericInst *reflected_type' fields.

	* reflection.c (mono_reflection_inflate_method_or_ctor): Take a
	`MonoReflectionGenericInst *declaring_type' and a
	`MonoReflectionGenericInst *reflected_type' argument instead of a
	single `MonoReflectionGenericInst *type' one.  Set
	`res->declaring_type' and `res->reflected_type' from them.
	(mono_reflection_inflate_field): Likewise.

svn path=/trunk/mono/; revision=19543
2003-11-02 06:18:16 +00:00
Martin Baulig fb4806002a Support for fields is currently broken; so don't use fields where we're testing something which is not related to fields.
svn path=/trunk/mcs/; revision=19542
2003-11-02 05:47:20 +00:00
Martin Baulig e954be445d 2003-11-02 Martin Baulig <[email protected]>
* expression.cs (Invocation.EmitCall): Use
	`TypeManager.IsValueType()' to check whether it's a value type.
	Don't set `struct_call' when calling a method on a type parameter.

svn path=/trunk/mcs/; revision=19541
2003-11-02 05:45:00 +00:00
Martin Baulig c73daebfb5 2003-11-02 Martin Baulig <[email protected]>
* class.c (mono_class_setup_vtable): Don't store generic methods
	in the vtable.

svn path=/trunk/mono/; revision=19540
2003-11-02 05:30:31 +00:00
Martin Baulig c5229d0428 2003-11-02 Martin Baulig <[email protected]>
* generics.cs (ConstructedType.Resolve): Renamed to ResolveType()
	and removed the TypeBuilder argument.

	* typemanager.cs (TypeManager.IsValueType): Return
	`t.IsGenericParameter || t.IsValueType'.

svn path=/trunk/mcs/; revision=19539
2003-11-02 05:05:28 +00:00
Martin Baulig c555e7773f 2003-11-02 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
	`Type declaring_type' field and override the `DeclaringType' and
	`ReflectedType' properties.
	(MonoGenericInst.IsValueTypeImpl): Override this.

svn path=/trunk/mcs/; revision=19538
2003-11-02 05:00:22 +00:00
Martin Baulig 84afb1ec7b 2003-11-02 Martin Baulig <[email protected]>
* reflection.h (MonoReflectionGenericInst): Added
	`MonoReflectionType *declaring_type'.

	* reflection.c (inflated_method_get_object): Added
	`MonoReflectionType *decl_type' argument; set
	`res->declaring_type' from it.
	(mono_reflection_bind_generic_parameters): Use `if (tb->parent)'
	instead of `klass->parent'.

svn path=/trunk/mono/; revision=19537
2003-11-02 04:58:14 +00:00
Miguel de Icaza c2005f24e9 Add graphics
svn path=/trunk/mono/; revision=19536
2003-11-02 04:45:38 +00:00
Atsushi Eno 5dd83099f3 2003-11-02 Atsushi Enomoto <[email protected]>
* DTMXPathNavigator.cs : Fixed MoveToNamespace() that might result in
	  infinite loop.

svn path=/trunk/mcs/; revision=19535
2003-11-02 02:21:14 +00:00
Pedro Martínez Juliá 37b37cedbc 2003-11-02 Pedro Mart�nez Juli� <[email protected]>
* XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
    numbers are parsed with the respective ::Parse method.

svn path=/trunk/mcs/; revision=19534
2003-11-01 23:47:00 +00:00
Pedro Martínez Juliá 1edf6a5bb4 2003-11-01 Pedro Mart�nez Juli� <[email protected]>
* XmlConvert.cs: Revert my last change. INF and -INF must be
    processed here because Double::Parse and Single::Parse doesn't
    understand anything of parsing [-]INF.

svn path=/trunk/mcs/; revision=19533
2003-11-01 23:42:02 +00:00
Miguel de Icaza 06707a449b Be crystal clear
svn path=/trunk/mono/; revision=19532
2003-11-01 21:53:20 +00:00
Miguel de Icaza 22f7c00299 Be crystal clear
svn path=/trunk/mono/; revision=19531
2003-11-01 21:49:40 +00:00
Pedro Martínez Juliá 604af82edd 2003-11-01 Pedro Mart�nez Juli� <[email protected]>
* DateTimeTest.cs: Changed the Asserts to fix some things related to
    universal time, we can't test the equality if one DateTime is into
    the code and the other comes from the TimeZone. Different TimeZones,
    different errors in the test.

svn path=/trunk/mcs/; revision=19530
2003-11-01 21:05:24 +00:00
Miguel de Icaza 0653ae44a1 Flush
svn path=/trunk/mono/; revision=19529
2003-11-01 20:08:55 +00:00
Miguel de Icaza fb13f05de4 Add new roadmap files.
Various updates: FAQ, layout, template updates

svn path=/trunk/mono/; revision=19528
2003-11-01 19:39:10 +00:00
Zoltan Varga e43fb1f816 2003-11-01 Zoltan Varga <[email protected]>
* AppDomain.cs: Make the SetDomain icalls private + call InternalInvoke
	on MonoMethod instead of Invoke.

svn path=/trunk/mcs/; revision=19527
2003-11-01 19:35:50 +00:00
Zoltan Varga bc788c5b07 2003-11-01 Zoltan Varga <[email protected]>
* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
	InvokeInDomain function instead of calling SetDomain.

svn path=/trunk/mcs/; revision=19525
2003-11-01 18:15:49 +00:00
Zoltan Varga eddb44a71b 2003-11-01 Zoltan Varga <[email protected]>
* RemotingServices.cs (GetDomainProxy): Use the new InvokeInDomain
	function instead of calling SetDomain.

svn path=/trunk/mcs/; revision=19524
2003-11-01 18:15:18 +00:00
Zoltan Varga 59a62829e8 2003-11-01 Zoltan Varga <[email protected]>
* main.c: Add disassembly of module, moduleref and file tables.

	* get.h get.c: Add support for modulerefs.

	* dump.c: Avoid crash on empty assembly table.

svn path=/trunk/mono/; revision=19523
2003-11-01 18:10:07 +00:00
Zoltan Varga 9883c0656a 2003-11-01 Zoltan Varga <[email protected]>
* assembly.c (mono_assembly_open): Avoid crash if a module is loaded
	with an empty ASSEMBLY table.

	* reflection.c (mono_image_build_metadata): Avoid using the same loop
	variable in the inner and outer loops.

svn path=/trunk/mono/; revision=19522
2003-11-01 18:04:17 +00:00
Atsushi Eno d952a741cc 2003-11-01 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Save(Stream) should not close the stream.

svn path=/trunk/mcs/; revision=19517
2003-11-01 11:52:28 +00:00
Miguel de Icaza 8460c8ec7b Update for 1.2: 'generics' is the default build name for 1.2
svn path=/trunk/mcs/; revision=19516
2003-11-01 08:28:52 +00:00
Pedro Martínez Juliá 45197ee53a 2003-11-01 Pedro Mart�nez Juli� <[email protected]>
* DateTime.cs: Fixed Add* methods handling. Now it works properly
    with extreme values (there is a bug with Overflow and Underflow in
    long type).

svn path=/trunk/mcs/; revision=19515
2003-11-01 07:59:19 +00:00
Atsushi Eno f7081e1401 2003-10-30 Atsushi Enomoto <[email protected]>
* HttpMultipartContentParser.cs : Quick fix for cygwin build.
	  CSC complains that constant char cannot be casted as byte.

svn path=/trunk/mcs/; revision=19514
2003-11-01 04:43:45 +00:00
Sebastien Pouliot 1b34b929af 2003-10-31 Sebastien Pouliot <[email protected]>
* OASISTest.cs: New. Unit test for WSE2 OASIS descriptions.
	* SaMLTest.cs: New. Unit test for WSE2 SaML descriptions.
	* SMSecurityTest.cs: New. Unit test for WSE2 SMSecurity descriptions.
	* XmltokTest.cs: New. Unit test for WSE2 Xmltok descriptions.
	* XrMLTest.cs: New. Unit test for WSE2 XrML descriptions.

svn path=/trunk/mcs/; revision=19513
2003-11-01 02:50:30 +00:00
Sebastien Pouliot b72719ebc6 2003-10-31 Sebastien Pouliot <[email protected]>
* IReplayCache.cs: New. Interface for ReplayCache.
	* OASIS.cs: New. Implementation for OASIS WS-Security (prefix "wsse").
	* ReplayCacheManager.cs: New. Stub, with MonoTODO, for WSE2.
	* SaML.cs: New. SAML description (prefix/ns) for WS-Security.
	* SecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
	* SecurityTokenReferenceType.cs: New. Stub, with MonoTODO, for WSE2.
	* SMSecurity.cs: New. Implementation for WS-Security ("wsse" and
	"http://schemas.xmlsoap.org/ws/2002/12/secext").
	* SMSecurityBase.cs: New. Abstract class to retrieve Prefix and Namespace.
	* SynchronizedSecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
	* WSEReplayCache.cs: New. Stub, with MonoTODO, for WSE2.
	* Xmltok.cs: New. WS-Security Profile for XML-based Tokens (descriptions).
	* XrML.cs: New. eXtensible rights Markup Language descriptions for WS-Security.

svn path=/trunk/mcs/; revision=19512
2003-11-01 02:48:14 +00:00
Pedro Martínez Juliá f120446f38 2003-10-31 Pedro Martnez Juli <[email protected]>
* DateTimeTest.cs: Removed Universal Time in ToString because in
    each computer that could be different. We need more control over
    that to know what the result should be.

svn path=/trunk/mcs/; revision=19511
2003-10-31 22:04:31 +00:00
Pedro Martínez Juliá 49f75e12da 2003-10-31 Pedro Mart�nez Juli� <[email protected]>
* DateTime.cs: Fixed a few format bugs.

svn path=/trunk/mcs/; revision=19510
2003-10-31 22:04:10 +00:00
Zoltan Varga 178631ba66 2003-10-31 Zoltan Varga <[email protected]>
* metadata.h (mono_metadata_make_token): Put parentheses around macro
	argument.

svn path=/trunk/mono/; revision=19509
2003-10-31 20:34:47 +00:00
Zoltan Varga 4bac9690a8 2003-10-31 Zoltan Varga <[email protected]>
* appdomain.h appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef): Fix signature.

svn path=/trunk/mono/; revision=19508
2003-10-31 18:48:43 +00:00
Zoltan Varga 4b5d4e3a83 2003-10-31 Zoltan Varga <[email protected]>
* mini.h mini.c (mono_method_same_domain): New function to return
	whenever the caller and the callee are in the same domain.

	* tramp-x86.c (x86_magic_trampoline): Use the new function.

svn path=/trunk/mono/; revision=19507
2003-10-31 15:59:47 +00:00
Zoltan Varga 3d3eba932e 2003-10-31 Zoltan Varga <[email protected]>
* AppDomain.cs (InternalPushDomainRef): New icalls.

	* AppDomain.cs (InvokeInDomain): New method to execute code in a
	different appdomain.

svn path=/trunk/mcs/; revision=19506
2003-10-31 15:27:52 +00:00
Zoltan Varga de3412b21c 2003-10-31 Zoltan Varga <[email protected]>
* appdomain.c appdomain.h icall.c: Get rid of the InvokeInDomain
	icalls. Instead, do everything in managed code. This is needed since
	it is hard to restore the original domain etc. in unmanaged code in the
	presence of undeniable exceptions.

	* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef):
	New icalls to push and pop appdomain refs.

svn path=/trunk/mono/; revision=19505
2003-10-31 14:39:17 +00:00
Zoltan Varga dd638d28ef 2003-10-31 Zoltan Varga <[email protected]>
* appdomain-unload.cs: Get rid of hardcoded file names.

svn path=/trunk/mono/; revision=19504
2003-10-31 13:25:54 +00:00
Zoltan Varga 084d01cbea 2003-10-31 Zoltan Varga <[email protected]>
* appdomain-unload.cs: New file. AppDomain Unloading tests.

	* Makefile: Add new test + enable IL tests now that we have a working
	ilasm.

svn path=/trunk/mono/; revision=19503
2003-10-31 13:18:44 +00:00
Zoltan Varga c491f9b7de 2003-10-31 Zoltan Varga <[email protected]>
* delegate7.cs: Convert it to use the test driver + add regression test
	for #50366.

svn path=/trunk/mono/; revision=19502
2003-10-31 13:12:06 +00:00
Zoltan Varga db8193c69c 2003-10-31 Zoltan Varga <[email protected]>
* interp.c (mono_create_method_pointer): New function which contains
	the arch independent part of the method wrapper creation. Add a cache
	for the wrapper code, since Delegate::Equals depends on the wrapper
	address being constant for a method. Fixes #50366.

svn path=/trunk/mono/; revision=19501
2003-10-31 13:06:28 +00:00
Zoltan Varga 28a3ddda0b 2003-10-31 Zoltan Varga <[email protected]>
* */tramp.c (mono_create_method_pointer): Rename to
	mono_arch_create_method_pointer, move common code to a new function in
	interp.c.

	* */tramp.c (mono_create_trampoline): Rename to
	mono_arch_create_trampoline for consistency.

svn path=/trunk/mono/; revision=19500
2003-10-31 13:03:36 +00:00
Miguel de Icaza ab1ec3655a Flush
svn path=/trunk/mono/; revision=19499
2003-10-31 06:27:57 +00:00
Martin Baulig 2435f6e38e More tests ....
svn path=/trunk/mcs/; revision=19498
2003-10-31 06:19:23 +00:00
Martin Baulig 05e7d1e9e3 2003-10-31 Martin Baulig <[email protected]>
* class.c (inflate_generic_type): Renamed to
	mono_class_inflate_generic_type() and made it public.

	* icall.c ("System.Reflection.MonoGenericInst::inflate_field"):
	New interncall.

	* loader.c (mono_field_from_memberref): Also set the retklass for
	typespecs.

	* fielder.c (mono_image_get_inflated_field_token): New static
	method; creates a metadata token for an inflated field.
	(mono_image_create_token, fixup_method): Added support for
	"MonoInflatedField".
	(fieldbuilder_to_mono_class_field): New static function.
	(mono_reflection_inflate_field): New public function.

	* reflection.h
	(MonoReflectionGenericInst): Added `MonoArray *fields'.
	(MonoReflectionInflatedField): New typedef.

svn path=/trunk/mono/; revision=19497
2003-10-31 06:14:50 +00:00
Martin Baulig 37e357d755 2003-10-31 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedField): New internal class.
	(MonoGenericInst.GetFields): Override this method and inflate
	the fields.

	* MonoField.cs: Don't make this class sealed.

svn path=/trunk/mcs/; revision=19496
2003-10-31 06:02:48 +00:00
Bernie Solomon d95b108771 2003-10-30 Bernie Solomon <[email protected]>
* interp.c: (ves_exec_method_with_context)
	fix CEE_NEWOBJ inside wrapper methods

svn path=/trunk/mono/; revision=19495
2003-10-31 03:56:09 +00:00
Bernie Solomon 39b458ec33 2003-10-30 Bernie Solomon <[email protected]>
* interp.c: (ves_exec_method_with_context)
	we need to lookup internal calls now
	don't free type in CEE_SIZEOF

svn path=/trunk/mono/; revision=19494
2003-10-31 03:45:57 +00:00
Bernie Solomon a6e7ba7893 2003-10-30 Bernie Solomon <[email protected]>
* socket-io.c (in6_addr ipaddress_to_struct_in6_addr): fix
	for Solaris and other platforms without s6_addr16

svn path=/trunk/mono/; revision=19493
2003-10-31 02:38:18 +00:00
Sebastien Pouliot ab5bd4a9e9 2003-10-30 Sebastien Pouliot <[email protected]>
* sn.cs: Fixed strongname generation for small exponents (like 17).
	Part of the fixed for bug #50341.

svn path=/trunk/mcs/; revision=19492
2003-10-31 02:09:38 +00:00
Sebastien Pouliot 1dd3b9f28a 2003-10-30 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Fixed strongname generation for small exponents
	(like 17). Part of the fixed for bug #50341.

svn path=/trunk/mcs/; revision=19491
2003-10-31 02:04:48 +00:00
César Natarén 7aea169fe7 2003-10-30 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: fixed function call parsing! yeah! (give
	thanks to Hector!)

svn path=/trunk/mcs/; revision=19488
2003-10-30 23:55:53 +00:00
Atsushi Eno 217c52948d 2003-10-30 Atsushi Enomoto <[email protected]>
* Compiler.cs : It is not important, but attribute order became closer
	  to MS.NET and Xalan (assuming from OASIS tests).

svn path=/trunk/mcs/; revision=19485
2003-10-30 17:07:33 +00:00
Atsushi Eno 351373ff3c 2003-10-30 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : Attribute wasn't overwritten its properties
	  because Attribute is struct it was let to another local variable.

svn path=/trunk/mcs/; revision=19484
2003-10-30 15:28:46 +00:00
Jackson Harper 1cd861426c * Repeater.cs: Throw an exception if the datasource is set to
something that does not implement either IListSource or
	IEnumerable. This fixes bug #50155.

svn path=/trunk/mcs/; revision=19483
2003-10-30 09:00:24 +00:00
Martin Baulig 32cafa6bb3 2003-10-30 Martin Baulig <[email protected]>
* mini.c (MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): New macros;
	similar to TYPE_PARAM_TO_TYPE and TYPE_PARAM_TO_CLASS, but for
	method parameters.
	(mono_method_to_ir): Added support for MONO_TYPE_MVAR; similar to
	MONO_TYPE_VAR, we the actual types from MTYPE_PARAM_TO_CLASS().

svn path=/trunk/mono/; revision=19482
2003-10-30 08:41:55 +00:00
Martin Baulig 1928a6c071 2003-10-30 Martin Baulig <[email protected]>
* class.c (inflate_generic_type): Take just one `MonoGenericInst *'
	argument instead of two.
	(mono_class_inflate_generic_signature): Likewise.
	(inflate_generic_header): Likewise.
	(mono_class_inflate_generic_method): Likewise.  In addition, if
	`ginst->klass' is set, it becomes the new `method->klass'.

	* class.h (MonoGenericInst): Removed the `gpointer mbuilder'
	field.

	* reflection.c (encode_generic_method_sig): Write a 0xa as the
	first byte. [FIXME]
	(method_encode_methodspec): If we have generic parameters, create
	a MethodSpec instead of a MethodRef.
	(fixup_method): Added support for "MonoInflatedMethod" and
	"MonoInflatedCtor".
	(mono_image_create_token): Added support for "MonoInflatedMethod"
	and "MonoInflatedCtor".
	(inflated_method_get_object): New static function; returns a
	managed "System.Reflection.MonoInflatedMethod" object.
	(mono_reflection_bind_generic_method_parameters): Return a
	`MonoReflectionInflatedMethod' instead of a `MonoReflectionMethod'.
	(mono_reflection_inflate_method_or_ctor): Likewise.
	(mono_image_get_generic_method_param_info): Initialize unused
	fields to zero.
	(mono_image_get_generic_param_info): Likewise.

	* reflection.h (MonoReflectionInflatedMethod): New public
	typedef.  Corresponds to the managed "S.R.MonoInflatedMethod" and
	"S.R.MonoInflatedCtor" classes.

	* loader.c (method_from_memberref): If we're a TypeSpec and it
	resolves to a generic instance, inflate the method.

svn path=/trunk/mono/; revision=19481
2003-10-30 08:32:17 +00:00
Jackson Harper 1b3dc2a260 * DataGridPagerStyle.cs: Do not allow page button counts to be set
to less then 1. Patch by Yaron Shkop. This fixes bug #50236.

svn path=/trunk/mcs/; revision=19480
2003-10-30 08:16:42 +00:00
Jackson Harper 83e7bfb810 Proper name so Mohammad gets his due credit.
svn path=/trunk/mcs/; revision=19479
2003-10-30 08:00:40 +00:00
Jackson Harper 0ecee66397 * ButtonColumn.cs: Format string and text to format were
inversed. This fixes bug #50171.

svn path=/trunk/mcs/; revision=19478
2003-10-30 07:58:35 +00:00
Jackson Harper 44dcab7076 * DataGridColumn.cs: If an item style is set apply it to the
cell. This fixes bug #50173.

svn path=/trunk/mcs/; revision=19477
2003-10-30 07:31:58 +00:00
Martin Baulig ce1c9fb798 2003-10-30 Martin Baulig <[email protected]>
* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
	internal classes.

svn path=/trunk/mcs/; revision=19474
2003-10-30 01:24:37 +00:00
John Luke 0bf6568c0f fix typo
add small troubleshooting section referencing daily builds
and using monolite tarballs.

svn path=/trunk/mcs/; revision=19472
2003-10-30 00:12:41 +00:00
Ben Maurer a80dd32559 2003-10-29 Ben Maurer <[email protected]>
* HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
	old debugging value.

svn path=/trunk/mcs/; revision=19470
2003-10-29 22:15:11 +00:00
Jackson Harper 7df1cd966c * HtmlControl.cs: Make disabled an attribute of the control so it
is rendered. This is a slightly modifed version of a patch
	by Yaron Shkop. Fixes bug #50160.

svn path=/trunk/mcs/; revision=19469
2003-10-29 22:14:46 +00:00
Jackson Harper fb31b4118a * PagedDataSource.cs:
* DataGrid.cs: Patch by [email protected]. Do not go past the
	end of the last page. Fixes bug #5085.

svn path=/trunk/mcs/; revision=19466
2003-10-29 21:32:33 +00:00
Jackson Harper df8cf1d470 * CheckBox.cs: Do not change the status of a checkbox when there
is no post data. This fixes bug #49091.
	* CheckBoxList.cs: Do not change the status of the checkboxes when
	there is no post data. This fixes bug #49093.

svn path=/trunk/mcs/; revision=19465
2003-10-29 20:57:17 +00:00
Jackson Harper fd8e225066 * CheckBox.cs: Do not change the status of a checkbox when there
is no postback data. This fixes bug #49091.

svn path=/trunk/mcs/; revision=19464
2003-10-29 20:43:16 +00:00
Dick Porter 0c11fa8fbd 2003-10-29 Dick Porter <[email protected]>
* man/mono.1: Document MONO_EXTERNAL_ENCODINGS variable

svn path=/trunk/mono/; revision=19461
2003-10-29 15:10:34 +00:00
Dick Porter a9d3e9d5b2 2003-10-29 Dick Porter <[email protected]>
* io.c (MoveFile): If the move crosses filesystems, try and fall
	back to copy and delete.  Patch from J�rg Rosenkranz
	([email protected]), fixes bug 50298.

svn path=/trunk/mono/; revision=19460
2003-10-29 15:10:03 +00:00
Zoltan Varga 1a91f2b892 2003-10-29 Zoltan Varga <[email protected]>
* mini.c mini-ops.h inssel.brg: Implement undeniable exception
	propagation.

	* mini.c (sigusr1_signal_handler): Move creation of the thread abort
	object here, so it is in the correct appdomain etc.

svn path=/trunk/mono/; revision=19459
2003-10-29 14:56:08 +00:00
Zoltan Varga d289153499 2003-10-29 Zoltan Varga <[email protected]>
* object.h (MonoThread): New field 'appdomain_refs' which holds a list
	of appdomains referenced by this thread.

	* threads.c
	(mono_thread_push_appdomain_ref):
	(mono_thread_pop_appdomain_ref): New functions to register/unregister
	appdomain references.
	(mono_threads_abort_appdomain_threads): New function to abort all
	threads which reference a given appdomain.
	(mono_thread_get_pending_exception): New function to return an
	exception which needs to be re-raised at the end of catch clauses.

	* threads.c: Register/unregister appdomain reference on thread
	creation/destruction.

	* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain):
	Register/unregister appdomain reference.

	* appdomain.c (mono_domain_unload): Add support for aborting threads.
	Raise an exception in case of a timeout.

svn path=/trunk/mono/; revision=19458
2003-10-29 14:52:07 +00:00
Jackson Harper 38d04ea014 * INSTALL.txt: Tell users where to find monocharges, do not
reference README.building.

svn path=/trunk/mcs/; revision=19452
2003-10-28 23:31:26 +00:00
Jackson Harper f84c2860e3 * platforms/linux.make: Tell users to read INSTALL.txt not the
non-existant README.building.

svn path=/trunk/mcs/; revision=19451
2003-10-28 23:23:02 +00:00
Jackson Harper b7f40d18ab * HttpSessionState.cs: Do not allow timeout to be set to less then
one.

svn path=/trunk/mcs/; revision=19446
2003-10-28 21:10:35 +00:00
Jackson Harper 2f23816e2a * SessionInProcHandler.cs: Compute timeouts
correctly. DateTime.Milliseconds is the just the milliseconds part
	of the time, it is not the entire time as milliseconds.

svn path=/trunk/mcs/; revision=19445
2003-10-28 20:58:54 +00:00
César Natarén 55256e6408 2003-10-28 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: allow empty program files. Added type
	annotations on var decl and function decl.
	* VariableDeclaration.cs: added return type annotation field.
	* FunctionExpression.cs: added return type parameter to constructor.
	* FunctionDeclaration.cs: added return type parameter to
	constructor. Added Emit method (just creates the static field at
	the global object, for now).
	* FunctionObject.cs: added return type to constructor. Changed
	names to readable ones ;-)

svn path=/trunk/mcs/; revision=19444
2003-10-28 20:57:18 +00:00
César Natarén c12cc7b10b 2003-10-28 cesar lopez nataren <[email protected]>
* ScriptStream.cs: added WriteLine.

svn path=/trunk/mcs/; revision=19441
2003-10-28 20:02:57 +00:00
Jackson Harper b67f6c93d4 * ExternTable.cs: Revert back to resolving value and class types
into the same table. This avoids types being resolved multiple
	times when classrefs are used with valuetypes.

svn path=/trunk/mcs/; revision=19440
2003-10-28 19:05:07 +00:00
Jackson Harper 362718050d * Driver.cs: Stub some command line args to maintain compatibility
with MS.

svn path=/trunk/mcs/; revision=19438
2003-10-28 18:19:55 +00:00
Jackson Harper 626fa319c3 changelog
svn path=/trunk/mcs/; revision=19437
2003-10-28 17:58:38 +00:00
Jackson Harper bb46081918 * ILParser.jay: Use the ExternTable to create external type
references. Remove some ultra top secret debugging code.

svn path=/trunk/mcs/; revision=19436
2003-10-28 17:56:30 +00:00
Miguel de Icaza a61252bd95 2003-10-28 Miguel de Icaza <[email protected]>
* StreamReader.cs: Add checks for disposed stream from bug report
	#48696 (Patrik Reali)

	* TextReader.cs (Read): Return the total number of bytes read,
	patch from Patrik Realli.

svn path=/trunk/mcs/; revision=19435
2003-10-28 17:55:05 +00:00
Jackson Harper c3dadc6ee2 * ExternTable.cs: This is now used to store ExternTypeRefs so we
only create 1 for each external type.
	* ExternTypeRef.cs: Only create one method and field per a
	signature/name.

svn path=/trunk/mcs/; revision=19434
2003-10-28 17:52:58 +00:00
Dick Porter 7a1e15bbc1 2003-10-28 Dick Porter <[email protected]>
* strenc.h:
	* strenc.c: New files, convert text to and from unicode or utf8,
	and the user's chosen encoding.

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

	* io.c: Use the new encoding conversion to cope with non-utf8
	locales in filenames.

	* processes.c: Ditto for process arguments.

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

	* object.c (mono_runtime_run_main): Convert command-line arguments
	into utf8, falling back to the user's locale encoding to do so.

svn path=/trunk/mono/; revision=19432
2003-10-28 11:18:52 +00:00
Jordi Mas i Hernandez b6d0de72cc ListView enhancements: bug fixes, new methods and properties
svn path=/trunk/mcs/; revision=19428
2003-10-27 21:06:56 +00:00
Zoltan Varga e709290a3c 2003-10-27 Zoltan Varga <[email protected]>
* mini.c tramp-x86.c tramp-sparc.c tramp-ppc.c: Use the normal
	trampolines for icalls and pinvokes as well. Fixes #33569.

svn path=/trunk/mono/; revision=19427
2003-10-27 20:32:27 +00:00
Zoltan Varga 447cff4cf7 2003-10-27 Zoltan Varga <[email protected]>
* loader.c (mono_get_method_from_token): Avoid looking up the icalls
	at this time.

	* marshal.c (mono_marshal_get_native_wrapper): Lookup icalls here.

svn path=/trunk/mono/; revision=19426
2003-10-27 20:29:06 +00:00
Zoltan Varga 1154eb6d3b 2003-10-27 Zoltan Varga <[email protected]>
* AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.

svn path=/trunk/mcs/; revision=19424
2003-10-27 19:30:17 +00:00
Zoltan Varga 4e66ddab9b 2003-10-27 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_inner): Lookup icalls here if not
	already done.
	(mono_method_to_ir): Avoid freeing the type created returned from
	mono_type_create_from_typespec, since it is put into an internal cache
	by the function. Fixes pointer.exe.

svn path=/trunk/mono/; revision=19423
2003-10-27 18:49:07 +00:00
Zoltan Varga 9a17e6a7a5 2003-10-27 Zoltan Varga <[email protected]>
* reflection.c (reflection_methodbuilder_to_mono_method): Avoid looking
	up icalls at method definition time. Partially fixes #33569.

svn path=/trunk/mono/; revision=19422
2003-10-27 18:47:01 +00:00
Eran Domb cea1ac17c9 2003-10-27 Eran Domb <[email protected]>
* DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
	check null values when ending loading data.

	* DataSet.cs (RejectChanges) : Imlementation.
	(Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
	change it to empty string.

	* DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.

svn path=/trunk/mcs/; revision=19421
2003-10-27 09:55:39 +00:00
Miguel de Icaza 2a1d228da8 2003-10-26 Miguel de Icaza <[email protected]>
* WebServiceHelper.cs: Compute content type and encoding
	correctly in the absence of extra options.

svn path=/trunk/mcs/; revision=19419
2003-10-27 02:42:14 +00:00
Sebastien Pouliot c8ebeb67ac 2003-10-26 Sebastien Pouliot <[email protected]>
* crypto: Updated status up to today: TLS/WSE/Strongnames ...

svn path=/trunk/mono/; revision=19418
2003-10-27 01:37:39 +00:00
Sebastien Pouliot 941f4722e3 2003-10-26 Sebastien Pouliot <[email protected]>
* ReferenceListTest.cs: Added test to list all references using the
	enumerator.

svn path=/trunk/mcs/; revision=19417
2003-10-27 01:21:56 +00:00
Sebastien Pouliot fe45de1ee8 2003-10-26 Sebastien Pouliot <[email protected]>
* AsymmetricDecryptionKey.cs: Added internal property to the
	asymmetric keypair.
	* EncryptedData.cs: Added minimal support for decryption.
	* EncryptedKey.cs: Added minimal support for decryption.
	* KeyIdentifier.cs: Added internal properties to get access to
	X509Certificate, DecryptionKey and EncryptionKey from the key identifier.
	* Security.cs: Implemented support for EncryptedData in LoadXml and
	implemented part of GetXml.
	* SecurityInputFilter.cs: Now process incoming security headers (but
	not ExtendedSecurity).
	* SecurityOutputFilter.cs: Now uses Security class to Load/Get the
	security headers (code moved into Security.cs).

svn path=/trunk/mcs/; revision=19416
2003-10-27 01:20:17 +00:00
Sebastien Pouliot bc56b9a592 2003-10-26 Sebastien Pouliot <[email protected]>
* SoapWebResponse.cs: Fixed the wrong context (re-used request).
	* WebServicesClientProtocol.cs: Fixed null pipeline in requests.

svn path=/trunk/mcs/; revision=19415
2003-10-27 01:12:40 +00:00
Todd Berman bcafc0d3de 2003-10-26 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added RoutingFault.cs
        * Microsoft.Web.Services.dll.2.sources: Added Found.cs
        * Microsoft.Web.Services.dll.sources: Added RoutingFault.cs
        * Microsoft.Web.Services.dll.sources: Added Found.cs

svn path=/trunk/mcs/; revision=19414
2003-10-26 23:10:58 +00:00
Todd Berman 8d2ea95f7a 2003-10-26 Todd Berman <[email protected]>
* RoutingFault.cs: Implementation
        * Path.cs: More Implementation
        * Found.cs: Implementation

svn path=/trunk/mcs/; revision=19413
2003-10-26 23:09:43 +00:00
Todd Berman b627be4471 2003-10-26 Todd Berman <[email protected]>
* RoutingOutputFilter.cs: Adding ReplyTo

svn path=/trunk/mcs/; revision=19412
2003-10-26 21:21:48 +00:00
Ben Maurer 8744840818 typo
svn path=/trunk/mcs/; revision=19411
2003-10-26 20:44:43 +00:00
Ben Maurer 7c1fcce1fb 2003-10-26 Ben Maurer <[email protected]>
* RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
	RadioButton. Fixes #50132

svn path=/trunk/mcs/; revision=19410
2003-10-26 20:38:34 +00:00
Ben Maurer 71e2b4a9d6 2003-10-26 Ben Maurer <[email protected]>
* HttpRequest.cs: use the below file when it is proper.
	* HttpMultipartContentParser.cs: new file for parsing
	multipart/form-data

svn path=/trunk/mcs/; revision=19409
2003-10-26 19:47:26 +00:00
Philip Van Hoof c54fcc5454 Some fixes until datagrid.cs actually compiles
svn path=/trunk/mcs/; revision=19408
2003-10-26 19:46:24 +00:00
Todd Berman fc875b9877 2003-10-26 Todd Berman <[email protected]>
* WebServicesConfiguration.cs: Allowing the MessagingConfiguration to
        stay the same one (prevents double socket binding attempts)

svn path=/trunk/mcs/; revision=19406
2003-10-26 17:59:28 +00:00
Atsushi Eno 9cb8e985eb 2003-10-26 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : xsi:type should be normalized. More cleanup.
	* XsdParticleValidationState.cs : Reverted default content processing
	  to lax. It is msxsdtest/wildCard/wildG038.xsd which looks incorrect.

svn path=/trunk/mcs/; revision=19405
2003-10-26 03:41:55 +00:00
Atsushi Eno 5f6674b5da 2003-10-25 Atsushi Enomoto <[email protected]>
* DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
	  XmlTextReader.cs : More cleanup.
	* XmlDocument.cs : Removed CheckName(). Code cleanup.
	* XmlElement.cs : .ctor() now adds default attributes (if required).
	* XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
	  XmlNotation.cs : Now uses OwnerDocument's NameTable.

svn path=/trunk/mcs/; revision=19404
2003-10-26 03:39:03 +00:00
Sebastien Pouliot 5230c85bf5 2003-10-25 Sebastien Pouliot <[email protected]>
* SoapContext.cs: Now construct the SecurityCollection for
	ExtendedSecurity when null.

svn path=/trunk/mcs/; revision=19403
2003-10-26 02:57:29 +00:00
Sebastien Pouliot bb02af69ce 2003-10-25 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added IMutableSecurityToken.cs
	in Microsoft.Web.Services.Security (new in WSE2)

svn path=/trunk/mcs/; revision=19402
2003-10-26 02:10:08 +00:00
Sebastien Pouliot 6c303173a7 2003-10-25 Sebastien Pouliot <[email protected]>
* ReferenceListTest.cs: New. Complete unit tests for ReferenceList.
	* WSSecurityTest.cs: Adjusted for WSE2.

svn path=/trunk/mcs/; revision=19401
2003-10-26 02:07:42 +00:00
Sebastien Pouliot fbe2a5b1a0 2003-10-25 Sebastien Pouliot <[email protected]>
* EncryptedData.cs: Can now encrypt SOAP body message (no decrypt yet).
	* EncryptedKey.cs: Updated symmetric key creation.
	* IMutableSecurityToken.cs: New. Interface in WSE2 to clone SecurityTokens.
	* ReferenceList.cs: Completed implementation.
	* Security.cs: Fixed Elements and Tokens collections that weren't always created.
	* SecurityOutputFilter: Added support for EncryptedData.
	* SecurityToken.cs: Private member IPrincipal is now only defined for WSE2 (removed warning).
	* UsernameToken.cs: Updated for WSE2.
	* X509SecurityToken.cs: Added SecurityTokenReference/KeyIdentifier in KeyInfo.

svn path=/trunk/mcs/; revision=19400
2003-10-26 02:05:47 +00:00
Todd Berman 674ec7e2f5 2003-10-25 Todd Berman <[email protected]>
* SoapTcpChannel.cs: fixes for csc
        * SoapTcpListener.cs: fix for csc
        * SoapTcpTransport.cs: fix for csc

svn path=/trunk/mcs/; revision=19399
2003-10-25 22:37:13 +00:00
Todd Berman 7cb4f518da 2003-10-25 Todd Berman <[email protected]>
* AsyncResult.cs: csc fixes
        * SoapContext.cs: csc fixes

svn path=/trunk/mcs/; revision=19398
2003-10-25 22:35:22 +00:00
Todd Berman 5b5bf95efc 2003-10-25 Todd Berman <[email protected]>
* Nonce.cs: WSE2 Compilation fix

svn path=/trunk/mcs/; revision=19397
2003-10-25 22:32:48 +00:00
Daniel Morgan d7f5cf538b updated news about gtk# windows installer. updated me on the team page.
svn path=/trunk/mono/; revision=19396
2003-10-25 20:38:02 +00:00
Zoltan Varga c473392788 2003-10-25 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add tests for [In,Out] marshalling of arrays.

svn path=/trunk/mono/; revision=19395
2003-10-25 20:32:32 +00:00
Zoltan Varga e6fbfdab34 2003-10-25 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Add support for [Out]
	marshalling of arrays. Fixes #50116.

svn path=/trunk/mono/; revision=19394
2003-10-25 20:22:40 +00:00
Pedro Martínez Juliá 371204e925 2003-10-25 Pedro Mart�nez Juli� <[email protected]>
* XmlConvert.cs: Support for the sign in double and single. The
    processing of the infinites and nan numbers are more complex than
    comparing to "INF" so we must let Double::Parse and Single::Parse
    doing their job.

svn path=/trunk/mcs/; revision=19393
2003-10-25 20:22:02 +00:00
Ben Maurer eb65169f48 2003-10-25 Ben Maurer <[email protected]>
* PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
	paging from working. Fixes #48814.

svn path=/trunk/mcs/; revision=19392
2003-10-25 20:18:51 +00:00
Ben Maurer ea36645191 2003-10-25 Ben Maurer <[email protected]>
* DataGrid.cs: A few typos kept us from viewing datagrids
	that were based on customized collections.

svn path=/trunk/mcs/; revision=19391
2003-10-25 20:04:44 +00:00
Zoltan Varga 75e24ccd37 2003-10-25 Zoltan Varga <[email protected]>
* AppDomain.cs (IsFinalizingForUnload): Implement.

	* AppDomain.cs (Unload): Move the notification of OnUnload listeners
	to unmanaged code.

svn path=/trunk/mcs/; revision=19389
2003-10-25 18:53:21 +00:00
Zoltan Varga 547e99406a 2003-10-25 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_InternalIsFinalizingForUnload): New icall.

	* appdomain.c (unload_thread_main): Clear class->cached_vtable if it
	points to a vtable in the dying appdomain.

	* appdomain.c (mono_domain_unload): Move the notification of OnUnload
	listeners into unmanaged code inside the lock.

svn path=/trunk/mono/; revision=19388
2003-10-25 18:51:17 +00:00
Zoltan Varga 3227d3c8a9 2003-10-25 Zoltan Varga <[email protected]>
* object.c (mono_class_vtable): Turn off typed allocation in non-root
	domains and add some comments.

svn path=/trunk/mono/; revision=19387
2003-10-25 18:47:49 +00:00
Miguel de Icaza 1899264756 Small incremental updates
svn path=/trunk/mcs/; revision=19386
2003-10-25 16:37:24 +00:00
Atsushi Eno ad50df28e4 2003-10-25 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
	  the correct binding is sbyte.
	* XmlSchemaAll.cs,
	  XmlSchemaChoice.cs,
	  XmlSchemaSequence.cs,
	  XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
	  described in WXS structures 3.9.6.
	  Added ValidateRecurse() to support 'Recurse' validation.
	* XmlSchemaComplexType.cs : Removed incorrect content type conformity
	  check.
	* XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
	  described in WXS structures 3.9.6.  Fixed type derivation check to
	  do only if the base type is not anyType.
	* XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
	  construction exception. ValidateList... and ValidateNonList... was
	  in reverse.
	* XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().

svn path=/trunk/mcs/; revision=19385
2003-10-25 15:54:50 +00:00
Atsushi Eno 9a5b6800ec 2003-10-25 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Now it handles whitespace entity as
	  significant.
	* XmlConvert.cs : As to NIST testcases, exponential support on single
	  and double floating point numbers.
	* XmlValidatingReader.cs : If it IsDefault, then line number and line
	  position returns 0.

svn path=/trunk/mcs/; revision=19384
2003-10-25 15:52:43 +00:00
Atsushi Eno 5afd4e9b01 2003-10-25 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Removed MonoTODO which was implemented in
	  XmlValidatingreader as a result. Added xsi:nil normalization.

svn path=/trunk/mcs/; revision=19383
2003-10-25 15:52:05 +00:00
Martin Baulig 4093f67808 2003-10-25 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.ResolveType): If we're a ConstructedType,
	call ConstructedType.Resolve() on it.

	* generic.cs (ConstructedType.Resolve): Set `type' on success.

svn path=/trunk/mcs/; revision=19382
2003-10-25 15:36:45 +00:00
Martin Baulig 6be85f7860 Added "-220 Cannot resolve constructed type".
svn path=/trunk/mcs/; revision=19381
2003-10-25 15:02:35 +00:00
Martin Baulig 30d4b7af67 New test.
svn path=/trunk/mcs/; revision=19380
2003-10-25 15:01:44 +00:00
Martin Baulig d5e29899fd 2003-10-25 Martin Baulig <[email protected]>
* class.cs (TypeContainer.GetClassBases): Changed
	`out Type parent' into `out TypeExpr parent'.  Moved CS0644 and
	CS8214 reporting here.
	(TypeContainer.DefineType): GetClassBases() gives us a `TypeExpr'
	instead of a `Type' for our parent.  In case of a recursive
	declaration (see tests/gen-23.cs for an example), our parent is a
	ConstructedType and it doesn't have its type set.  So, first
	create our own TypeBuilder, then call constructed.Resolve() to get
	the parent's type and finally TypeBuilder.SetParent() it.

	* ecore.cs (TypeExpr.Name): New public virtual property.

	* generic.cs
	(ConstructedType): We're now a TypeExpr and not just an Expression.
	(ConstructedType.ResolveAsTypeStep): Don't resolve our type
	arguments here; this is done later.
	(ConstructedType.Resolve): New public method to resolve the type
	arguments and bind them.

svn path=/trunk/mcs/; revision=19379
2003-10-25 15:01:15 +00:00
Martin Baulig 2086a43973 2003-10-25 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Added `MonoClass *klass' field.

	* image.h (MonoImage): Added `GHashTable *typespec_cache'.

	* metadata.c (mono_metadata_parse_generic_inst): Renamed to
	`do_mono_metadata_parse_generic_inst'; pass it the MonoType we're
	currently parsing.  Create the generic class and store it in
	`generic_inst->klass' before parsing the type arguments.  This is
	required to support "recursive" definitions; see mcs/tests/gen-23.cs
	for an example.
	(mono_type_create_from_typespec): Use a new `image->typespec_cache'
	to support recursive typespec entries.

	* class.c (mono_class_setup_parent): If our parent is a generic
	instance, we may get called before it has its name set.
	(mono_class_from_generic): Splitted into
	mono_class_create_from_generic() and mono_class_initialize_generic().

svn path=/trunk/mono/; revision=19378
2003-10-25 14:51:44 +00:00
Martin Baulig 53a9449d58 New test.
svn path=/trunk/mcs/; revision=19377
2003-10-25 12:27:50 +00:00
Martin Baulig 6cc2669a21 2003-10-25 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_BindGenericParameters): Return a
	`MonoReflectionGenericInst *' instead of a `MonoReflectionType *'.
	("System.Reflection.MonoGenericInst::inflate_method"): New interncall.
	("System.Reflection.MonoGenericInst::inflate_ctor"): New interncall.

	* reflection.c (my_mono_class_from_mono_type): Added MONO_TYPE_GENERICINST.
	(create_typespec): Likewise.
	(mono_reflection_bind_generic_parameters): Return a
	`MonoReflectionGenericInst *' instead of a `MonoClass *'.
	(mono_reflection_inflate_method_or_ctor): New public function.

	* reflection.h (MonoReflectionGenericInst): New typedef.

svn path=/trunk/mono/; revision=19376
2003-10-25 12:18:44 +00:00
Martin Baulig d5a77f01c8 2003-10-25 Martin Baulig <[email protected]>
* MonoGenericInst.cs: New internal class.

svn path=/trunk/mcs/; revision=19375
2003-10-25 12:05:46 +00:00
Atsushi Eno f826b705a6 2003-10-25 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
	  Fixed most of date-time related types' ParseValue().
	  Applied Normalize() before parsing values in some ParseValue().

svn path=/trunk/mcs/; revision=19374
2003-10-25 09:41:37 +00:00
Atsushi Eno 4cb580369a 2003-10-25 Atsushi Enomoto <[email protected]>
* DTDReader.cs,
	  XmlConstructs.cs,
	  XmlTextReader.cs,
	  XmlWriter.cs : Fixed incorrect access modifier.
	* XmlTextWriter.cs : Imported state variable from XmlWriter.
	* DTDValidatingReader.cs : Removed extraneous MonoTODO.
	* XmlConvert.cs : Implemented ToTimeSpan().
	  Modified ToDateTime() to reuse the same array.

svn path=/trunk/mcs/; revision=19373
2003-10-25 09:36:42 +00:00
Atsushi Eno 5f1fb99251 2003-10-25 Atsushi Enomoto <[email protected]>
* Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.

svn path=/trunk/mcs/; revision=19372
2003-10-25 09:16:20 +00:00
Ben Maurer 17d40a0c79 typo fix
svn path=/trunk/mcs/; revision=19371
2003-10-25 02:00:09 +00:00
Sebastien Pouliot 28e9e013dd forgot to commit the changelog into cvs for the previous entry
svn path=/trunk/mcs/; revision=19370
2003-10-25 01:25:04 +00:00
Sebastien Pouliot 64f56c58b0 2003-10-24 Sebastien Pouliot <[email protected]>
* SignatureTest.cs: New. Basic tests for Signature.

svn path=/trunk/mcs/; revision=19369
2003-10-25 01:17:06 +00:00
Sebastien Pouliot 86430a153a 2003-10-24 Sebastien Pouliot <[email protected]>
* AsymmetricDecryptionKey.cs: Change to license and line-ends.
	* PasswordOption.cs: Inversed SendNone and SendHashed because they had
	the wrong values (corcompare)
	* Signature.cs: Stub completed.
	* SignedXml.cs: Added interface IXmlElement and missing virtual to
	CheckSignature (corcompare)
	* XmlSignature.cs: Removed license from header.

svn path=/trunk/mcs/; revision=19368
2003-10-25 01:14:03 +00:00
César Natarén 9094ef77cb 2003-10-24 cesar lopez nataren <[email protected]>
* ast.cs: Added 'virtual' Emit method (I might change it to be
	abstract, but I would have to added to all classes that derive
	from it. I'll do it later)
	* Block.cs: Added Emit method.
	* CodeGnerator.cs: Restructured it (not based on the Visitor pattern
	anymore) - still missing some methods, ut on the way. A nice
	hacking weekend coming. Added EmitContext class.
	* ScriptBlock.cs: Added Emit method.
	* VariableDeclaration.cs: Changed type field from string to
	Type. Added Emit method.
	* VariableStatement.cs: Added Emit method.
	* driver.cs: Added CodeGeneration phase (only simple var
	declarations support it. More coming soon).

svn path=/trunk/mcs/; revision=19367
2003-10-25 00:45:38 +00:00
Miguel de Icaza d76451e7bb Flushage
svn path=/trunk/mcs/; revision=19366
2003-10-24 20:30:42 +00:00
Miguel de Icaza ce61784792 2003-10-24 Miguel de Icaza <[email protected]>
* SystemBrushes.cs: Some more brushe3s.

	* SystemPens.cs: More pens.

	* Pen.cs: Implement IDisposable, ICloneable.

	* Region.cs: Add some more stubs here.

	* StringFormat.cs: Add some more code here.

2003-10-24  Miguel de Icaza  <[email protected]>

	* GraphicsPath.cs: Stub some more.

svn path=/trunk/mcs/; revision=19365
2003-10-24 20:29:45 +00:00
Joel Basson 846518be3b Fri Oct 24 20:50:00 GMT+2 2003 Joel Basson <[email protected]>
* Added start of DataGrid

svn path=/trunk/mcs/; revision=19364
2003-10-24 19:08:14 +00:00
Francisco Figueiredo Jr. 09c2c5d87c 2003-10-24: Francisco Figueiredo Jr. <[email protected]>
* Fixed a missed curle brace :)

svn path=/trunk/mcs/; revision=19363
2003-10-24 16:36:21 +00:00
Francisco Figueiredo Jr. 11a59684be 2003-10-24: Francisco Figueiredo Jr. <[email protected]>
* Better performance implementation of the method which converts a byte[] to a bytea string. Thanks Jackson Harper (jackson at ximian dot com)

svn path=/trunk/mcs/; revision=19362
2003-10-24 16:33:49 +00:00
Zoltan Varga 79d40fd1cf 2003-10-24 Zoltan Varga <[email protected]>
* AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.

svn path=/trunk/mcs/; revision=19361
2003-10-24 15:15:19 +00:00
Zoltan Varga ce609b7118 2003-10-24 Zoltan Varga <[email protected]>
* mini.c: Update after appdomain changes.

	* mini.c (mono_jit_compile_method_inner): Allways compile native
	method wrappers in the root domain, since there can only be one
	instance of them, whose address is stored in method->info.

svn path=/trunk/mono/; revision=19360
2003-10-24 15:05:00 +00:00
Zoltan Varga 2585b58da1 2003-10-24 Zoltan Varga <[email protected]>
* interp.c: Update after appdomain changes.

svn path=/trunk/mono/; revision=19359
2003-10-24 15:01:35 +00:00
Zoltan Varga 0dc3af2536 2003-10-24 Zoltan Varga <[email protected]>
* object.c (mono_class_proxy_vtable): Run the whole vtable construction
	inside the domain lock. Fixes #49993.

	* object.c (mono_class_vtable): When typed allocation is used,
	allocate vtables in the GC heap instead of in the mempool, since the
	vtables contain GC descriptors which are used by the collector even
	after the domain owning the mempool is unloaded.

	* domain.c (mono_domain_set): Rename to mono_domain_set_internal.

	* domain.c (mono_domain_unload): Rename to mono_domain_free to better
	reflect what it does. Also invalidate mempools instead of freeing
	them if a define is set.

	* appdomain.h (MonoAppDomainState): New enumeration to hold the state
	of the appdomain.

	* appdomain.h (_MonoDomain): New field 'finalizable_object_hash' to
	hold the finalizable objects in this domain.

	* appdomain.h (_MonoDomain): New field 'state' to hold the state of the
	appdomain.

	* appdomain.c (mono_domain_set): New function to set the current
	appdomain, but only if it is not being unloaded.

	* appdomain.c threads.c threadpool.c object.c: Avoid entering an
	appdomain which is being unloaded.

	* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Prevent
	unloading of the root appdomain.

	* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain): New
	icall to execute a method in another appdomain. Intended as a
	replacement for InternalSetDomain, which can confuse the code
	generation in the JIT.

	* appdomain.c (mono_domain_is_unloading): New function to determine
	whenever an appdomain is unloading.

	* appdomain.c (mono_domain_unload): New function to correctly unload
	an appdomain.

	* assembly.c (mono_assembly_load_references): Check that an assembly
	does not references itself.

	* gc.c (mono_domain_finalize): Rewrote so instead of finalizing a
	domain manually, it asks the finalizer thread to do it, then waits for
	the result. Also added a timeout.

	* icall.c: Register the new icalls.

	* threads.h threads.c: Export the mono_gc_stop_world and
	mono_gc_start_world functions.

svn path=/trunk/mono/; revision=19358
2003-10-24 14:59:58 +00:00
Zoltan Varga 650536c13f 2003-10-24 Zoltan Varga <[email protected]>
* mempool.h mempool.c (mono_mempool_invalidate): New debugging
	function to fill out the mempool with 0x2a.

svn path=/trunk/mono/; revision=19357
2003-10-24 14:27:24 +00:00
Miguel de Icaza 3e39cb19b2 Update
svn path=/trunk/mono/; revision=19356
2003-10-24 10:54:59 +00:00
Pedro Martínez Juliá 0387cfe3f0 2003-10-24 Pedro Mart�nez Juli� <[email protected]>
* DateTime.cs: When handling '-' as a date separator, MS.NET uses
    the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).

svn path=/trunk/mcs/; revision=19355
2003-10-24 10:33:10 +00:00
Miguel de Icaza 52bad3e3db In Short:
Updated System.Drawing, lots of cleanups.
	Added JPEG encoder/decoder back to Bitmap.
	We can load and save images again.
	Still need work to support all formats, everywhere
	PNG codec broken (but at least its plugged back).

2003-10-23  Miguel de Icaza  <[email protected]>

	* bitmap.c (GdipCreateBitmapFromScan0): Do not allocate buffer
	here, expect that our caller to allocate that.

	Do not compute the stride here, expect our caller to do this
	properly.

	* Use the Mono coding conventions.

2003-10-23  Miguel de Icaza  <[email protected]>

	* Image.cs: Kill the InternalImageInfo, everything is now done in
	terms of Image and BitmapData.

	* Rectangle.cs: Make this one also sequential, change from using
	Point + Size to use x, y, width, height;  So we can use GdiPlus.

	* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
	BitmapData class argument, and instead use the [In,Out]
	attributes, which will do struct marshalling on the fields.   Now
	we can use C#'s BitmapData directly to talk to Gdiplus.

	* gdipStructs.cs: Every internal structure that has to talk to
	Gdi+ is properly prefixed, to minimize the confussion.

	* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
	Compute the stride here where we have the BPP information,
	allocate a buffer of the proper size, and pass this to
	GdipCreateBitmapFromScan0

	* Image.cs: Implement Dispose pattern.

2003-10-23  Miguel de Icaza  <[email protected]>

	* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
	we will just have the JPEG library copy directly into our buffer.

	(Encode, Decode): Ported to the new model which avoid copies, and
	eliminates InternalImageInfo.

	TODO: need to port the PNG coder/decoder, and add support for RGBA
	images which got dropped from this version

	* BmpCodec.cs: Rework this one to use BitmapData and Image.  Do
	not use the RawBytes property, instead pull the data one line at a
	time, and write that out.

	* ImageCodecInfo.cs: Make the encoding and decoding delegates take
	a Image parameter;

	* BmpCodec.cs:

	* BitmapData.cs: Make this one sequential, and also mimic the
	layout of GdiPlus.h so we can use this instead of making copies
	back and forth.

svn path=/trunk/mcs/; revision=19354
2003-10-24 05:05:30 +00:00
Miguel de Icaza ea605f882b Display location for error
svn path=/trunk/mcs/; revision=19353
2003-10-24 04:57:54 +00:00
Miguel de Icaza 7433596cf0 Improve test to expose bug
svn path=/trunk/mono/; revision=19352
2003-10-24 04:46:10 +00:00
Ben Maurer 2387ae2785 render the next month button so that aligns to the right
svn path=/trunk/mcs/; revision=19350
2003-10-23 22:41:39 +00:00
Atsushi Eno ad61e1376b 2003-10-23 Atsushi Enomoto <[email protected]>
* XsdParticleValidationState.cs : Default content processing shoule be
	  lax.
	* XsdValidatingReader.cs : If there is no trial to get schemas for
	  namespaces, then validation against such namespace should be failed.
	  It now uses XmlSchemaAttribute.ValidatedUse instead of .Use.
	* XsdWildcard.cs : Fixed incorrect intersection computing.

svn path=/trunk/mcs/; revision=19348
2003-10-23 16:02:08 +00:00
Atsushi Eno 3131a7917e 2003-10-23 Atsushi Enomoto <[email protected]>
* XmlSchemaAll.cs,
	  XmlSchemaChoice.cs,
	  XmlSchemaGroupBase.cs,
	  XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
	* XmlSchemaAny.cs,
	  XmlSchemaElement.cs,
	  XmlSchemaGroupBase.cs,
	  XmlSchemaGroupRef.cs,
	  XmlSchemaParticle.cs,
	  XmlSchemaSequence.cs : Added ParticleEquals() method to compare
	  whether the particles are equal in the context of WXS part 1 - 3.9.6.
	* XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
	* XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
	  responsibility on this class.
	  Added ValidateWildcardAllowsNamespaceName().
	* XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
	  compilation value of "Use".
	* XmlSchemaAttributeGroup.cs,
	  XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
	  classes) since there is no more errors on attribute stuff ;-)
	* XmlSchemaComplexType.cs : complex content extension must block
	  derivation from any built-in primitive types.
	  Fixed wildcard derivation by restriction.
	  ValidateDerivationByRestriction() now checks attribute related
	  validity of DBR (derivation by restriction).
	  Now uses ParticleEquals() for particle DBR check.
	* XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.

svn path=/trunk/mcs/; revision=19347
2003-10-23 16:01:27 +00:00
Gonzalo Paniagua Javier 5c1bbc36cc Removed duplicate file name
svn path=/trunk/mcs/; revision=19346
2003-10-23 14:15:22 +00:00
Gonzalo Paniagua Javier 1361486ade 2003-10-23 Gonzalo Paniagua Javier <[email protected]>
* BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
	was just changing && by || after the first Match.

svn path=/trunk/mcs/; revision=19345
2003-10-23 13:17:01 +00:00
Carlos Guzmán Álvarez 9115573593 Added changelog file
svn path=/trunk/mcs/; revision=19344
2003-10-23 11:43:37 +00:00
Carlos Guzmán Álvarez 93adf00331 Added new files to build script
svn path=/trunk/mcs/; revision=19343
2003-10-23 11:42:11 +00:00
Carlos Guzmán Álvarez 60e3ec4fd6 Removed AssemblyInfo.cs file
svn path=/trunk/mcs/; revision=19342
2003-10-23 11:39:46 +00:00
Carlos Guzmán Álvarez 56cdd26026 TlsAbstractCipherSuite.cs renamed as CipherSuite.cs
svn path=/trunk/mcs/; revision=19341
2003-10-23 11:38:44 +00:00
Carlos Guzmán Álvarez 31f2dc06ab Updated ChangeLog
svn path=/trunk/mcs/; revision=19340
2003-10-23 11:36:02 +00:00
Carlos Guzmán Álvarez 11bec5fff7 Added partial implementation of SSL3 protocol (not finished yet). Renamed TlsAbstractCipherSuite.cs to CipherSuite.cs. Renamed TlsAbstractCipherSuite class as CipherSuite
svn path=/trunk/mcs/; revision=19339
2003-10-23 11:35:12 +00:00
Lluis Sanchez aa1eeeea39 * CrossAppDomainChannel.cs: Before the domain switch, save and reset
thread's datastore. Restore it on return. This fixes bug #49774.

svn path=/trunk/mcs/; revision=19338
2003-10-23 11:34:21 +00:00
Lluis Sanchez 078afb0d64 * MethodCall.cs: In the constructor that takes a CADMethodCallMessage
object, make sure strings are not reused across domains.

svn path=/trunk/mcs/; revision=19337
2003-10-23 11:33:50 +00:00
Lluis Sanchez ff0fa8bc92 * Thread.cs: Added ResetDataStoreStatus and RestoreDataStoreStatus
methods. They are used in CrossAppDomainChannel to save and restore
	  thread's local data when switching between domains.

svn path=/trunk/mcs/; revision=19336
2003-10-23 11:33:19 +00:00
Lluis Sanchez 455a084a54 * RemotingServices.cs: Do not create an identity for an object if it
already has one.

svn path=/trunk/mcs/; revision=19335
2003-10-23 11:15:52 +00:00
Gonzalo Paniagua Javier be00ef4851 2003-10-23 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
	Patch by Yaron Shkop.

svn path=/trunk/mcs/; revision=19334
2003-10-23 10:11:40 +00:00
Jackson Harper 138f7fd007 * main.c: Use escaped names for method, and type names. Initialize
the name table.
	* main.c (visibility_map): Fix typo, should be nested family not
	family
	* main.c (dis_data): Use uppercase hex to avoid name conflicts.
	* get.c/get.h: New method to get an escaped name. This method will
	take a name and escape it if it is an ilasm keyword, or uses a non
	id char. Use escaped names for type, method, field, and parameter names.
	* get.c (get_typespec): A typespec can be used for anything, so we
	need to handle all types not just modified types.
	* get.c (dis_stringify_object_with_class): Handle nested classes
	* get.c (get_token): Add field keyword to field tokens.

svn path=/trunk/mono/; revision=19333
2003-10-23 07:37:05 +00:00
Miguel de Icaza c199e862fe 2003-10-23 Miguel de Icaza <[email protected]>
* Image.cs: Implement Dispose pattern.

svn path=/trunk/mcs/; revision=19332
2003-10-23 05:11:35 +00:00
Sebastien Pouliot 33b0918f14 2003-10-22 Sebastien Pouliot <[email protected]>
* NonceTest.cs: New. Unit tests for Nonce. The tests will only work for
	WSE2 (as WSE1 Nonce constructor are internal)

svn path=/trunk/mcs/; revision=19331
2003-10-23 02:47:03 +00:00
Sebastien Pouliot 69ec0b4503 2003-10-22 Sebastien Pouliot <[email protected]>
* Nonce.cs: Added WSE2 support so I could include the unit tests.

svn path=/trunk/mcs/; revision=19330
2003-10-23 02:43:24 +00:00
César Natarén d1ce02d4a6 ChangeLog entry
svn path=/trunk/mcs/; revision=19329
2003-10-23 01:49:35 +00:00
Sebastien Pouliot a0ed0a65e9 2003-10-22 Sebastien Pouliot <[email protected]>
* SecurityTokenReferenceTest.cs: New. Unit tests for SecurityTokenReference.

svn path=/trunk/mcs/; revision=19328
2003-10-23 01:49:21 +00:00
Sebastien Pouliot 1eb6d1ed79 2003-10-22 Sebastien Pouliot <[email protected]>
* SecurityTokenReference.cs: Completed implementation.

svn path=/trunk/mcs/; revision=19327
2003-10-23 01:47:00 +00:00
César Natarén 507ff23878 2003-10-22 cesar lopez nataren <[email protected]>
* statement.cs: added Return class.

	* Throw.cs: Added expression field, constructor and ToString.

svn path=/trunk/mcs/; revision=19326
2003-10-23 01:46:39 +00:00
César Natarén 1a557c1d84 2003-10-22 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: Allow return_stm and throw_stm tree
	building.

svn path=/trunk/mcs/; revision=19325
2003-10-23 01:41:23 +00:00
César Natarén 7f14374863 2003-10-22 cesar lopez nataren <[email protected]>
* With.cs: added constructor and ToString. Back to the non-tmp
	namespace.

	* jscript-parser-lexer.g: allow with_stm tree building.

svn path=/trunk/mcs/; revision=19324
2003-10-23 01:00:56 +00:00
Sebastien Pouliot 73e4554e25 2003-10-22 Sebastien Pouliot <[email protected]>
* KeyIdentifierTest.cs: New. Unit tests for KeyIdentifier.

svn path=/trunk/mcs/; revision=19323
2003-10-23 00:42:04 +00:00
César Natarén 6f570f7ef9 2003-10-22 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: changed the return type from if_stm from
	'If' to AST. Added tree for continue_stm. Allowed building of
	Break tree.

	* statement.cs: switched to internal 'If' class. Added Continue
	class. Added Break class.

svn path=/trunk/mcs/; revision=19322
2003-10-23 00:40:13 +00:00
Sebastien Pouliot f28f6ff556 2003-10-22 Sebastien Pouliot <[email protected]>
* KeyIdentifier.cs: Completed implementation.

svn path=/trunk/mcs/; revision=19321
2003-10-23 00:37:04 +00:00
Sebastien Pouliot 4caa4a7a1b 2003-10-22 Sebastien Pouliot <[email protected]>
* SoapContext.cs: Fixed compilation for WSE1 (CS0118).

svn path=/trunk/mcs/; revision=19320
2003-10-23 00:35:02 +00:00
César Natarén 0e1d95e809 updates from grammar changes
svn path=/trunk/mcs/; revision=19318
2003-10-22 23:33:35 +00:00
César Natarén 924021d878 updates for function_decl_or_expr tree building
svn path=/trunk/mcs/; revision=19317
2003-10-22 23:31:22 +00:00
César Natarén 59bd996b1f 2003-10-22 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: build tree for function decl or expr.

svn path=/trunk/mcs/; revision=19316
2003-10-22 23:23:43 +00:00
César Natarén 6b6627139c 2003-10-22 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: added building tree for if_stm.
	* Statement.cs: Added if class for 'if' statement.

svn path=/trunk/mcs/; revision=19315
2003-10-22 21:48:59 +00:00
Duncan Mak 6e3b2087c9 2003-10-20 Duncan Mak <[email protected]>
* Delegate.cs (CreateDelegate): Avoid creating an extra Type array
	and merge the two iterations into one.

svn path=/trunk/mcs/; revision=19312
2003-10-22 20:56:35 +00:00
Lluis Sanchez 8b83ce067f * Methods.cs: Class Fault is now public, so it can be serialized.
svn path=/trunk/mcs/; revision=19311
2003-10-22 20:38:15 +00:00
Todd Berman 942cd824b5 2003-10-22 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added SoapDimeFormatter.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapChannelCollection.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapChannel.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapTransport.cs
        * Microsoft.Web.Services.dll.2.sources: Added MessagingConfiguration.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapPlainFormatter.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapTcpTransport.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapTcpChannel.cs
        * Microsoft.Web.Services.dll.2.sources: Added SoapTcpListener.cs
        * Microsoft.Web.Services.dll.2.sources: Added AsyncResult.cs

svn path=/trunk/mcs/; revision=19309
2003-10-22 18:16:39 +00:00
Todd Berman 276e846c0b 2003-10-22 Todd Berman <[email protected]>
* SoapContext.cs: Added Addressing objects, SetActor, SetTo,
        Processed, SetIsInbound and SetProcessed.
        * SoapEnvelope.cs: Added Encoding, Processed and SetProcessed and
        fixed up Save (string)
        * AsyncResult.cs: Basic Implementation for WSE2 (not for WSE1 yet).

svn path=/trunk/mcs/; revision=19308
2003-10-22 18:15:35 +00:00
Todd Berman 5992e52851 2003-10-22 Todd Berman <[email protected]>
* WebServicesConfiguartion.cs: Added MessagingConfiguration
        * FilterConfiguration.cs: #if'd out some stuff breaking wse2

svn path=/trunk/mcs/; revision=19307
2003-10-22 18:14:10 +00:00
Todd Berman 36369647b2 2003-10-22 Todd Berman <[email protected]>
* SoapPort.cs: Implemented.
        * MessagingConfiguration.cs: Inital implementation, missing
	Load ()
        * SoapTransport.cs: Implemented.
        * SoapChannelCollection.cs: Implemented.
        * SoapChannel.cs: Implemented.
        * SoapPlainFormatter.cs: Implemented.
        * SoapTcpChannel.cs: Implemented.
        * SoapTcpListener.cs: Implemented.
        * SoapTcpTransport.cs: Implemented.
        * SoapReceiver.cs: Initial implementation.
        * SoapReceivers.cs: Initial implementation.
        * SoapSender.cs: Initial implementation.
        * SoapDimeFormatter.cs: basic stubs.
        * ChangeLog: Added.

svn path=/trunk/mcs/; revision=19306
2003-10-22 18:12:23 +00:00
Todd Berman 6da123a3fc 2003-10-22 Todd Berman <[email protected]>
* TimestampOutputFilter.cs: WSE2 Runtime fix

svn path=/trunk/mcs/; revision=19305
2003-10-22 18:10:44 +00:00
Todd Berman 2bc272925f 2003-10-22 Todd Berman <[email protected]>
* RoutingOutputFilter.cs: Quick WSE2 hack for the To and Action fields,
        still needs a lot of implementation.

svn path=/trunk/mcs/; revision=19304
2003-10-22 18:10:05 +00:00
Dick Porter 82e24fc6de 2003-10-22 Dick Porter <[email protected]>
* DateTime.cs: Handle '-' as a date separator when parsing formats.

svn path=/trunk/mcs/; revision=19301
2003-10-22 14:46:13 +00:00
Dick Porter 0e189be0c9 2003-10-22 Dick Porter <[email protected]>
* platforms/win32.make:
	* platforms/linux.make:
	* rules.make: Added RESGEN platform-specific tool.

svn path=/trunk/mcs/; revision=19300
2003-10-22 14:23:54 +00:00
Gonzalo Paniagua Javier cab270a6d2 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: added AssemblyLocation property.

	* System.Web.UI/DesignTimeTemplateParser.cs: added FIXME related to
	PageParser.

	* System.Web.UI/PageParser.cs: initialize the parser in the constructor,
	not just before compiling and reference the application assembly.

	* System.Web.UI/SimpleWebHandlerParser.cs: reference the assembly that
	contains the application Type.

	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI/TemplateControlParser.cs: fix BenM #1 bug. Now we pass
	correct virtual path and physical path when compiling a user control.

	* System.Web.UI/TemplateParser.cs: new AddApplicationAssembly ().
	* System.Web.UI/UserControlParser.cs: now we get valid values in the
	ctor.

	Referencing the application assembly fixes bug #49652.

svn path=/trunk/mcs/; revision=19299
2003-10-22 12:06:00 +00:00
Zoltan Varga 792311e5fc 2003-10-22 Zoltan Varga <[email protected]>
* reflection.h (MonoReflectionMethodAux): New structure to store
	information which is rarely used, thus is not in the MonoMethod
	structure.

	* reflection.h (MonoDynamicAssembly): New field 'method_aux_hash' to
	store the aux info.

	* reflection.c (mono_methodbuilder_to_mono_method): Store param names
	and marshalling info into the aux structure.

	* loader.c (mono_method_get_marshal_info): Retrieve the marshal info
	from the aux structure.

	* loader.c (mono_method_get_param_names): Retrieve the param names from
	the aux structure.

svn path=/trunk/mono/; revision=19298
2003-10-22 11:05:27 +00:00
Gonzalo Paniagua Javier 7238a3154a 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: applied patch from Yaron Shkop ([email protected])
	that fixes bug #49744. Now the selection doesn't lose its data.

svn path=/trunk/mcs/; revision=19297
2003-10-22 09:24:31 +00:00
Eran Domb c22d01324e *** empty log message ***
svn path=/trunk/mcs/; revision=19295
2003-10-22 06:48:25 +00:00
Eran Domb 346c172fb4 *** empty log message ***
svn path=/trunk/mcs/; revision=19294
2003-10-22 06:13:36 +00:00
Eran Domb f11ff98804 *** empty log message ***
svn path=/trunk/mcs/; revision=19293
2003-10-22 05:55:54 +00:00
Eran Domb f3bafcf3c7 *** empty log message ***
svn path=/trunk/mcs/; revision=19292
2003-10-22 05:46:31 +00:00
Ben Maurer 9d108aea01 2003-10-21 Ben Maurer <[email protected]>
* EditCommandColumn.cs: Implement; fix #49736

svn path=/trunk/mcs/; revision=19291
2003-10-22 02:41:57 +00:00
César Natarén 9115c1fb5f 2003-10-21 cesar lopez nataren <[email protected]>
* VariableDeclaration.cs: added the initializer to ToString.

svn path=/trunk/mcs/; revision=19290
2003-10-22 01:04:38 +00:00
César Natarén 94abe7d43f added expression.cs to the build
svn path=/trunk/mcs/; revision=19289
2003-10-22 00:41:45 +00:00
John Luke a4bd6b1f10 pubDate, not pubdate
svn path=/trunk/mono/; revision=19288
2003-10-22 00:41:22 +00:00
Ben Maurer 27cddd2f9e 2003-10-21 Ben Maurer <[email protected]>
* ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
	the forground color. bug #49738

svn path=/trunk/mcs/; revision=19287
2003-10-22 00:14:13 +00:00
Miguel de Icaza 6a285d0c6d Flush
svn path=/trunk/mono/; revision=19286
2003-10-22 00:11:25 +00:00
Gonzalo Paniagua Javier fecbe323a9 2003-10-22 Gonzalo Paniagua Javier <[email protected]>
* RemotingServices.cs: (NewUri) use Interlocked.Increment on next_id.

svn path=/trunk/mcs/; revision=19285
2003-10-22 00:05:04 +00:00
John Luke 8e6e44621e add pubdate support to rss (needs a way to track year)
svn path=/trunk/mono/; revision=19284
2003-10-21 23:39:20 +00:00
César Natarén 40c51616da all code related to expressions will go here. added expression.cs
svn path=/trunk/mcs/; revision=19283
2003-10-21 21:43:46 +00:00
Gonzalo Paniagua Javier 4f4db5ab86 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
	a return statement for user controls with 'void' return type.

svn path=/trunk/mcs/; revision=19282
2003-10-21 21:35:45 +00:00
César Natarén 881dc0e34e 2003-10-21 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: Allow "christmas trees" (aka expression
	trees) building.

	* Block.cs, Equality.cs, Relational.cs: modified ToString

	* Equality.cs, Relational.cs, StringLiteral.cs,
	VariableDeclaration.cs: Added constructor

	* VariableStatement.cs, ScriptBlock.cs: changed from hungarian
	name convetion style to mono style.

	* UnaryOp.cs: added operator and operand fields.

	* VariableDeclaration.cs: chenged field name from assignExp to val.

	*  BinaryOp.cs: Made "internal" the attributes, added the two
	operators holders.

	* JScriptLexer.cs, JScriptParser.cs, JScriptParserokenTypes.cs,: updates from grammar changes.

	* driver.cs: Dump the string representation of the parsed exps.

	* Literal.cs:  added BooleanLiteral

	* Relational.cs: added constructor, ToString,

svn path=/trunk/mcs/; revision=19281
2003-10-21 21:35:42 +00:00
César Natarén bb792c06ca 2003-10-21 cesar lopez nataren <[email protected]>
* jscript-lexer-parser.g: Allow "christmas trees" (aka expression
	trees) building.

svn path=/trunk/mcs/; revision=19279
2003-10-21 20:52:30 +00:00
César Natarén ea6be38075 2003-10-21 cesar lopez nataren <[email protected]>
*  BinaryOp.cs: Made "internal" the attributes, added the two
	operators holders.

svn path=/trunk/mcs/; revision=19278
2003-10-21 20:40:33 +00:00
Atsushi Eno d62a8e525e 2003-10-21 Atsushi Enomoto <[email protected]>
* XsdKeyTable.cs : Reduced compilation warning.
	* XsdParticleValidationState.cs : Reduced NotImplementedException.
	* XsdValidatingReader.cs : Removed XmlResolver. Implemented more simple
	  type validation, such as list, union and facets.

svn path=/trunk/mcs/; revision=19277
2003-10-21 17:09:32 +00:00
Atsushi Eno 4a7ecc7b29 2003-10-21 Atsushi Enomoto <[email protected]>
* XmlSchema.cs,
	  XmlSchemaUtil.cs : Reduced warning message.
	* XmlSchemaAttribute.cs : NotImplementedException should no more exist.
	  (All things are going to be implemented.)
	* BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
	* XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
	  list type derivation validation. Added Normalize().
	* XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
	  with anySimpleType.
	* XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
	  such as pattern, enumeration, and length etc.

svn path=/trunk/mcs/; revision=19276
2003-10-21 17:05:36 +00:00
Lluis Sanchez 510f84be77 * SerializationInfo.cs: Fixed bug in GetValue. Use IsAssignableFrom instead
of IsSubclass, since the type can be an interface.

svn path=/trunk/mcs/; revision=19275
2003-10-21 16:21:18 +00:00
Gonzalo Paniagua Javier c3db274dde fix deserialization. thanks to lluis.
svn path=/trunk/mcs/; revision=19274
2003-10-21 16:06:02 +00:00
Lluis Sanchez be9dcf6a08 * RealProxy.cs: In PrivateInvoke() do not try to return the out parameters
if the return message is an excption. This fixes bug #49926.

svn path=/trunk/mcs/; revision=19272
2003-10-21 15:26:56 +00:00
Gonzalo Paniagua Javier 0e4fb590ea 2 typos in error message
svn path=/trunk/mcs/; revision=19271
2003-10-21 15:16:39 +00:00
Zoltan Varga d5200e4fcb 2003-10-21 Zoltan Varga <[email protected]>
* exception.h exception.c: Add AppDomainUnloadedException && fix
	warning.

svn path=/trunk/mono/; revision=19270
2003-10-21 14:03:43 +00:00
Gonzalo Paniagua Javier 228cdd48c0 Fix typo when locking
svn path=/trunk/mcs/; revision=19269
2003-10-21 13:28:41 +00:00
Dick Porter 706d2ef028 2003-10-21 Dick Porter <[email protected]>
* TextInfo.cs:
	* CultureInfo.cs: Implement TextInfo.GetHashCode().  Fixes bug
	49923.

svn path=/trunk/mcs/; revision=19268
2003-10-21 13:10:26 +00:00
Dick Porter 6814d9afee 2003-10-21 Dick Porter <[email protected]>
* socket-io.c
	(ves_icall_System_Net_Sockets_Socket_Select_internal): Applied
	patch from Laramie Leavitt moving divide out of loop. (Bug 45381).

svn path=/trunk/mono/; revision=19267
2003-10-21 12:54:04 +00:00
Carlos Guzmán Álvarez 37908f265f Updated ChangeLog
svn path=/trunk/mcs/; revision=19266
2003-10-21 12:18:50 +00:00
Carlos Guzmán Álvarez 8891ce14d4 *** empty log message ***
svn path=/trunk/mcs/; revision=19265
2003-10-21 12:18:16 +00:00
Gonzalo Paniagua Javier 43f3a01c49 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
* NameObjectCollectionBase.cs: added serialization support.

svn path=/trunk/mcs/; revision=19264
2003-10-21 10:54:22 +00:00
Paolo Molaro 6d45bb31a5 Tue Oct 21 12:01:14 CEST 2003 Paolo Molaro <[email protected]>
* atomic.h: some ppc inline asm fixes (incorrect use of labels,
	incorrect register constraints, incorrect clobber lists).

svn path=/trunk/mono/; revision=19263
2003-10-21 10:15:02 +00:00
Martin Baulig 2e6558d157 2003-10-21 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters):
	`klass->parent' is NULL for interfaces.

svn path=/trunk/mono/; revision=19262
2003-10-21 05:30:56 +00:00
Nick Drochak 8d4df80c84 2003-10-21 Nick Drochak <[email protected]>
* FileIOPermissionAttributeTest.cs: Handle Short File Name vs. Long
	File Name messiness.  This probably needs to be worked on for the
	tests to work on Linux, etc.

svn path=/trunk/mcs/; revision=19260
2003-10-21 05:08:46 +00:00
Nick Drochak afa5c9297a 2003-10-21 Nick Drochak <[email protected]>
* BufferedSTreamTest.cs: Make TearDown smarter about possible
	null member value.

svn path=/trunk/mcs/; revision=19259
2003-10-21 05:04:36 +00:00
Martin Baulig a027bab66d New generics test.
svn path=/trunk/mcs/; revision=19258
2003-10-21 04:50:28 +00:00
Martin Baulig 0b1d26f2dc 2003-10-21 Martin Baulig <[email protected]>
* convert.cs: Use `TypeManager.IsValueType' instead of
	'type.IsValueType' everywhere.

	* typemanager.cs (TypeManager.IsValueType): Return true for type
	parameters.  The reason for this is that we need to box a type
	parameter when converting it to a reference type.

	* cs-parser.jay: Added support for default value expressions.

	* generics.cs (DefaultValueExpression): New public class.

svn path=/trunk/mcs/; revision=19257
2003-10-21 04:50:04 +00:00
Martin Baulig 8d2076e147 2003-10-21 Martin Baulig <[email protected]>
* reflection.c (create_typespec): Added MONO_TYPE_VAR and MONO_TYPE_MVAR.

svn path=/trunk/mono/; revision=19256
2003-10-21 04:40:35 +00:00
Pedro Martínez Juliá 0b1fd919ef 2003-10-21 Pedro Mart�nez Juli� <[email protected]>
* Makefile: Removed Mono.Security.Tls.

    * Mono.Security.Tls: Removed directory, now TLS support is in
    Mono.Security assembly.

svn path=/trunk/mcs/; revision=19255
2003-10-21 04:10:20 +00:00
Dave Bettin 9daab44c54 o Implemented GetHashCode for UsernameToken and X509SecurityToken
o WSE2 fixes for build

svn path=/trunk/mcs/; revision=19254
2003-10-21 03:58:31 +00:00
Dave Bettin 4467ca4806 o fixes for windows build
svn path=/trunk/mcs/; revision=19253
2003-10-21 03:56:55 +00:00
Jackson Harper 542b925bf3 * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
the member ref table.

svn path=/trunk/mono/; revision=19252
2003-10-21 03:44:56 +00:00
Sebastien Pouliot b3d6e04dfd 2003-10-20 Sebastien Pouliot <[email protected]>
* EncryptedKeyTest.cs: New. Unit tests for EncryptedKey.

svn path=/trunk/mcs/; revision=19251
2003-10-21 02:52:00 +00:00
Sebastien Pouliot 11cc3c9b1b 2003-10-20 Sebastien Pouliot <[email protected]>
* AsymmetricEncryptionKey.cs: Added internal property to get the AsymmetricAlgorithm object.
	* EncryptedKey.cs: Almost complete (still lacking LoadXml).
	* SymmetricEncryptionKey.cs: Added internal property to get

svn path=/trunk/mcs/; revision=19250
2003-10-21 02:50:03 +00:00
Ben Maurer 94bca7da7e add some .cvsignore files
svn path=/trunk/mcs/; revision=19249
2003-10-21 02:41:43 +00:00
Ben Maurer 516646b1fb Lots-o-stubbing
svn path=/trunk/mcs/; revision=19248
2003-10-21 02:39:58 +00:00
Martin Baulig 56b43c16d1 2003-10-21 Martin Baulig <[email protected]>
* get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.

svn path=/trunk/mono/; revision=19247
2003-10-21 01:42:16 +00:00
Martin Baulig 797484763e Improved error checking a bit.
svn path=/trunk/mcs/; revision=19246
2003-10-21 00:40:00 +00:00
Lluis Sanchez 17dc653a68 * ServiceDescription.cs: Fixed implementation of CanRead.
svn path=/trunk/mcs/; revision=19245
2003-10-21 00:16:52 +00:00
Lluis Sanchez b34e28a314 * DiscoveryClientProtocol.cs: Fixed little bug in DiscoverAny.
svn path=/trunk/mcs/; revision=19244
2003-10-21 00:14:07 +00:00
Lluis Sanchez 3a8e1af2aa Added disco tool
svn path=/trunk/mono/; revision=19243
2003-10-21 00:03:59 +00:00
Lluis Sanchez 6f8a2013b6 * Makefile: Added disco directory.
svn path=/trunk/mcs/; revision=19242
2003-10-20 23:40:19 +00:00
Sebastien Pouliot 44a1df4372 2003-10-20 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
	This file is for TLS not for the complete Mono.Security assembly.

svn path=/trunk/mcs/; revision=19241
2003-10-20 23:36:25 +00:00
Duncan Mak afce00e672 Added TlsAbstractCipherSuite.cs, TlsCipherSuiteFactory.cs and
TlsCompressMethod.cs. This fixes the build.

svn path=/trunk/mcs/; revision=19240
2003-10-20 23:24:38 +00:00
Lluis Sanchez f9d7ff25d2 * ReflectionHelper.cs: In CheckSerializableType() check that the type
is public.
	* XmlSerializationWriter.cs: Added check for circular references.
	  This fixes bug #49879.

svn path=/trunk/mcs/; revision=19239
2003-10-20 23:10:14 +00:00
Miguel de Icaza 3e7713768a 2003-10-20 Miguel de Icaza <[email protected]>
* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
	pattern.  It was shutting down the managed resources even in the
	finalizer case, it should only do that when called from
	IDisposable.Dipose.

svn path=/trunk/mcs/; revision=19238
2003-10-20 22:16:28 +00:00
Carlos Guzmán Álvarez 21a24d581f *** empty log message ***
svn path=/trunk/mcs/; revision=19237
2003-10-20 22:14:35 +00:00
Carlos Guzmán Álvarez ff68d9f929 Updated Changelog
svn path=/trunk/mcs/; revision=19236
2003-10-20 22:13:56 +00:00
Jordi Mas i Hernandez 948835ccf3 adding jordi as contributor
svn path=/trunk/mono/; revision=19234
2003-10-20 21:50:36 +00:00
Carlos Guzmán Álvarez 031961437c Recommit change done by Pedro
svn path=/trunk/mcs/; revision=19233
2003-10-20 21:49:42 +00:00
Carlos Guzmán Álvarez 3b7f831155 Updated Changelog
svn path=/trunk/mcs/; revision=19232
2003-10-20 21:46:08 +00:00
Carlos Guzmán Álvarez 0af29dbb26 Sync file
svn path=/trunk/mcs/; revision=19231
2003-10-20 21:32:34 +00:00
Carlos Guzmán Álvarez 6315d811a2 Fill and parse message replace by specific process method for each protocol supported
svn path=/trunk/mcs/; revision=19230
2003-10-20 21:29:23 +00:00
Carlos Guzmán Álvarez b2268df536 Updated file
svn path=/trunk/mcs/; revision=19228
2003-10-20 21:24:51 +00:00
Carlos Guzmán Álvarez a3197baac6 Added new CompressionMethod property
svn path=/trunk/mcs/; revision=19227
2003-10-20 21:19:50 +00:00
Carlos Guzmán Álvarez 799a26475a Updated CompressionMethod property of session context
svn path=/trunk/mcs/; revision=19226
2003-10-20 21:19:26 +00:00
Carlos Guzmán Álvarez 5eb38e8832 Static method moved to TlsCipherSuiteFactory class
svn path=/trunk/mcs/; revision=19225
2003-10-20 21:16:50 +00:00
Carlos Guzmán Álvarez 97d5c98a91 TlsCipherSuite now inhers from TlsAbstractCipherSuite class, fixed problem with padding length calculation with new AES cipher suites
svn path=/trunk/mcs/; revision=19224
2003-10-20 21:16:08 +00:00
Carlos Guzmán Álvarez 222be727b7 Added new enumeration for TLS compression methods
svn path=/trunk/mcs/; revision=19223
2003-10-20 21:14:00 +00:00
Carlos Guzmán Álvarez a847e0bc62 Added new Factory class for Cipher Suites
svn path=/trunk/mcs/; revision=19222
2003-10-20 21:11:51 +00:00
Carlos Guzmán Álvarez 90c36ed6f4 Added new class for SSL3 Cipher Suites
svn path=/trunk/mcs/; revision=19221
2003-10-20 21:09:31 +00:00
Carlos Guzmán Álvarez 77b885d632 Added new abstract base class for cipher suite implementations
svn path=/trunk/mcs/; revision=19220
2003-10-20 21:07:53 +00:00
Carlos Guzmán Álvarez 87b34c80b3 Added my information of mono contributor
svn path=/trunk/mono/; revision=19219
2003-10-20 20:33:50 +00:00
Jordi Mas i Hernandez f3412edc54 added default form to show unhandled exceptions
svn path=/trunk/mcs/; revision=19218
2003-10-20 20:06:40 +00:00
Lluis Sanchez f97580db91 * disco.cs, Makefile, disco.exe.sources: New files. Initial implementation
of the Disco tool.

svn path=/trunk/mcs/; revision=19216
2003-10-20 19:28:39 +00:00
Miguel de Icaza b6761866e4 2003-10-20 Miguel de Icaza <[email protected]>
* FileStream.cs public FileStream (string name, FileMode mode)
	constructor: If we pass FileMode.Append, we can not pass
	FileAccess.ReadWrite.  This fixes bug 44959

svn path=/trunk/mcs/; revision=19215
2003-10-20 19:09:39 +00:00
Lluis Sanchez b1a7c11c21 * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
can't be serialized. This fixes bug #49878.
	* TypeData.cs: In ListItemType check that the collection has a valid
	  Add method and report an error if not.
	* XmlReflectionImporter.cs: Added CheckSerializableType check call when
	  reflecting a collection.

svn path=/trunk/mcs/; revision=19214
2003-10-20 18:41:46 +00:00
Zoltan Varga 512f47de0e 2003-10-20 Zoltan Varga <[email protected]>
* exception.c (mono_exception_from_name_msg): New helper function for
	creating exceptions and initializing their message field.

	* exception.c: Simplify functions using the new helper.

	* exception.h exception.c (mono_get_exception_cannot_unload_appdomain):
	New function.

svn path=/trunk/mono/; revision=19213
2003-10-20 18:38:56 +00:00
Miguel de Icaza 90dc9080fe Casting error bug fix: Applied patches from [email protected] (Jeff Seifert), that fix #49561
svn path=/trunk/mcs/; revision=19212
2003-10-20 18:36:36 +00:00
Miguel de Icaza d5f62264d4 Applied patch from [email protected] (Jeff Seifert), bug 49553
svn path=/trunk/mcs/; revision=19211
2003-10-20 18:34:53 +00:00
Pedro Martínez Juliá d05017b246 2003-10-20 Pedro Mart�nez Juli� <[email protected]>
* Mono.Security.dll.sources: Added references for Tls files.

svn path=/trunk/mcs/; revision=19210
2003-10-20 18:33:58 +00:00
Pedro Martínez Juliá 5de36aa02c 2003-10-20 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
    namespace is Mono.System.Protocol.Tls, before was
    System.Security.Tls.

    * Npgsql/Makefile: Change reference from System.Security.Tls to
    Mono.Security (now Tls lives there).

svn path=/trunk/mcs/; revision=19209
2003-10-20 18:32:07 +00:00
Miguel de Icaza dc262a4460 Update this too
svn path=/trunk/mcs/; revision=19208
2003-10-20 18:23:39 +00:00
Miguel de Icaza 652386640e Add generator
svn path=/trunk/mcs/; revision=19207
2003-10-20 18:23:06 +00:00
Miguel de Icaza febdde2f60 Applied patch from [email protected] (Hye-Shik Chang) that adds CP949 codec
svn path=/trunk/mcs/; revision=19206
2003-10-20 18:22:42 +00:00
Miguel de Icaza f831225c14 flush
svn path=/trunk/mono/; revision=19205
2003-10-20 18:14:17 +00:00
Miguel de Icaza e475a96892 Makefile fix
svn path=/trunk/mcs/; revision=19204
2003-10-20 18:06:25 +00:00
César Natarén 7d237044e9 If you want to help on the Mono Jscript .Net compiler effort, here is
a list of things where you can start helping with:

svn path=/trunk/mcs/; revision=19201
2003-10-20 17:01:26 +00:00
Lluis Sanchez ffbab3e37c Improved formatting of xml and code.
svn path=/trunk/mono/; revision=19199
2003-10-20 14:45:35 +00:00
Jordi Mas i Hernandez 40cdc01417 Initial PrintDialog implementation
svn path=/trunk/mcs/; revision=19198
2003-10-20 14:04:46 +00:00
Zoltan Varga eb6b7a75b3 2003-10-20 Zoltan Varga <[email protected]>
* object.h object.c: Remove G_GNUC_NORETURN from the signature of
	mono_raise_exception, since otherwise gcc doesn't generate the function
	epilog for raise_exception, confusing the stack unwinding in the JIT.
	Fixes #45043.

svn path=/trunk/mono/; revision=19197
2003-10-20 13:14:37 +00:00
Zoltan Varga 013d46082e 2003-10-20 Zoltan Varga <[email protected]>
* rawbuffer.c (mono_raw_buffer_load_mmap): Map mmap-ed memory with
	PROT_EXEC. This seems to prevent segmentation faults on Fedora Linux.
	Fixes #49499.

svn path=/trunk/mono/; revision=19196
2003-10-20 12:40:02 +00:00
Nick Drochak 625b27543e 2003-10-20 Nick Drochak <[email protected]>
* ecore.cs: Fix typo and build.  Needed another right paren.

svn path=/trunk/mcs/; revision=19195
2003-10-20 07:14:12 +00:00
Miguel de Icaza 9447e6918e 2003-10-19 Miguel de Icaza <[email protected]>
* ecore.cs: Applied fix from Ben Maurer.   We were handling in the
	`internal' case regular and protected, but not allowing protected
	to be evaluated later.  Bug 49840

svn path=/trunk/mcs/; revision=19193
2003-10-20 03:54:06 +00:00
Atsushi Eno 5c99816448 2003-10-19 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
	* XmlSchemaCollection.cs : Implemented CopyTo().
	* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
	  Added support for anySimpleType.
	* XmlSchemaSimpleType.cs : Type specification named as anyType should
	  be mapped to anySimpleType.
	* BUGS-MS.txt : Added more case note.

svn path=/trunk/mcs/; revision=19192
2003-10-19 14:09:22 +00:00
Atsushi Eno b8058c932d 2003-10-19 Atsushi Enomoto <[email protected]>
* XmlAttributeCollection.cs : Fixed synchronization stuff.
	* XmlConvert.cs : Added two FromBinHexString() methods.
	* XmlTextReader.cs : Modified to use one of the above method.
	* XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
	  disabled (in the next commit), so resolver won' be set to it.
	  Attempt to validate against XDR now throws NotSupportedException.

svn path=/trunk/mcs/; revision=19191
2003-10-19 13:56:55 +00:00
Gonzalo Paniagua Javier 8e8bf5df5c 2003-10-19 Joerg Rosenkranz <[email protected]>
* Tds.cs (GetStringValue): A string length of 0xFF (255) is not
	misinterpreted as special value anymore.

	This is a fix to bug #49835.

svn path=/trunk/mcs/; revision=19190
2003-10-19 11:16:59 +00:00
Jackson Harper 1b0294e202 * PEAPI.cs: Use bytes not bits for constant sizes.
svn path=/trunk/mcs/; revision=19189
2003-10-19 09:28:56 +00:00
Atsushi Eno d86a6f346b 2003-10-19 Atsushi Enomoto <[email protected]>
* XmlChar.cs : added WhitespaceChars, used in common.
	* XmlConvert.cs,
	  XmlDeclaration.cs,
	  XmlParserInput.cs,
	  XmlTextReader.cs,
	  XmlTextWriter.cs : String.Trim()
	* XmlConvert.cs : shifted XmlConstructs to XmlChar.
	* XmlTextReader.cs : Implemented Normalization.

svn path=/trunk/mcs/; revision=19188
2003-10-19 09:23:29 +00:00
Atsushi Eno c7fa9e9505 2003-10-19 Atsushi Enomoto <[email protected]>
* XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
	  GetNamespaceOfPrefix() fixed at 2003-10-13.
	* XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
	  which remained by previous call of this method.
	* XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
	* XmlValidatingReader.cs : Notice about intention of XDR won't be
	  supported (at least in Mono 1.0).

svn path=/trunk/mcs/; revision=19187
2003-10-19 04:47:46 +00:00
Miguel de Icaza b5e31ac34a Fix the ! operator for traces, and add N: to the trace factiliy
svn path=/trunk/mono/; revision=19186
2003-10-19 04:46:48 +00:00
Sebastien Pouliot 188fe92b29 2003-10-18 Sebastien Pouliot <[email protected]>
* X509SecurityTokenTest.cs: New. New. Unit tests for X509SecurityToken.

svn path=/trunk/mcs/; revision=19185
2003-10-19 03:10:14 +00:00
Gonzalo Paniagua Javier 79298ce383 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: fixed bug #49627.

svn path=/trunk/mcs/; revision=19183
2003-10-19 00:36:42 +00:00
Gonzalo Paniagua Javier d048878557 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: fixed bug #49727.

svn path=/trunk/mcs/; revision=19182
2003-10-19 00:20:59 +00:00
Ben Maurer 9c446422f4 2003-10-18 Ben Maurer <[email protected]>
* TableStyle.cs: fix #49740.

svn path=/trunk/mcs/; revision=19181
2003-10-18 23:59:00 +00:00
Gonzalo Paniagua Javier 05f309e19b 2003-10-19 Gonzalo Paniagua Javier <[email protected]>
* SelectedDatesCollection.cs: fix by Yaron for bug #49698.
	* ValidationSummary.cs: fixes bug #49669.

svn path=/trunk/mcs/; revision=19180
2003-10-18 23:36:42 +00:00
Sebastien Pouliot 2d0b5fed03 2003-10-18 Sebastien Pouliot <[email protected]>
* BinarySecurityToken.cs: Added support for GetXml/LoadXml
	* SecurityToken.cs: Better support for WSE2
	* X509SecurityToken.cs: Implemented most of the TODO.

svn path=/trunk/mcs/; revision=19179
2003-10-18 22:01:45 +00:00
Gonzalo Paniagua Javier 482b566caa 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
* icall.c: OutputDebugStringW expects 16-bit unicode characters, not
	utf8.

svn path=/trunk/mono/; revision=19178
2003-10-18 20:01:19 +00:00
Gonzalo Paniagua Javier a052adc04c Added uninstall target
svn path=/trunk/mcs/; revision=19177
2003-10-18 18:33:54 +00:00
Lluis Sanchez 2bf9e88ae6 * icall.c: Removed GetUninitializedObject method because
AllocateUninitializedClassInstance does the same.

svn path=/trunk/mono/; revision=19176
2003-10-18 18:29:22 +00:00
Lluis Sanchez 85c9822860 * FormatterServices.cs: In GetUninitializedObject methdod, reuse
ActivationServices.AllocateUninitializedClassInstance, it does the same.

svn path=/trunk/mcs/; revision=19175
2003-10-18 18:23:03 +00:00
Lluis Sanchez 5082ccdbeb * ActivationServices.cs: make AllocateUninitializedClassInstance public,
so it can be reused.

svn path=/trunk/mcs/; revision=19174
2003-10-18 18:22:30 +00:00
Sebastien Pouliot a0eba2f578 2003-10-18 Sebastien Pouliot <[email protected]>
* StrongName.cs: Oops, forgot the INSIDE_CORLIB to mark class as internal.

svn path=/trunk/mcs/; revision=19173
2003-10-18 17:23:49 +00:00
Sebastien Pouliot 452176c703 2003-10-18 Sebastien Pouliot <[email protected]>
* sn.cs: Fixed a bug when exporting the public key from a SNK file.

svn path=/trunk/mcs/; revision=19171
2003-10-18 17:18:58 +00:00
Sebastien Pouliot 92c96d5ba5 2003-10-18 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added classes StrongName to support StrongNames.

svn path=/trunk/mcs/; revision=19170
2003-10-18 17:17:41 +00:00
Sebastien Pouliot f1ca0dfa3e 2003-10-18 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs (SetCustomAttribute): Changed PK extraction to
	use Mono.Security.StrongName (#49785).

svn path=/trunk/mcs/; revision=19169
2003-10-18 17:16:17 +00:00
Sebastien Pouliot 0eef523112 2003-10-18 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added from Mono.Security assembly for StrongName
	support in AssemblyBuilder.

svn path=/trunk/mcs/; revision=19168
2003-10-18 17:13:45 +00:00
Jackson Harper dcadbb3b7a * util.c (hex_dump): Use uppercase hex so there are no conflicts
with ilasm keywords ie cf

svn path=/trunk/mono/; revision=19167
2003-10-18 16:06:34 +00:00
Jackson Harper 174af54f72 * dis-cil.c (get_encoded_user_string): use g_strescape instead of
escaping manually.

svn path=/trunk/mono/; revision=19166
2003-10-18 16:05:21 +00:00
Jackson Harper 119bf9adb8 * ExternTable.cs: Separate class and value types into diff
tables.

svn path=/trunk/mcs/; revision=19165
2003-10-18 15:55:25 +00:00
Jackson Harper c4a7889986 * InstrTable.cs: Use short branch instructions instead of aliasing them
to the long branch instructions.

svn path=/trunk/mcs/; revision=19164
2003-10-18 15:48:31 +00:00
Jackson Harper d81e9bbfe0 * PEAPI.cs: Add proper support for short instructions, removing
PEAPI's auto selection of short/long branch operations
	feature.

svn path=/trunk/mcs/; revision=19163
2003-10-18 15:44:44 +00:00
Zoltan Varga 986a5aca45 2003-10-18 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (SetCustomAttribute): Extract the public key from
	the keyfile.

svn path=/trunk/mcs/; revision=19162
2003-10-18 15:34:26 +00:00
Atsushi Eno 035b374b64 2003-10-18 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
	* XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
	  XmlDeclaration now calls WriteProcessingInstruction(). This fixes
	  testcase XmlWriterTests.WriteNodeFullDocument().
	* XmlTextWriter.cs : Added LAMESPEC comments related to above.

svn path=/trunk/mcs/; revision=19161
2003-10-18 15:21:26 +00:00
Martin Baulig e627e841c6 2003-10-18 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
	abstract; use an interncall in MonoMethod and a custom
	implementation in MethodBuilder.

svn path=/trunk/mcs/; revision=19160
2003-10-18 07:13:03 +00:00
Martin Baulig a1ba3316d0 2003-10-18 Martin Baulig <[email protected]>
* class.c (inflate_generic_signature): Renamed to
	mono_class_inflate_generic_signature() and made it public.
	(my_mono_class_from_generic_parameter): New static function; if we
	don't already have the generic parameter's MonoClass, create a
	very simple one which is just used internally in the runtime and
	not passed back to managed code.

	* class.h (MonoGenericInst): Added `gpointer mbuilder' field.

	* metadata.h (MonoMethodSignature): Moved the
	`MonoGenericParam *gen_params' to the MonoMethodHeader.
	(MonoMethodHeader): Moved the `MonoGenericParam *gen_params' here.

	* icall.c (ves_icall_MethodInfo_GetGenericArguments): Renamed to
	ves_icall_MonoMethod_GetGenericArguments(); this is now an
	interncall on the MonoMethod class, not on MethodInfo.
	(ves_icall_MethodInfo_BindGenericParameters): Removed, we're now
	calling mono_reflection_bind_generic_method_parameters() directly.

	* loader.c (mono_method_get_signature): If this is a MethodSpec;
	return the already computed `method->signature'.
	(method_from_methodspec): New static function to load a method
	from a MethodSpec entry.
	(mono_get_method_from_token): Call the new method_from_methodspec()
	for MethodSpec tokens.
	(mono_get_method_from_token): If we're a generic method, load the
	type parameters.

	* reflection.c (mono_image_get_memberref_token): Allow
	MEMBERREF_PARENT_TYPEDEF here; this will be used in the MethodSpec
	table.
	(fixup_method): Added support for MONO_TABLE_METHODSPEC.
	(mono_image_create_token): First check whether it's a generic
	method (so we'd need to create a MethodSpec), then do the other
	two alternatives.
	(mono_reflection_bind_generic_method_parameters): Return a
	`MonoReflectionMethod *' instead of a `MonoMethod *'; we're now
	called directly from the interncall.

svn path=/trunk/mono/; revision=19159
2003-10-18 06:59:42 +00:00
Jackson Harper 3c626079c1 * ILParser.jay: Set value types, set enums as value types. Use
correct var for call conv in method signatures.

svn path=/trunk/mcs/; revision=19157
2003-10-18 06:14:49 +00:00
Gonzalo Paniagua Javier a18eaf7659 2003-10-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
	own file.

	* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
	* System.Web/HttpRequest.cs: support request filters.
	* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
	method.

	* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
	methods without parameters that are invoked by EventHandlers.

svn path=/trunk/mcs/; revision=19156
2003-10-18 05:54:18 +00:00
Sebastien Pouliot 11180a67e3 2003-10-17 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added classes CryptoConvert to support StrongNames.

svn path=/trunk/mcs/; revision=19155
2003-10-18 02:53:56 +00:00
Sebastien Pouliot c29299a23b 2003-10-17 Sebastien Pouliot <[email protected]>
* CryptoConvert.cs: Added from Mono.Security to support StrongNames.

svn path=/trunk/mcs/; revision=19154
2003-10-18 02:28:17 +00:00
Lluis Sanchez 948af3305c * SoapReflectionImporter.cs: Support element references for enum values in
encoding format. This fixes bug #49568.
	* XmlSerializationReaderInterpreter.cs: In encoded format, do not check
	  the name and namespace of the wrapper element. MS.NET doesn't do it.
	  This fixes bug #49729.

svn path=/trunk/mcs/; revision=19152
2003-10-17 22:55:42 +00:00
Rafael Teixeira 3ea37fe98b 2003-10-17 Rafael Teixeira <[email protected]>
* Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation is switched by method.ReturnType being "System.Void"

svn path=/trunk/mcs/; revision=19150
2003-10-17 22:20:33 +00:00
Rafael Teixeira 699f27b68c 2003-10-17 Rafael Teixeira <[email protected]>
* Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file names block
	* Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be ".Item(xx)"

svn path=/trunk/mcs/; revision=19149
2003-10-17 22:11:45 +00:00
Martin Baulig 8ce426cfe3 2003-10-17 Martin Baulig <[email protected]>
* gen-test.sh: Removed.

	* gen-test.pl: New file; this is a perl script which runs all the
	generics tests.

svn path=/trunk/mcs/; revision=19148
2003-10-17 21:58:11 +00:00
Rafael Teixeira ad263a52d9 2003/10/17 Rafael Teixeira <[email protected]>
* genericparser.cs: 
	    Don't print exception when a file is not found to be parsed
		File extensions not matched are now processed with the default parser
		Better handle file/directory not found exceptions, and use Report.Error in that case
	* added defaultparserattribute.cs
	* mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
	* location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
	* mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now

svn path=/trunk/mcs/; revision=19147
2003-10-17 21:30:53 +00:00
Ben Maurer 1f52bae550 2003-10-17 Ben Maurer <[email protected]>
* CompilationConfiguration.cs (Init): you have to inherit copying
        files from the bin folders too.

svn path=/trunk/mcs/; revision=19146
2003-10-17 21:12:21 +00:00
Reggie Burnett 9452a5287a MySql - Fixed major bug with null field handling (thanks Naucki)
MySql - Removed unused IsClosed method in MySqlStream
MySql - Removed unused IsDead code from Driver

svn path=/trunk/mcs/; revision=19144
2003-10-17 19:30:47 +00:00
Jackson Harper 987392b797 * dis-cil.c (get_encoded_user_string): Escape user strings when
loading. ie ""quote"" should be "\"quote\"".
	* dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
	block. Combine SEH blocks that have the same offset and length,
	this prevents creating invalid SEH blocks.

svn path=/trunk/mono/; revision=19143
2003-10-17 19:21:13 +00:00
Ettore Perazzoli 796e3c6910 2003-10-17 Ettore Perazzoli <[email protected]>
* Mono.Data.SqliteClient/SqliteConnection.cs
	(SqliteConnection.LastInsertRowId): New property to bind the
	sqlite_last_insert_rowid() call.

svn path=/trunk/mcs/; revision=19141
2003-10-17 18:53:17 +00:00
Pedro Martínez Juliá c99b864e88 2003-10-17 Pedro Mart�nez Juli� <[email protected]>
* MonoEvent.cs: implement ToString method as in MS.NET.

    * MonoMethod.cs: fix some differences between mono and MS.NET
    implementation of ToString.

svn path=/trunk/mcs/; revision=19139
2003-10-17 17:04:16 +00:00
Martin Baulig bbd54a8d0c 2003-10-17 Martin Baulig <[email protected]>
* generic.cs (Constraints.Resolve): Take a DecpSpace instead of a
	TypeContainer so we can also use this for Interfaces.
	(TypeParameter.Resolve): Likewise.

	* interface.cs (Interface.DefineType): Added support for generic
	interfaces.

	* cs-parser.jay: Added support for generic structs and interfaces.

svn path=/trunk/mcs/; revision=19138
2003-10-17 16:37:19 +00:00
Martin Baulig ba7d7e1c27 Two more generics tests.
svn path=/trunk/mcs/; revision=19137
2003-10-17 16:29:47 +00:00
Miguel de Icaza f57d28f179 fluhs
svn path=/trunk/mono/; revision=19136
2003-10-17 16:15:22 +00:00
Zoltan Varga dfa575f155 2003-10-17 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs (SetCustomAttribute): Ignore empty keyfile name.

svn path=/trunk/mcs/; revision=19134
2003-10-17 14:04:03 +00:00
Zoltan Varga f97219320f 2003-10-17 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Moved loading of the public key file into
	managed code from reflection.c.

svn path=/trunk/mcs/; revision=19133
2003-10-17 13:09:59 +00:00
Zoltan Varga 867c174bef 2003-10-17 Zoltan Varga <[email protected]>
* reflection.c (load_public_key): Move loading of the public key
	into managed code.

svn path=/trunk/mono/; revision=19132
2003-10-17 13:08:21 +00:00
Zoltan Varga 7ed3050a80 2003-10-17 Zoltan Varga <[email protected]>
* AssemblyNameTest.cs: Convert to Nunit2 format, add tests for
	CultureInfo, Version and HashAlgorithm properties.

svn path=/trunk/mcs/; revision=19131
2003-10-17 12:45:07 +00:00
Zoltan Varga f196139ee7 2003-10-17 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Set cultureInfo and version from the AssemblyName
	passed to the constructor.

svn path=/trunk/mcs/; revision=19130
2003-10-17 12:40:18 +00:00
Zoltan Varga bd75209320 2003-10-17 Zoltan Varga <[email protected]>
* AssemblyName.cs: Fix Version property when some version fields are
	undefined.

svn path=/trunk/mcs/; revision=19129
2003-10-17 12:38:24 +00:00
Zoltan Varga cc7cfcd992 2003-10-17 Zoltan Varga <[email protected]>
* image.h (MonoAssemblyName): Add public_key and hash_alg fields.

	* assembly.c (mono_assembly_open): Fill in public_key and hash_alg
	fields.

	* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill in
	culture, hash_alg and public_key. Fixes #49555.

svn path=/trunk/mono/; revision=19128
2003-10-17 12:33:49 +00:00
Pedro Martínez Juliá 4b9bf9ec29 2003-10-17 Pedro Mart�nez Juli� <[email protected]>
* WebClient.cs: use Path.DirectorySeparator instead of "/" for
    windows compatibility. Add some checks for file paths like
    "C:/xxx/yyy/..." and like "/home/xxx/...".

svn path=/trunk/mcs/; revision=19127
2003-10-17 11:14:15 +00:00
Gonzalo Paniagua Javier af96094295 Reference ../Mono.Security.Tls/System.Security.dll to let plain 'make' work
svn path=/trunk/mcs/; revision=19125
2003-10-17 07:17:17 +00:00
Martin Baulig 89377684b2 More generics tests.
svn path=/trunk/mcs/; revision=19118
2003-10-17 03:41:09 +00:00
Martin Baulig 9494ab466a 2003-10-17 Martin Baulig <[email protected]>
* generics.cs (GenericMemberAccess.DoResolve): We can now actually
	call generic methods :-)

svn path=/trunk/mcs/; revision=19117
2003-10-17 03:34:02 +00:00
Martin Baulig 630a65bbd7 2003-10-17 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
	(MethodInfo.BindGenericParameters): New method.

svn path=/trunk/mcs/; revision=19115
2003-10-17 03:26:20 +00:00
Martin Baulig 91e09f9c0c 2003-10-17 Martin Baulig <[email protected]>
* class.h (MonoGenericInst): Moved this declaration here and added
	`MonoMethod *generic_method'.

	* icall.c
	(ves_icall_MethodInfo_GetGenericArguments): New interncall.
	(ves_icall_MethodInfo_BindGenericParameters): New interncall.

	* metadata.c (mono_metadata_type_equal): Two types of
	MONO_TYPE_VAR or MONO_TYPE_MVAR equals if they have the same
	index; ie. don't compare the address of the `MonoGenericParam'
	structure.
	(mono_metadata_load_generic_params): Removed the `MonoMethod
	*method' argument.

	* metadata.h (MonoGenericInst): Moved declaration to class.h.
	(MonoMethodHeader): Added `MonoGenericInst *geninst'.

	* reflection.c (method_encode_signature): Encode the number of
	generic parameters.
	(encode_generic_method_sig): New static function.
	(method_encode_methodspec): New static function; creates an entry
	in the MethodSpec table for a generic method.
	(mono_image_get_methodspec_token): New static function.
	(mono_image_create_token): Call mono_image_get_methodspec_token()
	for generic methods.
	(mono_reflection_bind_generic_method_parameters): New public
	function.  Instantiates a generic method.

svn path=/trunk/mono/; revision=19114
2003-10-17 03:12:16 +00:00
Daniel Morgan 8e14bf6662 2003-10-16 Daniel Morgan <[email protected]>
* Makefile
	* LoginDialog.cs
	* SqlSharpDataAdapter.cs
	* sqlsharpgtk.cs: after editing these files, forgot to edit my
          new email address

svn path=/trunk/mcs/; revision=19113
2003-10-17 03:07:58 +00:00
Daniel Morgan 5fc40e55d2 2003-10-16 Daniel Morgan <[email protected]>
* Win32.make: removed file.  replaced with Makefile

	* Makefile: new makefile for building on Linux and Windows

	* LoginDialog.cs
	* SqlSharpDataAdapter.cs
	* sqlsharpgtk.cs: correct compile errors

svn path=/trunk/mcs/; revision=19112
2003-10-17 03:01:29 +00:00
Miguel de Icaza 345b6800d3 Remove debugging message
svn path=/trunk/mono/; revision=19110
2003-10-16 22:42:46 +00:00
Miguel de Icaza 0d1db5ee37 Use explanatory message
svn path=/trunk/mono/; revision=19109
2003-10-16 22:34:06 +00:00
Martin Baulig 0e0ec0e4e6 2003-10-16 Martin Baulig <[email protected]>
* MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
	property.

svn path=/trunk/mcs/; revision=19108
2003-10-16 19:14:54 +00:00
Miguel de Icaza 5e8707e3e7 Update
svn path=/trunk/mono/; revision=19107
2003-10-16 19:14:31 +00:00
Martin Baulig b3ab28d2b8 2003-10-16 Martin Baulig <[email protected]>
* metadata.h (MonoMethodSignature): Moved `MonoGenericParam
	*gen_params' here from MonoMethodHeader.

	* metadata.c (mono_metadata_parse_method_signature): If we have
	generic parameters, initialize `method->gen_params' and then set
	the correct `type->data.generic_param' in all the parameters.

svn path=/trunk/mono/; revision=19106
2003-10-16 18:51:26 +00:00
Gonzalo Paniagua Javier 7ff1bfa673 2003-10-16 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: fixed infinite recursion.

svn path=/trunk/mcs/; revision=19105
2003-10-16 18:34:33 +00:00
Francisco Figueiredo Jr. fbd384801c 2003-10-16: Francisco Figueiredo Jr. <[email protected]>
* Added again Peter Williams comments removed by mistake in the previous update.

svn path=/trunk/mcs/; revision=19104
2003-10-16 17:49:12 +00:00
Zoltan Varga 5172d491c6 2003-10-16 Zoltan Varga <[email protected]>
* threads.c (mono_threads_get_default_stacksize): New function to
	return the default stacksize.

	* gc.c (mono_gc_cleanup): Use a separate event for waiting for the
	termination of the finalizer thread, since the previous method had
	race conditions. Fixes #49628.

	* gc.c (mono_gc_init): Use the same stacksize for the finalizer thread
	as for the other managed threads.

svn path=/trunk/mono/; revision=19103
2003-10-16 12:40:37 +00:00
Jordi Mas i Hernandez 353b021117 filedialog.cs uses the placetoolbar and allow resizing
svn path=/trunk/mcs/; revision=19102
2003-10-16 10:59:14 +00:00
Martin Baulig e24c138562 2003-10-16 Martin Baulig <[email protected]>
* class.c (inflate_generic_signature): Copy `generic_param_count'.
	(inflate_generic_header): Copy `gen_params'.

	* icall.c (ves_icall_MethodInfo_get_IsGenericMethodDefinition):
	New interncall.

	* metadata.c (mono_metadata_parse_method_signature): Actually set
	the `method->generic_param_count' here.
	(mono_metadata_load_generic_params): Initialize `pklass' to NULL.

svn path=/trunk/mono/; revision=19101
2003-10-16 06:32:46 +00:00
Martin Baulig e83f8763f1 2003-10-16 Martin Baulig <[email protected]>
* cs-parser.jay (namespace_or_type_name): Only create a
	GenericMemberAccess if we actually have type arguments.

svn path=/trunk/mcs/; revision=19100
2003-10-16 05:19:29 +00:00
Miguel de Icaza 0331216811 Add new Tls directory
svn path=/trunk/mcs/; revision=19099
2003-10-16 01:27:23 +00:00
Pedro Martínez Juliá 463bed0b0b 2003-10-16 Pedro Mart�nez Juli� <[email protected]>
* WebClient.cs: added a slash between directory and file names.

svn path=/trunk/mcs/; revision=19098
2003-10-16 00:59:32 +00:00
Pedro Martínez Juliá 898fad57af 2003-10-16 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
    because now it is used TlsSession and it doesn't work without
    these changes.

svn path=/trunk/mcs/; revision=19097
2003-10-16 00:41:18 +00:00
Pedro Martínez Juliá ab6886b3e3 2003-10-16 Pedro Mart�nez Juli� <[email protected]>
* Makefile: Add Mono.Security.Tls assembly.

svn path=/trunk/mcs/; revision=19096
2003-10-15 23:06:18 +00:00
Pedro Martínez Juliá 32dd639d9b 2003-10-16 Pedro Mart�nez Juli� <[email protected]>
* Makefile:
    * ChangeLog:
    * System.Security.Tls.dll:
    * System.Security.Tls.dll.sources: Initial commit.

svn path=/trunk/mcs/; revision=19095
2003-10-15 23:05:32 +00:00
Pedro Martínez Juliá 6fcb653e68 2003-10-16 Pedro Mart�nez Juli� <[email protected]>
* Makefile: changed reference from Lib/System.Security.Tls.dll to
    System.Security.Tls because the last will be installed before and
    separatelly.

    * Lib: Removed Lib directory, moved System.Security.Tls.dll to
    Mono.Security.Tls library directory.

svn path=/trunk/mcs/; revision=19094
2003-10-15 23:04:05 +00:00
Pedro Martínez Juliá eb8bdd7cb0 2003-10-15 Pedro Mart�nez Juli� <[email protected]>
* Makefile: fix building and the install objectives.

svn path=/trunk/mcs/; revision=19093
2003-10-15 21:55:09 +00:00
Zoltan Varga fc26e881e5 2003-10-15 Zoltan Varga <[email protected]>
* vararg.il: New file.

	* Makefile.am: Added vararg.il.

svn path=/trunk/mono/; revision=19092
2003-10-15 20:58:09 +00:00
Alexandre Pigolkine 10643c1359 GdipDrawImageRectI changed
svn path=/trunk/mcs/; revision=19091
2003-10-15 20:57:58 +00:00
Zoltan Varga 6154a5958a 2003-10-15 Zoltan Varga <[email protected]>
* get.c (get_ret_type): Remove needless warning message.

svn path=/trunk/mono/; revision=19090
2003-10-15 20:17:15 +00:00
Zoltan Varga 6626a913e7 2003-10-15 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Fix initialization of typedbyref locals.

	* mini.c inssel.brg: Implement typedefbyref opcodes.

	* mini.c (mono_jit_compile_method): Remove unused local variable.

	* mini.c (mono_jit_compile_method_inner): Ditto.

svn path=/trunk/mono/; revision=19089
2003-10-15 20:14:22 +00:00
Lluis Sanchez d0799dfd57 Improved organization of information. Added syntax coloring for proxy and wsdl.
svn path=/trunk/mono/; revision=19087
2003-10-15 18:49:44 +00:00
Lluis Sanchez 379ef3694b * MessageBinding.cs: Name property should be null by default.
* ProtocolImporter.cs: Take into account the previous change.

svn path=/trunk/mcs/; revision=19086
2003-10-15 18:47:12 +00:00
Atsushi Eno b3af718991 2003-10-15 Atsushi Enomoto <[email protected]>
* Iterator.cs : DescendantIterator and FollowingIterator also should
	  not MoveNext() after they reached to the end.

svn path=/trunk/mcs/; revision=19085
2003-10-15 18:11:48 +00:00
Lluis Sanchez 9438297164 * MapCodeGenerator.cs: Made MapCodeGenerator internal.
svn path=/trunk/mcs/; revision=19084
2003-10-15 18:11:33 +00:00
Francisco Figueiredo Jr. 9a35193e71 2003-10-15: Francisco Figueiredo Jr. <[email protected]>
Synchronized files with Gborg repository

svn path=/trunk/mcs/; revision=19083
2003-10-15 16:38:47 +00:00
Francisco Figueiredo Jr. 70e5927963 2003-10-15: Francisco Figueiredo Jr. <[email protected]>
Synchronized files with Gborg repository.

svn path=/trunk/mcs/; revision=19082
2003-10-15 16:36:40 +00:00
Francisco Figueiredo Jr. 1afdef2cef 2003-10-15: Francisco Figueiredo Jr. <[email protected]>
* System.Security.Tls.dll: Added Tls implementation from Carlos Guzman. Npgsql now supports SSL connections with this library.

svn path=/trunk/mcs/; revision=19081
2003-10-15 16:31:27 +00:00
Reggie Burnett fca64e013c MySql - fixed problem where socket was not getting closed properly (thanks Steve!)
svn path=/trunk/mcs/; revision=19080
2003-10-15 16:03:30 +00:00
Zoltan Varga 01baeaacb8 2003-10-15 Zoltan Varga <[email protected]>
* TypedReference.cs: Add new field used by the runtime.

svn path=/trunk/mcs/; revision=19079
2003-10-15 15:57:00 +00:00
Zoltan Varga e20dc2948a 2003-10-15 Zoltan Varga <[email protected]>
* object.h: Add a new field to TypedRef to simplify the implementation
	of the REFANY opcodes in the JIT.

	* icall.c: Make use of the new field.

svn path=/trunk/mono/; revision=19078
2003-10-15 15:55:47 +00:00
Zoltan Varga 8b26b5673e 2003-10-15 Zoltan Varga <[email protected]>
* metadata.c (mono_type_size): Compute the size of TYPEDBYREF types
	dynamically.

svn path=/trunk/mono/; revision=19077
2003-10-15 15:53:48 +00:00
Dick Porter 52a1baa7c3 Compile fixes
svn path=/trunk/mono/; revision=19076
2003-10-15 14:35:16 +00:00
Reggie Burnett f8e14ea59e MySql - enclosed queries for max_allowed_packet and characterset inside try catch (and set defaults)
svn path=/trunk/mcs/; revision=19075
2003-10-15 14:23:05 +00:00
Jordi Mas i Hernandez efdccb1bfa Implemented SaveFileDialog.cs
svn path=/trunk/mcs/; revision=19073
2003-10-15 13:58:32 +00:00
Lluis Sanchez 9d8301425f * System.Xml.dll.sources: added System.Xml.Serialization/MapCodeGenerator.cs
svn path=/trunk/mcs/; revision=19070
2003-10-15 08:18:46 +00:00
Lluis Sanchez bf5fac805d * MapCodeGenerator.cs: New file. Moved here all code that is common
between XmlCodeExporter and SoapCodeExporter.
	* SoapCodeExporter.cs: Implemented.
	* XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
	* XmlSerializationReaderInterpreter.cs: Fixed problem when reading
	  encoded bare parameter list.
	* XmlTypeMapping.cs: Added method for getting member element by index.

svn path=/trunk/mcs/; revision=19069
2003-10-15 08:18:04 +00:00
Lluis Sanchez 6f588b42bf * TypeStubManager.cs: Added OperationName property.
svn path=/trunk/mcs/; revision=19068
2003-10-15 08:17:24 +00:00
Lluis Sanchez f91d32a388 * HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
Fixed naming of messages.
	* ProtocolImporter.cs: It now iterates through all bindings. It creates
	  a namespace for all bindings.
	* ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
	* SoapProtocolImporter.cs: Improved support for RPC format. It now is working.

svn path=/trunk/mcs/; revision=19067
2003-10-15 08:16:44 +00:00
Miguel de Icaza 7e9f14ec7a 2003-10-15 Miguel de Icaza <[email protected]>
* statement.cs (Switch.TableSwitchEmit): Compare the upper bound
	to kb.Nlast, and not the kb.nFirst to isolate the switch
	statement.

	Extract the underlying type, so enumerations of long/ulong are
	treated like long/ulong.

svn path=/trunk/mcs/; revision=19066
2003-10-15 04:27:33 +00:00
Miguel de Icaza 48ed348569 2003-10-15 Miguel de Icaza <[email protected]>
* test-49.cs: Improved test with input from bug #48761

svn path=/trunk/mcs/; revision=19065
2003-10-15 04:26:44 +00:00
Miguel de Icaza fea49b1344 Thanks to David Waite for the detective work on this bug.
2003-10-14  Miguel de Icaza  <[email protected]>

	* expression.cs (New): Overload the meaning of RequestedType to
	track the possible creation of the NewDelegate type, since
	DoResolve is invoked more than once for new constructors on field
	initialization.

	See bugs: #48800 and #37014

svn path=/trunk/mcs/; revision=19064
2003-10-15 03:59:50 +00:00
Miguel de Icaza 089cceba9f More tests
svn path=/trunk/mcs/; revision=19063
2003-10-15 03:57:56 +00:00
Miguel de Icaza 7e8464ac6b 2003-10-14 Miguel de Icaza <[email protected]>
* cs-parser.jay (declare_local_constants): Take an arraylist
	instead of a single constant.

	(local_constant_declaration): It should take a
	constant_declarators, not a constant_declarator.

svn path=/trunk/mcs/; revision=19062
2003-10-15 03:37:36 +00:00
Miguel de Icaza 95a649e13d Improve with bug 49487 info
svn path=/trunk/mcs/; revision=19061
2003-10-15 03:34:54 +00:00
Miguel de Icaza 6e4432e6c6 2003-10-14 Miguel de Icaza <[email protected]>
* convert.cs: Fix error report.

svn path=/trunk/mcs/; revision=19060
2003-10-15 03:25:55 +00:00
Miguel de Icaza 1a26efba63 Fix bug
svn path=/trunk/mcs/; revision=19059
2003-10-15 03:25:18 +00:00
Gonzalo Paniagua Javier e45e84834a 2003-10-15 Gonzalo Paniagua Javier <[email protected]>
* CompilationConfiguration.cs: use the context passed in. If not, try
	the current context.

svn path=/trunk/mcs/; revision=19057
2003-10-15 01:59:16 +00:00
Lluis Sanchez 016d5a3e0b * CSharpCodeGenerator.cs: added override for the method
GenerateParameterDeclarationExpression. The parameter must be generated
	  with a safe C# name.

svn path=/trunk/mcs/; revision=19056
2003-10-15 00:32:20 +00:00
Alexandre Pigolkine 46c914859b DrawString function added
svn path=/trunk/mcs/; revision=19055
2003-10-14 23:37:03 +00:00
Rafael Teixeira 1da7a0a039 support for named parameters (just enclose in {} in the description, and alternate form
svn path=/trunk/mcs/; revision=19054
2003-10-14 22:45:40 +00:00
Rafael Teixeira d8c9476486 lots of small adjustments, and correcting some sintaxes (extra modifiers)
svn path=/trunk/mcs/; revision=19053
2003-10-14 22:44:15 +00:00
Martin Baulig 957e50efbd 2003-10-15 Martin Baulig <[email protected]>
* Type.cs (Type.DeclaringMethod): For a generic method's type
	parameter, return this method - otherwise, return null.

svn path=/trunk/mcs/; revision=19052
2003-10-14 22:35:57 +00:00
Martin Baulig 5deacd7bfa 2003-10-15 Martin Baulig <[email protected]>
* class.c (mono_class_from_gen_param): Renamed to
	mono_class_from_generic_parameter() and moved most of the
	functionality from mono_reflection_define_generic_parameter()
	here; ie. we create a "real" class here.
	(mono_class_from_mono_type): Only allow MONO_TYPE_VAR and
	MONO_TYPE_MVAR if mono_class_from_generic_parameter() has
	previously been called.

	* class.h (MonoGenericParam): Moved the declaration of this struct
	here from metadata.h and added `MonoMethod *method'.

	* icall.c (ves_icall_MonoType_get_DeclaringMethod): New
	interncall.

	* loader.c (mono_get_method_from_token): If we have any generic
	parameters, call mono_metadata_load_generic_params() to read them
	from the MONO_TABLE_GENERICPAR.

	* metadata.c (mono_metadata_load_generic_params): Added
	`MonoMethod *method' argument which is used MONO_TYPE_MVAR.

	* metadata.h (MonoMethodSignature): Replaced
	`MonoGenericInst *geninst' with `guint16 generic_param_count'.
	(MonoMethodHeader): Added `MonoGenericParam *gen_params'.

	* reflection.c (mono_reflection_define_generic_parameter): Moved
	most of the functionality into the new
	mono_class_from_generic_parameter(); set the `method' field if
	we're a method parameter.

svn path=/trunk/mono/; revision=19051
2003-10-14 22:28:40 +00:00
Jordi Mas i Hernandez 3a594a78de Fixes CommonDialog to work with windowless containers
svn path=/trunk/mcs/; revision=19050
2003-10-14 22:10:21 +00:00
Bernie Solomon dfe075b57a 2003-10-14 Bernie Solomon <[email protected]>
* Makefile			do not build gdiplus on Windows

svn path=/trunk/mcs/; revision=19046
2003-10-14 20:05:18 +00:00
Jackson Harper 56d0b6304b * ILTokenizer.cs: Fix /* */ comment blocks.
svn path=/trunk/mcs/; revision=19045
2003-10-14 19:18:38 +00:00
Jackson Harper b7c775c245 Tests to make sure comments are being handled properly
svn path=/trunk/mcs/; revision=19044
2003-10-14 19:16:44 +00:00
Miguel de Icaza 875cd48f7d Use monologue directly
svn path=/trunk/mono/; revision=19043
2003-10-14 18:40:15 +00:00
Atsushi Eno bdb310c643 2003-10-14 Atsushi Enomoto <[email protected]>
* XmlSchemas.cs : Implemented IsDataSet().

svn path=/trunk/mcs/; revision=19040
2003-10-14 16:24:44 +00:00
Gonzalo Paniagua Javier 6501104ad6 Arghh
svn path=/trunk/mono/; revision=19039
2003-10-14 12:48:42 +00:00
Gonzalo Paniagua Javier 2219d60571 Added myself
svn path=/trunk/mono/; revision=19038
2003-10-14 12:45:55 +00:00
Gonzalo Paniagua Javier 3378eaa2c0 Got tired of that warning
svn path=/trunk/mcs/; revision=19037
2003-10-14 12:22:13 +00:00
Gonzalo Paniagua Javier de757a0b30 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs: pass
	CompilerOptions and WarningLevel.

svn path=/trunk/mcs/; revision=19036
2003-10-14 12:19:14 +00:00
Gonzalo Paniagua Javier 50e79aceb8 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: new files in System.Web.Configuration.

	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs:
	* System.Web.Configuration/CompilerCollection.cs:
	* System.Web.Configuration/WebCompiler.cs: new files that process and
	store system.web/compilation info (compilers + assemblies).

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: added option
	for an attribute to be empty.

	* System.Web.UI/BaseParser.cs: added CompilationConfig property.

	* System.Web.UI/TemplateParser.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs: added CompilationConfig
	property. Don't hardcode assembly names any more, assemblies in bin
	are added depending on the configuration. The default language is
	also taken from the configuration.

	* System.Web.Compilation/BaseCompiler.cs: now gets the CodeCompiler
	from configuration files.

	In short, this changes make our ASP.NET support any language
	that has CodeDom CodeCompiler and CodeGenerator.

	VB.NET currently fails because of its buggy handling of options.

svn path=/trunk/mcs/; revision=19035
2003-10-14 11:12:47 +00:00
Gonzalo Paniagua Javier 39f47f056b added system.web/compilation section
svn path=/trunk/mono/; revision=19034
2003-10-14 10:57:46 +00:00
Gonzalo Paniagua Javier 9d82d59bfd 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added VCodeCompiler.cs by Jochen Wezel
	<[email protected]>.

	* Microsoft.VisualBasic/VBCodeCompiler.cs: New.
	* Microsoft.VisualBasic/VBCodeGenerator.cs:
	* Microsoft.VisualBasic/VBCodeProvider.cs: modified others to use the
	new CodeCompiler.

	* System.Net.Sockets/UdpClient.cs: removed Consoles.

svn path=/trunk/mcs/; revision=19033
2003-10-14 10:56:57 +00:00
Bernie Solomon d14b4dbff7 2003-10-13 Bernie Solomon <[email protected]>
* marshal.c (emit_struct_conv): if native size is 0
	emit no code.

svn path=/trunk/mono/; revision=19025
2003-10-14 05:21:41 +00:00
Bernie Solomon e186d0759e 2003-10-13 Bernie Solomon <[email protected]>
* x86/tramp.c: restore EDX after memcpy call

svn path=/trunk/mono/; revision=19024
2003-10-14 05:17:17 +00:00
David Waite 2080039888 * HttpRequest.cs: Url property switched to use the ServerName rather than LocalAddress
svn path=/trunk/mcs/; revision=19023
2003-10-14 04:18:40 +00:00
Jackson Harper cb73d8fec9 * typemanager.cs (TypeToCoreType): Add float and double this fixes
bug #49611

svn path=/trunk/mcs/; revision=19022
2003-10-14 04:05:03 +00:00
Martin Baulig 763d07337f Reflect latest API changes.
svn path=/trunk/mcs/; revision=19020
2003-10-14 03:54:32 +00:00
Martin Baulig 9763457fac 2003-10-14 Martin Baulig <[email protected]>
* icall.c: The generics API has changed in the spec since it was
	added to System.Type; these modifications make it match the spec
	again.
	(ves_icall_Type_GetGenericParameters): Renamed to
	`ves_icall_Type_GetGenericArguments'.
	(ves_icall_Type_get_IsGenericTypeDefinition): New interncall.
	(ves_icall_MonoType_get_HasGenericParameteres): Renamed to
	`ves_icall_MonoType_get_HasGenericArguments'.
	(ves_icall_MonoType_get_IsUnboundGenericParameter): Renamed to
	`ves_icall_MonoType_get_IsGenericParameter'.
	(ves_icall_MonoType_get_HasUnboundGenericParameters): Removed;
	this is no interncall anymore.
	(ves_icall_TypeBuilder_get_IsUnboundGenericParameter): Renamed to
	`ves_icall_TypeBuilder_get_IsGenericParameter'.

svn path=/trunk/mono/; revision=19019
2003-10-14 03:49:13 +00:00
Martin Baulig cbfb08887f 2003-10-14 Martin Baulig <[email protected]>
The generics API has changed in the spec since it was added here;
	these modifications make it match the spec again.

	* Type.cs
	(GetGenericParameters): Renamed to `GetGenericArguments'.
	(HasGenericParameters): Renamed to `HasGenericArguments'.
	(HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
	(IsGenericTypeDefinition): New property.
	(IsUnboundGenericParameter): Renamed to `IsGenericParameter'.

	* MonoType.cs (ContainsGenericParameters): Implement this here;
	this is no interncall anymore.

svn path=/trunk/mcs/; revision=19018
2003-10-14 03:41:32 +00:00
Martin Baulig c54981d734 2003-10-14 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_bind_generic_parameters): Also
	inflate generic methods if we're reading the class from IL.

svn path=/trunk/mono/; revision=19017
2003-10-14 03:28:59 +00:00
Lluis Sanchez 2a02ffdb25 * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
* SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
	  in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
	* SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
	* XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
	  and whether it uses encoded or literal format.
	* XmlSchemaExporter.cs: Little fixes.

svn path=/trunk/mcs/; revision=19015
2003-10-14 00:51:53 +00:00
Lluis Sanchez 3e784aea22 * XmlSchema.cs: If the schema element is an empty element, skip it after
reading the attributes.

svn path=/trunk/mcs/; revision=19014
2003-10-14 00:51:21 +00:00
Lluis Sanchez 875d805d53 * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs, HttpSimpleTypeStubInfo.cs,
HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
	  TypeStubManager.cs
	  Added class LogicalTypeInfo, which contains info common to all protocols
	  through which a web service can be accessed. Also, modified the way
	  Serializers are created. Instead of creating one by one, they are now
	  created all at once. This will make serialization creation more efficient
	  when the serializer code generator is in place.
	* SoapRpcMethodAttribute.cs: Set the correct default values for the
	  properties.
	* WebServiceHelper.cs: Removed unused method GetServiceNamespace().
	* XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
	  type from LogicalTypeInfo.

svn path=/trunk/mcs/; revision=19013
2003-10-14 00:50:40 +00:00
Lluis Sanchez 4857fd85ab * ContractReference.cs, DiscoveryDocumentReference.cs, SchemaReference.cs:
Little fixes.
	* DiscoveryClientProtocol.cs: WriteAll(): Write files to the provided
	  directory.
	* DiscoveryReference.cs: Improved method FilenameFromUrl().

svn path=/trunk/mcs/; revision=19012
2003-10-14 00:49:47 +00:00
Lluis Sanchez 3a5e1ca53f * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Get the namespace for literal types from LogicalTypeInfo, since it may not
	  be the same as the service namespace.
	* ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
	  all protocols.
	* ServiceDescription.cs: Added soap/encoded namespace.
	* SoapProtocolImporter.cs: Added some bits of RPC format support.

svn path=/trunk/mcs/; revision=19011
2003-10-14 00:48:53 +00:00
Gonzalo Paniagua Javier a388f5ddf2 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* Delegate.cs: add the method name to the exception when it cannot be
	bound.
	* Exception.cs: fix nullref in Source.

svn path=/trunk/mcs/; revision=19008
2003-10-13 23:58:19 +00:00
Miguel de Icaza 44fafa47ab update
svn path=/trunk/mono/; revision=19002
2003-10-13 23:32:58 +00:00
Bernie Solomon 804d8e43a6 2003-10-13 Bernie Solomon <[email protected]>
* interp.c - set large stack size on HP 64bit

svn path=/trunk/mono/; revision=19001
2003-10-13 23:02:06 +00:00
Bernie Solomon 654eefd673 2003-10-13 Bernie Solomon <[email protected]>
* Makefile.am hppa_atomic.s: add HP 64bit
	implementation of atomic ops

svn path=/trunk/mono/; revision=19000
2003-10-13 23:00:04 +00:00
Bernie Solomon a6a489fcbd 2003-10-13 Bernie Solomon <[email protected]>
* Makefile.am: add hppa subdir

svn path=/trunk/mono/; revision=18999
2003-10-13 22:56:37 +00:00
Bernie Solomon 7102ebb7be 2003-10-13 Bernie Solomon <[email protected]>
* configure.in: add hppa support (64bit only)
	make solaris build work with Forte compiler

svn path=/trunk/mono/; revision=18997
2003-10-13 22:54:34 +00:00
Bernie Solomon 788b3a73aa 2003-10-13 Bernie Solomon <[email protected]>
* hppa/tramp.c: add initial implementation - this is 64 bit only
	hppa/Makefile.am hppa/.cvsignore: added

svn path=/trunk/mono/; revision=18996
2003-10-13 22:48:11 +00:00
Bernie Solomon 0b3193a248 2003-10-13 Bernie Solomon <[email protected]>
* sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
	for V9 (64 bit), cover more 32 bit cases as well.

svn path=/trunk/mono/; revision=18995
2003-10-13 22:38:25 +00:00
Jackson Harper 23f98d6235 * MethodDef.cs: Check for null param lists in vararg
methods. Fixes bug #49614.

svn path=/trunk/mcs/; revision=18994
2003-10-13 21:56:09 +00:00
Miguel de Icaza b0d537f12e Use the default encoding from the StreamWriter if no encoding was passed
svn path=/trunk/mcs/; revision=18992
2003-10-13 21:51:15 +00:00
Ben Maurer fc0cb47f65 2003-10-13 Ben Maurer <[email protected]>
* SessionStateModule.cs: prevent Context.State from being null if
	the module is inited in another HttpApplication. Fixes #49569.

svn path=/trunk/mcs/; revision=18991
2003-10-13 21:44:14 +00:00
Martin Baulig 3b1f40a833 2003-10-13 Martin Baulig <[email protected]>
* class.cs (Method.Define): If we're a generic method, call
	TypeBuilder.DefineGenericMethod () before resolving
	the parameters.
	(MethodData): Added .ctor which takes an additional MethodBuilder
	argument; this is used for generic methods.
	(MethodData.Define): Call `builder.SetGenericMethodSignature()' if
	we already have a MethodBuilder.

svn path=/trunk/mcs/; revision=18985
2003-10-13 20:14:44 +00:00
Martin Baulig b2de1eb2e5 2003-10-13 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_define_generic_parameter): This
	method isn't called directly from the icall anymore; take a
	`MonoReflectionAssemblyBuilder *' so we can use this for type and
	method generic parameters.
	(ReflectionMethodBuilder): Added `MonoArray *generic_param'.
	(method_builder_encode_signature): Encode generic parameters.
	(mono_image_get_method_info): Write generic params to the
	MONO_TABLE_GENERICPARAM table.

	* reflection.h (MonoReflectionMethodBuilder): Added
	`MonoArray *generic_params'.

	* metadata.h (MonoMethodSignature): Added `MonoGenericInst *geninst'.

	* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Added
	wrapper for mono_reflection_define_generic_parameter().
	(ves_icall_MethodBuilder_define_generic_parameter): Likewise.

svn path=/trunk/mono/; revision=18984
2003-10-13 20:08:47 +00:00
Martin Baulig 69e7dff6bd 2003-10-13 Martin Baulig <[email protected]>
* MethodBuilder.cs (MethodBuilder): Added
	`TypeBuilder.MonoGenericParam[] generic_params' field.
	(DefineGenericParameter, SetGenericMethodSignature): New public methods.

	* TypeBuilder.cs (DefineGenericMethod): New public method.

svn path=/trunk/mcs/; revision=18983
2003-10-13 20:06:52 +00:00
Jackson Harper 93f7643365 * get.c: stringify nested types properly ie Outer/Inner.
svn path=/trunk/mono/; revision=18982
2003-10-13 20:03:20 +00:00
Bernie Solomon d3b81158fd 2003-10-13 Bernie Solomon <[email protected]>
* Makefile.am: fix so it works if builddir != srcdir

	* libtest.c: (mono_test_empty_struct) make it exist for
	non-GCC	builds (and possibly pass depending on trampolines).
	(mono_test_marshal_bool_byref) bools marshal as ints by default

svn path=/trunk/mono/; revision=18981
2003-10-13 19:35:28 +00:00
Zoltan Varga 5be16b27f9 2003-10-13 Zoltan Varga <[email protected]>
* threads.c (CreateThread): Wrap pthread_attr_setstacksize call in
	a conditional for platforms that don't have it.

svn path=/trunk/mono/; revision=18980
2003-10-13 18:55:57 +00:00
Zoltan Varga d111f3ff78 2003-10-13 Zoltan Varga <[email protected]>
* configure.in: Added check for pthread_attr_setstacksize.

svn path=/trunk/mono/; revision=18979
2003-10-13 18:50:51 +00:00
Zoltan Varga ccfc2548e0 2003-10-13 Zoltan Varga <[email protected]>
* marshal.h: Add missing function to fix build.

svn path=/trunk/mono/; revision=18978
2003-10-13 18:28:56 +00:00
Zoltan Varga 63a4b36e32 2003-10-13 Zoltan Varga <[email protected]>
* bug-46781.cs: New regression test.

svn path=/trunk/mono/; revision=18977
2003-10-13 18:20:00 +00:00
Atsushi Eno 15ed3550d0 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
	  declaration even though there is no XmlDeclaration child.
	* XmlTextReader.cs : Fixed Init() so that ResetState() should work.

svn path=/trunk/mcs/; revision=18976
2003-10-13 17:48:28 +00:00
Andreas N 577261b4d3 Tiny documentation fix
svn path=/trunk/mcs/; revision=18973
2003-10-13 17:00:39 +00:00
Todd Berman ab414a481b 2003-10-13 Todd Berman <[email protected]>
* SoapContext.cs: Added Addressing objects.
        * SoapEnvelope.cs: Added Encoding and fixed up Save (string)

svn path=/trunk/mcs/; revision=18972
2003-10-13 16:54:53 +00:00
Zoltan Varga a09e471592 2003-10-13 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Add support for
	the SetLastError pinvoke attribute.

	* marshal.c (mono_marshal_set_last_error): New helper function called
	by the generated code.

svn path=/trunk/mono/; revision=18971
2003-10-13 16:25:19 +00:00
Zoltan Varga 49bf1d3c05 2003-10-13 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add new test for SetLastError functionality.

svn path=/trunk/mono/; revision=18970
2003-10-13 16:23:24 +00:00
Zoltan Varga 81fe58e6a3 2003-10-13 Zoltan Varga <[email protected]>
* OpCode.cs: Fix Value property. Fixes #49328.

svn path=/trunk/mcs/; revision=18969
2003-10-13 15:23:41 +00:00
Zoltan Varga bffa8e5189 2003-10-13 Zoltan Varga <[email protected]>
* Makefile.am (TEST_CS_SRC): Remove merged tests.

svn path=/trunk/mono/; revision=18968
2003-10-13 15:20:44 +00:00
Zoltan Varga 66a505879d 2003-10-13 Zoltan Varga <[email protected]>
* pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files +
	convert tests so they run with the test driver used by mini.

	* pinvoke3.cs libtest.c: Add tests for class arguments and return
	values.

	* pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.

svn path=/trunk/mono/; revision=18967
2003-10-13 15:19:08 +00:00
Zoltan Varga a716bb1ce5 2003-10-13 Zoltan Varga <[email protected]>
* mono/tests/ChangeLog: New file.

svn path=/trunk/mono/; revision=18966
2003-10-13 15:14:43 +00:00
Zoltan Varga 66e09b0961 2003-10-13 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am: Link the tests with the test driver program
	used for the mini tests.

svn path=/trunk/mono/; revision=18965
2003-10-13 15:12:39 +00:00
Gonzalo Paniagua Javier 2ed6d6e4cf 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: fixed bug #49604. Patch by [email protected].

svn path=/trunk/mcs/; revision=18964
2003-10-13 14:52:14 +00:00
Reggie Burnett 67656574c6 Import new changes from ByteFX
svn path=/trunk/mcs/; revision=18963
2003-10-13 14:42:31 +00:00
Zoltan Varga e01216846d 2003-10-13 Zoltan Varga <[email protected]>
* marshal.c (mono_mb_emit_branch): New helper function.

	* marshal.c (mono_mb_emit_exception): Added exception name parameter.

	* marshal.c (mono_marshal_get_managed_wrapper): Added support for
	classes as parameters and return values of delegates. Fixes #29256.

svn path=/trunk/mono/; revision=18962
2003-10-13 14:34:18 +00:00
Dick Porter 69c94f7cab Line up the optional library status display
svn path=/trunk/mono/; revision=18961
2003-10-13 14:04:45 +00:00
Atsushi Eno db3d74eeda 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlWriterTests.cs : Added WriteSurrogateCharEntity().

svn path=/trunk/mcs/; revision=18960
2003-10-13 12:08:39 +00:00
Atsushi Eno fbbe421807 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
	  Reverted my recent extraneous check in WriteStartAttribute().

svn path=/trunk/mcs/; revision=18959
2003-10-13 12:06:21 +00:00
Atsushi Eno e5ad4214ce 2003-10-13 Atsushi Enomoto <[email protected]>
* AssemblyInfo.cs : Now it became CLSCompliant.

svn path=/trunk/mcs/; revision=18958
2003-10-13 12:01:46 +00:00
Lluis Sanchez 9a6d8d45dd * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
to invariant culture.

svn path=/trunk/mcs/; revision=18957
2003-10-13 11:30:36 +00:00
Atsushi Eno 146f34e000 2003-10-13 Atsushi Enomoto <[email protected]>
* Iterator.cs : Fixed UnionIterator who ignores document order.
	  Fixed SlashIterator whose MoveNext() should finish at its end.

svn path=/trunk/mcs/; revision=18955
2003-10-13 08:31:13 +00:00
Atsushi Eno d34c6ca429 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlElementTests.cs : Added more tests on
	  RemoveDoesNotRemoveDefaultAttributes().
	* XmlNodeTests.cs : Added Normalize(), GetNamespaceOfPrefix() and
	  GetNamespaceOfPrefixNullArg().
	* XmlWriterTests.cs : Added WriteNodeNone().

svn path=/trunk/mcs/; revision=18951
2003-10-13 03:37:42 +00:00
Todd Berman 4a7a8237c7 2003-10-12 Todd Berman <[email protected]>
* AddressingHeaders.cs: implemented
        * EndpointReferenceType.cs: fixes
	* Test/EndpointReference.cs: small change

svn path=/trunk/mcs/; revision=18950
2003-10-13 03:34:51 +00:00
Atsushi Eno a8b09dc4f6 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
	  And it should throw ArgumentNullException.

svn path=/trunk/mcs/; revision=18949
2003-10-13 03:32:45 +00:00
Atsushi Eno b9afb3f024 2003-10-13 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : Fixed InnerText that did not removed its content
	  if there is two or more children.
	* XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
	  (2)not to compare NodeType for detached nodes, (3)optimization to
	  compare element's prefix.
	* XmlSecureResolver.cs : Removed extraneous members.

svn path=/trunk/mcs/; revision=18948
2003-10-13 03:08:07 +00:00
Gonzalo Paniagua Javier d1459321c7 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: removed some debug lines.
	* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
	* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
	parameters.
	* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.

svn path=/trunk/mcs/; revision=18945
2003-10-13 01:14:56 +00:00
Gonzalo Paniagua Javier b4f5170b44 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* PageParser.cs: ignore ValidateRequest by now.

svn path=/trunk/mcs/; revision=18944
2003-10-13 00:24:32 +00:00
Gonzalo Paniagua Javier 4df757a617 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* HttpWebResponse.cs: better abort handling and leave the stream in a
	stable status on abort.

svn path=/trunk/mcs/; revision=18943
2003-10-13 00:19:54 +00:00
Gonzalo Paniagua Javier aa9b15aebe 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* Directive.cs: new attribute for @Page directive in 1.1.

svn path=/trunk/mcs/; revision=18942
2003-10-13 00:12:02 +00:00
Bernie Solomon 9789382d21 2003-10-12 Bernie Solomon <[email protected]>
* locales.c: use gint32 in non HAVE_ICU case

svn path=/trunk/mono/; revision=18941
2003-10-12 23:42:41 +00:00
Lluis Sanchez 806e2a4821 * SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
SoapWebClientAsyncResult class derived from WebClientAsyncResult.
	* WebClientAsyncResult.cs: Removed unneeded members.

svn path=/trunk/mcs/; revision=18939
2003-10-12 23:09:33 +00:00
Alexandre Pigolkine 885d4675da added -f on clean
svn path=/trunk/mcs/; revision=18938
2003-10-12 23:01:48 +00:00
Alexandre Pigolkine 75ea21ed5a gdiplus added to subdirs
svn path=/trunk/mcs/; revision=18937
2003-10-12 22:30:18 +00:00
Alexandre Pigolkine 8d4784eecc new sources added
svn path=/trunk/mcs/; revision=18936
2003-10-12 22:27:26 +00:00
Alexandre Pigolkine 3b0c68fa11 new sources added
svn path=/trunk/mcs/; revision=18935
2003-10-12 22:27:26 +00:00
Alexandre Pigolkine ef87f4ab43 Factories.cs removed
svn path=/trunk/mcs/; revision=18934
2003-10-12 22:22:01 +00:00
Gonzalo Paniagua Javier 836553cfd9 Removed list.unix files
svn path=/trunk/mcs/; revision=18933
2003-10-12 22:21:29 +00:00
Alexandre Pigolkine 8cfe6ec101 removed cairo,gtk,win32 implementations. Added gdi+ implementation
svn path=/trunk/mcs/; revision=18932
2003-10-12 22:21:12 +00:00
Todd Berman ad474fb6e3 2003-10-12 Todd Berman <[email protected]>
* QualifiedName.cs (FromString): fix from nunit tests

svn path=/trunk/mcs/; revision=18931
2003-10-12 21:52:38 +00:00
Alexandre Pigolkine bb74aa809f gdpi* files added
svn path=/trunk/mcs/; revision=18930
2003-10-12 21:34:05 +00:00
Alexandre Pigolkine b6887a500d implementation changed to gdi+
svn path=/trunk/mcs/; revision=18929
2003-10-12 21:27:00 +00:00
Alexandre Pigolkine 2e52e54526 sources deleted. gdi+ based implementation will be added
svn path=/trunk/mcs/; revision=18928
2003-10-12 21:17:23 +00:00
Alexandre Pigolkine 776d5fee3e factory removed
svn path=/trunk/mcs/; revision=18927
2003-10-12 21:04:06 +00:00
Alexandre Pigolkine d42edaabb1 warning removed
svn path=/trunk/mcs/; revision=18926
2003-10-12 21:01:59 +00:00
Alexandre Pigolkine 6f7a3a00b7 graphics state variable added
svn path=/trunk/mcs/; revision=18925
2003-10-12 20:59:30 +00:00
Todd Berman 919f7273e5 using a unique name instead of 'a' is probably a good idea.
svn path=/trunk/mcs/; revision=18924
2003-10-12 19:20:43 +00:00
Todd Berman 2b686afd12 Removing the dll, adding the .sources and adding a .cvsignore
svn path=/trunk/mcs/; revision=18923
2003-10-12 19:05:19 +00:00
Todd Berman 7c4b23d16a 2003-10-12 Todd Berman <[email protected]>
* Adding tests and modifying makefile to work with make test

svn path=/trunk/mcs/; revision=18922
2003-10-12 19:03:49 +00:00
Todd Berman 765dc900da adding the new files is important
svn path=/trunk/mcs/; revision=18921
2003-10-12 18:49:55 +00:00
Todd Berman 0282464ae2 2003-10-12 Todd Berman <[email protected]>
* Lots of files changed, upgraded to nunit 2.1.4. I built and ran the
        corlib test, so it seems like existing tests should still work under
        this new version of nunit.

svn path=/trunk/mcs/; revision=18920
2003-10-12 18:48:28 +00:00
Sebastien Pouliot 4aaefaafda 2003-10-12 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added classes for Authenticode support.
	* corlib_test.dll.sources: Added unit test for SPC certificates.

svn path=/trunk/mcs/; revision=18919
2003-10-12 16:14:11 +00:00
Sebastien Pouliot 52c4ef584b 2003-10-12 Sebastien Pouliot <[email protected]>
* X509SpcTest.cs: New. Test for Software Publisher Certificates
	(a.k.a. Authenticode) using CreateFromSignedFile.

svn path=/trunk/mcs/; revision=18918
2003-10-12 16:11:03 +00:00
Jordi Mas i Hernandez dcc12e8b2b item color, properties, and fixes
svn path=/trunk/mcs/; revision=18917
2003-10-12 16:10:23 +00:00
Sebastien Pouliot 10037676f6 2003-10-12 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Implements CreateFromSignedFile using
	Authenticode related classes.

svn path=/trunk/mcs/; revision=18916
2003-10-12 16:09:48 +00:00
Sebastien Pouliot d91145abd2 2003-10-12 Sebastien Pouliot <[email protected]>
* ITrustAnchors.cs: Added from Mono.Security assembly to
	support Authenticode in X509Certificate.CreateFromSignedFile
	* TestAnchors.cs: Added from Mono.Security assembly to
	support Authenticode in X509Certificate.CreateFromSignedFile
	* TrustAnchors.cs: Added from Mono.Security assembly to
	support Authenticode in X509Certificate.CreateFromSignedFile
	* X509CertificateCollection.cs: Added from Mono.Security assembly to
	support Authenticode in X509Certificate.CreateFromSignedFile
	* X509Chain.cs: Added from Mono.Security assembly to
	support Authenticode in X509Certificate.CreateFromSignedFile

svn path=/trunk/mcs/; revision=18915
2003-10-12 16:08:24 +00:00
Sebastien Pouliot 515746547b 2003-10-12 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: Added from Mono.Security assembly for
	Authenticode support in X509Certificate.CreateFromSignedFile
	* AuthenticodeDeformatter.cs: Added from Mono.Security assembly for
	Authenticode support in X509Certificate.CreateFromSignedFile

svn path=/trunk/mcs/; revision=18914
2003-10-12 16:07:14 +00:00
Sebastien Pouliot 61237ea0f7 2003-10-12 Sebastien Pouliot <[email protected]>
* PKCS7.cs: Added from Mono.Security assembly for Authenticode
	support in X509Certificate.CreateFromSignedFile

svn path=/trunk/mcs/; revision=18913
2003-10-12 16:06:12 +00:00
Pedro Martínez Juliá ee2617c815 2003-10-12 Pedro Mart�nez Juli� <[email protected]>
* WebClient.cs: refine reading of local files (like MS.NET).

svn path=/trunk/mcs/; revision=18912
2003-10-12 15:54:36 +00:00
Sebastien Pouliot d42916d11d 2003-10-12 Sebastien Pouliot <[email protected]>
* chktrust.1: New. Man page for Authenticode chktrust.exe
	* signcode.1: New. Man page for Authenticode signcode.exe
	* sn.1: New. Man page for StrongName sn.exe
	* man.xml: Added new (and missing) entries.

svn path=/trunk/mono/; revision=18911
2003-10-12 15:47:17 +00:00
Zoltan Varga a7880856f7 2003-10-12 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_class_init_trampoline): Fix build.

svn path=/trunk/mono/; revision=18910
2003-10-12 12:53:05 +00:00
Zoltan Varga d347aa0282 2003-10-12 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_class_init_trampoline): Thread safety fixes.

svn path=/trunk/mono/; revision=18909
2003-10-12 11:47:49 +00:00
Duncan Mak c476030978 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
(cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
(cairo_current_matrix): Signature changed, updated.
(cairo_surface_reference): New API.
(cairo_surface_get_matrix): Use 'out' instead of 'ref' param.

* Mono.Cairo/Surface.cs:
* Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
(Destroy): It's supposed to return void, not IntPtr.

* cairo-api.cs: Marked as in internal class, instead of
public. Update to new Cairo API (see Mono.Cairo/Cairo.cs).

* gdk-helpers.cs (Gdk.Pixbuf.Finalize): Removed.

svn path=/trunk/mcs/; revision=18901
2003-10-12 01:51:58 +00:00
Miguel de Icaza 7a8b202243 Also work for floats
svn path=/trunk/mcs/; revision=18899
2003-10-12 01:39:58 +00:00
Sebastien Pouliot bf26a6cd07 2003-10-11 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: changed version number to 0.28.99
	* sn.cs: Add support for signing and verifying assemblies.

svn path=/trunk/mcs/; revision=18890
2003-10-11 20:11:11 +00:00
Sebastien Pouliot 1c0af4d933 2003-10-11 Sebastien Pouliot <[email protected]>
* SoftwarePublisherCertificateTest.cs: Repaired test build.

svn path=/trunk/mcs/; revision=18889
2003-10-11 20:03:42 +00:00
Sebastien Pouliot 7f74d37349 2003-10-11 Sebastien Pouliot <[email protected]>
* StrongNameTest.cs: Added tests for Hash, Sign and Verify.

svn path=/trunk/mcs/; revision=18888
2003-10-11 20:02:55 +00:00
Sebastien Pouliot 877fd976ca 2003-10-11 Sebastien Pouliot <[email protected]>
* StrongName.cs: Added Hash, Sign and Verify.

svn path=/trunk/mcs/; revision=18887
2003-10-11 20:02:08 +00:00
Ben Maurer 68d0ae70c1 build fix
svn path=/trunk/mcs/; revision=18885
2003-10-11 18:42:13 +00:00
Martin Baulig 6d1434b90b 2003-10-11 Martin Baulig <[email protected]>
* mono-debug.c (mono_debug_add_method): Added a workaround for
	bug #48591.

svn path=/trunk/mono/; revision=18883
2003-10-11 16:37:13 +00:00
Miguel de Icaza 17d579340e Patch from Marco Canini to fix an overflow
svn path=/trunk/mcs/; revision=18881
2003-10-11 15:49:10 +00:00
Gonzalo Paniagua Javier 1351d60778 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: apply the calendar style to the new Table, not to itself.
	Fixes #49406.

	* CheckBox.cs: render the hidden fields if AutoPostBack.

	* Style.cs: don't render empty width/height. Small improvement in
	CopyFrom.

	* Table.cs: fixed condition for border width.

	* TableStyle.cs:
	(CopyFrom): always call the base class to copy other attributes. Fixes
	bug #49408. Don't render empty 'rules' attribute.

	* WebControl.cs: track viewstate when enabled. Don't overwrite source
	control attributes in CopyBaseAttributes.

	* ChangeLog: fixed dates.

svn path=/trunk/mcs/; revision=18878
2003-10-11 09:08:19 +00:00
Jackson Harper f7a32ebaaf Add new generic method types to build
svn path=/trunk/mcs/; revision=18877
2003-10-11 09:00:09 +00:00
Jackson Harper eb3501270a * GenericTypeRef.cs: Allow Mvars to be a base type.
* GenericMethodRef.cs: Basically just a wrapper around an existing
	method making it into a generic method.
	* GenericMethodSig.cs: Signature for a generic method.

svn path=/trunk/mcs/; revision=18876
2003-10-11 08:59:12 +00:00
Jackson Harper 5cf9f721be * ILParser.jay: Create generic method refs.
svn path=/trunk/mcs/; revision=18875
2003-10-11 08:57:47 +00:00
Gonzalo Paniagua Javier 3da453fd79 Decrypt file.
svn path=/trunk/mcs/; revision=18874
2003-10-11 06:59:25 +00:00
Gonzalo Paniagua Javier 8cf4b208b3 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs:
	* HttpServerUtility.cs: change the response writer in Execute. Thanks
	to Rich Alimi <[email protected]> for noticing this.

svn path=/trunk/mcs/; revision=18873
2003-10-11 04:01:03 +00:00
Gonzalo Paniagua Javier 6ff13149b4 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs:
	* System.Web.UI/TemplateControl.cs: support for wiring up events without
	parameters.

	* System.Web.Compilation/AspParser.cs:
	* System.Web.Compilation/TagAttributes.cs: allow duplicated runat=server
	attributes and display error page when duplicated attributes and runat
	is specified.

svn path=/trunk/mcs/; revision=18872
2003-10-11 03:45:07 +00:00
Jackson Harper ab06036d9b * PEAPI.cs: New GenericMethodSig class for creating generic method
signatures. Use this class instead of GenericTypeInst for creating
	generic methods. Fix Generic call conv. according to two of my
	docs it is 0x10 and only one says 0x50 so I will go with 0x10.

svn path=/trunk/mcs/; revision=18871
2003-10-11 00:30:31 +00:00
Pedro Martínez Juliá 3797b802e3 2003-10-10 Pedro Mart�nez Juli� <[email protected]>
* Uri.cs: fixed a problem with some URIs like file://some_file.txt
    It used to return "/some_file.txt/" instead of "some_file.txt" in
    LocalPath. Fix handling of full path files and SMB addresses.

    * UriTest.cs: added some test for "file://one_file.txt". Uri used to
    fail with this URIs.

    * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
    but we didn't. Now, when Uri fails with an exception, it adds
    "file://" before the URI and tries again.

svn path=/trunk/mcs/; revision=18870
2003-10-10 23:38:41 +00:00
Jackson Harper 24feac0622 * dump.c: When dumping methodspecs dump the full methodspec with
signature, and dump the signature.

svn path=/trunk/mono/; revision=18865
2003-10-10 21:12:42 +00:00
Lluis Sanchez 4dba84b1e7 * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
need to be of type SOAP-ENC:Array, it can be a restriction of it.

svn path=/trunk/mcs/; revision=18863
2003-10-10 17:54:25 +00:00
Lluis Sanchez 27b8bed27b * ContractReference.cs, DiscoveryClientProtocol.cs,
DiscoveryClientResult.cs, DiscoveryDocument.cs,
	  DiscoveryDocumentReference.cs, DiscoveryExceptionDictionary.cs,
	  DiscoveryReference.cs, SchemaReference.cs: Implemented initial support
	  for discovery documents (.disco).

svn path=/trunk/mcs/; revision=18862
2003-10-10 16:38:58 +00:00
Lluis Sanchez 1fc112dd30 * DiscoveryDocumentSerializer.cs: New file.
svn path=/trunk/mcs/; revision=18861
2003-10-10 16:38:18 +00:00
Zoltan Varga 0e18f43e44 2003-10-10 Zoltan Varga <[email protected]>
* mini.c (mono_no_aot): Remove unused global variable.

	* mini.c: Thread safety fixes.

svn path=/trunk/mono/; revision=18860
2003-10-10 13:08:13 +00:00
Zoltan Varga b87cada4f9 2003-10-10 Zoltan Varga <[email protected]>
* mono/tests/libtest.c (mono_test_marshal_delegate): Added test for
	stdcall calling convention.

svn path=/trunk/mono/; revision=18859
2003-10-10 12:41:23 +00:00
Zoltan Varga bbfafd3cb8 2003-10-10 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_managed_wrapper): Under windows,
	delegates passed to native code must use the STDCALL calling
	convention. Fixes #35987.

svn path=/trunk/mono/; revision=18858
2003-10-10 12:31:52 +00:00
Zoltan Varga d55b62b763 2003-10-10 Zoltan Varga <[email protected]>
* Array.cs: Add argument checking to GetValue and SetValue.

svn path=/trunk/mcs/; revision=18857
2003-10-10 11:30:32 +00:00
Jackson Harper 07cb99479e * get.c/get.h: Add methods to get stringified methodspecs and
method type parameters.

svn path=/trunk/mono/; revision=18855
2003-10-10 09:03:37 +00:00
Jackson Harper 2085bb603c * get.c/get.h: Add methods to get stringified methodspecs and
method type parameters.

svn path=/trunk/mono/; revision=18854
2003-10-10 08:59:06 +00:00
Gonzalo Paniagua Javier ae5fc1a2c6 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* AspTokenizer.cs: moved token numbers above unicode.

svn path=/trunk/mcs/; revision=18853
2003-10-10 08:53:57 +00:00
César Natarén 4a467bb631 2003-10-10 cesar lopez nataren <[email protected]>
* README: added some info about hacking the grammar

svn path=/trunk/mcs/; revision=18852
2003-10-10 07:30:10 +00:00
César Natarén 986d3b3a3f 2003-10-10 cesar lopez nataren <[email protected]>
* JSparser.cs: Updated the constructor to not receiving params.
	* JScriptLexer.cs, JScriptParser.cs, JScriptParserTokenTypes.cs,
	JScriptParserTokenTypes.txt: update of antlr generated files from
	grammar changes.

svn path=/trunk/mcs/; revision=18851
2003-10-10 07:11:34 +00:00
César Natarén fda3c92ae2 changelog entry for grammar changes
svn path=/trunk/mcs/; revision=18850
2003-10-10 06:59:50 +00:00
César Natarén 87ddb77762 rewritten EcmaScript grammar
svn path=/trunk/mcs/; revision=18849
2003-10-10 06:47:05 +00:00
Martin Baulig 758f6e5899 2003-10-10 Martin Baulig <[email protected]>
* class.c (inflate_generic_type): If we're inflating for a generic
	type instance (and not for a generic method), return
	MONO_TYPE_MVAR unchanged.

svn path=/trunk/mono/; revision=18848
2003-10-10 05:37:29 +00:00
Gonzalo Paniagua Javier cbec6fae55 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: don't close the response stream here
	to allow filtering.

svn path=/trunk/mcs/; revision=18846
2003-10-10 04:35:54 +00:00
Gonzalo Paniagua Javier 153b8e21fb 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* System.Collections/Hashtable.cs:
	* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
	Barcenilla ([email protected]) that includes some fixes for
	Hashtable + NUnit2 tests.

svn path=/trunk/mcs/; revision=18845
2003-10-10 03:24:41 +00:00
Miguel de Icaza 88119e10b2 2003-10-09 Miguel de Icaza <[email protected]>
* DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
	should not be TimeSpan.MaxValue, because it overflow.  Set this to
	be MAX_VALUE_TICKS

svn path=/trunk/mcs/; revision=18844
2003-10-10 03:14:54 +00:00
Gonzalo Paniagua Javier 882b95eb78 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* threadpool.[ch]: export busy_worker_threads, not mono_worker_threads.
	* threads.c: GetAvailableTheads is slightly more accurate.

svn path=/trunk/mono/; revision=18842
2003-10-10 01:44:42 +00:00
Gonzalo Paniagua Javier 23d0d230df 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: Join ignores null strings in the source array.

svn path=/trunk/mono/; revision=18841
2003-10-10 01:37:27 +00:00
Gonzalo Paniagua Javier b863fdb066 added webControls section
svn path=/trunk/mono/; revision=18840
2003-10-10 01:17:27 +00:00
Gonzalo Paniagua Javier d8e085a44e 2003-10-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new file.
	* System.Web/HttpUtility.cs: error checking.
	* System.Web.Configuration/WebControlsSectionHandler.cs: new file to
	handle <webControls> configuration.

svn path=/trunk/mcs/; revision=18839
2003-10-10 01:16:51 +00:00
Bernie Solomon 516629a492 2003-10-09 Bernie Solomon <[email protected]>
* threads.h threads.c : add mono_threads_set_default_stacksize
	and pass default to CreateThread calls.

svn path=/trunk/mono/; revision=18838
2003-10-10 00:30:15 +00:00
Lluis Sanchez aea21a926a * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
Read only properties are only serialized if the type is an array.

svn path=/trunk/mcs/; revision=18837
2003-10-10 00:24:03 +00:00
Gonzalo Paniagua Javier 529ef9cedc report about ICU
svn path=/trunk/mono/; revision=18836
2003-10-09 23:36:33 +00:00
Martin Baulig 65e3f14c36 2003-10-10 Martin Baulig <[email protected]>
* gen-15.cs: New test for generic methods.

svn path=/trunk/mcs/; revision=18835
2003-10-09 23:24:19 +00:00
Martin Baulig a5fc4e363e 2003-10-10 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Added `index' field.
	(TypeBuilder.DefineGenericParameter): Added overloaded version
	taking an `int index' argument for generic methods.

svn path=/trunk/mcs/; revision=18834
2003-10-09 23:18:15 +00:00
Martin Baulig 06b80a61ef 2003-10-10 Martin Baulig <[email protected]>
* reflection.c (MonoReflectionGenericParam): Added `guint32 index'.
	(mono_reflection_define_generic_parameter): If `gparam->index' is
	non-zero, create a MONO_TYPE_MVAR.
	(encode_type): Added support for MONO_TYPE_MVAR.

svn path=/trunk/mono/; revision=18833
2003-10-09 23:15:12 +00:00
Martin Baulig 6dc192770c 2003-10-10 Martin Baulig <[email protected]>
* class.cs (Method): Added .ctor which takes a `GenericMethod'
	instead of a `DeclSpace'.  This is used for generic methods.

	* cs-parser.jay (method_header): Added support for generic
	methods; create a `GenericMethod' instance and pass it to the
	`Method's .ctor; it'll be used as the `DeclSpace' to lookup
	parameters and locals.

	* decl.cs (DeclSpace.SetParameterInfo): Removed Location argument
	since we already have the location.  Check whether we're a generic
	type declaration or a generic method and create the correct type
	parameter.

	* generic.cs (TypeParameter): Added .ctor which takes an
	additional `int index' argument.  It is used for generic methods.
	(TypeParameter.DefineMethod): New public method.
	(GenericMethod): New public class; derives from DeclSpace and is
	used for generic methods.

svn path=/trunk/mcs/; revision=18831
2003-10-09 23:08:39 +00:00
Martin Baulig 96224344bd Merged from MCS.
svn path=/trunk/mcs/; revision=18828
2003-10-09 22:41:37 +00:00
Martin Baulig 961edc5f16 2003-10-09 Martin Baulig <[email protected]>
* class.cs (MethodCore): Added additional `DeclSpace ds' argument
	to the .ctor.
	(MethodCore.DoDefineParameters): Removed the TypeContainer
	argument; use the DeclSpace which was passed to the .ctor instead.
	(MethodCore.CheckParameter): Take a DeclSpace instead of a
	TypeContainer; we only need a DeclSpace here.

svn path=/trunk/mcs/; revision=18826
2003-10-09 22:23:09 +00:00
Dick Porter 41629d100e Add MONO_ARCH_SAVE_REGS (noticed by Gonzalo)
svn path=/trunk/mono/; revision=18824
2003-10-09 21:48:10 +00:00
Martin Baulig 3efb6980e9 Ooops.
svn path=/trunk/mcs/; revision=18823
2003-10-09 21:39:18 +00:00
Martin Baulig 196354554f 2003-10-09 Martin Baulig <[email protected]>
* class.cs (MethodData): Added additional `DeclSpace ds' argument
	to the .ctor.
	(MethodData.Define, MethodData.Emit): Pass the `ds' to the
	EmitContext's .ctor.

svn path=/trunk/mcs/; revision=18822
2003-10-09 21:33:50 +00:00
Martin Baulig 2e6682ad06 2003-10-09 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.AsAccessible): Moved here from TypeContainer.
	(AccessLevel, CheckAccessLevel, GetAccessLevel): They're used by
	AsAccessible(), moved them as well.

	* class.cs (TypeContainer.AsAccessible): Moved to DeclSpace.

svn path=/trunk/mcs/; revision=18821
2003-10-09 21:18:32 +00:00
Dick Porter 49f6ddf3f2 2003-10-09 Dick Porter <[email protected]>
* CultureInfo.cs: Implemented, with internal calls to ICU apart
	from the Invariant culture.

	* SortKey.cs:
	* CompareInfo.cs: Implemented

	* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
	construct default FullDateTimePattern on the fly.

svn path=/trunk/mcs/; revision=18820
2003-10-09 21:09:57 +00:00
Bernie Solomon d3d0af6b2b 2003-10-09 Bernie Solomon <[email protected]>
* threads.c: (CreateThread) use stacksize argument
	if non-zero - change default for 64 bits to 4Mb

svn path=/trunk/mono/; revision=18819
2003-10-09 21:09:48 +00:00
Dick Porter fa2b014fe6 2003-10-09 Dick Porter <[email protected]>
* acconfig.h:
	* configure.in: Check for ICU availability

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

	* icall.c:
	* locales.h:
	* locales.c: Internal calls for constructing CultureInfo and
	related objects from libicu (if its available.)

svn path=/trunk/mono/; revision=18818
2003-10-09 21:00:27 +00:00
Gonzalo Paniagua Javier da9ac009c2 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
	duplicate entry exception.

svn path=/trunk/mcs/; revision=18817
2003-10-09 20:34:50 +00:00
Bernie Solomon 201618f94e 2003-10-09 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: fix after merge of pinvoke2.cs

svn path=/trunk/mono/; revision=18814
2003-10-09 19:20:57 +00:00
Atsushi Eno f226ebf515 2003-10-09 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added DTDReader.cs.

svn path=/trunk/mcs/; revision=18813
2003-10-09 19:14:22 +00:00
Atsushi Eno a02a5b1d9c 2003-10-09 Atsushi Enomoto <[email protected]>
* Added DTDReader.cs. It is almost importation of XmlTextReader.
	* DTDObjectModel.cs :
	  - More .NET-ism. Properties took place of fields.
	  - Imported PE set from XmlTextReader. Added location info.
	  - Added DTDEntityBase common to PE and GE.
	  - More correct text declaration handling with new XmlTextReader.
	* DTDValidatingReader.cs :
	  - Now uses entity resolving XmlTextReader to validate attributes
	    correctly. Implemented standalone
	  - Standalone and default related validity constraints check.
	* XmlImplementation.cs: Implemented HasFeature().
	* XmlNode.cs : Implemented Supports().
	* XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
	* XmlParserInput.cs : Removed extraneous members.
	* XmlTextReader.cs :
	  - All DTD related functionality now goes to DTDReader.cs
	  - It became old simple TextReader input style.
	  - Implemented GetRemainder().
	  - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
	    additional new private method ReadUntilEndTag().
	  - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
	    ReadXmlDeclaration() now became simple.
	  - More strict entity reference check at SetEntityReferenceProperty()
	  - Removed extraneous members.
	* XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.

svn path=/trunk/mcs/; revision=18812
2003-10-09 19:13:16 +00:00
Atsushi Eno 84f03c049d 2003-10-09 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.

svn path=/trunk/mcs/; revision=18811
2003-10-09 19:08:36 +00:00
Zoltan Varga 1559f752a1 2003-10-09 Zoltan Varga <[email protected]>
* mini.c (mono_create_class_init_trampoline): Add a lock around
	class_init_hash_addr.

svn path=/trunk/mono/; revision=18810
2003-10-09 18:18:42 +00:00
Jordi Mas i Hernandez fcbd18e5ed listview column enhancements
svn path=/trunk/mcs/; revision=18808
2003-10-09 16:29:06 +00:00
Zoltan Varga c5af8da602 2003-10-09 Zoltan Varga <[email protected]>
* arrays.cs (test_0_newarr_emulation): Add new regression test for
	#30073.

svn path=/trunk/mono/; revision=18807
2003-10-09 16:14:04 +00:00
Zoltan Varga 3cb2eae825 2003-10-09 Zoltan Varga <[email protected]>
* mini.c: Decompose the NEWARR instruction before decomposing its
	arguments. Fixes #30073.

svn path=/trunk/mono/; revision=18806
2003-10-09 16:12:12 +00:00
Zoltan Varga 90c447c6af 2003-10-09 Zoltan Varga <[email protected]>
* debug-helpers.c (wrapper_type_names): Add 'unknown' wrapper type.

svn path=/trunk/mono/; revision=18804
2003-10-09 16:04:38 +00:00
Jackson Harper d17eb17b12 * main.c/get.c: Remove magic numbers, use constants.
svn path=/trunk/mono/; revision=18798
2003-10-09 09:20:55 +00:00
Jackson Harper b5dfe360d1 * PEAPI.cs: Add generic method Mvar type. Add MethodSpec table,
and an Api method for adding methods to the methodspec table.

svn path=/trunk/mcs/; revision=18797
2003-10-09 08:53:38 +00:00
Jackson Harper fd99828c88 * PeapiTypeRef.cs: Remove old hackery for adding methods to
arrays, use typespecs now.

svn path=/trunk/mcs/; revision=18796
2003-10-09 06:36:32 +00:00
Jackson Harper df8252b93e * PEAPI.cs: Remove some old hacks for adding methods to arrays,
typespecs are used for this now.

svn path=/trunk/mcs/; revision=18795
2003-10-09 06:34:17 +00:00
Todd Berman 78e359f71a 2003-10-08 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll2.sources: Added RelatesTo.cs

svn path=/trunk/mcs/; revision=18792
2003-10-09 04:45:15 +00:00
Todd Berman d5a9d5c7f8 2003-10-08 Todd Berman <[email protected]>
* RelatesTo.cs: Implemented
        * ReplyTo.cs: Implemented
        * To.cs: Implemented

svn path=/trunk/mcs/; revision=18791
2003-10-09 04:44:36 +00:00
Todd Berman 06ef910686 2003-10-08 Todd Berman <[email protected]>
* QualifiedName.cs: Initial implementation of FromString.

svn path=/trunk/mcs/; revision=18790
2003-10-09 04:42:58 +00:00
Gonzalo Paniagua Javier b93d696d8b 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: added an argument to async_invoke_thread that is the
	item to process, pass the MonoAsyncResult to the thread start function
	when creating a new thread. This way we don't need to acquire any lock
	when we're creating a new thread. Readded a semaphore for faster
	response times (instead of that Sleep i added).

svn path=/trunk/mono/; revision=18789
2003-10-09 03:52:42 +00:00
Gonzalo Paniagua Javier d3f150312d 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
	* System.Net/ServicePointManager.cs: this is the one that reads config.
	* System.Net/WebConnectionGroup.cs: don't read config here.
	* System.Net/WebConnection.cs: added the queue again. Launch queued
	requests on error.
	* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
	is case insensitive now.

svn path=/trunk/mcs/; revision=18788
2003-10-09 03:31:08 +00:00
Miguel de Icaza bacbedbd82 FlushetyFlushage
svn path=/trunk/mono/; revision=18787
2003-10-09 02:51:41 +00:00
Gonzalo Paniagua Javier aebbfda1ff 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
	the state before throwing the exception if depth > 0.

svn path=/trunk/mcs/; revision=18786
2003-10-09 02:35:08 +00:00
Lluis Sanchez 8205d9bfac * SoapReflectionImporter.cs, XmlReflectionImporter.cs,
SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
	  is not needed for value types.

svn path=/trunk/mcs/; revision=18784
2003-10-09 00:51:16 +00:00
Bernie Solomon 644ba42858 2003-10-08 Bernie Solomon <[email protected]>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
	get daylight change dates better on Windows, fix handling
	of platforms without tm_gmtoff.

svn path=/trunk/mono/; revision=18783
2003-10-09 00:44:55 +00:00
Gonzalo Paniagua Javier 92b5c16df5 Mono.Data.Tds/Mono.Data.Tds.Protocol/ChangeLog
2003-10-03  Diego Caravana  <[email protected]>

	* Tds70.cs: Now handles parameters of type ReturnValue and
	InputOutput.
	(BuildParameters): skips the ReturnValue params and builds the
	set string considering the assigned value for InputOutput ones.
	(BuildProcedureCall): like the preceding one plus adds the return
	value to the final select.


-----
System.Data/System.Data.SqlClient/ChangeLog

2003-10-03  Diego Caravana  <[email protected]>

	* SqlCommand.cs: no change.

	* SqlConnection.cs (Close): Added checks for null instance
	variables.

	* SqlParameter.cs (Direction): Now handles parameters of type
	ReturnValue and InputOutput.

	* SqlParameterCollection.cs (IndexOf(string)): Search for
	SqlParameter object in list is done by obtaining ParameterName
	attribute, not directly through list.IndexOf().

svn path=/trunk/mcs/; revision=18782
2003-10-08 23:41:01 +00:00
Jackson Harper aff0b85376 * main.c (dis_genericparam): renamed to
dis_generic_param_and_constraints, allow a table type to be passed
	to the method so this could be used with generic methods (It is
	not though).
	* get.c/get.h (get_generic_param): method to stringify generic
	type and method parameters.
	* get.c (dis_stringify_method_signature): Add generic
	parameters.

svn path=/trunk/mono/; revision=18781
2003-10-08 23:22:11 +00:00
Todd Berman f794cd94a4 2003-10-08 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added FaultTo.cs
        * Microsoft.Web.Services.dll.2.sources: Added From.cs
        * Microsoft.Web.Services.dll.2.sources: Added MessageID.cs
        * Microsoft.Web.Services.dll.2.sources: Added Recipient.cs

svn path=/trunk/mcs/; revision=18780
2003-10-08 22:25:25 +00:00
Todd Berman 5278dde382 2003-10-08 Todd Berman <[email protected]>
* FaultTo.cs: Implemented
        * From.cs: Implemented
        * MessageID.cs: Implemented
        * Recipient.cs: Implemented

svn path=/trunk/mcs/; revision=18779
2003-10-08 22:24:11 +00:00
Pedro Martínez Juliá 98d364dd92 2003-10-08 Pedro Mart�nez Juli� <[email protected]>
* System.Web.UI/PageParser.cs: drop some useless code.

svn path=/trunk/mcs/; revision=18777
2003-10-08 21:27:21 +00:00
Martin Baulig b21fd0bce0 Added a FIXME.
svn path=/trunk/mcs/; revision=18776
2003-10-08 21:26:27 +00:00
Jackson Harper 6988c9250a Test defining a generic method
svn path=/trunk/mcs/; revision=18775
2003-10-08 20:59:59 +00:00
Jackson Harper 735839a5c0 * ILParser.jay: Attach generic type parameters to methods.
svn path=/trunk/mcs/; revision=18774
2003-10-08 20:56:48 +00:00
Jackson Harper 9d43e4998c * InstrTable.cs: Add unbox.any instruction.
* MethodDef.cs: Allow generic parameters to be added to methods.

svn path=/trunk/mcs/; revision=18773
2003-10-08 20:54:44 +00:00
Jackson Harper cda2e7519a * PEAPI.cs: Remove methods for creating generic parameters without
a name, names are mandatory. Add method to add type parameters to
	methods. Allow GenericParameters to have either a type or a
	method as its owner. Also fix visibility of GenericParameters, a
	GenericParameter should not be created outside of PEAPI.

svn path=/trunk/mcs/; revision=18772
2003-10-08 20:47:53 +00:00
Martin Baulig 161889658d gen-14.cs is now working :-)
svn path=/trunk/mcs/; revision=18771
2003-10-08 20:15:21 +00:00
Martin Baulig bac4c7895c Simplify this a bit.
svn path=/trunk/mcs/; revision=18770
2003-10-08 20:11:16 +00:00
Ben Maurer 22f008d384 2003-10-08 Ben Maurer <[email protected]>
* DateTime.cs (ToString): Total rewrite, fixes #49358.

svn path=/trunk/mcs/; revision=18769
2003-10-08 20:05:37 +00:00
Martin Baulig 100c24a856 2003-10-06 Martin Baulig <[email protected]>
* class.c (inflate_generic_method): Renamed to
	mono_class_inflate_generic_method() and made public.
	(mono_class_init): Don't inflate the generic methods here.
	(mono_class_from_generic): Added `gboolean inflate_methods'
	argument.  Inflate the methods here.

	* loader.c (mono_method_get_param_names): Ignore instances of
	generic types for the moment.

	* reflection.c (fixup_method): Added support for inflated methods.
	(mono_image_create_token): Use mono_image_get_methodref_token()
	for inflated methods.
	(mono_custom_attrs_from_param): Ignore instances of generic types
	for the moment.
	(mono_reflection_bind_generic_parameters): New public function.
	Moved all the functionality from
	ves_icall_Type_BindGenericParameters() here and added support for
	dynamic types.
	(mono_reflection_define_generic_parameter): Initialize
	`klass->methods' here.

	* icall.c (ves_icall_Type_BindGenericParameters): Moved all the
	functionality into mono_reflection_define_generic_parameter().
	(ves_icall_Type_GetGenericTypeDefinition): If we're coming from a
	TypeBuilder, return that TypeBuilder.

svn path=/trunk/mono/; revision=18768
2003-10-08 20:04:01 +00:00
Duncan Mak 6bcafa2070 Add link to threading paper.
svn path=/trunk/mono/; revision=18767
2003-10-08 20:03:43 +00:00
Gaurav Vaish 58e45ccb97 2002-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* WebControl.cs         : Attributes { get; }       - Is Complete.
* ValidationSummary.cs  : AddAttributesToRender(HtmlTextWriter)
                                                    - Completed.

svn path=/trunk/mcs/; revision=18765
2003-10-08 19:11:06 +00:00
Gaurav Vaish 8ecd3fc114 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* BaseValidator.cs      : DetermineRenderUplevel()  - Completed.
                        : RegisterValidatorCommonScript()
                                       - More code, I need HELP!
                        : RegisterValidatorDeclaration()
                                       - More code, I need HELP!

svn path=/trunk/mcs/; revision=18764
2003-10-08 18:58:27 +00:00
Gaurav Vaish 5ea8374668 2002-10-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* Utils.cs   : GetScriptLocation(HttpContext) - Partial Implementation.

svn path=/trunk/mcs/; revision=18763
2003-10-08 18:48:20 +00:00
Gonzalo Paniagua Javier 2a4ac1b41b 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
* ManualResetEvent.cs: added check for disposed.
	* Thread.cs: no need to init this field.

svn path=/trunk/mcs/; revision=18762
2003-10-08 18:26:49 +00:00
Gonzalo Paniagua Javier 41dde0ef18 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
* Queue.cs: nullify the array in Clear.

svn path=/trunk/mcs/; revision=18761
2003-10-08 18:25:17 +00:00
Atsushi Eno a1f26f36d8 2003-10-08 Atsushi Enomoto <[email protected]>
* cs-parser.jay : Renamed yyName to yyNames related to jay.

svn path=/trunk/mcs/; revision=18760
2003-10-08 17:55:27 +00:00
Atsushi Eno ce203e35b9 2003-10-08 Atsushi Enomoto <[email protected]>
* output.c, skelton, skelton.cs : Renamed yyName[] to yyNames[]
	to make output CLS-compliant.

svn path=/trunk/mcs/; revision=18759
2003-10-08 17:54:20 +00:00
Jackson Harper bba5f874cc * main.c (dis_genericparam): oops, fix off-by-one error.
svn path=/trunk/mono/; revision=18758
2003-10-08 17:46:33 +00:00
Jackson Harper f46b0ef521 * main.c: NULL cnst_block so we dont explode on interfaces.
svn path=/trunk/mono/; revision=18757
2003-10-08 17:34:06 +00:00
Lluis Sanchez fbb5c0f2b4 * ObjRef.cs: Added new constructor to support CAD channel.
svn path=/trunk/mcs/; revision=18756
2003-10-08 16:39:35 +00:00
Lluis Sanchez a9a47195a8 * XmlSerializer.cs, XmlSerializationWriter.cs: Fixed bug #49353
(XmlSerializer.Serialize() handles namespace parameter incorrectly)

svn path=/trunk/mcs/; revision=18755
2003-10-08 16:38:04 +00:00
Miguel de Icaza 344f215cc2 Patch from Jochen Wezel: test for VBCodeProvider
svn path=/trunk/mcs/; revision=18754
2003-10-08 15:50:04 +00:00
Miguel de Icaza a3e555d317 Patch from Jochen Wezel: Adds new VisualBasicCodeCompiler
svn path=/trunk/mcs/; revision=18753
2003-10-08 15:49:45 +00:00
Lluis Sanchez f336585f92 * CADMessages.cs: added smuggeling argument support for some instances
of MarshalByRefObject. This should make the cross-appdomain channel
	  even faster. Some other minor fixes.

svn path=/trunk/mcs/; revision=18752
2003-10-08 15:36:56 +00:00
Gaurav Vaish dfeb85423c 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* SelectionList.cs       : Initial implementation.
* ListDataHelper.cs      : Initial implementation.
* TextBox.cs             : Dummy implmentation.

svn path=/trunk/mcs/; revision=18751
2003-10-08 13:57:05 +00:00
Gaurav Vaish d50e133fad 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* CHtmlCalendarAdapter.cs: Initial implmentation.
* ControlAdapter.cs      : HandlePostBackEvent(string),
                         : OnLoad(EventArgs),
                         : OnPreRender(EventArgs),
                         : OnUnload(EventArgs),
                         : OnRender(EventArgs)     - Marked virtual

svn path=/trunk/mcs/; revision=18750
2003-10-08 13:56:22 +00:00
Zoltan Varga 1dc7626807 2003-10-08 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_emit_epilog): Add support for stdcall calling
	convention.

svn path=/trunk/mono/; revision=18749
2003-10-08 13:19:39 +00:00
Gaurav Vaish 454d74f706 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlCalendarAdapter.cs: Initial implmentation.

svn path=/trunk/mcs/; revision=18748
2003-10-08 13:19:24 +00:00
Gaurav Vaish 11c3febf6c 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
* Style.cs               : ApplyTo(WebControl)        - Stubbed.

svn path=/trunk/mcs/; revision=18747
2003-10-08 13:17:51 +00:00
Jackson Harper d898df24d1 * get.c/get.h add method to get a methoddef from an index, simplify
get_typd_or_methdef, use new get_methoddef to get the method
	because we have a method index not a method token.

svn path=/trunk/mono/; revision=18743
2003-10-08 08:47:20 +00:00
Jackson Harper f12d0cfbfa * get.c: simplify get_typd_or_methdef
svn path=/trunk/mono/; revision=18742
2003-10-08 08:31:14 +00:00
Jaime Anguiano Olarra 73b39089b2 Building answer update.
svn path=/trunk/mono/; revision=18741
2003-10-08 08:24:11 +00:00
Sebastien Pouliot 7f269ce394 2003-10-07 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Commented CanTransformMultipleBlocks
	optimization - it simply doesn't work :(

svn path=/trunk/mcs/; revision=18737
2003-10-08 03:10:19 +00:00
Gonzalo Paniagua Javier 88b5e403bc 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
* System.Net/WebConnection.cs: the queue is now handled by the
	threadpool. Initialize the connection data in a place where it does not
	depend on the execution order of the requests in threadpool. More error
	handling.

	* System.Net/WebConnectionGroup.cs: use the limits in the config file
	and reuse connections when the limit is reached.

	* System.Net.Configuration/ConnectionManagementHandler.cs: added
	GetMaxConnections to return the max. number of simultaneous connections
	to a given host.

svn path=/trunk/mcs/; revision=18735
2003-10-08 02:45:25 +00:00
Gonzalo Paniagua Javier 186a34f3d2 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: removed mono_delegate_semaphore.

	* threadpool.c:
	(mono_thread_pool_add): moved hash table creation inside and the thread
	creation outside of the critical region.
	(mono_thread_pool_finish): removed obsolete code.
	(async_invoke_thread): don't use the semaphore. Use a plain Sleep and
	continue or exit the thread depending on the queue.

svn path=/trunk/mono/; revision=18734
2003-10-08 02:35:18 +00:00
Bernie Solomon 6d81cc4313 2003-10-07 Bernie Solomon <[email protected]>
* mono/tests/Makefile.am mono/tests/libtest.c
	mono/tests/pinvoke18.cs: new test for bool marshalling.

svn path=/trunk/mono/; revision=18732
2003-10-08 00:21:14 +00:00
Bernie Solomon 60217282a6 2003-10-07 Bernie Solomon <[email protected]>
* metadata.c (mono_type_to_unmanaged): allow bools to marshal as I1
	marshal.c (emit_ptr_to_str_conv & mono_marshal_get_native_wrapper):
        handle more bool marshalling options

svn path=/trunk/mono/; revision=18731
2003-10-08 00:18:17 +00:00
Jackson Harper 44bcf820ba * PEAPI.cs: Add unbox.any instruction.
svn path=/trunk/mcs/; revision=18730
2003-10-08 00:17:29 +00:00
Miguel de Icaza 042d97b218 2003-10-07 Miguel de Icaza <[email protected]>
* expression.cs (Binary.Emit.GreatherThanOrEqual): Fix the code
	generation for >=, as spotted by Paolo, bug 48679.
	Patch from David Waite.

	* cs-tokenizer.cs: Add handling for #pragma.

svn path=/trunk/mcs/; revision=18729
2003-10-08 00:16:10 +00:00
Miguel de Icaza e1dc7a894b New test
svn path=/trunk/mcs/; revision=18728
2003-10-08 00:15:32 +00:00
Jackson Harper a6b51979c9 * main.c: When dis. generic parameters the TypeOrMethodDef token
only needs to be shifted 1 bit. Added dis of generic constraints.
	* get.c/get.h: New method for getting a TypeOrMethodDef token
	* dump.c: When dumping generic parameters and generic constraints
	output readable names instead of just tokens.

svn path=/trunk/mono/; revision=18727
2003-10-07 23:58:31 +00:00
Todd Berman 2d380c8d45 2003-10-07 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added ReferenceProperties.cs

svn path=/trunk/mcs/; revision=18726
2003-10-07 23:35:48 +00:00
Todd Berman 54fd251e3b 2003-10-07 Todd Berman <[email protected]>
* ReferenceProperties.cs: Implemented
        * ServiceName.cs: Partially Implemented
        * EndpointReferenceType.cs: Implemented
        * EndpointReference.cs: Implemented

svn path=/trunk/mcs/; revision=18725
2003-10-07 23:34:25 +00:00
Lluis Sanchez 454937b25c * RemotingProxy.cs: Added destructor that unregisters the identity.
Fixes a memory leak.

svn path=/trunk/mcs/; revision=18724
2003-10-07 23:32:52 +00:00
Lluis Sanchez f9ee992dfc * AppDomainLevelActivator.cs: little fix.
svn path=/trunk/mcs/; revision=18723
2003-10-07 23:29:56 +00:00
Lluis Sanchez b71a8dad13 * ClientSponsor.cs: Improved implementation. Use Hashtable instead of
ArrayList for internal storage.

svn path=/trunk/mcs/; revision=18722
2003-10-07 23:29:33 +00:00
Lluis Sanchez 715d06194f * Identity.cs, RemotingServices.cs: Fixed memory leak. I Changed reference
to proxy in ClientIdentity to a WeakReference. This fixes a memory leak.
	* RemotingServices.cs: Ignore first "/" char in uris when looking for
	  and object.
	  Take into account that identity now has a weak reference
	  of the proxy.

svn path=/trunk/mcs/; revision=18721
2003-10-07 23:29:07 +00:00
Todd Berman 56d798cca2 2003-10-07 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added OpenElementElement.cs

svn path=/trunk/mcs/; revision=18717
2003-10-07 21:21:42 +00:00
Todd Berman 0b81696ddc 2003-10-07 Todd Berman <[email protected]>
* OpenElementElement.cs: implemented
        * OpenElement.cs: implemented

svn path=/trunk/mcs/; revision=18716
2003-10-07 21:19:41 +00:00
Bernie Solomon a74d7c546b 2003-10-07 Bernie Solomon <[email protected]>
* mono/scripts/Makefile.am mono/scripts/*.in: fix
	managed .exe paths so they are found under cygwin.

svn path=/trunk/mono/; revision=18714
2003-10-07 19:19:11 +00:00
Miguel de Icaza 1c13eaaa11 Next time: test before commit
svn path=/trunk/mcs/; revision=18713
2003-10-07 18:38:23 +00:00
Miguel de Icaza 644799db02 Next time: test before commit
svn path=/trunk/mcs/; revision=18712
2003-10-07 18:37:51 +00:00
Miguel de Icaza d08d7980bd 2003-10-07 Miguel de Icaza <[email protected]>
* cs-parser.jay: Allow for both yield and yield return in the
	syntax.  The anti-cobolization of C# fight will go on!

svn path=/trunk/mcs/; revision=18711
2003-10-07 18:36:21 +00:00
Lluis Sanchez 4eb2ac9cef * RealProxy.cs: Fixed support for [out] parameters in async calls.
svn path=/trunk/mcs/; revision=18707
2003-10-07 14:39:08 +00:00
Lluis Sanchez 728da4e701 * CADMessages.cs: improved argument smuggeling. Now it supports strings,
datetime and arrays of primitive types. This makes CAD much faster.
	* AsyncResult.cs: Added property to store the call message.

svn path=/trunk/mcs/; revision=18706
2003-10-07 14:35:04 +00:00
Zoltan Varga c2d9b6837d 2003-10-07 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Fix marshalling of
	arrays of structs. Also add a more descriptive error message when
	a structure member is marshalled as LPArray.

svn path=/trunk/mono/; revision=18705
2003-10-07 13:43:18 +00:00
Zoltan Varga 1e57e5d2cb 2003-10-07 Zoltan Varga <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/libtest.c: Fix array of structs
	test.

svn path=/trunk/mono/; revision=18704
2003-10-07 13:39:57 +00:00
Dick Porter 06a99a7b5a 2003-09-07 Dick Porter <[email protected]>
* Temporary workaround for bug 43567, so that Npgsql at least
	can run.

svn path=/trunk/mcs/; revision=18703
2003-10-07 13:28:14 +00:00
Nick Drochak be09b37620 2003-10-07 Nick Drochak <[email protected]>
* StackFrameTest.cs: Get tests to pass on .NET 1.1.

svn path=/trunk/mcs/; revision=18700
2003-10-07 08:03:15 +00:00
Nick Drochak 7d0e68e68f 2003-10-07 Nick Drochak <[email protected]>
* DictionaryBaseTest.cs:
	* NewArrayListTest.cs: Clean up warnings that were annoying me.

svn path=/trunk/mcs/; revision=18699
2003-10-07 07:54:47 +00:00
Miguel de Icaza 7b6a9019f7 2003-10-07 Miguel de Icaza <[email protected]>
* class.cs (TypeBuilder.DefineType): Catch error condition here
	(Parent.DefineType erroring out and returning null).

svn path=/trunk/mcs/; revision=18698
2003-10-07 06:32:15 +00:00
Miguel de Icaza f2c37fd37b 2003-10-07 Miguel de Icaza <[email protected]>
* expression.cs (ArrayCreation.EmitDynamicInitializers): When
	coping with enumerations variables, we were mistakenly processing
	them as a regular value type instead of built-in types.  Fixes the
	bug #48063

	* typemanager.cs (IsBuiltinOrEnum): New method.

svn path=/trunk/mcs/; revision=18697
2003-10-07 05:59:51 +00:00
Miguel de Icaza 2571ce2233 Improve test to check array initializations from enumerations
svn path=/trunk/mcs/; revision=18695
2003-10-07 05:40:04 +00:00
Gonzalo Paniagua Javier c51f3172cb br
svn path=/trunk/mono/; revision=18694
2003-10-06 22:36:07 +00:00
Miguel de Icaza b52628a4cc flush
svn path=/trunk/mono/; revision=18693
2003-10-06 22:25:52 +00:00
Lluis Sanchez 5c4a617b18 * System.Web.Services.dll.sources: Added
System.Web.Services.Description/HttpGetProtocolImporter.cs
		System.Web.Services.Description/HttpPostProtocolImporter.cs
		System.Web.Services.Description/HttpSimpleProtocolImporter.cs

svn path=/trunk/mcs/; revision=18692
2003-10-06 21:52:37 +00:00
Lluis Sanchez 1dad30fa74 * ProtocolImporter.cs: Moved some code to ServiceDescriptionImporter.
WebServiceBindingAttribute addition moved to SoapProtocolImporter.
	  Moved GetServiceUrl here (from SoapProtocolImporter).
	* ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
	  importers.
	* SoapProtocolImporter.cs: Minor fixes.
	* HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
	  HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
	  importers.

svn path=/trunk/mcs/; revision=18691
2003-10-06 21:52:08 +00:00
Lluis Sanchez e7cdf1b313 * HtmlFormParameterWriter.cs: Fixed WriteRequest().
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
	  HttpMethodAttribute is present in proxy's method.
	* HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
	  getting the request stream.
	* UrlEncodedParameterWriter.cs: in Encode(), take into account that
	  requestEncoding can be null.

svn path=/trunk/mcs/; revision=18690
2003-10-06 21:50:56 +00:00
Miguel de Icaza 0833d05b96 Flush
svn path=/trunk/mono/; revision=18688
2003-10-06 21:32:57 +00:00
Jordi Mas i Hernandez 97671fcc57 listview checkitems and more work
svn path=/trunk/mcs/; revision=18682
2003-10-06 19:35:02 +00:00
Bernie Solomon 7ad8f7e4c5 2003-10-06 Bernie Solomon <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/pinvoke11.cs
	mono/tests/libtest.c: Add more pass by value struct
	tests for platforms with more complex calling conventions
	(Sparc V9, HPPA 64 bit).

svn path=/trunk/mono/; revision=18679
2003-10-06 16:21:42 +00:00
Jackson Harper cda05294fd New tests for pinvoke
svn path=/trunk/mcs/; revision=18677
2003-10-06 16:08:14 +00:00
Jackson Harper f99847c499 Make sure compilation fails when an undefined label is referenced.
svn path=/trunk/mcs/; revision=18676
2003-10-06 15:53:36 +00:00
Zoltan Varga 2191234dc9 2003-10-06 Zoltan Varga <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/libtest.c: Add array of structs
	marshalling test.

svn path=/trunk/mono/; revision=18675
2003-10-06 15:52:55 +00:00
Jackson Harper 5298482014 * MethodInfo.cs: Use report to display no label error message.
svn path=/trunk/mcs/; revision=18674
2003-10-06 15:51:28 +00:00
Zoltan Varga 6fc28d7577 2003-10-06 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): Add support for
	marshalling arrays of complex types. Fixes #29098. Also remove an
	usused and incomplete function.

svn path=/trunk/mono/; revision=18673
2003-10-06 15:51:01 +00:00
Zoltan Varga 392180fa36 2003-10-06 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Allow wrapper data for CEE_LDELEMA.

	* inssel-x86.brg (OP_LOCALLOC): Fix register assignment for localloc.

	* driver.c: Add support for compiling icall wrappers to --compile.

svn path=/trunk/mono/; revision=18672
2003-10-06 15:48:33 +00:00
Paolo Molaro 8e6e5963e2 Mon Oct 6 15:38:40 CEST 2003 Paolo Molaro <[email protected]>
* gc.c: report heap_size - free_bytes as total memory allocated
	(bug#49362).

svn path=/trunk/mono/; revision=18671
2003-10-06 13:50:35 +00:00
Gonzalo Paniagua Javier ff11b8520a fixed test build on windows
svn path=/trunk/mcs/; revision=18669
2003-10-06 06:39:26 +00:00
Sebastien Pouliot 87162e900c 2003-10-05 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Removed classes from
	Microsoft.Web.Services.Policy and Microsoft.Web.Services.Messaging
	from the WSE 1.0 build (extra - corcompare).

svn path=/trunk/mcs/; revision=18666
2003-10-06 03:11:13 +00:00
Nick Drochak c255f84ea9 2003-10-06 Nick Drochak <[email protected]>
* AssemblyInfo.cs: Fix the build by ignoring assembly signing for now.

svn path=/trunk/mcs/; revision=18665
2003-10-06 03:03:19 +00:00
Sebastien Pouliot 30c5fa93a4 2003-10-05 Sebastien Pouliot <[email protected]>
* X509Certificate.cs: Class is sealed (corcompare). Implemented
	GetSubjectAlternativeName for WSE2.
	* X509CertificateCollection.cs: Removed Item[] set (corcompare).

svn path=/trunk/mcs/; revision=18664
2003-10-06 02:29:41 +00:00
Todd Berman cb8198fbaf 2003-10-05 Todd Berman <[email protected]>
* PortType.cs: Implemented

svn path=/trunk/mcs/; revision=18663
2003-10-06 01:43:54 +00:00
Sebastien Pouliot 5d9882743d 2003-10-05 Sebastien Pouliot <[email protected]>
* WebServicesConfiguration.cs: now reads <microsoft.web.services>
	<diagnostics><trace>

svn path=/trunk/mcs/; revision=18659
2003-10-06 00:44:53 +00:00
Sebastien Pouliot 60349e4629 2003-10-05 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.Diagnostics: Added new namespace with
	internal TraceFilter.cs and public TraceInputFilter.cs and
	TraceOutputFilter.cs

svn path=/trunk/mcs/; revision=18658
2003-10-06 00:36:00 +00:00
Gonzalo Paniagua Javier 527fdfa8ff 2003-10-06 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: small memory usage reduction.

svn path=/trunk/mcs/; revision=18657
2003-10-06 00:29:59 +00:00
Sebastien Pouliot a90f008479 2003-10-05 Sebastien Pouliot <[email protected]>
* TimestampFormatException.cs: Use Locale.GetText and removed I18N todo.

svn path=/trunk/mcs/; revision=18656
2003-10-06 00:21:39 +00:00
Sebastien Pouliot 00e4361e34 2003-10-05 Sebastien Pouliot <[email protected]>
* SecurityOutputFilter.cs: Added missing "1" to soap:mustUnderstand

svn path=/trunk/mcs/; revision=18655
2003-10-06 00:20:16 +00:00
Sebastien Pouliot 2770004ce8 2003-10-05 Sebastien Pouliot <[email protected]>
* TraceFilter.cs: New. Generic trace logging (for input/output).
	* TraceInputFilter.cs: New. Trace SOAP input to logfile.
	* TraceOutputFilter.cs: New. Trace SOAP output to logfile.

svn path=/trunk/mcs/; revision=18654
2003-10-06 00:18:42 +00:00
Sebastien Pouliot 25780002c4 2003-10-05 Sebastien Pouliot <[email protected]>
* FilterConfiguration.cs: Added Trace[In/Out]putFilters support.

svn path=/trunk/mcs/; revision=18653
2003-10-06 00:17:05 +00:00
Sebastien Pouliot d1ae90487b 2003-10-05 Sebastien Pouliot <[email protected]>
* SoapWebRequest.cs: Now returns a SoapWebResponse for GetResponse. Added
	[MonoTODO] to the async methods.
	* SoapWebResponse.cs: Added Pipeline support for output.
	* WebServicesExtension.cs: Added [MonoTODO] to reflect reality

svn path=/trunk/mcs/; revision=18652
2003-10-06 00:14:33 +00:00
Todd Berman b854dda816 2003-10-05 Todd Berman <[email protected]>
* Microsoft.Web.Services.Addressing/AttributedQName.cs: Implemented.
	* Microsoft.Web.Services.dll.2.sources: Added AttributedQName.cs

svn path=/trunk/mcs/; revision=18651
2003-10-06 00:11:52 +00:00
Todd Berman 9c4532fb27 2003-10-05 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added QualifiedName.cs

svn path=/trunk/mcs/; revision=18647
2003-10-05 22:43:01 +00:00
Todd Berman 9d1a7d3bd1 2003-10-05 Todd Berman <[email protected]>
* QualifiedName.cs: implemented.
        * ChangeLog: added.

svn path=/trunk/mcs/; revision=18646
2003-10-05 22:41:55 +00:00
Reggie Burnett 4b2c801d47 Resyncing ByteFX.Data with latest from ByteFX
svn path=/trunk/mcs/; revision=18645
2003-10-05 21:20:04 +00:00
Reggie Burnett 463a885e90 Resyncing ByteFX.Data with latest from ByteFX
svn path=/trunk/mcs/; revision=18644
2003-10-05 21:20:04 +00:00
Todd Berman 5448776263 2003-10-05 Todd Berman <[email protected]>
* AddressList.cs: Implemented.
        * ChangeLog: Added.

svn path=/trunk/mcs/; revision=18643
2003-10-05 20:50:09 +00:00
Todd Berman 0ca26dcdd5 2003-10-05 Todd Berman <[email protected]>
* Microsoft.Web.Services.dll.2.sources: Added AddressList.cs

svn path=/trunk/mcs/; revision=18642
2003-10-05 20:49:23 +00:00
Todd Berman f30e60cf6a 2003-10-05 Todd Berman <[email protected]>
* Microsoft.Web.Services.Security/UsernameToken.cs: small WSE2 build
        fixes.
        * Microsoft.Web.Services.Addressing/AttributeUri.cs: implemented.
        * Microsoft.Web.Services.Addressing/Address.cs: implemented

svn path=/trunk/mcs/; revision=18640
2003-10-05 19:44:00 +00:00
Lluis Sanchez ccb17da8f9 * XmlReflectionImporter.cs, SoapReflectionImporter.cs: Fixed bug #49349
svn path=/trunk/mcs/; revision=18637
2003-10-05 18:38:44 +00:00
Todd Berman f344166cd3 Per gonz's request, dropping my ugly mug up on the site. I know he will
regret this very very soon :). Image might be a bit dark, I made it in
ps under win32, but we will see.

svn path=/trunk/mono/; revision=18634
2003-10-05 18:31:17 +00:00
Zoltan Varga e02954ee76 2003-10-05 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Finally
	fix timezone handling problems on Windows.

	* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Avoid
	asserts when the year is outside the range handled by ms the functions.

svn path=/trunk/mono/; revision=18627
2003-10-05 15:09:26 +00:00
Zoltan Varga 0431ee81b0 2003-10-05 Zoltan Varga <[email protected]>
* inssel.brg: The empty value in class->interface_offsets is -1, not
	0. Fixes #49287.

svn path=/trunk/mono/; revision=18626
2003-10-05 11:03:49 +00:00
Zoltan Varga 717f6b3bc2 2003-10-05 Zoltan Varga <[email protected]>
* class.c (setup_interface_offsets): If the class is an interface,
	fill out its interface_offsets slot.

svn path=/trunk/mono/; revision=18625
2003-10-05 11:00:17 +00:00
Philip Van Hoof b12b03df77 Fix for two compiler warnings
svn path=/trunk/mono/; revision=18620
2003-10-05 02:52:02 +00:00
Atsushi Eno 443f5dc95e 2003-10-05 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : patch by Jonathan Kessler. Added more test
	  methods.
	* XmlUrlResolverTests.cs : Renamed NullArgs to ResolveUriWithNullArgs,
	  and added GetEntityWithNullArgs() (though it is uncommented).
	* XmlReaderCommonTests.cs : Added XML Schema-mode XmlValidatingReader
	  testing phase.

svn path=/trunk/mcs/; revision=18619
2003-10-05 02:42:52 +00:00
Sebastien Pouliot a076ca7780 2003-10-04 Sebastien Pouliot <[email protected]>
* SoapContext.cs: Oops - nuked tberman changes :( reapplied

svn path=/trunk/mcs/; revision=18614
2003-10-05 00:15:29 +00:00
Gonzalo Paniagua Javier a87cfaac0a sigh
svn path=/trunk/mono/; revision=18612
2003-10-04 23:41:06 +00:00
Sebastien Pouliot c94317cf05 2003-10-04 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Added ChainStream to build.
	* Microsoft.Web.Services.dll.2.sources: Added ChainStream to buil

svn path=/trunk/mcs/; revision=18611
2003-10-04 23:39:07 +00:00
Sebastien Pouliot 072cf9e6d2 2003-10-04 Sebastien Pouliot <[email protected]>
* Nonce.cs: Added new internal constructor.
	* Security.cs: Fixed Tokens.
	* SecurityOutputFilter.cs: Implemented support for Tokens.
	* UsernameToken.cs: Completed GetXml/LoadXml. Still missing
	authentication/signature key.

svn path=/trunk/mcs/; revision=18610
2003-10-04 23:36:36 +00:00
Sebastien Pouliot 0baf54ff57 2003-10-04 Sebastien Pouliot <[email protected]>
* ChainStream.cs: New. Allows to chain the WebRequest.GetRequestStream
	so we can modify its content before sending it.
	* Pipeline.cs: Fixed stupid error in ProcessOutputMessage (x++ -> x--)
	* SoapContext.cs: Implemented CopyTo(SoapContext)
	* SoapEnvelope.cs: New internal constructor for SoapContext
	* SoapInputFilterCollection.cs: Fixed Clone() and added an internal
	constructor.
	* SoapOutputFilterCollection.cs: Fixed Clone() and added an internal
	constructor.
	* SoapWebRequest.cs: Completed TODO.
	* WebServicesClientProtocol.cs: Fixed InvalidCast in GetWebResponse. But
	how do we set the ResponseSoapContext ?

svn path=/trunk/mcs/; revision=18609
2003-10-04 23:31:06 +00:00
Todd Berman 08c37f9c2a Potential cygwin make issues fix
svn path=/trunk/mcs/; revision=18608
2003-10-04 23:29:51 +00:00
Todd Berman e8897a0339 2003-10-04 Todd Berman <[email protected]>
* Microsoft.Web.Services.Addressing/Action.cs: implemented

svn path=/trunk/mcs/; revision=18607
2003-10-04 23:12:48 +00:00
Todd Berman 3b84272eaf Adding myself to the team.xml, ps, we should work on somehow allowing this document to be validated using xmllint :)
svn path=/trunk/mono/; revision=18606
2003-10-04 22:45:51 +00:00
Bernie Solomon cb4ce953fe 2003-10-04 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: remove warnings except
	"no previous prototype"

svn path=/trunk/mono/; revision=18605
2003-10-04 22:23:49 +00:00
Atsushi Eno 6cd4bcc7f3 2003-10-04 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : Removed extraneous MonoTODO.
	* XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
	  WriteStartElement() and WriteStartAttribute() should ignore Prefix
	  if namespace uri is not specified.

svn path=/trunk/mcs/; revision=18594
2003-10-04 17:42:01 +00:00
Gonzalo Paniagua Javier 539f2978cc 2003-10-04 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthenticationModule.cs: fixed for applications other than /.

svn path=/trunk/mcs/; revision=18593
2003-10-04 17:11:01 +00:00
Atsushi Eno f3b6ece17d 2003-10-04 Atsushi Enomoto <[email protected]>
* XmlDocumentFragment.cs,
	  XmlElement.cs,
	  XmlEntityReference.cs : Removed extraneous MonoTODO.
	* XmlNode.cs : Implemented Normalize().
	* XmlNodeReader.cs :
	  - AttributeCount and HasAttributes should return its owner element's
	    value, to be consistent with XmlTextReader.
	  - Fixed Depth to reflect correct attribute/attribute-value iteration.
	  - simplified ownerElement and HasValue.
	  - Prefix won't return null.
	  - MoveToElement() should also work against attribute value nodes.
	* XmlTextReader.cs : MoveToElement() should return false if it is
	  positioned at element itself.

svn path=/trunk/mcs/; revision=18589
2003-10-04 15:09:59 +00:00
Sebastien Pouliot 58c100ea0c 2003-10-04 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added test case from bugzilla #49323 from
	Carlos Guzm�n �lvarez and some small tests for empty stream with
	different PaddingMode (as found by Lluis Sanchez Gual).

svn path=/trunk/mcs/; revision=18587
2003-10-04 13:53:14 +00:00
Sebastien Pouliot 0641d42155 2003-10-04 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
	optimization in Read has been fixed for partial blocks.

svn path=/trunk/mcs/; revision=18586
2003-10-04 13:49:36 +00:00
Dennis Hayes 559f15035a signture fixes
svn path=/trunk/mcs/; revision=18585
2003-10-04 06:55:23 +00:00
Dennis Hayes ac5e84aa7c signiture fixes
svn path=/trunk/mcs/; revision=18584
2003-10-04 06:53:37 +00:00
Atsushi Eno 52fd1dcfb4 2003-10-04 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs : Bugfix for whitespace handling.

svn path=/trunk/mcs/; revision=18583
2003-10-04 05:31:51 +00:00
Atsushi Eno 469f0f2e8a 2003-10-04 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Improved SignificantWhitespace handling.

svn path=/trunk/mcs/; revision=18582
2003-10-04 05:30:23 +00:00
Atsushi Eno 8f263bb8b1 2003-10-04 Atsushi Enomoto <[email protected]>
* XslTransformImpl.cs : Load(url, resolver) now uses XPathDocument
	  .ctor(url, xmlSpace).

svn path=/trunk/mcs/; revision=18581
2003-10-04 05:29:06 +00:00
Lluis Sanchez e157760696 * System.Web.Services.dll.sources: Added
System.Web.Services.Description/HttpGetProtocolReflector.cs
		System.Web.Services.Description/HttpPostProtocolReflector.cs
		System.Web.Services.Description/HttpSimpleProtocolReflector.cs

svn path=/trunk/mcs/; revision=18577
2003-10-04 00:39:43 +00:00
Lluis Sanchez 2338644126 * ProtocolReflector.cs: The ReflectionImporter property now creates a
reflector if the TypeStubInfo does not provide one.
	  Do not create XmlSchemaExporter. Take it from the service reflector, sine
	  it must be reused for all protocol reflectors. Moved some code to
	  SoapProtocolReflector, since it cannot be reused for all reflectors.
	* ServiceDescriptionReflector.cs: Reflect the type for all available
	  protocols.
	* SoapProtocolReflector.cs: Moved here some code from ProtoclReflector.
	* HttpGetProtocolReflector.cs, HttpPostProtocolReflector.cs,
	  HttpSimpleProtocolReflector.cs: new files.

svn path=/trunk/mcs/; revision=18576
2003-10-04 00:39:15 +00:00
Lluis Sanchez 5d0e259a4e * SoapDocumentationHandler.cs: Moved here the code from
WebServiceHandlerFactory that generates the documentation page.
	* WebServiceHandlerFactory.cs: Moved the code that generates the doc page
	  to SoapDocumentationHandler.cs.
	* HttpGetClientProtocol.cs, HttpGetWebServiceHandler.cs,
	  HttpPostClientProtocol.cs, HttpPostWebServiceHandler.cs,
	  HttpSimpleWebServiceHandler.cs, HttpSoapWebServiceHandler.cs,
	  SoapHttpClientProtocol.cs: Changed parameters of GetTypeStub call.
	* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Added ProtocolName
	  property. Added check for valid parameters.
	* HttpSimpleTypeStubInfo.cs: Define return MimeFormatter in constructor.
	* Methods.cs: BindingInfo and related properties moved to base TypeStubInfo.
	  Added properties for XmlImporter and SoapImporter.
	* TypeStubManager.cs: Added BindingInfo and related properties.
	  Changed GetTypeStub method. Now it takes the name of the protocol for
	  which to get the type stub info.
	* ValueCollectionParameterReader.cs: IsSupported should only return true
	  for input primitive parameters or array of primitives.

svn path=/trunk/mcs/; revision=18575
2003-10-04 00:38:45 +00:00
Lluis Sanchez ea50c7645c * XmlSchemaExporter.cs: Keep track of elements being exported.
* XmlSchemas.cs: Removed unneeded catch.

svn path=/trunk/mcs/; revision=18574
2003-10-04 00:19:41 +00:00
Gonzalo Paniagua Javier 9c407bc7bd 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: really make the cache work.

svn path=/trunk/mcs/; revision=18568
2003-10-03 20:13:43 +00:00
Zoltan Varga 55cfec5f9d 2003-10-03 Zoltan Varga <[email protected]>
* objects.cs: New test for 'is' operator on an array of interfaces.

svn path=/trunk/mono/; revision=18567
2003-10-03 20:08:54 +00:00
Gonzalo Paniagua Javier ab76e757d6 fixed suse links
svn path=/trunk/mono/; revision=18566
2003-10-03 19:34:56 +00:00
Gonzalo Paniagua Javier e9f2c04905 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: mark threadpool threads as background.

svn path=/trunk/mono/; revision=18565
2003-10-03 18:53:57 +00:00
Bernie Solomon 8ea0d1a99d 2003-10-03 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: (test_lpwstr_marshal) remove undefined
	behaviour of increment, (mono_test_marshal_char) = should be ==

svn path=/trunk/mono/; revision=18562
2003-10-03 18:03:55 +00:00
Bernie Solomon cfc86f1bd5 2003-10-03 Bernie Solomon <[email protected]>
* decimal.c - define DECINLINE to nothing if not using GCC

svn path=/trunk/mono/; revision=18558
2003-10-03 17:05:11 +00:00
Bernie Solomon 5c583346c3 2003-10-02 Bernie Solomon <[email protected]>
* hacks.h - work round HP 64 bit problem with isunordered

svn path=/trunk/mono/; revision=18557
2003-10-03 16:11:29 +00:00
Zoltan Varga a2aa2cce3f 2003-10-03 Zoltan Varga <[email protected]>
* AppDomain.cs: Change accessibility of DoTypeResolve to fix build.

svn path=/trunk/mcs/; revision=18556
2003-10-03 15:46:10 +00:00
Lluis Sanchez 83b2e0c3b7 New man page for genxs tool
svn path=/trunk/mono/; revision=18555
2003-10-03 14:45:20 +00:00
Zoltan Varga 68ff426f4f 2003-10-03 Zoltan Varga <[email protected]>
* interp.c (dump_frame): Avoid crash on frames without a method. Patch
	[email protected] (sam clegg). Fixes #46197.
	(ves_exec_method_with_context): Fix unbox casting.

svn path=/trunk/mono/; revision=18554
2003-10-03 13:44:41 +00:00
Zoltan Varga e05499d173 2003-10-03 Zoltan Varga <[email protected]>
* TypeBuilder.cs (CreateType): Fire TypeResolve events for unfinished
	nested value types. Fixes #47022.

svn path=/trunk/mcs/; revision=18553
2003-10-03 13:37:56 +00:00
Lluis Sanchez 3d97ff79e0 Updated ws doc page
svn path=/trunk/mono/; revision=18552
2003-10-03 12:23:32 +00:00
Zoltan Varga 93653b9723 2003-10-03 Zoltan Varga <[email protected]>
* assembly.c: More refcount fixes.

svn path=/trunk/mono/; revision=18551
2003-10-03 12:12:02 +00:00
Gonzalo Paniagua Javier 74ec3bdc5a 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs:
	(Equals): check that the object is an Enum before comparing the types.

svn path=/trunk/mcs/; revision=18550
2003-10-03 11:35:34 +00:00
Gonzalo Paniagua Javier e0bd775b04 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: when not splitting, don't create a new string.

svn path=/trunk/mono/; revision=18548
2003-10-03 08:11:14 +00:00
Gonzalo Paniagua Javier d0b1175d94 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* string-icalls.c: if we're not trimming, return the same string.

svn path=/trunk/mono/; revision=18547
2003-10-03 07:49:06 +00:00
Gonzalo Paniagua Javier d63b874209 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs: keep the file name of the configuration file around for
	wsdlHelpGenerator.

	* System.Web.Services.Protocols/SoapDocumentationHandler.cs: it does not
	generate the documentation page any more. GetDescription and GetSchemas
	are now internal.

	* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: generate
	the documentation page without doing a Transfer () but instead creating
	a Page instance from the wsdl help file. This file is located from the
	configuration file that contains the <wsdlHelpGenerator> tag.

svn path=/trunk/mcs/; revision=18539
2003-10-03 04:06:25 +00:00
Gonzalo Paniagua Javier f18a91c800 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/PageParser.cs:
	* System.Web.UI/TemplateControlParser.cs: honour the input file given
	as argument.

svn path=/trunk/mcs/; revision=18537
2003-10-03 04:01:08 +00:00
Gonzalo Paniagua Javier 8122d34aea 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: pass the file name we're reading as the
	context.

svn path=/trunk/mcs/; revision=18536
2003-10-03 03:58:22 +00:00
Gonzalo Paniagua Javier 398e7a4f4d 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: moved here from xsp/test.
	* Makefile.am: added the previous file.

svn path=/trunk/mono/; revision=18535
2003-10-03 03:57:09 +00:00
Gonzalo Paniagua Javier 3c197b11f4 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
	that improves performance by not reading the file more than once.

svn path=/trunk/mcs/; revision=18534
2003-10-03 02:46:07 +00:00
Gonzalo Paniagua Javier 166b9d4adc updated asp.net page
svn path=/trunk/mono/; revision=18533
2003-10-03 01:50:00 +00:00
Gonzalo Paniagua Javier b48d86af39 fix xsp version
svn path=/trunk/mono/; revision=18531
2003-10-03 00:35:52 +00:00
Gonzalo Paniagua Javier 83b7cf1f0b 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
* image.c:
	(mono_image_open): increment the ref_count inside the critical section.

svn path=/trunk/mono/; revision=18530
2003-10-03 00:00:54 +00:00
Joel Basson fb431ea2b4 *** empty log message ***
svn path=/trunk/mcs/; revision=18529
2003-10-02 23:47:49 +00:00
Miguel de Icaza a77866eff8 flush
svn path=/trunk/mono/; revision=18527
2003-10-02 22:57:10 +00:00
Miguel de Icaza 478047f3b7 flush
svn path=/trunk/mono/; revision=18526
2003-10-02 22:00:38 +00:00
Duncan Mak fa517da3e6 Re-enable the Win32 package link. The package has been uploaded.
svn path=/trunk/mono/; revision=18525
2003-10-02 21:26:23 +00:00
Martin Willemoes Hansen 6cc0cf5480 Corrected link to announcement for diacanvas-sharp
svn path=/trunk/mono/; revision=18523
2003-10-02 15:46:18 +00:00
Miguel de Icaza 0d270b709d XSP not ready for production use
svn path=/trunk/mono/; revision=18522
2003-10-02 14:38:33 +00:00
Jackson Harper a068beffca * Driver.cs: Remove delete on error, add quiet option.
* Report.cs: Can be quiet

svn path=/trunk/mcs/; revision=18519
2003-10-02 05:12:39 +00:00
Gonzalo Paniagua Javier 3c6f61256d 2003-10-02 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: handle 304 � la MS.
	* WebConnection.cs: set the response data when reading 0 bytes.

svn path=/trunk/mcs/; revision=18518
2003-10-02 04:44:48 +00:00
Jackson Harper 483a2d8875 * main.c: Fix visibility level names, when outputing pinvoke info
quote the module and method names, properties have specialname,
	and rtspecialname flags	(nothing else), dis global methods and
	fields FIXME: indentation issues.
	* get.h: declare get_fieldref_signature
	* get.c: Fix unsigned ints (not uint), single quote argument names
	(this is kinda a hack, ildasm will only single quote arg names
	that are ilasm keywords), remove fixme, we know what typedbyref
	means, output fieldref signatures instead of their token
	value.

svn path=/trunk/mono/; revision=18517
2003-10-02 04:43:29 +00:00
Miguel de Icaza 63d4355d88 flush
svn path=/trunk/mono/; revision=18516
2003-10-02 04:35:35 +00:00
Duncan Mak e781e783ac Fixity fix. Remove Xr packages, update mono-wine packages.
svn path=/trunk/mono/; revision=18515
2003-10-02 04:21:10 +00:00
Jackson Harper e727cf98cc * LabelInfo.cs: Fix tabbing, add ToString so labels are printed
properly in error messages.

svn path=/trunk/mcs/; revision=18514
2003-10-02 04:17:55 +00:00
Miguel de Icaza b0a6fa5275 Flush
svn path=/trunk/mono/; revision=18504
2003-10-02 03:13:45 +00:00
Miguel de Icaza 13a222011c Flush
svn path=/trunk/mono/; revision=18503
2003-10-02 03:13:30 +00:00
Duncan Mak fca72a60c9 Bumpity bump.
svn path=/trunk/mono/; revision=18499
2003-10-02 01:59:06 +00:00
Duncan Mak ea9f1991cc Bumpity bump.
svn path=/trunk/mcs/; revision=18499
2003-10-02 01:59:06 +00:00
Duncan Mak b937bc19d9 Ignore the new scripts.
svn path=/trunk/mono/; revision=18498
2003-10-02 01:55:47 +00:00
Duncan Mak 9ed97206d0 Forgot to commit this
svn path=/trunk/mcs/; revision=18497
2003-10-02 01:46:35 +00:00
Atsushi Eno 55f2fd0bea 2003-10-01 Atsushi Enomoto <[email protected]>
* XmlSecureResolver.cs : Implemented basic feature.

svn path=/trunk/mcs/; revision=18496
2003-10-01 23:05:31 +00:00
Zoltan Varga d4f6159215 Get rid of conflict indicators.
svn path=/trunk/mono/; revision=18495
2003-10-01 22:35:50 +00:00
Atsushi Eno 84cd05bacb 2003-10-01 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : Should work with null type argument.

svn path=/trunk/mcs/; revision=18494
2003-10-01 22:35:41 +00:00
Zoltan Varga 9421a2a472 2003-10-02 Zoltan Varga <[email protected]>
* image.c (mono_image_open): Fix reference counting bug.

svn path=/trunk/mono/; revision=18493
2003-10-01 22:34:53 +00:00
Miguel de Icaza 392a1522ce Patch from Dan Lewisi
Carlos' bug seems to stem from my failure to interpolate
the "$$" substitution pattern properly.

This fixes bug #48666

svn path=/trunk/mcs/; revision=18492
2003-10-01 21:51:20 +00:00
Duncan Mak 258e64423c Distribute the new wrapper scripts
svn path=/trunk/mono/; revision=18489
2003-10-01 20:49:34 +00:00
Duncan Mak b3d1ea1650 Little fix
svn path=/trunk/mono/; revision=18488
2003-10-01 20:27:04 +00:00
Zoltan Varga ff37ba0c98 2003-10-01 Zoltan Varga <[email protected]>
* Thread.cs: Add locking to AllocateNamedDataSlot and
	FreeNamedDataSlot.

svn path=/trunk/mcs/; revision=18487
2003-10-01 20:24:18 +00:00
Miguel de Icaza 23be499776 Flush
svn path=/trunk/mono/; revision=18486
2003-10-01 19:35:19 +00:00
Miguel de Icaza 4525c7633a Add new files to the dist
svn path=/trunk/mono/; revision=18485
2003-10-01 19:33:22 +00:00
Jordi Mas i Hernandez 9667ba357f Initial listview implementation
svn path=/trunk/mcs/; revision=18484
2003-10-01 19:26:11 +00:00
Duncan Mak 932ce77ed6 Add genxs correctly
svn path=/trunk/mono/; revision=18483
2003-10-01 18:56:37 +00:00
Paolo Molaro 2ff46940fa Wed Oct 1 19:40:02 CEST 2003 Paolo Molaro <[email protected]>
* tramp-ppc.c: update trampoline code to support jumps
	and class initialization.

svn path=/trunk/mono/; revision=18480
2003-10-01 17:54:44 +00:00
Duncan Mak 9a9eec9082 More patches from Eran Domb <[email protected]>.
* MergeManager.cs: New file.

* DataRelationCollection.cs (AddCore): Check that a
UniqueConstraint is already exists. It loops over the Relations
instead of the Constraints.
(Add, AddCore): The relation was added twice.

* DataSet.cs (Merge, GetChanges, HasChanges): Implemented.

svn path=/trunk/mcs/; revision=18479
2003-10-01 17:39:44 +00:00
Duncan Mak b2f7ef646b Add script for genxs.
svn path=/trunk/mono/; revision=18478
2003-10-01 17:26:36 +00:00
Miguel de Icaza 1dff86c9b3 Add missign file
svn path=/trunk/mono/; revision=18475
2003-10-01 16:29:55 +00:00
Lluis Sanchez 527d8bfde1 * System.Web.Services.dll.sources: Added
System.Web.Services.Protocols/HttpGetTypeStubInfo.cs,
		System.Web.Services.Protocols/HttpGetWebServiceHandler.cs,
		System.Web.Services.Protocols/HttpPostTypeStubInfo.cs,
		System.Web.Services.Protocols/HttpPostWebServiceHandler.cs,
		System.Web.Services.Protocols/HttpSimpleTypeStubInfo.cs,
		System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs,
		System.Web.Services.Protocols/TypeStubManager.cs

svn path=/trunk/mcs/; revision=18474
2003-10-01 15:30:13 +00:00
Lluis Sanchez 0cf695ef9c * ProtocolReflector.cs: Adapted to the changes in TypeStubInfo. Moved some
common code to ServiceDescriptionReflector.
	* ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs

svn path=/trunk/mcs/; revision=18473
2003-10-01 15:25:51 +00:00
Lluis Sanchez c8a7cd4755 * HtmlFormParameterReader.cs, HtmlFormParameterWriter.cs,
HttpGetClientProtocol.cs, HttpPostClientProtocol.cs,
	  HttpSimpleClientProtocol.cs, MimeFormatter.cs, MimeParameterWriter.cs,
	  NopReturnReader.cs, UrlEncodedParameterWriter.cs, UrlParameterReader.cs,
	  UrlParameterWriter.cs, ValueCollectionParameterReader.cs,
	  WebClientAsyncResult.cs, XmlReturnReader.cs, XmlReturnWriter.cs
	  : Implemented.

	* HttpSoapWebServiceHandler.cs, SoapClientMessage.cs, SoapServerMessage.cs,
	  SoapDocumentationHandler.cs, SoapHttpClientProtocol.cs,
	  WebServiceHelper.cs: Changed due to modifications in  TypeStubInfo.

	* Methods.cs: Moved common code to TypeStubInfo.cs.
	* WebServiceHandler.cs: Moved invoke code to HttpSoapWebServiceHandler.cs
	* ServerProtocol.cs, SoapServerProtocol.cs: Fixed formatting.
	* WebServiceHandlerFactory.cs: Added support for HttpGet and HttpPost.

svn path=/trunk/mcs/; revision=18472
2003-10-01 15:22:05 +00:00
Lluis Sanchez 0069f9df0d * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Fixed handling of members with XmlTextAttribute that are arrays.
	* TypeData.cs: IsComplexType now returns true for XmlNode.
	* XmlSerializer.cs: Added check for null mapping in FromMappings.
	* XmlTypeMapping.cs: Added helper method FindTextElement.

svn path=/trunk/mcs/; revision=18471
2003-10-01 15:11:03 +00:00
Lluis Sanchez 14d6f781e6 * XmlSchemaUtil.cs: arrayType attribute needs special handling.
svn path=/trunk/mcs/; revision=18470
2003-10-01 15:06:07 +00:00
Lluis Sanchez 971083668c * XmlTextWriter.cs : An attribute can require a prefix for the default
namespace, so we need to store the prefix as well as the namespace.

svn path=/trunk/mcs/; revision=18469
2003-10-01 15:04:16 +00:00
Gonzalo Paniagua Javier 8f596a484d Reverted patch by Eric.
svn path=/trunk/mcs/; revision=18468
2003-10-01 13:44:09 +00:00
Atsushi Eno 5f5e9b5745 2003-10-01 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Forgot to update with previous files.

svn path=/trunk/mcs/; revision=18467
2003-10-01 13:09:40 +00:00
Lluis Sanchez 9cc0311a83 * ConfigurationSettings.cs: Added null check for fileCache in GetCOnfig.
It can be null if the ConfigurationData instance failed to Load.

svn path=/trunk/mcs/; revision=18466
2003-10-01 11:32:02 +00:00
Bernie Solomon 38e1be1500 2003-09-30 Bernie Solomon <[email protected]>
* marshal.c (mono_marshal_type_size) struct alignment changed for
	64bit machines.  (emit_ptr_to_str_conv)	Fix bool conversions for
	64bits. Avoid leak in mono_marshal_get_native_wrapper when
	mono_lookup_pinvoke_call throws.

svn path=/trunk/mono/; revision=18465
2003-10-01 06:59:12 +00:00
Joel Basson ed22278321 *** empty log message ***
svn path=/trunk/mcs/; revision=18464
2003-10-01 03:24:15 +00:00
Atsushi Eno 8282466898 2003-10-01 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs,
	  XmlSchemaGroupRef.cs, XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeContent.cs,
	  XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
	  Fixed missing sub components check. It should fix soap stuff.
	* XmlSchemaAny.cs, XmlSchemaAttribute.cs,
	  XmlSchemaAttributeGroupRef.cs, XmlSchemaContent.cs :
	  Added my responsibility on them ;-)

svn path=/trunk/mcs/; revision=18463
2003-10-01 02:58:13 +00:00
Gonzalo Paniagua Javier b2c4a00cd9 2003-10-01 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
	that improves performance by not reading the file more than once.

svn path=/trunk/mcs/; revision=18462
2003-10-01 02:16:44 +00:00
Atsushi Eno 5a5a87568a 2003-10-01 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added DTMXPathNode.cs.

svn path=/trunk/mcs/; revision=18461
2003-10-01 02:15:24 +00:00
Atsushi Eno 11d202e5cd 2003-10-01 Atsushi Enomoto <[email protected]>
* Added DTMXPathNode.cs.
	* Fundamental changes in whole DTM stuff. Node information is now array
	  of "node struct" instead of individual arrays.

svn path=/trunk/mcs/; revision=18460
2003-10-01 02:14:13 +00:00
Gonzalo Paniagua Javier 732893031f 2003-10-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: pass the Uri, not the file path to
	when looking for a handler.

	* System.Web.Configuration/HandlerItem.cs: make it work for file names
	without wildcards.

svn path=/trunk/mcs/; revision=18459
2003-10-01 02:08:53 +00:00
Atsushi Eno 6c3e49a8ce 2003-10-01 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Read() should keep current position of XmlReader if
	  it was already positioned to 'schema' element.

svn path=/trunk/mcs/; revision=18458
2003-10-01 02:00:06 +00:00
Martin Baulig cadc541679 Small test script.
svn path=/trunk/mcs/; revision=18457
2003-10-01 01:54:54 +00:00
Martin Baulig 3ee8a7fccb FIXME FIXME FIXME FIXME
svn path=/trunk/mcs/; revision=18456
2003-10-01 01:53:21 +00:00
Gonzalo Paniagua Javier 27fe74af5e Check for null
svn path=/trunk/mcs/; revision=18455
2003-10-01 01:19:06 +00:00
Gonzalo Paniagua Javier dc75efe259 Lluis needed some fixing
svn path=/trunk/mono/; revision=18453
2003-09-30 23:52:14 +00:00
Duncan Mak 8e8b1a660a Patches from Eran Domb <[email protected]>.
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.

* DataRelation.cs (constructor): When the name of the relation is
null, it should return an empty, not "Relation".

* DataRow.cs (AcceptChanges): Added special case for
RowState.Detached.
(CancelEdit): Set editing flag to false.
(IsNull): Check that the value is DBNull.

* DataRowCollection.cs (Add): There was no check that the table of
the collection is owned by a DataSet.

* DataSet.cs (OnMergeFailed): Added.

* UniqueConstraint.cs (AssertConstraint): There was no check that
values in the row are not null, where it is a primary key
column. Also check that the row has a proposed version, if not,
get the current version when we compare the rows.

svn path=/trunk/mcs/; revision=18452
2003-09-30 23:25:54 +00:00
Todd Berman c4f17779cb 2003-09-30 Todd Berman <[email protected]>
* Microsoft.Web.Services.Addressing/AttributedUriString.cs: implemented

svn path=/trunk/mcs/; revision=18451
2003-09-30 22:25:13 +00:00
Todd Berman 11d3f2588b 2003-09-30 Todd Berman <[email protected]>
* Ok, this was the beforementioned (on -devel) WSE Makefile edit.

        Right now, this builds both WSE1 and WSE2, and installs them both, as

        Microsoft.Web.Services.1.dll and
        Microsoft.Web.Services.2.dll respectively.

        It will also install Microsoft.Web.Services.1.dll as
        Microsoft.Web.Services.dll. This behaviour can be overridden by
	defining DEFAULT_WSE2

        This can be defined in config.make or on the commandline (i think).
        I have tested clean, all, and install, but have not tested dist or
	test.

	dist should work, test might or might not. (however, a toplevel make
        dist wont be affected, because this dir is not being built by default)

        This is pure amateur makefile hackery on my part, anyone who wants
	to improve on this effort, please feel free.

svn path=/trunk/mcs/; revision=18450
2003-09-30 20:34:48 +00:00
Miguel de Icaza 51f041def1 Add new test
svn path=/trunk/mcs/; revision=18449
2003-09-30 19:40:27 +00:00
Miguel de Icaza f64a98f674 Apply patch from David Waite <[email protected]> that fixes #48710
svn path=/trunk/mcs/; revision=18448
2003-09-30 19:38:20 +00:00
Miguel de Icaza 3b37e81a70 Sort, add
svn path=/trunk/mono/; revision=18447
2003-09-30 19:28:08 +00:00
Miguel de Icaza caad077135 Add new file
svn path=/trunk/mono/; revision=18446
2003-09-30 19:28:02 +00:00
Atsushi Eno b8c790480a 2003-09-30 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: added XsdIdentityPath.cs, XsdIdentityState.cs
	  and XsdWildcard.cs.

svn path=/trunk/mcs/; revision=18445
2003-09-30 19:18:36 +00:00
Atsushi Eno c62c061680 2003-09-30 Atsushi Enomoto <[email protected]>
* Forgot to append 8/24/2003 ChangeLog.
	* BUGS.txt, BUGS-MS.txt : Appended additional bug info.
	* BuiltInDatatype.cs, ValidationHandler.cs, XmlSchema.cs,
	  XmlSchemaAll.cs, XmlSchemaAnnotation.cs. XmlSchemaAny.cs,
	  XmlSchemaAnyAttribute.cs, XmlSchemaAttribute.cs,
	  XmlSchemaAttributeGroup.cs, XmlSchemaAttributeGroupRef.cs,
	  XmlSchemaChoice.cs, XmlSchemaCollection.cs,
	  XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
	  XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
	  XmlSchemaContent.cs, XmlSchemaDatatype.cs, XmlSchemaElement.cs,
	  XmlSchemaException.cs, XmlSchemaGroup.cs, XmlSchemaGroupBase.cs,
	  XmlSchemaGroupRef.cs, XmlSchemaIdentityConstraint.cs,
	  XmlSchemaKey.cs, XmlSchemaKeyref.cs, XmlSchemaNotation.cs,
	  XmlSchemaObject.cs, XmlSchemaObjectTable.cs, XmlSchemaParticle.cs,
	  XmlSchemaReader.cs, XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
	  XmlSchemaSimpleTypeContent.cs, XmlSchemaSimpleTypeList.cs,
	  XmlSchemaSimpleTypeRestriction.cs, XmlSchemaSimpleTypeUnion.cs,
	  XmlSchemaType.cs, XmlSchemaUnique.cs, XmlSchemaUtil.cs,
	  XmlSchemaXPath.cs :

	  - Almost all classes are changed to implement schema component
	    constraints, and schema validation using XsdValidatingReader.
	  - better exception messages.
	  - More datatype support.
	  and so on.

svn path=/trunk/mcs/; revision=18444
2003-09-30 19:17:56 +00:00
Zoltan Varga e4f42dc349 2003-09-30 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_parse_type): Fix #49114.

svn path=/trunk/mono/; revision=18443
2003-09-30 19:15:17 +00:00
Zoltan Varga b634197a91 2003-09-30 Zoltan Varga <[email protected]>
* AssemblyTest.cs (TestGetType): New regression test for #49114.

svn path=/trunk/mcs/; revision=18442
2003-09-30 19:13:32 +00:00
Atsushi Eno ff5c9e2293 2003-09-30 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Simplified to use
	  XmlSchemaUtil.GetParserContext().
	* XmlValidatingReader.cs : ValidationType.Auto should always use
	  XsdValidatingReader because xsi:schemaLocation might be used.

svn path=/trunk/mcs/; revision=18441
2003-09-30 19:12:06 +00:00
Atsushi Eno e69c532a0a 2003-09-30 Atsushi Enomoto <[email protected]>
* added XsdIdentityPath.cs, XsdIdentityState.cs, XsdKeyTable.cs
	  and XsdWildcard.cs.
	* XsdParticleValidationState.cs, XsdValidatingReader.cs:
	  Completely rewrote existing validation engine.

svn path=/trunk/mcs/; revision=18440
2003-09-30 19:11:18 +00:00
Zoltan Varga ba2b58db44 2003-09-30 Zoltan Varga <[email protected]>
* file-io.c (ves_icall_System_IO_MonoIO_GetFileAttributes): Add
	temporary workaround for cygwin header problem.

svn path=/trunk/mono/; revision=18439
2003-09-30 18:08:42 +00:00
Miguel de Icaza d26d39815f Update to latest spec
svn path=/trunk/mcs/; revision=18438
2003-09-30 17:47:44 +00:00
Miguel de Icaza ef172bd287 2003-09-30 Miguel de Icaza <[email protected]>
* cs-parser.jay: Upgrade: yield now needs the return clause.

svn path=/trunk/mcs/; revision=18437
2003-09-30 17:44:28 +00:00
Atsushi Eno 1a44cecb32 2003-09-30 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Attribute value token properties were incorrectly
	  set by the linked node.

svn path=/trunk/mcs/; revision=18436
2003-09-30 17:17:52 +00:00
Miguel de Icaza af7747f92e Start using apache again
svn path=/trunk/mono/; revision=18435
2003-09-30 17:04:04 +00:00
Miguel de Icaza c1af5ea239 Flush
svn path=/trunk/mono/; revision=18434
2003-09-30 16:13:22 +00:00
Gonzalo Paniagua Javier 9df48218d9 no need to allocate new array
svn path=/trunk/mcs/; revision=18433
2003-09-30 14:16:22 +00:00
Zoltan Varga 1c3d73f050 2003-09-30 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method): Fix reading of freed memory.

svn path=/trunk/mono/; revision=18432
2003-09-30 12:25:52 +00:00
Zoltan Varga 01decf8425 2003-09-30 Zoltan Varga <[email protected]>
* inssel.brg (OP_UNBOXCAST): Fix #46027.

	* inssel.brg (OP_UNBOX): Remove unused rule.

	* mini.h mini.c inssel-x86.brg: Allocate one SP variable for each
	region instead of one for each method. Fixes #47813.

svn path=/trunk/mono/; revision=18431
2003-09-30 12:17:48 +00:00
Zoltan Varga 9013a19b30 2003-09-30 Zoltan Varga <[email protected]>
* mono/tests/remoting1.cs: Added test for interface casts on
	TransparentProxies.

svn path=/trunk/mono/; revision=18430
2003-09-30 12:10:08 +00:00
Zoltan Varga fb18f76b2b 2003-09-30 Zoltan Varga <[email protected]>
* object.c (mono_object_isinst): Synchronize this with the code
	generated by the JIT for casts.

svn path=/trunk/mono/; revision=18429
2003-09-30 12:06:51 +00:00
Gonzalo Paniagua Javier 6fe0a00f01 2003-09-30 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: reduced xsp allocated memory by 1/2.

svn path=/trunk/mcs/; revision=18427
2003-09-30 06:11:30 +00:00
Todd Berman c9359cdfcd 2003-09-29 Todd Berman <[email protected]>
* Microsoft.Web.Services.Addressing/AttributedUriString.cs: stubs
        * Microsoft.Web.Services.Xml/OpenAttributeElement.cs: implemented

svn path=/trunk/mcs/; revision=18425
2003-09-30 02:56:25 +00:00
Todd Berman 45176f55cc Adding a sources file for WSE2
svn path=/trunk/mcs/; revision=18424
2003-09-30 01:30:43 +00:00
Todd Berman 8c89c8c66b Unbreaking WSE1 and working on some WSE2 build stuff
svn path=/trunk/mcs/; revision=18423
2003-09-30 01:28:30 +00:00
César Natarén d4085c066e 2003-09-29 <[email protected]>
* Makefile: Set TEST_MCS_FLAGS.

	* Microsoft.JScript_test.dll.sources: deleted the building of my
	local test  BaseVsaEngineTest.

svn path=/trunk/mcs/; revision=18422
2003-09-29 23:20:54 +00:00
Miguel de Icaza 4030f73540 Update
svn path=/trunk/mono/; revision=18420
2003-09-29 22:35:20 +00:00
Todd Berman 3d70a0c25b heh, actually adding the file helps
svn path=/trunk/mcs/; revision=18419
2003-09-29 22:13:15 +00:00
Todd Berman b9632715e6 2003-09-29 Todd Berman <[email protected]>
* Microsoft.Web.Services.Addressing/AddressingHeaders.cs: Partially
        stubbed.
        * Microsoft.Web.Services/SoapContext.cs: using AddressingHeaders now.

svn path=/trunk/mcs/; revision=18418
2003-09-29 22:12:33 +00:00
Todd Berman 5bc17548b4 2003-09-25 Todd Berman <[email protected]>
* Microsoft.Web.Services/SoapContext.cs: Added Action, To and ReplyTo
        properties.
        * Microsoft.Web.Services.Addressing/
                Action.cs:
                Address.cs:
                AttributedUri.cs:
                AttributedUriString.cs:
                EndpointReference.cs:
                EndpointReferenceType.cs:
                ReplyTo.cs:
                To.cs: Partially stubbed.
        * Microsoft.Web.Services.Messaging/SoapReceiver.cs: Added protected
        abstract method Receive.
        * Microsoft.Web.Services.Messaging/
                SoapReceivers.cs:
                SoapSender.cs: Partially stubbed.
        * Microsoft.Web.Services.Xml/IXmlElement.cs: Moved to the Xml namespace
        which is where MS has it, added the namespace to classes that needed it
        * Microsoft.Web.Services.Xml/OpenAttributeElement.cs: Partially stubbed
        * Microsoft.Web.Services.dll.sources: Added new files.

svn path=/trunk/mcs/; revision=18417
2003-09-29 21:54:56 +00:00
César Natarén 78fb21ecbe 2003-09-29 <[email protected]>
* Added Microsoft.JScript_test.dll.sources

	* Makefile: allow test build.

	* Microsoft.JScript.dll.sources: Added VsaItem.cs, VsaItems.cs,
	VsaGlobalItem.cs, VsaReferenceItem.cs , VsaCodeItem.cs to the build.

svn path=/trunk/mcs/; revision=18416
2003-09-29 21:39:23 +00:00
César Natarén 91666b6546 2003-09-29 <[email protected]>
* VsaEngine.cs: uncommented inheritance from BaseVsaEngine (thanks
	goes to jackson). Added  constructor, added InitOptions,
	GetSpecificOption, SetSpecificOption.

svn path=/trunk/mcs/; revision=18415
2003-09-29 21:34:07 +00:00
César Natarén 80a6f3596a added ChangeLog
svn path=/trunk/mcs/; revision=18414
2003-09-29 21:29:18 +00:00
César Natarén 1f6ccaee89 2003-09-29 <[email protected]>
* BaseVsaEngine.cs: added default constructor, added exceptions
	for Close (),  implemented GetOption, added properties that let
	know the state of the engine.

svn path=/trunk/mcs/; revision=18413
2003-09-29 20:45:50 +00:00
César Natarén 4c9976ab50 2003-09-29 <[email protected]>
* Added: VsaGlobalItem.cs, VsaReferenceItem.cs, VsaCodeItem.cs

svn path=/trunk/mcs/; revision=18412
2003-09-29 20:35:22 +00:00
César Natarén 561ea9cf52 added VsaCodeItem.cs
svn path=/trunk/mcs/; revision=18411
2003-09-29 20:34:15 +00:00
César Natarén 782e904270 added VsaReference.cs
svn path=/trunk/mcs/; revision=18410
2003-09-29 20:33:16 +00:00
César Natarén 0281137ace added VsaGlobalItem.cs
svn path=/trunk/mcs/; revision=18409
2003-09-29 20:29:56 +00:00
César Natarén 6310b91a76 allow tests build
svn path=/trunk/mcs/; revision=18408
2003-09-29 20:24:15 +00:00
César Natarén 4e641bdd30 added Microsoft.JScript_test.dll.sources
svn path=/trunk/mcs/; revision=18407
2003-09-29 20:21:57 +00:00
Dennis Hayes 884a168ba9 signture corrections
svn path=/trunk/mcs/; revision=18406
2003-09-29 19:15:56 +00:00
Gonzalo Paniagua Javier c1f8e0e8e4 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ClearChildViewState): doh! Don't clear control viewstate but the
	viewstate of possible children.
	(LoadViewStateRecursive): load viewstate even when control is not
	visible.
	Fixes bug #49024.
	The rest are just dangling ^M removed.

	* DataBoundLiteralControl.cs:
	(LoadViewState): we get an object [], not a string [].

svn path=/trunk/mcs/; revision=18405
2003-09-29 19:14:56 +00:00
Zoltan Varga 115d86b552 2003-09-29 Zoltan Varga <[email protected]>
* exceptions.cs (test_0_nested_finally): New regression test for
	nested exception handlers.

svn path=/trunk/mono/; revision=18404
2003-09-29 18:36:30 +00:00
Lluis Sanchez 255babd8a9 * Methods.cs: Little fix in binding check.
* SoapExtension.cs: Implemented ChainStream. Changed some methods from
	  public to internal.
	* SoapClientMessage: Implemented EnsureInStage.
	* SoapServerMessage: Implemented EnsureInStage, EnsureOutStage.

svn path=/trunk/mcs/; revision=18403
2003-09-29 17:46:28 +00:00
Gaurav Vaish 157ce6cced 2003-09-29 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlMobileTextWriter.cs
                        : Added several Style related methods,
                          and also some Write methods.
* MobileTextWriter.cs   : Device { get; }          - Implemented
* StyleStack.cs, WriterState.cs, WriterStyle.cs, StyleTag.cs
                        : (Private / Internal) Helper classes.

svn path=/trunk/mcs/; revision=18402
2003-09-29 17:45:34 +00:00
César Natarén 6f2134bdf1 entry
svn path=/trunk/mcs/; revision=18399
2003-09-29 16:05:17 +00:00
César Natarén ea71e38947 2003-09-29 <[email protected]>
* Added VsaItemTest.cs.

svn path=/trunk/mcs/; revision=18398
2003-09-29 16:04:57 +00:00
César Natarén 3f4f2c718f ChangeLog entry
svn path=/trunk/mcs/; revision=18397
2003-09-29 15:46:49 +00:00
César Natarén 53eccbdfb7 2003-09-29 <[email protected]>
* Added VsaItem.cs, implements IVsaItem.

svn path=/trunk/mcs/; revision=18396
2003-09-29 15:46:26 +00:00
Jaime Anguiano Olarra 2a8989ca3a Added Q/A for generics support.
svn path=/trunk/mono/; revision=18394
2003-09-29 15:10:29 +00:00
Gonzalo Paniagua Javier f9b514424c 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* handles.c:
	* processes.c: undo thinkos.
	* sockets.c: set last error when socket creation fails. This shed some
	light on bug #49015.

svn path=/trunk/mono/; revision=18393
2003-09-29 15:05:21 +00:00
Zoltan Varga f05043a0dc 2003-09-29 Zoltan Varga <[email protected]>
* reflection.c (encode_type): Fix #38332.

svn path=/trunk/mono/; revision=18391
2003-09-29 14:36:45 +00:00
Zoltan Varga e7ded5c190 2003-09-29 Zoltan Varga <[email protected]>
* mini.c (mono_jit_runtime_invoke): Fix for the previous fix.

svn path=/trunk/mono/; revision=18390
2003-09-29 14:29:20 +00:00
Zoltan Varga 350ae1a6c8 2003-09-29 Zoltan Varga <[email protected]>
* TypeBuilder.cs: Really fix #48695.

svn path=/trunk/mcs/; revision=18386
2003-09-29 11:28:16 +00:00
Gonzalo Paniagua Javier e8458683cc 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs: don't lose state when enabling/disabling. See bug
	#48802.

svn path=/trunk/mcs/; revision=18383
2003-09-29 09:40:18 +00:00
Zoltan Varga 95edfe8738 2003-09-29 Zoltan Varga <[email protected]>
* mini.c (mono_method_to_ir): Avoid inlining tail calls.

	* mini.c (mono_method_to_ir): Fix tail recursion in the presence of
	inlining.

	* mini.c (mono_method_check_inlining): Make the inlining limit
	configurable by an environment variable.

	* mini.c (mono_jit_runtime_invoke): Add Gonzalo's fix for #36545.

	* mini.h: Bump AOT file version.

	* mini.h mini.c aot.c mini-x86.c: For relocations which refer to a
	token, store the image along with the token, since the token might not
	refer to the same image as the method containing the relocation,
	because of inlining.

svn path=/trunk/mono/; revision=18382
2003-09-29 09:28:49 +00:00
Dennis Hayes d3f070ec33 signture corrections - fixed compile warning too
svn path=/trunk/mcs/; revision=18381
2003-09-29 08:25:23 +00:00
Dennis Hayes 3dabf58f73 signture fix
svn path=/trunk/mcs/; revision=18380
2003-09-29 04:15:25 +00:00
Dennis Hayes 22ee4d3f83 signture fix
svn path=/trunk/mcs/; revision=18379
2003-09-29 03:49:26 +00:00
Ben Maurer 9a22532e75 warning --> error for html output (just use xml
svn path=/trunk/mcs/; revision=18378
2003-09-29 03:45:02 +00:00
César Natarén ba88fb510e indentation fix
svn path=/trunk/mcs/; revision=18375
2003-09-29 02:04:48 +00:00
Ben Maurer 85d6d93e95 remove old debug check
svn path=/trunk/mcs/; revision=18374
2003-09-29 02:04:47 +00:00
César Natarén 1fa4eb14f5 2003-09-28 <[email protected]>
* Added test for creation of new IVsaItem with repeated name

svn path=/trunk/mcs/; revision=18373
2003-09-29 02:03:19 +00:00
César Natarén a3cac7b715 2003-09-28 <[email protected]>
* VsaItems.cs: Check that no name is repeated (this was docs fault
	:-)). This is the beauty of testing.

svn path=/trunk/mcs/; revision=18372
2003-09-29 01:57:49 +00:00
Martin Baulig cb7c8a2601 2003-09-29 Martin Baulig <[email protected]>
* gen-14.cs: New generics test.

svn path=/trunk/mcs/; revision=18368
2003-09-29 00:19:54 +00:00
Martin Baulig b53aaddb16 2003-09-29 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.GetMethodFlags): Added support for
	inflated generic methods.

	* generics.cs (ConstructedType): Distinguish between open and
	closed constructed types; correctly resolve the arguments.

svn path=/trunk/mcs/; revision=18367
2003-09-29 00:19:37 +00:00
César Natarén b4c98f4e5c add ChangeLog file
svn path=/trunk/mcs/; revision=18366
2003-09-28 23:18:37 +00:00
César Natarén 805f250e6e test cases for VsaItems. People write more test please :-)
svn path=/trunk/mcs/; revision=18365
2003-09-28 23:16:38 +00:00
César Natarén 4d4c7aa801 ChangeLog entry
svn path=/trunk/mcs/; revision=18364
2003-09-28 23:09:21 +00:00
César Natarén b858ac5553 2003-09-28 <[email protected]>
* Add VsaItems.cs, implements IVsaItems.

svn path=/trunk/mcs/; revision=18363
2003-09-28 23:08:07 +00:00
Dennis Hayes ac707e7c77 signture corrections
svn path=/trunk/mcs/; revision=18362
2003-09-28 22:36:54 +00:00
Dennis Hayes 9192218b0c signture corrections
svn path=/trunk/mcs/; revision=18355
2003-09-28 18:29:52 +00:00
Gonzalo Paniagua Javier 4bf9f695c1 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* handles.c: fixed thinko. We now store the strings with their \0.
	* processes.c: fixed bug #48973: we only change \ by / for the argument
	to be used as command.
	When getting the program name from the args, don't let the space between
	them in the args.
	Store the strings with their terminating \0.

svn path=/trunk/mono/; revision=18352
2003-09-28 17:06:39 +00:00
Gonzalo Paniagua Javier 3a8ee6fc47 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
	* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
	to use a DummyDataSource and ClearViewState only called when no items.

svn path=/trunk/mcs/; revision=18351
2003-09-28 14:17:02 +00:00
Gonzalo Paniagua Javier 9233b6bb29 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.

svn path=/trunk/mcs/; revision=18350
2003-09-28 12:07:40 +00:00
Gonzalo Paniagua Javier 1c9ad5e71e 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.

svn path=/trunk/mcs/; revision=18349
2003-09-28 11:57:27 +00:00
Lluis Sanchez 6d875497f5 * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaExporter.cs:
Added support for IncludeInSchema flag.
	* SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
	* XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
	  methods. Added support for IncludeInSchema flag.
	* XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
	  Added support for IncludeInSchema flag.
	* XmlTypeAttribute.cs: Set includeInSchema to true by default.
	* XmlTypeMapping.cs: Added IncludeInSchema property.

svn path=/trunk/mcs/; revision=18348
2003-09-28 11:54:03 +00:00
Lluis Sanchez 2f83e9ef9c System.Web.Services.dll.sources: Added SoapHttpTransportImporter.cs.
svn path=/trunk/mcs/; revision=18347
2003-09-28 11:52:19 +00:00
Lluis Sanchez 2f79bb812a * HttpSoapWebServiceHandler.cs: In SerializeResponse method, improved
management of exceptions. Also added support for BufferResponse flag.
	* Methods.cs: Added MethodAttribute property in MethodStubInfo. Added
	  XmlImporter, SoapImporter and Type properties in TypeStubInfo.
	* SoapMessage.cs: little fix.

svn path=/trunk/mcs/; revision=18346
2003-09-28 11:51:48 +00:00
Lluis Sanchez e74705fd42 * ExtensionManager.cs: Read extension types from the configuration file.
Added methods for getting extension importers and reflectors.
	* ProtocolImporter.cs: Implemented.
	* ProtocolReflector.cs: Implemented.
	* ServiceDescriptionCollection.cs: Fixed some methods for finding wsdl
	  elements.
	* ServiceDescriptionImporter.cs: moved most of the code to ProtocolImporter.
	* ServiceDescriptionReflector.cs: moved most of the code to
	  ProtocolReflector and SoapProtocolReflector.
	* SoapProtocolImporter.cs: Implemented.
	* SoapProtocolReflector.cs: Implemented.
	* SoapTransportImporter.cs: Implemented.
	* SoapHttpTransportImporter.cs: Implemented.
	* wsdl.genxs: Added.

svn path=/trunk/mcs/; revision=18345
2003-09-28 11:51:17 +00:00
Gonzalo Paniagua Javier 9e109b3554 readded sqlsharp.exe
svn path=/trunk/mono/; revision=18344
2003-09-28 11:22:09 +00:00
Gonzalo Paniagua Javier 7f2636c2b2 2003-09-28 Gonzalo Paniagua Javier <[email protected]>
* Makefile: added SqlSharp to the build.
	* SqlSharp/SqlSharpCli.cs: changes by Daniel Morgan to make this build
	with MS runtime 1.0 and 1.1 .

svn path=/trunk/mcs/; revision=18342
2003-09-28 10:49:50 +00:00
Dennis Hayes 2ce28911f5 signture corrections
svn path=/trunk/mcs/; revision=18340
2003-09-28 02:14:08 +00:00
Dennis Hayes 272a9bfeac Signitour compatablity added private constructors to prevent auto creation of public constructors
svn path=/trunk/mcs/; revision=18339
2003-09-28 01:02:45 +00:00
Jackson Harper 85e36286e2 * ILParser.jay: Set pinvoke info. Allow param attributes in type
lists.

svn path=/trunk/mcs/; revision=18338
2003-09-27 23:09:11 +00:00
Jackson Harper 37d20faa1a * MethodDef.cs: Allow PInvoke info to be added.
svn path=/trunk/mcs/; revision=18337
2003-09-27 23:06:16 +00:00
Jackson Harper 137a56b2cb * PEAPI.cs: Fix pinvoke attributes, zero a methods RVA if it has
pinvoke info. This isn't entirely correct because native unmanaged
	methods can have pinvoke info and not have 0 RVAs PEAPI can't
	handle native unmanged code though. Expose the ModuleClass so
	'global' items can be referenced like this '<Module>'::foo.

svn path=/trunk/mcs/; revision=18336
2003-09-27 22:56:43 +00:00
Ben Maurer 82a0873c65 2003-09-27 Ben Maurer <[email protected]>
* Iterator.cs, Expression.cs, XPathNavigator.cs: In AxisIterator
	use NameTable so we dont call strcmp.

svn path=/trunk/mcs/; revision=18334
2003-09-27 19:52:46 +00:00
Martin Baulig d789d0d2ad 2003-09-27 Martin Baulig <[email protected]>
* gen-11.cs, gen-12.cs: New generics tests.

	* gen-13-dll.cs, gen-13.exe.cs: New generics test; this test
	consists of two files and tests whether this works if it's in two
	files and not just in one.

svn path=/trunk/mcs/; revision=18333
2003-09-27 18:17:11 +00:00
Zoltan Varga a5539dbd1e 2003-09-27 Zoltan Varga <[email protected]>
* mini.c (mono_precompile_assemblies): New function to compile
	all methods in all loaded assemblies.

	* mini.h driver.c: Added new optimization flag MONO_OPT_PRECOMP.

svn path=/trunk/mono/; revision=18332
2003-09-27 17:57:15 +00:00
Zoltan Varga 3a34ef031f 2003-09-27 Zoltan Varga <[email protected]>
* regalloc.h regalloc.c (MonoRegState): Change the type of
	iassign and fassign to int*, since they can contain large negative
	values if the register is spilled. Also added some comments. Fixes
	#45817.

svn path=/trunk/mono/; revision=18331
2003-09-27 16:21:56 +00:00
Paolo Molaro a79a2077b7 Sat Sep 27 16:17:08 CEST 2003 Paolo Molaro <[email protected]>
* ILGenerator.cs: instance fields are loaded from this.

svn path=/trunk/mcs/; revision=18330
2003-09-27 14:28:17 +00:00
Zoltan Varga 823c3577d9 2003-09-27 Zoltan Varga <[email protected]>
* exceptions-x86.c (seh_handler): Fix handling of system exceptions
	under Win32. Fixes #42964.

svn path=/trunk/mono/; revision=18329
2003-09-27 14:26:33 +00:00
Gonzalo Paniagua Javier b1cb8908dd 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed bug #48217. Patch by [email protected] (Yaron
	Shkop).

svn path=/trunk/mcs/; revision=18327
2003-09-27 12:06:03 +00:00
Ben Maurer 69d5a2fc48 2003-09-27 Ben Maurer <[email protected]>
* DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
	not "abc".
	* Iterator.cs, Expression.cs: All axes are
	SimpleIterators. SimpleIterators are gaurenteed to give the same
	XPathNavigator in Current. Make AxisIterator take a
	SimpleIterator, not any old BaseIterator. Will allow us to make
	NameTable optimizations and avoid quite a few strcmp's.

svn path=/trunk/mcs/; revision=18326
2003-09-27 04:44:20 +00:00
Miguel de Icaza d72e2a1faf 2003-09-26 Miguel de Icaza <[email protected]>
* BufferedStream.cs (Write): Use CanWrite in Write.  Patch from
	Francisco Figueiredo Jr.

svn path=/trunk/mcs/; revision=18325
2003-09-27 02:14:47 +00:00
Gonzalo Paniagua Javier 8a26ad7469 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs: fixes bug #48691. Patch by [email protected] (Yaron
	Shkop).

svn path=/trunk/mcs/; revision=18324
2003-09-27 01:34:13 +00:00
Gonzalo Paniagua Javier 7f3cbdbc8d 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: render the 'disabled' attribute in the correct tag.
	* WebControl.cs: fixed Enabled property and save it in ViewState.

	Fixes bug #48802.

svn path=/trunk/mcs/; revision=18323
2003-09-27 01:21:15 +00:00
Zoltan Varga 44e68404f6 2003-09-26 Zoltan Varga <[email protected]>
* mini.h (MONO_PATCH_INFO_WRAPPER): New patch type.

	* aot.c: Added support for AOT compiling methods which contain calls
	to wrappers. Currently, only remoting-invoke-with-check wrappers are
	handled.

svn path=/trunk/mono/; revision=18322
2003-09-26 21:10:20 +00:00
Zoltan Varga e98dc42373 2003-09-26 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_method_from_wrapper): New function to return
	the original method from the wrapper method.

svn path=/trunk/mono/; revision=18321
2003-09-26 21:06:48 +00:00
Zoltan Varga 21c0149396 2003-09-26 Zoltan Varga <[email protected]>
* driver.c (compile_all_methods): Run the compilation in a thread
	managed by mono. Fixes #44023.

svn path=/trunk/mono/; revision=18320
2003-09-26 20:38:53 +00:00
Zoltan Varga 73226031f2 2003-09-26 Zoltan Varga <[email protected]>
* mini.c (mono_codegen): Print full method name in verbose output.

svn path=/trunk/mono/; revision=18319
2003-09-26 20:14:07 +00:00
Zoltan Varga 36f52231d2 2003-09-26 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_patch_code): Fix warning.

svn path=/trunk/mono/; revision=18318
2003-09-26 17:59:38 +00:00
Zoltan Varga 523edd5d42 2003-09-26 Zoltan Varga <[email protected]>
* TypeBuilder.cs (DefineDefaultConstructor): Make this work on types
	without a parent. Fixes #48695.

svn path=/trunk/mcs/; revision=18317
2003-09-26 17:48:41 +00:00
Miguel de Icaza 906c33640c flush
svn path=/trunk/mono/; revision=18315
2003-09-26 17:12:44 +00:00
Miguel de Icaza 447babee42 flush
svn path=/trunk/mono/; revision=18314
2003-09-26 17:09:59 +00:00
Pedro Martínez Juliá 5f24afa4b4 2003-09-26 Pedro Mart�nez Jul� <[email protected]>
* corlib_test.dll.sources: Remove tests that generate compile
    errors. The tests are still there but its name is rmoved here.

svn path=/trunk/mcs/; revision=18313
2003-09-26 16:57:33 +00:00
Zoltan Varga 81ec0b8f92 2003-09-26 Zoltan Varga <[email protected]>
* Hashtable.cs: Remove empty static constructor since it prevents this
	class from being beforefieldinit.

svn path=/trunk/mcs/; revision=18312
2003-09-26 16:47:05 +00:00
Zoltan Varga 71992e0e3c 2003-09-26 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_patch_code): Allways create a trampoline for
	jumps, since the method we are jumping to might be domain-specific.

	* aot.c: Added support for MONO_PATCH_INFO_METHOD_JUMP.

svn path=/trunk/mono/; revision=18311
2003-09-26 16:30:10 +00:00
Dick Porter a789981ad0 Compile fix
svn path=/trunk/mono/; revision=18310
2003-09-26 16:25:40 +00:00
Atsushi Eno ff31037f67 2003-09-26 Atsushi Enomoto <[email protected]>
* XPathNavigatorTests.cs : added SelectFromOrphan().

svn path=/trunk/mcs/; revision=18309
2003-09-26 12:35:05 +00:00
Atsushi Eno 1bf025113f 2003-09-26 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
	  considers such case that target node was not adapted to the document.
	* XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
	* XmlTextWriter.cs : use 'as'  instead of 'try..catch'.

svn path=/trunk/mcs/; revision=18308
2003-09-26 12:31:49 +00:00
Bernie Solomon 7442002c60 2003-09-25 Bernie Solomon <[email protected]>
* interp.c - reinstate use of mono_marshal_get_delegate_invoke
	for ordering and fix CALLI to handle wrapper. More wrapper handling
	in CALL and LDSTR. Add another string conversion case.

svn path=/trunk/mono/; revision=18306
2003-09-26 06:23:41 +00:00
César Natarén e085abcbe2 2003-09-25 <[email protected]>
* BaseVsaEngine.cs: Implemented the properties of "the kind of
	state machine" that BaseVsaEngine is. There are some tiny details
	- properly marked to be fixed - missing ;-). They were: Assembly,
	Evidence, GenerateDebug, IsCompiled, IsDirty, IsRunning, Language,
	LCID, Name, RootMoniker, RootNamespace, Site.

svn path=/trunk/mcs/; revision=18305
2003-09-26 02:13:21 +00:00
César Natarén 68acf33e4d *** empty log message ***
svn path=/trunk/mcs/; revision=18304
2003-09-26 02:07:18 +00:00
Ben Maurer f45be9e722 2003-09-25 Ben Maurer <[email protected]>
* XmlNode.cs (XPathNodeType): Give more useful debugging message.
	* XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
	in MoveToNext.

svn path=/trunk/mcs/; revision=18302
2003-09-26 00:39:16 +00:00
Martin Baulig 3d2bd71f7e 2003-09-25 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_IsGenericTypeDefinition): Removed this
	interncall since it was identical to `Type.GetGenericTypeDefinition()'.
	(ves_icall_Type_get_IsGenericInstance): New interncall.

svn path=/trunk/mono/; revision=18301
2003-09-25 21:01:59 +00:00
Martin Baulig 946b75110c 2003-09-25 Martin Baulig <[email protected]>
* Type.cs (Type.IsGenericTypeDefinition): Removed this method
	since it was identical to GetGenericTypeDefinition().
	(Type.IsGenericInstance): New property.

svn path=/trunk/mcs/; revision=18300
2003-09-25 20:57:07 +00:00
Zoltan Varga 540701e5fc 2003-09-25 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method): Fix warning.
	(ves_exec_method_with_context): Fix CGT_UN and CLT_UN. Patch by
	David Waite ([email protected]).

svn path=/trunk/mono/; revision=18299
2003-09-25 19:31:59 +00:00
Duncan Mak d101df5ef4 Patches from Eran Domb <[email protected]>.
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
Fixes a possible NullReferenceException, more details here:

* DataColumn.cs (Unique): Implemented.

* DataTable.cs:
* ConstraintCollection.cs:
* ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
an Exception thrown. Details:
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html

* DataRowCollection.cs (Add): There is no checking that there is
no violation of the unique constrains.

* UniqueConstraint.cs (AssertConstraint): There is no checking on
all columns in the constraint.

svn path=/trunk/mcs/; revision=18298
2003-09-25 17:33:15 +00:00
Lluis Sanchez b460dc621a * WebServicesConfigurationSectionHandler.cs: added support for
soapExtensionReflectorTypes, soapExtensionImporterTypes and
	  serviceDescriptionFormatExtensionTypes.

svn path=/trunk/mcs/; revision=18297
2003-09-25 17:25:59 +00:00
Lluis Sanchez 67785d3d73 * SoapMessageFormatter.cs: Consider parameters with Out flag when collectiong
out parameters.

svn path=/trunk/mcs/; revision=18296
2003-09-25 17:00:45 +00:00
Gonzalo Paniagua Javier 0cfb0dcccf 2003-09-25 Gonzalo Paniagua Javier <[email protected]>
* ObjectHandle.cs: simplified and fix InitializeLifetimeService.

svn path=/trunk/mcs/; revision=18295
2003-09-25 16:42:53 +00:00
Lluis Sanchez 1f0ba15e3f SoapIncludeAttribute.cs: Added AllowMultiple option. This fixes bug #48877.
svn path=/trunk/mcs/; revision=18294
2003-09-25 16:04:35 +00:00
Bernie Solomon fadaca1e82 2003-9-24 Bernie Solomon <[email protected]>
* interp.c: I broke calling native delegates reinstate
	old code for the moment.

svn path=/trunk/mono/; revision=18290
2003-09-25 06:17:21 +00:00
Bernie Solomon 3b2c13729e 2003-09-24 Bernie Solomon <[email protected]>
* atomic.h atomic.c: fix sparc so lock is
	global, increment does so and it compiles under Sun compiler.

svn path=/trunk/mono/; revision=18288
2003-09-25 03:55:54 +00:00
Bernie Solomon 64ad924eac 2003-09-24 Bernie Solomon <[email protected]>
* object.c: fix cast warning in big endian code.

svn path=/trunk/mono/; revision=18287
2003-09-25 03:49:10 +00:00
Bernie Solomon 11f821ebc4 2003-09-24 Bernie Solomon <[email protected]>
* mono/tests/pinvoke*.cs, delegate4.cs, marshal10.cs, marshal4.cs
          marshal5.cs: remove .so from DllImport of libtest to aid portability.

svn path=/trunk/mono/; revision=18286
2003-09-25 03:45:21 +00:00
César Natarén 35e9f136c7 2003-09-24 <[email protected]>
* corlib.dll.sources: Added CompilerGlobalScopeAttribute.cs to the build

svn path=/trunk/mcs/; revision=18285
2003-09-24 23:47:39 +00:00
César Natarén b0ba3a3364 changed targets to proper dir
svn path=/trunk/mcs/; revision=18284
2003-09-24 23:29:36 +00:00
César Natarén 7d8e9f8390 deleted VsaEngine
svn path=/trunk/mcs/; revision=18283
2003-09-24 23:25:26 +00:00
Ben Maurer c7c7a3558f paren matching
svn path=/trunk/mcs/; revision=18282
2003-09-24 23:23:52 +00:00
Ben Maurer 9c0f532064 fix up //
svn path=/trunk/mcs/; revision=18281
2003-09-24 23:13:30 +00:00
César Natarén c307b466f3 2003-09-24 <[email protected]>
* Microsoft.JScript/: Deleted VsaEngine.cs and BaseVsaEngine.cs

	* Microsoft.JScript.dll.sources: Changed the namespaces for VsaEngine and BaseVsaEngine.

svn path=/trunk/mcs/; revision=18280
2003-09-24 23:10:32 +00:00
César Natarén 159e382c9e *** empty log message ***
svn path=/trunk/mcs/; revision=18279
2003-09-24 23:03:26 +00:00
César Natarén 2f37f6402d 2003-09-24 <[email protected]>
* Microsoft.Vsa: Added VsaException.
	* Microsoft.Vsa.dll.sources: Added VsaException to the build.
	* Microsoft.Vsa/VsaError.cs: set the values for the enums.

svn path=/trunk/mcs/; revision=18278
2003-09-24 22:56:16 +00:00
César Natarén 994b34e57e added new Exception, VsaException
svn path=/trunk/mcs/; revision=18277
2003-09-24 22:50:54 +00:00
César Natarén 791e514d7c now it's on the proper namespace dir
svn path=/trunk/mcs/; revision=18276
2003-09-24 22:45:01 +00:00
César Natarén f73f82d499 now it's on the proper namespace, as always had to be
svn path=/trunk/mcs/; revision=18275
2003-09-24 22:41:52 +00:00
Duncan Mak 7d57add066 Fix double Locale.GetText bug reported by [email protected]. This fixes
#48788.

svn path=/trunk/mcs/; revision=18274
2003-09-24 13:55:42 +00:00
Atsushi Eno 9d37f0560b 2003-09-23 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
	  recovery was still not enough. Fixed GrowScopes() (incorrect index).

svn path=/trunk/mcs/; revision=18271
2003-09-23 15:16:15 +00:00
Paolo Molaro 27e85d02a2 Tue Sep 23 10:50:27 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg: string chars are unsigned.

svn path=/trunk/mono/; revision=18270
2003-09-23 09:01:14 +00:00
Bernie Solomon 01c4b8a07d 2003-9-22 Bernie Solomon <[email protected]>
* interp.c: use mono_marshal_get_delegate_invoke to get delegate
	invocation order consistent. Fix THROW_EX, fix ip in overflow
	exceptions.

svn path=/trunk/mono/; revision=18269
2003-09-23 06:09:27 +00:00
Bernie Solomon ef4f478e71 2003-09-22 Bernie Solomon <[email protected]>
* handles.c: include <string.h> directly as may
	not be nested in <sys/un.h> like Linux

svn path=/trunk/mono/; revision=18268
2003-09-23 05:30:02 +00:00
Miguel de Icaza e7eab57a51 2003-09-21 eran <[email protected]>
* DbDataRecord.cs: The method
	System.Data.Common.DbDataRecord.GetValues(object[] values) did not
	put the values of the DbDataRecord into values parameter.

svn path=/trunk/mcs/; revision=18264
2003-09-22 13:04:21 +00:00
Miguel de Icaza cb84f87835 Drop XR from the build; Add ICloneable/IDisposable; Add a few missing methods;
Document Factories static constructor

svn path=/trunk/mcs/; revision=18263
2003-09-22 13:03:28 +00:00
César Natarén 760997ca4d 2003-09-22 <[email protected]>
* DocumentContext.cs: changed constructor from internal to public,
	this a kind of hack ;), but we can build mjs.exe with that change.

	* driver.cs, ast.cs, VsaEngine.cs, VariableStatement.cs,
	VariableDeclaration.cs, VBArrayConstructor.cs, StringObject.cs,
	StringLiteral.cs, StringConstructor.cs, Statement.cs,
	ScriptStream.cs, ScriptObject.cs, ScriptFunction.cs,
	ScriptBlock.cs, RegExpObject.cs, RegExpConstructor.cs, Print.cs,
	Package.cs, ObjectConstructor.cs, NumberObject.cs,
	NumberConstructor.cs, MathObject.cs, Literal.cs,
	LenientGlobalObject.cs, JSVariableField.cs, JSToken.cs,
	JSScanner.cs, JSParser.cs, JSObject.cs, JSLocalField.cs,
	JSFunctionAttributeEnum.cs, JSFunctionAttibute.cs, JSField.cs,
	JSBuiltIn.cs, IVsaScriptScope.cs, IRedirectOutput.cs,
	IActivationObject.cs, GlobalScope.cs, GlobalObject.cs,
	FunctionObject.cs, FunctionExpression.cs, FunctionDeclaration.cs,
	FunctionConstructor.cs, FormalParameterList.cs, ErrorObject.cs,
	ErrorConstructor.cs, EnumeratorObject.cs,
	EnumeratorConstructor.cs, Enum.cs, Empty.cs, DocumentContext.cs,
	DateObject.cs, DateConstructor.cs, Context.cs, Closure.cs,
	BooleanObject.cs, BooleanConstructor.cs, Block.cs, BinaryOp.cs,
	BaseVsaEngine.cs, ArrayObject.cs, ArrayConstructor.cs,
	ActiveXObjectConstructor.cs, ActivationObject.cs:

	indentation comformance to mono style. Returned to
	Microsoft.JScript namespace name. Now we can build
	Microsoft.JScript.dll on Linux/Windows, and build mjs.exe on
	linux/Windows with our Microsoft.JScript.dll. To build mjs.exe:
	$(CSC) /r:Microsoft.JScript.dll  driver.cs. Also changed my mind
	about the namespace stuff, because I want people
	to contribute NUnit tests for Microsoft.JScript public API.

	* jscript-lexer-parser.g: Now we are back to Microsoft.JScript namespace.

2003-09-21    <[email protected]>

svn path=/trunk/mcs/; revision=18262
2003-09-22 08:21:10 +00:00
César Natarén e10d88516f 2003-09-21 <[email protected]>
* jscript-lexer-parser.g: fixed typo and added SEMI_COLON to print_statement.

svn path=/trunk/mcs/; revision=18261
2003-09-22 04:11:45 +00:00
Jackson Harper 52dd6ebfb3 * ILParser.jay: Define data
svn path=/trunk/mcs/; revision=18260
2003-09-22 03:08:45 +00:00
Jackson Harper e0b2d4a178 * CodeGen.cs: Add methods for adding data. CodeGen now takes a
report object for giving users errors/warnings/info.
	* FieldDef.cs: When a data constant is assigned to a field the
	constant might not exist yet. So just take the constants name and
	look it up when writting code.
	* Local.cs: Starting to add some error handling. Still playing
	with diff ways to do this.
	* MethodDef.cs: Add some error handling for local var lookups
	* TypeDef.cs: Data is allways global so it should never be added
	to a class
	* TypeRef.cs: Error message for lookups.

svn path=/trunk/mcs/; revision=18259
2003-09-22 03:07:55 +00:00
Jackson Harper 9ed499cbf5 * Driver.cs: Give codegen a report object
* Report.cs: Remove silly methods that wouldnt have worked. Errors
	are just string messages.

svn path=/trunk/mcs/; revision=18258
2003-09-22 03:06:49 +00:00
Jackson Harper bafc54dd99 New tests for .data
svn path=/trunk/mcs/; revision=18257
2003-09-22 02:52:13 +00:00
Gonzalo Paniagua Javier 6acaf621e3 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
* io.c:
	(DeleteFile): call SetLastError on failure. Fix by
	[email protected] (Richard Torkar). Closes bug #48222.

svn path=/trunk/mono/; revision=18255
2003-09-22 00:57:18 +00:00
Gonzalo Paniagua Javier f07801d217 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: don't process code render tags inside scripts. Check
	the language of the script and treat javascript as verbatim input.
	Fixes bug #48592.

svn path=/trunk/mcs/; revision=18254
2003-09-22 00:40:11 +00:00
Martin Baulig 2a2f5be822 2003-09-22 Martin Baulig <[email protected]>
* errors.txt: Added -219.

svn path=/trunk/mcs/; revision=18253
2003-09-22 00:10:14 +00:00
Martin Baulig 5ef4ad2515 2003-09-22 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.ResolveAsTypeCheck): Check whether
	all type arguments meet their constraints.

svn path=/trunk/mcs/; revision=18252
2003-09-22 00:07:07 +00:00
Gonzalo Paniagua Javier c98759b66b 2003-09-22 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: store unique IDs for controls requiring postback. Fixes bug
	#47985.

svn path=/trunk/mcs/; revision=18251
2003-09-21 23:53:29 +00:00
Jackson Harper 170110a953 * PEAPI.cs: sigh, sometimes it is best to calculate variables
before using them. This fixes PEAPI creating broken images when
	the sdata section is used.

svn path=/trunk/mcs/; revision=18250
2003-09-21 22:28:32 +00:00
Ben Maurer 51e00007f6 so *this* is why c# has definate assignment@
svn path=/trunk/mcs/; revision=18249
2003-09-21 20:02:17 +00:00
Ben Maurer 4505af6030 making optimizatons in preperation for Jackson's jay patch
svn path=/trunk/mcs/; revision=18248
2003-09-21 19:22:37 +00:00
Alexandre Pigolkine ec3f8fa921 FontDialog sample added
svn path=/trunk/mcs/; revision=18247
2003-09-21 17:13:05 +00:00
Alexandre Pigolkine 1df48a9660 small fix to FontDialog.cs
svn path=/trunk/mcs/; revision=18246
2003-09-21 17:09:27 +00:00
Gonzalo Paniagua Javier 8be0f4eb7c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

svn path=/trunk/mcs/; revision=18245
2003-09-21 15:49:51 +00:00
Gonzalo Paniagua Javier e21820ea1c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #48671.

svn path=/trunk/mcs/; revision=18244
2003-09-21 15:39:01 +00:00
Miguel de Icaza fa6707d080 Flush
svn path=/trunk/mono/; revision=18243
2003-09-21 15:31:36 +00:00
Atsushi Eno 359f73cf73 2003-09-21 Atsushi Enomoto <[email protected]>
* XmlTextReaderTests.cs : Oops, it was CRLF injected ;-)

svn path=/trunk/mcs/; revision=18242
2003-09-21 08:13:02 +00:00
Atsushi Eno 99676a9e1c 2003-09-21 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Added ProhibitedMultipleAttributes().
	  Fixed ReadAttributeValue(). Now I think it is MS.NET XmlTextReader
	  which is rather buggy than their XmlNodeReader.
	* XmlTextReaderTests.cs : Added IfNamespacesThenProhibitedAttributes()
	  and trivial messagefix.

svn path=/trunk/mcs/; revision=18241
2003-09-21 08:11:05 +00:00
Atsushi Eno 2b05aa1793 2003-09-21 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs :
	  - Fix for bugzilla #48337 (containing Ben's advice on that).
	  - Added internal XmlTokenInfo classes. Nodes are now handled as token
	    objects (linked node, attributes and attribute values). Most of the
	    node state properties and iterating methods are changed to refer to
	    the token classes (except for value builder availability). Removed
	    fields which are never used. CompileDTDSubset() is changed in
	    reflection to nodeType field removal.
	  - Fixed Depth that should vary in moving between attributes and/or
	    reading attribute values.
	  - LineNumber and LinePosition now returns more correct location.
	  - Fixed Value that should still return true if its value is an empty
	    attribute value string.
	  - EntityValue is checked WFC constraints even thoug it is not used.
	  - All .ctor() now initializes ReadState as Initial.
	  - Read() should be available for attribute value constructor.
	* XmlAttribute.cs : set_InnerXml() now calls reader's Read().

svn path=/trunk/mcs/; revision=18240
2003-09-21 08:05:31 +00:00
Atsushi Eno 56a621a674 2003-09-21 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs: PopScope() must retain those namespaces which
	  are added in the scope before PushScope() was called.

svn path=/trunk/mcs/; revision=18239
2003-09-21 07:17:05 +00:00
Atsushi Eno 04cbb01195 2003-09-21 Atsushi Enomoto <[email protected]>
* XmlNamespaceManagerTests.cs : Added PopScopeMustKeepAddedInScope().

svn path=/trunk/mcs/; revision=18238
2003-09-21 07:14:14 +00:00
Gonzalo Paniagua Javier 38c43d342e 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: small fix needed when reading big POST
	data.
	* System.Web.Compilation/CachingCompiler.cs: nothing interesting.
	* System.Web.UI/SimpleWebHandlerParser.cs: add the ashx/asmx file
	itself to the dependencies so that it's recompiled when changed.

svn path=/trunk/mcs/; revision=18237
2003-09-21 03:37:27 +00:00
César Natarén 8b3bea3396 2003-09-20 <[email protected]>
* jscript-lexer-parser.g: We are little bit closer to the spec on
	StringLiteral definition.

svn path=/trunk/mcs/; revision=18236
2003-09-21 03:31:56 +00:00
Alexandre Pigolkine bad618a4c0 checkin for Herv Poussineau <[email protected]>.
svn path=/trunk/mcs/; revision=18235
2003-09-21 02:13:45 +00:00
César Natarén 8e0eef392a 2003-09-20 <[email protected]>
* jscript-lexer-parser.g: One line patch, the beauty of tests :-)

svn path=/trunk/mcs/; revision=18234
2003-09-21 02:06:27 +00:00
Alexandre Pigolkine 659f69739d switch to Unix line terminators
svn path=/trunk/mcs/; revision=18233
2003-09-21 01:55:41 +00:00
Alexandre Pigolkine d0f95fec93 2 files removed
svn path=/trunk/mcs/; revision=18232
2003-09-21 01:45:49 +00:00
Alexandre Pigolkine 3edb222aef 2 files removed from Printing namespace
svn path=/trunk/mcs/; revision=18231
2003-09-21 01:45:20 +00:00
Alexandre Pigolkine 87ec2805d9 checkin for Jordi Mas i Hernndez <[email protected]> : Initial FileDialog Box implementation
svn path=/trunk/mcs/; revision=18230
2003-09-21 01:32:14 +00:00
César Natarén dd224c2943 2003-09-20 <[email protected]>
* jscript-lexer-parser.g: Build ast for FunctionExpression.

	* JSObject.cs: we don't throw NotImplementedException anymore,
	this let us use FunctionExpression to build the ast.

	* FunctionExpression.cs: Added a FunctionObject as field, a
	default constructor.

	* FunctionObject.cs: Added default constructor.

svn path=/trunk/mcs/; revision=18229
2003-09-21 00:44:08 +00:00
Jackson Harper 6cbb7a9cd6 * TypeDef.cs: Rework so multiple constraints can be added to a
generic parameter.

svn path=/trunk/mcs/; revision=18228
2003-09-21 00:17:16 +00:00
Jackson Harper 596b227812 * PEAPI.cs: Rework to allow multiple constraints to be added to a
single generic parameter.

svn path=/trunk/mcs/; revision=18227
2003-09-21 00:15:15 +00:00
Martin Willemoes Hansen 7d30bf35e8 dl to diacanvas should be else where
svn path=/trunk/mono/; revision=18226
2003-09-20 23:28:54 +00:00
Ben Maurer 0dea21e9a0 2003-09-20 Ben Maurer <[email protected]>
* XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
	lists and removes uses of Hashtable. Results in huge speed gains.

svn path=/trunk/mcs/; revision=18225
2003-09-20 23:23:50 +00:00
Pedro Martínez Juliá 50d12123b6 2003-04-26 Pedro Mart�nez Juli� <[email protected]>
* Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
    they works as direct casting from GetValue.

svn path=/trunk/mcs/; revision=18224
2003-09-20 23:21:54 +00:00
Martin Willemoes Hansen 30872d914c Added diacanvas
svn path=/trunk/mono/; revision=18223
2003-09-20 23:21:40 +00:00
Jackson Harper f729835d74 New test multiple catch blocks
svn path=/trunk/mcs/; revision=18222
2003-09-20 22:44:13 +00:00
Jackson Harper 11102b10aa New test uses two seh filters
svn path=/trunk/mcs/; revision=18221
2003-09-20 22:31:02 +00:00
Ben Maurer ae7a2453a0 2003-09-20 Ben Maurer <[email protected]>
* Attribute.cs: Change to struct. Remove QName class.
	* GenericOutputter.cs: use an Attribute [] rather than an
	ArrayList. Allows us not to allocate Attributes, which is great
	for speed. Roll our own allocation.

svn path=/trunk/mcs/; revision=18220
2003-09-20 20:30:16 +00:00
César Natarén 4404e82027 2003-09-20 <[email protected]>
* driver.cs: Deleted the Jsc class. We are not generating code
	now. I'm moving to provide something like mcs's EmitContext
	instead of the CodeGenerator class having the Reflection.Emit
	builders and ILGenerator. This driver is just for Lexical and
	Parsing phases testing.

svn path=/trunk/mcs/; revision=18219
2003-09-20 17:34:44 +00:00
Jackson Harper 6b2c50f00b Switch to divide by zero exception, make sure exception is thrown
svn path=/trunk/mcs/; revision=18218
2003-09-20 17:21:03 +00:00
Ben Maurer bcebe6c704 2003-09-20 Ben Maurer <[email protected]>
* Compiler.cs: add GetNsm to main class as well.
	* XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.

svn path=/trunk/mcs/; revision=18217
2003-09-20 17:00:30 +00:00
Ben Maurer 041942fa1c 2003-09-20 Ben Maurer <[email protected]>
* Pattern.cs: Typo, when i got //a i was giving off /
	* LocationPathPattern.cs: Append to the tail, not head.

svn path=/trunk/mcs/; revision=18215
2003-09-20 16:36:42 +00:00
Ben Maurer 0817b275e9 2003-09-20 Ben Maurer <[email protected]>
* Compiler.cs (ParseAvtAttribute): Get the attribue using our
	internal version so we get null if the attr doesnt exist.

svn path=/trunk/mcs/; revision=18214
2003-09-20 16:34:55 +00:00
Ben Maurer 1951677126 2003-09-20 Ben Maurer <[email protected]>
* Expression.cs: num != double.NaN does not work.

svn path=/trunk/mcs/; revision=18213
2003-09-20 16:29:40 +00:00
Jackson Harper 115fad6b13 pop exception object off stack
svn path=/trunk/mcs/; revision=18211
2003-09-20 08:05:16 +00:00
César Natarén 78152ca908 2003-09-20 <[email protected]>
* driver.cs: Now we are using the Microsoft.JScript public API
	functions to load the lexer and parser.

svn path=/trunk/mcs/; revision=18209
2003-09-20 07:54:29 +00:00
César Natarén a0c54554c2 changelog entry
svn path=/trunk/mcs/; revision=18208
2003-09-20 07:44:11 +00:00
César Natarén b255efcc68 2003-09-20 <[email protected]>
* ScriptBlock.cs,Block.cs: Added ToString function.

svn path=/trunk/mcs/; revision=18207
2003-09-20 07:42:37 +00:00
César Natarén d6f6820a4e updates from the grammar
svn path=/trunk/mcs/; revision=18206
2003-09-20 07:03:16 +00:00
César Natarén ed1460d480 jaja, forgot to commit this
svn path=/trunk/mcs/; revision=18205
2003-09-20 06:56:31 +00:00
Jackson Harper da311acf49 leave try block
svn path=/trunk/mcs/; revision=18204
2003-09-20 06:55:41 +00:00
César Natarén 00a77d2066 2003-09-20 <[email protected]>
* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Block.cs,
	DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
	FunctionExpression.cs, Import.cs, In.cs, InstanceOf.cs,
	Literal.cs, NumericBinary.cs, NumericUnary.cs, Package.cs,
	Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
	Statement.cs, StrictEquality.cs, StringLiteral.cs, Throw.cs,
	Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs, ast.cs,
	: erased Visit method and made some mono indentation style changes.

	* CodeGenerator.cs: commented some function calls.
	* FunctionDeclaration.cs: moved function attributes to
	FunctionObject class, erased Visit method.
	* FunctionObject.cs: Here is where we store a function
	expression/declaration info, erased Visit method.
	* ScriptBlock.cs: Added a Block field, Block will contain the
	source elements.
	* jscript-lexer-parser.g: updated the grammar to build the program
	representation based on ScriptBlock.

svn path=/trunk/mcs/; revision=18202
2003-09-20 06:33:41 +00:00
Jackson Harper 9933a6d711 * dis-cil.c: Output fault blocks, and filter blocks. If in a
filter block outptut 0xDC as endfilter if in a fault output as
	endfault.

svn path=/trunk/mono/; revision=18201
2003-09-20 05:06:58 +00:00
Jackson Harper 65faf50ec9 * icall.c: Timezone patch from Zoltan Varga
([email protected])

svn path=/trunk/mono/; revision=18200
2003-09-20 04:50:17 +00:00
Ben Maurer 32d3d9ff37 2003-09-19 Ben Maurer <[email protected]>
* XslCopyOf.cs: handle attributes.

svn path=/trunk/mcs/; revision=18199
2003-09-20 03:19:51 +00:00
Ben Maurer 73f4fc19f5 NaN.ToString () != INF.
svn path=/trunk/mcs/; revision=18198
2003-09-20 03:18:21 +00:00
Ben Maurer e7fd13de81 2003-09-19 Ben Maurer <[email protected]>
* Expression.cs: in NodeTypeTest dont throw an exception if it is
	an unknown node type (allows for better Pattern debugging)

svn path=/trunk/mcs/; revision=18197
2003-09-20 03:11:42 +00:00
César Natarén 089e9285df 2003-09-19 <[email protected]>
* JSToken.cs: public API compliance.

svn path=/trunk/mcs/; revision=18193
2003-09-19 18:43:08 +00:00
Gonzalo Paniagua Javier 61ed7d6f91 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* FontInfo.cs: fixed Name property as suggested by Rich Alimi
	<[email protected]>.

svn path=/trunk/mcs/; revision=18192
2003-09-19 18:27:54 +00:00
Gonzalo Paniagua Javier 5e1e0c3340 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: fixed bug #48212.

svn path=/trunk/mcs/; revision=18185
2003-09-19 07:05:11 +00:00
Gonzalo Paniagua Javier 1cd5afc014 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* BinaryReader.cs: return the correct number of bytes read when there
	are some bytes from peeking.

svn path=/trunk/mcs/; revision=18183
2003-09-19 06:14:35 +00:00
Gonzalo Paniagua Javier 9846cb5f31 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: don't call check_env from mono_assembly_load. It's
	already done once in mono_assemblies_init and may cause headaches when
	multiple threads are loading assemblies.

svn path=/trunk/mono/; revision=18182
2003-09-19 02:24:01 +00:00
Martin Baulig 95182ce3b4 2003-09-19 Martin Baulig <[email protected]>
* gen-10.cs: New generics test.

svn path=/trunk/mcs/; revision=18181
2003-09-18 23:16:09 +00:00
Martin Baulig bcc061a427 2003-09-19 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_define_generic_parameter): Don't
	allocate `klass->methods', set `klass->flags' to
	TYPE_ATTRIBUTE_INTERFACE, not TYPE_ATTRIBUTE_ABSTRACT.

svn path=/trunk/mono/; revision=18180
2003-09-18 23:09:16 +00:00
Martin Baulig 04f24200d8 2003-09-19 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Take a
	`MemberCache parent' argument.  Normally, an interface doesn't
	have a parent type except System.Object, but we use this in gmcs
	for generic type parameters.

svn path=/trunk/mcs/; revision=18179
2003-09-18 22:49:42 +00:00
Martin Baulig 8087d4f4ef 2003-09-19 Martin Baulig <[email protected]>
* decl.cs (MemberCache.SetupCacheForInterface): Take a
	`MemberCache parent' argument.  Normally, an interface doesn't
	have a parent type except System.Object, but we use this in gmcs
	for generic type parameters.

svn path=/trunk/mcs/; revision=18178
2003-09-18 22:43:53 +00:00
Martin Baulig 3839d6130c 2003-09-18 Martin Baulig <[email protected]>
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
	on `type.IsInterface'; don't check whether the type has a parent
	to determine whether it's an interface.

svn path=/trunk/mcs/; revision=18177
2003-09-18 21:42:51 +00:00
Martin Baulig 621bf19616 2003-09-18 Martin Baulig <[email protected]>
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
	on `type.IsInterface'; don't check whether the type has a parent
	to determine whether it's an interface.

svn path=/trunk/mcs/; revision=18176
2003-09-18 21:32:12 +00:00
Gonzalo Paniagua Javier 7f56b5df43 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
* WebServiceCompiler.cs: remove the temporary files here too.

svn path=/trunk/mcs/; revision=18173
2003-09-18 18:12:18 +00:00
Lluis Sanchez 8b532f48c7 Added new genxs tool in monobins_DATA
svn path=/trunk/mono/; revision=18171
2003-09-18 16:27:54 +00:00
Martin Baulig 221ea3cefe 2003-09-18 Martin Baulig <[email protected]>
* gen-9.cs: New generics test.

svn path=/trunk/mcs/; revision=18170
2003-09-18 15:49:34 +00:00
Martin Baulig 2dc0d7b925 2003-09-18 Martin Baulig <[email protected]>
* class.c (mono_class_init): Don't create `class->methods' if it's
	already initialized.

	* metadata.c (mono_metadata_load_generic_params): Make this
	actually work.

	* reflection.c (mono_reflection_define_generic_parameter): Set
	parent class and interfaces from the constraints.

	* reflection.h (MonoReflectionGenericParam): Added `guint32 flags'
	to keep this struct in sync with the declaration in TypeBuilder.cs.

svn path=/trunk/mono/; revision=18169
2003-09-18 15:40:40 +00:00
Ravi Pratap M 15eb127782 2003-09-18 Ravi Pratap <[email protected]>
* ConditionalAttribute.cs: AllowMultiple should be true according
        to bug #48598.

----------------------------------------------------------------------

svn path=/trunk/mcs/; revision=18168
2003-09-18 15:32:59 +00:00
Lluis Sanchez 0e17201fcd Added new genxs tool in monobins_DATA
svn path=/trunk/mono/; revision=18167
2003-09-18 15:22:20 +00:00
Jackson Harper d67fb53232 New seh test that uses a filter
svn path=/trunk/mcs/; revision=18165
2003-09-18 05:18:13 +00:00
Jackson Harper fb979900e1 Another SEH test this one has a fault block
svn path=/trunk/mcs/; revision=18164
2003-09-18 04:19:54 +00:00
Ben Maurer 0488e87a2e impl sum & translate
svn path=/trunk/mcs/; revision=18161
2003-09-18 02:58:28 +00:00
Gonzalo Paniagua Javier 15d0d1cf3b 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: don't leave temporary files around.

svn path=/trunk/mcs/; revision=18160
2003-09-18 02:12:53 +00:00
Gonzalo Paniagua Javier bc4884cdd7 2003-09-18 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: fixed Deserialize for empty viewstate.

svn path=/trunk/mcs/; revision=18158
2003-09-18 01:32:09 +00:00
César Natarén 65c0937115 more organizational docs
svn path=/trunk/mcs/; revision=18157
2003-09-18 00:10:27 +00:00
Ben Maurer fca669ab5e fix nullref when using in global context
svn path=/trunk/mcs/; revision=18156
2003-09-17 23:27:53 +00:00
Rafael Teixeira 12ec37b37b 2003/09/17 Rafael Teixeira <[email protected]>
* .cvsignore: WHOOPS

svn path=/trunk/mcs/; revision=18153
2003-09-17 17:26:28 +00:00
Rafael Teixeira 57baa47cc8 bits
svn path=/trunk/mcs/; revision=18152
2003-09-17 17:06:41 +00:00
Lluis Sanchez bdd17374d2 Added new genxs tool source code
svn path=/trunk/mcs/; revision=18151
2003-09-17 17:02:52 +00:00
Rafael Teixeira 1cd4dd5a69 2003/09/17 Rafael Teixeira <[email protected]>
* .cvsignore: some more files to ignore

svn path=/trunk/mcs/; revision=18150
2003-09-17 16:57:33 +00:00
Rafael Teixeira d63961130e 2003/09/17 Rafael Teixeira <[email protected]>
* mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY

svn path=/trunk/mcs/; revision=18149
2003-09-17 16:50:20 +00:00
Martin Baulig 582ce08c00 2003-09-17 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.ToString): Always use `name' as the
	type name.

svn path=/trunk/mcs/; revision=18147
2003-09-17 14:21:42 +00:00
Martin Baulig 7d80ced61a 2003-09-17 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
	parameters to the type name; ie. use `Stack' instead of `Stack<T>'.

svn path=/trunk/mcs/; revision=18146
2003-09-17 14:12:01 +00:00
Lluis Sanchez 533d806f5a * HttpHelper.cs: Fixed bug #48468. Patch by Jean-Marc Andre.
* HttpClientChannel.cs HttpServer.cs HttpServerChannel.cs: Fixed some warnings.

svn path=/trunk/mcs/; revision=18145
2003-09-17 11:37:26 +00:00
Martin Baulig 4695f927af 2003-09-17 Martin Baulig <[email protected]>
* metadata.h (MonoType): Replaced the data's `int type_param'
	field with `MonoGenericParam *generic_param'.
	(MonoGenericParam): Added `MonoClass *klass'.

	* class.c (mono_class_from_gen_param): Removed the
	`MonoImage *image' and `int type_num' arguments.

	* metadata.c (mono_metadata_parse_generic_param): New static
	method; creates a MonoGenericParam which just contains the index.
	(do_mono_metadata_parse_type): Call
	mono_metadata_parse_generic_param() for MONO_TYPE_VAR and
	MONO_TYPE_MVAR.

	* reflection.c (mono_image_typedef_or_ref): Generic type
	parameters may be in the same assembly, but never use a typedef
	for them.
	(mono_reflection_define_generic_parameter): We're now creating a
	"real" class for the type parameter; it's now safe to call
	mono_class_from_mono_type() on the class'es type, it'll do the
	right thing.

svn path=/trunk/mono/; revision=18144
2003-09-17 04:34:01 +00:00
Sebastien Pouliot 007b5e57bc 2003-09-16 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Common methods to get DSA/RSA keypairs.
	* AsymmetricDecryptionKeyTest.cs: New. Unit tests for AsymmetricDecryptionKey.
	* AsymmetricEncryptionKeyTest.cs: New. Unit tests for AsymmetricEncryptionKey.
	* AuthenticationKeyTest.cs: New. Unit tests for AuthenticationKey.
	* BinarySecurityTokenTest.cs: New. Unit tests for BinarySecurityToken.
	* SignatureKeyTest.cs: New. Unit tests for SignatureKey.
	* SymmetricDecryptionKeyTest.cs: New. Unit tests for SymmetricDecryptionKey.
	* SymmetricEncryptionKeyTest.cs: New. Unit tests for SymmetricEncryptionKey.
	* UsernameTokenTest.cs: New. Unit tests for UsernameToken.
	* WSSecurityTest.cs: New. Unit tests for WSSecurity.
	* XmlEncryptionTest.cs: New. Unit tests for XmlEncryption.
	* XmlSignatureTest.cs: New. Unit tests for XmlSignat

svn path=/trunk/mcs/; revision=18143
2003-09-17 03:17:11 +00:00
Jackson Harper b576a62140 Leave finally block with the endfinally instruction, not with leave
svn path=/trunk/mcs/; revision=18142
2003-09-17 02:16:02 +00:00
Jackson Harper c3a6c3ce96 * InstrTable.cs: endfault instruction (which is just endfinally
with a costume on).

svn path=/trunk/mcs/; revision=18141
2003-09-17 02:13:35 +00:00
Jackson Harper 436a674b6f * ILTables.cs: compilercontrolled is lowercase. I am guessing this
was an emacs introduced bug ;-).

svn path=/trunk/mcs/; revision=18140
2003-09-17 02:11:19 +00:00
Martin Baulig b13607d7b8 2003-09-16 Martin Baulig <[email protected]>
* cs8217.cs: New test.

svn path=/trunk/mcs/; revision=18139
2003-09-16 21:52:05 +00:00
Gonzalo Paniagua Javier ea08a0e490 2003-09-16 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
	invalid state.

svn path=/trunk/mcs/; revision=18138
2003-09-16 21:49:39 +00:00
Martin Baulig 54a93ce843 2003-09-16 Martin Baulig <[email protected]>
* gen-3.cs, gen-4.cs, gen-5.cs, gen-6.cs, gen-7.cs, gen-8.cs: New
	generics tests.

svn path=/trunk/mcs/; revision=18137
2003-09-16 21:28:06 +00:00
Martin Baulig d331e8a90d This test is incorrect.
svn path=/trunk/mcs/; revision=18136
2003-09-16 21:21:04 +00:00
Ben Maurer 17bcd0c97a 2003-09-16 Ben Maurer <[email protected]>
* Compiler.cs:
	- Better handling of empty attributes (vs not being specified)
	- Bug in handling #default

svn path=/trunk/mcs/; revision=18135
2003-09-16 21:09:31 +00:00
Rafael Teixeira 117b7afb17 3/09/16 Rafael Teixeira <[email protected]>
* Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
	* mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
	* driver.cs: No more 'linkpaths' option, use 'libpath' instead

svn path=/trunk/mcs/; revision=18134
2003-09-16 20:07:55 +00:00
Miguel de Icaza 7c425005aa flush
svn path=/trunk/mono/; revision=18132
2003-09-16 18:08:51 +00:00
Martin Baulig 1aa1a8354f 2003-09-16 Martin Baulig <[email protected]>
* mono-debug-debugger.c (allocate_symbol_file_entry): Initialize
	`symfile->range_entry_size' and `symfile->class_entry_size' here;
	the `symfile' data structure must be fully initialized before it
	gets added to the table.

svn path=/trunk/mono/; revision=18130
2003-09-16 17:18:08 +00:00
Miguel de Icaza ce8ea62729 Flush
svn path=/trunk/mono/; revision=18129
2003-09-16 14:33:41 +00:00
César Natarén eab2d407e8 some notes about the structure of the classes at Microsoft.JScript.
svn path=/trunk/mcs/; revision=18128
2003-09-16 07:12:35 +00:00
Jackson Harper b1bb3cd197 First of many exception tests
svn path=/trunk/mcs/; revision=18127
2003-09-16 07:07:07 +00:00
Jackson Harper 64d81921c2 * FinallyBlock.cs: The sad thing is how long it took me to realize
what was going on here...

svn path=/trunk/mcs/; revision=18126
2003-09-16 06:52:35 +00:00
Jackson Harper cc36fd3ac3 * ILParser.jay: dashed names aren't legal for file names, if the
name has a dash in it it needs to be quoted ie 'gtk-sharp'.

svn path=/trunk/mcs/; revision=18125
2003-09-16 05:35:45 +00:00
Duncan Mak 328c380bb4 Sigh, here too
svn path=/trunk/mono/; revision=18124
2003-09-16 02:34:17 +00:00
Duncan Mak 3928231e49 Add wsdl.exe
svn path=/trunk/mono/; revision=18123
2003-09-16 02:06:12 +00:00
Miguel de Icaza 686d5f3875 Flush
svn path=/trunk/mono/; revision=18122
2003-09-16 01:22:36 +00:00
Miguel de Icaza ec34a29c66 Flush
svn path=/trunk/mono/; revision=18121
2003-09-16 01:13:14 +00:00
Ben Maurer b3e9ac2e86 compliance work: attribset
svn path=/trunk/mcs/; revision=18120
2003-09-16 00:39:19 +00:00
Ben Maurer 2ba3201f91 2003-09-15 Ben Maurer <[email protected]>
* GenericOutputter.cs: Output attributes in order recieved; not
	required by spec, but useful for running test cases.

svn path=/trunk/mcs/; revision=18119
2003-09-15 23:43:52 +00:00
Duncan Mak 682dfc4f67 Update the version to 0.27 for the interim release
svn path=/trunk/mono/; revision=18117
2003-09-15 22:43:56 +00:00
Duncan Mak c65be54d3f Update version to 0.27 for the interim release
svn path=/trunk/mcs/; revision=18115
2003-09-15 22:42:27 +00:00
Lluis Sanchez 81e1b42ff9 * daemon.c: In compare_process(), discard handles already signalled.
svn path=/trunk/mono/; revision=18114
2003-09-15 21:16:24 +00:00
Rafael Teixeira 548826df4d *** empty log message ***
svn path=/trunk/mcs/; revision=18113
2003-09-15 19:37:07 +00:00
Martin Baulig 8a719f24be Added -218 invalid contraints clause.
svn path=/trunk/mcs/; revision=18112
2003-09-15 19:27:45 +00:00
Martin Baulig 8387cfcb06 2003-09-15 Martin Baulig <[email protected]>
* cs-parser.jay: Fix grammar wrt. type_parameter_constraints.

	* generic.cs (Constraints.Resolve): New public method; this is
	called to resolve the constraint types and to check whether all
	the constraints are correct.
	(Constraints.Types): New public property.
	(TypeParameter.Resolve): New public method; resolves all the
	type's constraints.

	* class.cs (TypeContainer.DefineType): Call
	TypeParameter.Resolve() before actually defining the type.

svn path=/trunk/mcs/; revision=18111
2003-09-15 18:57:27 +00:00
Martin Baulig 88bfcbc68d Merged from MCS.
svn path=/trunk/mcs/; revision=18110
2003-09-15 18:26:47 +00:00
Miguel de Icaza 6944a2c41c Flush
svn path=/trunk/mono/; revision=18109
2003-09-15 17:46:26 +00:00
Martin Baulig 4dd58e00a4 2003-09-15 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineType): Added an error flag to
	avoid reporting duplicate CS0146's ("class definition is
	circular.").

	* driver.cs (Driver.MainDriver): Abort if
	RootContext.ResolveTree() reported any errors.

svn path=/trunk/mcs/; revision=18108
2003-09-15 16:50:42 +00:00
Zoltan Varga a773287762 2003-09-15 Zoltan Varga <[email protected]>
* icall.c (ves_icall_Type_IsArrayImpl): Added MONO_ARCH_SAVE_REGS.

svn path=/trunk/mono/; revision=18105
2003-09-15 13:59:36 +00:00
Zoltan Varga bbd693e7e4 2003-09-15 Zoltan Varga <[email protected]>
* appdomain.h domain.c (MonoDomain): Added new hashtable to store the
	class init trampolines.

svn path=/trunk/mono/; revision=18104
2003-09-15 13:58:11 +00:00
Zoltan Varga 560f84181c 2003-09-15 Zoltan Varga <[email protected]>
* TODO: New todo item.

svn path=/trunk/mono/; revision=18103
2003-09-15 10:39:30 +00:00
Zoltan Varga b1e980ac0b 2003-09-15 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_class_init_trampoline): New trampoline function
	which calls mono_runtime_class_init and patches the call site to
	avoid further calls.
	(mono_arch_create_class_init_trampoline): New arch specific function
	to create a class init trampoline.
	(create_trampoline_code): Generalized so it can create
	class init trampolines as well.

	* mini.c (helper_sig_class_init_trampoline): New helper variable.
	(mono_create_class_init_trampoline): New function to create and cache
	class init trampolines.
	(mono_find_class_init_trampoline_by_addr): New function to lookup the
	vtable given the address of a class init trampoline. Used by the
	patching process.
	(mono_codegen): Generate a call to a trampoline instead of
	mono_runtime_class_init in LDSFLD[A].
	(mono_codegen): Add relocations for the new trampoline.

	* mini.h mini-x86.c aot.c: Added a new relocation type:
	MONO_PATCH_INFO_CLASS_INIT.

	* mini.h: Bump AOT version number.

	* aot.c: Create a copy of the loaded code instead of using the original
	so methods which call each other will be close in memory, improving
	cache behaviour.

svn path=/trunk/mono/; revision=18102
2003-09-15 09:12:45 +00:00
Zoltan Varga 86eaaf8769 2003-09-15 Zoltan Varga <[email protected]>
* exceptions-x86.c (mono_arch_has_unwind_info): Back out the previous
	patch since it breaks the regression tests.

svn path=/trunk/mono/; revision=18101
2003-09-15 08:25:35 +00:00
Zoltan Varga 9a999d46b0 2003-09-15 Zoltan Varga <[email protected]>
* exceptions-x86.c (mono_arch_has_unwind_info): Added explicit check
	for the register saving instruction sequence since the
	frame_state_for function in glibc 2.3.2 don't seem to detect it.

svn path=/trunk/mono/; revision=18100
2003-09-15 07:29:03 +00:00
Oleg Tkachenko dac1cf4505 Newlines normalizing
svn path=/trunk/mcs/; revision=18096
2003-09-14 22:01:24 +00:00
Sebastien Pouliot 0cf9ed8994 2003-09-14 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Common methods to compare DateTimes and longs.
	* ReceivedCollectionTest.cs: New. Unit tests for ReceivedCollection.
	* ReceivedTest.cs: New. Unit test for Received.
	* TimestampFormatExceptionTest.cs: Unit test for TimestampFormatException.
	* TimestampInputFilterTest.cs: Unit test for TimestampInputFilter.
	* TimestampOutputFilterTest.cs: Unit test for TimestampOutputFilter.
	* TimestampTest.cs: Unit test for Timestamp.
	* WSTimestampTest.cs: Unit test for WSTimestamp.

svn path=/trunk/mcs/; revision=18095
2003-09-14 20:31:44 +00:00
Oleg Tkachenko 452b74dec0 Outputter fixup
svn path=/trunk/mcs/; revision=18093
2003-09-14 19:39:25 +00:00
Sebastien Pouliot b516ceee5b 2003-09-14 Sebastien Pouliot <[email protected]>
* ConfigurationBaseTest.cs: New. Test all WSE1 static protected methods.
	* FilterConfigurationTest.cs: New. Test presence of default input/output
	SOAP filters.
	* WebServicesConfigurationTest.cs: New. Test FilterConfiguration.

svn path=/trunk/mcs/; revision=18090
2003-09-14 18:38:38 +00:00
Pedro Martínez Juliá c636980011 2003-09-14 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Add the necessary castings to char
    conversions.

svn path=/trunk/mcs/; revision=18089
2003-09-14 18:10:03 +00:00
Atsushi Eno fe4a3e9dc4 2003-09-14 Atsushi Enomoto <[email protected]>
* DTMXPathNavigator.cs,
	  DTMXPathDocument.cs,
	  DTMXPathDocumentBuilder.cs : Added IXmlLineInfo support. Removed
	  node's extraneous schemaType. Some code reformatting.

svn path=/trunk/mcs/; revision=18087
2003-09-14 16:15:44 +00:00
Zoltan Varga 25841cdc75 2003-09-14 Zoltan Varga <[email protected]>
* TODO: Fix todo item && remove another.

svn path=/trunk/mono/; revision=18086
2003-09-14 14:29:07 +00:00
Lluis Sanchez d33e81ef0a * XmlCustomFormatter.cs: added support for additional string types in
GenerateToXmlString().
	* XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
	  encoded format.

svn path=/trunk/mcs/; revision=18085
2003-09-14 13:08:11 +00:00
Lluis Sanchez 9e3160473a * XmlSchema.cs: Do not add schema namespace declaration if it is already
declared.

svn path=/trunk/mcs/; revision=18084
2003-09-14 13:04:24 +00:00
Lluis Sanchez 16442aeba9 * XmlTextWriter.cs: Attributes that have a namespace must be always
prefixed.

svn path=/trunk/mcs/; revision=18083
2003-09-14 13:01:47 +00:00
Lluis Sanchez b5995f67d8 * SoapDocumentationHandler.cs: Added support for on-the-fly proxy
code generation in documentation pages.

svn path=/trunk/mcs/; revision=18082
2003-09-14 12:53:38 +00:00
Lluis Sanchez 14bfe8a3c2 * System.Web.Services_test.dll.sources: Added BindingCollectionTest.cs
ChangeLog DocumentableItemTest.cs OperationCollectionTest.cs
	  OperationMessageCollectionTest.cs OperationMessageTest.cs
	  PortTypeCollectionTest.cs PortTypeTest.cs ServiceCollectionTest.cs
	  ServiceDescriptionCollectionTest.cs
	  SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
	  New test files by Erik LeBel.

svn path=/trunk/mcs/; revision=18081
2003-09-14 12:51:31 +00:00
Lluis Sanchez 4a37f59ce1 BindingCollectionTest.cs ChangeLog DocumentableItemTest.cs
OperationCollectionTest.cs OperationMessageCollectionTest.cs
	  OperationMessageTest.cs PortTypeCollectionTest.cs PortTypeTest.cs
	  ServiceCollectionTest.cs ServiceDescriptionCollectionTest.cs
	  SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
	  New test files by Erik LeBel.

svn path=/trunk/mcs/; revision=18080
2003-09-14 12:44:10 +00:00
Lluis Sanchez 4a01835603 * DocumentableItem.cs MimeContentBinding.cs OperationMessage.cs
OperationMessageCollection.cs PortCollection.cs PortType.cs
	  PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
	  SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
	* ServiceDescriptionImporter.cs:
	* ServiceDescriptionSerializerBase.cs: regenerated after the changes in
	  the service description changes.
	* ServiceDescriptionReflector.cs: Fixed generation of message parts in
	  bare format.

svn path=/trunk/mcs/; revision=18079
2003-09-14 12:24:49 +00:00
Lluis Sanchez 4bf9efefcd * TcpClientChannel.cs: Fixed constructor.
svn path=/trunk/mcs/; revision=18078
2003-09-14 12:15:01 +00:00
Gonzalo Paniagua Javier f51d161a24 2003-09-14 Gonzalo Paniagua Javier <[email protected]>
* RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
	Skripsky <[email protected]>

svn path=/trunk/mcs/; revision=18077
2003-09-14 12:05:36 +00:00
Duncan Mak 45d8f67e10 Some late-night patch commits for Miguel.
* TabPage.cs (constructor): added a constructor for constructing tab
pages with a title. Patch from Jonathan Hogg
<[email protected]>.

* EnumConverter.cs (ConvertFrom): Removed the special handling for
multiple values. This is done in Enum.Parse already.

* TypeDescriptor.cs (GetConverter): Does not work for enumeration
types because EnumConverter does not have a default
constructor. Fixed by changing the special handling for
enumeration types.

svn path=/trunk/mcs/; revision=18074
2003-09-14 04:06:42 +00:00
Miguel de Icaza 8860c43c4f :flush:
svn path=/trunk/mono/; revision=18070
2003-09-14 00:18:07 +00:00
Jackson Harper ff122d13a0 * MethodInstr.cs: callvirt operation is implicitly instance.
svn path=/trunk/mcs/; revision=18069
2003-09-13 22:11:39 +00:00
Pedro Martínez Juliá 0d484b075d 2003-09-13 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Make the method calls more functional
    for protecting the values from different threads (make it more
    thread safe).

svn path=/trunk/mcs/; revision=18068
2003-09-13 21:23:43 +00:00
Miguel de Icaza c9c61cc275 :flush:
svn path=/trunk/mono/; revision=18067
2003-09-13 20:55:29 +00:00
Pedro Martínez Juliá 9a98713268 2003-09-13 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Fix a bug with the negative value of
    count parameter.

2003-09-12  Pedro Mart�nez Juli�  <[email protected]>

    * FloatingPointFormatter.cs: Applied a lot of improvements in string
    construction, make use of Append/Insert with the "count" parameter.
    Thanks to Ben Maurer.

svn path=/trunk/mcs/; revision=18065
2003-09-13 18:40:26 +00:00
Ben Maurer b0d1119294 reduce enumerator allocation
svn path=/trunk/mcs/; revision=18064
2003-09-13 18:38:53 +00:00
Atsushi Eno 42f2e5051b 2003-09-13 Atsushi Enomoto <[email protected]>
* XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
	  in .ctor().
	* XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
	  Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
	  add Namespaces immediately, but adds at AddMissingElementXmlns so
	  that we don't have to have extra check than namespaceManager's
	  LookupPrefix(). 2) Removed writtenAttributes for performance reason
	  since it is no more required.

svn path=/trunk/mcs/; revision=18063
2003-09-13 17:33:09 +00:00
Ben Maurer add23d04b0 pass context to Evaluate* so that we dont have to clone the expression
svn path=/trunk/mcs/; revision=18062
2003-09-13 17:22:08 +00:00
Ben Maurer b1a1112338 get static context to Pattern
svn path=/trunk/mcs/; revision=18061
2003-09-13 16:53:51 +00:00
Gonzalo Paniagua Javier 441b4e3e3e 2003-09-13 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: patch by Juraj Skripsky ([email protected]) that
	fixes rendering of the end tag.

svn path=/trunk/mcs/; revision=18059
2003-09-13 12:01:54 +00:00
Jackson Harper 41d1b33258 * TypeRef.cs: Remove unused enum, this has been moved to the
ModifiableType base class.

svn path=/trunk/mcs/; revision=18058
2003-09-13 06:49:54 +00:00
Jackson Harper a96fc882e0 * ILParser.jay: Fix typo in field inits. Methods attached to
modified types should be type spec method refs.

svn path=/trunk/mcs/; revision=18057
2003-09-13 06:46:39 +00:00
Ben Maurer 27b59455b5 tons of regressions char + long == char
svn path=/trunk/mcs/; revision=18056
2003-09-13 02:24:05 +00:00
Ben Maurer b70953fad1 lots o optimizations
svn path=/trunk/mcs/; revision=18055
2003-09-13 01:23:20 +00:00
Zoltan Varga 42bbcc05c2 2003-09-12 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_patch_code): Fix tail calls broken by a
	previous checkin.

svn path=/trunk/mono/; revision=18054
2003-09-12 15:32:38 +00:00
Paolo Molaro 083c74988a Set the thread_abort function for the main thread, too.
svn path=/trunk/mono/; revision=18053
2003-09-12 14:57:24 +00:00
Zoltan Varga 81944e064b 2003-09-12 Zoltan Varga <[email protected]>
* aot.c: Moved the check for MONO_LASTAOT into the initialization
	function of the module.

	* mini.h mini.c aot.c: Added a new optimization flag OPT_AOT for
	turning on/off the usage of AOT code. Got rid of mono_no_aot and the
	--no-aot command line option.

svn path=/trunk/mono/; revision=18052
2003-09-12 11:08:17 +00:00
Paolo Molaro 297ce8631d Fri Sep 12 10:42:08 CEST 2003 Paolo Molaro <[email protected]>
* interp.c, interp.h: patch from Bernie Solomon <[email protected]>:
	64 bit/opcodes/exception handling fixes.

svn path=/trunk/mono/; revision=18051
2003-09-12 08:53:31 +00:00
Pedro Martínez Juliá e1841ed7fe 2003-09-12 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Applied a lot of improvements in string
    construction, make use of Append/Insert with the "count" parameter.
    Thanks to Ben Maurer.

svn path=/trunk/mcs/; revision=18049
2003-09-12 05:28:29 +00:00
Ben Maurer f863bda93f *** empty log message ***
svn path=/trunk/mcs/; revision=18046
2003-09-12 00:28:40 +00:00
Lluis Sanchez 2e53550cc7 * AsyncCalls.cs BaseCalls.cs DelegateCalls.cs ReflectionCalls.cs SyncCalls.cs:
Added tests for CallContext and for parameters with the Out flag.

svn path=/trunk/mcs/; revision=18045
2003-09-11 23:57:09 +00:00
Lluis Sanchez 883e5a9a06 * CryptoStream.cs: Added [In,Out] attributes to Read method.
svn path=/trunk/mcs/; revision=18044
2003-09-11 23:53:44 +00:00
Lluis Sanchez 9d82283043 * NetworkStream.cs: Added [In,Out] attributes to Read method.
svn path=/trunk/mcs/; revision=18043
2003-09-11 23:47:32 +00:00
Lluis Sanchez 965b3402a0 * BufferedStream.cs, FileStream.cs, MemoryStream.cs, Stream.cs:
Added [In,Out] attributes to Read method.

svn path=/trunk/mcs/; revision=18042
2003-09-11 23:44:33 +00:00
Lluis Sanchez 98857f6458 * RemotingProxy.cs: Return message check moved to RealProxy.
* RealProxy.cs: Added return message check and propagation of output
	  parameter values.

svn path=/trunk/mcs/; revision=18041
2003-09-11 23:41:51 +00:00
Lluis Sanchez 5607428d37 * ArgInfo.cs: Include parameters with the Out flag in the out parameters list.
* CallContext.cs: SetCurrentCallContext now returns the old context, so it
	  can be later restored with new new method RestoreCallContext().
	* ReturnMessage.cs: Some fixes in the way the class deals with output parameters,
	  to match MS.NET behavior.

svn path=/trunk/mcs/; revision=18040
2003-09-11 23:41:25 +00:00
Lluis Sanchez 6d12ea30d8 * ChannelServices.cs: Call context management moved to RemotingServices.
svn path=/trunk/mcs/; revision=18039
2003-09-11 23:40:57 +00:00
Lluis Sanchez 833b3c698d * RemotingServices.cs: Collect value of parameters with the Out flag into
the return message. Also set and reset CallContext.
	  Added method UpdateOutArgObject.

svn path=/trunk/mcs/; revision=18038
2003-09-11 23:40:21 +00:00
Ben Maurer 7a1008c321 Resolve local variables at compile time in XSLT. 2x speed on TOH test
svn path=/trunk/mcs/; revision=18037
2003-09-11 22:09:20 +00:00
Dick Porter 501a2b6bc6 Compile fix
svn path=/trunk/mono/; revision=18036
2003-09-11 18:50:15 +00:00
Zoltan Varga e96b7a70f8 2003-09-11 Zoltan Varga <[email protected]>
* helpers.c (mono_disassemble_code): Make this work under cygwin. Patch
	by Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=18035
2003-09-11 16:08:50 +00:00
Zoltan Varga ea0369bfa5 2003-09-11 Zoltan Varga <[email protected]>
* inssel.brg: Refactor the interface offset table related code into
	its separate functions and add support for the AOT case.

svn path=/trunk/mono/; revision=18034
2003-09-11 12:45:55 +00:00
Zoltan Varga ba0189a318 2003-09-11 Zoltan Varga <[email protected]>
* profiler.c (mono_profiler_load): Added '-time' and '-alloc' options
	to the built-in profiler to turn off time and allocation profiling
	respectively.

svn path=/trunk/mono/; revision=18033
2003-09-11 12:44:38 +00:00
Lluis Sanchez a7a78dd2b3 * SoapSchemaImporter.cs: implemented.
* XmlReflectionImporter.cs: Changed nullable default for array items to true.
	* XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
	* XmlSchemaImporter.cs: more support for encoded format.

svn path=/trunk/mcs/; revision=18032
2003-09-11 11:37:06 +00:00
Lluis Sanchez 510d8a73ef * ServiceDescriptionImporter.cs, ServiceDescriptionReflector.cs: Added
first bits of encoded format support.

svn path=/trunk/mcs/; revision=18031
2003-09-11 11:31:43 +00:00
Ben Maurer 24b0229c31 Memory conservation in AVTs
svn path=/trunk/mcs/; revision=18026
2003-09-10 23:36:42 +00:00
Ben Maurer 6102de78ee Boxing is evil
svn path=/trunk/mcs/; revision=18025
2003-09-10 22:28:44 +00:00
Atsushi Eno 0e1d16f71b 2003-09-10 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
	  that handled xmlns attributes inproperly.

svn path=/trunk/mcs/; revision=18024
2003-09-10 17:58:53 +00:00
Pedro Martínez Juliá b9aa007300 2003-09-10 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Fix a bug with Custm Format.
    * FloatingPointFormatter.cs: Fix a little bug I've introduced the
    last change.

svn path=/trunk/mcs/; revision=18023
2003-09-10 16:34:34 +00:00
Zoltan Varga 4a60bedd4c 2003-09-10 Zoltan Varga <[email protected]>
* aot.c (mono_aot_get_method_inner): Fix memory leak.

svn path=/trunk/mono/; revision=18022
2003-09-10 16:23:31 +00:00
Zoltan Varga 18af53e400 2003-09-10 Zoltan Varga <[email protected]>
* aot.c: Added mono_aot_verbose variable and made all debugging
	output depend on the value of this variable.

	* aot.c (mono_aot_get_method_inner): Avoid dynamic allocation of
	method_label and info_label.

	* mini.h mini-x86.c aot.c: Added a new relocation type
	MONO_PATCH_INFO_IID for klass->interface_id.

	* mini.h mini.c driver.c aot.c: Changed mono_aot_get_method to return
	the MonoJitInfo structure.

	* mini.c (mono_jit_compile_method): Avoid using non-shared AOT in
	a non-root appdomain in shared mode.

svn path=/trunk/mono/; revision=18021
2003-09-10 14:57:46 +00:00
Zoltan Varga a30bae61bb 2003-09-10 Zoltan Varga <[email protected]>
* profiler.c (mono_profiler_coverage_alloc): Use NULL instead of
	g_direct_equal.

	* debug-helpers.c (mono_method_full_name): Print the wrapper type
	in human readable form.

svn path=/trunk/mono/; revision=18020
2003-09-10 14:40:32 +00:00
Pedro Martínez Juliá 45c52ebdef 2003-09-10 Pedro Mart�nez Juli� <[email protected]>
* DoubleFormatter.cs: A few optimizations. Now, only one object
    is created to convert all double numbers.
    * SingleFormatter.cs: A few optimizations. Now, only one object
    is created to convert all float numbers.
    * FloatingPointFormatter.cs: Split the "number type parameters" from
    the "numver value and format parameters". The first ones are in the
    constructor and the others are in a method.

svn path=/trunk/mcs/; revision=18019
2003-09-10 09:46:01 +00:00
Miguel de Icaza ea61bb562d Flush
svn path=/trunk/mono/; revision=18017
2003-09-10 01:50:44 +00:00
Paolo Molaro 075316fdcb Tue Sep 9 16:33:07 CEST 2003 Paolo Molaro <[email protected]>
* aot.c: make aot loader less verbose. Remove free of unused variable.

svn path=/trunk/mono/; revision=18013
2003-09-09 14:44:24 +00:00
Zoltan Varga c37c61e2d1 2003-09-09 Zoltan Varga <[email protected]>
* ArrayTest.cs: Fix the expected exception on some methods.

svn path=/trunk/mcs/; revision=18011
2003-09-09 11:12:31 +00:00
Zoltan Varga d1f550da12 2003-09-09 Zoltan Varga <[email protected]>
* Array.cs: Added argument checking to some NET_1_1 methods.

svn path=/trunk/mcs/; revision=18010
2003-09-09 11:10:40 +00:00
Jackson Harper cc751e03b2 * TypeDef.cs: By default types will have System.Object as their
parent type if no parent type is specified (this is what PEAPI
	does) however if we are assembling corlib the System.Object type
	will not have System.Object as its parent type.

svn path=/trunk/mcs/; revision=18009
2003-09-09 04:39:40 +00:00
Duncan Mak b7b9bd7b5c * Mono.Cairo/Surface.cs (PutImage): Removed.
* Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.

* Mono.Cairo/Cairo.cs (cairo_copy): New API
(cairo_surface_put_image): Removed.

svn path=/trunk/mcs/; revision=18008
2003-09-09 00:01:41 +00:00
Duncan Mak 7552a4f711 2003-09-08 Duncan Mak <[email protected]>
* Factories.cs (DefaultImplementationNamespace): Change it from
	"XrImpl" to "Cairo".

2003-09-08  Duncan Mak  <[email protected]>

	* gdk-helpers.cs: Remember to call gdk_init before hand.
	(gdk_pixbuf_finalize): Removed, as it is no longer available
	in the current API.
	(Helpers): New class to contain other misc. helper functions.
	(Init): Import gdk_init.
	(Unref): Import g_object_unref. This should be used in place of
	gdk_pixbuf_finalize.

	* cairo-api.cs: Updated to reflect recent API changes.
	(cairo_copy): New API.
	(cairo_surface_put_image): Removed to keep updated with current
	API.
	(cairo_current_foo): Renamed from the old cairo_get_foo methods.

svn path=/trunk/mcs/; revision=18007
2003-09-08 23:58:26 +00:00
Ben Maurer ddd0ce62f4 XSLT will never be able to tell the XPathResultType of a variable, so lets just save the lookup
svn path=/trunk/mcs/; revision=18006
2003-09-08 23:36:41 +00:00
Ben Maurer bd935f917b No IEnumerators, please
svn path=/trunk/mcs/; revision=18005
2003-09-08 23:20:33 +00:00
Ben Maurer 9db0c916ed optimize collection allocation
svn path=/trunk/mcs/; revision=18004
2003-09-08 22:45:02 +00:00
Ben Maurer b878abf6ab make one, not two calls to the hashtable
svn path=/trunk/mcs/; revision=18003
2003-09-08 22:10:32 +00:00
Ben Maurer d56057ac65 Flush after you use it
svn path=/trunk/mcs/; revision=18002
2003-09-08 21:26:32 +00:00
Zoltan Varga d93d481cb7 2003-09-08 Zoltan Varga <[email protected]>
* jit-icalls.c (mono_llmult_ovf): Fix warning.

svn path=/trunk/mono/; revision=18001
2003-09-08 20:09:44 +00:00
Zoltan Varga b99eff69c0 2003-09-08 Zoltan Varga <[email protected]>
* reflection.c icall.c: Fixed warnings.

svn path=/trunk/mono/; revision=18000
2003-09-08 20:04:33 +00:00
Miguel de Icaza d8b4b18789 Add wsdl script
svn path=/trunk/mono/; revision=17997
2003-09-08 17:46:15 +00:00
Atsushi Eno 22bae8654d 2003-09-08 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : GetEnumerator() should return all of the
	  available pairs (of prefix and namespace).
	* XmlQualifiedName.cs : Quick fix for NullReferenceException in case
	  of name (or ns) is null. (The description of the immediate previous
	  changes will be inserted below.)
	* XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
	* XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
	  will release resources it had allocated.

svn path=/trunk/mcs/; revision=17996
2003-09-08 16:36:38 +00:00
Zoltan Varga 62192ab847 2003-09-08 Zoltan Varga <[email protected]>
* aot.c (mono_aot_get_method_inner): Fix MONO_PATCH_INFO_IMAGE.

svn path=/trunk/mono/; revision=17995
2003-09-08 14:53:00 +00:00
Zoltan Varga fe931dbbd3 2003-09-08 Zoltan Varga <[email protected]>
* .cvsignore: Added *.dll.

svn path=/trunk/mono/; revision=17994
2003-09-08 13:26:28 +00:00
Zoltan Varga 6e78ac21f9 2003-09-08 Zoltan Varga <[email protected]>
* mini.c (mono_print_tree_nl): New function callable while debugging.

	* mini.c (mono_print_code): Export this.

	* mini.h (MonoCompile): Added 'jit_info' field.

	* mini.c (mini_method_compile): Save the generated MonoJitInfo into
	the cfg structure, since it is needed by the AOT compiler.

	* mini.h (MONO_AOT_FILE_VERSION): Bump version number.

	* aot.c: A major rewrite. Changes include:
	- save exception tables for methods which have them.
	- cache failed lookups in aot_get_method () to avoid the (slow) calls
	to g_module_symbol.
	- reworked the file format so it is now much smaller and needs
	fewer relocation entries.

svn path=/trunk/mono/; revision=17993
2003-09-08 13:23:19 +00:00
Zoltan Varga abca05c3da 2003-09-08 Zoltan Varga <[email protected]>
* image.c (load_class_names): Use a temporary hash table to hold the
	namespaces in order to avoid doing many string comparisons.

	* image.h: Fix typo.

	* image.c class.c rawbuffer.c reflection.c threads.c verify.c domain.c:
	Pass NULL instead of g_direct_equal to the GHashTable constructor
	since the NULL case is short-circuited inside g_hash_table_lookup,
	leading to better performance.

svn path=/trunk/mono/; revision=17992
2003-09-08 13:16:46 +00:00
Zoltan Varga fa52b9ff7a 2003-09-08 Zoltan Varga <[email protected]>
* metadata.c (mono_metadata_custom_attrs_from_index): New function to
	obtain the first custom attribute for a given index. Depends on the
	CustomAttribute table being sorted by the parent field.

	* reflection.c (mono_custom_attrs_from_index): Use the new function
	for better performance.

svn path=/trunk/mono/; revision=17991
2003-09-08 13:06:15 +00:00
Zoltan Varga 9c23541650 2003-09-08 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_magic_trampoline): Tell valgrind to recompile the
	patched code.

svn path=/trunk/mono/; revision=17990
2003-09-08 12:36:29 +00:00
Zoltan Varga e7b0e7b2f8 2003-09-08 Zoltan Varga <[email protected]>
* configure.in: Added check for valgrind headers.

svn path=/trunk/mono/; revision=17989
2003-09-08 12:29:22 +00:00
César Natarén 3e0b957917 2003-09-07 Cesar Lopez Nataren <[email protected]>
* Context.cs: Added constructor and Document field.
	* DocumentContext.cs: Added Name field.
	* JSParser.cs: Integration of antlr's generated parser with
	JSParser public API. ScriptBlock is now the principal data structure that
	represents a Jscript .Net program.
	* JSScanner.cs: Integration of antlr's generated lexer with
	JSScanner public API.

svn path=/trunk/mcs/; revision=17988
2003-09-08 05:22:00 +00:00
Sebastien Pouliot 9aa59873d9 2003-09-07 Sebastien Pouliot <[email protected]>
* Path.cs: RoutingFault not yet implemented (commented).

svn path=/trunk/mcs/; revision=17985
2003-09-08 02:04:14 +00:00
Sebastien Pouliot 324a07d7bc 2003-09-07 Sebastien Pouliot <[email protected]>
* Referral.cs: Oops - didn't compile when WSE1 was defined
	* ReferralCollection.cs: Oops - didn't compile when WSE1 was defined

svn path=/trunk/mcs/; revision=17984
2003-09-08 02:02:35 +00:00
Sebastien Pouliot 0ca27969b2 2003-09-07 Sebastien Pouliot <[email protected]>
* Path.cs: Constructors are internal and Clone is non virtual in WSE1
	(corcompare). Added missing properties (many are obsolete in WSE2).
	* RoutingInputFilter.cs: Added missing TODO.
	* RoutingOutputFilter.cs: Added missing TODO.
	* Via.cs: Removed virtual from Clone for WSE1 (corcompare).
	* ViaCollection.cs: Removed virtual from Clone/GetEnumerator/CopyTo/
	SyncRoot for WSE1 (corcompare).
	* WSRouting.cs: New. Routing constant strings.

svn path=/trunk/mcs/; revision=17983
2003-09-08 01:52:24 +00:00
Sebastien Pouliot 02034d82be 2003-09-07 Sebastien Pouliot <[email protected]>
* Referral.cs: Removed virtual from Clone/GetXml/LoadXml for WSE1
	(corcompare).
	* ReferralCollection.cs: Removed virtual from LoadXml/GetXml/
	GetEnumerator/CopyTo/Count/IsSynchronized/SyncRoot for WSE1
	(corcompare)
	* ReferralException.cs: Removed ReferralFormatException implementation
	and added ReferralException.
	* ReferralFormatException.cs: Moved code from ReferralException.cs and
	added missing string constants.
	* ReferralInputFilter.cs: Added missing TODO.
	* ReferralOutputFilter.cs: Added missing TODO.

svn path=/trunk/mcs/; revision=17982
2003-09-08 01:50:45 +00:00
Ben Maurer 68ec5ce1a6 Dont make function call to StringBuffer
svn path=/trunk/mcs/; revision=17981
2003-09-07 21:55:47 +00:00
Ben Maurer 55df2f030d more optimization
svn path=/trunk/mcs/; revision=17980
2003-09-07 21:38:21 +00:00
Ben Maurer bc43a0c5b3 Optimize
svn path=/trunk/mcs/; revision=17979
2003-09-07 19:40:30 +00:00
Martin Baulig 6c491eb01d Merged from MCS.
svn path=/trunk/mcs/; revision=17978
2003-09-07 17:48:58 +00:00
Martin Baulig 9444e39d02 2003-09-07 Martin Baulig <[email protected]>
* report.cs (Error, Warning): Added overloaded versions which take
	a `params object[] args' and call String.Format().

svn path=/trunk/mcs/; revision=17977
2003-09-07 17:46:26 +00:00
Martin Baulig 5dfb0f5dd0 2003-09-07 Martin Baulig <[email protected]>
* decl.cs (DeclSpace..ctor): Don't call
	NamespaceEntry.DefineName() here; do it in RecordDecl() which is
	called from Tree.RecordDecl().  Fixes the CS0101 reporting.
	(DeclSpace.RecordDecl): New method.

	* tree.cs (Tree.RecordDecl): Call ds.RecordDecl().

svn path=/trunk/mcs/; revision=17976
2003-09-07 17:33:45 +00:00
Martin Baulig 1596d9b64f Added error -217.
svn path=/trunk/mcs/; revision=17974
2003-09-07 16:09:16 +00:00
Martin Baulig 936f88c9bb *** empty log message ***
svn path=/trunk/mcs/; revision=17973
2003-09-07 16:08:55 +00:00
Martin Baulig 0286f88754 2003-09-07 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.ResolveAsTypeStep): Report a CS8217
	if the number of type parameters doesn't match.

svn path=/trunk/mcs/; revision=17972
2003-09-07 16:08:21 +00:00
Martin Baulig b6a65fdb5a 2003-09-07 Martin Baulig <[email protected]>
* class.c (mono_class_init): If we're a generic instance, inflate
	all our methods instead of loading them from the image.
	(mono_class_from_generic): Set `class->methods = gklass->methods'.

svn path=/trunk/mono/; revision=17970
2003-09-07 14:59:09 +00:00
Dennis Hayes 1f4f9fb73c signture fixes
svn path=/trunk/mcs/; revision=17966
2003-09-07 09:17:53 +00:00
Dennis Hayes 02362af0e7 signiture fixes
svn path=/trunk/mcs/; revision=17965
2003-09-07 06:25:35 +00:00
Dennis Hayes c0063b75cd signiture fixes
svn path=/trunk/mcs/; revision=17964
2003-09-07 04:47:48 +00:00
Dennis Hayes 9009ac29f3 signture fixes.
svn path=/trunk/mcs/; revision=17963
2003-09-07 03:03:03 +00:00
Sebastien Pouliot af2d375b20 2003-09-06 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Added stubbed input/output soap
	filters for Routing and Referral so Configuration can be compiled.

svn path=/trunk/mcs/; revision=17962
2003-09-07 02:24:47 +00:00
Dennis Hayes f7acc63dc8 signiture fixes
svn path=/trunk/mcs/; revision=17961
2003-09-07 02:23:34 +00:00
Sebastien Pouliot f0e3c263b0 2003-09-06 Sebastien Pouliot <[email protected]>
* ConfigurationBase.cs: Completed implementation (both WSE1 and WSE2).
	* FilterConfiguration.cs: Now returns the default input/output filters.
	* WebServicesConfiguration.cs: Works for WSE1. Added WSE2 stubs.

svn path=/trunk/mcs/; revision=17960
2003-09-07 02:23:03 +00:00
Sebastien Pouliot 5df1e2ac1b 2003-09-06 Sebastien Pouliot <[email protected]>
* ReferralInputFilter.cs: Stubbed for compilation (configuration).
	* ReferralOutputFilter.cs: Stubbed for compilation (configuration)

svn path=/trunk/mcs/; revision=17959
2003-09-07 02:21:10 +00:00
Sebastien Pouliot cffb298846 2003-09-06 Sebastien Pouliot <[email protected]>
* RoutingInputFilter.cs: Stubbed for compilation (configuration).
	* RoutingOutputFilter.cs: Stubbed for compilation (configuration)

svn path=/trunk/mcs/; revision=17958
2003-09-07 02:20:29 +00:00
Sebastien Pouliot 3e649c2041 2003-09-06 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Removed AllowPartiallyTrustedCallers

svn path=/trunk/mcs/; revision=17957
2003-09-07 02:19:15 +00:00
Ben Maurer 77949634ad thanks tberman, nice catch of the warning
svn path=/trunk/mcs/; revision=17956
2003-09-07 01:22:45 +00:00
Martin Baulig fb6787b98f 2003-09-07 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Added support for constructors.

svn path=/trunk/mono/; revision=17953
2003-09-06 23:54:54 +00:00
Martin Baulig 865f7807b1 2003-09-06 Martin Baulig <[email protected]>
* MonoSymbolFile.cs: Removed debugging output.

svn path=/trunk/mcs/; revision=17952
2003-09-06 21:01:10 +00:00
Ben Maurer 09ca3f3ac0 performance hacking
svn path=/trunk/mcs/; revision=17951
2003-09-06 20:29:44 +00:00
Ben Maurer 9a14273e54 buggies
svn path=/trunk/mcs/; revision=17950
2003-09-06 19:57:06 +00:00
Ben Maurer 446f43d4be 2003-09-06 Ben Maurer <[email protected]>
* DefaultContext.cs, Expresssion.cs, Parser.jay: Rewrite so that
	system functions are actually expressions. Will allow for some
	nice optimizations.

svn path=/trunk/mcs/; revision=17947
2003-09-06 18:58:51 +00:00
Martin Baulig 8add181d95 2003-09-06 Martin Baulig <[email protected]>
* errors.txt: Added -216.

svn path=/trunk/mcs/; revision=17946
2003-09-06 18:15:29 +00:00
Martin Baulig 2574057134 Fixed error number.
svn path=/trunk/mcs/; revision=17944
2003-09-06 18:10:14 +00:00
Martin Baulig cbf8065b4c 2003-09-06 Martin Baulig <[email protected]>
* icall.c (ves_icall_TypeBuilder_get_IsUnboundGenericParameter):
	New interncall.

	* reflection.c (mono_reflection_setup_generic_class): Call
	ensure_runtime_vtable() to create the vtable.

svn path=/trunk/mono/; revision=17943
2003-09-06 18:09:24 +00:00
Martin Baulig b72d8c9935 2003-09-06 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.IsUnboundGenericParameter): Implemented.

svn path=/trunk/mcs/; revision=17942
2003-09-06 18:08:02 +00:00
Sebastien Pouliot 22b9a22ee4 2003-09-06 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Added another shared (and
	renamed) file from System.Security assembly (Signature.cs ->
	SignedXmlSignature.cs).

svn path=/trunk/mcs/; revision=17941
2003-09-06 03:57:47 +00:00
Sebastien Pouliot d8361220ec 2003-09-06 Sebastien Pouliot <[email protected]>
* EncryptedKey.cs: Fixed typo.
	* Security.cs: Fixed compilation issues.
	* SignedXml.cs: Fixed compilation issues.
	* SignedXmlSignature.cs: Copied from System.Security assembly (where
	it is known as Signature.cs) as MS duplicate the class (in WSE) to
	fixed some issues.
	* XmlSignature.cs: Added more missing string used in System.Security.

svn path=/trunk/mcs/; revision=17940
2003-09-06 03:55:44 +00:00
Sebastien Pouliot c12bf9a947 2003-09-06 Sebastien Pouliot <[email protected]>
* Pipeline.cs: Uncommented Microsoft.Web.Services.Configuration;

svn path=/trunk/mcs/; revision=17939
2003-09-06 03:52:54 +00:00
Sebastien Pouliot 57ca40b880 2003-09-05 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Added stubbed classes from
	Microsoft.Web.Services.Configuration to fix compilation.

svn path=/trunk/mcs/; revision=17938
2003-09-06 01:14:15 +00:00
Sebastien Pouliot 60340f59db 2003-09-05 Sebastien Pouliot <[email protected]>
* ConfigurationBase.cs: New. Limited implementation to fix compile.
	* FilterConfiguration.cs: New. Stub to fix compile.
	* WebServicesConfiguration.cs: New. Stub to fix compile.

svn path=/trunk/mcs/; revision=17937
2003-09-06 01:05:15 +00:00
Sebastien Pouliot 626d78c7fe 2003-09-05 Sebastien Pouliot <[email protected]>
* KeyAttributesExtension.cs: New. Added for WSE.

svn path=/trunk/mcs/; revision=17935
2003-09-06 00:12:03 +00:00
Ben Maurer 734af89098 that was just a pathetic bug...
svn path=/trunk/mcs/; revision=17933
2003-09-05 21:19:34 +00:00
Martin Baulig 2b1bd6adbb 2003-09-05 Martin Baulig <[email protected]>
* class.c (mono_class_array_element_size): Added MONO_TYPE_VAR and
	MONO_TYPE_MVAR.

svn path=/trunk/mono/; revision=17911
2003-09-05 08:15:30 +00:00
Duncan Mak 1558ef9902 (Tolerance): Fix typo.
svn path=/trunk/mcs/; revision=17910
2003-09-05 05:01:51 +00:00
Sebastien Pouliot 0346525686 2003-09-04 Sebastien Pouliot <[email protected]>
* Microsoft.Web.Services.dll.sources: Removed unused files.
	Added Assembly files.

svn path=/trunk/mcs/; revision=17906
2003-09-05 03:57:13 +00:00
Sebastien Pouliot ba97b0201d 2003-09-04 Sebastien Pouliot <[email protected]>
* Reference.cs: Fixed compilation issues.
	* SignedInfo.cs: Fixed compilation issues.
	* XmlSignature.cs: Added missing string used in System.Security.

svn path=/trunk/mcs/; revision=17905
2003-09-05 03:54:22 +00:00
Miguel de Icaza 3bafc0d8b1 Flush
svn path=/trunk/mono/; revision=17904
2003-09-05 03:52:48 +00:00
Sebastien Pouliot 967558602c 2003-09-04 Sebastien Pouliot <[email protected]>
* Path.cs: Corrected typos to fix compilation.

svn path=/trunk/mcs/; revision=17903
2003-09-05 03:52:09 +00:00
Sebastien Pouliot baaa844efb 2003-09-04 Sebastien Pouliot <[email protected]>
* DimeAttachmentCollection.cs: Fixed compilation issues
	* DimeReader.cs: Fixed compilation issues

svn path=/trunk/mcs/; revision=17902
2003-09-05 03:50:51 +00:00
Sebastien Pouliot eec0c628e4 2003-09-04 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Added. Copied from corlib and ajusted for WSE.
	* Locale.cs: Added. Copied from corlib.
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=17901
2003-09-05 03:49:18 +00:00
Sebastien Pouliot 23556136c6 2003-09-04 Sebastien Pouliot <[email protected]>
* Via.cs: Corrected typos to fix compilation.
	* ViaCollection.cs: Corrected typos to fix compilation.

svn path=/trunk/mcs/; revision=17900
2003-09-05 02:58:14 +00:00
Sebastien Pouliot 72df13062a 2003-09-04 Sebastien Pouliot <[email protected]>
* ReferralCollection.cs: Added missing ICollection properties.

svn path=/trunk/mcs/; revision=17898
2003-09-05 02:27:35 +00:00
Sebastien Pouliot 54950b6d6d 2003-09-04 Sebastien Pouliot <[email protected]>
* Makefile: Added reference to System.Security assembly and a define
	for WSE1 (required for classes shared between SS and WSE).
	* Microsoft.Web.Services.dll.sources: Added (shared) files from
	System.Security assembly.

svn path=/trunk/mcs/; revision=17897
2003-09-05 02:19:22 +00:00
Sebastien Pouliot 6ea59691fe 2003-09-04 Sebastien Pouliot <[email protected]>
* TimestampFormatException.cs: Added missing strings and #if for WSE2.

svn path=/trunk/mcs/; revision=17896
2003-09-05 02:17:45 +00:00
Sebastien Pouliot 7c9eaf9071 2003-09-04 Sebastien Pouliot <[email protected]>
* FileCertificateStore.cs: Fixed compilation.

svn path=/trunk/mcs/; revision=17895
2003-09-05 02:15:50 +00:00
Sebastien Pouliot 5b55c9f892 2003-09-04 Sebastien Pouliot <[email protected]>
* Reference.cs: Copied from System.Security assembly as MS duplicate
	the class (in WSE) to fixed some issues.
	* SignedInfo.cs: Copied from System.Security assembly as MS duplicate
	the class (in WSE) to fixed some issues.
	* SignedXml.cs: Copied from System.Security assembly as MS duplicate
	the class (in WSE) to fixed some issues.
	* TransformChain.cs: Copied from System.Security assembly as MS duplicate
	the class (in WSE) to fixed some issues.

svn path=/trunk/mcs/; revision=17894
2003-09-05 02:13:25 +00:00
Duncan Mak 5ab7064822 2003-09-04 Duncan Mak <[email protected]>
* Integrate the files from Sebastien.

svn path=/trunk/mcs/; revision=17892
2003-09-05 00:25:19 +00:00
Ben Maurer 8400c5fe2b Fixed typo; thanks Miguel for bug report
svn path=/trunk/mcs/; revision=17891
2003-09-04 23:03:38 +00:00
Martin Baulig a724e9473a Ooops, this was just for debugging.
svn path=/trunk/mcs/; revision=17890
2003-09-04 22:57:58 +00:00
Duncan Mak 1f2ff5537f (cairo_set_target_drawable):
(cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
(cairo_current_tolerance):
(cairo_set_tolerance): Fix typo. Thanks Alp.

svn path=/trunk/mcs/; revision=17889
2003-09-04 20:07:26 +00:00
Martin Baulig 901fc09833 2003-09-04 Martin Baulig <[email protected]>
* expression.cs (ComposedCast.ResolveAsTypeStep): Added support
	for arrays of generic type params (ie. `!0[]').

svn path=/trunk/mcs/; revision=17888
2003-09-04 20:04:28 +00:00
Duncan Mak 9c24142151 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
*_get_* to *_current_*.

* Mono.Cairo/Object.cs: Update binding to reflect changes in the
API.

svn path=/trunk/mcs/; revision=17887
2003-09-04 19:54:49 +00:00
Duncan Mak 4ac9cd9a40 Add Alon's name to the Authors.
svn path=/trunk/mcs/; revision=17886
2003-09-04 19:20:20 +00:00
Duncan Mak e61457e5ba Integrate the patches contributed by Alon Gazit <[email protected]>.
* BitVector32.cs (CreateSection): Check that the new
calculated offset isn't more than 32 and not that the sum of the
new offset and the number of set bits is more than 32.
(this): Perform bitwise and with the complement of the mask
shifted version (~(section.Mask << section.Offset)) and not with
the shifted version of the mask's complement (~section.Mask <<
section.Offset).
(this): Currently doesn't return the correct value when the data
in the BitVector32 instance is negative.

* ListDictionary.cs (CopyTo): If the array is null, it should
throw ArgumentNullException. If the index is less than 0, it
should throw ArgumentOutOfRangeException.
(Remove): Throw ArgumentNullException when the parameter is null.

* BitVector32Test.cs (TestNegativeIndexer, TestSectionIndexer,
TestCreateSection): new tests from Alon Gazit <[email protected]>.

* ListDictionaryTest.cs (CopyTo1, CopyTo2, Remove): New file, with
tests from Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=17885
2003-09-04 19:16:30 +00:00
Miguel de Icaza 9ac511b8e7 Flush
svn path=/trunk/mono/; revision=17883
2003-09-04 17:55:02 +00:00
Martin Baulig d4a12eaffa 2003-09-04 Martin Baulig <[email protected]>
* class.cs (TypeContainer.AsAccessible): Ignore generic parameters
	for the moment.

svn path=/trunk/mcs/; revision=17882
2003-09-04 17:11:38 +00:00
Martin Baulig 991e98fcbf 2003-09-04 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.LookupGeneric): New method.
	(DeclSpace.CheckAccessLevel): Ignore generic parameters for the
	moment.

	* generic.cs (TypeParameterExpr): Take a TypeParameter as
	argument, not just a string.
	(TypeParameter.Define): New public method; this is called to
	actually define the generic parameter; after this, you can use the
	new `Type' property to get the type.

svn path=/trunk/mcs/; revision=17881
2003-09-04 16:58:53 +00:00
Martin Baulig 6fa7e1bbb1 2003-09-04 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Make this nested
	class internal, not protected.

svn path=/trunk/mcs/; revision=17880
2003-09-04 16:55:59 +00:00
Martin Baulig f85828a56d 2003-09-04 Martin Baulig <[email protected]>
* reflection.c (mono_reflection_define_generic_parameter): Generic
	parameters start with zero.

svn path=/trunk/mono/; revision=17879
2003-09-04 16:49:52 +00:00
Zoltan Varga 0d3e4efef5 2003-09-04 Zoltan Varga <[email protected]>
* aot.c (load_aot_module): Fix build bustage on platforms without
	Boehm GC.

svn path=/trunk/mono/; revision=17878
2003-09-04 16:08:44 +00:00
Lluis Sanchez 06ccb34590 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
(this will get the address from the request headers).

svn path=/trunk/mcs/; revision=17877
2003-09-04 15:57:03 +00:00
Miguel de Icaza 94e18df0ad Apply patch from David Sandor ([email protected]): LIKE expression was not working since the index used was always 0
svn path=/trunk/mcs/; revision=17875
2003-09-04 15:51:07 +00:00
Martin Baulig 8b60e8422e 2003-09-04 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.SetParameterInfo): The `constraints' argument
	is now an ArrayList; initialize the result of the `TypeParameters'
	property here.
	(DeclSpace.GetGenericData): Removed.
	(DeclSpace.LookupGeneric): Temporarily removed; we need to
	implement this in a different way.
	(DeclSpace.GetTypeParameters): Removed; there's now a
	`TypeParameters' property.
	(DeclSpace.TypeParameters): New public property.

	* ecore.cs (SimpleName.ResolveAsTypeStep): Removed the generic
	lookup for the moment.

	* generic.cs (Constraints): Make this class public.
	(TypeParameter): New public class.

svn path=/trunk/mcs/; revision=17874
2003-09-04 15:13:13 +00:00
Martin Baulig 21de38f7df 2003-09-04 Martin Baulig <[email protected]>
* decl.cs (DeclSpace.GetTypeParameters): New method to return the
	generic parameters.

	* class.cs (TypeContainer.DefineType): Call
	TypeBuilder.DefineGenericParameter () on all generic parameters if
	this is a generic type.

svn path=/trunk/mcs/; revision=17873
2003-09-04 13:41:53 +00:00
Martin Baulig 1a3eff7d2f 2003-09-04 Martin Baulig <[email protected]>
* Makefile.am (INCLUDES): Added $(LIBGC_CFLAGS).

svn path=/trunk/mono/; revision=17872
2003-09-04 13:31:53 +00:00
Martin Baulig efb1b46471 2003-09-04 Martin Baulig <[email protected]>
* metadata.c (mono_type_size): Added MONO_TYPE_VAR and MONO_TYPE_MVAR.

	* reflection.h (MonoReflectionGenericParam): New typedef.
	(MonoReflectionTypeBuilder): Added `num_generic_params' and
	`generic_params' fields to get the generic parameters from the
	managed TypeBuilder.

	* reflection.c (mono_reflection_define_generic_parameter): New function.
	(mono_reflection_create_runtime_class): Encode generic parameters.
	(mono_reflection_setup_generic_class): New function; this is
	called after adding adding all generic params to the TypeBuilder.
	(encode_type): Added MONO_TYPE_VAR.

svn path=/trunk/mono/; revision=17871
2003-09-04 13:22:59 +00:00
Martin Baulig 2941646acd 2003-08-29 Martin Baulig <[email protected]>
* TypeBuilder.cs (TypeBuilder.DefineGenericParameter): New public
	method.  We can now create generic types.
	(TypeBuilder.GetGenericTypeDefinition): Override this; call the
	`setup_internal_class' interncall before calling our base impl.

svn path=/trunk/mcs/; revision=17870
2003-09-04 13:20:57 +00:00
Martin Baulig 346e9487ea 2003-09-04 Martin Baulig <[email protected]>
* Type.cs (GetGenericTypeDefinition): Make this method virtual.

svn path=/trunk/mcs/; revision=17869
2003-09-04 13:20:35 +00:00
Zoltan Varga 25fb12679d 2003-09-04 Zoltan Varga <[email protected]>
* TODO: Some new optimization ideas.

svn path=/trunk/mono/; revision=17868
2003-09-04 13:03:38 +00:00
Zoltan Varga e347c5d9b9 2003-09-04 Zoltan Varga <[email protected]>
* aot.c: Move AOT module loading logic here from mono_assembly_open.

	* aot.c: Save the optimization flags used to compile the code into
	the AOT module.

	* mini.h mini-x86.c mini.c aot.c: Added new types of relocations to
	support emitting domain specific code.

	* mini.h mini.c aot.c: Modified the JIT so the generated AOT code is
	no longer domain neutral. It can be made domain neutral by compiling
	with --optimize=shared.

	* aot.c (mono_aot_get_method_inner): Allow sharing of AOT methods
	between appdomains.

	* driver.c mini.h mini.c: New --no-aot debugging option which disables
	loading of AOT code.

	* inssel-x86.brg: Added missing AOTCONST -> OUTARG_VT rule.

svn path=/trunk/mono/; revision=17867
2003-09-04 13:02:16 +00:00
Zoltan Varga 605c98433c 2003-09-04 Zoltan Varga <[email protected]>
* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling method
	if there is no domain neutrality information.

svn path=/trunk/mono/; revision=17866
2003-09-04 12:36:14 +00:00
Zoltan Varga 39d3c1e9ea 2003-09-04 Zoltan Varga <[email protected]>
* class.h class.c (mono_class_needs_cctor_run): Moved this method
	here from the JIT.

	* assembly.h assembly.c: Moved the AOT loading code into an assembly
	load hook.

svn path=/trunk/mono/; revision=17865
2003-09-04 12:29:17 +00:00
Gaurav Vaish e2e5b97f94 2003-09-04 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Control property         - Marked virtual
                        : LoadPostData(...)        - Marked virtual
* HtmlCommandAdapter.cs : Implemented.
* HtmlControlAdapter.cs : RenderEndLink(...)       - Correct signature
* HtmlMobileTextWriter.cs
                        : Added several properties,
                        : Stubbed several methods

svn path=/trunk/mcs/; revision=17861
2003-09-04 09:37:54 +00:00
Lluis Sanchez e49789fb8e * HttpServerUtility.cs: In Transfer(), preserve the query string if
told to do so.

svn path=/trunk/mcs/; revision=17858
2003-09-04 02:49:49 +00:00
Lluis Sanchez 48d4723389 * MonoWSDL.cs: Implemented support for WSDL documents that import other
documents and schemas.
	  Improved warning messages.

svn path=/trunk/mcs/; revision=17857
2003-09-04 02:43:47 +00:00
Lluis Sanchez 61080dc4f9 * SerializationCodeGenerator.cs: Minor fixes.
* SoapReflectionImporter.cs: More fixes.
	* SoapSchemaExporter.cs: implemented.
	* SoapSchemaImporter.cs: Initial implementation.
	* TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
	  and ParseArrayType
	* XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
	* XmlMemberMapping.cs: Minor fixes.
	* XmlMembersMapping.cs: added some convenient constructors.
	* XmlSchemaExporter.cs: Added support for encoded format.
	* XmlSchemaImporter.cs: Added support for encoded format.
	* XmlSerializationReader.cs: changed some string literals by constants.
	  Implemented ParseWsdlArrayType.
	* XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
	  custom attributes.
	* XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
	* XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
	  WriteAttribute to write custom attributes.
	* XmlSerializer.cs: added some namespace constants.
	* XmlTypeMapping.cs: added GetSchemaArrayName method.

svn path=/trunk/mcs/; revision=17856
2003-09-04 02:39:08 +00:00
Lluis Sanchez 98ddc29f0b * ServiceDescription.cs: minor fixes.
* ServiceDescriptionImporter.cs: initial implementation.
	* ServiceDescriptionReflector.cs: Added support for bare parameter style.
	  Added support for encoded format.

svn path=/trunk/mcs/; revision=17855
2003-09-04 02:26:25 +00:00
Lluis Sanchez c1d64cc212 * Methods.cs: Added support for bare parameter style. Fixed some defaults.
svn path=/trunk/mcs/; revision=17854
2003-09-04 02:21:38 +00:00
Lluis Sanchez b6c6935a5e * CSharpCodeGenerator.cs: Fixed generation of array construction with initializers.
Render return type custom attributes.

svn path=/trunk/mcs/; revision=17853
2003-09-04 02:15:31 +00:00
Duncan Mak bef7add9ef Update mono-wine packages.
svn path=/trunk/mono/; revision=17852
2003-09-03 23:39:53 +00:00
Alp Toker c8aa68a382 2003-09-03 Alp Toker <[email protected]>
cairo-api.cs: typos: drawble -> drawable, tolerence -> tolerance

svn path=/trunk/mcs/; revision=17851
2003-09-03 23:07:45 +00:00
Alp Toker 64295fc25b 2003-09-03 Alp Toker <[email protected]>
cairo-api.cs: drawble -> drawable typo

svn path=/trunk/mcs/; revision=17850
2003-09-03 23:04:46 +00:00
Gaurav Vaish ce6d775dce 2003-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs : Looks like done, at least stubbing.

svn path=/trunk/mcs/; revision=17847
2003-09-03 15:45:23 +00:00
Zoltan Varga 1e0e0537e1 2003-09-03 Zoltan Varga <[email protected]>
* reflection.h reflection.c class.h class.c: Delete duplicate
	definition of mono_type_get_name () from reflection.c and export the
	one in class.c.

	* class.c: Class loading fixes from Bernie Solomon
	([email protected]).

svn path=/trunk/mono/; revision=17841
2003-09-03 08:52:20 +00:00
Zoltan Varga 3fe1b6c830 2003-09-03 Zoltan Varga <[email protected]>
* reflection.c: Endianness fixes from Bernie Solomon
	([email protected]).

svn path=/trunk/mono/; revision=17840
2003-09-03 08:19:33 +00:00
Zoltan Varga 7e350f2f96 2003-09-03 Zoltan Varga <[email protected]>
* x86/tramp.c: Fixes from Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=17839
2003-09-03 08:10:57 +00:00
Zoltan Varga b2c1fd7dcc 2003-09-03 Zoltan Varga <[email protected]>
* Makefile.am: Use $(MAKE) in even more places. Patch by Bernie Solomon
	([email protected]).

svn path=/trunk/mono/; revision=17838
2003-09-03 08:06:10 +00:00
Ben Maurer 73609e891b typo correction
svn path=/trunk/mcs/; revision=17837
2003-09-03 01:16:03 +00:00
Duncan Mak 73a91a8612 Remove this bogus assembly
svn path=/trunk/mcs/; revision=17836
2003-09-02 22:16:38 +00:00
Duncan Mak 9d10e0a743 2003-09-02 Duncan Mak <[email protected]>
* Microsoft.Web.Services/Soap.cs:
	* Microsoft.Web.Services/IXmlElement.cs: Implemented.

2003-09-02  Daniel Kornhauser  <[email protected]>

	* Microsoft.Web.Services: All Exceptions in this assembly
	implemented.

svn path=/trunk/mcs/; revision=17835
2003-09-02 22:12:45 +00:00
Ravi Pratap M 620f323b91 Remove some old code
svn path=/trunk/mcs/; revision=17834
2003-09-02 21:13:50 +00:00
Ravi Pratap M fadebb4cbb 2003-09-02 Ravi Pratap <[email protected]>
* class.cs (MethodCore.LabelParameters): Make static and more
	generic so that it can be used from other places - like interface
	methods, for instance.

	* interface.cs (Interface.Emit): Call LabelParameters before
	emitting attributes on the InterfaceMethod.

svn path=/trunk/mcs/; revision=17833
2003-09-02 21:09:44 +00:00
Ravi Pratap M c32725d1b4 Flush
svn path=/trunk/mcs/; revision=17832
2003-09-02 20:14:13 +00:00
Ravi Pratap M 3da8bd84bf 2003-09-02 Ravi Pratap <[email protected]>
* attribute.cs (CheckAttributeTarget): Ensure that we allow return
	value attributes to be applied to ParameterBuilders.

svn path=/trunk/mcs/; revision=17831
2003-09-02 19:55:22 +00:00
Ravi Pratap M 749b0fbeb6 Woops - wrong filename in ChangeLog entry
svn path=/trunk/mcs/; revision=17830
2003-09-02 19:21:49 +00:00
Ravi Pratap M 4268a7a585 2003-09-02 Ravi Pratap <[email protected]>
* DebuggableAttribute.cs: Fix allowable targets to include class
	and struct; remove property targets.

svn path=/trunk/mcs/; revision=17829
2003-09-02 19:21:06 +00:00
Miguel de Icaza 14c36f9789 When compiling CORLIB: pass the INSIDE_CORLIB setting, so X509Certificate class is internal, and not public: Fixes the build
svn path=/trunk/mcs/; revision=17828
2003-09-02 17:04:00 +00:00
Miguel de Icaza f191d64fcc Quick change to fix the build
svn path=/trunk/mcs/; revision=17827
2003-09-02 16:52:38 +00:00
Dick Porter ce0a38efe9 2003-09-02 Dick Porter <[email protected]>
* io.c: Work around glib brain-dead assumptions about utf8-encoded
	filenames.  Fixes bug 30781.

svn path=/trunk/mono/; revision=17826
2003-09-02 14:42:21 +00:00
Dennis Hayes 8c2265ada1 signiture stuff
svn path=/trunk/mcs/; revision=17823
2003-09-02 08:08:22 +00:00
Dennis Hayes ccffde46a5 signiture stuff
svn path=/trunk/mcs/; revision=17821
2003-09-02 03:26:06 +00:00
Miguel de Icaza efb4c1c4e8 Update errors
svn path=/trunk/mcs/; revision=17819
2003-09-02 01:51:41 +00:00
Dennis Hayes ca82832ff0 signiture fix
svn path=/trunk/mcs/; revision=17816
2003-09-02 01:05:59 +00:00
Dennis Hayes fd273f974d fixed signtures
svn path=/trunk/mcs/; revision=17815
2003-09-02 00:45:10 +00:00
Miguel de Icaza a2636c011b Flush
svn path=/trunk/mono/; revision=17814
2003-09-02 00:32:15 +00:00
Sebastien Pouliot 11b945ce2e 2003-09-01 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version to 0.26.99 (all tools).
	* cert2spc.cs: Updated to use Mono.Security.X509.
	* chktrust.cs: Tool to validate Authenticode(tm) signatures on PE
	files (including assemblies).
	* signcode.cs: Tool to sign and timestamp PE files using
	Authenticode(tm) compatible certificates.
	* README: Updated to include a small tutorial on how to use
	Authenticode(tm) to sign/verify assemblies.
	* Makefile: Updated to build chktrust.exe and signcode.exe

svn path=/trunk/mcs/; revision=17813
2003-09-02 00:06:09 +00:00
Sebastien Pouliot 7d956e72c2 2003-09-01 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added support for Authenticode(tm)
	signatures.

svn path=/trunk/mcs/; revision=17812
2003-09-02 00:01:58 +00:00
Sebastien Pouliot 31f5c2e1d3 2003-09-01 Sebastien Pouliot <[email protected]>
* ITrustAnchors.cs: New. Interface to trust anchors.
	* TestAnchors.cs: New. Include 2 tests anchors: Microsoft Root Agency
	(for Windows compatibility) and Mono Test Root.
	* TrustAnchors.cs: New. Include some widely used (commercial) code
	signing root certificates.
	* X509CertificateCollection.cs: New. Collection for Mono's X509
	certificates.
	* X509Chain.cs: New. MINIMAL certificate chaining engine to support
	Authenticode(tm). VERY PARTIAL IMPLEMENTATION!!!

svn path=/trunk/mcs/; revision=17811
2003-09-02 00:01:01 +00:00
Sebastien Pouliot e3c3cb1a3b 2003-09-01 Sebastien Pouliot <[email protected]>
* AuthenticodeBase.cs: New. Base class including how to hash a
	PE file.
	* AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
	signatures.
	* AuthenticodeFormatter.cs: New. Class to encode a Authenticode(tm)
	signature, and optionally a timestamp, into a PE file.
	* SoftwarePublisherCertificate.cs: Now use Mono.Security.X509.
	X509Certificate class.

svn path=/trunk/mcs/; revision=17810
2003-09-02 00:00:09 +00:00
Sebastien Pouliot 72e5383d31 2003-09-01 Sebastien Pouliot <[email protected]>
* PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to
	support countersignatures.

svn path=/trunk/mcs/; revision=17809
2003-09-01 23:58:52 +00:00
Ben Maurer aad7ab6a71 2003-09-01 Ben Maurer <[email protected]>
* XmlDocument.cs (Save): use the encoding of the document, if
	available.

svn path=/trunk/mcs/; revision=17808
2003-09-01 21:54:45 +00:00
Miguel de Icaza 7fe89c4676 2003-09-01 Miguel de Icaza <[email protected]>
* Encoding.cs (UTF8Unmarked): make it also not error out on
	invalid input, that is what the Microsoft default is for the
	StreamReader and BinaryReader expect (our main consumers).

svn path=/trunk/mcs/; revision=17807
2003-09-01 21:45:09 +00:00
Miguel de Icaza 363f3cd71a Add bug reporting page
svn path=/trunk/mono/; revision=17806
2003-09-01 20:09:38 +00:00
ct 93ca3a7daf added basic floating point support
svn path=/trunk/mono/; revision=17805
2003-09-01 20:07:08 +00:00
Ben Maurer 4ab5fa74fc typo fixing
svn path=/trunk/mcs/; revision=17803
2003-09-01 19:14:54 +00:00
Ben Maurer 572f874a3c Template priority; flush XmlWriter
svn path=/trunk/mcs/; revision=17802
2003-09-01 18:48:51 +00:00
Ben Maurer 84b11de105 WOOOOHOOOO PATTERNS WORK
svn path=/trunk/mcs/; revision=17801
2003-09-01 15:38:45 +00:00
Zoltan Varga 6a9f9f19ac 2003-09-01 Zoltan Varga <[email protected]>
* aot.c (mono_compile_assembly): Emit a symbol containing the file
	format version into the generated library.

	* mini-x86.c (mono_arch_patch_code): Do not emit the address of the
	callee method into the caller since one of them could be shared.

	* mini.h mini-x86.c aot.c: Added two new relocations so throwing
	system exceptions from AOT code now works.

	* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling
	method if it is domain neutral and the callee is not.

	* graph.c (cfg_emit_one_loop_level): Fix warning.

svn path=/trunk/mono/; revision=17800
2003-09-01 15:05:09 +00:00
Zoltan Varga 0d4a005d3e 2003-09-01 Zoltan Varga <[email protected]>
* assembly.h assembly.c: Define a file format version for AOT
	libraries.

	* assembly.c (mono_assembly_open): Fix leaking of MonoImage-s.

	* appdomain.h (MonoJitInfo): New field to determine whenever the
	code is domain neutral.

svn path=/trunk/mono/; revision=17799
2003-09-01 15:01:06 +00:00
Zoltan Varga 8b3c6bc8e0 2003-09-01 Zoltan Varga <[email protected]>
* aot.c (mono_compile_assembly): Emit a symbol containing the file
	format version into the generated library.

	* mini-x86.c (mono_arch_patch_code): Do not emit the address of the
	callee method into the caller since one of them could be shared.

	* mini.h mini-x86.c aot.c: Added two new relocations so throwing
	system exceptions from AOT code now works.

	* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling
	method if it is domain neutral and the callee is not.

	* graph.c (cfg_emit_one_loop_level): Fix warning.

svn path=/trunk/mono/; revision=17798
2003-09-01 14:56:19 +00:00
Lluis Sanchez 380f6113e1 * Methods.cs: In TypeStubInfo, added Documentation field.
svn path=/trunk/mcs/; revision=17797
2003-09-01 14:40:09 +00:00
Zoltan Varga 797016dd59 2003-09-01 Zoltan Varga <[email protected]>
* assembly.h assembly.c: Define a file format version for AOT
	libraries.

	* assembly.c (mono_assembly_open): Fix leaking of MonoImage-s.

	* appdomain.h (MonoJitInfo): New field to determine whenever the
	code is domain neutral.

svn path=/trunk/mono/; revision=17796
2003-09-01 14:34:33 +00:00
Lluis Sanchez 43aa27f77a * System.Web.Services.dll.sources: Added ExtensionManager.cs,
ServiceDescriptionSerializerBase.cs

svn path=/trunk/mcs/; revision=17795
2003-09-01 14:31:01 +00:00
Lluis Sanchez d7f7471efa * ExtensionManager.cs: Added
* ServiceDescriptionSerializerBase.cs. Added
	* ServiceDescription.cs: Reenabled suspport for serialization.
	* ServiceDescriptionReflector.cs: Import type and method documentation.

svn path=/trunk/mcs/; revision=17794
2003-09-01 14:29:20 +00:00
Lluis Sanchez 8ede651311 * System.Xml.dll.sources: added SerializationCodeGenerator.cs,
SerializationCodeGeneratorConfiguration.cs.

svn path=/trunk/mcs/; revision=17793
2003-09-01 14:17:39 +00:00
Lluis Sanchez 1f9698d02a * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
* XmlTypeMapMemberElement.cs: Little fix.
	* XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
	* XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
	  methods.
	* SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
	  Added.

svn path=/trunk/mcs/; revision=17792
2003-09-01 14:13:23 +00:00
Malte Hildingson e2f81e3c33 * strtod.c: added missing Long define for big endian systems
svn path=/trunk/mono/; revision=17791
2003-09-01 10:52:11 +00:00
Nick Drochak 9ae480b952 Oops
svn path=/trunk/mcs/; revision=17790
2003-09-01 08:32:44 +00:00
Nick Drochak 8d51cf9f52 2003-09-01 Nick Drochak <[email protected]>
* AsyncCalls.cs: Fix Build breaker on .NET 1.1.

svn path=/trunk/mcs/; revision=17789
2003-09-01 08:29:35 +00:00
Ben Maurer a7578be9cf initial pattern work
svn path=/trunk/mcs/; revision=17786
2003-09-01 03:59:12 +00:00
Ben Maurer 3cc854f6d4 autogen jay
svn path=/trunk/mcs/; revision=17785
2003-09-01 03:58:26 +00:00
Miguel de Icaza 52ff034448 2003-08-31 Miguel de Icaza <[email protected]>
* marshal.c (emit_struct_conv): Add MONO_TYPE_CHAR

svn path=/trunk/mono/; revision=17783
2003-09-01 03:46:48 +00:00
Jonathan Pryor 7e7370ea4b Add some additional Visual Basic .NET compatibility information, which I
should have added last time.

svn path=/trunk/mono/; revision=17782
2003-09-01 00:54:42 +00:00
Jonathan Pryor bad2f2cac2 Add/update FAQ
- New questions & answers
  - revised answers for compatibility questions
  - moved some questions to more sensible categories (e.g. VB questions moved
    to "Compatibility" section, away from "Mono & Microsoft").
  - Spelling Fixes

Alas, all my editors (gedit & gvim) "fixed" the spelling of some names,
probably because those editors assume UTF-8 encoding...  This was seen for
Carlos Perell�� and Lluis S��nchez.

svn path=/trunk/mono/; revision=17780
2003-08-31 23:55:42 +00:00
Alexandre Pigolkine a772ea423f new test added
svn path=/trunk/mcs/; revision=17778
2003-08-31 23:41:30 +00:00
Alexandre Pigolkine d6c2f15a23 ServiceContainer implemented
svn path=/trunk/mcs/; revision=17777
2003-08-31 23:35:51 +00:00
Gonzalo Paniagua Javier 697999f997 Don't ask. Somehow this fixes compilation with csc 1.0
svn path=/trunk/mcs/; revision=17776
2003-08-31 21:39:26 +00:00
Miguel de Icaza be7b54cb3f Flush
svn path=/trunk/mono/; revision=17775
2003-08-31 21:19:40 +00:00
Miguel de Icaza 0c5f7bd5a2 Fix
svn path=/trunk/mcs/; revision=17771
2003-08-31 17:37:03 +00:00
Jerome Laban 4134c4b391 2003-08-31 Jerome Laban <[email protected]>
* Label.cs: Fixed Text property not redrawing the label correctly.

svn path=/trunk/mcs/; revision=17770
2003-08-31 17:22:04 +00:00
Jerome Laban f4e37bdd5c 2003-08-31 Jerome Laban <[email protected]>
* win32functions.cs: Added GetUpdateRect function.
        * Control.cs: Make sure to call OnPaint even if UserPaint style is not
        enabled. Get the appropriate DC for WM_PAINT operations.

svn path=/trunk/mcs/; revision=17769
2003-08-31 17:06:07 +00:00
Jerome Laban 8ac1b935d0 2003-08-31 Jerome Laban <[email protected]>
* Graphics.cs:
        * win32functions.cs: Added Win32 Ellipse implementation.

svn path=/trunk/mcs/; revision=17766
2003-08-31 16:21:36 +00:00
Gonzalo Paniagua Javier 654ed1b737 2003-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix for Items property provided by [email protected]
	(Yaron Shkop). Closes bug #48060.

svn path=/trunk/mcs/; revision=17765
2003-08-31 14:45:11 +00:00
Jerome Laban db8ee2b426 2003-08-31 Jerome Laban <[email protected]>
* Container.cs: A site without name cannot be duplicate.

svn path=/trunk/mcs/; revision=17763
2003-08-31 13:53:23 +00:00
Jerome Laban 82996151aa 2003-08-31 Jerome Laban <[email protected]>
* Timer.cs: Fixed Enabled property bebavior.

svn path=/trunk/mcs/; revision=17762
2003-08-31 13:43:49 +00:00
Alexandre Pigolkine 82de61aee3 stubs added
svn path=/trunk/mcs/; revision=17759
2003-08-31 00:58:45 +00:00
Alexandre Pigolkine 17adce241c switch to linux line terminators
svn path=/trunk/mcs/; revision=17758
2003-08-31 00:55:04 +00:00
Alexandre Pigolkine 8a62b5c886 Screen.cs small fixes and few methods implemented
svn path=/trunk/mcs/; revision=17757
2003-08-31 00:51:39 +00:00
Ben Maurer 13dac8f114 Oleg's output patch
svn path=/trunk/mcs/; revision=17756
2003-08-30 22:19:58 +00:00
Zoltan Varga d4c0d41ac3 2003-08-30 Zoltan Varga <[email protected]>
* interp.c: Use mono_field_from_token () in the appropriate places.
	This simplifies the code and also fixes #48051.

svn path=/trunk/mono/; revision=17752
2003-08-30 17:21:54 +00:00
Marco Ridoni 025f156e76 More array handling fixes (Redim/Erase)
svn path=/trunk/mcs/; revision=17751
2003-08-30 17:03:49 +00:00
Marco Ridoni 7bb17d9b1e Small fix to ReDim which got broken during the last CVS update
svn path=/trunk/mcs/; revision=17750
2003-08-30 16:44:12 +00:00
Marco Ridoni 291d6d4f0c With statement added, several modifier fixes, ParamArray fixes, Array declaration
fixes

svn path=/trunk/mcs/; revision=17749
2003-08-30 16:33:57 +00:00
Marco Ridoni 14aba87ee2 The resolver should be fully case-insensitive
svn path=/trunk/mcs/; revision=17748
2003-08-30 16:32:26 +00:00
Marco Ridoni 741e732d73 Runtime conversion added for underlying types in Enums
svn path=/trunk/mcs/; revision=17747
2003-08-30 16:31:46 +00:00
Marco Ridoni 8c6ba9b6ba One more Runtime conversion (Byte)
svn path=/trunk/mcs/; revision=17746
2003-08-30 16:31:10 +00:00
Gonzalo Paniagua Javier 11a9575dee Undo workaround. Zoltan fixed it.
svn path=/trunk/mcs/; revision=17744
2003-08-30 14:54:47 +00:00
Zoltan Varga 0d464cbafa 2003-08-30 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Web_Util_ICalls_get_machine_install_dir):
	(ves_icall_System_Configuration_DefaultConfig_get_machine_config_path):
	Avoid caching the result since strings must be domain specific.	Fixes
	#48050.

svn path=/trunk/mono/; revision=17743
2003-08-30 14:38:39 +00:00
Zoltan Varga a92223031b 2003-08-30 Zoltan Varga <[email protected]>
* aot.c (mono_compile_assembly): Oops. Remove debugging cruft from
	last checkin.

svn path=/trunk/mono/; revision=17742
2003-08-30 14:34:02 +00:00
Gonzalo Paniagua Javier c55bb99236 console
svn path=/trunk/mcs/; revision=17734
2003-08-30 02:18:03 +00:00
Gonzalo Paniagua Javier 948a55921a 2003-08-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: workaround for bug #48050.

svn path=/trunk/mcs/; revision=17733
2003-08-30 02:13:39 +00:00
Gonzalo Paniagua Javier 722e6904ff added gthread
svn path=/trunk/mono/; revision=17732
2003-08-30 00:27:59 +00:00
Zoltan Varga 48942624b8 2003-08-29 Zoltan Varga <[email protected]>
* mini.c (mini_init): Call mono_marshal_init () explicitly since it
	is needed  by code which is executed before mono_runtime_init ().
	Thanks to Bernie Solomon ([email protected]) for noticing this.

svn path=/trunk/mono/; revision=17727
2003-08-29 14:53:27 +00:00
Zoltan Varga 93e4e20552 2003-08-29 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_init): Make this callable multiple times
	since it is hard to find a correct place to call it.

svn path=/trunk/mono/; revision=17726
2003-08-29 14:51:30 +00:00
Zoltan Varga b3ab8c444b 2003-08-29 Zoltan Varga <[email protected]>
* object.c (mono_runtime_class_init): Execute static constructors in
	the correct appdomain.

	* image.c (build_guid_table): Handle the case when multiple images have
	the same GUID.

svn path=/trunk/mono/; revision=17725
2003-08-29 14:19:37 +00:00
Zoltan Varga 0b48ad8a39 2003-08-29 Zoltan Varga <[email protected]>
* mini.c (mono_thread_abort): Fix warning.
	(mono_jit_compile_method): Call static constructor in the AOT case too.

	* aot.c (mono_compile_assembly): Fix warning.

svn path=/trunk/mono/; revision=17724
2003-08-29 14:15:30 +00:00
Lluis Sanchez e8ba6eec67 * Makefile: Fixed assembly reference.
svn path=/trunk/mcs/; revision=17723
2003-08-29 12:56:16 +00:00
Lluis Sanchez 614f65d798 * ServiceDescription.cs: Disabled suspport for serialization, until I found
an easy way of generate serialization readers and writers.

svn path=/trunk/mcs/; revision=17722
2003-08-29 12:31:35 +00:00
Lluis Sanchez fb0fca96f3 * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
* XmlMemberMapping.cs: Changed constructor.
	* XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
	* XmlSchemaImporter.cs: Implemented ImportMembersMapping().
	* XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
	* XmlSerializationWriterInterpreter.cs: Changed visibility.

svn path=/trunk/mcs/; revision=17721
2003-08-29 12:27:26 +00:00
Gonzalo Paniagua Javier e3abb2442d 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added ICalls.cs.
	* System.Web.Hosting/ApplicationHost.cs: set hostingInstallDir.
	* System.Web.Hosting/SimpleWorkerRequest.cs: implemented a couple of
	properties.

svn path=/trunk/mcs/; revision=17719
2003-08-29 04:48:42 +00:00
Gonzalo Paniagua Javier 7ab1b6af3b 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* ICalls.cs: holds a couple of icalls.

svn path=/trunk/mcs/; revision=17718
2003-08-29 04:46:20 +00:00
Gonzalo Paniagua Javier 0f7817358d 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* icall.c: added a couple of icalls for System.Web.

svn path=/trunk/mono/; revision=17717
2003-08-29 04:44:06 +00:00
Gonzalo Paniagua Javier 657514abe5 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: ensure we do all the EndRequest steps. Don't
	filter the output on error.

	* HttpResponse.cs: modified DoFilter to allow bypassing filtering.

svn path=/trunk/mcs/; revision=17713
2003-08-29 03:15:52 +00:00
Gonzalo Paniagua Javier 26fe2a737e 2003-08-29 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: fixed GetFilePathTranslated and added a
	paranoid condition to ExtractPathInfo.

svn path=/trunk/mcs/; revision=17712
2003-08-29 00:09:08 +00:00
Ben Maurer 52f615c07a 2003-08-28 Ben Maurer <[email protected]>
* cs0666.xml: added sample xml file for monodoc error provider.

svn path=/trunk/mcs/; revision=17711
2003-08-28 22:17:32 +00:00
Lluis Sanchez 692d094a5b XmlSerializer.cs: Fix in Deserialize() method.
svn path=/trunk/mcs/; revision=17709
2003-08-28 22:01:44 +00:00
Gonzalo Paniagua Javier d9f87f0196 2003-08-28 Gonzalo Paniagua Javier <[email protected]>
* mini.c: register a SIGINT handler if MONO_DEBUG is defined.

svn path=/trunk/mono/; revision=17708
2003-08-28 20:48:23 +00:00
Gonzalo Paniagua Javier ed06cc28fa new MONO_DEBUG env. var.
svn path=/trunk/mono/; revision=17707
2003-08-28 20:46:16 +00:00
Johannes Roith 9cb05b6e4e patch for Gtk+ integration. Needs external program. I'd love to do this automatically, but hat would require a manged xsettings implementation first.
svn path=/trunk/mcs/; revision=17706
2003-08-28 20:27:29 +00:00
Lluis Sanchez 2be706bc88 * Makefile: Added wsdl directory.
svn path=/trunk/mcs/; revision=17705
2003-08-28 17:34:55 +00:00
Lluis Sanchez 5fe9c0662f * Makefile: added
* wsdl.exe.sources: added
	* MonoWSDL.cs: Added wsdl code by Erik LeBel.

svn path=/trunk/mcs/; revision=17704
2003-08-28 17:34:17 +00:00
Zoltan Varga f97ea8ea9e 2003-08-28 Zoltan Varga <[email protected]>
* inssel.brg (OP_UNBOXCAST): Add support for the AOT case.

	* cpu-pentium.md: Fix the length of call opcodes so they include the
	ESP restoring instruction. Fixes #47968.

svn path=/trunk/mono/; revision=17700
2003-08-28 15:19:41 +00:00
Martin Baulig 175f324e3d Now it's working without any ugly hacks :-)
svn path=/trunk/mcs/; revision=17699
2003-08-28 14:48:24 +00:00
Martin Baulig 7dd5175eac 2003-08-28 Martin Baulig <[email protected]>
* icall.c (ves_icall_Type_BindGenericParameters): Use
	`klass->generic_inst' instead of `&klass->byval_arg' in the
	mono_type_get_object() call.  The returned type must be
	MONO_TYPE_GENERICINST and not MONO_TYPE_CLASS.

svn path=/trunk/mono/; revision=17698
2003-08-28 14:45:07 +00:00
Dick Porter 2aad678887 2003-08-28 Dick Porter <[email protected]>
* critical-sections.c:  Patch from Bernie Solomon                               <[email protected]> to emit a warning if locking a critical               section fails.

svn path=/trunk/mono/; revision=17697
2003-08-28 13:14:19 +00:00
Lluis Sanchez 2eac7d8c3e * MonoMethodMessage.cs: Moved CallType into namespace declaration.
svn path=/trunk/mcs/; revision=17695
2003-08-28 12:42:53 +00:00
Lluis Sanchez d4be452c21 * System.Web.Services.dll.sources: Added System.Web.Services.Protocols.SoapDocumentationHandler
svn path=/trunk/mcs/; revision=17694
2003-08-28 12:40:41 +00:00
Lluis Sanchez 2a90eb61b0 * MessageBinding.cs: Added default value attribute for Name property.
* OperationMessage.cs: Added default value attribute for Name property.
	* ServiceDescription.cs: Changed order of some properties, so they are
	  serialized in the right order.
	  Added GetNamespaceList(), which returns the namespaces to add when serializing
	  the document.
	  Implemented classes ServiceDescriptionSerializer and ServiceDescriptionWriter,
	  that extends the XmlSerializer by adding suport for XmlFormatExtensions.
	* ServiceDescriptionReflector.cs: Basic implementation (no support for
	  extensions yet).
	* SoapBinding.cs: Fixed namespace name.
	* SoapBodyBinding.cs: Added null check in PartsString property.
	* SoapOperationBinding.cs: Fixed namespace name.

svn path=/trunk/mcs/; revision=17693
2003-08-28 12:34:56 +00:00
Lluis Sanchez b0ebcda482 * HttpSoapWebServiceHandler.cs:
* Methods.cs: Added SoapBindingStyle, SoapBindingUse, InputMembersMapping
	  and OutputMembersMapping properties in MethodStubInfo.
	  Use default value defined in TypeStubInfo for RequestNamespace,
	  ResponseNamespace and other properties.
	  Added class BindingInfo to store information about class bindings.
	  In TypeStubInfo added SoapBindingStyle, DefaultBinding, Methods and
	  Bindings properties.
	* SoapRpcMethodAttribute.cs: Use WebServiceAttribute.DefaultNamespace constant
	  instead of hardcoded namespace name.
	* WebServiceHandlerFactory.cs: Create new SoapDocumentationHandler for
	  documentation requests.
	* SoapDocumentationHandler.cs: new handler that generates WS documentation.

svn path=/trunk/mcs/; revision=17692
2003-08-28 12:25:14 +00:00
Lluis Sanchez d19e51679d * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
* XmlSchemas.cs: Find method: make sure the returned object belongs to
	  the requested type.
	* XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
	  Add null checks for eventSource.
	* XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
	* XmlSerializationWriter.cs: In Initialize method, initialize the provided
	  namespece declarations. Virtual method WriteObject not needed any more.
	  In WriteStartElement, write the provided namespaces.
	* XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
	  Added GetTypeMap method, that returns the map for a given type. Added some
	  virtual methods, so writer behavior can be extended at several places by
	  derived classes.
	* XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
	  methods CreateReader and CreateWriter are not called unless no type or
	  type mapping was provided in the constructor.

svn path=/trunk/mcs/; revision=17690
2003-08-28 12:13:06 +00:00
Lluis Sanchez a3831a832f * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
svn path=/trunk/mcs/; revision=17689
2003-08-28 11:58:13 +00:00
Lluis Sanchez cdb2f1f08b * XmlFormatExtensionPointAttribute.cs: Fixed constructor. Member name
was not set.

svn path=/trunk/mcs/; revision=17688
2003-08-28 11:55:53 +00:00
Zoltan Varga b9703bdf52 2003-08-28 Zoltan Varga <[email protected]>
* cpu-pentium.md: Fix the length of call opcodes so they include the
	ESP restoring instruction. Fixes #47968.

svn path=/trunk/mono/; revision=17687
2003-08-28 11:25:08 +00:00
Martin Baulig 1aa291a460 Also works with local variables :-)
svn path=/trunk/mcs/; revision=17684
2003-08-28 02:28:03 +00:00
Martin Baulig bd41f4c929 2003-08-28 Martin Baulig <[email protected]>
* sample-stack.il: Compile this with ilasm: "ilasm /dll
	sample-stack.il".

	* sample-hello.cs: Compile this with gmcs: "gmcs
	/r:sample-stack.dll sample-hello.cs".

svn path=/trunk/mcs/; revision=17683
2003-08-28 02:11:46 +00:00
Martin Baulig 6c14f6f7e2 2003-08-28 Martin Baulig <[email protected]>
* mini-x86.c (mono_arch_call_opcode): Added support for
	MONO_TYPE_GENERICINST.

	* mini.c (check_call_signature): Added support for MONO_TYPE_GENERICINST.

svn path=/trunk/mono/; revision=17682
2003-08-28 02:09:40 +00:00
Martin Baulig 20ef8c1b5b 2003-08-28 Martin Baulig <[email protected]>
* generic.cs (ConstructedType.ResolveAsTypeStep): Actually bind
	the parameters to the generic type.

svn path=/trunk/mcs/; revision=17681
2003-08-28 02:02:45 +00:00
Martin Baulig ee23ff7550 2003-08-28 Martin Baulig <[email protected]>
* cs-tokenizer.cs (parse_less_than): Also allow all builtin types.

svn path=/trunk/mcs/; revision=17676
2003-08-27 23:52:00 +00:00
Martin Baulig f3b9533cb0 2003-08-28 Martin Baulig <[email protected]>
* cs-parser.jay (opt_type_argument_list): Use
	`OP_GENERICS_LT type_arguments OP_GENERICS_GT'.
	(primary_expression): Replace `qualified_identifier' with `type_name'.
	(type_parameter_list): Use `OP_GENERICS_LT type_parameters OP_GENERICS_GT'.

	* cs-tokenizer.cs (is_punct): When reading a `<', invoke a custom
	parser to check whether it is syntactically a type parameter list;
	return OP_GENERICS_LT/OP_GENERICS_GT instead of OP_LT/OP_GT in
	this case.

svn path=/trunk/mcs/; revision=17675
2003-08-27 23:11:18 +00:00
Martin Baulig 711870de87 2003-08-28 Martin Baulig <[email protected]>
* gen-3.cs: New generics test.

svn path=/trunk/mcs/; revision=17674
2003-08-27 22:57:19 +00:00
Zoltan Varga 96f001c002 2003-08-27 Zoltan Varga <[email protected]>
* Makefile.am (BUILT_SOURCES): Fix compilation on platforms without
	a JIT. Patch by Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=17670
2003-08-27 19:49:08 +00:00
Zoltan Varga 1eb0cf16be 2003-08-27 Zoltan Varga <[email protected]>
* interp.c (main): Fix the order of initialization calls so it maches
	the order in the JIT.Patch by Bernie Solomon ([email protected]).
	Also remove the unused ms mutex.

svn path=/trunk/mono/; revision=17669
2003-08-27 19:45:08 +00:00
Gonzalo Paniagua Javier 552152634d 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
	taking 'longs'. All tests pass.

svn path=/trunk/mcs/; revision=17667
2003-08-27 16:11:33 +00:00
Zoltan Varga 2f770fc4ba 2003-08-27 Zoltan Varga <[email protected]>
* Makefile.am: Use $(MAKE) instead of make. Patch by Bernie Solomon
	([email protected]).

svn path=/trunk/mono/; revision=17666
2003-08-27 15:22:36 +00:00
Zoltan Varga 8b508eeed8 2003-08-27 Zoltan Varga <[email protected]>
* NOTES: New file.

svn path=/trunk/mono/; revision=17665
2003-08-27 14:34:03 +00:00
Zoltan Varga 3046397311 2003-08-27 Zoltan Varga <[email protected]>
* object.c (mono_class_proxy_vtable): Make it thread safe.

	* pedump.c: Fix warning.

svn path=/trunk/mono/; revision=17664
2003-08-27 14:16:12 +00:00
Zoltan Varga b6d96325e3 2003-08-27 Zoltan Varga <[email protected]>
* mini.c jit-icalls.c tramp-x86.c tramp-ppc.c tramp-sparc.c: Get rid of
	metadata_section.

svn path=/trunk/mono/; revision=17663
2003-08-27 14:06:58 +00:00
Zoltan Varga 173bbbccee 2003-08-27 Zoltan Varga <[email protected]>
* interp.c: Get rid of metadata_section.

svn path=/trunk/mono/; revision=17662
2003-08-27 14:03:04 +00:00
Zoltan Varga 7eb62f833b 2003-08-27 Zoltan Varga <[email protected]>
* object.c appdomain.h: Get rid of metadata_section.
	It is no longer needed and it was causing deadlocks with domain->lock.

	* appdomain.c (add_assemblies_to_domain): Make it thread safe.

svn path=/trunk/mono/; revision=17661
2003-08-27 14:01:50 +00:00
Malte Hildingson a1b3ce257c * mono/utils/strtod.c: added arm define
svn path=/trunk/mono/; revision=17660
2003-08-27 13:55:48 +00:00
Malte Hildingson 4bfe117283 * mono/metadata/marshal.c: compiler compability fix
svn path=/trunk/mono/; revision=17659
2003-08-27 13:47:09 +00:00
Martin Baulig a463d04f9d Ooops ....
svn path=/trunk/mcs/; revision=17657
2003-08-27 08:34:06 +00:00
Gonzalo Paniagua Javier 1f3eefe431 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
* CaseInsensitiveHashCodeProvider.cs: small speed improvement.

svn path=/trunk/mcs/; revision=17656
2003-08-27 08:27:06 +00:00
Gonzalo Paniagua Javier c5d0c4f249 2003-08-27 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: when the request is completed or an
	error happens, execute all the delegates attached to EndRequest, not
	only the last one. This makes xsp/test/authtest work again.

	* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
	status code.

	* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
	status code.

	* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.

svn path=/trunk/mcs/; revision=17655
2003-08-27 08:12:52 +00:00
Martin Baulig 9f870d2159 Merged from MCS Wed Aug 27 09:42:30 CEST 2003.
svn path=/trunk/mcs/; revision=17654
2003-08-27 07:54:32 +00:00
Ben Maurer 8213cba722 2003-08-26 Ben Maurer <[email protected]>
* Exception.cs: Add ClassInterface attr. Implement TargetSite and
	Source. Remove MonoTODO attributes (class is 100% done). Also
	passes all Rotor tests for Exception!

svn path=/trunk/mcs/; revision=17650
2003-08-27 00:28:53 +00:00
Ben Maurer 3286a66fa1 2003-08-26 Ben Maurer <[email protected]>
* Enum.cs: Remove [MonoTODO]'s that had been completed.

svn path=/trunk/mcs/; revision=17649
2003-08-26 23:17:08 +00:00
Martin Baulig f625193d18 2003-08-26 Martin Baulig <[email protected]>
* ecore.cs (SimpleName.SimpleNameResolve): Look for members before
	resolving aliases; fixes #47927.

svn path=/trunk/mcs/; revision=17638
2003-08-26 20:28:22 +00:00
Martin Baulig 6837ddbab4 2003-08-26 Martin Baulig <[email protected]>
* test-215.cs: New test for bug #47927.

svn path=/trunk/mcs/; revision=17636
2003-08-26 20:17:25 +00:00
Gonzalo Paniagua Javier fb235e91a6 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
	need to pass true here. Fixes bug #47918.

svn path=/trunk/mcs/; revision=17635
2003-08-26 19:57:28 +00:00
Martin Baulig 8afd58d894 2003-08-26 Martin Baulig <[email protected]>
* statement.cs (Using.DoResolve): This is internally emitting a
	try/finally clause, so we need to set ec.NeedExplicitReturn if we
	do not always return.  Fixes #47681.

svn path=/trunk/mcs/; revision=17634
2003-08-26 19:48:51 +00:00
Martin Baulig bdb398fa07 2003-08-26 Martin Baulig <[email protected]>
* verify-7.cs: New test buf bug #47681.

svn path=/trunk/mcs/; revision=17633
2003-08-26 19:45:51 +00:00
Martin Baulig e7ffa1a2c5 2003-08-26 Martin Baulig <[email protected]>
* pedump.c (main): Don't call mono_image_close() if `verify_pe'.

svn path=/trunk/mono/; revision=17632
2003-08-26 19:43:36 +00:00
Martin Baulig 068a8b6e6c 2003-08-26 Martin Baulig <[email protected]>
* mini.c (get_basic_blocks): Added `unsigned char **pos' argument;
	when reporting an error, set this to the actual error location.
	(mono_method_to_ir): Report the correct error location if
	get_basic_blocks() returned an error.

svn path=/trunk/mono/; revision=17630
2003-08-26 19:29:59 +00:00
Martin Baulig f9946f2877 2003-08-26 Martin Baulig <[email protected]>
* pedump.c (main): Call mono_metadata_init(),
	mono_raw_buffer_init(), mono_images_init(), mono_assemblies_init()
	and mono_loader_init().

svn path=/trunk/mono/; revision=17629
2003-08-26 19:24:45 +00:00
Martin Baulig a95dbdef41 2003-08-26 Martin Baulig <[email protected]>
* test-214.cs: New test for bug #47853.

svn path=/trunk/mcs/; revision=17628
2003-08-26 18:59:49 +00:00
Martin Baulig 204cd1a2ee 2003-08-26 Martin Baulig <[email protected]>
* decl.cs (MemberCore): Moved WarningNotHiding(),
	Error_CannotChangeAccessModifiers() and CheckMethodAgainstBase()
	into MemberBase.
	(AdditionResult): Make this nested in DeclSpace.
	(DeclSpace.ctor): The .ctor now takes an additional NamespaceEntry
	argument; call NamespaceEntry.Define() unless we're nested in a
	class or struct.

	* namespace.cs (Namespace.DefineName): New public function.  This
	is called from DeclSpace's .ctor to add
	(Namespace.Lookup): Include DeclSpaces in the lookup.

	* class.cs (Operator): Derive from MemberBase, not MemberCore.

	* const.cs (Const): Derive from MemberBase, not MemberCore.

svn path=/trunk/mcs/; revision=17627
2003-08-26 18:50:23 +00:00
Alexandre Pigolkine 81a4cbd07e painting code and click logic updated
svn path=/trunk/mcs/; revision=17626
2003-08-26 15:44:54 +00:00
Miguel de Icaza 7d2d1a7d27 Flush
svn path=/trunk/mono/; revision=17625
2003-08-26 14:30:11 +00:00
Zoltan Varga 61c39af745 2003-08-26 Zoltan Varga <[email protected]>
* mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
	to remap hashtable values during a copying collection. Not used at the
	moment.
	* mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
	in the common case.
	* mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
	the key function even if the client supplied g_direct_equal instead of
	NULL.

svn path=/trunk/mono/; revision=17624
2003-08-26 13:38:34 +00:00
Gonzalo Paniagua Javier 9d7bca1564 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
	exception. Thanks to Mark Easton <[email protected]>.

svn path=/trunk/mcs/; revision=17622
2003-08-26 12:47:32 +00:00
Gonzalo Paniagua Javier 95aeaaf22d 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
	true when the new data is different from the one we had. Fixed
	conditions to save Checked state. Thanks to [email protected]
	(Yaron Shkop).

	* System.Web.UI/Page.cs: check if controls that require postback have
	been changed by an event and register them to be notified of data
	changed event.

	Fixes bug #47869.

svn path=/trunk/mcs/; revision=17621
2003-08-26 12:25:22 +00:00
Zoltan Varga 39ca97cbdc 2003-08-26 Zoltan Varga <[email protected]>
* loader.h: Add missing include to fix build.

svn path=/trunk/mono/; revision=17619
2003-08-26 10:04:03 +00:00
Zoltan Varga ff70dded05 2003-08-26 Zoltan Varga <[email protected]>
* image.h: mono_image_load_references is no more.

svn path=/trunk/mono/; revision=17618
2003-08-26 10:02:06 +00:00
Zoltan Varga 767cf93507 2003-08-26 Zoltan Varga <[email protected]>
* assembly.c: Reworked assembly loading to make it really thread safe.
	After these changes, the assembly returned by mono_assembly_open is
	fully initialized, i.e. all its references assemblies are loaded.

	* assembly.c (mono_image_load_references): Renamed to
	mono_assembly_load_references, and made private, since clients no
	longer need to call it.

	* class.c: Removed calls to mono_assembly_load_references, since it was
	a source of deadlocks.

	* loader.h loader.c class.h class.c: Protect data structures using a
	new lock, the loader lock.

	* class.c (mono_class_setup_vtable): Create temporary hash tables and
	GPtrArrays only when needed.

	* class.c (mono_class_layout_fields): Ignore the dummy field inserted
	into empty structures by mcs. Fixes pinvoke7.cs.

	* domain.c (mono_init): Call a new initialization function.

svn path=/trunk/mono/; revision=17617
2003-08-26 10:00:38 +00:00
Zoltan Varga 60f618c734 2003-08-26 Zoltan Varga <[email protected]>
* appdomain.c (mono_runtime_init): Call the new initializer function
	of the marshal module.

	* marshal.c (mono_marshal_load_type_info): Ignore the dummy field
	inserted into empty structures by mono. Fixes pinvoke7.cs.

	* marshal.h marshal.c: Added locks around the wrapper caches to make
	this module thread safe.

svn path=/trunk/mono/; revision=17616
2003-08-26 09:45:08 +00:00
Zoltan Varga 5d6b56f806 2003-08-26 Zoltan Varga <[email protected]>
* icall.c (ves_icall_InternalInvoke): Method wrappers doesn't require a
	this argument. Fixes pinvoke1.exe.

svn path=/trunk/mono/; revision=17615
2003-08-26 09:40:40 +00:00
Gonzalo Paniagua Javier 8f40e6c6a5 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.

svn path=/trunk/mcs/; revision=17608
2003-08-26 02:37:08 +00:00
Gonzalo Paniagua Javier cd3e8ca585 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #47866.

svn path=/trunk/mcs/; revision=17607
2003-08-26 02:07:48 +00:00
Ben Maurer ebd9cea070 2003-08-25 Ben Maurer <[email protected]>
* DTMXPathNavigator.cs: Allocate valueBuilder on first use.

svn path=/trunk/mcs/; revision=17600
2003-08-25 20:58:46 +00:00
Ben Maurer 2172fba668 2003-08-25 Ben Maurer <[email protected]>
* XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
	improvement in the method (5ms/call -> .7 ms / call) measured by
	monodoc's rendering of N:System.
	* Expression.cs: Utility methods to support above.

svn path=/trunk/mcs/; revision=17596
2003-08-25 18:28:19 +00:00
Gonzalo Paniagua Javier f67fde4ac6 2003-08-25 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs: removed dangling ^M and unneeded fields. Keep track
	of Enable in ViewState. Fixes bug #47865.

svn path=/trunk/mcs/; revision=17591
2003-08-25 16:42:15 +00:00
Miguel de Icaza 276df64049 Update profiles to use -d: and make generics build use NET_1_1
svn path=/trunk/mcs/; revision=17590
2003-08-25 15:48:24 +00:00
Martin Baulig b26a4afa53 2003-08-25 Martin Baulig <[email protected]>
* convert.cs (Convert.ExplicitReferenceConversion): When
	converting from an interface type to a class, unbox if the target
	type is a struct type.  Fixes #47822.

svn path=/trunk/mcs/; revision=17588
2003-08-25 15:09:30 +00:00
Martin Baulig 83390e2a3a 2003-08-25 Martin Baulig <[email protected]>
* test-213.cs: New test for bug #47822.

svn path=/trunk/mcs/; revision=17585
2003-08-25 15:02:13 +00:00
Rafael Teixeira 5399282d6d Copyright attribution was missing for a pair of files
svn path=/trunk/mcs/; revision=17583
2003-08-25 14:15:30 +00:00
Paolo Molaro bb5eea3d6d Small portability fix.
svn path=/trunk/mono/; revision=17582
2003-08-25 13:38:33 +00:00
Ben Maurer 6421ff5982 .cvsignore update
svn path=/trunk/mono/; revision=17581
2003-08-25 13:38:19 +00:00
Lluis Sanchez 6935b6f7a1 * object.h: Added call_type field to MonoMethodMessage and the corresponding
enumeration of values. Removed fields to store remote call output values in
	MonoAsyncResult. Not needed any more.
	* object.c: Initialize call_type and async_result fields in mono_message_init.
	* marshal.c: mono_delegate_begin_invoke(): for proxies, set call_type before
	dispatching the message.
	mono_delegate_end_invoke (): delegate to the proxy the work of waiting for the
	async call to finish. To do it use a message with EndInvoke call type.

svn path=/trunk/mono/; revision=17580
2003-08-25 12:09:25 +00:00
Lluis Sanchez abea4b4055 * RemotingProxy.cs: Use CallType property to check the type of
the message.

svn path=/trunk/mcs/; revision=17579
2003-08-25 11:32:52 +00:00
Lluis Sanchez ae06bf8b2e * AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
* CallContext.cs: Clean current logical context before setting the new
	  values form LogicalCallContext (SetCurrentCallContext).
	* MonoMethodMessage.cs: Added new CallType field and enum.
	* StackBuilderSink.cs: Improved error message.

svn path=/trunk/mcs/; revision=17578
2003-08-25 11:31:16 +00:00
Lluis Sanchez a746d73296 * ClientChannelSinkStack.cs: Implemented DispatchException.
svn path=/trunk/mcs/; revision=17577
2003-08-25 11:23:33 +00:00
Lluis Sanchez 49c1878d48 * RemotingServices.cs: Some small fixes.
svn path=/trunk/mcs/; revision=17576
2003-08-25 11:21:55 +00:00
Lluis Sanchez 017e788ad7 * SoapTypeMapper.cs: Added mappings for more primitive types.
* SoapWriter.cs: Use XmlSchema.Namespace and XmlSchema.InstanceNamespace
	  instead of string constants.

svn path=/trunk/mcs/; revision=17575
2003-08-25 11:13:56 +00:00
Zoltan Varga 00a8dd7984 2003-08-25 Zoltan Varga <[email protected]>
* mono.pc.in: Added gthread-2.0.

svn path=/trunk/mono/; revision=17574
2003-08-25 10:28:50 +00:00
Zoltan Varga 496efd51a9 2003-08-25 Zoltan Varga <[email protected]>
* mini.c (mono_type_blittable): OBJECT is not blittable.
	(mono_method_blittable): Methods which have marshalling descriptors
	are not blittable either. Fixes #47842.

svn path=/trunk/mono/; revision=17573
2003-08-25 10:07:32 +00:00
Jackson Harper dabbee5779 * test-31.il: Added tests for static properties. Also made the code
for methods verifiable IL.

svn path=/trunk/mcs/; revision=17568
2003-08-25 00:49:08 +00:00
Vladimir Vukicevic 8a58dece91 * RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
setup/restoration into RealProxy's PrivateInvoke, so that custom
RealProxy's get a LogicalCallContext.

svn path=/trunk/mcs/; revision=17565
2003-08-24 23:37:12 +00:00
ct 3056359936 completed the set of floating point ops
svn path=/trunk/mono/; revision=17564
2003-08-24 22:49:45 +00:00
Alexandre Pigolkine d86f05e781 modified to be compatible with specification
svn path=/trunk/mcs/; revision=17563
2003-08-24 19:28:17 +00:00
Gonzalo Paniagua Javier 68466f3eb1 2003-08-24 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixed the values of MethodFlags. Closes #47855 and
	#47854.

svn path=/trunk/mcs/; revision=17562
2003-08-24 19:23:25 +00:00
Atsushi Eno 4b0fc2dec7 2003-08-24 Atsushi Enomoto <[email protected]>
* XmlValidatingReader.cs : Implemented SchemaType. Added support for
	  ValidationType.Schema. Added support for XmlResolver. Fixed
	  ReadTypedValue() not to consume EndElement.

svn path=/trunk/mcs/; revision=17561
2003-08-24 19:10:41 +00:00
Atsushi Eno 78aa4de58c 2003-08-24 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added XsdParticleValidationState.cs
	  and XsdValidatingReader.cs.
	* System.Xml_test.dll.sources : added XsdParticleValidationTests.cs
	  and XsdValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=17560
2003-08-24 19:10:01 +00:00
Atsushi Eno 96971683b0 2003-08-24 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs,
	  XsdParticleValidationState.cs : Initial checkin.

svn path=/trunk/mcs/; revision=17559
2003-08-24 19:06:49 +00:00
Atsushi Eno 08158153ce 2003-08-24 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : Added DefaultAttributeRemoval() and
	  EmptyStringHasTextNode().
	* XmlElementTests.cs : Added RemoveDoesNotRemoveDefaultAttributes().
	* XmlReaderCommonTests.cs : Added overroaded AssertNodeValues() and
	  ReadAttributeValue().
	* XmlTextReaderTests.cs :
	  Added NotAllowedCharRef() and ExpandParameterEntity().
	  Also added but ignored tests: UndeclaredEntityInIntSubsetOnlyXml()
	  and UndeclaredEntityInStandaloneXml().
	* XmlValidatingReaderTests.cs : TestAttributeDefaultContribution()
	  refactory.
	* Added XsdParticleValidationTests.cs and XsdValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=17558
2003-08-24 19:04:01 +00:00
Atsushi Eno 1ecb0afa6b 2003-08-24 Atsushi Enomoto <[email protected]>
* 1.xsd, 2.xsd, 3.xsd, 4.xsd : Initial checkin.

svn path=/trunk/mcs/; revision=17557
2003-08-24 19:02:20 +00:00
Gonzalo Paniagua Javier 62ab7bf0e8 added rss -> text/xml mimetype
svn path=/trunk/mcs/; revision=17556
2003-08-24 17:21:49 +00:00
Gonzalo Paniagua Javier cd23915e60 fixed the build on win
svn path=/trunk/mcs/; revision=17555
2003-08-24 17:19:32 +00:00
Duncan Mak 4d20f7fa6b * System.Drawing.dll.sources: Add Cairo implementation.
* cairo-api.cs: New file, replace Cairo.cs and cairo.cs. That
naming thing is just too confusing.

svn path=/trunk/mcs/; revision=17554
2003-08-24 17:15:59 +00:00
Duncan Mak 730c4cf70c Make all references to the enums (Cairo.Foo) be just
Foo. This should (hopefully) fix the build on Windows.

svn path=/trunk/mcs/; revision=17553
2003-08-24 17:07:23 +00:00
Duncan Mak 2eab01e1c6 Fix the link to the ADO.Net and ASP.Net page; thanks to John Thomas
<[email protected]> for noticing the bug.

svn path=/trunk/mono/; revision=17552
2003-08-24 16:49:51 +00:00
Sebastien Pouliot 79dd1d188c 2003-08-24 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
	(e.g. RC4) which don't uses IV. This needs more tests for small IV...

svn path=/trunk/mcs/; revision=17551
2003-08-24 16:48:45 +00:00
Gonzalo Paniagua Javier ebf9fc74a4 2003-08-24 Gonzalo Paniagua Javier <[email protected]>
* TcpListenerTest.cs: added more tests.

svn path=/trunk/mcs/; revision=17549
2003-08-24 16:13:43 +00:00
Gonzalo Paniagua Javier cca8eba0de 2003-08-24 Gonzalo Paniagua Javier <[email protected]>
* TcpListener.cs: various fixes to make the new tests pass. Closes
	bug #47848.

svn path=/trunk/mcs/; revision=17548
2003-08-24 16:04:24 +00:00
Duncan Mak beccc0690c 2003-08-24 Duncan Mak <[email protected]>
* ListControl.cs: Indentation, coding style fixes.

2003-08-24  Duncan Mak  <[email protected]>

	Patches from Brian Takita <[email protected]>

	* GroupBox.cs (OnPaintBackground): Commented out.
	* ListControl.cs (DataSource): Fixed visibility of property and
	field.
	* MonthCalander.cs: Should match Specs better.

svn path=/trunk/mcs/; revision=17547
2003-08-24 08:09:59 +00:00
Duncan Mak 29eb433c52 2003-08-24 Duncan Mak <[email protected]>
* System.Drawing.dll.sources: Add Cairo implementation.

2003-08-24  Duncan Mak  <[email protected]>

	Initial checkin of System.Drawing.XrImpl ported to use Cairo.

	* Graphics.cs (DrawCurve):
	(DrawImageUnscaled):
	(IsVisible):Implement the overloads in terms of the other overloads.

	(FillClosedCurve): Implement the simple APIs, the default tension
	is 0.5, the default FillMode is FillMode.Alternate.

	* cairo.cs: A copy of the CairoAPI class from the Mono.Cairo
	assembly, with some method parameter/return type changed to better
	fit the usage within System.Drawing.

	* gdk-helpers.cs: Emulate some of Gdk.Pixbuf's API here,
	basically the same as XrImpl's GDKfunctions.cs, but the names of
	the functions are nicer, with the help of the DllImportAttribute's
	EntryPoint field.

svn path=/trunk/mcs/; revision=17546
2003-08-24 07:59:54 +00:00
Duncan Mak d0537e6afb (FillEllipse): Implemented.
svn path=/trunk/mcs/; revision=17545
2003-08-24 07:28:28 +00:00
Ben Maurer c9db646432 Moving build to use the 1.1 target, per Miguel's request.
svn path=/trunk/mcs/; revision=17544
2003-08-24 04:37:00 +00:00
Alexandre Pigolkine 7777169131 Debug output removed
svn path=/trunk/mcs/; revision=17540
2003-08-23 23:57:21 +00:00
Alexandre Pigolkine df44a50529 DrawRadioButton and DrawCheckBox improved
svn path=/trunk/mcs/; revision=17539
2003-08-23 23:43:57 +00:00
Alexandre Pigolkine 9876bc3f01 Clear, DrawImage functions
svn path=/trunk/mcs/; revision=17538
2003-08-23 23:40:43 +00:00
Alexandre Pigolkine 7b6b61bcc5 delegate Clear to implementation
svn path=/trunk/mcs/; revision=17537
2003-08-23 23:39:09 +00:00
Alexandre Pigolkine 23675d7fd8 set ImageFormat and PixelFormat in contstuctors, GetDeviceCaps function and parameters
svn path=/trunk/mcs/; revision=17534
2003-08-23 09:39:37 +00:00
Gonzalo Paniagua Javier e211cea081 2003-08-23 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: fix the build on windows.

svn path=/trunk/mono/; revision=17533
2003-08-23 08:26:48 +00:00
Ben Maurer ff3f52b845 forgot to update this
svn path=/trunk/mcs/; revision=17532
2003-08-23 02:12:01 +00:00
Alexandre Pigolkine 1748a9d639 new keyword added, SetBoundsCore for ComboBox, Enabled property in Control.cs
svn path=/trunk/mcs/; revision=17531
2003-08-22 23:39:13 +00:00
Duncan Mak 2321b0689a 64-bit related fixes from Laurent Morichetti
<[email protected]>. Patch approval from Miguel.

svn path=/trunk/mono/; revision=17530
2003-08-22 21:59:10 +00:00
Ben Maurer 94eeaaaa01 Remove HighWaterStack for the time being.
svn path=/trunk/mcs/; revision=17529
2003-08-22 19:45:03 +00:00
Gonzalo Paniagua Javier 45e1afbb43 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: quick way of checking that the path is within the
	root for the application. Thanks to Johannes for reporting.

	* HttpRuntime.cs: use the status code from teh exception when it'ss a
	HttpException.

	* StaticFileHandler.cs: forbidden is 403.

svn path=/trunk/mcs/; revision=17525
2003-08-22 17:00:27 +00:00
Martin Baulig 7ea209efa1 2003-08-22 Martin Baulig <[email protected]>
* class.cs (TypeManager.DefineType): When defining a nested type,
	call DefineType() on our parent; fixes #47801.

svn path=/trunk/mcs/; revision=17524
2003-08-22 16:51:00 +00:00
Martin Baulig 3f75dedcfa 2003-08-22 Martin Baulig <[email protected]>
* class.cs (MethodData.Define): While checking if a method is an
	interface implementation, improve the test a bit more to fix #47654.

svn path=/trunk/mcs/; revision=17523
2003-08-22 16:29:21 +00:00
Alexandre Pigolkine f20540561b compile time warning removed
svn path=/trunk/mcs/; revision=17522
2003-08-22 16:28:20 +00:00
Zoltan Varga 23f971772a 2003-08-22 Zoltan Varga <[email protected]>
* main.c (dis_event_list): Same for event methods.

svn path=/trunk/mono/; revision=17521
2003-08-22 16:27:53 +00:00
Alexandre Pigolkine 3cc98a1b42 modified to be compatible with specification
svn path=/trunk/mcs/; revision=17520
2003-08-22 16:26:07 +00:00
Zoltan Varga 5685e0ca31 2003-08-22 Zoltan Varga <[email protected]>
* get.c (dis_stringify_method_signature): New argument specifying
	whenever to return a fully qualified method name.
	* dump.c main.c: Updated to work with the new function.

	* main.c (dis_property_methods): Print fully qualified method names
	for property methods. Fixes #46221.

svn path=/trunk/mono/; revision=17519
2003-08-22 16:24:06 +00:00
Zoltan Varga d44f96709e 2003-08-22 Zoltan Varga <[email protected]>
* driver.c mini.c: Use an environment variable instead of a global
	variable. Also fix the build.

svn path=/trunk/mono/; revision=17518
2003-08-22 15:21:29 +00:00
Martin Baulig 95e4a22f22 2003-08-22 Martin Baulig <[email protected]>
* expression.cs (Probe.DoResolve): Check whether `expr' resolved
	correctly; fixes #47722.

svn path=/trunk/mcs/; revision=17517
2003-08-22 14:57:12 +00:00
Lluis Sanchez ba8126e278 object.cs: Fixed bug #47785.
svn path=/trunk/mono/; revision=17516
2003-08-22 14:14:29 +00:00
Lluis Sanchez 92fe3d5d5d * HttpClientChannel.cs: Changed text for user-agent header (removed references
to MS.NET).
	  Removed try/catch from AsyncProcessRequest. If there is an exception it must
	  flow to the caller.
	  in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
	  throws an exception if the result code is 400, 500. Is is not a communication
	  error, but an application or server error. The content of the body must be
	  deserialized like in normal responses.
	  In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
	  efficient way of writing the content.
	  In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
	  new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
	* HttpHelper.cs: Removed some debugging code that is not needed.
	* HttpServer.cs: Improved formatting of some code.
	  In CheckRequest method, send a 100-continue response if the request has
	  the header: expect:100-continue.
	  Method SendResponse: the remoting formatter may include the result code and
	  reason phrase to use in the transport headers. Used them if provided.
	* HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
	  a request.

svn path=/trunk/mcs/; revision=17515
2003-08-22 14:09:48 +00:00
Zoltan Varga 4611e751bd 2003-08-22 Zoltan Varga <[email protected]>
* mini.c (mini_init): Call g_thread_init () to make glib thread-safe.
	Fixes #47682. Thanks to Laurent Morichetti ([email protected]) for
	reporting this.

svn path=/trunk/mono/; revision=17514
2003-08-22 13:57:44 +00:00
Zoltan Varga 1be7485944 2003-08-22 Zoltan Varga <[email protected]>
* interp.c (main): Call g_thread_init () to make glib thread-safe.
	Fixes #47682. Thanks to Laurent Morichetti ([email protected]) for
	reporting this.

svn path=/trunk/mono/; revision=17513
2003-08-22 13:56:26 +00:00
Zoltan Varga c92a7d8064 2003-08-22 Zoltan Varga <[email protected]>
* configure.in: Added gthread-2.0 to GLIB_CFLAGS and GLIB_LIBS, so we
	can call g_thread_init ().

svn path=/trunk/mono/; revision=17512
2003-08-22 13:54:36 +00:00
Lluis Sanchez ba85fdcf10 * SoapClientFormatterSink.cs: Fixed a some bugs to make async calls work.
* SoapMessageFormatter.cs: Fixed some problems with out and ref parameters.
	* SoapServerFormatterSink.cs: Improved catching of exceptions.

svn path=/trunk/mcs/; revision=17511
2003-08-22 12:51:34 +00:00
Zoltan Varga 2dc69b0e2a 2003-08-22 Zoltan Varga <[email protected]>
* driver.c mini.c: Added --with-valgrind option to turn off some
	code which prevents mono from running under valgrind.

	* mini.c (mono_emit_call_args): Fixed warning.

	* mini.c (mono_emulate_opcode): Fixed warning.

svn path=/trunk/mono/; revision=17509
2003-08-22 12:42:17 +00:00
Lluis Sanchez 263a3a9f09 * System.Runtime.Remoting_test.dll.sources: Added DelegateCalls.cs test file.
svn path=/trunk/mcs/; revision=17508
2003-08-22 12:39:22 +00:00
Lluis Sanchez de78cd1ed7 * BaseCalls.cs: Create 3 test remote objects, one for each kind of access,
to avoid reuse of client proxies.
	* CallSeq.cs: Now, "domain ID" is set manually.
	* ContextsTest.cs: Added initialization of common domain id. Other small fixes.
	* ReflectionCalls.cs: Get the method for the invoke for the correct type.
	  GetType() for a proxy to interface always return MarshalByRefObject.
	* TcpCalls.cs, HttpCalls.cs: Added delegate tests.
	* DelegateCalls.cs: New test suite for calls using delegates.

svn path=/trunk/mcs/; revision=17507
2003-08-22 12:39:02 +00:00
Alexandre Pigolkine 3e3cdbe7d3 modifications for ComboBox sample
svn path=/trunk/mcs/; revision=17502
2003-08-22 09:39:13 +00:00
Jackson Harper dba42c0edb * string-icalls.c (StringReplace): If their are no occurances of
the old string found return a reference to the supplied
	string. This saves some memory and matches MS behavoir.

svn path=/trunk/mono/; revision=17500
2003-08-22 06:31:39 +00:00
Duncan Mak feb35122c6 Brian Takita posted a revision to the winforms list.
svn path=/trunk/mcs/; revision=17499
2003-08-22 04:44:40 +00:00
Duncan Mak 1819079b83 Late night patch applying actions ...
The following two fixes bug #40315.

* Tds.cs (ProcessEndToken): RecordsAffected was not filled
correctly. I've found out that the record count was submitted for
TdsPacketSubType.Done. So I changed the behaviour to include this
(without deeper knowledge of the TDS protocol). Patch from J�rg
Rosenkranz <[email protected]>.

* SqlCommand.cs (ExecuteNonQuery): Return
Connection.Tds.RecordsAffected if it is successful.  Patch from
J�rg Rosenkranz <[email protected]>.


* ListControl.cs (DataSource): Implementation by Brian Takita
<[email protected]>.

svn path=/trunk/mcs/; revision=17498
2003-08-22 04:37:11 +00:00
Martin Baulig 5e14fba178 2003-08-22 Martin Baulig <[email protected]>
* expression.cs (UnaryMutator.ResolveVariable): If the target is a
	LocalVariableReference, ensure it's not read-only.  Fixes #47536.

	* statement.cs (Fixed.DoResolve): Make all variables read-only.

svn path=/trunk/mcs/; revision=17494
2003-08-22 03:04:19 +00:00
Martin Baulig 29a1a2d7a7 2003-08-22 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): Static read-only fields
	can only be assigned in static constructors.  Fixes #47161.

svn path=/trunk/mcs/; revision=17493
2003-08-22 02:40:35 +00:00
Gonzalo Paniagua Javier f2b00eb9ea 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: fixed compilation for systems that define AF_INET6
	and don't define SOL_IP/SOL_IPV6.

svn path=/trunk/mono/; revision=17492
2003-08-22 02:34:38 +00:00
Martin Baulig a435cabab6 2003-08-22 Martin Baulig <[email protected]>
Rewrote and improved the flow analysis code.

	* flowbranching.cs (FlowBranching): Make this class abstract.
	(FlowBranching.CreateBranching): New static function to create a
	new flow branching.
	(FlowBranchingBlock, FlowBranchingException): New classes.
	(FlowBranching.UsageVector.Type): New public readonly field.
	(FlowBranching.UsageVector.Breaks): Removed the setter.
	(FlowBranching.UsageVector.Returns): Removed the setter.
	(FlowBranching.UsageVector): Added Break(), Return(),
	NeverReachable() and Throw() methods to modify the reachability.
	(FlowBranching.UsageVector.MergeChildren): Removed, this is now
	done by FlowBranching.Merge().
	(FlowBranching.UsageVector.MergeChild): New method; merges the
	merge result into the current vector.
	(FlowBranching.Merge): New abstract method to merge a branching.

svn path=/trunk/mcs/; revision=17491
2003-08-22 02:17:22 +00:00
Martin Baulig cea72ba75b 2003-08-22 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for bug #46949.

svn path=/trunk/mcs/; revision=17490
2003-08-22 02:14:30 +00:00
Martin Baulig f2b5bb64fb 2003-08-22 Martin Baulig <[email protected]>
* test-154.cs: Added testcase for bug #47095.

svn path=/trunk/mcs/; revision=17489
2003-08-22 02:12:21 +00:00
Martin Baulig 1e28c446f5 Comment out unreachable code.
svn path=/trunk/mcs/; revision=17488
2003-08-22 02:09:32 +00:00
Gonzalo Paniagua Javier 76cb51404d 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
* StringTest.cs: added a couple of tests for Split. See bug #47802.

svn path=/trunk/mcs/; revision=17487
2003-08-22 00:34:14 +00:00
Gonzalo Paniagua Javier bad0bd529a 2003-08-22 Gonzalo Paniagua Javier <[email protected]>
* String.cs: fixed bug #47802.

svn path=/trunk/mcs/; revision=17486
2003-08-22 00:32:29 +00:00
Ben Maurer 85102c9991 2003-08-21 Ben Maurer <[email protected]>
* XslTransformProcessor.cs: evaluate variables at beginning
	when / is current node.

svn path=/trunk/mcs/; revision=17479
2003-08-21 18:52:53 +00:00
Gonzalo Paniagua Javier fc0c0b2c90 Console.WriteLine strikes back
svn path=/trunk/mcs/; revision=17478
2003-08-21 18:44:45 +00:00
Zoltan Varga 970cf75da9 2003-08-21 Zoltan Varga <[email protected]>
* mono/tests/threadpool.cs mono/tests/threadpool1.cs: Make increments
	of static variables atomic. Fixes bug #47683.

svn path=/trunk/mono/; revision=17477
2003-08-21 18:23:43 +00:00
Atsushi Eno accfeee29c 2003-08-21 Atsushi Enomoto <[email protected]>
* XslVariable.cs : use newly introduced XmlNodeWriter.ctor(false) to
	  support for tree fragment, not only for single element.

svn path=/trunk/mcs/; revision=17476
2003-08-21 18:05:46 +00:00
Atsushi Eno 26594de0c8 2003-08-21 Atsushi Enomoto <[email protected]>
* XmlNodeWriter.cs : Extended to support for non-document entity.

svn path=/trunk/mcs/; revision=17475
2003-08-21 18:05:03 +00:00
Paolo Molaro 3a215565f0 Thu Aug 21 19:10:08 CEST 2003 Paolo Molaro <[email protected]>
* inssel.brg: 64bit fixes from Laurent Morichetti <[email protected]>.
	* linear-scan.c, mini-ppc.h, mini-sparc.h, mini-x86.h, mini.h,
	regalloc.c, regalloc.h: specify available registers in arch-specific
	code and support floats in the regallocator (patch by Laurent Morichetti
	<[email protected]>)

svn path=/trunk/mono/; revision=17474
2003-08-21 17:26:35 +00:00
Ben Maurer 496bd38fe9 Get attributes working correctly for text output (Oleg).
svn path=/trunk/mcs/; revision=17473
2003-08-21 17:07:36 +00:00
Ben Maurer e088335a58 2003-08-21 Ben Maurer <[email protected]>
* Compiler.cs, XsltCompiledContext.cs, XslTransformProcessorcs:
	Fix up namespace handeling

svn path=/trunk/mcs/; revision=17472
2003-08-21 16:59:10 +00:00
Gonzalo Paniagua Javier ef086dd0f3 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
* Stack.cs: patch by [email protected] (Joerg Rosenkranz) that fixes
	bug #47789.

svn path=/trunk/mcs/; revision=17471
2003-08-21 16:07:04 +00:00
Zoltan Varga f8b82f8493 2003-08-21 Zoltan Varga <[email protected]>
* x86/tramp.c: Fixes from Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=17470
2003-08-21 15:23:31 +00:00
Gonzalo Paniagua Javier 7b266ecb09 Fixed dist target and updated version
svn path=/trunk/mcs/; revision=17469
2003-08-21 15:14:29 +00:00
Paolo Molaro b62a0f7001 Fixed (incorrect) magic number.
svn path=/trunk/mono/; revision=17468
2003-08-21 14:57:28 +00:00
Zoltan Varga 78e609a8a6 2003-08-21 Zoltan Varga <[email protected]>
* object.c (mono_object_isinst): Fix casts to TransparentProxy in
	the interpreter. Patch by Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=17467
2003-08-21 14:55:05 +00:00
Ben Maurer 30a0ff2ba0 2003-08-21 Ben Maurer <[email protected]>
* String.cs: Created method FormatHelper that does formatting,
	using a StringBuilder.
	* StringBuilder.cs
	(AppendFormat) Use FormatHelper in System.String to avoid
	allocating an extra StringBuilder.
	(Append string, int, int), (Append char, int): Both were
	allocating extra strings.

svn path=/trunk/mcs/; revision=17466
2003-08-21 14:24:14 +00:00
Zoltan Varga c5a5a649d5 2003-08-21 Zoltan Varga <[email protected]>
* rawbuffer.c rawbuffer.h: Make this module thread safe.

	* domain.c: Make this module thread safe.

	* domain.c (mono_init): Call new initialization function.

svn path=/trunk/mono/; revision=17465
2003-08-21 14:05:05 +00:00
Johannes Roith 9c76690c43 little change for less mistakes on windows builds.
svn path=/trunk/mono/; revision=17464
2003-08-21 13:40:20 +00:00
Gonzalo Paniagua Javier d9518f6038 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
* LosFormatter.cs: handle Unit and FonrUnit as special cases as they
	are not serializable. Fixes bug #47784.

svn path=/trunk/mcs/; revision=17463
2003-08-21 11:32:09 +00:00
Zoltan Varga 5b60ae131b 2003-08-21 Zoltan Varga <[email protected]>
* ArrayTest.cs: Added regression test for #38812.

svn path=/trunk/mcs/; revision=17460
2003-08-21 09:19:59 +00:00
Zoltan Varga 9dc717fdb9 2003-08-21 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Array_SetValueImpl): Check types for
	reference types too. Fixes #38812.

svn path=/trunk/mono/; revision=17459
2003-08-21 09:17:46 +00:00
Zoltan Varga 19deb94f28 2003-08-21 Zoltan Varga <[email protected]>
* image.c (mono_image_init): Fixed warnings.

	* class.c (mono_class_from_typeref): Handle assembly load failure
	correctly.

	* appdomain.c (add_assemblies_to_domain): Handle the case when
	the references of an assembly are not yet loaded.

	* metadata.c image.c assembly.c: Moved initialization of global
	variables to a separate function called at startup since lazy
	initialization of these variables is not thread safe.

	* image.c assembly.c: Made this module thread safe by adding locks in
	the appropriate places.

	* domain.c (mono_init): Call the new initialization functions of the
	three modules.

svn path=/trunk/mono/; revision=17458
2003-08-21 09:04:15 +00:00
Duncan Mak 613e7672ae Added DictionaryBaseTest.cs
svn path=/trunk/mcs/; revision=17455
2003-08-21 01:44:03 +00:00
Gonzalo Paniagua Javier ac82fd28bf 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
* XslTransform.cs: commented out Cleanup () because of bug #47776.

svn path=/trunk/mcs/; revision=17454
2003-08-21 00:57:18 +00:00
Gonzalo Paniagua Javier 483f7eac2b 2003-08-21 Gonzalo Paniagua Javier <[email protected]>
* Multiplexer.cs: fixed infinite recursion bug.

svn path=/trunk/mcs/; revision=17453
2003-08-21 00:43:34 +00:00
Ben Maurer cd97a31f20 Small typo
svn path=/trunk/mcs/; revision=17452
2003-08-21 00:19:05 +00:00
Ben Maurer 48109b5c4d 2003-08-20 Ben Maurer <[email protected]>
* Compiler.cs, XslStylesheet.cs, XsltCompiledContext.cs: Stubs for
	format-number.
	* XslDecimalFormat.cs: Stub for decimal-format.

svn path=/trunk/mcs/; revision=17450
2003-08-20 20:08:05 +00:00
Paolo Molaro 6be17e4975 Initialize tls keys to -1, since 0 is a valid key value.
svn path=/trunk/mono/; revision=17449
2003-08-20 17:22:56 +00:00
Paolo Molaro 5f13006d26 Wed Aug 20 19:02:22 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: mono_thread_current() can be called only after
	mono_runtime_init(): rearrange code to not call it early on.

svn path=/trunk/mono/; revision=17448
2003-08-20 17:14:03 +00:00
Gonzalo Paniagua Javier f3c573e227 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: patch by [email protected] that fixes bug #47707.

svn path=/trunk/mcs/; revision=17447
2003-08-20 16:45:08 +00:00
Lluis Sanchez 32c4bccce2 * marshal.c: mono_delegate_begin_invoke(): If the target is a proxy,
make a direct call. It is proxy's work to make the call asynchronous.
	  mono_delegate_end_invoke(): If the targe is a proxy, just collect
	  the return values.
	* object.cs: mono_method_call_message_new(): read AsyncResult and
	  state object from parameters list, if this info is requested.
	* object.h: Added fields to store remote call output values in
	  MonoAsyncResult. Added AsyncResult field in MonoMethodMessage.

svn path=/trunk/mono/; revision=17446
2003-08-20 16:38:30 +00:00
Gonzalo Paniagua Javier baca0bfba1 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: index the viewstates saved by the control position, not the
	control name. Fixes bug #47697.

svn path=/trunk/mcs/; revision=17445
2003-08-20 16:26:26 +00:00
Lluis Sanchez 309488f3ab * MethodCall.cs: Changed exception text to match MS.NET (more or less).
* AsyncResult.cs: Added new fields to store async calls results.

svn path=/trunk/mcs/; revision=17444
2003-08-20 14:22:17 +00:00
Lluis Sanchez 5f832575a4 * TcpConnectionPool.cs: Check if a connection is alive before reusing
it. Added some properties to support this.

svn path=/trunk/mcs/; revision=17443
2003-08-20 14:17:32 +00:00
Lluis Sanchez 2aecfe4f76 * System.Runtime.Remoting_test.dll.sources: Added new test files.
svn path=/trunk/mcs/; revision=17442
2003-08-20 14:12:00 +00:00
Lluis Sanchez 2ee56ffe36 * AsyncCalls.cs, BaseCalls.cs, HttpCalls.cs, ReflectionCalls.cs, SyncCalls.cs,
TcpCalls.cs: new test suite for remoting. It tests sync calls, async calls
	  and reflection calls using tcp and http channels.
	* CallSeq.cs, ContextHookAttribute.cs: Add methods for getting a context and
	  domain ids that are the same between tests runs.
	* ContextsTest.cs: unregister channel on test shutdown.

svn path=/trunk/mcs/; revision=17441
2003-08-20 14:10:37 +00:00
Paolo Molaro 0dc48f97e1 Wed Aug 20 13:14:31 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: allocate jump tables in the code mempools.

svn path=/trunk/mono/; revision=17439
2003-08-20 11:24:43 +00:00
Paolo Molaro 4bcddd011f Wed Aug 20 13:04:53 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini.h: make sure per-thread data allocated by the jit is
	freed.

svn path=/trunk/mono/; revision=17438
2003-08-20 11:15:15 +00:00
Paolo Molaro 00738b20ad Wed Aug 20 12:57:42 CEST 2003 Paolo Molaro <[email protected]>
* object.h: add needed fields to MonoThread.
	* threads.c, threads.h: allow registering a function to cleanup data
	allocated per thread by the JIT.

svn path=/trunk/mono/; revision=17437
2003-08-20 11:09:30 +00:00
Paolo Molaro ec3fa23e77 Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <[email protected]>
* Thread.cs: put all the fields at the start and add
	more fields needed by the runtime.

svn path=/trunk/mcs/; revision=17436
2003-08-20 10:11:51 +00:00
Jackson Harper 0464a7f049 * ILParser.jay: Implement address constants and string
constants. Add data definitions to their types, and create data
	item lists. Also implement long form overrides.

svn path=/trunk/mcs/; revision=17435
2003-08-20 06:07:46 +00:00
Jackson Harper 8f328fa1b3 * DataDef.cs: Make name public so data names can be looked up
* FieldDef.cs: Stub method for adding data values
	* TypeDef.cs: Implement long form overrides, fix some backwords
	variable naming, add a method to lookup data definitions.

svn path=/trunk/mcs/; revision=17434
2003-08-20 06:04:36 +00:00
Ben Maurer edf2bc3126 003-08-20 Ben Maurer <[email protected]>
* ManagedXslTransform.cs: sync API (Oleg).
	* XslComment.cs, XslMessage.cs, XslProcessingInsturction.cs:
	Ignore element contnet, per spec. (Oleg)
	* TextOutputter.cs: Add option to ignore element content (Oleg).

svn path=/trunk/mcs/; revision=17433
2003-08-20 05:40:13 +00:00
Duncan Mak 9fd493b7fe Add link to the Daily Snapshosts so that people can get to them
easily, achieving the sacred goal of presenting Information At Your
Fingertips.

svn path=/trunk/mono/; revision=17432
2003-08-20 05:30:28 +00:00
Duncan Mak 7e34f3d587 (ReleaseConnection): A patch from Joerg
Rosenkranz <[email protected]>. Currently, if a connection is
closed by an external event (network problem, etc.) it is pushed
back into the connection pool. The next Open call retrieves this
invalid connection which leads to exceptions when executing
statements.

This patch fixes this problem. This closes bug #47429.

svn path=/trunk/mcs/; revision=17431
2003-08-20 05:01:50 +00:00
Duncan Mak c3bb789165 2003-08-20 Duncan Mak <[email protected]>
* Hashtable.cs (PutImpl): Fix my previous checkin, see details
	posted on bug #47692.

	I really hope I don't mess up this time, because, if I do again,
	it will be really embarrassing.

svn path=/trunk/mcs/; revision=17430
2003-08-20 04:57:06 +00:00
Duncan Mak 47b4e7d057 Update links for Red Hat 8, added links to SuSE packages and Windows
installer from Johannes.

svn path=/trunk/mono/; revision=17429
2003-08-20 03:52:43 +00:00
Peter Williams d17bcc8e27 Add image, party hard
svn path=/trunk/mono/; revision=17428
2003-08-20 03:22:47 +00:00
Ben Maurer 2867be967d Passed file though syntax checker (aka, gonzalo) ;-).
svn path=/trunk/mcs/; revision=17427
2003-08-20 01:43:43 +00:00
Ben Maurer 34ed9e0c4b Passed file through bug filter (aka, gonzalo)
svn path=/trunk/mcs/; revision=17426
2003-08-20 01:40:47 +00:00
Ben Maurer b06e50cea9 2003-08-19 Ben Maurer <[email protected]>
* XslNumber.cs: Better support for formatting.

svn path=/trunk/mcs/; revision=17425
2003-08-20 01:26:17 +00:00
Gonzalo Paniagua Javier 4668e31142 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs:
	* EmptyControlCollection.cs: create a minimum ArrayList for this.

	* BaseParser.cs: added setter for BaseVirtualDir.

	* Page.cs: fixed message when restoring view state fails.
	* UserControlParser.cs: set the BaseVirtualDirectory to handle the case
	when a relative path to the control is given. Fixes bug #47685.

svn path=/trunk/mcs/; revision=17424
2003-08-20 01:24:43 +00:00
Gonzalo Paniagua Javier d51e30ae5f 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
	<[email protected]>.

svn path=/trunk/mcs/; revision=17423
2003-08-20 00:04:40 +00:00
Gonzalo Paniagua Javier 2d596f93ef 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Color.cs: fixed FromArgb to handle alpha value correctly. Closes
	bug #47727.

svn path=/trunk/mcs/; revision=17422
2003-08-19 23:49:07 +00:00
Gonzalo Paniagua Javier 223c5498fb 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: the MARKED bit is not send set in ViewState unless something
	is changed. Fixed TrackViewState condition.

	* WebControl.cs: save the base ViewState *after* ControlStyle is done,
	because it uses the same ViewState as the control. Fixes bug #47725.

svn path=/trunk/mcs/; revision=17421
2003-08-19 23:24:08 +00:00
Ben Maurer 9a4e63d66c 2003-08-19 Ben Maurer <[email protected]>
* XslNumber.cs: Support for multiple level numbering

svn path=/trunk/mcs/; revision=17420
2003-08-19 23:15:33 +00:00
Ben Maurer a8d038fdf2 2003-08-19 Ben Maurer <[email protected]>
* XslNumber.cs: Initial support.

svn path=/trunk/mcs/; revision=17419
2003-08-19 22:34:09 +00:00
Ben Maurer 6a24ce4f86 2003-08-19 Ben Maurer <[email protected]>
* Compiler.cs: Really give null for blank avt's

svn path=/trunk/mcs/; revision=17415
2003-08-19 20:24:53 +00:00
Atsushi Eno 7d1f83ba18 2003-08-19 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
	  infinite loop.
	* XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
	  Commented out Console.Error.WriteLine().
	* XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
	  escape and unescape for relative URI string.

svn path=/trunk/mcs/; revision=17414
2003-08-19 19:26:14 +00:00
Ben Maurer 8b824c07a1 2003-08-19 Ben Maurer <[email protected]>
* Compiler.cs: Fixed lre/lre04.

svn path=/trunk/mcs/; revision=17413
2003-08-19 18:43:00 +00:00
Atsushi Eno 0ded962042 2003-08-19 Atsushi Enomoto <[email protected]>
* Compiler.cs : Fixed XslNameUtil.FromString() so that unprefixed name
	  won't have default namespace. See http://www.w3.org/TR/xslt#qname

svn path=/trunk/mcs/; revision=17412
2003-08-19 18:17:08 +00:00
Ben Maurer 1b09b06a83 i will write change logs correctly
i will write change logs correctly
[47 lines omitted]
i will write change logs correctly

svn path=/trunk/mcs/; revision=17411
2003-08-19 18:01:30 +00:00
Ben Maurer 37002710b4 2003-08-19 Ben Maurer <[email protected]>
* XslTransformProcessor.cs: add support for resolving documents.
	* XsltCompiledContext: add support for document () function.

svn path=/trunk/mcs/; revision=17410
2003-08-19 17:58:31 +00:00
Ben Maurer 3056406ff1 2003-08-19 Ben Maurer <[email protected]>
* XmlParserContext.cs: Make each context inherit next.

svn path=/trunk/mcs/; revision=17409
2003-08-19 17:54:15 +00:00
Paolo Molaro 134a411b14 Tue Aug 19 18:22:08 CEST 2003 Paolo Molaro <[email protected]>
* loader.h: portability fix by Bernie Solomon
	* <[email protected]>.

svn path=/trunk/mono/; revision=17408
2003-08-19 16:32:49 +00:00
Ben Maurer 3917a22009 2003-08-19 Ben Maurer <[email protected]>
* Outputter.cs, TextOutputter.cs, XmlOutputter.cs: Implement some
	of the abstract methods in Outputter, making them call other
	functions with default values, remove impl's in derived classes.

svn path=/trunk/mcs/; revision=17407
2003-08-19 15:22:19 +00:00
Ben Maurer 6f6f39ffb4 2003-08-19 Ben Maurer <[email protected]>
* Outputter.cs: s/Close/Done
	* TextOutputter.cs, XmlOutputter.cs: Flush, don't close the backing.
	* XslTransformProcessor.cs: Flush output when popping, pop at end.

svn path=/trunk/mcs/; revision=17406
2003-08-19 15:08:43 +00:00
Ben Maurer f297ec3710 2003-08-19 Ben Maurer <[email protected]>
* Outputter.cs: Add support for namespaces.
	* XslCopyOf.cs, XslLiteralElement: Use namespace support in Outputter.

svn path=/trunk/mcs/; revision=17405
2003-08-19 15:00:09 +00:00
Ben Maurer d633cbcbc5 2003-08-19 Ben Maurer <[email protected]>
* Compiler.cs, XslOutput.cs, XslStylesheet.cs,
	XslTransformProcessor.cs: move output logic from XslStylesheet to
	Compiler.
	* XslVariable.cs: sync to API changes
	* ManagedXslTransform.cs: sync to API changes

svn path=/trunk/mcs/; revision=17404
2003-08-19 14:37:47 +00:00
Nick Drochak a2383bb1f6 2003-08-19 Nick Drochak <[email protected]>
* StackFrameTest.cs: Isolate test failure by making tests finer
	grained.

svn path=/trunk/mcs/; revision=17399
2003-08-19 07:00:15 +00:00
Nick Drochak a0a45e57c7 2003-08-19 Nick Drochak <[email protected]>
* Makefile: Turn on debug for the corlib tests on .NET.

svn path=/trunk/mcs/; revision=17398
2003-08-19 06:58:24 +00:00
Jackson Harper 36126233a4 * PEAPI.cs: Make no super method public so we can have types
with no super type.

svn path=/trunk/mcs/; revision=17396
2003-08-19 03:27:49 +00:00
Ben Maurer 014b09acff 2003-08-18 Ben Maurer <[email protected]>
* XslOutput.cs: add support for encoding.
	* ManagedXslTransform.cs, XslTransformImpl.cs: Add support for
	encoding.

svn path=/trunk/mcs/; revision=17395
2003-08-19 03:09:30 +00:00
ct e0bc4d7367 added more asm macros for floating point subtraction of single/double/quad
svn path=/trunk/mono/; revision=17394
2003-08-19 03:04:34 +00:00
ct a39d3a6031 added floating point instructions for adding double, single, and quad numbers
svn path=/trunk/mono/; revision=17393
2003-08-19 02:53:23 +00:00
Jackson Harper b8d72ead93 * ILParser.jay: Add override methods.
svn path=/trunk/mcs/; revision=17392
2003-08-19 02:24:30 +00:00
Jackson Harper 44db679e0f * IClassRef.cs: Removed methods that have been moved into ITypeRef
* MethodDef.cs: Make some properties public, Add method to get a
	list of parameter types. This is used to build signatures. Alow
	sentinels in signatures and in param lists. Fix some tabbing.
	* ParamDef.cs: Expose the parameters type so they can be used when
	building signatures.
	* TypeDef.cs: Add and emit overrides.

svn path=/trunk/mcs/; revision=17391
2003-08-19 02:22:40 +00:00
Gonzalo Paniagua Javier 67581d806c 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
* HttpException.cs: make the unhandled error more like the MS one.
	* HttpRuntime.cs: set a 500 error code on unhandled exceptions.

svn path=/trunk/mcs/; revision=17390
2003-08-19 02:10:34 +00:00
Ben Maurer 5682ce0b61 forgot to commit
svn path=/trunk/mcs/; revision=17389
2003-08-19 02:05:34 +00:00
Ben Maurer ec458973a1 2003-08-18 Ben Maurer <[email protected]>
* System.Xml.dll.sources: add files from Oleg.
	* *.cs: Support for xsl:output. (Oleg)

svn path=/trunk/mcs/; revision=17388
2003-08-19 01:56:07 +00:00
Gonzalo Paniagua Javier 6361a835a3 2003-08-19 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: flush headers when the body length is 0.
	* StaticFileHandler.cs: added If-Modified-Since handling patch slightly
	modified from the original by Piers Haken <[email protected]>.

svn path=/trunk/mcs/; revision=17387
2003-08-19 01:38:49 +00:00
Ben Maurer 8afbfd9910 forgot to add
svn path=/trunk/mcs/; revision=17386
2003-08-18 21:55:23 +00:00
Ben Maurer e3dbc393a2 2003-08-18 Ben Maurer <[email protected]>
* System.Xml.dll.source: add System.Xml/HighWaterStack.cs
        * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
        * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
        fat, use low-fat loops instead. Even better, call the function
        inside XmlChar for code reuse.
        * HighWaterStack.cs (added): New class that acts like a Stack, but
        helps with memory allocation.
        * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
        HighWaterStack.
        * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
        use a variable that stores the position in the ArrayList.

svn path=/trunk/mcs/; revision=17385
2003-08-18 21:54:50 +00:00
Ben Maurer cc915720f0 2003-08-18 Ben Maurer <[email protected]>
* XmlTextWriter.cs: Begin diet. String.Format has too much
	saturated fat, lets replace with the fat-free .Write ()
	calls. Effects best seen when Paolo's StreamWriter patch is
	applied.

svn path=/trunk/mcs/; revision=17384
2003-08-18 20:16:58 +00:00
Lluis Sanchez 0a14773bc7 * HttpClientChannel.cs, HttpServerChannel.cs: Fixed bug #47703
svn path=/trunk/mcs/; revision=17383
2003-08-18 19:45:14 +00:00
Johannes Roith 3243192ff6 Update
svn path=/trunk/mono/; revision=17382
2003-08-18 17:28:38 +00:00
Gonzalo Paniagua Javier 4d491c40d3 2003-08-18 Gonzalo Paniagua Javier <[email protected]>
* Control.cs: when we load the viewstate for a control that has children
	viewstates and the child is not found, keep its viewstate around and
	wait until the child is added to load the viewstate. Fixes bug #47697.

svn path=/trunk/mcs/; revision=17381
2003-08-18 16:57:44 +00:00
Zoltan Varga 12a767b37b 2003-08-18 Zoltan Varga <[email protected]>
* interp.c: Get rid of duplicate definition of CHECK_MUL_OVERFLOW.
	* interp.h interp.c: Get rid of VAL_VALUETA, use VAL_MP instead. Fix
	the INITOBJ opcode which was the only user of VALUETA.

svn path=/trunk/mono/; revision=17380
2003-08-18 16:51:43 +00:00
Johannes Roith f35602d3d0 add windows distribition scripts
svn path=/trunk/mono/; revision=17379
2003-08-18 16:45:22 +00:00
Nick Drochak 3bb19c4e77 2003-08-18 Nick Drochak <[email protected]>
* UriBuilderTest.cs: Separated tests into NUnit v2 style. Need to track
	down a test failure.

svn path=/trunk/mcs/; revision=17378
2003-08-18 06:40:14 +00:00
Duncan Mak 4acf8c6f82 (PutImpl): Patch from Luca Barbieri <[email protected]>.
Currently Hashtable.PutImpl has an incorrect test which causes the
key chain search to terminate as soon as a free slot is found,
causing key duplication.

svn path=/trunk/mcs/; revision=17376
2003-08-18 04:06:27 +00:00
Ben Maurer c0ba7b1331 2003-08-17 Ben Maurer <[email protected]>
* Compiler.cs: handle extension and excluded namespaces.
	* XslCopyOf.cs: handle default ns
	* XslFallback.cs: implement
	* XslLiteralElement.cs: copy namespaces that were declared.
	* XslTemplateContent.cs: handle ext elements

svn path=/trunk/mcs/; revision=17375
2003-08-18 03:56:46 +00:00
Ben Maurer 7b2cbd04db 003-08-17 Ben Maurer <[email protected]>
* XslComment.cs, XslTemplateContent.cs: remove dead variables.
        * XsltCompiledContext.cs, Compiler.cs: copy the XPathNavigator
        from the stylesheet for correct namespace resolution.
        * XslTransformImpl.cs: close XmlTextWriter when we create it.

svn path=/trunk/mcs/; revision=17374
2003-08-17 20:52:21 +00:00
Lluis Sanchez 389001660c * MethodCall.cs: Throw the right exception if the target object is not
found when resolving the target method.

svn path=/trunk/mcs/; revision=17373
2003-08-17 19:04:25 +00:00
Lluis Sanchez bf2d807ff9 * CallContext.cs: Fixed bug #47686
svn path=/trunk/mcs/; revision=17372
2003-08-17 18:30:42 +00:00
Miguel de Icaza a5982be0c5 Applied patch from J�rg Rosenkranz to fix bug 47639
svn path=/trunk/mcs/; revision=17370
2003-08-16 17:37:23 +00:00
Miguel de Icaza e69d252ebe Applied patch from: David Pickens <[email protected]>
svn path=/trunk/mcs/; revision=17369
2003-08-16 17:29:30 +00:00
Zoltan Varga 1c11105f16 2003-08-16 Zoltan Varga <[email protected]>
* mono/tests/checked.cs: Added mul.ovf tests.

svn path=/trunk/mono/; revision=17368
2003-08-16 15:01:07 +00:00
Zoltan Varga 03285da9bf 2003-08-16 Zoltan Varga <[email protected]>
* reflection.h reflection.c (mono_param_get_objects): Changed this to
	return a MonoArray. This simplifies the code and also ensures that
	the cache allways contains an object reference as a value.

	* icall.c (ves_icall_get_parameter_info): Simplified using the new
	function.

svn path=/trunk/mono/; revision=17367
2003-08-16 14:53:31 +00:00
Zoltan Varga 0012bd257e 2003-08-16 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method): Implemented mul.ovf correctly for int32
	and int64. Implemented the conv.ovf opcodes for all argument types.

2003-08-15  Zoltan Varga  <[email protected]>

	(ves_exec_method): Added support for the synchronized flag to the
	interpreter. Also fixed the CALLI opcode, and made exception handling
	work though the managed-unmanaged barrier.

svn path=/trunk/mono/; revision=17366
2003-08-16 14:48:57 +00:00
Gonzalo Paniagua Javier d5ce33f2f8 2003-08-16 Gonzalo Paniagua Javier <[email protected]>
* HyperLinkColumn.cs: patch from David Pickens <[email protected]>
	that fixes databinding when only DataTextField or DataNavigateUrlField
	is set.

svn path=/trunk/mcs/; revision=17365
2003-08-16 11:10:38 +00:00
Gonzalo Paniagua Javier 983341868b 2003-08-16 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: patch by Bernie Solomon <[email protected]> that
	fixes a problem with byte ordering when getting the address family for
	a socket.

svn path=/trunk/mono/; revision=17364
2003-08-16 02:08:07 +00:00
Gonzalo Paniagua Javier 42df29f6a0 2003-08-15 Jaroslaw Kowalski <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs:

         - fixed support for method references where target
               object is null
         - fixed CodeThrowExceptionStatement
         - disabled member access modifiers for private method
           implementations
         - disabled generation of empty method body for interface
           declarations
         - disabled generation of empty property accessor bodies
           in interface declarations
         - added support for indexers (properties named "Item")
         - added support for chained constructor arguments and
           base constructor arguments

       * System.CodeDom/CodeTypeDeclaration.cs:

         - TypeAttributes of CodeTypeDeclaration now defaults to
           TypeAttributes.Public (same as MS implementation)

svn path=/trunk/mcs/; revision=17363
2003-08-16 01:58:56 +00:00
Duncan Mak b22f0fcb49 Missed this one too.
svn path=/trunk/mono/; revision=17361
2003-08-15 22:07:57 +00:00
Duncan Mak 2b8f341abd Change references to ByteFX.Data.MySQLClient to the
correct ByteFX.Data.MySqlClient (note the change in
capitalization). Thanks to Tom Wagner <[email protected]> for
spotting the error.

svn path=/trunk/mono/; revision=17360
2003-08-15 22:05:20 +00:00
Zoltan Varga 884a055c2c 2003-08-15 Zoltan Varga <[email protected]>
* interp.c (ves_exec_method): Handle non-valuetypes in CEE_STOBJ.
	Fixes #46781.

svn path=/trunk/mono/; revision=17359
2003-08-15 17:49:28 +00:00
Zoltan Varga 611ee1f539 2003-08-15 Zoltan Varga <[email protected]>
* mono/tests/bug-47295.cs: Regression test for bug #47295.

svn path=/trunk/mono/; revision=17358
2003-08-15 13:59:41 +00:00
Zoltan Varga 120a246e00 2003-08-15 Zoltan Varga <[email protected]>
* .cvsignore: Added monosn.

svn path=/trunk/mono/; revision=17357
2003-08-15 13:53:06 +00:00
Zoltan Varga 6b7ad07f3f 2003-08-15 Zoltan Varga <[email protected]>
* reflection.h reflection.c loader.c: Added support for parameter
	marshalling to dynamically created types. Fixes #47295.

svn path=/trunk/mono/; revision=17356
2003-08-15 13:51:03 +00:00
Paolo Molaro e5d6454d40 Fri Aug 15 11:42:46 CEST 2003 Paolo Molaro <[email protected]>
* rand.c: remove useless warnings.

svn path=/trunk/mono/; revision=17355
2003-08-15 09:52:41 +00:00
Paolo Molaro c9a11f948b Include all the sources in make dist.
svn path=/trunk/mono/; revision=17354
2003-08-15 09:44:45 +00:00
Jackson Harper c98ea87afb * Driver.cs: Report entry for each il file processed
* Report.cs: New file - All error/warning/progress reporting will
	go through here.
	* ilasm.exe.sources: Add report to build

svn path=/trunk/mcs/; revision=17353
2003-08-15 05:52:37 +00:00
Miguel de Icaza 62eb72d9b3 Flush
svn path=/trunk/mono/; revision=17352
2003-08-15 03:24:17 +00:00
Miguel de Icaza 49f0640a80 Flushetyflush
svn path=/trunk/mono/; revision=17351
2003-08-15 01:24:55 +00:00
Miguel de Icaza d5a00338f1 Flush
svn path=/trunk/mono/; revision=17350
2003-08-15 00:48:11 +00:00
Duncan Mak d918ccb9e0 Add mod_mono 0.4.
svn path=/trunk/mono/; revision=17349
2003-08-15 00:42:40 +00:00
Duncan Mak a1963794aa Try my best to update the tables. I hate <table>s and <tr>s and <td>s.
svn path=/trunk/mono/; revision=17346
2003-08-15 00:32:23 +00:00
Lluis Sanchez 7cc9cadfc7 * Thread.cs: SetData() method: use Hashtable.Contains to check
if a dataslot has been allocated (value could be null).

svn path=/trunk/mcs/; revision=17344
2003-08-14 22:40:55 +00:00
Gonzalo Paniagua Javier 4205e41d2a 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: another patch from totte and me. This one prevents
	writing output if the client have disconnected and filters the data
	when there's a non-final Flush in the middle of the process.

svn path=/trunk/mcs/; revision=17343
2003-08-14 21:04:28 +00:00
Gonzalo Paniagua Javier 576e2af9c7 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
* XslComment.cs: patch by BenM that implements Evaluate.

svn path=/trunk/mcs/; revision=17342
2003-08-14 20:55:21 +00:00
Lluis Sanchez c7cd609e5a * RemotingProxy.cs: On invoke, set the LogicalCallContext of the message.
svn path=/trunk/mcs/; revision=17341
2003-08-14 19:50:47 +00:00
Lluis Sanchez 2a32216d7a * ClientSponsor.cs: Implemented.
svn path=/trunk/mcs/; revision=17340
2003-08-14 19:49:17 +00:00
Lluis Sanchez cfcea8822b * ChannelServices.cs: Set call context info for the incoming
remote call, and restore the context after the call.

svn path=/trunk/mcs/; revision=17339
2003-08-14 19:38:30 +00:00
Lluis Sanchez 982fdccdfa * CADMessages.cs: Enabled smuggeling of primitive type parameters (as suggested
by Patrik).
	* CallContext.cs: Impplemented.
	* LogicalCallContext.cs: Implemented.
	* MonoMethodMessage.cs: Added setter for LogicalCallContext property.

svn path=/trunk/mcs/; revision=17338
2003-08-14 19:35:42 +00:00
Lluis Sanchez 7033eba810 * AppDomainLevelActivator.cs, ConstructionLevelActivator.cs,
ContextLevelActivator.cs, RemoteActivationAttribute.cs,
	  RemoteActivator.cs: Changed class from public to internal.

svn path=/trunk/mcs/; revision=17336
2003-08-14 18:59:14 +00:00
Lluis Sanchez 21733eca77 * ObjRef.cs: Implemented IsFromThisProcess().
* RemotingServices.cs: Implemented methods GetLifetimeService and
	  GetEnvoyChainForProxy. Stubbed LogRemotingStage.

svn path=/trunk/mcs/; revision=17335
2003-08-14 18:52:02 +00:00
Gonzalo Paniagua Javier 2cde1939f8 fix credits
svn path=/trunk/mcs/; revision=17334
2003-08-14 16:52:56 +00:00
Gonzalo Paniagua Javier df56a2ae8a 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: patch by Yaacov Akiba Slama <[email protected]> that
	fixes selection of values before assigning a data source and other
	issues.

svn path=/trunk/mcs/; revision=17333
2003-08-14 16:51:40 +00:00
Atsushi Eno 70f35c66e6 2003-08-14 Atsushi Enomoto <[email protected]>
* XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
	  vanishing current node.

svn path=/trunk/mcs/; revision=17332
2003-08-14 16:06:34 +00:00
Martin Baulig 45648c6703 Peter had a reason for this change; restore it (it was reverted in revision 1.4).
2003-07-17  Peter Williams  <[email protected]>

	* DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
	than mcs. We need to disambiguate System.Math from Mono.Math here.

svn path=/trunk/mcs/; revision=17331
2003-08-14 16:00:37 +00:00
Atsushi Eno 8a41b1cdd2 2003-08-14 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : Added SchemaType.
	  Read() Assures to return to element.
	* DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
	* XmlReader.cs : ReadString() should be virtual in NET_1_1.
	* XmlTextReader.cs : 1) Depth should consider Attribute and its values.
	  Introduced insideAttribute field to support them.
	  2) ReadAttributeValue() should consider empty string.
	* XmlValidatingReader.cs :
	  Fixed several properties which premised as if it was already read.
	  Encoding and Namespaces now throws NotSupportedException for other
	  than XmlTextReader.
	  Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.

svn path=/trunk/mcs/; revision=17330
2003-08-14 15:56:58 +00:00
Atsushi Eno 7c7257d1c7 2003-08-14 Atsushi Enomoto <[email protected]>
* XslCallTemplates.cs : Forgot to commit ;-)

svn path=/trunk/mcs/; revision=17329
2003-08-14 15:47:40 +00:00
Atsushi Eno b375a09a2a 2003-08-14 Atsushi Enomoto <[email protected]>
* DTMXPathDocument.cs,
	  DTMXPathDocumentBuilder.cs,
	  DTMXPathNavigator.cs :
	  - Implemented ID support using XmlValidatingReader.
	  - Prefix should be String.Empty even if XmlReader.Prefix is null.

svn path=/trunk/mcs/; revision=17328
2003-08-14 15:35:29 +00:00
Nick Drochak b38d984aac 2003-08-14 Nick Drochak <[email protected]>
* WebRequest.cs: Check lower case string since that is what we will add.

svn path=/trunk/mcs/; revision=17326
2003-08-14 14:11:28 +00:00
Atsushi Eno 14dc801f3c 2003-08-14 Atsushi Enomoto <[email protected]>
* Compiler.cs : 1) Changed public .ctor() to receive Evidence argument
	  introduced in .NET 1.1. 2) XmlResolver object is required for 'res'.

svn path=/trunk/mcs/; revision=17324
2003-08-14 12:57:03 +00:00
Atsushi Eno d5241852b8 2003-08-14 Atsushi Enomoto <[email protected]>
* XslApplyTemplates.cs,
	  XslCallTemplate.cs : Should accept other than element content such
	  as comment and PI.
	* XslNumber.cs : In Compile(), 'value' might not exist. (Think about
	  it later if how it should be.)
	* XslTemplateContent.cs : "comment" and "number" support. (I know they
	  are still incomplete.)

svn path=/trunk/mcs/; revision=17323
2003-08-14 12:56:35 +00:00
Atsushi Eno 00db4a05dc 2003-08-14 Atsushi Enomoto <[email protected]>
* XslTransformImpl.cs, XslTransform.cs, Multiplexer.cs,
	  ManagedXslTransform.cs : Added Evidence args introduced in .NET 1.1.

svn path=/trunk/mcs/; revision=17322
2003-08-14 12:54:01 +00:00
Atsushi Eno e615110e09 2003-08-14 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: Added Mono.Xml.Xsl.Operation/XslComment.cs
	  and Mono.Xml/IHasXmlSchemaInfo.cs

svn path=/trunk/mcs/; revision=17321
2003-08-14 12:52:59 +00:00
Atsushi Eno 2fc2cb8972 2003-08-14 Atsushi Enomoto <[email protected]>
* added IHasXmlSchemaInfo.cs.

svn path=/trunk/mcs/; revision=17320
2003-08-14 12:51:28 +00:00
Atsushi Eno 50f79c7c0f 2003-08-14 Atsushi Enomoto <[email protected]>
* Added XslComment.cs.

svn path=/trunk/mcs/; revision=17319
2003-08-14 12:42:22 +00:00
Duncan Mak 537eb6e882 Adding xsd.in
svn path=/trunk/mono/; revision=17317
2003-08-14 06:09:25 +00:00
Duncan Mak 6a6dfd7024 Last minute: Add xsd to the release
svn path=/trunk/mono/; revision=17316
2003-08-14 06:06:49 +00:00
Gaurav Vaish 2d8bdaf0db 2003-08-14 Gaurav Vaish <gvaish_mono AT lycos.com>
* MobileControl.cs       : Style { get; }             - Completed.

svn path=/trunk/mcs/; revision=17315
2003-08-14 04:28:16 +00:00
Gaurav Vaish 84f638ea37 2003-08-13 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Style { get; }           - Implemented.
* HtmlControlAdapter.cs : Towards finishing.
* HtmlPageAdapter.cs    : PersistCookielessData    - Mocked.
* HtmlMobileTextWriter.cs
                        : EnterStyle(Style)        - Mocked.

svn path=/trunk/mcs/; revision=17314
2003-08-14 04:25:13 +00:00
Duncan Mak 90e25449ea Bump version number to 0.26
svn path=/trunk/mono/; revision=17312
2003-08-13 20:59:43 +00:00
Duncan Mak 60e0f265df Bump version number to 0.26
svn path=/trunk/mcs/; revision=17312
2003-08-13 20:59:43 +00:00
Joel Basson 3c4b74e0e8 Wed August 13 21:48:10 GMT 2003 Joel Basson <[email protected]>
* small addition of .Top and .Left properties

svn path=/trunk/mcs/; revision=17311
2003-08-13 20:02:22 +00:00
Piers Haken 67f7f27e51 2003-08-13 Piers Haken <[email protected]>
* Iterator.cs:
		fix MergedIterator.Clone(), now clones other's iterators
		fix DescendantIterator.Clone(), now copies depth
		make iterator cloning constructors more type-specific

svn path=/trunk/mcs/; revision=17310
2003-08-13 19:40:13 +00:00
Rafael Teixeira 8475a5b507 2003/08/13 Rafael Teixeira <[email protected]>
* mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
					 Erase statement implemented
					 Lots of garbage (never reduced rules) deleted
					 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
	* statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
					 but we need to check if that code is lying in Microsoft.VisualBasic.dll
					 New class Erase

svn path=/trunk/mcs/; revision=17309
2003-08-13 19:35:25 +00:00
Miguel de Icaza e8bca914b3 Close the client, if we dont create the stream
svn path=/trunk/mcs/; revision=17307
2003-08-13 15:35:02 +00:00
Paolo Molaro 794551e8b6 Wed Aug 13 15:49:57 CEST 2003 Paolo Molaro <[email protected]>
* class.c: implemented ldtoken for methods and fieldrefs.

svn path=/trunk/mono/; revision=17306
2003-08-13 14:00:07 +00:00
Jackson Harper 110c3111f3 * AssemblyInfo.cs: Bump up the vizzity-version number.
svn path=/trunk/mcs/; revision=17305
2003-08-13 04:01:51 +00:00
Duncan Mak deb01b640e (constructor): Properly implement RFC 2396, Par. 5.2,
part 6a.

This fixes bug #45614.

svn path=/trunk/mcs/; revision=17304
2003-08-13 00:24:08 +00:00
Duncan Mak cbf8ff8c29 Update the mono-wine package number.
svn path=/trunk/mono/; revision=17303
2003-08-12 21:42:57 +00:00
Rafael Teixeira ba2ad2a83a bump up version number to 0.26
svn path=/trunk/mcs/; revision=17302
2003-08-12 21:42:40 +00:00
Martin Baulig d1c80fc392 2003-08-12 Martin Baulig <[email protected]>
* expression.cs (Indirection.CacheTemporaries): Create the
	LocalTemporary with the pointer type, not its element type.

svn path=/trunk/mcs/; revision=17301
2003-08-12 21:20:12 +00:00
Duncan Mak 46ea273a90 csc was having trouble resolving the type name because the namespace
name (Cairo) is the same as the class name (also Cairo). To resolve
this ambiguity while keeping the code looking decent, the Cairo.Cairo
class is now Cairo.CairoAPI.

svn path=/trunk/mcs/; revision=17295
2003-08-12 18:35:39 +00:00
Lluis Sanchez 2120d9ac66 * XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
schema type it is importing is a class or an array. It will always
	  be a class.

svn path=/trunk/mcs/; revision=17294
2003-08-12 18:10:48 +00:00
Lluis Sanchez d81e6362f3 * XmlSerializationWriterInterpreter.cs: any element members can be serialized
as text nodes. Support it.

svn path=/trunk/mcs/; revision=17293
2003-08-12 16:25:20 +00:00
Aleksey Ryabchuk 55fdb59c4e added missing properties, so menu sample app can be compiled
svn path=/trunk/mcs/; revision=17289
2003-08-12 13:58:00 +00:00
Duncan Mak a7afa6fc58 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
the enums no longer need to be nested inside the Cairo class.

* Mono.Cairo/Matrix.cs:
* Mono.Cairo/Object.cs:
* Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
the name of a class, esp. now that we have namespaces. So I have
decided to rename them.

svn path=/trunk/mcs/; revision=17284
2003-08-12 10:11:19 +00:00
Gonzalo Paniagua Javier 9d4eaa393c don't exceed the maximum number of worker threads
svn path=/trunk/mono/; revision=17283
2003-08-12 08:49:46 +00:00
Duncan Mak b0dc77278c (Pattern): Re-enable this. This
is actually a CairoSurfaceObject (a C cairo_surface_t); the
CairoPatternObject is just something I made up...

svn path=/trunk/mcs/; revision=17282
2003-08-12 08:24:58 +00:00
Duncan Mak a747252f48 Add DictionaryBaseTest.cs by Carlos
Barcenilla ([email protected]).

svn path=/trunk/mcs/; revision=17281
2003-08-12 04:06:58 +00:00
Nick Drochak fd72802ac0 2003-08-12 Nick Drochak <[email protected]>
* NewArrayListTest.cs: Disable part that was failing on .NET. Marked
	with FIXME.

svn path=/trunk/mcs/; revision=17277
2003-08-12 01:58:31 +00:00
Nick Drochak 31b5fd0b09 2003-08-12 Nick Drochak <[email protected]>
* Makefile: put .dll on System.Drawing reference. Fix CSC build.

svn path=/trunk/mcs/; revision=17276
2003-08-12 01:39:25 +00:00
Gonzalo Paniagua Javier 50e15c14cd 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: fixed typos. Closes bug #44197.

svn path=/trunk/mcs/; revision=17275
2003-08-11 23:47:51 +00:00
Duncan Mak 419297b1f9 Added test case submitted by Tum in bug #45036.
svn path=/trunk/mcs/; revision=17274
2003-08-11 23:39:24 +00:00
Duncan Mak 56ee2cf528 (SUBDIRS): Add Mono.Cairo.dll
svn path=/trunk/mcs/; revision=17273
2003-08-11 22:21:09 +00:00
Gonzalo Paniagua Javier 9f25c6c1d0 2003-08-12 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs:
	* HttpApplicationFactory.cs: fix duplicate application OnStart events.

	Patch by Patrik Torstensson.

svn path=/trunk/mcs/; revision=17272
2003-08-11 22:17:18 +00:00
Duncan Mak e4df621880 (assemblies_DATA): Add Mono.Cairo.dll.
svn path=/trunk/mono/; revision=17271
2003-08-11 22:11:10 +00:00
Duncan Mak 36eed2b543 * makefile:
* Mono.Cairo.dll.sources: Added.

* Mono.Cairo/Cairo.cs:
* Mono.Cairo/CairoObject.cs:
* Mono.Cairo/CairoMatrixObject.cs:
* Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.

svn path=/trunk/mcs/; revision=17270
2003-08-11 21:24:21 +00:00
Gonzalo Paniagua Javier af81535ce1 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
	methods under MS.

svn path=/trunk/mcs/; revision=17269
2003-08-11 21:19:20 +00:00
Gonzalo Paniagua Javier b46f9f4e4a 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: more Delegate.CreateDelegate fixes.

svn path=/trunk/mcs/; revision=17268
2003-08-11 21:18:07 +00:00
Gonzalo Paniagua Javier a1c8209232 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
	overload. The previous one only admits static methods.

svn path=/trunk/mcs/; revision=17267
2003-08-11 21:12:48 +00:00
Gonzalo Paniagua Javier 85a4961abd 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: when mono_async_invoke was called, no one took care of
	monitoring the queue. So if the method invoked took some time and we
	got new async invoke requests after 500 ms (the thread created waited
	that long in WaitForSingleObject), the new async invoke was not called
	until the previous one finished.

	This is fixed now. Thanks to Totte for helping with it.

svn path=/trunk/mono/; revision=17266
2003-08-11 20:37:35 +00:00
Duncan Mak 0aa798b806 * DictionaryBase.cs: Applied patch from Carlos Barcenilla
([email protected]).

* DictionaryBaseTest.cs: added new test provided by Carlos Barcenilla
([email protected]).

svn path=/trunk/mcs/; revision=17265
2003-08-11 20:35:40 +00:00
Duncan Mak 146b152477 (Version): Return the same numbers as the MS
implementation.

svn path=/trunk/mcs/; revision=17264
2003-08-11 20:09:11 +00:00
Gonzalo Paniagua Javier 0f00c83c04 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: set threadpool_thread to TRUE. Patch by totte.

svn path=/trunk/mono/; revision=17260
2003-08-11 16:45:56 +00:00
Miguel de Icaza ffc45c621e Distribute other missing assemblies
svn path=/trunk/mono/; revision=17259
2003-08-11 15:57:16 +00:00
Miguel de Icaza a8bd5d7dac Distribute Mono.Http.dll
svn path=/trunk/mono/; revision=17258
2003-08-11 15:54:06 +00:00
Miguel de Icaza 255dfd3c57 Bug fix: missing from patch
svn path=/trunk/mcs/; revision=17257
2003-08-11 15:46:44 +00:00
Miguel de Icaza 7d78bab384 Add samples to the dist
svn path=/trunk/mono/; revision=17256
2003-08-11 15:46:08 +00:00
Miguel de Icaza fa59896cec Add
svn path=/trunk/mono/; revision=17255
2003-08-11 15:43:00 +00:00
Dick Porter b84d63fe83 Fix diff cut&paste syntax error that mcs didnt notice
svn path=/trunk/mcs/; revision=17254
2003-08-11 14:51:06 +00:00
Aleksey Ryabchuk f3842d557f * Control.cs : MouseButtons, PointToClient, PointToScreen were implemented.
removed unnecessary check from UpdateBounds
	* Panel.cs : ability to change BorderStyle at runtime

svn path=/trunk/mcs/; revision=17253
2003-08-11 14:15:10 +00:00
Gonzalo Paniagua Javier 14c2be498e 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: save viewstate when needed and correctly handle post
	data. Fixes bug #47462.

svn path=/trunk/mcs/; revision=17252
2003-08-11 13:25:21 +00:00
Andreas N e02ad202ce 2003-08-11 Andreas Nahr <[email protected]>
* XsltCompileException.cs: Fixed/ Implemented rest
	* XsltException.cs: Added internal constructor

svn path=/trunk/mcs/; revision=17251
2003-08-11 12:39:30 +00:00
Andreas N 2a2cb41a37 2003-08-11 Andreas Nahr <[email protected]>
* System.Xml.dll.sources: Added Assembly/Locale.cs

svn path=/trunk/mcs/; revision=17250
2003-08-11 12:39:01 +00:00
Andreas N 4608244d35 2003-08-11 Andreas Nahr <[email protected]>
* Locale.cs: Added

svn path=/trunk/mcs/; revision=17249
2003-08-11 12:37:09 +00:00
Aleksey Ryabchuk 4e699e0386 * TreeView.cs
* TreeNode.cs
	* TreeNodeCollection.cs
	* win32functions.cs : more implementation added
	* button.cs : fix method signature

svn path=/trunk/mcs/; revision=17245
2003-08-11 09:34:11 +00:00
Jackson Harper 8c051f4e45 * StringHelper.cs: If an escape is not valid just use the \
character. Fix bug where escape char was not getting set.

svn path=/trunk/mcs/; revision=17242
2003-08-11 01:49:32 +00:00
Martin Baulig 654a20dd26 2003-08-11 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_lookup_type): New function.

svn path=/trunk/mono/; revision=17238
2003-08-11 01:22:30 +00:00
Miguel de Icaza 56a8c0cb34 2003-08-10 Miguel de Icaza <[email protected]>
* UdpClient.cs (Receive): Fix Bug 45633;  We should do a blocking
	call until a datagram is arrives from the remote host.  This
	removes the 512 "magic" buffer size when we did not have any data.

svn path=/trunk/mcs/; revision=17237
2003-08-10 23:19:48 +00:00
Miguel de Icaza 639a1707a8 2003-08-10 Miguel de Icaza <[email protected]>
* Array.cs: Applied patch from Thong (Tum) Nguyen;  Removed
	replicated tests, and have a routine that does the heavy lifting.


2003-08-10  Miguel de Icaza  <[email protected]>

	* ArrayTest.cs: New test from Thong (Tum) Nguyen.

svn path=/trunk/mcs/; revision=17236
2003-08-10 22:59:52 +00:00
Jackson Harper 062970d7fe * StringHelper.cs: If an escape is not valid just use
the \ character.

svn path=/trunk/mcs/; revision=17233
2003-08-10 21:27:23 +00:00
Jackson Harper d44c4d3fed * ILParser.jay: Create an empty array list for empty type
lists. Start phasing out INT32 because the tokenizer will no
	longer create this token.

svn path=/trunk/mcs/; revision=17232
2003-08-10 21:21:50 +00:00
Jackson Harper 269e198f8e * CodeGen.cs: Fix tabbing
* ModifiableType.cs: Modify a types signature when the type is
	modified instead of waiting untill the end. Signatures need to be
	modified immediatly because they are used in method signatures and
	would fail for overloaded operations if sigs weren't modified
	right away.
	* ExternTypeRef.cs: Add signature modifications, fix some tabbing
	* GenericTypeInst.cs: Use ModifiableType as a base
	* GenericTypeRef.cs: Use ModifiableType as a base
	* PeapiTypeRef.cs: No longer take or modify type names.
	* PrimitiveTypeRef.cs: Add signature modifications, fix some tabbing.
	* Sentinel.cs: Add signature modifications, fix some tabbing.
	* TypeRef.cs: Add signature modifications, fix some tabbing.

svn path=/trunk/mcs/; revision=17231
2003-08-10 21:18:51 +00:00
Miguel de Icaza 96748e7c9c 2003-08-10 Miguel de Icaza <[email protected]>
* cs-parser.jay: FIRST_KEYWORD, LAST_KEYWORD: used to know if a
	token was a keyword or not.

	Add `error' options where an IDENTIFIER was expected;  Provide
	CheckToken and CheckIdentifierToken convenience error reporting
	functions.

	Do not use `DeclSpace.Namespace', use `DeclSpace.NamespaceEntry'.

	* decl.cs: Rename `NamespaceEntry Namespace' public field into
	NameSpaceEntry NameSpaceEntry.

	(LookupInterfaceOrClass): Avoid creating a full qualified name
	from namespace and name: avoid doing lookups when we know the
	namespace is non-existant.   Use new Tree.LookupByNamespace which
	looks up DeclSpaces based on their namespace, name pair.

	* driver.cs: Provide a new `parser verbose' to display the
	exception thrown during parsing.  This is turned off by default
	now, so the output of a failure from mcs is more graceful.

	* namespace.cs: Track all the namespaces defined in a hashtable
	for quick lookup.

	(IsNamespace): New method

svn path=/trunk/mcs/; revision=17230
2003-08-10 21:14:51 +00:00
Miguel de Icaza bce7bb0c28 Add
svn path=/trunk/mcs/; revision=17229
2003-08-10 19:12:56 +00:00
Miguel de Icaza 7b07875c67 2003-08-10 Miguel de Icaza <[email protected]>
* cpu-pentium.md (ldtoken): Change the length for mul.ovf.un from
	12 to 16.  This fixes bug #47453.

svn path=/trunk/mono/; revision=17228
2003-08-10 18:28:42 +00:00
Gonzalo Paniagua Javier 15c31b45b3 2003-08-10 Gonzalo Paniagua Javier <[email protected]>
* CollectionBaseTest.cs: added new test provided by Carlos Barcenilla
	([email protected]).

svn path=/trunk/mcs/; revision=17225
2003-08-10 14:01:43 +00:00
Gonzalo Paniagua Javier 445a1acbb0 2003-08-10 Gonzalo Paniagua Javier <[email protected]>
* CollectionBase.cs: applied patch from Carlos Barcenilla
	([email protected]).

svn path=/trunk/mcs/; revision=17224
2003-08-10 14:00:32 +00:00
Gonzalo Paniagua Javier 8850e2edb8 2003-08-10 Gonzalo Paniagua Javier <[email protected]>
* Image.cs: commented out [MonoTODO]'s to fix windows build. Why?

svn path=/trunk/mcs/; revision=17222
2003-08-10 13:38:14 +00:00
Atsushi Eno 293bd1fdc8 2003-08-10 Atsushi Enomoto <[email protected]>
* XmlInputStream.cs : Reverted CanSeek as to return false anyway.

svn path=/trunk/mcs/; revision=17221
2003-08-10 09:00:36 +00:00
Dennis Hayes 93d64e7d1e signiture fixes. added control as base class for ComponentEditorForm.cs
svn path=/trunk/mcs/; revision=17220
2003-08-10 07:54:44 +00:00
Dennis Hayes b05362ee5a signiture fixes
svn path=/trunk/mcs/; revision=17219
2003-08-10 07:52:51 +00:00
Atsushi Eno cd0ee00b63 2003-08-10 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : added XmlResolver related members. Added
	  invalid entity recursion logic. Added encodingdecl check on textdecl.
	* DTDValidatingReader.cs : It now implements IHasXmlParserContext.
	* XmlChar.cs : IsPubidChar() should not allow TAB(&#9;).
	* XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
	  to receive DTDObjectModel to support other than XmlTextReader.
	  2) Most of its public member is now based on DTDObjectModel.
	* XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
	  2) ReadNode() now considers XmlParserContext's DTDObjectModel for
	  other than XmlTextReader (such as XmlValidatingReader).
	* XmlNode.cs : code cleanup only.
	* XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
	* XmlTextReader.cs : 1) Illegal entity reference check logic was moved
	  from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
	  change on ReadEntityReference(). 3) ReadAttribute() now checks
	  reference to external entity reference. 4) Added textdecl encoding
	  check. 5) DTDObjectModel fields are now set correctly. 6) added
	  PERef markup nest check. 7) If PEDecl was not found, it might be WFC
	  violation, not only be VC violation. 8) ReadEntityDecl() now receives
	  its declared entity itself, and this method checks IsInternalSubset.
	* XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
	  2) ValidationType.None should be the same as Auto, not DTD (in the
	  future it should keep xml schema's default values).

	Pending Stuff in XmlTextReader which breaks some NUnit tests;
	  1) SetEntityReferenceProperies() has check for illegal references.
	  2) ReadAttribute(bool) has similar check for illegal references.

svn path=/trunk/mcs/; revision=17218
2003-08-10 07:20:07 +00:00
Dennis Hayes 702703d7a0 signiture fixes
svn path=/trunk/mcs/; revision=17217
2003-08-10 06:02:32 +00:00
Dennis Hayes c158c7d448 *** empty log message ***
svn path=/trunk/mcs/; revision=17216
2003-08-10 05:21:42 +00:00
Dennis Hayes 3ace43db2b 2003-08-08 Dennis Hayes <[email protected]>
* Control.cs
	* MonthCalander.cs
	* Signiture corections.
		* implmentation stuff changed to internal
		* event "e" params names changed to "pevent" type names

svn path=/trunk/mcs/; revision=17215
2003-08-10 05:19:53 +00:00
Sebastien Pouliot 180df76bb2 2003-08-09 Sebastien Pouliot <[email protected]>
* crypto: Updated crypto status prior to mono's release 0.26

svn path=/trunk/mono/; revision=17214
2003-08-10 03:27:27 +00:00
Duncan Mak 7d262d9489 2003-08-09 Duncan Mak <[email protected]>
* Mono.Cairo.Cairo.cs:
	* Mono.Cairo.CairoObject.cs:
	* Mono.Cairo.CairoMatrixObject.cs:
	* Mono.Cairo.CairoSurfaceObject.cs: Added Cairo binding.

svn path=/trunk/mcs/; revision=17213
2003-08-10 03:23:30 +00:00
Miguel de Icaza 0a11737dce Flush
svn path=/trunk/mono/; revision=17212
2003-08-10 03:16:30 +00:00
Sebastien Pouliot de07b9e280 2003-08-09 Sebastien Pouliot <[email protected]>
* SymmetricAlgorithm.cs: Re-introduced Lluis patch for PaddingMode.None
	and PaddingMode.Zeros (not PaddingMode.PKCS7).

svn path=/trunk/mcs/; revision=17211
2003-08-10 03:10:13 +00:00
Miguel de Icaza 713240c5cc Flush
svn path=/trunk/mono/; revision=17207
2003-08-09 21:59:57 +00:00
Atsushi Eno 60222c8082 2003-08-09 Atsushi Enomoto <[email protected]>
* DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
	  sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().

svn path=/trunk/mcs/; revision=17206
2003-08-09 16:05:53 +00:00
Miguel de Icaza d6dd4e92c1 2003-08-09 Miguel de Icaza <[email protected]>
* namespace.cs: Remove redundant call;  Avoid using MakeFQN when
	we know that we need to concatenate (full typename can never be
	null).

	* class.cs: ditto.

svn path=/trunk/mcs/; revision=17205
2003-08-09 15:28:07 +00:00
Miguel de Icaza f66760ed0e Add two-level hash
svn path=/trunk/mcs/; revision=17204
2003-08-09 15:24:45 +00:00
Atsushi Eno 60b921f4e7 2003-08-09 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation
	  and supplied SkipWhitespace() as they needed. It broke monodoc.
	  Fixed ReadEntityValueDecl() to get correct value.

svn path=/trunk/mcs/; revision=17203
2003-08-09 15:24:07 +00:00
Atsushi Eno 54cf27af0a 2003-08-08 Atsushi Enomoto <[email protected]>
* XmlInputStream.cs :
	  Fixed Initialize() that might result in incorrect buffer.
	  CanRead and Position should consider buffer (especially when the
	  stream was EOF).
	  CanSeek should use stream's CanSeek.

	* XmlChar.cs : added GetPredefinedEntity().
	* DTDObjectModel.cs :
	  - Modified ComputeDefaultValue() to use it.
	  - Fixed NormalizedDefaultValue not to expect parsed value as string.
	  - ResolveExternalEntity now detects invalid standalone specification.
	  - DTDParameterEntityDeclaration.Value is now changed to property and
	    keep its resolved value of literal value of external value using
	    new Resolve (XmlResolver) method (called only by XmlTextReader).
	* DTDValidatingReader.cs :
	  - It now handles entity-expanded Whitespace and SignificantWhitespace
	    correctly. Does not raise unexpected text not allowed error.
	  - Fixed MoveToAttribute()s to move internal reader correctly, and
	    should be able to move in other cases than on element node.
	  - On Read()ing document type and ResolveEntity(), it now sets
	    XmlResolver on text reader.
	  - On ID constraints check and type verification, it now uses
	    normalized attribute or its tokenized value(s).
	  - Fixed ValidateAttributes() to add default values when
	    ValidationType is Auto.
	* XmlParserContext.cs : added internal Dtd setter.
	* XmlParserInput.cs :
	  InsertParameterEntityBuffer() should add surrounding whitespaces.
	  Removed unused code block.
	* XmlTextReader.cs :
	  - Modified ReadReference(), ReadAttribute() and Dereference() to use
	    XmlChar.GetPredefinedEntity().
	  - When returning entity reference, it checks extity declaration
	    existence in certain conditions.
	  - ReadAttribute() now skips general entity replacement on reading
	    entity value.
	  - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
	  - ReadXmlDeclaration() holds isStandalone, which might be used in
	    entity reference's well-formedness check.
	  - internal 'DTD' now uses XmlParserContext.Dtd.
	  - isInternalSubset was meaningless. Now uses input stack's Count.
	  - Added some required SkipWhitespace().
	  - Several parameter entity handling changes.  Added GetPEValue(name).
	    TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
	    now uses its Resolve() when it was external PE.  Now it uses value
	    buffer instead of currentTag, to efficiently read (included) PE.
	    CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
	    ImportAsPERef() simply inserts the value to currentInput.
	    ReadEntityDecl() also uses value buffer.   Removed non-used methods.
	  - Default attributes are now stored in normalized form.
	  - Dereference() now considers non-expanding predefined entities.
	* XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
	  is more correctly supported.

	* XmlAttributeCollection.cs :
	  When removing default attribute, it immediately inserts the attribute.
	  RemoveAll() should consider default (not-removable) attributes.
	* XmlDocument.cs :
	  Should have its default XmlResolver. Added Internal Resolver.
	  Some Load() should use its XmlResolver.
	  ImportNode() should copy its children in node level, not value level.
	  It also have to consider not to copy default attribute on importing
	  XmlElement.
	* XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
	* XmlAttribute.cs,
	  XmlDocumentFragment.cs.
	  XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
	* XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
	  ResolveEntity() uses XmlResolver on entityReader.

svn path=/trunk/mcs/; revision=17202
2003-08-09 09:48:35 +00:00
Miguel de Icaza 8d2e27dc3b Flush
svn path=/trunk/mcs/; revision=17201
2003-08-09 07:39:28 +00:00
Miguel de Icaza ecc54f1478 2003-08-09 Miguel de Icaza <[email protected]>
* statement.cs: Use a bitfield;  Do not initialize to null things
	which are done by the constructor by default.

svn path=/trunk/mcs/; revision=17200
2003-08-09 06:40:57 +00:00
Miguel de Icaza 0f66ea5ce3 2003-08-09 Miguel de Icaza <[email protected]>
* cs-parser.jay: bug fix, parameter was 4, not 3.

	* expression.cs: Just use the property;

	* statement.cs: No need for GetVariableInfo method.

svn path=/trunk/mcs/; revision=17199
2003-08-09 06:31:41 +00:00
Duncan Mak f5b539b28d (DrawBezier): Fixed.
svn path=/trunk/mcs/; revision=17198
2003-08-08 22:55:08 +00:00
Duncan Mak 1a06ceda70 * Graphics.cs (DrawArc):
(DrawBezier):
(DrawEllipse): Implemented for our XrImpl.

svn path=/trunk/mcs/; revision=17197
2003-08-08 21:59:50 +00:00
Lluis Sanchez db6f616b5b * CodeGenerator.cs: When sorting the members of a type, keep the relative
order of the members of the same kind.

svn path=/trunk/mcs/; revision=17193
2003-08-08 17:14:13 +00:00
Lluis Sanchez 814743dee5 * ParameterInfo.cs: Modified constructor of ParameterInfo for
the return type of a method. Since parameter positions are
	  zero-based, the position of the return type must be is -1.

svn path=/trunk/mcs/; revision=17192
2003-08-08 16:26:18 +00:00
Aleksey Ryabchuk dde15f4952 more implementation added
svn path=/trunk/mcs/; revision=17191
2003-08-08 15:49:35 +00:00
Aleksey Ryabchuk 2664e6052a more implementation added
svn path=/trunk/mcs/; revision=17190
2003-08-08 11:50:59 +00:00
Miguel de Icaza a857c773bd Flush
svn path=/trunk/mcs/; revision=17187
2003-08-08 05:51:23 +00:00
Miguel de Icaza a4c5b66d99 Import changes from mainline
svn path=/trunk/mcs/; revision=17186
2003-08-08 05:49:37 +00:00
Lluis Sanchez 3e0a594dc5 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
of DateTime.
 	* Environment.cs: return $HOME for ApplicationData folder.

svn path=/trunk/mcs/; revision=17179
2003-08-07 23:57:36 +00:00
Lluis Sanchez 7d6e04edf3 * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
of DateTime.
	* Environment.cs: return $HOME for ApplicationData folder.

svn path=/trunk/mcs/; revision=17177
2003-08-07 23:39:39 +00:00
Lluis Sanchez d77ee8ff9f * CodeIdentifier.cs: Fixed MakeValid method.
* TypeTranslator.cs: Added support for more primitive types. Added
	  GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
	  maps by default.
	* XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
	  are different from the type ns and name.
	  Generate class and field comments.
	  Fixed default attribute generation. In elements with ref attribute, it has to be
	  generated in the referred attribute.
	* XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
	  Added suport for text nodes in members of type "any".
	* XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
	  content.
	* XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
	* XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
	  that have already been declared.
	  WriteStartElement(): elements from schema namespace are always written with ns prefix.
	* XmlTypeMapMember.cs: Added documentation property.
	* XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
	  represents a simple type.

svn path=/trunk/mcs/; revision=17175
2003-08-07 23:15:36 +00:00
Martin Baulig e21ca5cbcd 2003-08-08 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowReturns): This is now nested in the
	`FlowBranching' class.
	(MyBitVector): Moved this here from statement.cs.
	(FlowBranching.SiblingType): New enum type.
	(FlowBranching.CreateSibling): Added `SiblingType' argument.

svn path=/trunk/mcs/; revision=17172
2003-08-07 22:57:51 +00:00
Lluis Sanchez 2e57ed311b * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
XsdDateTime, XsdDate, XsdTime.

svn path=/trunk/mcs/; revision=17171
2003-08-07 22:39:12 +00:00
Lluis Sanchez b4c56463e3 * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
a given id is a C# keyword, and returns the same if if it is not,
	  or @id if it is a keyword. This method is used everywhere
	  a name is rendered.

svn path=/trunk/mcs/; revision=17168
2003-08-07 22:24:27 +00:00
Atsushi Eno 87249885f7 2003-08-07 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs :
	  - Added validation error check (and AddError(), Errors).
	  - Fixed ComputeDefaultValue() to handle various references correctly.
	  - DTDEntityDeclaration.EntityValue became property, and added
	    LiteralEntityValue. The new one holds resolved value.
	    Added ResolveExternalEntity(). It now required root in .ctor().
	* DTDValidatingReader.cs :
	  - Now it handles namespaced attributes (as input to xsd validator).
	  - Added XmlResolver property as usual XmlReader.
	  - Added currentEntityHandling field so that it can stand changing
	    XmlValidatingReader's EntityHandling dynamically.
	  - FilterNormalization() now requires name for getting datatypes and
	    can stand for non-current attribute normalization.
	  - Splitted ReadContent() from Read() that can be called recursively
	    when expanding entities.
	  - Now handles Entity not found error *after* resolution of entities,
	    as MS.NET does.
	  - Read()ing DTD checks its Errors and raises validation error events.
	    In some situations, DTD parsing may detect VC error, not WFC error.
	    It also strictly checks NData existence.
	  - Handling of entity-resolved text is a bit changed and Read()ing
	    element, endElement, cdata now changed to switch collecting text
	    and collected text.
	  - content type ANY should allow texts.
	  - Added enumerated attribute validity check.
	  - Added Name/Names creation rule check for ID/IDREF/IDREFS.
	  - Added entity existence check for ENTITY/ENTITIES attributes.
	  - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
	  - Fixed to remove extraneous #REQUIRED check.
	  - Contributing default attribute is now only applied to the case
	    ValidationType is DTD or None.
	  - ResolveEntity() now handles external entities.
	    Added Mono.Xml.IXmlParserContext interface support.
	* XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
	* XmlTextReader.cs :
	  - Fixed ReadAttributeValue() to reset returnEntityReference.
	  - Added bool MaybeTextDecl only for ResolveEntity().
	  - Fixed ReadWhitespace(). In fact its value is considered even if it
	    is in the end of the XML.
	  - Fixed ReadXmlDeclaration(). Now skips text declaration.
	  - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
	  - ReadContentSpec() should set OrderType = OR for mixed model.
	    Fixed to set content element name correctly.
	  - ImportAsPERef() now skips Text declaration.
	  - Type of enumerated default attributes shold be string.
	  - Undeclared PE error is now handled as DTD's VC error, not
	    XmlTextReader's WFC error.
	* XmlValidatingReader.cs : BaseURI should provide that of
	  original XmlReader's when read was not started yet.
	  Fixed XmlResolver to delegate to DTDValidatingReader.

	* XmlAttributeCollection.cs : Acquiring attList declaration is
	  insufficient especially in case of lack of elementdecl.
	* XmlChar.cs : (Maybe this is compact than XmlConstructs.)
	  added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
	  IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.

	* XmlInputStream.cs : Removed "version" declaration check. It should
	  be done by XmlTextReader.

	* XmlNodeReader.cs : added internal GetInternalParserContext() and now
	  it can be used in XmlValidatingReader.ResolveEntity().
	  ResolveEntity() sets XmlTextReader.MaybeTextDecl.

svn path=/trunk/mcs/; revision=17167
2003-08-07 22:08:17 +00:00
Atsushi Eno e272f9e85d 2003-08-07 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources: Add Mono.Xml/IHasXmlParserContext.cs.

svn path=/trunk/mcs/; revision=17166
2003-08-07 22:06:16 +00:00
Atsushi Eno d6f7ecbb69 2003-08-07 Atsushi Enomoto <[email protected]>
* added IHasXmlParserContext.cs.

svn path=/trunk/mcs/; revision=17165
2003-08-07 22:04:46 +00:00
Atsushi Eno cd243c7eb6 2003-08-07 Atsushi Enomoto <[email protected]>
* BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
	  Tokenized type of nmtokens and entities is string [].
	* XmlSchema.cs : Changed IsCompile implementation a bit.
	  Compile() should reset compiled contents.
	* XmlSchemaDatatype.cs : Fixed collapsing Normalize().
	* XmlSchemaObject.cs : added CompilationId initialization.

svn path=/trunk/mcs/; revision=17164
2003-08-07 22:00:44 +00:00
Martin Baulig 16d640ef03 2003-08-07 Martin Baulig <[email protected]>
* flowanalysis.cs (FlowBranchingType): This is now nested in the
	`FlowBranching' class and called `BranchingType'.

svn path=/trunk/mcs/; revision=17163
2003-08-07 21:28:55 +00:00
Alexandre Pigolkine 5cf18eb164 precompiled windows version updated
svn path=/trunk/mcs/; revision=17162
2003-08-07 21:28:50 +00:00
Martin Baulig 676434649e 2003-08-07 Martin Baulig <[email protected]>
* flowanalysis.cs: Moved all the control flow analysis code into
	its own file.

svn path=/trunk/mcs/; revision=17161
2003-08-07 21:20:47 +00:00
Martin Baulig dcfccb29a4 2003-08-07 Martin Baulig <[email protected]>
* assign.cs (Assign.DoResolve): `target' must either be an
	IAssignMethod or an EventAccess; report a CS0131 otherwise.  Fixes
	#37319.

svn path=/trunk/mcs/; revision=17160
2003-08-07 19:58:34 +00:00
Ben Maurer f09eb5a418 2003-08-07 Ben Maurer <[email protected]>
* XslTransformProcessor.cs: Add a table to detect when an object
	is busy.
	* XslAttributeSet.cs: Use the above table. Dont throw nullref
	exception when no use-attribute-sets are specified.

svn path=/trunk/mcs/; revision=17159
2003-08-07 19:45:06 +00:00
Paolo Molaro 991d58037a Fixed imm16 range check.
svn path=/trunk/mono/; revision=17157
2003-08-07 14:13:05 +00:00
Paolo Molaro c717a4e598 Thu Aug 7 15:59:35 CEST 2003 Paolo Molaro <[email protected]>
* mini-ppc.c: fixed indexed load and unsigned compares.

svn path=/trunk/mono/; revision=17156
2003-08-07 14:12:28 +00:00
Miguel de Icaza b3d47c4772 2003-08-07 Miguel de Icaza <[email protected]>
* expression.cs (BinaryMethod): This kind of expression is created by the
	Binary class if it determines that the operator has to be handled
	by a method.

	(BinaryDelegate): This kind of expression is created if we are
	dealing with a + or - operator on delegates.

	(Binary): remove method, argumetns, and DelegateOperator: when
	dealing with methods,

	* ecore.cs (EventExpr.EmitAddOrRemove): Update to new layout.

	* statement.cs (Block): use bitfields for the three extra booleans
	we had in use.   Remove unused topblock parameter.

	* codegen.cs: Remove unecessary argument to Block.EmitTopBlock

	* assign.cs: Drop extra unneeded tests.

svn path=/trunk/mcs/; revision=17153
2003-08-07 05:23:50 +00:00
Duncan Mak 1c69609f3c * Xr/Bitmap.cs: Reformatted. All public methods turn into
corresponding explicit interface implmentations.

* wine/Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.

* wine/Bitmap.cs:
* wine/Image.cs: Reformatted.

svn path=/trunk/mcs/; revision=17152
2003-08-07 03:38:55 +00:00
Gaurav Vaish 00cd66d4a3 2003-08-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs     : Mark Render(...) virtual.
* HtmlControlAdapter.cs : AddAttributes(...),
                          ExitSecondaryUIMode(),
                          LoadAdapterState(),
                          Render(...)               - Implemented.

svn path=/trunk/mcs/; revision=17151
2003-08-07 03:36:22 +00:00
Miguel de Icaza ca9caee010 update
svn path=/trunk/mono/; revision=17150
2003-08-07 03:31:30 +00:00
Duncan Mak 0ed0181388 * ItfImage.cs: Reformatted and removed sections that were
commented out. Added missing methods that were in
System.Drawing.Image but not the interface.

* ItfBitmap.cs: Reformatted.

* Image.cs: Reformatted. Make all methods defined in the interface
non-public, and expose them only as explicit interface implementations.

* Graphics.cs (FromImage): cast xrImage to IImage.

* Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.

* Image.cs: Reformatted.

* Graphics.cs (DrawImage): Cast wineImage to IImage before calling
interface properties.

svn path=/trunk/mcs/; revision=17148
2003-08-07 01:26:42 +00:00
Miguel de Icaza 9922fbf074 Fix from J�rg Rosenkranz <[email protected]>
svn path=/trunk/mcs/; revision=17137
2003-08-06 19:14:41 +00:00
Andreas N 4498024c90 2003-08-06 Andreas Nahr <[email protected]>
* TargetInvocationException.cs: Fixed signature

svn path=/trunk/mcs/; revision=17115
2003-08-06 10:19:34 +00:00
Andreas N 20d4d4e480 2003-08-06 Andreas Nahr <[email protected]>
* corlib.dll.sources: added quite some files

svn path=/trunk/mcs/; revision=17114
2003-08-06 10:16:04 +00:00
Andreas N 0a92a6acf1 2003-08-06 Andreas Nahr <[email protected]>
* UCOMIBindCtx.cs: Added and implemented
	* UCOMIConnectionPoint.cs: Added and implemented
	* UCOMIConnectionPointContainer.cs: Added and implemented
	* UCOMIEnumConnectionPoints.cs: Added and implemented
	* UCOMIEnumConnections.cs: Added and implemented
	* UCOMIEnumMoniker.cs: Added and implemented
	* UCOMIEnumString.cs: Added and implemented
	* UCOMIEnumVARIANT.cs: Added and implemented
	* UCOMIMoniker.cs: Added and implemented
	* UCOMIPersistFile.cs: Added and implemented
	* UCOMIRunningObjectTable.cs: Added and implemented
	* UCOMIStream.cs: Added and implemented

	* UCOMTypeComp.cs: renamed
	* UCOMTypeInfo.cs: renamed
	* UCOMTypeLib.cs: renamed

	* ITypeLibConverter.cs: Fixed interface signature

	* ComSourceInterfacesAttribute.cs: Added and implemented
	* IDispatchImplAttribute.cs: Added and implemented
	* InvalidComObjectException.cs: Added and implemented
	* InvalidOleVariantTypeException.cs: Added and implemented
	* MarshalDirectiveException.cs: Added and implemented
	* SafeArrayRankMismatchException.cs: Added and implemented
	* SafeArrayTypeMismatchException.cs: Added and implemented
	* SEHException.cs: Added attribute
	* UnknownWrapper.cs: Added and implemented

	* BIND_OPTS.cs:
	* CONNECTDATA.cs:
	* ELEMDESC.cs:
	* FILETIME.cs:
	* FUNCDESC.cs:
	* IDLDESC.cs:
	* PARAMDESC.cs:
	* STATSTG.cs:
	* TYPEATTR.cs:
	* TYPEDESC.cs:
	* TYPELIBATTR.cs:
	* VARDESC.cs: Added and implemented

	* CALLCONV.cs:
	* FUNCFLAGS.cs:
	* FUNCKIND.cs:
	* IDispatchImplType.cs:
	* IDLFLAG.cs:
	* IMPLTYPEFLAGS.cs:
	* LIBFLAGS.cs:
	* PARAMFLAG.cs:
	* SYSKIND.cs:
	* TYPEFLAGS.cs:
	* TypeLibImporterFlags.cs:
	* VARFLAGS.cs: Added and implemented

svn path=/trunk/mcs/; revision=17113
2003-08-06 10:14:25 +00:00
Andreas N 7ef92957c9 2003-08-06 Andreas Nahr <[email protected]>
* Locale.cs: Removed (added new version to Assembly directory)

svn path=/trunk/mcs/; revision=17112
2003-08-06 10:10:18 +00:00
Andreas N e98935976d 2003-08-06 Andreas Nahr <[email protected]>
* corlib.dll.sources: added/removed Locale.cs

svn path=/trunk/mcs/; revision=17111
2003-08-06 10:09:29 +00:00
Andreas N d521faa20f 2003-08-06 Andreas Nahr <[email protected]>
* Locale.cs: Added

svn path=/trunk/mcs/; revision=17110
2003-08-06 10:08:38 +00:00
Lluis Sanchez 60e5aa9929 * mini.c: reenabled installation of handler for
thread abort signal.

svn path=/trunk/mono/; revision=17109
2003-08-06 08:57:01 +00:00
Miguel de Icaza 59b0c25dd8 2003-08-06 Miguel de Icaza <[email protected]>
* iterators.cs (Mapvariable): provide a mechanism to use prefixes.

	* statement.cs (Foreach): Use VariableStorage instead of
	LocalBuilders.

	* codegen.cs (VariableStorage): New class used by clients that
	require a variable stored: locals or fields for variables that
	need to live across yield.

	Maybe provide a convenience api for EmitThis+EmitLoad?

svn path=/trunk/mcs/; revision=17108
2003-08-06 07:08:12 +00:00
Miguel de Icaza d5c879d743 Add a multi-array test
svn path=/trunk/mcs/; revision=17107
2003-08-06 07:02:54 +00:00
Miguel de Icaza fa9baa0bf5 Add tests, update tests
svn path=/trunk/mcs/; revision=17106
2003-08-06 07:00:55 +00:00
John Luke ca4fbf9383 update my info
svn path=/trunk/mono/; revision=17104
2003-08-06 05:40:36 +00:00
Miguel de Icaza ba0f8f22b1 2003-08-06 Miguel de Icaza <[email protected]>
* codegen.cs (GetTemporaryLocal, FreeTemporaryLocal): Recycle
	these bad boys.

svn path=/trunk/mcs/; revision=17102
2003-08-06 05:20:58 +00:00
Juli Mallett 706206c2cf Start settling in to Honolulu, Hawai`i.
svn path=/trunk/mono/; revision=17099
2003-08-06 04:32:29 +00:00
Martin Baulig 9fa5a2b278 Small fix for static methods.
svn path=/trunk/mono/; revision=17097
2003-08-06 03:01:01 +00:00
Duncan Mak 947bdf1771 What's going on with the letter c today?
svn path=/trunk/mcs/; revision=17096
2003-08-06 02:52:26 +00:00
Duncan Mak 9c206aa46e beh, again.
svn path=/trunk/mcs/; revision=17095
2003-08-06 02:49:44 +00:00
Duncan Mak e51f8b020e beh.
svn path=/trunk/mcs/; revision=17094
2003-08-06 02:47:27 +00:00
Duncan Mak 9651b2aea3 (GetTokenIndex): Add implementation for
IBuiltInPermission for Sebastien.

svn path=/trunk/mcs/; revision=17093
2003-08-06 02:46:42 +00:00
Miguel de Icaza d7b8acebb2 Flush
svn path=/trunk/mcs/; revision=17092
2003-08-06 02:27:53 +00:00
Sebastien Pouliot fb4ecf4a40 2003-08-05 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Added test case from bugzilla #40689 from
	Henning Westerholt.

svn path=/trunk/mcs/; revision=17091
2003-08-06 02:21:40 +00:00
Sebastien Pouliot 3e43dfe09d 2003-08-05 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Closing bug #40689. The Write method was re-written.
	* SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
	test) and corrected a bug in FinalDecrypt.
	* RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
	and 1.1.

svn path=/trunk/mcs/; revision=17090
2003-08-06 02:21:05 +00:00
Martin Baulig 03fb9b4630 2003-08-06 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Added support for static fields,
	properties and methods.

svn path=/trunk/mono/; revision=17088
2003-08-06 02:15:21 +00:00
Miguel de Icaza 0d37613f2c 2003-08-05 Miguel de Icaza <[email protected]>
* codegen.cs (RemapLocal, RemapLocalLValue, RemapParameter,
	RemapParameterLValue): New methods that are used to turn a
	precomputed FieldInfo into an expression like this:

		instance.FieldInfo

	The idea is to use this instead of making LocalVariableReference
	have more than one meaning.

	* cs-parser.jay: Add error production to BASE.

	* ecore.cs: Deal with TypeManager.GetField returning null, which
	is now a valid return value.

	(FieldExprNoAddress): New expression for Fields whose address can
	not be taken.

	* expression.cs (LocalVariableReference): During the resolve
	phases, create new expressions if we are in a remapping context.
	Remove code that dealt with remapping here.

	(ParameterReference): same.

	(ProxyInstance): New expression, like the `This' expression, but
	it is born fully resolved.  We know what we are doing, so remove
	the errors that are targeted to user-provided uses of `this'.

	* statement.cs (Foreach): our variable is now stored as an
	Expression;  During resolution, follow the protocol, dont just
	assume it will return this.

svn path=/trunk/mcs/; revision=17087
2003-08-06 01:24:45 +00:00
Martin Baulig 63a1290725 2003-08-06 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Don't store the MonoString's vtable to
	make this work for applications with multiple application domains.

svn path=/trunk/mono/; revision=17085
2003-08-06 01:03:57 +00:00
Duncan Mak 71cdce9abf * ZoneMembershipCondition.cs: Added.
* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
headers do not match.

svn path=/trunk/mcs/; revision=17083
2003-08-06 00:34:49 +00:00
Duncan Mak e1d83a7dee * IsolatedStorageFilePermission.cs:
* RegistryPermission.cs:
* SecurityPermission.cs
* SiteIdentityPermission.cs:
* UIPermission.cs:
* UrlIdentityPermission.cs: (FromXml);
(ToXml): Implemented.

* PolicyStatement.cs (FromXml):
(ToXml): Implemented.

svn path=/trunk/mcs/; revision=17082
2003-08-06 00:03:52 +00:00
Martin Baulig a93aa128ac 2003-08-05 Martin Baulig <[email protected]>
* StreamReader.cs (DiscardBufferedData): Do the same like on the
	ms runtime: just discard the buffered data, but don't modify the
	BaseStream.Position.

svn path=/trunk/mcs/; revision=17081
2003-08-05 23:44:24 +00:00
Martin Baulig 2a89399f8b 2003-08-06 Martin Baulig <[email protected]>
* support.cs (SeekableStreamReader.cs): New public class.

	* cs-tokenizer.cs, cs-parser.jay, driver.cs: Use the new
	SeekableStreamReader instead of the normal StreamReader.

svn path=/trunk/mcs/; revision=17080
2003-08-05 23:43:05 +00:00
Ben Maurer 279020cc53 2003-08-05 Ben Maurer <[email protected]>
* XslVariable.cs: Fix up how variables are evaluated.

svn path=/trunk/mcs/; revision=17078
2003-08-05 21:24:43 +00:00
Martin Baulig 40b300968d 2003-08-05 Martin Baulig <[email protected]>
* MonoSymbolTable.cs (MethodEntry.Index): New public field.

svn path=/trunk/mcs/; revision=17077
2003-08-05 20:21:27 +00:00
Martin Baulig f8ff4a9743 2003-08-05 Martin Baulig <[email protected]>
* StreamReader.cs (DiscardBufferedData): This is only allowed on
	seekable streams.

svn path=/trunk/mcs/; revision=17076
2003-08-05 20:19:38 +00:00
Lluis Sanchez 4de0bcd2ae * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
stuff.
	* SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
	* TypeData.cs: Added property that returns a TypeData that represents an array of
	  the given TypeData.
	* TypeTranslator.cs: Added GetArrayName() method.
	  Added TypeDatas for missing primitive types.
	* XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
	  XmlRootAttribute. Added the namespace to all attributes being generated.
	  Other fixes in the generation of code.
	* XmlReflectionImporter: store the namespace of the type in the maps.
	* XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
	  class can generate text. Do not export inherited attributes of a class.
	  Use the new root namespace stored in the map when generating the root element.
	* XmlSerializationWriter: Always write a prefix when writing a qname, even if the
	  namespace is the default namespace.
	* XmlSerializationWriterInterpreter.cs: fixed missing "else".
	* XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
	  namespace instead of the map namespace (which can be different if the type
	  has a XmlRoot element).
	* XmlTypeMapMember.cs: Set the default value of the DefaultValue property
	  to System.DBNull.Value.
	* XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
	  the collection if it has not yet been created.
	* XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
	  of the type. It may be different from the namespace of the map if the type
	  has a XmlRoot element. Also added IsSimpleType property.
	  In ClassMap, added AllMembers property.

svn path=/trunk/mcs/; revision=17075
2003-08-05 17:22:50 +00:00
Lluis Sanchez 42ebf98abd * XmlSchema.cs: Set IsCompiled to true after compiling.
In Compile(): ignore included schemas that do not have a value
	  in SchemaLocation. It means that FindElement can return null
	  if the referred schema was ignored. Added check for that case.
	  Compile schema after reading it.
	* XmlSchemaCollection.cs: The targetNamespace of a schema may
	  be null. Make XmlSchemaCollection work for this case.
	* BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
	  types: float, base64Binary, boolean.

svn path=/trunk/mcs/; revision=17074
2003-08-05 17:13:49 +00:00
Atsushi Eno aafa71b5af 2003-08-05 Atsushi Enomoto <[email protected]>
* XmlReaderCommonTests.cs : Its XmlValidatingReader.EntityHandling
	  should be ExpandCharEntities.
	* XmlValidatingReaderTests.cs : added ResolveEntity(),
	  ResolveEntity2() and ResolveEntityWithoutDTD().

svn path=/trunk/mcs/; revision=17073
2003-08-05 16:17:37 +00:00
Atsushi Eno db2b411f1c 2003-08-05 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs :
	  Added full ExpandEntities support for text node and entity reference
	  node (although require many usage tests). Almost all methods and
	  properties now have currentTextValue != null check, that field means
	  that there are cached (entity-resolved) text.
	  Implemented default attribute aware XmlLang and XmlSpace.
	* XmlNodeReader.cs : ResolveEntity() should not require DTD.

svn path=/trunk/mcs/; revision=17072
2003-08-05 16:09:57 +00:00
Lluis Sanchez 1c29452f94 * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
svn path=/trunk/mcs/; revision=17071
2003-08-05 15:49:26 +00:00
Lluis Sanchez 531c57df8e * CodeGenerator.cs: Generate comments for properties and fields.
Write a line separator between type declarations.

svn path=/trunk/mcs/; revision=17070
2003-08-05 15:46:57 +00:00
Paolo Molaro d9108ff636 Tue Aug 5 12:21:08 CEST 2003 Paolo Molaro <[email protected]>
* cprop.c, mini-x86.c, cpu-pentium.md: fix buglets spotted
	by Laurent Morichetti <[email protected]>. Disabled local cprop
	until it's fixed and actually useful.

svn path=/trunk/mono/; revision=17069
2003-08-05 10:32:07 +00:00
Nick Drochak 4f5aacc6e4 2003-08-05 Nick Drochak <[email protected]>
* IClassRef.cs: Fix build on .NET

svn path=/trunk/mcs/; revision=17068
2003-08-05 07:09:20 +00:00
Duncan Mak 58cd72173c 2003-08-04 Duncan Mak <[email protected]>
* IConstantMembershipCondition.cs: added.

svn path=/trunk/mcs/; revision=17067
2003-08-05 04:27:47 +00:00
Miguel de Icaza 017b4761c4 Flush
svn path=/trunk/mono/; revision=17066
2003-08-05 03:59:28 +00:00
Duncan Mak 8033cf3a9e * AllMembershipCondition.cs:
* ApplicationDirectoryMembershipCondition.cs:
* PublisherMembershipCondition.cs: Added
IConstantMembershipCondition marker interface.

svn path=/trunk/mcs/; revision=17065
2003-08-05 03:08:44 +00:00
Miguel de Icaza d4c234ea03 Flush
svn path=/trunk/mono/; revision=17064
2003-08-05 01:40:04 +00:00
Alexandre Pigolkine bb111c4754 keep loaded image buffer for a moment
svn path=/trunk/mcs/; revision=17063
2003-08-04 22:40:27 +00:00
Ben Maurer 40bc6f35da 2003-08-04 Ben Maurer <[email protected]>
* XslMessage.cs: Implement.

svn path=/trunk/mcs/; revision=17061
2003-08-04 22:05:24 +00:00
Ben Maurer ec9732b750 2003-08-04 Ben Maurer <[email protected]>
* XslText.cs: I can make that parsing simpler!
	* XslText.cs, XslValueof.cs: support for disable-output-escaping.

svn path=/trunk/mcs/; revision=17060
2003-08-04 21:54:23 +00:00
Ben Maurer a734d65915 type s/null/""
svn path=/trunk/mcs/; revision=17059
2003-08-04 21:52:48 +00:00
Ben Maurer 595f15f13c 2003-08-04 Ben Maurer <[email protected]>
* Compiler.cs: Add support for boolean attributes (yes/no).

svn path=/trunk/mcs/; revision=17058
2003-08-04 21:33:23 +00:00
Duncan Mak cdf4f2e077 * FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
Demakov <[email protected]> to fix formatting for Big power of 10
floating point values. This fixes bug #46175.

* FloatingPointFormatterTest.cs: New file. Added with one test by
Aleksey Demakov <[email protected]>.

svn path=/trunk/mcs/; revision=17057
2003-08-04 20:48:19 +00:00
Duncan Mak 786dbc174f * Convert.cs (ToUInt16): Throw an OverflowException correctly, as
noted by [email protected] in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.

* ConvertTest.cs (TestToUInt16): Add a new case noted by
[email protected] in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.

svn path=/trunk/mcs/; revision=17056
2003-08-04 20:28:59 +00:00
Duncan Mak 4e8989183e 2003-08-04 Duncan Mak <[email protected]>
* StrongNamePublicKeyBlob.cs (FromString): Added new internal
	factory method to create a new blob from a string.

2003-08-03  Duncan Mak  <[email protected]>

	* StrongNameMembershipCondition.cs:
	* UrlMembershipCondition.cs: Implemented.

2003-08-01  Duncan Mak  <[email protected]>

	* PolicyStatement.cs (Copy): Added.

	* PolicyLevel.cs: Implemented missing methods.

svn path=/trunk/mcs/; revision=17055
2003-08-04 16:20:16 +00:00
Malte Hildingson 7cdd8c8a50 * configure.in: updated, neater ARM FPU test.
svn path=/trunk/mono/; revision=17054
2003-08-04 14:25:50 +00:00
Martin Baulig 188ee75a22 2003-08-04 Martin Baulig <[email protected]>
* Makefile: Put back test-211.cs.

svn path=/trunk/mcs/; revision=17053
2003-08-04 13:47:44 +00:00
Martin Baulig ba38a99cbe 2003-08-04 Martin Baulig <[email protected]>
* cs-parser.jay (CLOSE_PARENS_CAST, CLOSE_PARENS_NO_CAST,
	CLOSE_PARENS_OPEN_PARENS, CLOSE_PARENS_MINUS): New tokens to
	deambiguate casts and delegate invocations.
	(parenthesized_expression): Use the new tokens to ensure this is
	not a cast of method invocation.

	* cs-tokenizer.cs (is_punct): Return one of the new special tokens
	when reading a `)' and Deambiguate_CloseParens () was previously
	called.

	* expression.cs (ParenthesizedExpression): New class.  This is
	just used for the CS0075 test.
	(Binary.DoResolve): Check for CS0075.

svn path=/trunk/mcs/; revision=17052
2003-08-04 13:45:52 +00:00
Martin Baulig 2ac3dab1ba 2003-08-04 Martin Baulig <[email protected]>
* StreamReader.cs (DiscardBufferedData): Implemented.

svn path=/trunk/mcs/; revision=17051
2003-08-04 13:32:10 +00:00
Martin Baulig cf027e6a5c 2003-08-04 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Completely reworked the type support; the
	most important thing is that we're now just using one single
	`MonoType' instance per type.

svn path=/trunk/mono/; revision=17049
2003-08-04 13:12:48 +00:00
Paolo Molaro 73b7a628fc Mon Aug 4 12:12:26 CEST 2003 Paolo Molaro <[email protected]>
* inssel-long32.brg: couple more opcodes implemented.

svn path=/trunk/mono/; revision=17046
2003-08-04 10:22:15 +00:00
Miguel de Icaza 6bb0acc0cf Fix from J�rg Rosenkranz <[email protected]>
svn path=/trunk/mcs/; revision=17045
2003-08-04 10:09:49 +00:00
Jackson Harper 7dea6ded72 * ILParser.jay: Use new sentinel type. Create valuetypes.
svn path=/trunk/mcs/; revision=17044
2003-08-04 06:58:50 +00:00
Jackson Harper 796d23099d Add sentinel
svn path=/trunk/mcs/; revision=17043
2003-08-04 06:58:12 +00:00
Jackson Harper df57d35245 * IClassRef.cs: Add method for making types into value types
* ExternTypeRef.cs: Add functionality for valuetypes
	* MethodDef.cs: Handle Vararg signatures individually. Fixes for
	new Sentinel type in vararg signatures
	* MethodRef.cs: Use new SentinelTypeRef instead of Sentinel type
	ref constant.
	* ParamDef.cs: New method to check if this parameter is the sentinel
	* TypeRef.cs: Add some functionality for creating valuetypes
	* Sentinel.cs: New type represents the sentinel

svn path=/trunk/mcs/; revision=17042
2003-08-04 06:57:47 +00:00
Jackson Harper f576c55f6f * PEAPI.cs: New Sentinel type.
svn path=/trunk/mcs/; revision=17041
2003-08-04 06:43:34 +00:00
Ben Maurer 3e43445d64 2003-08-04 Ben Maurer <[email protected]>
* Compiler.cs: Add method LocalNameOf, to get the local name of a
	string.
	* XslTransformProcessor.cs: Support for setting the XmlResolver.
	* XslElement.cs, XslAttribute.cs: Better support for namespaces.
	* XslAvt.cs: When precalculating, if the AVT is null (ie, the
	attribute was not specified), just return null, that will be the
	result.
	* ManagedXslTransform.cs: use the resolver given.

svn path=/trunk/mcs/; revision=17040
2003-08-04 04:28:11 +00:00
Gonzalo Paniagua Javier ce89f3c948 forgot this one
svn path=/trunk/mcs/; revision=17038
2003-08-04 00:16:11 +00:00
Sebastien Pouliot 2e6724d2b6 2003-08-03 Sebastien Pouliot <[email protected]>
* EnvironmentPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 0.
	* FileDialogPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 1.
	* IsolatedStorageFilePermission.cs: Added IBuiltInPermission.
	GetTokenIndex. Returns 3.
	* PrincipalPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 8.
	* PublisherIdentityPermission.cs: Added IBuiltInPermission.
	GetTokenIndex. Returns 9.
	* ReflectionPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 4.
	* RegistryPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 5.
	* SecurityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 6.
	* SiteIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 10.
	* StrongNameIdentityPermission.cs: Added [Serializable] and
	IBuiltInPermission.GetTokenIndex. Returns 11.
	* UIPermission.cs: Added IBuiltInPermission.GetTokenIndex. Returns 7.
	* UrlIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 12.
	* ZoneIdentityPermission.cs: Added IBuiltInPermission.GetTokenIndex.
	Returns 13.

svn path=/trunk/mcs/; revision=17037
2003-08-04 00:14:44 +00:00
Gonzalo Paniagua Javier 473b1f8433 2003-08-04 Gonzalo Paniagua Javier <[email protected]>
* ArrayList.cs: added / so that gvim syntax highlight doesn't go crazy.
	* CollectionBase.cs: fixed several bugs reported by Carlos Barcenilla
	([email protected]). Most of the patch is also his.

svn path=/trunk/mcs/; revision=17036
2003-08-04 00:11:17 +00:00
Gonzalo Paniagua Javier a448c5900a 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
* CollectionBaseTet.cs: added a few more tests. Now derives from
	Assertion.

svn path=/trunk/mcs/; revision=17035
2003-08-04 00:05:26 +00:00
Gonzalo Paniagua Javier 1998ac5c64 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
* CollectionBaseTet.cs: added a few more tests. Now derives from
	Assertion.

svn path=/trunk/mcs/; revision=17034
2003-08-03 23:55:48 +00:00
Sebastien Pouliot 081611f02f 2003-08-03 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Added IBuiltInPermission.cs to System.Security.Permissions

svn path=/trunk/mcs/; revision=17033
2003-08-03 23:04:36 +00:00
Sebastien Pouliot 173346f9b4 2003-08-03 Sebastien Pouliot <[email protected]>
* IBuiltInPermission.cs: New. Undocumented interface used by most
	<*>Permission classes.

svn path=/trunk/mcs/; revision=17032
2003-08-03 22:59:21 +00:00
Alexandre Pigolkine e5ff6811f7 RadioButton painting in OnPaint
svn path=/trunk/mcs/; revision=17031
2003-08-03 22:17:48 +00:00
Jerome Laban e25f84860e 2003-08-04 Jerome Laban <[email protected]>
* IPHostEntry.cs: Default contructor must not initialize members.
        (Fixes bug #45575).

svn path=/trunk/mcs/; revision=17030
2003-08-03 22:14:05 +00:00
Alexandre Pigolkine bb179518d8 delegate Dispose to implementation
svn path=/trunk/mcs/; revision=17029
2003-08-03 22:13:40 +00:00
Malte Hildingson a540c31c75 * configure.in: added FPU test for ARM.
* mono-endian.h: changed to utilise the new ARM FPU defines.

svn path=/trunk/mono/; revision=17027
2003-08-03 20:30:10 +00:00
Jackson Harper 32cfb3aac4 * PEAPI.cs: Only give method definitions 0 RVAs if they are
marked abstract.

svn path=/trunk/mcs/; revision=17026
2003-08-03 18:33:28 +00:00
Jackson Harper a5bedf33a4 * ILParser.jay: Make value types and enum types.
svn path=/trunk/mcs/; revision=17025
2003-08-03 18:31:03 +00:00
Jackson Harper 2c9c40f562 * TypeDef.cs: Make types into value types if specified. Also
add the functionality to make types into Enums.
	TODO: Value types of nested classes.

svn path=/trunk/mcs/; revision=17024
2003-08-03 18:29:02 +00:00
Gonzalo Paniagua Javier 213c1f706e 2003-08-03 Gonzalo Paniagua Javier <[email protected]>
* AspGenerator.cs: fixed bug #46429.

svn path=/trunk/mcs/; revision=17023
2003-08-03 17:01:27 +00:00
Jackson Harper ea567d2549 * LabelInfo.cs: Move this type outside of MethodDef, because other
types use LabelInfos for label references now.
	* BranchInstr.cs: Take a LabelInfo instead of information on a label.
	* HandlerBlock.cs: Take a LabelInfo instead of information on a label.
	* MethodDef.cs: Return LabelInfo from AddLabel methods. New method for
	adding a reference to a label.

svn path=/trunk/mcs/; revision=17022
2003-08-03 16:01:35 +00:00
Jackson Harper 0b46235317 Add LabelInfo to build
svn path=/trunk/mcs/; revision=17021
2003-08-03 16:00:09 +00:00
Jackson Harper beec09f350 * ILParser.jay: Create label references where appropriate instead
of adding labels.

svn path=/trunk/mcs/; revision=17020
2003-08-03 15:59:39 +00:00
Jackson Harper a7ef5e6703 * NumberHelper.cs: All numbers should allways be Int64
svn path=/trunk/mcs/; revision=17019
2003-08-03 15:50:37 +00:00
Jackson Harper 84870ccbd5 * PEAPI.cs: Offsets are not explicit offsets, they are just
byte offsets from the current position.

svn path=/trunk/mcs/; revision=17018
2003-08-03 15:43:19 +00:00
Gonzalo Paniagua Javier 45ddb94098 The set of /nowarn arguments is now set on a per library basis
svn path=/trunk/mcs/; revision=17017
2003-08-03 15:27:56 +00:00
Atsushi Eno 993194539b 2003-08-03 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs,
	  XmlNodeReader.cs,
	  XmlReader.cs,
	  XmlTextReader.cs,
	  XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.

svn path=/trunk/mcs/; revision=17016
2003-08-03 14:38:55 +00:00
Gonzalo Paniagua Javier 8e9d3f8be5 Excluded these 2 files. Fixed compilation.
svn path=/trunk/mcs/; revision=17015
2003-08-03 13:46:00 +00:00
Malte Hildingson bf83c59a7e * Double.cs, ILGenerator.cs: changed unsafe reference
parameter to `out' parameter.

svn path=/trunk/mcs/; revision=17013
2003-08-03 10:55:41 +00:00
Atsushi Eno 065f369a36 2003-08-03 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : Added BaseURI (but not used yet).
	  DTDAttListDeclaration.ctro() now requires root dtd object model.
	* DTDValidatingReader.cs : Read() now expands EntityReference if
	  entity handling of validating reader is ExpandEntities.
	* XmlReader.cs,
	  XmlTextReader.cs,
	  XmlNodeReader.cs,
	  XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
	    ReadOuterXml which are modified in MS.NET 1.1.
	* XmlConstructs.cs : added int version of IsValid, IsInvalid,
	  IsContent, IsMarkup and IsNCNameStart.
	  Fixed int version of IsXXX() to check array index range.
	  Added IsValidName (string).
	* XmlTextReader.cs :
	  - Read() handles document with non document element as an error.
	  - ReadText() and ReadCharacterReference() checkes illegal characters.
	  - ReadEntityReference() checks name validity.
	  - ReadProcessingInstruction() rejects such name that starts with
	    "xml" ignoring case, and checks attributes more strictly.
	  - ReadDeclaration() rejects unrecognized kind of declaration.
	  - In many places, added "required whitespace" check in DTD markup.
	  - DTD content model now disallows mixing use of '|' and ','.

svn path=/trunk/mcs/; revision=17012
2003-08-03 06:30:38 +00:00
Duncan Mak 865160a0a0 * StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: Implemented.

svn path=/trunk/mcs/; revision=17011
2003-08-03 06:24:59 +00:00
Alexandre Pigolkine 7ecc833d85 small change to previous commit
svn path=/trunk/mcs/; revision=17010
2003-08-03 01:57:42 +00:00
Alexandre Pigolkine 82ce3c5312 CheckBox painting, mask for subclassed control messages, Message properties
svn path=/trunk/mcs/; revision=17009
2003-08-03 01:35:49 +00:00
Jackson Harper f0cb68bbd9 * ExternMethodRef.cs: Remove top secret debugging code.
* MethodDef.cs: Less elegant but more bugfree method of doing explicit
	offsets for labels. Just put the offset labels in another list and
	define them in another loop.

svn path=/trunk/mcs/; revision=17007
2003-08-02 17:04:37 +00:00
Jackson Harper 1c222de9aa * IMethodRef.cs: Method refs should expose their call conv. This is
needed so the call conv can be modified for the newobj operation which
	is implicitly instance.
	* ExternMethodRef.cs: Expose call conv. Don't resolve vararg methods
	more then once.
	* GlobalMethodRef.cs: Expose call conv
	* TypeSpecMethodRef.cs: Expose call conv
	* MethodInstr.cs: For newobj operations set the call conv to instance

svn path=/trunk/mcs/; revision=17005
2003-08-02 16:17:11 +00:00
Jackson Harper 906fe1e117 * ILParser.jay: Set from label, not to label for filter block handlers
svn path=/trunk/mcs/; revision=17004
2003-08-02 16:09:51 +00:00
Malte Hildingson 029b744bcc * Double.cs: added icall AssertEndianity.
* ILGenerator.cs: modified the double emission to use above icall.

svn path=/trunk/mcs/; revision=17003
2003-08-02 12:41:16 +00:00
Malte Hildingson aa0d1716f6 * mono-endian.h, mono-endian.c: new macro MONO_DOUBLE_ASSERT_ENDIANITY to
shift the words of a float64 value on ARM.

	* icall.c: new icall ves_icall_System_Double_AssertEndianity to utilise
	above macro.

svn path=/trunk/mono/; revision=17002
2003-08-02 12:39:37 +00:00
Atsushi Eno 84f14cc90b 2003-08-02 Atsushi Enomoto <[email protected]>
* XmlDocumentFragment.cs : I missed to add it in relation to the
	  previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
	* XmlNodeReader.cs : removed some TODO attributes.
	* DTDValidatingReader.cs,
	  XmlValidatingReader.cs : Implemented ResolveEntity().

svn path=/trunk/mcs/; revision=17001
2003-08-02 06:36:37 +00:00
Atsushi Eno 02021a0c54 2003-08-02 Atsushi Enomoto <[email protected]>
* XmlSchema.cs :
	  - Changed missingElementTypeRefs from Hashtable to ArrayList.
	  - Added internal XmlSchemas for keeping imported schemas.
	  - Added private Compile() that takes the original rootSchema and
	    schema location stack for nested inclusion check.
	  - Added basic xs:import and xs:include support.
	  - Compile() is now aware of included XmlSchemaObject items.
	  - Changed Compile() to fill missing elements' types and that of
	    referencing elements.
	  - Read() now adds SourceUri property (although only to itself).
	* XmlSchemaCollection.cs : Implemented Add().
	* XmlSchemaCollectionEnumerator.cs :
	  Changed .ctor() to use schema collection as its argument.
	  Fixed Current to return hashtable's Value, instead of Current
	  (which returns DictionaryEntry).
	* XmlSchemaComplexType.cs :
	  Added internal static AnyType.
	  Compile() is now searches for its base type into other schemas.
	* XmlSchemaElement.cs : anyType is supported.
	  It now searches for type information after Compile().
	  SetReferedElementInfo() is now changed to SetSchemaType().
	* XmlSchemaObjectTable.cs :
	  It had problems similar to schema collection. Now it uses internal
	  class XmlSchemaObjectTableEnumerator to support GetEnumerator().
	* XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
	  and internal static Empty.

svn path=/trunk/mcs/; revision=17000
2003-08-02 06:31:47 +00:00
Alexandre Pigolkine edd6c28e16 Label painting changed, DrawStringDisabled changed
svn path=/trunk/mcs/; revision=16999
2003-08-02 00:43:02 +00:00
Ben Maurer 708283ef86 2003-08-01 Ben Maurer <[email protected]>
* Compiler.cs, XslAttributeSet.cs: Handle attribute set merging

svn path=/trunk/mcs/; revision=16994
2003-08-01 19:29:15 +00:00
Ben Maurer 36cea7eaa3 2003-08-01 Ben Maurer <[email protected]>
* XslTransformProcessor.cs: Add EvaluateNumber method.
	* XslNumber.cs: More stubbing.

svn path=/trunk/mcs/; revision=16993
2003-08-01 18:57:45 +00:00
Paolo Molaro f82c7ecfc2 Fri Aug 1 16:51:13 CEST 2003 Paolo Molaro <[email protected]>
* class.c, class.h, reflection.c, metadata.c, icall.c: more generics
	support, icalls and fixes.

svn path=/trunk/mono/; revision=16992
2003-08-01 15:03:55 +00:00
Paolo Molaro 2466b7d1f8 Fri Aug 1 16:47:17 CEST 2003 Paolo Molaro <[email protected]>
* Type.cs, MonoType.cs: implemented generic-specific methods.

svn path=/trunk/mcs/; revision=16991
2003-08-01 14:59:42 +00:00
Andreas N fefea1f82a 2003-08-01 Andreas Nahr <[email protected]>
* ButtonColumn.cs: Removed additional attributes
	* CheckBox.cs: Added attribute
	* DataGrid.cs: Added attributes
	* HyperLinkColumn.cs: Changed attributes, added lamespec
	* Style.cs: Removed attributes
	* TextBox.cs: Added/ removed attributes

svn path=/trunk/mcs/; revision=16990
2003-08-01 11:54:11 +00:00
Andreas N cb0a6af6d8 2003-08-01 Andreas Nahr <[email protected]>
* PartialCachingControl.cs: is not abstract

svn path=/trunk/mcs/; revision=16989
2003-08-01 11:52:53 +00:00
Andreas N 40aaf8f6dd 2003-08-01 Andreas Nahr <[email protected]>
* ProcessModelInfo.cs: Fixed signature

svn path=/trunk/mcs/; revision=16988
2003-08-01 11:51:52 +00:00
Gonzalo Paniagua Javier 6f4ec0838e 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
* FontConverter.cs: stub it out so that system.web compiles.

svn path=/trunk/mcs/; revision=16987
2003-08-01 10:55:29 +00:00
Piers Haken 654b0fd348 2003-08-01 Piers Haken <[email protected]>
* Expression.cs: added NodeNamespaceTest
	* XPathNavigator.cs: implement Select* with namespaces

svn path=/trunk/mcs/; revision=16986
2003-08-01 10:44:37 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Andreas N e62c757ca1 2003-08-01 Andreas Nahr <[email protected]>
* Consts.cs: Added entry

svn path=/trunk/mcs/; revision=16984
2003-08-01 07:59:17 +00:00
Jackson Harper acb6c43775 * MethodDef.cs: Allow 0 offsets for labels, and make sure to only
use offsets when we are supposed to.

svn path=/trunk/mcs/; revision=16983
2003-08-01 05:14:23 +00:00
Jackson Harper be40d57898 * MethodDef.cs: Allow 0 offsets for labels
svn path=/trunk/mcs/; revision=16980
2003-08-01 03:28:19 +00:00
Mark Crichton d2706a4d42 More opcodes coded. Only a few branch opcodes left, and all the floating
point codes.

svn path=/trunk/mono/; revision=16979
2003-08-01 03:01:14 +00:00
Ben Maurer f787103a09 2003-07-31 Ben Maurer <[email protected]>
* XslNumber.cs: Stub for parsing xsl:number.

svn path=/trunk/mcs/; revision=16975
2003-08-01 02:17:28 +00:00
Gonzalo Paniagua Javier cb3405b1b5 added .ashx files support
svn path=/trunk/mono/; revision=16972
2003-08-01 01:10:01 +00:00
Gonzalo Paniagua Javier 21c46d96a3 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added WebHandlerParser.cs

	* System.Web.Compilation/Directive.cs: support @WebHandler.

	* System.Web.UI/SimpleHandlerFactory.cs: implemented GetHandler.
	* System.Web.UI/WebHandlerParser.cs: new file that parses .ashx files.

svn path=/trunk/mcs/; revision=16971
2003-08-01 01:09:32 +00:00
Ben Maurer 42f84478b9 2003-07-31 Ben Maurer <[email protected]>
* XsltCompiledContext.cs: Implement more functions.

svn path=/trunk/mcs/; revision=16970
2003-08-01 00:58:53 +00:00
Mark Crichton 709907bd16 Even more opcodes implemented.
svn path=/trunk/mono/; revision=16968
2003-07-31 23:50:50 +00:00
Duncan Mak 5e2230e2b2 * Site.cs (IsValidSite): new method for checking the validing of
the site name.

* IsolatedStorageInfo.cs (CreateAssemblyFilename):
(CreateDomainFilename): Replace String.Format with Path.Combine.

svn path=/trunk/mcs/; revision=16967
2003-07-31 23:27:14 +00:00
Duncan Mak 8ce905380e * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
NET_1_1.

* DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.

* XmlDataDocument.cs (BaseURI):
(InnerXml):
(IsReadOnly):
(this):
(LocalName):
(Name):
(OwnerDocument):
(WriteContentTo):
(WriteTo): Removed, these do not need to be redefined, as
they are inherited from XmlDocument already.

svn path=/trunk/mcs/; revision=16966
2003-07-31 23:24:36 +00:00
Alexandre Pigolkine 8f62529d2a Button painting, MouseDown/Up, LAYOUT_SUSPENDED
svn path=/trunk/mcs/; revision=16964
2003-07-31 22:56:04 +00:00
Ben Maurer 4272203791 2003-07-31 Ben Maurer <[email protected]>
* Compiler.cs: Add support for key, utility function to parse
	QName's from the XsltContext. Store keys in the CompiledStyle, not
	in the Stylesheet.
	* XslKey.cs: Real implementation
	* XslStylesheet.cs: Move the keys to CompiledStyle.
	* XsltCompiledContext.cs: Implement the key function
	* Iterator.cs: Allow creation of an EnumeratorIterator with an
	XmlNamespaceManager

svn path=/trunk/mcs/; revision=16959
2003-07-31 21:37:58 +00:00
Miguel de Icaza 46f0bce56d 2003-07-31 Miguel de Icaza <[email protected]>
* unicode.c (ves_icall_System_Char_IsPunctuation): The set of
	classes that are a punctuation character in .NET is not the same a
	g_unichar_ispunct.

svn path=/trunk/mono/; revision=16958
2003-07-31 21:32:32 +00:00
Sebastien Pouliot 5134c9b0a9 2003-07-31 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Oops. Commited some errors :-(

svn path=/trunk/mcs/; revision=16957
2003-07-31 21:20:10 +00:00
Sebastien Pouliot 1045f1ba45 2003-07-31 Sebastien Pouliot <[email protected]>
* corlib_test.dll.sources: Added new CryptoStreamTest.cs

svn path=/trunk/mcs/; revision=16956
2003-07-31 20:59:49 +00:00
Sebastien Pouliot edf6cb8512 2003-07-31 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Closing bug #46143. The Read method was re-written.

svn path=/trunk/mcs/; revision=16955
2003-07-31 20:58:17 +00:00
Sebastien Pouliot 2f70adac08 2003-07-31 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
	test case from bugzilla #46143 from Joerg Rosenkranz.
	* RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
	different from .NET 1.0 and 1.1.

svn path=/trunk/mcs/; revision=16954
2003-07-31 20:55:16 +00:00
Piers Haken d1237a5f0e 2003-07-31 Piers Haken <[email protected]>
* Parser.jay:
		Nested predicates (uses ExprFilter instead)
		more type safety
		make grammar look more like w3c spec
	* Expression.cs:
		remove ExprStep, ExprPredicates
		NodeTest is now a NodeSet
		more type-safety
	* Iterator.cs:
		PredicateIterator now only takes a single predicate expression
		more type-safety
	* XPathNavigator.cs:
		simplified SelectTest
	* XPathException.cs:
		fixed indenting

svn path=/trunk/mcs/; revision=16953
2003-07-31 20:09:47 +00:00
Ben Maurer 3546a47d3b 2003-07-31 Ben Maurer <[email protected]>
* XsltCompiledContext.cs: Hmm, maybe I should actually *enable*
	the functions ;-). Also wrote current ().

svn path=/trunk/mcs/; revision=16952
2003-07-31 19:33:25 +00:00
Mark Crichton eaeae8b213 Implemented more opcodes. Got to CEE_AND.
svn path=/trunk/mono/; revision=16951
2003-07-31 19:29:50 +00:00
Ben Maurer e829ab55c0 2003-07-31 Ben Maurer <[email protected]>
* XsltCompiledContext.cs: Remove excess conversion stuff. It is
	done in XPath. Add stubs for XSLT functions.

svn path=/trunk/mcs/; revision=16950
2003-07-31 18:56:53 +00:00
Atsushi Eno b7e96960e4 2003-07-31 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added LoadThrowsUndeclaredEntity() and
	  CreateEntityReferencesWithoutDTD().
	* XmlNodeReaderTests.cs : added ResolveEntity(), ResolveEntity2() and
	  ResolveEntityWithoutDTD().

svn path=/trunk/mcs/; revision=16947
2003-07-31 18:06:47 +00:00
Atsushi Eno 3de188080d 2003-07-31 Atsushi Enomoto <[email protected]>
* XmlParserContext.cs,
	  XmlAttribute.cs,
	  XmlElement.cs : Added internal Dtd and new internal XmlParserContext
	  .ctor() that takes DTDObjectModel. And then rewrote classes which
	  uses DTD information. Changed DocTypeName, InternalSubset, PublicId
	  and SystemId to use DTDObjectModel.
	* DTDObjectModel.cs :
	  Added DTDObjectModel.InternalSubsetHasPEReference.
	  Added DTDEntityDeclaration.IsInternalSubset.
	* XmlTextReader.cs :
	  Added internal GetInternalParserContext (to build entity reader).
	  Added private isIntSubset to check if the DTD subset is internal or
	  external, which might affect well-formedness constraints.
	  Changed GenerateDTDObjectModel to return the resulting DTD model.

	* XmlEntityReference.cs : implemented BaseURI.
	* XmlNodeReader.cs :
	  - Implemented ResolveEntity() and CanResolveEntity(). In fact
	    it leads too many changes on almost all methods and properties,
	    since they now must be aware of entityReader.
	  - fixed ownerElement that might be used to return from attribute
	    value to the element through parent attribtues.
	  - Now changed indexer to call GetAttribute() and moved actual logic
	    to the matching GetAttribute() methods.

svn path=/trunk/mcs/; revision=16946
2003-07-31 18:01:50 +00:00
Ben Maurer c7d9a0b0d6 2003-07-31 Ben Maurer <[email protected]>
* XslVariable.cs: Add IsEvaluated.
	* Compiler.cs: To resolve a variable you now need to pass the
	processor, so that it can be passed to IsEvaluated. A local will
	only be resolved if it has already been evaluated.
	* XsltCompiledContext.cs: Pass along the processor.

svn path=/trunk/mcs/; revision=16942
2003-07-31 17:23:45 +00:00
Gonzalo Paniagua Javier fc3f7cfbe7 2003-07-31 Gonzalo Paniagua Javier <[email protected]>
* FormsAuthenticationModule.cs: really renew the ticket. Thanks to
	Jens Thiel <[email protected]>.

svn path=/trunk/mcs/; revision=16938
2003-07-31 15:25:04 +00:00
Paolo Molaro 1d12b45bce Thu Jul 31 16:19:07 CEST 2003 Paolo Molaro <[email protected]>
* configure.in, etc.: portability fixes and support for
	buidling outside the srcdir from Laurent Morichetti <[email protected]>.

svn path=/trunk/mono/; revision=16937
2003-07-31 14:32:42 +00:00
Aleksey Ryabchuk 045909c19a * Control.cs : anchoring algorithm was fixed to avoid inaccuracies caused by rounding
* TextBoxBase.cs : set FixedHeight style for single line edit boxes

svn path=/trunk/mcs/; revision=16936
2003-07-31 13:03:28 +00:00
Paolo Molaro 5c3f32c9c0 Fix make dist.
svn path=/trunk/mono/; revision=16935
2003-07-31 10:36:03 +00:00
Paolo Molaro 3eaf59dcaf Fix.
svn path=/trunk/mono/; revision=16934
2003-07-31 09:54:27 +00:00
Jackson Harper 89d34762bf * ILReader.cs: Incremint colums while reading
* Location.cs: Display column numbers

svn path=/trunk/mcs/; revision=16931
2003-07-31 06:08:55 +00:00
Jackson Harper b808633469 new test
svn path=/trunk/mcs/; revision=16930
2003-07-31 06:06:45 +00:00
Jackson Harper b1fb5c493d * ILParser.jay: Create branch instructions with explicit offsets
svn path=/trunk/mcs/; revision=16929
2003-07-31 06:05:55 +00:00
Jackson Harper ada2cc76d5 * BranchInstr.cs: Allow explicit offsets for labels
svn path=/trunk/mcs/; revision=16928
2003-07-31 06:03:18 +00:00
Jackson Harper c21f45d1ec * Driver.cs: Throw compile errors for now
svn path=/trunk/mcs/; revision=16927
2003-07-31 05:59:19 +00:00
Mark Crichton 4a63665cbd More bits to get mono JIT crippeling along on sparc.
svn path=/trunk/mono/; revision=16922
2003-07-31 02:45:13 +00:00
Gonzalo Paniagua Javier 2dede109a4 2003-07-31 Gonzalo Paniagua Javier <[email protected]>
* NetworkStream.cs:
	* Socket.cs: fixed array boundary checks. 0 sized arrays are allowed.

svn path=/trunk/mcs/; revision=16921
2003-07-31 02:07:21 +00:00
Duncan Mak 23c27cf065 * XPathException.cs
(GetObjectData):
(Message): Added.

* Url.cs (ToString): It should output an XML string, not just the
plain url.

svn path=/trunk/mcs/; revision=16920
2003-07-31 01:14:30 +00:00
Duncan Mak 4e48ab32cb * TimeoutException.cs:
* ServiceProcessDescriptionAttribute.cs:
* ServiceControllerPermissionAttribute.cs:
* ServiceControllerPermissionEntryCollection.cs:
* ServiceControllerPermissionEntry.cs: Added.

* TODOAttribute.cs:
* Locale.cs: Added.

* ServiceBase.cs: Added missing APIs.

svn path=/trunk/mcs/; revision=16919
2003-07-31 01:00:14 +00:00
Mark Crichton 354d8a4652 Fixed the last of the *compile* bugs. Code still won't do anything useful
on a sparc machine.  However, we now can produce a mono binary on
sparc-linux.

svn path=/trunk/mono/; revision=16918
2003-07-31 00:58:11 +00:00
Ben Maurer 4e6296d44c 2003-07-30 Ben Maurer <[email protected]>
* ManagedXslTransform.cs: Hold reference to CompiledStyle, not the
	XslTransformProcessor. Will help with thread safty.
	* Compiler.cs, XslTemplate.cs, XslTransformProcessor.cs: Store
	variable values in the XslTransformProcessor.
	* XsltCompiledContext.cs: If the scope is null, don't look there!
	* Debug.cs: New method Assert
	* XslApplyTemplates.cs, XslCallTemplate.cs, XslCompiledElement.cs,
	XslTemplateContent.cs, XslVariable.cs:
	Store variable values in the XslTransformProcessor

svn path=/trunk/mcs/; revision=16917
2003-07-31 00:57:58 +00:00
Gonzalo Paniagua Javier cb8496aecc It has not been funny
to fight such a beast
unveiled by foreach.
Farewell, little bunny,
go on for the feast.

svn path=/trunk/mcs/; revision=16916
2003-07-31 00:55:15 +00:00
Duncan Mak 47c8e47382 * IsolatedStorageFile.cs:
(GetStore): Update storage_scope accordingly.
(GetUseStoreForAssembly): Include IsolatedStorageScope.User.
(GetUseStoreForDomain): Include IsolatedStorageScope.User and
IsolatedStorageScope.Assembly.

* IsolatedStorage.cs:
(CurrentSize):
(MaximumSize): throw InvalidOperationExceptions. This is a
subclass responsibility.
(Scope): Implemented using a static field, storage_scope.
(SeparatorInternal)
(SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
for SeparatorExternal.

svn path=/trunk/mcs/; revision=16915
2003-07-31 00:47:24 +00:00
Gonzalo Paniagua Javier d5fe742b75 install-local depends on the programs too
svn path=/trunk/mcs/; revision=16914
2003-07-30 23:38:36 +00:00
Mark Crichton e981b6aec2 Some Sparc realted fixes. Doesn't compile yet, but getting closer.
Still not enabled in any build.  Won't be until it compiles.

svn path=/trunk/mono/; revision=16913
2003-07-30 23:04:57 +00:00
Andreas N 06c7377814 2003-07-30 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Removed attribute

svn path=/trunk/mcs/; revision=16912
2003-07-30 22:34:06 +00:00
Miguel de Icaza 96f3eb19b9 Flush
svn path=/trunk/mono/; revision=16911
2003-07-30 20:56:45 +00:00
Sebastien Pouliot c0ce838a62 2003-07-30 Sebastien Pouliot <[email protected]>
* CryptoStream.cs: Fixed bug #46143 (exception) - however we dont
	returns the same result as MS. Class needs to be re-written.

svn path=/trunk/mcs/; revision=16908
2003-07-30 19:12:23 +00:00
Andreas N be498b8f43 2003-07-30 Andreas Nahr <[email protected]>
* RequiredFieldValidator.cs: Added all attributes
	* Style.cs: Added all attributes
	* Table.cs: Added all attributes
	* TableCell.cs: Added all attributes, added error checks, throws more exceptions
	* TableCellCollection.cs: Added attribute
	* TableRow.cs: Added all attributes
	* TableRowCollection: Added attribute
	* TableStyle.cs: Added all attributes, improved error messages
	* TemplateColumn.cs: Added all attributes
	* TextBox.cs: Added all attributes, added error checks, throws more exceptions
	* ValidationSummary.cs: Added all attributes
	* WebControl.cs: Added all attributes
	* Xml.cs: Added all attributes

svn path=/trunk/mcs/; revision=16907
2003-07-30 18:18:28 +00:00
Ben Maurer f7821af4e3 2003-07-30 Ben Maurer <[email protected]>
* ManagedXslTransform.cs: remove verbose debugging messages
	* Compiler.cs, XsltCompiledContext.cs: Remove verbose messages
	* XslTransformProcessor.cs: Use strongtyped evaluation, using new
	internal methods in XPathNavigator. Remove verbose debugging messages.
	* XslAvt.cs, XslCopyOf.cs, XslIf.cs, XslText.cs, XslValueOf.cs,
	XslVariable.cs:
	Use new strong typed methods, remove verbose debugging messages.

svn path=/trunk/mcs/; revision=16906
2003-07-30 18:16:58 +00:00
Andreas N 0834cb59fb 2003-07-30 Andreas Nahr <[email protected]>
* PersistenceModeAttribute.cs: Fixed wrong AttributeUsage

svn path=/trunk/mcs/; revision=16905
2003-07-30 18:09:43 +00:00
Andreas N de987aa796 2003-07-30 Andreas Nahr <[email protected]>
* WebCategoryAttribute.cs: Implemented localization
	* WebSysDescriptionAttribute.cs: Implemented localization

svn path=/trunk/mcs/; revision=16904
2003-07-30 18:08:08 +00:00
Andreas N 3b14a2fb73 2003-07-30 Andreas Nahr <[email protected]>
* System.Web.dll.sources: added Locale.cs

svn path=/trunk/mcs/; revision=16903
2003-07-30 18:05:48 +00:00
Andreas N 629a596b68 2003-07-30 Andreas Nahr <[email protected]>
* Locale.cs: Added

svn path=/trunk/mcs/; revision=16902
2003-07-30 18:03:40 +00:00
Lluis Sanchez 4bfc32b22e * TypeData.cs: Added new constructor and variables to allow the creation of
a TypeData without a Type. Added ListItemTypeData property.
	* XmlTypeMapping.cs: Added property for checking if a ListMap represents an
	  array of arrays. Added also a property to get the nested array map.
	* XmlCodeExporter.cs: First implementation of code exporter.

svn path=/trunk/mcs/; revision=16901
2003-07-30 17:52:06 +00:00
Lluis Sanchez bd2f889e00 * CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes
svn path=/trunk/mcs/; revision=16900
2003-07-30 17:45:24 +00:00
Sebastien Pouliot 8ebb644811 2003-07-30 Sebastien Pouliot <[email protected]>
* makecert.1: New. Man page for MakeCert.exe

svn path=/trunk/mono/; revision=16898
2003-07-30 17:17:48 +00:00
Sebastien Pouliot 35589b7189 2003-07-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Updated version to 0.25.99 (all tools).
	* MakeCert.cs: Added support for Extended Key Usage (-eku).
	It's now possible to create SSL certificate with the tool.

svn path=/trunk/mcs/; revision=16897
2003-07-30 17:16:35 +00:00
Sebastien Pouliot 408bf22966 2003-07-30 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added ExtendedKeyUsageExtension.cs
	certificate extension (so MakeCert can now create SSL certificates).

svn path=/trunk/mcs/; revision=16896
2003-07-30 17:15:44 +00:00
Sebastien Pouliot 4025f46e72 2003-07-30 Sebastien Pouliot <[email protected]>
* ExtendedKeyUsageExtension.cs: New. Added for makecert.

svn path=/trunk/mcs/; revision=16895
2003-07-30 17:14:53 +00:00
Paolo Molaro 90b2fc9204 Wed Jul 30 17:52:41 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am, cpu-sparc.md, exceptions-sparc.c, mini-sparc.c,
	mini-sparc.h, tramp-sparc.c: Beginning of sparc support
	from Mark Crichton <[email protected]> and Christopher Taylor
	([email protected]).

svn path=/trunk/mono/; revision=16892
2003-07-30 16:03:24 +00:00
Aleksey Ryabchuk 3dcdcff5b5 ScrollBars, AcceptsReturn, CharacterCasing properties were implemented
svn path=/trunk/mcs/; revision=16890
2003-07-30 14:06:56 +00:00
Johannes Roith 8ae8a09557 fix typo
svn path=/trunk/mono/; revision=16889
2003-07-30 14:01:40 +00:00
Gonzalo Paniagua Javier 8411705b8b 2003-07-30 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed signature of ItemCreated and ItemDataBound.

svn path=/trunk/mcs/; revision=16888
2003-07-30 14:01:19 +00:00
Johannes Roith ce4f1707f6 add
svn path=/trunk/mono/; revision=16886
2003-07-30 13:58:46 +00:00
Gonzalo Paniagua Javier fb032dfb2b 2003-07-30 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.

svn path=/trunk/mcs/; revision=16885
2003-07-30 13:57:48 +00:00
Andreas N fe465e8952 2003-07-30 Andreas Nahr <[email protected]>
* System.Web.dll.sources: added new files to System.Web.SessionState and System.Web.UI

svn path=/trunk/mcs/; revision=16884
2003-07-30 13:57:29 +00:00
Andreas N 861cc74227 2003-07-30 Andreas Nahr <[email protected]>
* UserControl.cs: Added attribute
	* BasePartialCachingControl.cs: New class and paritally implemented
	* DesignerDataBoundLiteralControl.cs: New class and implemented
	* DesignTimeTemplateParser.cs:
	* PartialCachingControl.cs:
	* StaticPartialCachingControl.cs: New class and paritally implemented

svn path=/trunk/mcs/; revision=16883
2003-07-30 13:56:03 +00:00
Andreas N ea2f3d7b07 2003-07-30 Andreas Nahr <[email protected]>
* IStateRuntime.cs: New interface class
	* StateRuntime.cs: New class - stubbed out

svn path=/trunk/mcs/; revision=16882
2003-07-30 13:54:32 +00:00
Miguel de Icaza 5444ef29c2 update news
svn path=/trunk/mono/; revision=16874
2003-07-30 05:22:08 +00:00
Jackson Harper 10ca2cb82f * Driver.cs: Add some basic line number feedback when an error
occurs

svn path=/trunk/mcs/; revision=16873
2003-07-30 03:26:51 +00:00
Jackson Harper f8e1b56ceb * ILReader.cs: Incriment line numbers
* Location.cs: Do not reset line number when moving to a previous
	column. Add ToString method.

svn path=/trunk/mcs/; revision=16872
2003-07-30 03:26:00 +00:00
Piers Haken 12db7efeb6 2003-07-29 Piers Haken <[email protected]>
* DefaultContext.cs: 'local-name' returns String, not NodeSet!

svn path=/trunk/mcs/; revision=16871
2003-07-30 03:23:03 +00:00
Piers Haken 8e1cfb092b 2003-07-29 Piers Haken <[email protected]>
* XPathNavigator.cs:
	* Expression.cs:
		add typesafe Evaluate* methods

svn path=/trunk/mcs/; revision=16870
2003-07-30 03:20:04 +00:00
Piers Haken a385a824fd 2003-07-29 Piers Haken <[email protected]>
* DefaultContext.cs: fix 'substring-after'

svn path=/trunk/mcs/; revision=16869
2003-07-30 02:40:03 +00:00
Alexandre Pigolkine 7796bb4e35 BmpPaint.cs modified
svn path=/trunk/mcs/; revision=16868
2003-07-30 02:26:47 +00:00
Alexandre Pigolkine c907a90d5e cosmetic changes
svn path=/trunk/mcs/; revision=16867
2003-07-30 02:25:46 +00:00
Alexandre Pigolkine 09b0039173 painting on loaded image
svn path=/trunk/mcs/; revision=16866
2003-07-30 02:24:14 +00:00
Alexandre Pigolkine f306ea0046 InternalImageInfo class improved
svn path=/trunk/mcs/; revision=16865
2003-07-30 02:23:08 +00:00
Jackson Harper 0090daa496 oops
svn path=/trunk/mcs/; revision=16864
2003-07-30 02:14:29 +00:00
Jackson Harper 10f4425f5d * PEAPI.cs: Allow labels to be created with an explicit offset
svn path=/trunk/mcs/; revision=16863
2003-07-30 02:11:12 +00:00
Piers Haken bee42267a2 2003-07-29 Piers Haken <[email protected]>
* Iterator.cs: fix PredicateIterator.CurrentPosition bug (it wasn't incrementing)

svn path=/trunk/mcs/; revision=16862
2003-07-30 00:23:46 +00:00
Ben Maurer 7bb0fa2091 forgot to commit this before. dont worry, am not slacking ;-)
svn path=/trunk/mcs/; revision=16860
2003-07-29 22:45:01 +00:00
Miguel de Icaza fd515c88ce Remove debugging bits
svn path=/trunk/mcs/; revision=16859
2003-07-29 22:17:42 +00:00
Miguel de Icaza a3de30d584 2003-07-29 Miguel de Icaza <[email protected]>
* IntPtrStream.cs (Read): Use correct offset here;  Change the
	code to use a byte* instead of an IntPtr to reduce the number of
	casts used.

svn path=/trunk/mcs/; revision=16858
2003-07-29 22:16:41 +00:00
Ravi Pratap M 457c7d426e 2003-07-29 Ravi Pratap <[email protected]>
* expression.cs (Invocation.MakeUnionSet): Patch from Lluis
	Sanchez : use TypeManager.ArrayContainsMethod instead of a direct
	reference comparison.

	(TypeManager.ArrayContainsMethod): When we have a MethodInfo, also
	examine the ReturnType for equality - this is necessary in the
	cases of implicit and explicit operators whose signature also
	includes the return type.

svn path=/trunk/mcs/; revision=16857
2003-07-29 20:36:58 +00:00
Ravi Pratap M 0dc4ad6223 2003-07-29 Ravi Pratap <[email protected]>
* conv-lib.cs: New Multi stage compilation test for bug #47043.

	* conv-main.cs: Main for the above.

	* Makefile: Update.

svn path=/trunk/mcs/; revision=16856
2003-07-29 20:35:21 +00:00
Ben Maurer 68331d7312 build fix for jackson
svn path=/trunk/mcs/; revision=16854
2003-07-29 19:53:24 +00:00
Ben Maurer f03699ac71 2003-07-29 Ben Maurer <[email protected]>
* Iterator.cs: make sure we dont throw exceptions on ToString ()

svn path=/trunk/mcs/; revision=16853
2003-07-29 18:31:25 +00:00
Miguel de Icaza eb383f5b1e Add enumerator tests
svn path=/trunk/mcs/; revision=16852
2003-07-29 18:12:49 +00:00
Miguel de Icaza e74b8cad2a Add new test
svn path=/trunk/mcs/; revision=16851
2003-07-29 18:07:04 +00:00
Miguel de Icaza 2860674a1a Add more tests
svn path=/trunk/mcs/; revision=16850
2003-07-29 18:03:20 +00:00
Miguel de Icaza 956538e84f 2003-07-29 Miguel de Icaza <[email protected]>
* ArrayList.cs: Deployed ArrayList from Tum;  Fixed iterator to
	allow nulls, and inline a few calls to make profiling more useful.

svn path=/trunk/mcs/; revision=16849
2003-07-29 18:01:34 +00:00
Ben Maurer fb2d0d5f71 Here comes managed XSLT! WOOOOOHOOOOOO!
svn path=/trunk/mcs/; revision=16848
2003-07-29 17:36:20 +00:00
Paolo Molaro 9f3d0bf143 Better fix.
svn path=/trunk/mono/; revision=16847
2003-07-29 16:58:31 +00:00
Miguel de Icaza 08bbf38eaa 2003-07-29 Miguel de Icaza <[email protected]>
* IntPtrStream.cs (Read): Use Marshal.Copy instead of the now
	deprecated MemCopy.

	(IntPtrStream): New stream implementation, it maps to a region in
	memory.

svn path=/trunk/mcs/; revision=16846
2003-07-29 16:28:29 +00:00
Paolo Molaro b8dd1cc1c0 Tue Jul 29 18:07:08 CEST 2003 Paolo Molaro <[email protected]>
* configure.in: ipv6 portability fixes from Felix Ortga ([email protected]).

svn path=/trunk/mono/; revision=16845
2003-07-29 16:21:20 +00:00
Paolo Molaro f3fe18ff28 Tue Jul 29 18:07:08 CEST 2003 Paolo Molaro <[email protected]>
* socket-io.c: ipv6 portability fixes from Felix Ortga ([email protected]).

svn path=/trunk/mono/; revision=16844
2003-07-29 16:20:25 +00:00
Miguel de Icaza 9997521a90 2003-07-29 Miguel de Icaza <[email protected]>
* icall.c: Add new MemCopy internalcall.
	(ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
	Simplified code; It is not necessary to handle all the cases here,
	as the C# code takes care of it.  Only handle the case of the name
	resource embedded into the assembly.

	Changed signature to return the data pointer and the size of the
	data.

2003-07-26  Miguel de Icaza  <[email protected]>

	* reflection.c (mono_image_get_method_info): Allow for 0x40 to be
	encoded.	(Partition II.22.1.7: PInvokeAttribute:SupportsLastErr).

svn path=/trunk/mono/; revision=16843
2003-07-29 16:00:11 +00:00
Miguel de Icaza c1696fff8f Add missing internalcall declaration
svn path=/trunk/mcs/; revision=16842
2003-07-29 15:28:34 +00:00
Miguel de Icaza 289447f5f2 Patch from Mark
svn path=/trunk/mono/; revision=16841
2003-07-29 15:23:41 +00:00
Aleksey Ryabchuk 5af294011f BackColor, ForeColor, PasswordChar for edit boxes
svn path=/trunk/mcs/; revision=16840
2003-07-29 14:45:07 +00:00
Lluis Sanchez 6b82ee8b71 * socket-io.c: ignore EINTR error in select.
svn path=/trunk/mono/; revision=16839
2003-07-29 13:58:45 +00:00
Paolo Molaro 5bd251db28 Tue Jul 29 15:25:01 CEST 2003 Paolo Molaro <[email protected]>
* class.h, class.c: removed unused subclasses field in MonoClass.

svn path=/trunk/mono/; revision=16838
2003-07-29 13:34:37 +00:00
Lluis Sanchez ec4536d94b * icall.c: improve fix of get_base_definition(). If the parent class
doesn't have the mehod, look at the parent of the parent.
	* object.c: mono_message_init(): use the attribute PARAM_ATTRIBUTE_OUT
	  to check if a parameter is an in or out parameter
	  (PARAM_ATTRIBUTE_IN is not set by default).
	  mono_method_return_message_restore(): Use mono_class_value_size to
	  get the size of a value type. mono_type_stack_size (parameterType)
	  does not return the correct value if parameterType is byRef.
	  mono_load_remote_field(), mono_load_remote_field_new(),
	  mono_store_remote_field(), mono_store_remote_field_new():
	  raise exception if the remote call returns an exception.

svn path=/trunk/mono/; revision=16837
2003-07-29 13:15:21 +00:00
Paolo Molaro f3c2919196 Tue Jul 29 12:43:08 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: more opcodes implemented and better support for generics.

svn path=/trunk/mono/; revision=16836
2003-07-29 13:12:59 +00:00
Lluis Sanchez 555ee40b5a * RemotingServices.cs: GetObjectUri(): For client proxies, return
the target url.

svn path=/trunk/mcs/; revision=16835
2003-07-29 12:59:06 +00:00
Paolo Molaro 700d33bac0 Update signature.
svn path=/trunk/mono/; revision=16834
2003-07-29 10:32:53 +00:00
Paolo Molaro f8a52ca9f1 Tue Jul 29 12:15:13 CEST 2003 Paolo Molaro <[email protected]>
* RuntimeHelpers.cs: pass the handles values o icalls, to avoid
	special cases in some call conventions.

svn path=/trunk/mcs/; revision=16833
2003-07-29 10:25:02 +00:00
Paolo Molaro c99291ece0 Tue Jul 29 12:13:16 CEST 2003 Paolo Molaro <[email protected]>
* Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
	to icalls, to avoid special cases in some call conventions.

svn path=/trunk/mcs/; revision=16832
2003-07-29 10:23:43 +00:00
Paolo Molaro be3dbb3e45 Compilation fixes. Still requires a memcopy implementation.
svn path=/trunk/mcs/; revision=16831
2003-07-29 10:20:51 +00:00
Jackson Harper 4605e25beb * ILParser.jay: Use new labeling system for handler blocks.
svn path=/trunk/mcs/; revision=16830
2003-07-29 07:34:12 +00:00
Jackson Harper 495cdcbf48 * ILParser.jay: Use new labeling system for handler blocks.
svn path=/trunk/mcs/; revision=16829
2003-07-29 07:32:15 +00:00
Jackson Harper eb99baaf51 * FilterBlock.cs: Use a handler block for the this block. This
makes it easier to create filters using braces, labels, or offsets
	* HandlerBlock.cs: Allow handler blocks to be created using positions,
	offsets, and labels.
	* MethodDef.cs: Add methods to create labels all 3 ways, and emit
	labels created by each of the methods.
	* TryBlock.cs: Use a handler block instead of label strings. This
	allows all three methods of label creation to be used.

svn path=/trunk/mcs/; revision=16828
2003-07-29 07:30:29 +00:00
Miguel de Icaza d2ca39675e Add IntPtrStream.cs to the build
svn path=/trunk/mcs/; revision=16827
2003-07-29 05:56:54 +00:00
Miguel de Icaza 49ff39af6a 2003-07-29 Miguel de Icaza <[email protected]>
* IntPtrStream.cs: New stream implementation, it maps to a region
	in memory.

svn path=/trunk/mcs/; revision=16826
2003-07-29 05:56:38 +00:00
Jackson Harper ab56e0882d * ILParser.jay: No longer need to supply method references
to instructions, they get that when emitting now.

svn path=/trunk/mcs/; revision=16825
2003-07-29 05:18:32 +00:00
Jackson Harper 45c1c5cdca * IInstr.cs: Instructions now get their parent method when being
emitted.
	* *Instr.cs: Adjust emit method to accept a methoddef

svn path=/trunk/mcs/; revision=16824
2003-07-29 05:14:25 +00:00
Miguel de Icaza 901bef5c01 2003-07-28 Miguel de Icaza <[email protected]>
* NativeWindow.cs: Remove debugigng messages.

	* Control.cs: Remove debugging messages.

	* Label.cs: Use the border style.

svn path=/trunk/mcs/; revision=16819
2003-07-29 02:49:16 +00:00
Piers Haken 79ebd61c28 2003-07-28 Piers Haken <[email protected]>
* DefaultContext.cs: better handling of null argument lists
	* XPathNavigator.cs: implement ComparePosition

svn path=/trunk/mcs/; revision=16817
2003-07-29 02:27:04 +00:00
Atsushi Eno 273f1c5ac0 2003-07-29 Atsushi Enomoto <[email protected]>
* XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
	  not to create extraneous xmlns="".

svn path=/trunk/mcs/; revision=16816
2003-07-29 02:25:39 +00:00
Atsushi Eno 62044c8ac2 2003-07-29 Atsushi Enomoto <[email protected]>
* XmlDocumentTests.cs : added DTDEntityAttributeHandling() test.
	* XmlElementTests.cs : added WriteToDefaultAttribute() test.
	* XmlNodeTests.cs : added InnerXmlWithXmlns () test.
	* XmlTextWriterTests.cs : added DontOutputNonDeclaredXmlns () test.
	* XmlValidatingReaderTests.cs : modified TestResolveEntity() to have
	  entity reference inside text content (and it now fails).

svn path=/trunk/mcs/; revision=16815
2003-07-29 02:24:01 +00:00
Miguel de Icaza 004a29508d Formatting changes
svn path=/trunk/mcs/; revision=16814
2003-07-29 01:10:59 +00:00
Duncan Mak 2aa2545e95 Me refers to Duncan in this case.
svn path=/trunk/mono/; revision=16813
2003-07-29 01:04:21 +00:00
Miguel de Icaza 4004400697 Typo fix
svn path=/trunk/mcs/; revision=16812
2003-07-29 00:59:19 +00:00
Miguel de Icaza ed96fcf648 2003-07-28 Miguel de Icaza <[email protected]>
* win32functions.cs: Set the default to WineLib now on Linux.

svn path=/trunk/mcs/; revision=16811
2003-07-29 00:50:59 +00:00
Miguel de Icaza 8903698d98 improve the generics target
svn path=/trunk/mcs/; revision=16810
2003-07-29 00:35:39 +00:00
Miguel de Icaza 919b77a1e4 A few memory saving updates from my tree
2003-07-26  Miguel de Icaza  <[email protected]>

	* namespace.cs: Cache the result of the namespace computation,
	instead of computing it every time.

2003-07-24  Miguel de Icaza  <[email protected]>

	* decl.cs: Use a global arraylist that we reuse over invocations
	to avoid excesive memory consumption.  Reduces memory usage on an
	mcs compile by one meg (45 average).

	* typemanager.cs (LookupTypeReflection): In .NET pointers are
	private, work around that.

2003-07-23  Miguel de Icaza  <[email protected]>

	* literal.cs (IntLiteral): Define Zero and One static literals.

	* cs-parser.jay (integer_literal): use static literals to reduce
	memory usage for the most used literals (0, 1 and -1).  211kb
	reduced in memory usage.

	Replace all calls to `new ArrayList' with `new
	ArrayList(4)' which is a good average number for most allocations,
	and also requires only 16 bytes of memory for its buffer by
	default.

	This reduced MCS memory usage in seven megabytes for the RSS after
	bootstrapping.

svn path=/trunk/mcs/; revision=16808
2003-07-28 23:55:57 +00:00
Gonzalo Paniagua Javier b95dfba402 2003-07-29 Gonzalo Paniagua Javier <[email protected]>
* executable.make: install-local depends on the program too.

svn path=/trunk/mcs/; revision=16807
2003-07-28 23:40:24 +00:00
Duncan Mak d072d55ac7 Add links to the MonoWinePackages page in the Wiki.
svn path=/trunk/mono/; revision=16806
2003-07-28 23:38:12 +00:00
Duncan Mak e46407d4f9 Added links to Wine packages
svn path=/trunk/mono/; revision=16805
2003-07-28 23:35:00 +00:00
Miguel de Icaza 63e0c72123 Merge from main branch
svn path=/trunk/mcs/; revision=16804
2003-07-28 23:30:49 +00:00
Gonzalo Paniagua Javier 32a28444fd fixlets
svn path=/trunk/mono/; revision=16803
2003-07-28 23:24:18 +00:00
Sebastien Pouliot 9c8d820e1e 2003-07-28 Sebastien Pouliot <[email protected]>
* Mono.Security.dll.sources: Added missing SubjectAltNameExtension.cs

svn path=/trunk/mcs/; revision=16801
2003-07-28 22:55:50 +00:00
Piers Haken fcf0de145b 2003-07-28 Piers Haken <[email protected]>
* Expression.cs: boolean operators: handle comparing .Any better

svn path=/trunk/mcs/; revision=16800
2003-07-28 22:54:40 +00:00
Piers Haken cb74d89002 2003-07-28 Piers Haken <[email protected]>
* DefaultContext.cs: count() should return a double
	* Expression.cs: better support for handling non-double numbers

svn path=/trunk/mcs/; revision=16799
2003-07-28 22:12:33 +00:00
Miguel de Icaza cdfa083012 Flush
svn path=/trunk/mono/; revision=16798
2003-07-28 22:10:14 +00:00
Piers Haken 471eacda6f 2003-07-28 Piers Haken <[email protected]>
* DefaultContext.cs: better function param matching

svn path=/trunk/mcs/; revision=16797
2003-07-28 21:54:15 +00:00
Ravi Pratap M 1150daee2d 2003-07-28 Ravi Pratap <[email protected]>
* expression.cs (Invocation.IsParamsMethodApplicable): Fix trivial
	bug - use Convert.ImplicitConversion, not ImplicitUserConversion!

	Fixes bug #44468.

svn path=/trunk/mcs/; revision=16796
2003-07-28 21:28:38 +00:00
Ravi Pratap M f5a837f765 2003-07-28 Ravi Pratap <[email protected]>
* test-212.cs: New test for bug #44468.

svn path=/trunk/mcs/; revision=16795
2003-07-28 21:25:27 +00:00
Miguel de Icaza 208af1a3a4 Trying to fix the regressions on the generics tree; Too many with the
grammar changes

2003-07-28  Miguel de Icaza  <[email protected]>

	* codegen.cs: Compute IsGeneric correctly.

	* cs-parser.jay: Introduce OP_GENERIC_LT for the grammar ambiguity
	resolution.

	Bring back (temporarily) OP_LEFT_SHIFT, OP_RIGHT_SHIFT,
	OP_SHIFT_RIGHT_ASSIGN, OP_SHIFT_LEFT_ASSIGN.  There were too many
	regressions, and I was chasing more bugs than I required.

	* interface.cs: Use expressions for base type names (like classes
	and structs have been doing for a while now), and resolve that.
	This patch should probably go into head as well.

	This makes it one less user of FindType.

svn path=/trunk/mcs/; revision=16794
2003-07-28 21:19:40 +00:00
Miguel de Icaza e78c8e955d Flush
svn path=/trunk/mcs/; revision=16793
2003-07-28 21:14:47 +00:00
Ben Maurer 06e1527ade fix the build
Sorry about the bumps everyone...

svn path=/trunk/mcs/; revision=16792
2003-07-28 20:54:50 +00:00
Ravi Pratap M d1ae8df265 2003-07-28 Ravi Pratap <[email protected]>
* attribute.cs: Documentation updates.

	(CheckAttribute): Rename to CheckAttributeTarget.
	(GetValidPlaces): Rename to GetValidTargets.

svn path=/trunk/mcs/; revision=16791
2003-07-28 20:54:16 +00:00
Duncan Mak 7de09780aa CreateIdentityPermission should be a public method, tested on MS.
svn path=/trunk/mcs/; revision=16790
2003-07-28 20:51:29 +00:00
Duncan Mak 4eda8a1f32 * Site.cs:
* UnionCodeGroup.cs:
* Url.cs: Added to CVS, basic functionality implemented, except
for CreateIdentityPermission (Site, Url) and the Resolve methods
in UnionCodeGroup.

svn path=/trunk/mcs/; revision=16789
2003-07-28 20:41:22 +00:00
Ravi Pratap M 0ce889a835 2003-07-28 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Fix the algorithm to
	handle params methods the correct way by forming only one
	applicable set with params and normal methods in them. Earlier we
	were looking at params methods only if we found no normal methods
	which was not the correct thing to do.

	(Invocation.BetterFunction): Take separate arguments indicating
	when candidate and the best method are params methods in their
	expanded form.

	This fixes bugs #43367 and #46199.

svn path=/trunk/mcs/; revision=16788
2003-07-28 20:30:49 +00:00
Ravi Pratap M fa57b83308 2003-07-28 Ravi Pratap <[email protected]>
* test-189.cs: Reuse vacant slot. Test for bugs #43367 and
	#46199.

svn path=/trunk/mcs/; revision=16787
2003-07-28 20:29:38 +00:00
Ben Maurer 67518f22c4 2003-07-28 Ben Maurer <[email protected]>
* System.Xml.dll.sources: Add new files
	* XslTransform.cs: Use the new XslTransformImpl class
	* XslTransformImpl.cs: An abstract class for Xsl transforms
	* UnmanagedXslTransform.cs: Contains the code that was in
	XslTransform.cs

svn path=/trunk/mcs/; revision=16786
2003-07-28 20:11:51 +00:00
Duncan Mak 4bcbe166d0 * TransportHeaders.cs: Added Serializable attribute.
* ClientChannelSinkStack.cs: Added no-param constructor.

* ContextAttribute.cs: Removed constructor.

* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.

* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.

* Formatter.cs (WriteSByte): Added CLSCompliant attribute.

svn path=/trunk/mcs/; revision=16785
2003-07-28 19:48:38 +00:00
Miguel de Icaza e856a0313f The book was published
svn path=/trunk/mono/; revision=16784
2003-07-28 19:44:47 +00:00
Atsushi Eno e4fa13f616 2003-07-28 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
	  attribute declaration should be got independently of elementdecl.
	* XmlAttribute.cs :
	  Added internal SetDefault() to mark as default.
	  Removed InnerText implementation that is just the same as XmlNode.
	* XmlDocument.cs : id shouldn't be removed from table at 'trying' to
	  get matching elements.  ReadAttributeNode() now sets default mark.
	* XmlElement.cs : WriteTo() should ignore default attributes.
	* XmlTextWriter.cs : shuold allow valid name char such as digits.

svn path=/trunk/mcs/; revision=16783
2003-07-28 18:14:16 +00:00
Martin Baulig ec0ee67aaf 2003-07-28 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineMembers): Use the base type's full
	name when looking up the base class of a nested class.  Fixes #46977.

svn path=/trunk/mcs/; revision=16782
2003-07-28 18:13:57 +00:00
Martin Baulig 540f45dfb2 Disable test-210 for the moment since I reverted my MCS changes.
svn path=/trunk/mcs/; revision=16781
2003-07-28 18:03:39 +00:00
Martin Baulig db3ab98223 2003-07-28 Martin Baulig <[email protected]>
* mono-debug-debugger.c (mono_debugger_runtime_invoke): New
	method.  This is a wrapper around mono_runtime_invoke() which
	boxes the instance object if neccessary.

svn path=/trunk/mono/; revision=16779
2003-07-28 17:55:45 +00:00
Martin Baulig 868e392e8e Reverted my latest changes for the moment until we're doing it the right way.
svn path=/trunk/mcs/; revision=16778
2003-07-28 17:35:00 +00:00
Martin Baulig e2cbdf5c45 New test.
svn path=/trunk/mcs/; revision=16777
2003-07-28 17:29:29 +00:00
Martin Baulig 345db95ffa 2003-07-28 Martin Baulig <[email protected]>
* cs0075.cs: This test case was incorrect; according to the spec,
	`(double) -1' is allowed since `double' is a builtin type.
	However, `(A) -1' is not allowed where `A' is a valuetype and has
	an implicit conversion from int.

svn path=/trunk/mcs/; revision=16776
2003-07-28 16:36:10 +00:00
Martin Baulig 7338fe5e18 2003-07-28 Martin Baulig <[email protected]>
* test-210.cs: New test for bug #46923.

svn path=/trunk/mcs/; revision=16775
2003-07-28 16:34:12 +00:00
Martin Baulig 70098f2e7a 2003-07-28 Martin Baulig <[email protected]>
* cs-parser.jay: Solve the abiguities with casts; fixes bugs
	#46923 and #35459.
	(CAST_FOLLOWING_TOKEN, NO_CAST_FOLLOWING_TOKEN): New tokens;
	they're returned by the tokenizer in some cases to resolve
	ambiguities with casts.
	(invocation_expression): Tell the tokenizer to check whether the
	following token may follow a cast.
	(cast_expression): A cast is only a cast if it's followed by a
	token which may actually follow a cast.

	* expression.cs (ParenthesizedExpression): New class.
	(Binary.DoResolve): Fix #35459.

svn path=/trunk/mcs/; revision=16774
2003-07-28 16:23:04 +00:00
Sebastien Pouliot 9c7803bec9 2003-07-28 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a
	bug in .NET 1.0). There are no more unit test failures on Windows.

svn path=/trunk/mcs/; revision=16773
2003-07-28 15:18:11 +00:00
Miguel de Icaza 3e8399c9d7 Flush
svn path=/trunk/mono/; revision=16770
2003-07-28 13:22:52 +00:00
Nick Drochak b799a828dc 2003-07-28 Nick Drochak <[email protected]>
* Makefile: added test-local target. Fixes build problem.

svn path=/trunk/mcs/; revision=16769
2003-07-28 13:07:09 +00:00
Dick Porter 6bccb641e7 Build fix.
svn path=/trunk/mcs/; revision=16768
2003-07-28 12:44:53 +00:00
Piers Haken ae935bbac4 2003-07-27 Piers Haken <[email protected]>
* Expression.cs:
	* DefaultContext.cs:
		catch FormatExceptions while parsing numbers

svn path=/trunk/mcs/; revision=16767
2003-07-28 06:22:00 +00:00
Jackson Harper 61b47240f1 * CodeGen.cs: Set the assembly name when creating the PEFile.
svn path=/trunk/mcs/; revision=16766
2003-07-28 05:40:05 +00:00
Jackson Harper 22cabb558d * CodeGen.cs: Do not create the PEFile untill the resolve phase. This
fixes the problem with ilasm creating blank files if their is a
	failure in the parsing phase.
	* ExternTable.cs: Do not reference the assemblies untill after the
	PEFile untill the Resolve phase.

svn path=/trunk/mcs/; revision=16765
2003-07-28 05:17:43 +00:00
Jackson Harper b6b901b5b4 * ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
	* ExternMethodRef.cs: Resolve as a typespec method if neccasary
	* ExternTypeRef.cs: Use modifiable type as base class
	* FieldRef.cs: Make sure to not resolve more then once.
	* GlobalFieldRef.cs: Make sure to not resolve more then once.
	* GlobalMethodRef.cs: Make sure to not resolve more then once.
	* ITypeRef.cs: Types no longer need the AsClassRef method
	* MethodDef.cs: Only decriment param count for vararg methods if there
	is an ellipsis on the end of the param list.
	Fix little bug so return types allways get resolved.
	* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
	arrays instead of null
	* PrimitiveTypeRef.cs: Use modifiable type as a base
	* TypeRef.cs: Use modifable type as base, and let it do all the
	modifications
	* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
	* ModifiableType.cs: New base class for all types. This class will
	handle all of the typemodification and determine whether methods
	should be added to the type or the types typespec.

svn path=/trunk/mcs/; revision=16764
2003-07-28 04:18:37 +00:00
Jackson Harper 6ca1c3b932 * ILParser.jay: Use TypeRef.Ellipsis instead of null for a
placeholder in bound arrays. Do not use AsClassRef anymore.

svn path=/trunk/mcs/; revision=16763
2003-07-28 04:16:53 +00:00
Jackson Harper 9c2642f510 Add modifiable type to build.
svn path=/trunk/mcs/; revision=16762
2003-07-28 04:15:56 +00:00
Jackson Harper 9e008bc03b * ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
	* ExternMethodRef.cs: Resolve as a typespec method if neccasary
	* ExternTypeRef.cs: Use modifiable type as base class
	* FieldRef.cs: Make sure to not resolve more then once.
	* GlobalFieldRef.cs: Make sure to not resolve more then once.
	* GlobalMethodRef.cs: Make sure to not resolve more then once.
	* ITypeRef.cs: Types no longer need the AsClassRef method
	* MethodDef.cs: Only decriment param count for vararg methods if there
	is an ellipsis on the end of the param list.
	Fix little bug so return types allways get resolved.
	* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
	arrays instead of null
	* PrimitiveTypeRef.cs: Use modifiable type as a base
	* TypeRef.cs: Use modifable type as base, and let it do all the
	modifications
	* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
	* ModifiableType.cs: New base class for all types. This class will
	handle all of the typemodification and determine whether methods
	should be added to the type or the types typespec.

svn path=/trunk/mcs/; revision=16761
2003-07-28 04:15:15 +00:00
Sebastien Pouliot 53ff75c8aa 2003-07-27 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: Added #if NET_1_0 for the RetrievalMethod bug.

svn path=/trunk/mcs/; revision=16760
2003-07-28 03:46:14 +00:00
Sebastien Pouliot ec7fe1d946 2003-07-27 Sebastien Pouliot <[email protected]>
* XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.

svn path=/trunk/mcs/; revision=16759
2003-07-28 03:43:24 +00:00
Gonzalo Paniagua Javier da88e996b2 small fixes
svn path=/trunk/mono/; revision=16758
2003-07-28 00:34:49 +00:00
Miguel de Icaza e20b5b5d1d No point in scaring people
svn path=/trunk/mcs/; revision=16757
2003-07-28 00:11:28 +00:00
Miguel de Icaza 64ca5afc26 Floush
svn path=/trunk/mono/; revision=16756
2003-07-28 00:10:12 +00:00
Piers Haken 10fd05dc67 2003-07-27 Piers Haken <[email protected]>
* Expression.cs:
		fix case sorting order
		allow EvaluateNumber to take XPathResultType.Any

svn path=/trunk/mcs/; revision=16754
2003-07-27 23:27:14 +00:00
Piers Haken ce87ea0ec5 2003-07-27 Piers Haken <[email protected]>
* XmlQualifiedName.cs : fields should never be null

	* Expression.cs:
	* Tokenizer.cs:
		don't pass null to XmlQualifiedName constructor

	* XsltArgumentList.cs:
		fix type conversions in ValidateParam
		allow creating params with null namespaceUri

svn path=/trunk/mcs/; revision=16753
2003-07-27 21:49:26 +00:00
Piers Haken 638de75bd3 2003-07-27 Piers Haken <[email protected]>
* DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)

svn path=/trunk/mcs/; revision=16752
2003-07-27 20:01:58 +00:00
Piers Haken f203457fdf 2003-07-27 Piers Haken <[email protected]>
* Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any

svn path=/trunk/mcs/; revision=16751
2003-07-27 19:33:33 +00:00
Atsushi Eno d9f45e7056 2003-07-27 Atsushi Enomoto <[email protected]>
* XmlDocumentFragment.cs : added XPathNodeType indicating Root.

svn path=/trunk/mcs/; revision=16749
2003-07-27 16:37:23 +00:00
Miguel de Icaza ac40786c76 Update
svn path=/trunk/mono/; revision=16748
2003-07-27 16:33:36 +00:00
Miguel de Icaza ead92d1e73 Comment fixage
svn path=/trunk/mcs/; revision=16746
2003-07-27 16:26:09 +00:00
Andreas N 137c68e961 2003-07-27 Andreas Nahr <[email protected]>
* ApplicationFileParser.cs: Fixed signature
	* DesignTimeParseData.cs: Added missing properties, implemented
	* Page.cs: Added attributes
	* PageParser.cs:
	* TemplateControlParser.cs:
	* TemplateParser.cs:
	* UserControlParser.cs: Fixed signature

svn path=/trunk/mcs/; revision=16745
2003-07-27 13:48:44 +00:00
César Natarén aaf413a246 Added new files to the build
svn path=/trunk/mcs/; revision=16744
2003-07-27 11:41:15 +00:00
César Natarén 01c0fecd33 Adding Enum.cs
svn path=/trunk/mcs/; revision=16743
2003-07-27 11:32:44 +00:00
César Natarén 87111094d7 forgot to add Literal.cs :) (sorry it's 6am)
svn path=/trunk/mcs/; revision=16742
2003-07-27 11:25:39 +00:00
César Natarén 9b41acd098 updating generated files from grammar
svn path=/trunk/mcs/; revision=16741
2003-07-27 11:23:16 +00:00
César Natarén 7ce2f7aaaa 2003-07-27 Cesar Lopez Nataren <[email protected]>
* Added files StringLiteral.cs, CodeGenerator.cs and Print.cs.

svn path=/trunk/mcs/; revision=16740
2003-07-27 11:13:35 +00:00
César Natarén 7ab226a939 no more bugging messages :)
svn path=/trunk/mcs/; revision=16739
2003-07-27 11:07:31 +00:00
César Natarén 3e5ec7879f 2003-07-27 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: Changed the namespace to
	Microsoft.JScript.Tmp.

	* jscript-lexer-parser.g: Fixwd a typo at source_elements rule.

	* jscript-lexer-parser.g: Got the name of a
	global_function_declaration and also its return type if
	available.

	* jscript-lexer-parser.g: Added syntatic rule for print_statement.
	* jscript-lexer-parser.g: Initial construction of AST for
	enum_statement and package_statement.

	* jscript-lexer-parser.g: Fixed the enum_statement to accept
	empty enum declarations.

	* jscript-lexer-parser.g: Got the type of a
	veriable_declaration.

	* jscript-lexer-parser.g: Initial construction of AST for
	primary_expression (in particular literal).

svn path=/trunk/mcs/; revision=16738
2003-07-27 10:55:24 +00:00
César Natarén f12f0b66e7 2003-07-27 Cesar Lopez Nataren <[email protected]>
* driver.cs: Modified the driver structure to be compatible
	with our new CodeGenrator and SemanticAnalizer. I
	removed the builders from Reflection.Emit to the
	CodeGenerator. Added an ASTList, SemanticAnalizer and
	CodeGenerator here. Adde methods Run, GenerateCode

svn path=/trunk/mcs/; revision=16737
2003-07-27 10:23:31 +00:00
Andreas N ca214ada3a 2003-07-27 Andreas Nahr <[email protected]>
* CredentialCache.cs: Removed undefined serializable attribute

svn path=/trunk/mcs/; revision=16736
2003-07-27 10:04:15 +00:00
Andreas N 9f70ec7968 2003-07-27 Andreas Nahr <[email protected]>
* SRDescriptionAttribute.cs: Moved to System directory

svn path=/trunk/mcs/; revision=16735
2003-07-27 09:59:44 +00:00
Andreas N aac97afa58 2003-07-27 Andreas Nahr <[email protected]>
* System.dll.sources: SRDescriptionAttribute.cs moved

svn path=/trunk/mcs/; revision=16734
2003-07-27 09:58:55 +00:00
Andreas N ee4087c2ff 2003-07-27 Andreas Nahr <[email protected]>
* SRDescriptionAttribute.cs: Moved from System.Diagnostics directory

svn path=/trunk/mcs/; revision=16733
2003-07-27 09:57:39 +00:00
César Natarén 46b1d589ec 2003-07-27 Cesar Lopez Nataren <[email protected]>
* Statement.cs: Forgot to include it at last commit.

svn path=/trunk/mcs/; revision=16732
2003-07-27 09:54:03 +00:00
César Natarén e03cc01130 2003-07-27 Cesar Lopez Nataren <[email protected]>
* Decided to change temporarly namespace name
	Microsoft.JScript to Microsoft.JScript.Tmp in order to be able
	to run the code generated by our CIL code generator (on  next
	commit will come). The problem is that we don't have the
	runtime support for our compiler, this involve VsaEngine class
	and its "friends", which I have not found a lot of
	doumentation for. If someone knows a docs place for them,
	don't hesitate to send me a email pointing to them.

	* Changed from public to internal Visit function at some
	classes.

	* Package.cs: Added Name and Members fields.

	* SemanticAnalizer.cs: Added methods VisitPrint and
	VisitStringLiteral.

	* VariableDeclaration.cs: Added Type field.

	* Visitor.cs: Changed from public to internal. Added
	VisitPrint and VisitStringLiteral methods.

	* VsaEngine.cs: Fixed namespace name from Microsoft.JScript to
	Microsoft.JScript.Vsa and then to Microsoft.JScript.Vsa.Tmp.

svn path=/trunk/mcs/; revision=16731
2003-07-27 09:26:13 +00:00
Piers Haken 0cd86fed8d 2003-07-26 Piers Haken <[email protected]>
* Expression.cs: fix function evaluation with ambigous argument types
	* XPathnavigator.cs: fix silly null reference bug

svn path=/trunk/mcs/; revision=16729
2003-07-27 02:54:26 +00:00
Ben Maurer 86afbc6637 2003-07-26 Ben Maurer <[email protected]>
* statement.cs: Make Math.XXX System.Math.XXX, to fix the build.

svn path=/trunk/mcs/; revision=16728
2003-07-27 02:49:04 +00:00
Piers Haken 2e273f54ed 2003-07-26 Piers Haken <[email protected]>
* Iterator.cs:
	* DefaultContext.cs:
		ArrayListIterator->EnumeratorIterator
	* Expression.cs: add sorting support

svn path=/trunk/mcs/; revision=16727
2003-07-27 02:28:24 +00:00
Duncan Mak 7b630fcdbc Little fixity fix! ;-)
svn path=/trunk/mcs/; revision=16726
2003-07-27 02:25:48 +00:00
Atsushi Eno 16f7ba7c3b 2003-07-27 Atsushi Enomoto <[email protected]>
* XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted

svn path=/trunk/mcs/; revision=16725
2003-07-27 02:19:34 +00:00
Atsushi Eno 93f58ac5c6 2003-07-27 Atsushi Enomoto <[email protected]>
* XmlLinkedNode.cs : added internal IsRooted.

svn path=/trunk/mcs/; revision=16724
2003-07-27 02:10:41 +00:00
Duncan Mak 206ee6ebab * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
for OwnerElement.IsRooted to fix the build..

* SoapServices.cs (XmlNsForClrTypeWithNsAndAssembly):
Fixed typo. It's 'Ns', but 'Ms'.

svn path=/trunk/mcs/; revision=16721
2003-07-26 23:49:55 +00:00
Piers Haken 26430406cf 2003-07-26 Piers Haken <[email protected]>
* Tokenizer.cs:
	* Parser.jay:
		move QName parsing into tokenizer
	* Expression.cs:
		fix evaluating XPathResultType.Any
		fix ExprDiv.ToString()
		fix NodeTypeTest.ToString() (for namespace axis)

svn path=/trunk/mcs/; revision=16719
2003-07-26 20:16:24 +00:00
Atsushi Eno 85b67a618e 2003-07-26 Atsushi Enomoto <[email protected]>
* XmlAttributeTests.cs : added IdentityConstraints().
	* XmlDocumentTests.cs : added DocumentTypeNodes().
	* XmlNodeTests.cs : added InnerText().
	* XmlReaderCommonTests.cs : added XmlValidatingReader as one of the
	  testing reader. Added IndexerAndAttributes().
	* XmlValidatingReader.cs : modified TestAttributes() to have
	  ReadAttributeValue() tests. Added TestIdentityConstraints()

svn path=/trunk/mcs/; revision=16718
2003-07-26 19:46:11 +00:00
Atsushi Eno 3d09dbb9c9 2003-07-26 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs :
	  - Added ID support in ValidateAttributes().
	  - More refined ReadAttributeValue() support for non-expanding entity
	    situation
	  - It should handle LocalName, Name, Prefix, NamespaceURI and Value
	    correctly when the reader is on each of the value nodes of an
	    attribute. Now XmlDocument.ReadNode() should work well.
	* XmlDocument.cs :
	  - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
	    RemoveIdenticalAttribute()
	  - Implemented GetAttributeById().
	* XmlAttributeCollection.cs :
	  - added private ownerDocument property and replaced
	    ownerElement.OwnerDocument with it.
	  - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
	    It calls XmlDocument.{Add|Remove}IdenticalAttribute().
	  - Added RemoveIdenticalAttribute() and it is used in Remove().
	    (I also added AddIdenticalAttribute() but is not used.)

svn path=/trunk/mcs/; revision=16717
2003-07-26 19:39:32 +00:00
Atsushi Eno 155737a339 2003-07-26 Atsushi Enomoto <[email protected]>
* XmlDocumentType.cs :
	  modified private DTD to dtd and added internal DTD (the same thing).
	* XmlElement.cs :
	  Fixed SetAttributeNode() to check if specified attribute is already
	  set to the other element. In fact it is W3C DOM's specification but
	  MS.NET 1.0 failed to catch it.
	* XmlTextReader.cs :
	  ReadAttributeValue() should check if the value of the attribute is
	  already read when the whole value is entity reference.
	  Also, Name of text nodes should be "", not "#text"

svn path=/trunk/mcs/; revision=16716
2003-07-26 19:38:37 +00:00
Atsushi Eno 166656c4bf 2003-07-26 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
	* XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
	  should be internal.

svn path=/trunk/mcs/; revision=16715
2003-07-26 19:37:38 +00:00
Gonzalo Paniagua Javier 92dde70ec0 2003-07-26 Gonzalo Paniagua Javier <[email protected]>
* Makefile: added install-local target.

svn path=/trunk/mcs/; revision=16714
2003-07-26 19:06:36 +00:00
Gonzalo Paniagua Javier a01e86e2aa 2003-07-26 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=16713
2003-07-26 18:52:22 +00:00
Martin Baulig 25c867616c Use System.Math instead of just `Math'.
svn path=/trunk/mcs/; revision=16712
2003-07-26 17:53:52 +00:00
Martin Baulig cc57aa138c 2003-07-26 Martin Baulig <[email protected]>
* error-6.cs: New test for bug #46907.

	* Makefile.am (test-multi-local): Run the multi-test tests.
	(all-local): Run run-test-local and test-multi-local.

svn path=/trunk/mcs/; revision=16711
2003-07-26 17:49:34 +00:00
Martin Baulig 993839b510 2003-07-26 Martin Baulig <[email protected]>
* test-209.cs: New test for implict conversions and embedded assignments.

svn path=/trunk/mcs/; revision=16710
2003-07-26 17:48:25 +00:00
Martin Baulig 43ccd1916e 2003-07-26 Martin Baulig <[email protected]>
* expression.cs (Indexers.Indexer): New nested struct; contains
	getter, setter and the indexer's type.
	(Indexers.Properties): This is now an ArrayList of
	Indexers.Indexer's.
	(IndexerAccess.DoResolveLValue): Correctly set the type if the
	indexer doesn't have any getters.

	* assign.cs (Assign.DoResolve): Also do the implicit conversions
	for embedded property and indexer assignments.

svn path=/trunk/mcs/; revision=16709
2003-07-26 17:45:15 +00:00
Piers Haken 405d4ac5a9 2003-07-25 Piers Haken <[email protected]>
* Expression.cs: return clone of $var evaluation

svn path=/trunk/mcs/; revision=16708
2003-07-26 17:45:08 +00:00
Martin Baulig 8fab89a2da 2003-07-26 Martin Baulig <[email protected]>
* cs-tokenizer.cs (Tokenizer.xtoken): Report a CS1040 if a
	preprocessor directive is not the first non-whitespace character
	on a line.

svn path=/trunk/mcs/; revision=16707
2003-07-26 17:40:05 +00:00
Martin Baulig 523ce1a2eb 2003-07-26 Martin Baulig <[email protected]>
* namespace.cs (NamespaceEntry.Lookup): New method; rewrote the
	namespace parsing, follow the spec more closely.

	* rootcontext.cs (RootContext.NamespaceLookup): Use the new
	NamespaceEntry.Lookup().

svn path=/trunk/mcs/; revision=16706
2003-07-26 17:35:40 +00:00
Gonzalo Paniagua Javier 1150f5cc0e 2003-07-26 Gonzalo Paniagua Javier <[email protected]>
* FormatterServices.cs:
	(GetSerializableMembers): check that all base types are serializable
	when getting their fields. Fixes bug #46875.

svn path=/trunk/mcs/; revision=16705
2003-07-26 15:24:11 +00:00
Gonzalo Paniagua Javier 2f6d8e30b9 2003-07-26 Gonzalo Paniagua Javier <[email protected]>
* Mono.Http.dll.sources: added new files.

	* README: updated.

	* Mono.Http/GZipWebRequest.cs:
	* Mono.Http/GZipWebResponse.cs: wrappers for WebRequest/WebResponse to
	allow requesting and receiving gzipped content that is transparently
	uncompressed.

	* samples/ChangeLog:
	* samples/Makefile:
	* samples/http-get-gzip.cs: initial check in.

svn path=/trunk/mcs/; revision=16704
2003-07-26 15:03:35 +00:00
Atsushi Eno 344d80fd69 2003-07-26 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
	  with http://www.w3.org/XML/1998/namespace.
	* XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
	* XmlNode.cs : InnerText should handle CDATA and whitespaces.
	* XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
	* XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
	  attributes (as MS.NET does). It isn't good way and I may change it.

svn path=/trunk/mcs/; revision=16702
2003-07-26 08:47:54 +00:00
Duncan Mak 18047681c5 (Equals):
(GetHashCode): Removed because they do not need to be defined
here.

svn path=/trunk/mcs/; revision=16698
2003-07-25 23:26:05 +00:00
Piers Haken 2654d1fc81 2003-07-25 Piers Haken <[email protected]>
* Iterator.cs: add setter for NamespaceManager
	* XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
	* Expression.cs: fix func/var exception strings

svn path=/trunk/mcs/; revision=16696
2003-07-25 21:26:28 +00:00
Peter Williams 771125683f Have run-test depend on test-local after it does run-test-recursive, so
a toplevel 'make run-test' doesn't recurse through all the directories twice
(once to make test, once to run-test).

svn path=/trunk/mcs/; revision=16692
2003-07-25 19:42:00 +00:00
Ravi Pratap M a411797ad5 Complete comment
svn path=/trunk/mcs/; revision=16691
2003-07-25 19:22:23 +00:00
Piers Haken ab5db15325 2003-07-25 Piers Haken <[email protected]>
* Expressioncs: implement ExprFilter.Evaluate

svn path=/trunk/mcs/; revision=16690
2003-07-25 19:14:19 +00:00
Gonzalo Paniagua Javier 4d92674975 update
svn path=/trunk/mono/; revision=16688
2003-07-25 18:01:40 +00:00
Gonzalo Paniagua Javier bccf2d2941 Changed USE_... by NET_1_X
svn path=/trunk/mcs/; revision=16687
2003-07-25 17:56:57 +00:00
Gonzalo Paniagua Javier d8878bc214 2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* XmlCanonicalizer.cs: fixed to make it build for 1.0 and 1.1.

svn path=/trunk/mcs/; revision=16686
2003-07-25 17:54:01 +00:00
Piers Haken 65fed058e3 2003-07-25 Piers Haken <[email protected]>
* Expressioncs: implement ExprVariable.Evaluate

svn path=/trunk/mcs/; revision=16685
2003-07-25 17:42:44 +00:00
Ravi Pratap M a9dcd99f78 Add this error test case
svn path=/trunk/mcs/; revision=16684
2003-07-25 17:38:12 +00:00
Ravi Pratap M f8d133d5a2 2003-07-25 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Perform the check
	which disallows Invoke to be directly called on a Delegate.

	(Error_InvokeOnDelegate): Report error cs1533.

svn path=/trunk/mcs/; revision=16683
2003-07-25 17:37:29 +00:00
Paolo Molaro 7d38658fc6 Fri Jul 25 19:25:31 CEST 2003 Paolo Molaro <[email protected]>
* PEAPI.cs: added coded index for the owner field in the GenericParam
	table.

svn path=/trunk/mcs/; revision=16682
2003-07-25 17:36:29 +00:00
Ravi Pratap M ef0081a565 2003-07-25 Ravi Pratap <[email protected]>
* everywhere: Remove uses of direct invocation of the 'Invoke'
	method on a delegate type - that is error cs1533 now flagged by
	mcs.

svn path=/trunk/mcs/; revision=16681
2003-07-25 17:35:43 +00:00
Ravi Pratap M 224fda6312 2003-07-25 Ravi Pratap <[email protected]>
* DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
	method on a delegate is disallowed - fix this.

svn path=/trunk/mcs/; revision=16680
2003-07-25 17:29:24 +00:00
Paolo Molaro 92d3dce5a0 Fri Jul 25 19:14:13 CEST 2003 Paolo Molaro <[email protected]>
* class.c, class.h, image.c, image.h, loader.c, metadata.c,
	metadata.h, row-indexes.h, verify.c: first cut of generics support.

svn path=/trunk/mono/; revision=16679
2003-07-25 17:28:32 +00:00
Paolo Molaro 18d678eca6 Fri Jul 25 18:51:45 CEST 2003 Paolo Molaro <[email protected]>
* cpu-g4.md, cpu-pentium.md: updates for new instructions.
	* mini.c, mini.h: first cut at generics support: some new instructions
	added and changed the behaviour of some of the existing ones.

svn path=/trunk/mono/; revision=16678
2003-07-25 17:28:25 +00:00
Paolo Molaro 2c5e5e3707 Fri Jul 25 19:06:27 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: updates for new instructions.

svn path=/trunk/mono/; revision=16677
2003-07-25 17:28:17 +00:00
Ravi Pratap M 2da89001e5 Oops - we need a main
svn path=/trunk/mcs/; revision=16676
2003-07-25 17:11:19 +00:00
Ravi Pratap M 144012324e Add this error test case
svn path=/trunk/mcs/; revision=16675
2003-07-25 17:10:36 +00:00
Ravi Pratap M 5ac6359d0e 2003-07-25 Ravi Pratap <[email protected]>
* attribute.cs (Attribute.CheckAttribute): Break as soon as we
	find an AttributeUsage attribute.

svn path=/trunk/mcs/; revision=16674
2003-07-25 17:03:30 +00:00
Martin Baulig 1d61687505 2003-07-25 Martin Baulig <[email protected]>
* MethodCore.cs (OverridesSomething): New public field; it's set
	from TypeContainer.DefineMembers if this method overrides
	something (which doesn't need to be a method).  Fix #39462.

svn path=/trunk/mcs/; revision=16673
2003-07-25 16:36:59 +00:00
Ravi Pratap M 51b4e50f4b Oops - no 207 it seems
svn path=/trunk/mcs/; revision=16672
2003-07-25 16:28:39 +00:00
Ravi Pratap M 4bdf4a205c Add these to the test suite
svn path=/trunk/mcs/; revision=16671
2003-07-25 16:28:06 +00:00
Ravi Pratap M 52e88d859b Bash was complaining about some syntax error - fix it
svn path=/trunk/mcs/; revision=16670
2003-07-25 16:25:10 +00:00
Ravi Pratap M 3f265c2ba5 Fix - test-102 doesn't pass, not 202
svn path=/trunk/mcs/; revision=16669
2003-07-25 16:14:27 +00:00
Martin Baulig 816edb9e7a 2003-07-25 Martin Baulig <[email protected]>
* test-208.cs: New test for bug #46788.

svn path=/trunk/mcs/; revision=16668
2003-07-25 15:52:38 +00:00
Martin Baulig c1f3a6b494 2003-07-25 Martin Baulig <[email protected]>
* expression.cs (Indexers.GetIndexersForType): Only look in the
	interface hierarchy if the requested type is already an
	interface.  Fixes #46788 while keeping #46502 fixed.

svn path=/trunk/mcs/; revision=16667
2003-07-25 15:51:32 +00:00
Ravi Pratap M c1bfe4b581 2003-07-25 Ravi Pratap <[email protected]>
* typemanager.cs (GetMembers): Ensure that the list of members is
	reversed. This keeps things in sync.

svn path=/trunk/mcs/; revision=16666
2003-07-25 15:46:30 +00:00
Ravi Pratap M 44fcee058d 2003-07-24 Ravi Pratap <[email protected]>
* interface.cs (Populate*): Get rid of code which emits attributes
	since the stage in which we emit attributes is the 'Emit' stage,
	not the define stage.

	(Emit): Move attribute emission for interface members here.

svn path=/trunk/mcs/; revision=16665
2003-07-25 15:15:01 +00:00
Jackson Harper eb4d1c24bf * MEthodDef.cs: If methods do not have the static attribute give
them the instance calling convention.

svn path=/trunk/mcs/; revision=16664
2003-07-25 15:00:00 +00:00
Paolo Molaro 2e3334dfcf Slightly more complex example.
svn path=/trunk/mcs/; revision=16662
2003-07-25 13:23:32 +00:00
Lluis Sanchez 439574b405 * MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
including ref and out.

svn path=/trunk/mcs/; revision=16661
2003-07-25 12:22:01 +00:00
Lluis Sanchez 0ac396f1cd * RemotingProxy.cs: Check the return arguments types. (a wrong type
would make the runtime to crash).

svn path=/trunk/mcs/; revision=16660
2003-07-25 12:17:02 +00:00
Lluis Sanchez 6ec4609ca7 * ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
out parameter.
	* MethodCall.cs: Improved checking if the requested client type for the target
	  object can be casted to the server type. Now not only checks type name,
	  but also the type hierarchy and implemented interfaces. Also implemented
	  method ToString().
	* MethodResponse.cs: Imlemented ToString().
	* ReturnMessage.cs: In the exception constructor, allow the request to be null.
	  Implemented ToString().
	* StackBuilderSink.cs: Check type of parameters before calling the target method.
	  (a wrong type would make the runtime to crash).

svn path=/trunk/mcs/; revision=16659
2003-07-25 12:10:09 +00:00
Lluis Sanchez cc7eb33850 * RemotingServices.cs: If the type for a proxy is not available in
the client site, use the MarshalByRefObject type.

svn path=/trunk/mcs/; revision=16658
2003-07-25 11:58:23 +00:00
Paolo Molaro 1f2bb5dea2 Fri Jul 25 12:27:24 CEST 2003 Paolo Molaro <[email protected]>
* generics-c.il, generics-b.il: add constructors and fix code.

svn path=/trunk/mcs/; revision=16657
2003-07-25 10:36:55 +00:00
Martin Baulig f517342741 Disable tests which were already disabled in the old makefile.
svn path=/trunk/mcs/; revision=16656
2003-07-25 10:13:35 +00:00
Martin Baulig b8f8adfbc7 2003-07-25 Martin Baulig <[email protected]>
* class.cs (TypeContainer.DefineMembers): Check whether all
	readonly fields have been assigned and report warning CS0649 if
	not.

	* statement.cs (LocalInfo.IsFixed): Always return true if this is
	a valuetype.

svn path=/trunk/mcs/; revision=16655
2003-07-25 10:10:38 +00:00
Ben Maurer 42c9746fdf 2003-07-24 Ben Maurer <[email protected]>
* DefaultContext.cs: implement lang ()

svn path=/trunk/mcs/; revision=16647
2003-07-25 03:43:26 +00:00
Miguel de Icaza a46da5afed Add missing file
svn path=/trunk/mcs/; revision=16640
2003-07-25 01:30:08 +00:00
Miguel de Icaza 3fc9465b2c Fix build.
svn path=/trunk/mcs/; revision=16639
2003-07-25 01:29:57 +00:00
Ravi Pratap M 0cfdbf543f Error test - checks attributes on interface members
svn path=/trunk/mcs/; revision=16638
2003-07-25 01:05:13 +00:00
Ravi Pratap M 4a5b754478 GEt rid of debug statement
svn path=/trunk/mcs/; revision=16637
2003-07-25 00:50:57 +00:00
Sebastien Pouliot 5faa941662 2003-07-24 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
	* XmlDsigC14NWithCommentsTransformTest.cs: New tests from
	Aleksey Sanin.

svn path=/trunk/mcs/; revision=16636
2003-07-25 00:25:58 +00:00
Sebastien Pouliot 3a3ef3d961 2003-07-24 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added new Mono.Xml.XmlCanonicalizer.cs
	from Aleksey Sanin.

svn path=/trunk/mcs/; revision=16635
2003-07-25 00:23:29 +00:00
Sebastien Pouliot 17502535a6 2003-07-24 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
	from Aleksey Sanin.

svn path=/trunk/mcs/; revision=16633
2003-07-25 00:22:17 +00:00
Sebastien Pouliot 7964625686 2003-07-24 Sebastien Pouliot <[email protected]>
* XmlCanonicalizer.cs: New. C14N class from Aleksey Sanin.

svn path=/trunk/mcs/; revision=16632
2003-07-25 00:19:44 +00:00
Miguel de Icaza 9897d12efd Flush changelog entries
svn path=/trunk/mono/; revision=16630
2003-07-24 23:00:26 +00:00
Piers Haken b3e48938d7 2003-07-24 Piers Haken <[email protected]>
* Parser.jay:
	* Expression.cs:
		allow ExprUNION to take non-nodeset (eg, $var) arguments

svn path=/trunk/mcs/; revision=16629
2003-07-24 22:37:55 +00:00
Gonzalo Paniagua Javier 36fd3b3b6d 2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* TypeLoadException.cs: removed unused fields. TypeName returns "" if
	cannot even get the type.

svn path=/trunk/mcs/; revision=16628
2003-07-24 22:00:43 +00:00
Ravi Pratap M d1953a2de0 2003-07-24 Ravi Pratap <[email protected]>
* decl.cs (MemberCache.AddMethods): Reverse the order of the array
	returned from GetMethods to make things consistent with the
	assumptions MCS makes about ordering of methods.

	This should comprehensively fix bug #45127 and it does :-)

	* ecore.cs (MethodGroupExpr.DeclaringType): Correct bug - the
	ordering is actually reverse.

	* Clean up some debug messages I left lying around.

svn path=/trunk/mcs/; revision=16627
2003-07-24 21:34:31 +00:00
Ravi Pratap M c99d0fddce 2003-07-24 Ravi Pratap <[email protected]>
* icall.c: Remove the FIXED_MCS_45127 workarounds - this has been
	fixed.

svn path=/trunk/mono/; revision=16626
2003-07-24 21:34:03 +00:00
Gonzalo Paniagua Javier 337732dff9 2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* rules.make: run-test depends now on 'test'.

svn path=/trunk/mcs/; revision=16625
2003-07-24 21:10:36 +00:00
Miguel de Icaza 228de5cff0 2003-07-24 Miguel de Icaza <[email protected]>
This compiler can not self host currently.  Need to fix that.

	* Makefile: compile to `gmcs.exe'

	* driver.cs: Turn on v2 by default on gmcs.

	* generic.cs (ConstructedType): Does no longer take a container
	type argument;  That will be taken care of later.

	(ConstructedType.DoResolve, ConstructedType.ResolveAsTypeStep):
	Use SimpleName to resolve for now, so we can continue the work on
	the parser, until we get Type.GetType that understands generics.

	(ConstructedType.ToString): Implement

	(TypeArguments.Resolve): Resolve the child expressions as types.

	* cs-parser.jay: Rename interface_constraints to
	type_parameter_constraints

	(namespace_or_type_name): Only use constructed types for the basic
	construction, we will deal with identifier<...> later.

	(type/type_name): No longer call DecomposeQI, as
	namespace_or_type_name is always decoded now.

svn path=/trunk/mcs/; revision=16624
2003-07-24 20:46:47 +00:00
Piers Haken 2e5903d155 2003-07-24 Piers Haken <[email protected]>
* Tokenizer.cs: fix variable references
	* Parser.jay:
	* Expression.cs:
	* XPathNavigator.cs:
		use XmlQualifiedName

svn path=/trunk/mcs/; revision=16623
2003-07-24 20:41:45 +00:00
Miguel de Icaza a819527168 Add another test
svn path=/trunk/mcs/; revision=16622
2003-07-24 20:41:34 +00:00
Miguel de Icaza 13c56abe99 2003-07-24 Miguel de Icaza <[email protected]>
* Type.cs: Added generics stubs.

2003-07-24  Miguel de Icaza  <[email protected]>

	* ArrayList.cs: Removed MonoTODO.

2003-07-24  Miguel de Icaza  <[email protected]>

	* TypeDelegator.cs: Added generics stubs.

2003-07-24  Miguel de Icaza  <[email protected]>

	* TypeBuilder.cs: Added generics stubs.

	* EnumBuilder.cs: Added generics  stubs, changed bracing style for
	routines.

svn path=/trunk/mcs/; revision=16621
2003-07-24 20:26:37 +00:00
Miguel de Icaza a871cc317a Add profile
svn path=/trunk/mcs/; revision=16620
2003-07-24 20:22:02 +00:00
Gonzalo Paniagua Javier 5b86ff4721 2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* Makefile: only build Mono.CSharp.Debugger under linux.

svn path=/trunk/mcs/; revision=16618
2003-07-24 17:37:39 +00:00
Gonzalo Paniagua Javier b3daeeb1d2 2003-07-24 Gonzalo Paniagua Javier <[email protected]>
* rules.make: set corlib to PLATFORM_CORLIB if this is defined.

svn path=/trunk/mcs/; revision=16617
2003-07-24 17:35:15 +00:00
Atsushi Eno 19b526cef1 2003-07-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs,
	  XmlNodeTests.cs,
	  XmlTextWriterTests.cs : removed some compilation warning.
	* XmlNodeReaderTests.cs : reverted Jul. 12th. ReadInnerXmlWrongInit()
	  incorrect commit.
	* XmlValidatingReaderTests.cs : Code refactory (removed xml1, xml2...
	  and changed PrepareXmlReader() as returning validating reader.
	  Added indexer (this[]) property check and ValidationType.None check
	  to TestAttributeDefaultContribution().
	  Added TestExpandEntity(), TestPreserveEntity() and TestNormalization().

svn path=/trunk/mcs/; revision=16616
2003-07-24 17:34:42 +00:00
Atsushi Eno 4f2417fbcf 2003-07-24 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
	  DTDNotationDeclarationCollection and replaced Hashtables with them.
	  Added NormalizedDefaultValue property for DTDAttributeDefinition.
	* DTDValidatingReader.cs :
	  - It now reads attribute values into value collection.
	  - Renamed consumedDefaultAttribute to consumedAttribute, and
	    inContent to insideContent.
	  - GetAttribute() should allow reader's other node state than element.
	  - MoveToNextAttribute() should move when reader is placed other than
	    the first attribute.
	  - HandleError() now supports ValidationType.None (i.e. does nothing).
	  - ValidateAttribute() now collects and resolves attribute value
	    entity references. (On the other hand, it doesn't support
	    EntityHandling.ExpandCharEntity.)
	  - NodeType shouldn't return Attribute after ReadAttributeValue().
	    Now only Text is supported, but must also support EntityReference.
	  - Add FilterNormalization() and partially support Normalization.

svn path=/trunk/mcs/; revision=16615
2003-07-24 17:24:37 +00:00
Gonzalo Paniagua Javier 23cc2051dc Added new assembly to hold utility classes related to Http protocol
svn path=/trunk/mcs/; revision=16613
2003-07-24 17:02:52 +00:00
Miguel de Icaza 4bd57de01f Initial import of the Generic MCS tree.
2003-07-20  Miguel de Icaza  <[email protected]>

	* cs-parser.jay (namespace_name): do not use
	namespace_or_type_name, use qualified_identifier, because
	namespace_or_type_name will soon return a composed expression
	instead of a string.

	(namespace_or_type_name): Instead of returning a string, now this
	production returns an expression.

	* codegen.cs (EmitContext): Setup IsGeneric property based on
	whether our DeclSpace is generic, our the method is generic.

	* modifier.cs (Modifiers.METHOD_GENERIC): New definition, use if
	the method is generic.

	* cs-parser.jay (type_arguments, opt_type_argument_list,
	type_parameters, type_parameter_list, opt_type_parameter_list,
	type_parameter,, opt_type_parameter_constraints_clauses,
	type_parameter_constraints_clauses,
	type_parameter_constraint_clause, type_parameter_constraint,
	interface_constraints): Add new production

	* decl.cs (DeclSpace): IsGeneric, flag to track whether this
	DeclSpace is generic or not.

	(DeclSpace.SetParameterInfo): New routine, used to set the
	parameter info for a type.

	(DeclSpace.LookupGeneric): Lookups a name, and if it is a generic,
	returns a GenericTypeExpr

	* ecore.cs (SimpleName.ResolveAsTypeStep): If our container is
	generic, lookup the generic argument.

	* attribute.cs: Do not allow TypeParameterExpressions in
	Attributes.

	* class.cs: Do not allow the Main method to be defined in a
	Generic container.

	* expression.cs (SizeOf): Do not allow generic types to be used as
	arguments to sizeof.

	* typemanager.cs (IsGeneric): Wrapper for Reflection when we have
	it: whether a type is generic or not.  Only works for types we are
	currently building for now.

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

	* generic.cs: New file, contains support code for generics.

	* cs-parser.jay: Remove OP_SHIFT_LEFT, OP_SHIFT_RIGHT,
	OP_SHIFT_LEFT_ASSIGN, OP_SHIFT_RIGHT_ASSIGN.

	Update parser for the above removals.

	* cs-tokenizer.cs: Do not handle <<= or >>= specially.  This is
	now taken care of in the parser.

svn path=/trunk/mcs/; revision=16612
2003-07-24 16:46:43 +00:00
Miguel de Icaza c7cfb1e723 This import contains a verbatim copy of mcs at the time of this writing;
This directory is only for the development of the generics version of MCS,
we will later fold all those changes into the main branch.  But wanted to
share the code with others in the meantime instead of keeping a separate
tree.

svn path=/trunk/mcs/; revision=16611
2003-07-24 16:28:24 +00:00
Atsushi Eno e83cd57d51 2003-07-24 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Read() now uses XmlSerializer.Deserialize().

svn path=/trunk/mcs/; revision=16610
2003-07-24 16:20:20 +00:00
Atsushi Eno 750f51d4f9 2003-07-24 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs :
	  Read() now handles parser context stuff (BaseURI, XmlLang and
	  XmlSpace) correctly for an empty element.
	  Normalization property now doesn't throw an error. Will be used soon.
	* XmlValidatingReader.cs : added ValidationType.None support (wait for
	  the next DTDValidatingReader update for "not firing event handler).
	* XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.

svn path=/trunk/mcs/; revision=16609
2003-07-24 16:19:39 +00:00
Miguel de Icaza b3fd8303a6 Add some comments from Paolo to the file
svn path=/trunk/mono/; revision=16608
2003-07-24 15:15:56 +00:00
Duncan Mak f0106a5340 (GetFolderPath): Make it not print out CS0162
warnings.

svn path=/trunk/mcs/; revision=16606
2003-07-24 14:51:10 +00:00
Lluis Sanchez d28ede2ee3 * reflection.c: Fix bug #46669
svn path=/trunk/mono/; revision=16604
2003-07-24 13:57:13 +00:00
Gonzalo Paniagua Javier 8e67973f79 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
* exception.c:
	* exception.h:
	* icall.c:
	* object.h: fill in the type name for TypeLoadException.

svn path=/trunk/mono/; revision=16603
2003-07-24 12:54:23 +00:00
Lluis Sanchez e271cc193c * ObjectReader.cs, ObjectWriter.cs, BinaryCommon.cs: Fixed bug #45970.
svn path=/trunk/mcs/; revision=16602
2003-07-24 12:27:53 +00:00
Paolo Molaro d19efde080 2003-07-22 Ravi Pratap <[email protected]>
* expression.cs (Invocation.OverloadResolve): Follow the spec more
	closely: we eliminate methods in base types when we have an
	applicable method in a top-level type.

        Please see section 14.5.5.1 for an exact description of what goes
	on.

	This fixes bug #45127 and a host of other related to corlib compilation.

        * ecore.cs (MethodGroupExpr.DeclaringType): The element in the
	array is the method corresponding to the top-level type (this is
	because of the changes made to icall.c) so we change this
	accordingly.

	(MethodGroupExpr.Name): This too.

	* typemanager.cs (GetElementType): New method which does the right
	thing when compiling corlib.

	* everywhere: Make use of the above in the relevant places.

svn path=/trunk/mcs/; revision=16599
2003-07-24 09:55:13 +00:00
Peter Williams 7da32b2354 2003-07-24 Peter Williams <[email protected]>
Makefile (clean-local): Forgot $(plattestlib).

svn path=/trunk/mcs/; revision=16598
2003-07-24 06:43:22 +00:00
Peter Williams 08a3d5f950 2003-07-24 Peter Williams <[email protected]>
* Makefile: Boo-yah! Add corlib_plattest.dll, which is a
	corlib test library built against the platform corlib. This
	lets us test our corlib tests. On a non-mono-native platform
	(Windows) we run those tests only; on a mono-native platform, we
	run the full corlib test suite on our own tests.

	* corlib_plattest.dll.excludes: Add this. (The result of
	'grep Mono corlib_test.dll.sources')

	* corlib_test.dll.sources: Extraneous newline was messing things
	up.

svn path=/trunk/mcs/; revision=16597
2003-07-24 06:21:57 +00:00
Duncan Mak e916b2e1ff Oops, this part was backed out.
svn path=/trunk/mcs/; revision=16596
2003-07-24 03:38:52 +00:00
Peter Williams 229a2420b2 2003-07-23 Peter Williams <[email protected]>
* Makefile (SUBDIRS): Add System.Drawing.Design.dll to the

2003-07-23  Peter Williams  <[email protected]>

	* System.Drawing.dll.sources: Add Pens.cs

svn path=/trunk/mcs/; revision=16595
2003-07-24 03:29:59 +00:00
Duncan Mak a2b66b251f * DateTimeFormatInfo.cs: theInvariantDateTimeFormatInfo should not
be public.

* StreamReader.cs (Initialize): This method is not exposed in the
API, mark as internal.

* SignatureHelper.cs: This class does not have the
SerializableAttribute.

* WaitHandle.cs (CheckDisposed): This method is not in the public
API, mark it as 'internal'.

* Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
as values for NET_1_1.
(GetFolderPath): Return the empty string ("") for values of
SpecialFolder that have no corresponding equivalents in
Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
and "$HOME" for SpecialFolder.Personal.

* IntPtr.cs (GetObjectData): Mark it as an interface
implementation, instead of a public method.

* Guid.cs (NewGuid): Remove MonoTODOAttribute.

* TypeLoadException.cs (GetObjectData):
Create stubs for the fields that are being serialized.

* UIntPtr.cs: Removed erroneous CLSCompliantAttributes.

svn path=/trunk/mcs/; revision=16594
2003-07-24 03:28:43 +00:00
Miguel de Icaza 7ad96abdbc 2003-07-23 Miguel de Icaza <[email protected]>
* Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
	is set, default to Win32Impl

svn path=/trunk/mcs/; revision=16592
2003-07-24 01:46:20 +00:00
Miguel de Icaza fe1d82af5b 2003-07-23 Miguel de Icaza <[email protected]>
* win32functions.cs: Move functions that do not exist in WineLib
	over to Win32_Wineless, so we do not trigger the warning messages
	until a function tries to use them.

	Win32() constructor: Set a hint on the appdomain that we would
	prefer to have the System.Drawing API use the Win32 implementation
	of the API.

	* *.cs: Updated sources to use this.

svn path=/trunk/mcs/; revision=16591
2003-07-24 01:45:24 +00:00
Ravi Pratap M 1c4ad79f5f 2003-07-23 Ravi Pratap <[email protected]>
* Type.cs, TypeBuilder.cs, MonoType.cs: Fixes to IsArrayImpl
	from Paolo in response to bug #45993.

svn path=/trunk/mcs/; revision=16589
2003-07-23 21:30:13 +00:00
Ravi Pratap M 3e05055ced 2003-07-23 Ravi Pratap <[email protected]>
* class.c: Fixes from Paolo in response to bug #45415 (Subclass
	relationship between TypeBuilders while compiling corlib) and bug
	45993 (Array types returned from the runtime while compiling
	corlib were from the loaded corlib).

svn path=/trunk/mono/; revision=16588
2003-07-23 21:27:55 +00:00
Dick Porter 165b7a30d2 2003-07-23 Dick Porter <[email protected]>
* shared.c:
	* daemon.c (maybe_exit): Avoid the race condition when the daemon is
	closing but another client comes along when the shared data is still
	visible.  Should fix bugs 33671 and 35213.

svn path=/trunk/mono/; revision=16586
2003-07-23 19:05:34 +00:00
Gonzalo Paniagua Javier 4ac28db122 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
* HttpRuntime.cs: also clear the headers that may have been set upon
	error processing the request.

svn path=/trunk/mcs/; revision=16584
2003-07-23 17:57:46 +00:00
Atsushi Eno 304a57572a 2003-07-23 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder.cs :
	  Fixed Read() that sets nodes' parent incorrectly.

svn path=/trunk/mcs/; revision=16583
2003-07-23 17:27:26 +00:00
Dick Porter 925b0c22de 2003-07-23 Dick Porter <[email protected]>
* handles.c:  Initialise handle mutex and cond.  Fix by
	Bernie Solomon <[email protected]>

svn path=/trunk/mono/; revision=16579
2003-07-23 17:08:19 +00:00
Gonzalo Paniagua Javier c047ea90b8 2003-07-23 Gonzalo Paniagua Javier <[email protected]>
* HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
	Write method.

	* HttpWriter.cs: flush the filter after writing.

svn path=/trunk/mcs/; revision=16577
2003-07-23 17:04:39 +00:00
Lluis Sanchez 1e9779f5fc * Makefile: added dll extension to System.Runtime.Remoting reference
svn path=/trunk/mcs/; revision=16576
2003-07-23 16:58:41 +00:00
Lluis Sanchez 52cab5596d * SerializationTest.cs: Fixed delegate invocation. Didn't compile
on windows. Also fixed some warnings.

svn path=/trunk/mcs/; revision=16575
2003-07-23 16:39:27 +00:00
Andreas N 4b4c400619 2003-07-23 Andreas Nahr <[email protected]>
* IconEditor.cs: Tiny fix to improve created image

svn path=/trunk/mcs/; revision=16574
2003-07-23 16:05:07 +00:00
Lluis Sanchez 9164e9eeaa * System.Runtime.Remoting_test.dll.sources: Added.
* Makefile: added test support.

svn path=/trunk/mcs/; revision=16573
2003-07-23 15:54:17 +00:00
Lluis Sanchez 1239af9906 * ContextsTest.cs, CallSeq.cs, ContextHookAttribute.cs, ServerObject.cs: Added.
svn path=/trunk/mcs/; revision=16572
2003-07-23 15:51:52 +00:00
Lluis Sanchez cef55a3b51 * System.Runtime.Remoting_test.dll.sources: Added.
* Makefile: added test support.

svn path=/trunk/mcs/; revision=16571
2003-07-23 15:47:47 +00:00
Dick Porter 5b62f8f84b Shut CVS up
svn path=/trunk/mcs/; revision=16570
2003-07-23 13:34:28 +00:00
Lluis Sanchez 44fdf98eb1 * corlib_test.dll.sources: added System.Runtime.Serialization/SerializationTest.cs
svn path=/trunk/mcs/; revision=16569
2003-07-23 12:58:27 +00:00
Lluis Sanchez 67d45e8ac4 * SerializationTest.cs: Added.
svn path=/trunk/mcs/; revision=16568
2003-07-23 12:56:03 +00:00
Lluis Sanchez c1af174ac3 * MethodDictionary.cs: Fixed Add method. If the property is method
property, then there is no need it to the internal properties table.

svn path=/trunk/mcs/; revision=16567
2003-07-23 12:39:53 +00:00
Lluis Sanchez 455c0f3965 * EnumTest.cs: Test ToString() for unnamed flag enum values.
svn path=/trunk/mcs/; revision=16566
2003-07-23 10:46:58 +00:00
Lluis Sanchez 5b8fe523b2 * Enum.cs: Fixed enum formatting. For flag enums, if one of
the flags is unnamed, ToString() returns the integer value.

svn path=/trunk/mcs/; revision=16565
2003-07-23 09:41:04 +00:00
Lluis Sanchez cadb7e2276 * SoapMessageFormatter.cs: ParameterInfo.Position is now zero-based.
Fixed methods that use it.

svn path=/trunk/mcs/; revision=16564
2003-07-23 09:04:46 +00:00
Miguel de Icaza 4dc15367e9 2003-07-23 Miguel de Icaza <[email protected]>
* cs-parser.jay: Replace all calls to `new ArrayList' with `new
	ArrayList(4)' which is a good average number for most allocations,
	and also requires only 16 bytes of memory for its buffer by
	default.

	This reduced MCS memory usage in seven megabytes for the RSS after
	bootstrapping.

svn path=/trunk/mcs/; revision=16562
2003-07-23 04:43:05 +00:00
Jackson Harper 40932a60b9 * main.c: Dissasemble generic type parameters for type
definitions. TODO: Sort type parameters by index, and
	auto-generate names for parameters that have no name.

svn path=/trunk/mono/; revision=16561
2003-07-23 03:18:13 +00:00
Peter Williams 1700ba8f57 2003-07-22 Peter Williams <[email protected]>
* README: INSTALL.txt, not INSTALL.

svn path=/trunk/mcs/; revision=16560
2003-07-23 02:57:19 +00:00
Peter Williams 126b5186c5 This is deprecated in favor of INSTALL.txt and plain old README.
svn path=/trunk/mcs/; revision=16559
2003-07-23 02:55:27 +00:00
Peter Williams 0a67a1d5c1 2003-07-22 Peter Williams <[email protected]>
* rules.make (withmcs): Add this developer utility target.

'make withmcs' will build 'all' using $(INTERNAL_MCS) as its compiler
no matter what, for testing corlib builds or on Windows. As requested
by Ravi.

svn path=/trunk/mcs/; revision=16558
2003-07-23 02:07:47 +00:00
Duncan Mak 0f58db0bf0 remove sqlsharp from monobins_DATA too
svn path=/trunk/mono/; revision=16557
2003-07-23 01:28:50 +00:00
Miguel de Icaza 58b14fefed Remove negatives from z format; patch from Ed Thomson <[email protected]>
svn path=/trunk/mcs/; revision=16556
2003-07-23 01:25:14 +00:00
Duncan Mak 3dd8fb22cf Remove sqlsharp as we no longer distribute it.
svn path=/trunk/mono/; revision=16555
2003-07-23 01:21:39 +00:00
Lluis Sanchez ed74a51630 * IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs
IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs,
	  IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces,
	  no to interface members. Build failed on windows.

svn path=/trunk/mcs/; revision=16549
2003-07-22 20:01:10 +00:00
Alexandre Pigolkine 00d2b70c48 PNGCodec.cs added
svn path=/trunk/mcs/; revision=16548
2003-07-22 19:57:32 +00:00
Alexandre Pigolkine 8c5b891ae3 save as png
svn path=/trunk/mcs/; revision=16547
2003-07-22 19:55:42 +00:00
Alexandre Pigolkine 8bcca3e50d png callbacks added
svn path=/trunk/mcs/; revision=16546
2003-07-22 19:55:04 +00:00
Alexandre Pigolkine a3ccb895c1 png codec added
svn path=/trunk/mcs/; revision=16545
2003-07-22 19:54:16 +00:00
Alexandre Pigolkine 5d1829881a implementation added
svn path=/trunk/mcs/; revision=16544
2003-07-22 19:50:24 +00:00
Martin Baulig 4fbb1e4184 2003-07-22 Martin Baulig <[email protected]>
* mono-debug-debugger.c: Reworked the type support a bit more;
	distinguish between types and classes.

svn path=/trunk/mono/; revision=16540
2003-07-22 19:18:06 +00:00
Jerome Laban f6becd4339 2003-07-22 Jerome Laban <[email protected]>
* Guid.cs: Fixed ToString (), was producing incorrect string.

svn path=/trunk/mcs/; revision=16539
2003-07-22 19:15:43 +00:00
Martin Baulig 32c772548e 2003-07-22 Martin Baulig <[email protected]>
* test-207.cs: New test for expressions which return delegates.

svn path=/trunk/mcs/; revision=16538
2003-07-22 19:03:18 +00:00
Martin Baulig af7526866c 2003-07-22 Martin Baulig <[email protected]>
* cs-parser.jay (invocation_expression): Moved
	`OPEN_PARENS expression CLOSE_PARENS unary_expression' here from
	`cast_expression', but create a InvocationOrCast which later
	resolves to either an Invocation or a Cast.

	* ecore.cs (ExpressionStatement.ResolveStatement): New virtual
	method; call this before EmitStatement() to make sure that this
	expression can be used as a statement.

	* expression.cs (InvocationOrCast): New class; resolves to either
	an Invocation or a Cast.

	* statement.cs (StatementExpression): Call ResolveStatement() on
	the ExpressionStatement before emitting it.

svn path=/trunk/mcs/; revision=16537
2003-07-22 19:01:08 +00:00
Miguel de Icaza 43cdf30efc Flus tets
svn path=/trunk/mcs/; revision=16536
2003-07-22 18:54:29 +00:00
César Natarén 116a58c90f 2003-07-22 Cesar Lopez Nataren <[email protected]>
* mcs/class/Makefile: Added Microsoft.Vsa.dll to the build.

svn path=/trunk/mcs/; revision=16535
2003-07-22 18:46:19 +00:00
Lluis Sanchez 992db00084 * WebServiceHandler.cs: Fixed Invoke(). ParameterInfo.Position is now
zero-based, like in MS.NET.

svn path=/trunk/mcs/; revision=16534
2003-07-22 18:32:12 +00:00
César Natarén 65500aa1ff 2003-07-22 Cesar Lopez Nataren <[email protected]>
* Added the new files to the build.

svn path=/trunk/mcs/; revision=16533
2003-07-22 18:25:53 +00:00
César Natarén 62aa033217 2003-07-22 Cesar Lopez Nataren <[email protected]>
* Added CmdLineError.cs and JSError.cs, last night I forgot to
	commit them.

svn path=/trunk/mcs/; revision=16532
2003-07-22 18:23:04 +00:00
César Natarén 8a4e2f604d oops! forgot to add this files
svn path=/trunk/mcs/; revision=16531
2003-07-22 18:18:51 +00:00
Lluis Sanchez f7aa445a38 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
xml serialization. Modified method of writing schema. Now it creates
	  a XmlSchema object and serializes it using XmlSerializer.
	* XmlConstants.cs: Added constants for data type names.
	* XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
	  type specified in the column.

svn path=/trunk/mcs/; revision=16530
2003-07-22 16:03:10 +00:00
Gonzalo Paniagua Javier 7cdca5e2fb 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added message for 10054.

svn path=/trunk/mcs/; revision=16529
2003-07-22 14:34:59 +00:00
Gonzalo Paniagua Javier 1394e44e43 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
* HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.

svn path=/trunk/mcs/; revision=16528
2003-07-22 14:34:43 +00:00
Paolo Molaro dae4991d8b Tue Jul 22 15:48:50 CEST 2003 Paolo Molaro <[email protected]>
* icall.c: add IsArrayImpl icall.

svn path=/trunk/mono/; revision=16527
2003-07-22 13:59:00 +00:00
Paolo Molaro 2f80e11a5e Tue Jul 22 15:21:24 CEST 2003 Paolo Molaro <[email protected]>
* mini-x86.c: make vararg calls work for instance methods.

svn path=/trunk/mono/; revision=16526
2003-07-22 13:30:41 +00:00
Zoltan Varga 00403081ab 2003-07-22 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am: Add missing test. Make tests interruptable
	by Ctrl-C. Add testinterp target to run the tests with the interpreter.
	Do not try to build vararg.cs under mcs.

svn path=/trunk/mono/; revision=16524
2003-07-22 10:08:28 +00:00
Zoltan Varga 51df371e8a 2003-07-22 Zoltan Varga <[email protected]>
* configure.in: Fix detection of GC_gcj_malloc.

svn path=/trunk/mono/; revision=16523
2003-07-22 10:05:32 +00:00
Zoltan Varga b957d82099 2003-07-22 Zoltan Varga <[email protected]>
* class.c (mono_class_layout_fields): Fix gc aware auto layout by
	initializing real_size only once. Also fix bug #46602.

svn path=/trunk/mono/; revision=16522
2003-07-22 09:58:26 +00:00
Lluis Sanchez fe757a8636 * Binding.cs, Import.cs, Message.cs, MessageBinding.cs, MessagePart.cs,
Operation.cs, OperationBinding.cs, OperationMessage.cs, Port.cs,
	  PortType.cs, Service.cs: Added XmlIgnore attributes to properties
	  referencing parent objects.
	* OperationMessageCollection.cs: Fixed wrong OnInsert method
	* ServiceDescription.cs: Removed unneeded methods in
	  ServiceDescriptionSerializer.

svn path=/trunk/mcs/; revision=16521
2003-07-22 09:55:23 +00:00
Zoltan Varga 99dbfb8b47 2003-07-22 Zoltan Varga <[email protected]>
* interp.c: Use the new metadata_section lock instead of metadata_lock.
	Patch by Bernie Solomon ([email protected]).

svn path=/trunk/mono/; revision=16520
2003-07-22 09:51:42 +00:00
Lluis Sanchez 0ea2f093aa * TypeTranslator.cs: Added new primitive types: NMTOKEN and NCName.
* XmlSerializationWriterInterpreter.cs: Write XmlAttributes with the prefix
	  they have.

svn path=/trunk/mcs/; revision=16519
2003-07-22 09:49:51 +00:00
Miguel de Icaza a9e06819f7 Add samples
svn path=/trunk/mcs/; revision=16518
2003-07-22 05:50:03 +00:00
Jackson Harper 0db9264d39 * ILParser.jay: Set maxstack
svn path=/trunk/mcs/; revision=16516
2003-07-22 04:56:18 +00:00
Jackson Harper a3179a030c * MethodDef.cs: Do not decremint param count for vararg methods,
the ellipsis is needed later

svn path=/trunk/mcs/; revision=16515
2003-07-22 04:53:49 +00:00
Miguel de Icaza fb8afd6556 Add chmod
svn path=/trunk/mcs/; revision=16512
2003-07-22 04:20:26 +00:00
Miguel de Icaza ee3e23fd5d Add chmod
svn path=/trunk/mcs/; revision=16511
2003-07-22 04:13:55 +00:00
Jackson Harper a3439a21e1 Instantiate generic types so we don't get null pointers
svn path=/trunk/mcs/; revision=16509
2003-07-22 01:15:08 +00:00
César Natarén 8fda8fca82 I have to fill in the blanks
svn path=/trunk/mcs/; revision=16508
2003-07-22 01:00:11 +00:00
César Natarén b15326c76c If did not miss something this will complete the Mirosoft.JScript public API. Now the only thing left to do is...fill in the blanks :)
svn path=/trunk/mcs/; revision=16507
2003-07-22 00:47:44 +00:00
César Natarén 86b3c21b6e these commits will add the full Microsoft.JScript public API. Now only last to fill in the blanks :-)
svn path=/trunk/mcs/; revision=16506
2003-07-22 00:38:42 +00:00
Andreas N 45847e8a69 2003-07-21 Andreas Nahr <[email protected]>
* System.Web.Services.dll.sources: Added Assembly/AssemblyInfo.cs, Assembly/Locale.cs

svn path=/trunk/mcs/; revision=16505
2003-07-21 22:01:12 +00:00
Andreas N fe56c02c02 2003-07-21 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=16504
2003-07-21 22:00:08 +00:00
Andreas N 18603dce52 2003-07-21 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Small fix

svn path=/trunk/mcs/; revision=16503
2003-07-21 21:06:01 +00:00
Andreas N 41fdc7c50d 2003-07-21 Andreas Nahr <[email protected]>
* Metafile.cs: Inherits from image (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16502
2003-07-21 21:04:02 +00:00
Andreas N ca93428b4a 2003-07-21 Andreas Nahr <[email protected]>
* Icon.cs: Stubed out (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16501
2003-07-21 21:02:38 +00:00
Martin Baulig c8976439a8 Don't set a parent type if it's System.Object.
svn path=/trunk/mono/; revision=16499
2003-07-21 19:25:10 +00:00
Jerome Laban 54c264d42a 2003-07-21 Jerome Laban <[email protected]>
* object.c: Renamed mono_metadata_section to metadata_section.

svn path=/trunk/mono/; revision=16498
2003-07-21 19:23:57 +00:00
Martin Baulig 115d545a9f 2003-07-21 Martin Baulig <[email protected]>
* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs:
	These are syntax errors which we'd need to catch in cs-parser.jay;
	separate them from the other errors.

	* cs0572.cs: New test.

svn path=/trunk/mcs/; revision=16497
2003-07-21 18:59:11 +00:00
Martin Baulig af103a9e04 2003-07-21 Martin Baulig <[email protected]>
* test-206.cs: New test for bug #46502.

2003-07-20  Martin Baulig  <[email protected]>

	* test-205.cs: New test for some namespace stuff.

svn path=/trunk/mcs/; revision=16496
2003-07-21 18:55:36 +00:00
Martin Baulig 00d89efe0d 2003-07-21 Martin Baulig <[email protected]>
* expression.cs (Invocation.VerifyArgumentsCompat): Check whether
	`ref' and `out' attributes match; fixes #46220.
	(MemberAccess.ResolveMemberAccess): You can't reference a type
	through an expression; fixes #33180.
	(Indexers.GetIndexersForType): Don't return the indexers from
	interfaces the class implements; fixes #46502.

svn path=/trunk/mcs/; revision=16495
2003-07-21 18:17:00 +00:00
Andreas N 5afa18eb83 2003-07-21 Andreas Nahr <[email protected]>
* README: removed (contained only obsolete build instructions)

svn path=/trunk/mcs/; revision=16494
2003-07-21 17:24:09 +00:00
Andreas N 647baf0295 2003-07-21 Andreas Nahr <[email protected]>
* System.dll.sources: EventLogImpl.cs added

svn path=/trunk/mcs/; revision=16493
2003-07-21 17:21:44 +00:00
Andreas N f46576b1b2 2003-07-21 Andreas Nahr <[email protected]>
* EventLog.cs: Implementation handling
	* EventLogImpl.cs: Added, contains an platform independent empty implementation
	for EventLog

svn path=/trunk/mcs/; revision=16492
2003-07-21 17:20:51 +00:00
Martin Baulig a56657a067 2003-07-21 Martin Baulig <[email protected]>
* class.cs (TypeContainer.CheckPairedOperators): Added CS0660 and
	CS0661 checks; fixes bug #30442.

svn path=/trunk/mcs/; revision=16491
2003-07-21 17:19:12 +00:00
Andreas N efb32f8767 2003-07-21 Andreas Nahr <[email protected]>
* BitmapEditor.cs
	* IconEditor.cs
	* ImageEditor.cs
	* MetafileEditor.cs: Added localization support

	* FontNameEditor.cs: Improved implementation

svn path=/trunk/mcs/; revision=16490
2003-07-21 17:18:36 +00:00
Andreas N 080db606ee 2003-07-21 Andreas Nahr <[email protected]>
* System.Drawing.Design.dll.sources: Added AssemblyInfo.cs, Locale.cs, TODOAttribute.cs

svn path=/trunk/mcs/; revision=16489
2003-07-21 17:17:09 +00:00
Andreas N a6b1e610e1 2003-07-21 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added
	* TODOAttribute.cs: Added

svn path=/trunk/mcs/; revision=16488
2003-07-21 17:16:16 +00:00
Lluis Sanchez b0b9dc27eb * ServerIdentity.cs: Fixed bug #46645
svn path=/trunk/mcs/; revision=16487
2003-07-21 17:12:40 +00:00
Martin Baulig 1bd23390b5 2003-07-21 Martin Baulig <[email protected]>
* decl.cs (AdditionResult): Added `Error'.

	* enum.cs (AddEnumMember): Report a CS0076 if name is `value__'.

	* typemanager.cs (TypeManager.ChangeType): Catch exceptions;
	makes cs0031.cs actually work.

2003-07-20  Martin Baulig  <[email protected]>

	* namespace.cs: Fixed that bug which caused a crash when compiling
	the debugger's GUI.

svn path=/trunk/mcs/; revision=16486
2003-07-21 16:54:27 +00:00
Miguel de Icaza 30cef78ac2 2003-07-21 Miguel de Icaza <[email protected]>
* object.c (mono_runtime_class_init): Take the metadata_section
	mutex before obtaining the domain mutex.

	* appdomain.h: Added definition of metadata_section mutex here.

	* object.c: define metadata_mutex here.

2003-07-21  Miguel de Icaza  <[email protected]>

	* mini.c: Removed definition of metadata_shared mutex here.

2003-07-21  Miguel de Icaza  <[email protected]>

	* jit.c: Remove definition of metadata_section mutex from here

svn path=/trunk/mono/; revision=16485
2003-07-21 15:43:19 +00:00
Lluis Sanchez 9a12e9e611 * icall.c: in MS.NET ves_icall_Type_GetInterfaces returns an
empty array if the type is an array. Fixed.
	  ves_icall_MonoMethod_get_base_definition: if the base method
	  is abstract, get the MethodInfo from the list of methods of
	  the class.
	* reflection.c: ParameterInfo.PositionImpl should be zero-based
	  and it was 1-based. Fixed in mono_param_get_objects.

svn path=/trunk/mono/; revision=16484
2003-07-21 14:24:30 +00:00
Lluis Sanchez 0ae97da677 * ParameterInfo.cs: Position is zero-based in ParameterInfo.
Set the right position value when getting from ParameterBuilder.

svn path=/trunk/mcs/; revision=16483
2003-07-21 14:10:18 +00:00
Lluis Sanchez bf5c571123 * MethodCall.cs: Fixed copy constructor, when the message to copy does not
implement IMethodMessage.

svn path=/trunk/mcs/; revision=16480
2003-07-21 12:18:18 +00:00
Lluis Sanchez dd602fcc13 * ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()
svn path=/trunk/mcs/; revision=16479
2003-07-21 12:16:23 +00:00
Lluis Sanchez a52289cf8d Added new test for MethodInfo.GetBaseDefinition
svn path=/trunk/mono/; revision=16478
2003-07-21 11:56:56 +00:00
Gonzalo Paniagua Javier 460a2df5cf 2003-07-21 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs: fixes bug reported on the list about the state of
	the CheckButtons not being preserved across posts.

svn path=/trunk/mcs/; revision=16473
2003-07-21 08:48:40 +00:00
Gonzalo Paniagua Javier 76c9194a9e 2003-07-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: added SelectedValue property (1.1). Closes 46412.

svn path=/trunk/mcs/; revision=16472
2003-07-21 08:06:27 +00:00
Atsushi Eno 44117fb7d1 2003-07-21 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : added sequence and particle tests to TestCompile()

svn path=/trunk/mcs/; revision=16471
2003-07-21 04:50:45 +00:00
Peter Williams d784bf51a7 2003-07-20 Peter Williams <[email protected]>
* Makefile: Remove the test target which conflicted with
	the global target. (Change confirmed with Rafael.)

svn path=/trunk/mcs/; revision=16470
2003-07-21 04:09:22 +00:00
Atsushi Eno 9fa8c18010 2003-07-21 Atsushi Enomoto <[email protected]>
* Mono.System.XML.csproj : caught up with current library.

svn path=/trunk/mcs/; revision=16469
2003-07-21 03:02:12 +00:00
Miguel de Icaza 57976e4664 Flush
svn path=/trunk/mono/; revision=16468
2003-07-21 02:56:49 +00:00
Atsushi Eno 4afc5cdaf6 2003-07-21 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaElement.cs :
	  added internal MissingElementTypeRefs and support for refering
	  element's elementType.

svn path=/trunk/mcs/; revision=16467
2003-07-21 02:25:08 +00:00
Miguel de Icaza 15eee8153e Small touch up
svn path=/trunk/mono/; revision=16466
2003-07-21 02:09:05 +00:00
Jackson Harper d560a48ed9 Another generics test
svn path=/trunk/mcs/; revision=16465
2003-07-21 00:39:16 +00:00
Peter Williams 4b91df94c9 2003-07-20 Peter Williams <[email protected]>
* Makefile: Add in corlib_res.dll, which we use as a basis
	for tests on non-linux platforms. Nearly identical rules to
	corlib_cmp: corlib - some files that cause the MS runtime to
	barf.

	* corlib_res.dll.excludes: Added.

svn path=/trunk/mcs/; revision=16462
2003-07-20 22:07:06 +00:00
Jackson Harper c1687482a3 * ILParser.jay: Do not use the AsClassRef method anymore to attach
methods and fields to types. All types can do this now. Create
	generic type refs and generic type instances.

svn path=/trunk/mcs/; revision=16461
2003-07-20 21:55:17 +00:00
Jackson Harper 00b9eaaea0 Add new types to build.
svn path=/trunk/mcs/; revision=16460
2003-07-20 21:54:08 +00:00
Jackson Harper c554a9521b * GenericTypeInst.cs: New File - A type reference to an instance
of a generic type. ie Set<int32>
	* TypeSpecFieldRef.cs: New File - A field ref that is attached to
	a typespec. This can be used with modified types, and generic types.
	* TypeSpecMethodRef.cs: New File - A method ref that is attached
	to a typespec. This can be used with modified types, and generic types.
	* GenericTypeRef.cs: Create method refs and field refs using the
	new typespec classes.
	* ITypeRef.cs: Types should now be able to have methods and fields
	attached to them
	* PeapiTypeRef.cs: Set UseTypeSpec to true if the type is modified
	* PrimitiveTypeRef.cs: Add methods to attach fields and
	methods. This just uses the TypeSpec* classes so I don't need to
	create classrefs.
	* TypeRef.cs: Set UseTypeSpec to true if a type is modified.

svn path=/trunk/mcs/; revision=16459
2003-07-20 21:53:02 +00:00
Jackson Harper e2446826e3 * PEAPI.cs: Add methods to PEFile to allow fields and methods to
be added to type specs. This fixing bah-zillions of little
	problems in ilasm. We can now add fields and methods to arrays,
	reference types, and most importantly generics.

	Add the GenericTypeInst class. This is an instance of a generic
	type. ie Hash<int32, string>. GenericTypeSpecs now write their id
	number as a compressed number, this matches the way the runtime
	loads them and will allow generic types to have more then 255 type
	parameters.

svn path=/trunk/mcs/; revision=16458
2003-07-20 21:51:08 +00:00
Peter Williams 31e6ad00e2 build:
2003-07-20  Peter Williams  <[email protected]>

	* README.platforms: Update docs for changes below.

	* platforms/win32.make (PLATFORM_CORLIB): Set this variable
	to 'mscorlib.dll', instead of $(corlib) which everything links
	against. *Almost* everything should link against our corlib --
	with the exception of corlib_cmp and corlib_res.

	* platforms/linux.make: Same here: corlib.dll

	* rules.make: Define $(corlib) here.

class/corlib:

2003-07-20  Peter Williams  <[email protected]>

	* Makefile: Don't use real_corlib; use $(PLATFORM_CORLIB).

svn path=/trunk/mcs/; revision=16457
2003-07-20 21:37:53 +00:00
Peter Williams 1878b3ed9b 2003-07-20 Peter Williams <[email protected]>
* nunit20/nunit-console/Makefile (PROGRAM): Put nunit-console.exe
	in $(topdir)/class/lib so we can find our DLL's.

build:

2003-07-20  Peter Williams  <[email protected]>

	* config-default.make (TEST_RUNTIME): Use the platform runtime
	to run tests, by default.

	* profiles/default.make (TEST_RUNTIME): If our test runtime is
	mono, use the --debug flag.

	* executable.make (sourcefile): Add a basename so that we can
	find the nunit sources and so we behave a bit more like
	library.make

	* config-default.make (TEST_HARNESS): Find nunit-console in its
	new home.

svn path=/trunk/mcs/; revision=16456
2003-07-20 21:19:04 +00:00
Jackson Harper 0c4baf268c Some generics tests
svn path=/trunk/mcs/; revision=16455
2003-07-20 20:53:57 +00:00
Jonathan Pryor 4bb6c5d850 Moving to Richmond in a week. Update information.
svn path=/trunk/mono/; revision=16454
2003-07-20 20:39:07 +00:00
Peter Williams ce1416a11a 2003-07-20 Peter Williams <[email protected]>
* library.make ($(response)): Do a "Creating ..." line here.

	* executable.make ($(response)): Same.

	* config-default.make: Make warning more forceful.

	* rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
	set if the platform does not have a native runtime (ie, linux).
	Also reorder some definitions.

2003-07-20  Peter Williams  <[email protected]>

	* Created. See ../ChangeLog for entries earlier than
	this.

svn path=/trunk/mcs/; revision=16453
2003-07-20 19:12:32 +00:00
Miguel de Icaza 0b607733bd Add more errors
svn path=/trunk/mcs/; revision=16452
2003-07-20 19:03:14 +00:00
Martin Baulig ac75fa6f72 2003-07-20 Martin Baulig <[email protected]>
* mono-debug.h: Set version number to 31.
	(mono_debug_init): Added `MonoDomain *' argument.

	* mono-debug-debugger.c: Reworked the type support; explicitly
	tell the debugger about builtin types; pass the `klass' address to
	the debugger.

svn path=/trunk/mono/; revision=16448
2003-07-20 18:20:31 +00:00
Miguel de Icaza 08d46b09cb Add generic.cs
svn path=/trunk/mcs/; revision=16446
2003-07-20 17:01:06 +00:00
Jackson Harper 35abfcdb43 * image.c: Allow new metadata tables to be loaded without a
warning. Also update the warning message to give the new constant value.

svn path=/trunk/mono/; revision=16445
2003-07-20 16:46:03 +00:00
Miguel de Icaza 596ccdf374 2003-07-20 Miguel de Icaza <[email protected]>
* typemanager.cs (LookupTypeReflection): Never expose types which
	are NotPublic, NestedPrivate, NestedAssembly, or
	NestedFamANDAssem.  We used to return these, and later do a check
	that would report a meaningful error, but the problem is that we
	would not get the real match, if there was a name override.

svn path=/trunk/mcs/; revision=16444
2003-07-20 16:29:42 +00:00
Miguel de Icaza ee957fa035 Add more multi-assembly tests
svn path=/trunk/mcs/; revision=16443
2003-07-20 16:28:28 +00:00
Jonathan Pryor 2698dc306d Add my picture to the team page.
svn path=/trunk/mono/; revision=16442
2003-07-20 15:56:02 +00:00
Gonzalo Paniagua Javier 6873f63f25 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs:
	(WantMore): true if we've not received the last chunk yet. Fixes
	bug #45463. Thanks to Miguel for tracking this down and providing a
	test case.

	* WebConnection.cs: removed bogus ^M's.

	* WebHeaderCollection.cs: provide more info when the header or value is
	wrong.

svn path=/trunk/mcs/; revision=16441
2003-07-20 11:29:09 +00:00
Gonzalo Paniagua Javier 4a30de43e9 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: fixed bug #46609.

svn path=/trunk/mcs/; revision=16440
2003-07-20 10:01:15 +00:00
Andreas N 3b9113adc2 Updated to recent version
svn path=/trunk/mcs/; revision=16439
2003-07-20 08:20:55 +00:00
Atsushi Eno 0dadd76287 2003-07-20 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : added AssertComplexTypeContentExtension() and
	  added related tests in TestCompile().

svn path=/trunk/mcs/; revision=16438
2003-07-20 05:00:26 +00:00
Atsushi Eno 7fc66b4393 2003-07-20 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : added support for collecting missing type references
	  at compilation-time.
	* XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
	  - Renamed qName to QNameInternal.
	  - Added BaseSchemaType and ContentTypeParticle support.

svn path=/trunk/mcs/; revision=16437
2003-07-20 04:57:55 +00:00
Atsushi Eno d51892ae10 2003-07-19 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
	  XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
	  XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
	  XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
	  XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
	  XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
	  XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
	  XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
	  XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
	  XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
	  XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
	  XmlSchemaSimpleContentExtension.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
	  XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
	  XmlSchemaXPath.cs,
	  As to Compile() and Validate(),
	  - Added CompilationId and check it while compiling schema components.
	  - Code refactory. Replaced literal xmlns with XmlSchema.Namespace
	  - Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
	    also has PSVI components inside it, so passing itself seems enough).
	  - Related to above change, IDCollection was moved to XmlSchema, and
	    blockDefault/finalDefault/blockResolved/finalResolved resolution
	    was changed to reference only to schema.BlockDefault/FinalDefault.
	  - The similar change has done against XmlSchemaForm related stuff.
	  - Changed compilation order of schema type definitions (it is
	    workaround). First it compiles types, and then it compiles others.
	* XmlSchemaElement.cs : added ElementType PSVI contribution support.

svn path=/trunk/mcs/; revision=16435
2003-07-19 18:40:45 +00:00
Atsushi Eno 39377e5a7b 2003-07-19 Atsushi Enomoto <[email protected]>
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs :
	  Added decimal and its derived datatypes.
	  Added abstract XsdAnySimpleType.

svn path=/trunk/mcs/; revision=16434
2003-07-19 18:35:33 +00:00
Atsushi Eno a2ff2914af 2003-07-19 Atsushi Enomoto <[email protected]>
* XmlSchemaTests.cs : rewrote TestRead() and added TestCompile().

svn path=/trunk/mcs/; revision=16433
2003-07-19 16:52:58 +00:00
Atsushi Eno 0b036eec25 2003-07-19 Atsushi Enomoto <[email protected]>
* added 1.xsd.

svn path=/trunk/mcs/; revision=16432
2003-07-19 16:50:42 +00:00
Atsushi Eno dd380a9326 2003-07-19 Atsushi Enomoto <[email protected]>
* XmlValidatingReaderTests.cs : added TestValidationEvent() and
	  some code refactory.

svn path=/trunk/mcs/; revision=16431
2003-07-19 16:49:18 +00:00
Atsushi Eno 934b8c07bc 2003-07-19 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs :
	  changed base class to XmlReader and implemented IXmlLineInfo members.
	  changed .ctor() argument from event handler to validating reader.
	  Removed some #if ... #else ... #endif blocks.
	  Added validation event support for Read() using HandleError().
	* XmlValidatingReader.cs : added internal OnValidationEvent().
	* XmlDocument.cs : ReadNode() now checks reader's state more strictly.

svn path=/trunk/mcs/; revision=16430
2003-07-19 16:39:15 +00:00
Atsushi Eno d670f3a599 2003-07-19 Atsushi Enomoto <[email protected]>
* XmlUrlResolver.cs : applied BenM's patch for file uri problem
	  (bug #46610).

svn path=/trunk/mcs/; revision=16429
2003-07-19 14:33:10 +00:00
Miguel de Icaza 736e2c9186 Add Locale
svn path=/trunk/mcs/; revision=16418
2003-07-18 21:55:08 +00:00
Miguel de Icaza 7e130bc6d8 2003-07-18 Miguel de Icaza <[email protected]>
* namespace.cs (Namespace, Name): Do not compute the namespace
	name dynamically, compute it in the constructor.  This reduced
	memory usage by 1697 KB.

	* driver.cs: Use --pause to pause at the end.

svn path=/trunk/mcs/; revision=16417
2003-07-18 21:53:26 +00:00
Miguel de Icaza 09941fc6ec Add Locale.cs
svn path=/trunk/mcs/; revision=16416
2003-07-18 21:53:16 +00:00
Rafael Teixeira d7bfd3c4a9 Adding System.Messaging and System.ServiceProcess to the buildable subdirs
svn path=/trunk/mcs/; revision=16415
2003-07-18 20:01:54 +00:00
Andreas N 78e4f6a5e8 Locale.cs removed
svn path=/trunk/mcs/; revision=16414
2003-07-18 19:18:10 +00:00
Andreas N 65d1a7ac2f 2003-07-18 Andreas Nahr <[email protected]>
* System.Data.dll.sources: Assembly/Locale.cs added, Assembly/AssemblyInfo.cs added

svn path=/trunk/mcs/; revision=16413
2003-07-18 19:16:58 +00:00
Andreas N 4baaf7d135 2003-07-18 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Locale.cs: Added

svn path=/trunk/mcs/; revision=16412
2003-07-18 19:14:54 +00:00
Paolo Molaro f94ce193d4 Fri Jul 18 19:26:20 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini.h, mini-x86.c, mini-ppc.c: mono_arch_call_opcode()
	returns the arguments in a separte list, now.

svn path=/trunk/mono/; revision=16411
2003-07-18 17:36:47 +00:00
Rafael Teixeira 29bc380171 Makefile and xxx.sources files added to be compatible with new make process
svn path=/trunk/mcs/; revision=16408
2003-07-18 16:51:37 +00:00
Rafael Teixeira 12476e91d3 Makefile and xxx.sources files added to be compatible with new make process
svn path=/trunk/mcs/; revision=16407
2003-07-18 16:46:01 +00:00
Paolo Molaro 0aee6042f4 Disable until people fix their code...
svn path=/trunk/mcs/; revision=16406
2003-07-18 16:17:54 +00:00
Rafael Teixeira 76bb974cfd Target 'test' added to Makefile
svn path=/trunk/mcs/; revision=16405
2003-07-18 14:53:23 +00:00
Paolo Molaro dd1dded085 Do not expose the classes when they are compiled inside corlib as helpers.
svn path=/trunk/mcs/; revision=16404
2003-07-18 14:03:07 +00:00
Paolo Molaro 0e80b16392 Fri Jul 18 15:11:44 CEST 2003 Paolo Molaro <[email protected]>
* interp.c: 64 bit fixes from Laurent Morichetti <[email protected]>.
	Install cleanup function.

svn path=/trunk/mono/; revision=16403
2003-07-18 13:25:22 +00:00
Paolo Molaro a14e075557 Updates and fixes, mostly from Bernie Solomon <[email protected]>.
svn path=/trunk/mono/; revision=16402
2003-07-18 13:06:43 +00:00
Paolo Molaro c674f4d94e Fri Jul 18 14:42:42 CEST 2003 Paolo Molaro <[email protected]>
* MonoIO.cs: 64bit fix from Bernie Solomon <[email protected]>.

svn path=/trunk/mcs/; revision=16401
2003-07-18 12:51:51 +00:00
Andreas N 5ddee8857f 2003-07-18 Andreas Nahr <[email protected]>
* System.dll.sources: AlphabeticalEnumConverter.cs, SRDescriptionAttribute.cs added

svn path=/trunk/mcs/; revision=16400
2003-07-18 11:39:01 +00:00
Andreas N ca390b4310 2003-07-18 Andreas Nahr <[email protected]>
* AlphabeticalEnumConverter.cs: Added
	* EventLogEntry.cs: Implemented
	* EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
	* EventLogTraceListener.cs: Fixed signature
	* PerformanceCounter.cs: Added missing attribute
	* PerformanceCounterType.cs: Added missing attribute
	* SRDescriptionAttribute.cs: Added and implemented

svn path=/trunk/mcs/; revision=16399
2003-07-18 11:38:19 +00:00
Andreas N 565b8e5b9d 2003-07-18 Andreas Nahr <[email protected]>
* Uri.cs: Added MonoTODO'd members, implemented member, fixed signature

svn path=/trunk/mcs/; revision=16398
2003-07-18 11:37:05 +00:00
Andreas N ead329bfa3 2003-07-18 Andreas Nahr <[email protected]>
* Socket.cs: Added GetHashCode method

svn path=/trunk/mcs/; revision=16397
2003-07-18 11:35:47 +00:00
Paolo Molaro 712b41e674 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <[email protected]>
* get.c: updates for array type representation changes.

svn path=/trunk/mono/; revision=16396
2003-07-18 11:27:46 +00:00
Paolo Molaro 3eb19d5c1d Fri Jul 18 13:16:18 CEST 2003 Paolo Molaro <[email protected]>
* aot.c, mini.c: updates for array type representation changes.

svn path=/trunk/mono/; revision=16395
2003-07-18 11:27:33 +00:00
Paolo Molaro 0e226477f8 Fri Jul 18 13:12:21 CEST 2003 Paolo Molaro <[email protected]>
* class.c, class.h, debug-helpers.c, icall.c, image.c, marshal.c,
	metadata.c, metadata.h, mono-debug-debugger.c, object.c, reflection.c:
	array type representation changes.

svn path=/trunk/mono/; revision=16394
2003-07-18 11:27:24 +00:00
Paolo Molaro b8f111e8e8 Fri Jul 18 11:28:28 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: register function to perform jit shutdown.

svn path=/trunk/mono/; revision=16391
2003-07-18 09:37:44 +00:00
Paolo Molaro f1085634cb Fri Jul 18 11:26:58 CEST 2003 Paolo Molaro <[email protected]>
* icall.c, appdomain.h, appdomain.c: support full runtime shutdown
	on Environment.Exit () call.

svn path=/trunk/mono/; revision=16390
2003-07-18 09:36:47 +00:00
Andreas N 005e9e650b 2003-07-17 Andreas Nahr <[email protected]>
* CategoryAttribute.cs: Added localization support

svn path=/trunk/mcs/; revision=16389
2003-07-18 09:25:47 +00:00
Andreas N fe89b2a480 Locale.cs Removed
svn path=/trunk/mcs/; revision=16388
2003-07-18 09:17:40 +00:00
Andreas N 2585d511ed 2003-07-18 Andreas Nahr <[email protected]>
* System.dll.sources: Assembly/Locale.cs added, Globalization.Locale.cs removed

svn path=/trunk/mcs/; revision=16387
2003-07-18 09:15:35 +00:00
Andreas N 83b9e6e64f 2003-07-18 Andreas Nahr <[email protected]>
* Locale.cs: Added

svn path=/trunk/mcs/; revision=16386
2003-07-18 09:11:54 +00:00
Peter Williams ff66548426 I think missing only one .pdb file (out of the many that were lying around)
isn't too bad, actually.

svn path=/trunk/mcs/; revision=16385
2003-07-18 06:55:39 +00:00
Peter Williams 2a221779d6 Remove Windows debugging information (*.pdb) on make clean.
svn path=/trunk/mcs/; revision=16384
2003-07-18 06:46:55 +00:00
Peter Williams 2c273f3c08 2003-07-18 Peter Williams <[email protected]>
* Makefile (EXTRA_DISTFILES): A few more things not to dist.

svn path=/trunk/mcs/; revision=16382
2003-07-18 05:12:24 +00:00
Peter Williams c003aaf26d 2003-07-18 Peter Williams <[email protected]>
* Makefile (EXTRA_DISTFILES): NUnit.Prefs is not a
	distable file.

(in three places)

svn path=/trunk/mcs/; revision=16381
2003-07-18 05:03:10 +00:00
Peter Williams 0d8252226e 2003-07-18 Peter Williams <[email protected]>
* build/library.make (dist-local): Fancy make dist magic gives
	way to boring old 'for'.

	* build/executable.make (dist-local): Ditto.

class/corlib:

2003-07-18  Peter Williams  <[email protected]>

	* Makefile (dist-local): The fancy shell script was neat, but
	ultimately unnecessary and counterproductive. Alas.

svn path=/trunk/mcs/; revision=16380
2003-07-18 04:42:52 +00:00
Jackson Harper 9120a829b3 * ILParser.jay: Add generic type refs, and fake generic class refs.
svn path=/trunk/mcs/; revision=16379
2003-07-18 04:29:50 +00:00
Jackson Harper 4cbcc09459 * ilasm.exe.sources: Add corlib/GenericTypeRef.cs to build
svn path=/trunk/mcs/; revision=16378
2003-07-18 04:27:06 +00:00
Jackson Harper 102f16f362 * GenericTypeRef.cs: New File - A reference to a generic type
spec. ie !0 or !1
	* InstrTable.cs: Add the stelem and ldelem opcodes.

svn path=/trunk/mcs/; revision=16377
2003-07-18 04:23:58 +00:00
Peter Williams 50457bb149 2003-07-17 Peter Williams <[email protected]>
* Test/Mono.Directory.LDAP/BindSimpleTest.cs: csc interprets the bare LDAP
	as a namespace, not as the class. Give it the fully qualified name.

	* Test/Mono.Directory.LDAP/QueryRootDSETest.cs: Same.

svn path=/trunk/mcs/; revision=16375
2003-07-18 04:18:02 +00:00
Peter Williams 571cd5e516 2003-07-18 Peter Williams <[email protected]>
* Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
	we can't unless corlib is strongnamed too. Not a wonderful solution,
	but I don't think this ever worked anyway.

svn path=/trunk/mcs/; revision=16374
2003-07-18 04:17:25 +00:00
Peter Williams 488ba69316 2003-07-17 Peter Williams <[email protected]>
* Mono.Data.SybaseTypes/SybaseDecimal.cs: csc.exe is more
	stringent about namespaces than mcs. We need to disambiguate
	System.Math from Mono.Math here.

svn path=/trunk/mcs/; revision=16373
2003-07-18 04:15:46 +00:00
Peter Williams 5a052fb3de 2003-07-17 Peter Williams <[email protected]>
* DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
	than mcs. We need to disambiguate System.Math from Mono.Math here.

svn path=/trunk/mcs/; revision=16372
2003-07-18 04:14:57 +00:00
Jackson Harper b0864204d7 * PEAPI.cs: Add GenericTypeSpec so generic members can be
referenced. Add the ldelem and stelem opcodes (these are part of
	the new spec).

svn path=/trunk/mcs/; revision=16371
2003-07-18 04:14:40 +00:00
Peter Williams 9a8a0b5a8e So long; it's been fun, list files.
svn path=/trunk/mcs/; revision=16370
2003-07-18 03:53:21 +00:00
Peter Williams f25930d032 2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Actually fix this. Use the platform
	compiler all the way.

svn path=/trunk/mcs/; revision=16369
2003-07-18 03:43:41 +00:00
Peter Williams d7a990f200 2003-07-17 Peter Williams <[email protected]>
* Makefile: Change the name of the test target so that it doesn't
	conflict with the recursive test target.

svn path=/trunk/mcs/; revision=16368
2003-07-18 03:42:50 +00:00
Gonzalo Paniagua Javier 5e67f0e424 Removed sample channel implementation files from the build
svn path=/trunk/mcs/; revision=16364
2003-07-18 00:16:28 +00:00
Gonzalo Paniagua Javier 849e43e560 Renamed file to match the class name
svn path=/trunk/mcs/; revision=16363
2003-07-18 00:11:15 +00:00
Gonzalo Paniagua Javier 80f92eedd5 Added a few CLSCompliant attributes needed
svn path=/trunk/mcs/; revision=16362
2003-07-18 00:07:26 +00:00
Andreas N e3a6958672 2003-07-17 Andreas Nahr <[email protected]>
* HtmlContainerControl.cs: Added attributes
	* HtmlControl.cs: Added attributes
	* HtmlInputControl.cs: Fixed public signature
	* HtmlInputRadioButton.cs: Fixed public signature
	* HtmlSelect.cs: Added missing attribute
	* HtmlTable.cs: Added missing attribute

svn path=/trunk/mcs/; revision=16359
2003-07-17 21:57:46 +00:00
Andreas N ef71e81bbd 2003-07-17 Andreas Nahr <[email protected]>
* System.Web.dll.sources:
	* list: HtmlControlPersistableAttribute.cs, IgnoreUnknownContentAttribute.cs added

svn path=/trunk/mcs/; revision=16358
2003-07-17 21:54:36 +00:00
Andreas N 608bbf9068 2003-07-17 Andreas Nahr <[email protected]>
* HtmlControlPersistableAttribute.cs: Added
	* IgnoreUnknownContentAttribute.cs: Added

svn path=/trunk/mcs/; revision=16357
2003-07-17 21:51:51 +00:00
Andreas N f2454a8c50 2003-07-17 Andreas Nahr <[email protected]>
* System.Web.UI/IUserControlDesignerAccessor.cs: added

svn path=/trunk/mcs/; revision=16356
2003-07-17 19:00:39 +00:00
Andreas N daa87f5920 2003-07-17 Andreas Nahr <[email protected]>
* IUserControlDesignerAccessor.cs: Added and implemented
	* Control.cs: Missing member added, added all attributes
	* Page.cs: Added attributes, fixed signature
	* TemplateControl.cs: Fixed signature, added all attributes
	* UserControl.cs: Added all attributes, added and implemented missing interface

svn path=/trunk/mcs/; revision=16355
2003-07-17 18:59:43 +00:00
Andreas N f6593aa51a 2003-07-17 Andreas Nahr <[email protected]>
* SessionInProcHandler.cs: Made these internal to fix signature and building CLS-compliant

svn path=/trunk/mcs/; revision=16354
2003-07-17 18:55:46 +00:00
Andreas N 1c84ad1aab 2003-07-17 Andreas Nahr <[email protected]>
* System.Web.dll.sources:
	* list: AssemblyInfo.cs added, Consts.cs added

svn path=/trunk/mcs/; revision=16353
2003-07-17 18:53:59 +00:00
Andreas N bd2c713f5d 2003-07-17 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added
	* Consts.cs: Added

svn path=/trunk/mcs/; revision=16352
2003-07-17 18:52:24 +00:00
Paolo Molaro dc940fa5a4 Thu Jul 17 17:26:59 CEST 2003 Paolo Molaro <[email protected]>
* FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
	finer-grained icalls. Requires a matching runtime.

svn path=/trunk/mcs/; revision=16350
2003-07-17 15:39:01 +00:00
Paolo Molaro 34b51f514c Thu Jul 17 17:21:57 CEST 2003 Paolo Molaro <[email protected]>
* icall.c, reflection.h, reflection.c, verify.c: cleanups,
	requires a matching corlib.

svn path=/trunk/mono/; revision=16349
2003-07-17 15:38:42 +00:00
Paolo Molaro 31502ecfcb Thu Jul 17 17:28:27 CEST 2003 Paolo Molaro <[email protected]>
* MonoType.cs: use an icall for IsPrimitiveImpl ().

svn path=/trunk/mcs/; revision=16348
2003-07-17 15:38:29 +00:00
Paolo Molaro d4784c7c8e Thu Jul 17 16:02:41 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: use a faster allocator if possible.

svn path=/trunk/mono/; revision=16347
2003-07-17 14:12:11 +00:00
Paolo Molaro e6a4af4265 Thu Jul 17 16:00:39 CEST 2003 Paolo Molaro <[email protected]>
* aot.c: some cleanups and portability changes.

svn path=/trunk/mono/; revision=16346
2003-07-17 14:10:33 +00:00
Paolo Molaro 6f0ae9b7ed Thu Jul 17 15:23:17 CEST 2003 Paolo Molaro <[email protected]>
* Guid.cs: faster ToString ().

svn path=/trunk/mcs/; revision=16345
2003-07-17 13:32:12 +00:00
Lluis Sanchez eb55ed2767 * Changelog: My editor decided to add a CR to each line. Sorry about that.
Committed again without the CRs.

svn path=/trunk/mono/; revision=16344
2003-07-17 13:13:23 +00:00
Lluis Sanchez 2c8970b216 * socket-io.c: Get system_assembly using mono_image_loaded(), instead
getting it from the "this" socket instance. Did not work
	  if the socket is a subclass of Socket.
	  Also fixed bug #35371.

svn path=/trunk/mono/; revision=16343
2003-07-17 12:36:51 +00:00
Lluis Sanchez 82fbf05daa * ObjectReader.cs: Keep MemberInfo members in type's metadata object, so it is
not necessary to query them for every object.
    * ObjectWriter.cs: If the value being serialized is a value type (not boxed)
      then there is no need to register it in the ObjectIDGenerator, because it is
      not possible to have two references to the same value type object.

svn path=/trunk/mcs/; revision=16342
2003-07-17 12:12:26 +00:00
Lluis Sanchez 9e59120def * ObjectIDGenerator.cs: Optimized access to hashtable and reduced the
number of calls to GetType(). (Patch by Paolo).
	  Also added a NextId property that returns a new Id without registering
	  an object.

svn path=/trunk/mcs/; revision=16341
2003-07-17 12:05:27 +00:00
Paolo Molaro 5abe02a7d3 Thu Jul 17 13:39:32 CEST 2003 Paolo Molaro <[email protected]>
* metadata.c: fixed size for TypedByRef.
	* loader.c: when searching for a method, consider the vararg amrker.
	* unicode.c, decimal.c: constify some arrays.

svn path=/trunk/mono/; revision=16340
2003-07-17 11:50:30 +00:00
Andreas N 44c8d493b2 2003-07-17 Andreas Nahr <[email protected]>
* CounterCreationData.cs:
	* EventLog.cs:
	* EventLogEntry.cs:
	* PerformanceCounter.cs:
	* Process.cs:
	* ProcessModule.cs:
	* ProcessStartInfo.cs:
	* ProcessThread.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16339
2003-07-17 11:27:24 +00:00
Andreas N 832838190c 2003-07-17 Andreas Nahr <[email protected]>
* FileSystemWatcher.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16338
2003-07-17 11:23:47 +00:00
Andreas N b17ef86c75 2003-07-17 Andreas Nahr <[email protected]>
* IComponent.cs:
	* MarshalByValueComponent.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16337
2003-07-17 11:22:55 +00:00
Andreas N 2915b7221f 2003-07-17 Andreas Nahr <[email protected]>
* StringDictionary.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16336
2003-07-17 11:21:03 +00:00
Andreas N 30e02818e6 2003-07-17 Andreas Nahr <[email protected]>
* Assembly/Consts.cs: added

svn path=/trunk/mcs/; revision=16335
2003-07-17 11:19:38 +00:00
Andreas N 228db990e9 2003-07-17 Andreas Nahr <[email protected]>
* Consts.cs: Added

svn path=/trunk/mcs/; revision=16334
2003-07-17 11:17:37 +00:00
Andreas N 6f068f16fb 2003-07-17 Andreas Nahr <[email protected]>
* corlib.dll.sources:
	* unix.args: AssemblyInfo.cs added

svn path=/trunk/mcs/; revision=16333
2003-07-17 09:10:09 +00:00
Andreas N 98e8a7078a 2003-07-17 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=16332
2003-07-17 09:08:03 +00:00
Andreas N cee7f8b5bf 2003-07-17 Andreas Nahr <[email protected]>
* Accessibility.dll.sources:
	* list.unix: AssemblyInfo.cs added

svn path=/trunk/mcs/; revision=16331
2003-07-17 09:06:55 +00:00
Andreas N 83a76a5389 2003-07-17 Andreas Nahr <[email protected]>
* System.Drawing.dll.sources:
	* list.unix: AssemblyInfo.cs added

svn path=/trunk/mcs/; revision=16330
2003-07-17 09:05:17 +00:00
Andreas N 0a89d5f29c 2003-07-17 Andreas Nahr <[email protected]>
* StringFormat.cs: Changes to become CLS-compliant

svn path=/trunk/mcs/; revision=16329
2003-07-17 09:03:08 +00:00
Andreas N b38dfba078 2003-07-17 Andreas Nahr <[email protected]>
* PrinterResolution.cs: Fixed signature, implemented, restyled, removed non-CLS compliant members

svn path=/trunk/mcs/; revision=16328
2003-07-17 09:02:32 +00:00
Miguel de Icaza dbb924d2c3 2003-07-17 Miguel de Icaza <[email protected]>
* expression.cs (LocalVariableReference.Emit, EmitAssign,
	AddressOf): Do not use EmitThis, that was wrong, use the actual
	this pointer.

svn path=/trunk/mcs/; revision=16323
2003-07-17 06:08:16 +00:00
Miguel de Icaza 0f7e201774 Also build jay
svn path=/trunk/mono/; revision=16322
2003-07-17 05:36:36 +00:00
Peter Williams a5cf85f4d7 2003-07-17 Peter Williams <[email protected]>
* build/profiles/default.make: Try to make this smarter so
	that we can build on Windows. Specifically, don't require
	the mono runtime. Combined with the corlib $(BOOT_COMPILE) change,
	this should make corlib build out of the box, I think.

2003-07-17  Peter Williams  <[email protected]>

	* Makefile ($(testlib)): Build with $(BOOT_COMPILE), not $(CSCOMPILE),
	which sort of makes sense and is needed on Windows too.
	($(corlib)): same.
	$(cmplib): Don't include the makefrag to save the Windows build and some
	time.

svn path=/trunk/mcs/; revision=16321
2003-07-17 05:32:39 +00:00
Miguel de Icaza 04b24f874e Updated comments
svn path=/trunk/mono/; revision=16320
2003-07-17 05:13:20 +00:00
Miguel de Icaza b73428cdf0 Update
svn path=/trunk/mcs/; revision=16319
2003-07-17 05:07:35 +00:00
Miguel de Icaza f03ec5054d Ok, bootstraping makefile
svn path=/trunk/mono/; revision=16318
2003-07-17 04:57:59 +00:00
Gonzalo Paniagua Javier 57bb76d648 2003-07-17 Gonzalo Paniagua Javier <[email protected]>
* ControlCollection.cs: fixed bug #46472.

svn path=/trunk/mcs/; revision=16314
2003-07-16 23:52:18 +00:00
Aleksey Ryabchuk 1507d3ae94 * ColorDialog.cs : implemented
* win32functions.cs
	* win32enums.cs
	* win32structs.cs : functions, flags and structs for ColorDialog

svn path=/trunk/mcs/; revision=16312
2003-07-16 20:02:49 +00:00
Dick Porter 49e62eba9e 2003-07-16 Dick Porter <[email protected]>
* FileInfo.cs: Update path info when a file is moved.  Patch by
	John Luke <[email protected]>, fixes bug 44253.

svn path=/trunk/mcs/; revision=16311
2003-07-16 16:14:53 +00:00
Ravi Pratap M 9f8b75e03a 2003-07-16 Ravi Pratap <[email protected]>
* test-39.cs: Improve test to check emission on interfaces too.

svn path=/trunk/mcs/; revision=16310
2003-07-16 15:51:28 +00:00
Dick Porter efe53012cb Workaround for building on cygwin
svn path=/trunk/mono/; revision=16309
2003-07-16 15:49:32 +00:00
Ravi Pratap M d29660a985 2003-07-16 Ravi Pratap <[email protected]>
* interface.cs (Define): Do nothing here since there are no
	members to populate etc. Move the attribute emission out of here
	since this was just totally the wrong place to put it. Attribute
	application happens during the 'Emit' phase, not in the 'Define'
	phase.

	(Emit): Add this method and move the attribute emission here

	* rootcontext.cs (EmitCode): Call the Emit method on interface
	types too.

svn path=/trunk/mcs/; revision=16308
2003-07-16 15:47:11 +00:00
Lluis Sanchez 2e0bbe4953 * SoapHttpClientProtocol.cs: Removed debug WriteLine.
svn path=/trunk/mcs/; revision=16307
2003-07-16 14:39:46 +00:00
Lluis Sanchez 0bd2c8daea * Identity.cs: Added TargetUri property
svn path=/trunk/mcs/; revision=16306
2003-07-16 10:30:10 +00:00
Lluis Sanchez b2ef45acd9 * RemotingProxy.cs: Assign to the message the full uri, if available,
not only the object uri.

svn path=/trunk/mcs/; revision=16305
2003-07-16 10:29:33 +00:00
Alexandre Pigolkine ae4de52ff9 specify member variable through "this" in .ctor
svn path=/trunk/mcs/; revision=16303
2003-07-16 07:01:43 +00:00
Jackson Harper 5d9fc80d70 * Driver.cs: Use WriteLine for 'compilation succeeded'
message.

svn path=/trunk/mcs/; revision=16302
2003-07-16 06:38:12 +00:00
Jackson Harper adf317ed49 * test-11.il: Don't specify constraints with ids anymore
* test-29.il: Remove uneeded class, add constraint

svn path=/trunk/mcs/; revision=16301
2003-07-16 06:35:32 +00:00
Jackson Harper 9755c15699 * ILTables.cs: Add tokens for generic constraints.
svn path=/trunk/mcs/; revision=16300
2003-07-16 06:32:17 +00:00
Jackson Harper 873fdda0b4 * ILParser.jay: Add generic type constraints and tokens used to
create them

svn path=/trunk/mcs/; revision=16299
2003-07-16 06:30:44 +00:00
Jackson Harper 5fbfad8a58 * TypeDef.cs: Allow adding and emitting generic type
constraints.

svn path=/trunk/mcs/; revision=16298
2003-07-16 06:28:23 +00:00
Jackson Harper a97fda5fdd * PEAPI.cs: Allow generic constraints to be added, emit generic
constraints.

svn path=/trunk/mcs/; revision=16297
2003-07-16 06:24:13 +00:00
Peter Williams f1dd885021 Forgot *these* files too.
svn path=/trunk/mcs/; revision=16294
2003-07-16 05:14:57 +00:00
Peter Williams fbc57cd6e0 Forgot this file
svn path=/trunk/mcs/; revision=16293
2003-07-16 05:09:33 +00:00
Peter Williams accc28dd64 2003-07-16 Peter Williams <[email protected]>
A whole passel of build system changes. Doc updates:

	* build/README.makefiles: Doc updates.

	* build/profiles/net_1_0.make: Doc changes.

	* INSTALL.txt: A few more touchups.

	Better defaults:

	* build/config-default.make (prefix): Default install prefix
	should be /usr/local.

	* build/profiles/bootstrap.make: This profile ...

	* build/profiles/default.make: ... is now the default.

	* build/profiles/atomic.make: And the default is now this.

	Fixes for pre-build checks:

	* Makefile: Do the platform and (new) profile checks
	before the build, which took some infrastructure changes.

	* build/rules.make: Allow a Makefile to specify its own all/install/etc
	targets.

	* build/profiles/default.make (profile-check): Add a blank
	target here.

	* build/profiles/atomic.make: Check for a full MCS install to
	build against.

	HP/UX fixes with help from Bernie Solomon:

	* build/config-default.make (ECHO_ESCAPE): HP/UX 'echo'
        doesn't need a -e parameter to interpret escape codes. Test for
        that and define a configuration parameter.

        * build/library.make ($(makefrag)): Use $(ECHO_ESCAPE)
        instead of assuming that 'echo -e' will interpret escape
        codes.

        * build/executable.make ($(makefrag)): Here too.

	A make distcheck fix:

	* Makefile: Inherit the current prefix so that the build can
	find the right System.Xml.dll.

	And Windows build fixes with the invaluable help of Sebastian
	Pouliot (in various subdirectories).

class/Mono.Data.SqliteClient:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile (LIB_MCS_FLAGS): Add /r:System.dll here. Why wasn't
	this necessary with MCS? (csc.exe needs it.)

class/System:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile (SCARY_LIB): Flip around since what was bootstrap
	is now default.

class/System/Test/System.Net:

2003-07-16  Peter Williams  <[email protected]>

	* IPAddressTest.cs: #if NET_1_1 for some IPv6 tests that
	rely on some NET_1_1-only features.

class/System/Test/System.Net.Sockets:

2003-07-16  Peter Williams  <[email protected]>

	* TcpListenerTest.cs: Initialize outSock to null to
	prevent an mcs compile error.

class/System.Data:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile: Flip around for the new default build
	profile. (In a separate commit)

class/System.Windows.Forms:

2003-07-16  Peter Williams  <[email protected]>

	* System.Windows.Forms.dll.sources: Don't build with two
	AssemblyInfo.cs files.

class/corlib:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile ($(test_makefrag)): Use $(ECHO_ESCAPE) for HP/UX
	portability fixes.
	(all-local): Don't build $(cmplib) by default, it's not something
	most people need, and the build is broken on Windows right now anyway.

ilasm:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile (ILParser.cs): Move this from parser/ so we avoid
	slash direction issues on the Windows build.

	* .cvsignore: Add ILParser.cs here.

ilasm/parser:

2003-07-16  Peter Williams  <[email protected]>

	* .cvsignore: ILParser.cs has been moved.

tools:

2003-07-16  Peter Williams  <[email protected]>

	* Makefile (DIST_ONLY_SUBDIRS): Don't build SqlSharp, it's
	very old and doesn't build on Windows.

svn path=/trunk/mcs/; revision=16292
2003-07-16 05:08:19 +00:00
Miguel de Icaza f900a2765f Add new error
svn path=/trunk/mcs/; revision=16287
2003-07-16 03:30:30 +00:00
Miguel de Icaza d2bf295288 2003-07-15 Miguel de Icaza <[email protected]>
* class.cs (MethodData.Define): While checking if a method is an
	interface implementation, improve the test: If we are not public
	(use new test here: use the computed MethodAttributes directly,
	instead of the parsed modifier flags) check if the `implementing'
	method comes from an interface or not.

	* pending.cs (VerifyPendingMethods): Slightly better error
	message.

	* makefile: add test target that does the mcs bootstrap.

svn path=/trunk/mcs/; revision=16286
2003-07-16 03:30:14 +00:00
Gonzalo Paniagua Javier eb16387133 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: support string []. Fixes bug #46415.

svn path=/trunk/mcs/; revision=16285
2003-07-16 03:29:58 +00:00
Gonzalo Paniagua Javier dcbb8f79d0 2003-07-16 Gonzalo Paniagua Javier <[email protected]>
* TypeDescriptor.cs: fixed GetConverter (type) for enumerations that
	have a TypeConverter. Fixes bug #46397.

svn path=/trunk/mcs/; revision=16281
2003-07-16 01:32:32 +00:00
Miguel de Icaza 06bac35781 Update instructions
svn path=/trunk/mcs/; revision=16279
2003-07-16 00:26:50 +00:00
Miguel de Icaza 74c45be652 Update instructions
svn path=/trunk/mcs/; revision=16278
2003-07-16 00:24:17 +00:00
Pedro Martínez Juliá 982e84cfc8 2003-07-15 Pedro Martnez Juli <[email protected]>
* FloatingPointFormatter.cs: Few changes for get working Rotor
    tests.

svn path=/trunk/mcs/; revision=16274
2003-07-15 21:08:30 +00:00
Miguel de Icaza b99420671b Flush
svn path=/trunk/mono/; revision=16272
2003-07-15 19:43:45 +00:00
Dick Porter 85d00d45a4 2003-07-15 Dick Porter <[email protected]>
* timed-thread.c (timed_thread_start_routine): Fix virtual memory
	leak when threads quit.  Fixes bug 44067.

svn path=/trunk/mono/; revision=16271
2003-07-15 17:36:05 +00:00
Dick Porter 327bd2f402 2003-07-15 Dick Porter <[email protected]>
* socket-io.c: Fixed compilation for gcc < 3.2.

	Fixed compilation for machines that don't have AF_INET6 (thanks to
	Bernie Solomon <[email protected]> for that part.)

	Fixed compile warnings.

	Fixed formatting and line endings.

svn path=/trunk/mono/; revision=16270
2003-07-15 17:13:45 +00:00
Atsushi Eno e34b50d2a3 2003-07-15 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs :
	  added DTDObjectModel support for non-XmlTextReader XmlReader
	  e.g. XmlNodeReader (Read() method).
	* XmlDocument.cs :
	  added internal CreateDocumentType(XmlTextReader) and moved
	  ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
	* XmlDocumentType.cs :
	  added internal .ctor(XmlTextReader, document) and ImportFromDTD().
	* XmlTextReader.cs :
	  Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
	  and currentSubset (DTD).
	  Added GenerateDTDObjectModel() (for independent doctype parsing).

svn path=/trunk/mcs/; revision=16267
2003-07-15 16:58:54 +00:00
Atsushi Eno d4d3fb6421 2003-07-15 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs :
	  .ctor() should reject xml- or xmlns-prefixed node.
	* XmlNamespaceManager.cs :
	  added some xmlns validity check.
	* XmlNode.cs :
	  optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
	  avoiding XmlNamespaceManager creation.
	* XmlNodeReader.cs :
	  doctype node should return PUBLIC and SYSTEM for its indexer,
	  and Value should be internal subset,

svn path=/trunk/mcs/; revision=16266
2003-07-15 16:57:25 +00:00
Ravi Pratap M 4339adebb5 Me and my stupid debug messages ..
svn path=/trunk/mcs/; revision=16264
2003-07-15 16:01:31 +00:00
Lluis Sanchez b250323e1f * BuiltInDatatype.cs,
XmlSchemaDatatype.cs : added unsignedByte type support.

svn path=/trunk/mcs/; revision=16263
2003-07-15 11:42:29 +00:00
Lluis Sanchez e50997bcf7 * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Avoid generating two
maps with the same name and namespace. To avoid this, maps must be registered
	  using the real map namespace, not the default namespace (the namespace can
	  change if the type has a XmlType or SoapType attribute).
	* XmlArrayItemAttribute.cs: Set IsNullable to true by default.
	* XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
	  Other small fixes.
	* XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
	  is null.

svn path=/trunk/mcs/; revision=16262
2003-07-15 11:36:43 +00:00
Andreas N 260ee8948b 2003-07-15 Andreas Nahr <[email protected]>
* ConfigurationSettings.cs: Removed unused exception variable, fixes compiler warning

svn path=/trunk/mcs/; revision=16261
2003-07-15 10:08:31 +00:00
Andreas N 84c5f4a194 2003-07-15 Andreas Nahr <[email protected]>
* ChunkStream.cs: Removed unused members
	* IPAddress.cs: Removed unused exception variable, fixes compiler warning
	* WebConnection.cs: Removed unused exception variables, fixes compiler warnings

svn path=/trunk/mcs/; revision=16260
2003-07-15 10:07:15 +00:00
Andreas N 7484851212 2003-07-15 Andreas Nahr <[email protected]>
* ChangeLog: Added
	* ResourcePermissionBaseEntry.cs: Implemented

svn path=/trunk/mcs/; revision=16259
2003-07-15 10:05:21 +00:00
Jackson Harper 0fff2266e3 * Makefile: Add the class/lib directory to the lib path so the
newest PEAPI is allways loaded.

svn path=/trunk/mcs/; revision=16258
2003-07-15 07:27:24 +00:00
Jackson Harper 9b21ce9460 * ILParser.jay: Seperate generic constraints from generic parameters.
svn path=/trunk/mcs/; revision=16257
2003-07-15 05:57:56 +00:00
Jackson Harper bb5d6471bb * TypeDef.cs: Emit generic parameters.
svn path=/trunk/mcs/; revision=16256
2003-07-15 05:55:39 +00:00
Jackson Harper e3c0f70255 * PEAPI.cs: Cleanup methods for generics, now that constraints and
params are seperated.

svn path=/trunk/mcs/; revision=16255
2003-07-15 05:53:39 +00:00
Ravi Pratap M 98bafc18ed 2003-07-14 Ravi Pratap M <[email protected]>
* Makefile: Make sure that we use the newly generated compiler
	to run the tests, not the installed one.

	Modify targets to compile and run in one go instead of separate
	targets for each task.

	* test-196.cs: Fix careless error - returning a value from a void
	Main ().

	Add it back to the test suite.

svn path=/trunk/mcs/; revision=16253
2003-07-15 05:18:42 +00:00
Ravi Pratap M 2813591def 2003-07-14 Ravi Pratap M <[email protected]>
* expression.cs (OverloadResolve): Report error only if Location
	is not 'Null' which means that there was a probe going on.

svn path=/trunk/mcs/; revision=16252
2003-07-15 04:48:29 +00:00
Duncan Mak 6923e85550 2003-06-27 Duncan Mak <[email protected]>
* Hashtable.cs: Patch from [email protected], GetEnumerator should be
	returning DictionaryEntrys, instead of just the Key of the table.

svn path=/trunk/mcs/; revision=16251
2003-07-15 04:47:19 +00:00
Miguel de Icaza 5d057bc2df New shot
svn path=/trunk/mono/; revision=16248
2003-07-15 03:13:34 +00:00
Miguel de Icaza 809ac92f1d various updates
svn path=/trunk/mono/; revision=16246
2003-07-15 02:33:12 +00:00
Ben Maurer 35b59a67ea Ignore user's files
svn path=/trunk/mcs/; revision=16245
2003-07-15 01:03:41 +00:00
Peter Williams b8b3603f53 2003-07-14 Peter Williams <[email protected]>
* build/rules.make (dist-recursive): Fix recursive rules
	to work on HP/UX /bin/sh. Patch from Bernie Solomon
	<[email protected]>.

svn path=/trunk/mcs/; revision=16244
2003-07-15 00:34:23 +00:00
Francisco Figueiredo Jr. b8b5be6a00 2003-07-14: Francisco Figueiredo Jr. ([email protected])
* Added support for float4 and float8 data types.

svn path=/trunk/mcs/; revision=16243
2003-07-15 00:27:34 +00:00
Peter Williams 90652dc4a3 Add self to team.xml
svn path=/trunk/mono/; revision=16241
2003-07-14 23:51:50 +00:00
Lluis Sanchez ca409d6c13 * NetConfig.cs: If Clone method is not public, then it must use
explicit interface method implementation syntax.

svn path=/trunk/mcs/; revision=16239
2003-07-14 19:31:53 +00:00
Martin Baulig 6941d09ce7 Committed a workaround to make this compile again.
svn path=/trunk/mcs/; revision=16238
2003-07-14 19:04:33 +00:00
Ravi Pratap M 1611660795 Fix this up - we don't want to depend on NUnit.Framework and other such stuff.
svn path=/trunk/mcs/; revision=16237
2003-07-14 18:57:40 +00:00
Lluis Sanchez a3def39e5b * XmlSchemaDatatype.cs: Fixed compiler warning.
svn path=/trunk/mcs/; revision=16236
2003-07-14 18:45:56 +00:00
Lluis Sanchez 8432c1b289 * SoapReflectionImporter.cs: Set the BaseMap property of map. Small fix.
* TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
	* XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
	* XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
	* XmlSchemaExporter.cs: Implemented.
	* XmlSchemas.cs: Support schemas with TargetNamespace set to null.
	* XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
	  GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
	* XmlSerializationWriterInterpreter.cs: Fixed management of default values.
	  GetStringValue() returns null if the value is null, instead of empty string.
	  (attributes with null values are not written).
	* XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
	* XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
	  DataType value can is now in TypeData.
	* XmlTypeMapMemberElement.cs: Small fix.
	* XmlTypeMapping.cs: Added FindMember method and BaseMap property.

svn path=/trunk/mcs/; revision=16235
2003-07-14 18:43:11 +00:00
Gonzalo Paniagua Javier dc0e7a56ac Updated
svn path=/trunk/mcs/; revision=16230
2003-07-14 17:48:19 +00:00
Gonzalo Paniagua Javier e1114545ea Updated URLs. Thanks to Sam Clegg.
svn path=/trunk/mono/; revision=16229
2003-07-14 17:43:37 +00:00
Ravi Pratap M f18d50be8d Put my changes back in
svn path=/trunk/mcs/; revision=16228
2003-07-14 17:03:52 +00:00
Martin Baulig 38bbe13433 2003-07-14 Martin Baulig <[email protected]>
* test-204.cs: User defined conditional logical operators; bug #40505.

2003-07-14  Martin Baulig  <[email protected]>

	* test-203.cs: Added test for bug #33026.

svn path=/trunk/mcs/; revision=16226
2003-07-14 16:49:40 +00:00
Martin Baulig 6872f858c1 2003-07-14 Martin Baulig <[email protected]>
* cs0212.cs: New test.

svn path=/trunk/mcs/; revision=16225
2003-07-14 16:40:42 +00:00
Martin Baulig 7fb5f2c487 2003-07-14 Martin Baulig <[email protected]>
* expression.cs (ConditionalLogicalOperator): New public class to
	implement user defined conditional logical operators.
	This is section 14.11.2 in the spec and bug #40505.

svn path=/trunk/mcs/; revision=16224
2003-07-14 16:24:47 +00:00
Martin Baulig 8cb5635291 2003-07-14 Martin Baulig <[email protected]>
* ecore.cs (FieldExpr.DoResolveLValue): Fixed bug #46198.

svn path=/trunk/mcs/; revision=16223
2003-07-14 16:11:05 +00:00
Martin Baulig f8c753c699 Ooops, don't crash here.
svn path=/trunk/mcs/; revision=16222
2003-07-14 16:09:07 +00:00
Jerome Laban e5376b8e0b 2003-07-14 Jerome Laban <[email protected]>
* socket-io.h:
        * socket-io.c: Added IPv6 support.

svn path=/trunk/mono/; revision=16221
2003-07-14 16:08:47 +00:00
Jerome Laban b16cdf993a 2003-07-14 Jerome Laban <[email protected]>
* acconfig.h:
        * configure.in: Check for gethostbyname2_r availability.
        * data/machine.config: Added section system.net/settings. Added
        option for IPv6 availability.

svn path=/trunk/mono/; revision=16220
2003-07-14 16:07:15 +00:00
Jerome Laban 93d06a0faa 2003-07-14 Jerome Laban <[email protected]>
* TcpListenerTest.cs: Forced IPv4 listener test.

svn path=/trunk/mcs/; revision=16219
2003-07-14 16:04:58 +00:00
Jerome Laban 3166a7d7e4 2003-07-14 Jerome Laban <[email protected]>
* IPAddressTest.cs: Added IPv6 addresses tests.

svn path=/trunk/mcs/; revision=16218
2003-07-14 16:04:24 +00:00
Jerome Laban 3d171d4a85 2003-07-14 Jerome Laban <[email protected]>
* Socket.cs:
        * ProtocolType.cs:
        * SocketOptionLevel.cs:
        * TcpListener.cs:
        * TcpClient.cs:
        * UdpClient.cs:

        Added IPv6 support.

        * IPv6MulticastOption.cs: Added for IPv6 support.

svn path=/trunk/mcs/; revision=16217
2003-07-14 16:03:20 +00:00
Jerome Laban 32ab64c093 2003-07-14 Jerome Laban <[email protected]>
* NetConfigurationHandler.cs: New file that handles
        system.net/settings

svn path=/trunk/mcs/; revision=16216
2003-07-14 16:01:37 +00:00
Jerome Laban dac25c46ee 2003-07-14 Jerome Laban <[email protected]>
* Dns.cs: Reworked indentation.
        Added IPv6 support.
        Added literal address checking in GetHostByAddress.
        Changed Dns.Resolve behavior.
        * IPAddress.cs:
        * IPEndPoint.cs: Added IPv6 support.
        * IPv6Address.cs: Added address compression.
        * NetConfig.cs: Added configuration section.

svn path=/trunk/mcs/; revision=16215
2003-07-14 16:00:44 +00:00
Martin Baulig b9089c4420 2003-07-14 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.InFixedInitializer): New public field.

	* ecore.cs (IVariable.VerifyFixed): New interface method.

	* expression.cs (Unary.ResolveOperator): When resolving the `&'
	operator, check whether the variable is actually fixed.  Fixes bug
	#36055.  Set a variable definitely assigned when taking its
	address as required by the spec.

	* statement.cs (LocalInfo.IsFixed): New field.
	(LocalInfo.MakePinned): Set `IsFixed' to true.

svn path=/trunk/mcs/; revision=16214
2003-07-14 15:59:29 +00:00
Jerome Laban 2489bdfa3c 2003-07-14 Jerome Laban <[email protected]>
* System.dll.sources: Added NetConfigurationHandler.cs,
        NetConfig.cs, IPv6MulticastOption.cs

svn path=/trunk/mcs/; revision=16213
2003-07-14 15:58:17 +00:00
Ravi Pratap M 89a522a3f2 Oops, update this too
svn path=/trunk/mcs/; revision=16212
2003-07-14 15:41:33 +00:00
Ravi Pratap M a24b2739ef Add this error test case
svn path=/trunk/mcs/; revision=16211
2003-07-14 15:40:34 +00:00
Ravi Pratap M 629392ad0b 2003-07-14 Ravi Pratap M <[email protected]>
* attribute.cs (Attribute.Resolve): While doing a Member lookup
	for .ctors, ensure that we only ask for members declared in the
	attribute type (BindingFlags.DeclaredOnly).

	Fixes bug #43632.

	* expression.cs (Error_WrongNumArguments): Report error 1501
	correctly the way CSC does.

svn path=/trunk/mcs/; revision=16210
2003-07-14 15:35:58 +00:00
Jerome Laban b9828aaebf 2003-07-14 Jerome Laban <[email protected]>
* ServicePoint.cs: Removed Connect and GetEndPoint methods.
        Removed reverse resolution when uri is literal IP address.
        * WebConnection.cs: IPv6 compatibility update: Try to connect
        to all addresses returned by IPHostEntry.
        * WebConnectionGroup.cs: Removed unused parameter.

svn path=/trunk/mcs/; revision=16209
2003-07-14 15:09:47 +00:00
Dick Porter 449ccca257 Combined the two changelogs, deleted "changelog" so I can check this dir out
on a w32 filesystem.

svn path=/trunk/mcs/; revision=16208
2003-07-14 14:26:01 +00:00
Gonzalo Paniagua Javier 74a8902f37 *** empty log message ***
svn path=/trunk/mcs/; revision=16207
2003-07-14 12:52:43 +00:00
Gonzalo Paniagua Javier 8db668bd36 Install the libraries with 755 permissions
svn path=/trunk/mcs/; revision=16206
2003-07-14 12:51:55 +00:00
Gonzalo Paniagua Javier 5260c864f8 *** empty log message ***
svn path=/trunk/mcs/; revision=16205
2003-07-14 12:51:23 +00:00
Gonzalo Paniagua Javier bd73b03521 Missing file
svn path=/trunk/mcs/; revision=16204
2003-07-14 12:38:46 +00:00
Gonzalo Paniagua Javier f580afd4ce Fixed AssemblyInfo.cs directory
svn path=/trunk/mcs/; revision=16203
2003-07-14 12:34:55 +00:00
Gonzalo Paniagua Javier 9df34f12ee done
svn path=/trunk/mcs/; revision=16202
2003-07-14 12:17:07 +00:00
Lluis Sanchez e96b300596 Removed makefile ignore
svn path=/trunk/mcs/; revision=16201
2003-07-14 12:07:07 +00:00
Gonzalo Paniagua Javier 9aba3f2578 New build system
svn path=/trunk/mcs/; revision=16200
2003-07-14 11:55:32 +00:00
Gonzalo Paniagua Javier e9af2f541e New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16199
2003-07-14 11:50:55 +00:00
Andreas N 6167fbc75d 2003-07-14 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Removed

svn path=/trunk/mcs/; revision=16198
2003-07-14 11:42:22 +00:00
Andreas N 4f8771e707 2003-07-14 Andreas Nahr <[email protected]>
* list.unix: Added Assembly/AssemblyInfo.cs, Removed System.Xml.Serialization/AssemblyInfo.cs

svn path=/trunk/mcs/; revision=16197
2003-07-14 11:40:18 +00:00
Andreas N 3c9e167f42 2003-07-14 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=16196
2003-07-14 11:39:18 +00:00
Gonzalo Paniagua Javier 3f761fefe4 New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16195
2003-07-14 11:38:40 +00:00
Gonzalo Paniagua Javier f6574c38ac New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16194
2003-07-14 10:48:52 +00:00
Andreas N c87a8b4929 2003-07-14 Andreas Nahr <[email protected]>
* PerformanceCounterCategory.cs: Fixed signatures

svn path=/trunk/mcs/; revision=16193
2003-07-14 10:33:59 +00:00
Jerome Laban ba7287d57d 2003-07-14 Jerome Laban <[email protected]>
* IComponent.cs: Removed duplicate Designer attribute.

svn path=/trunk/mcs/; revision=16192
2003-07-14 09:51:39 +00:00
Miguel de Icaza f7fa3bb22e 2003-07-14 Miguel de Icaza <[email protected]>
* Factories.cs: Remove debugging message.

svn path=/trunk/mcs/; revision=16191
2003-07-14 06:43:42 +00:00
Miguel de Icaza b9d2ae6c31 Add section
svn path=/trunk/mono/; revision=16190
2003-07-14 06:33:22 +00:00
Miguel de Icaza dbae15552f Make default be Xr
svn path=/trunk/mcs/; revision=16189
2003-07-14 06:32:18 +00:00
Miguel de Icaza cba96846a4 XrFunctions are now complete and match the Xr implementation.
Changed coding conventions to Mono coding conventions.

svn path=/trunk/mcs/; revision=16188
2003-07-14 06:26:50 +00:00
Rafael Teixeira 06de67ba2d mbas version now is 0.25.0.0 in sync with mono
svn path=/trunk/mcs/; revision=16186
2003-07-14 03:54:55 +00:00
Rafael Teixeira 7630ea6a13 Peter Berlich patches for if statement and property declaration
svn path=/trunk/mcs/; revision=16185
2003-07-14 03:47:06 +00:00
Ravi Pratap M a2b686ea75 Commit this :-)
svn path=/trunk/mcs/; revision=16184
2003-07-14 02:56:30 +00:00
Ravi Pratap M b3f1471ae5 2003-07-13 Ravi Pratap M <[email protected]>
* test-178.cs: Use this as it is a free slot. Test
	for bug #45876.

	* makefile: Update.

	* README.tests: Update

svn path=/trunk/mcs/; revision=16183
2003-07-14 02:55:30 +00:00
Andreas N caa00be083 2003-07-13 Andreas Nahr <[email protected]>
* PerformanceCounter: Implemented or implementation added

svn path=/trunk/mcs/; revision=16178
2003-07-13 22:12:52 +00:00
Andreas N 78dc7ab616 2003-07-13 Andreas Nahr <[email protected]>
* DiagnosticsConfigurationHandler.cs: Removed a never used variable
	* EventLog.cs: Small update to prevent a warning
	* EventLogPermission.cs: Implemented or implementation added
	* EventLogPermissionAttribute.cs: Implemented or implementation added
	* EventLogPermissionEntry.cs: Implemented or implementation added
	* EventLogPermissionEntryCollection.cs: Implemented or implementation added
	* EventLogTraceListener.cs: Implemented or implementation added
	* PerformanceCounterManager.cs: Implemented or implementation added
	* PerformanceCounterInstaller.cs: Made internal
	* PerformanceCounterCategory.cs: Implemented few members
	* PerformanceCounterPermission.cs: Implemented or implementation added
	* PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
	* PerformanceCounterPermissionEntry.cs: Implemented or implementation added
	* PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added

svn path=/trunk/mcs/; revision=16177
2003-07-13 22:09:12 +00:00
Andreas N 5bc39e4713 2003-07-13 Andreas Nahr <[email protected]>
* Component.cs: Implementation added
	* Container.cs: Implementation added
	* MarshalByValueComponent.cs: Implementation added
	* ReferenceConverter.cs: Small addition for future implementation

svn path=/trunk/mcs/; revision=16176
2003-07-13 22:06:17 +00:00
Andreas N 8fec9042ed 2003-07-13 Andreas Nahr <[email protected]>
* WebProxy.cs: Add serialization/ deserialization support

svn path=/trunk/mcs/; revision=16175
2003-07-13 22:03:59 +00:00
Andreas N 39c5a38a7b 2003-07-13 Andreas Nahr <[email protected]>
* FileSystemWatcher.cs: Added missing attributes

svn path=/trunk/mcs/; revision=16174
2003-07-13 22:02:25 +00:00
Rafael Teixeira 96788c1ca6 .cvsignore added to clear cvs warnings
svn path=/trunk/mcs/; revision=16173
2003-07-13 21:03:49 +00:00
Rafael Teixeira ab5f027a5d makefile.gnu wasn't able to compile
svn path=/trunk/mcs/; revision=16172
2003-07-13 20:56:41 +00:00
Zoltan Varga b72849e65f 2003-07-13 Zoltan Varga <[email protected]>
* interp.c (ves_array_get): Add index checking to ves_array_get/set.
	Fixes decimal-array.exe.

svn path=/trunk/mono/; revision=16171
2003-07-13 20:34:15 +00:00
Zoltan Varga 4d1430e2f5 2003-07-13 Zoltan Varga <[email protected]>
* interp.c: Keep alloca()-d data on a free list to prevent stack
	overflow errors when valuetypes are allocated in a loop. Fixes
	#27420. Is the new code still faster than using malloc/free ?

	* interp.c (interp_mono_runtime_invoke): Unbox value type instances
	before calling the method. Fixes appdomain2.exe.

	* interp.c: Fix warnings.

	* interp.c: Report unhandled exceptions correctly.

	* interp.c: Implement CEE_ISINST and CEE_CASTCLASS using
	mono_object_isinst. Fixes bug #45539 and reflection-enum.exe.

svn path=/trunk/mono/; revision=16170
2003-07-13 20:24:07 +00:00
Zoltan Varga 75dbbd21eb 2003-07-13 Zoltan Varga <[email protected]>
* mono/tests/cattr-object.cs: Make it run under both mono and MS.NET.

	* mono/tests/struct.cs: Add test for unboxing trampolines.

	* mono/tests/bug-27420.cs: new regression test.

	* mono/tests/Makefile.am: skip vararg test since it does not compile
	under mono. Add testinterp target. Add new tests.

svn path=/trunk/mono/; revision=16168
2003-07-13 20:18:18 +00:00
Martin Baulig 8605df4bfb 2003-07-13 Martin Baulig <[email protected]>
* test-202.cs: Added test for bug #41975.

2003-07-13  Martin Baulig  <[email protected]>

	* test-201.cs: Added test for bug #35631.

2003-07-12  Martin Baulig  <[email protected]>

	* test-200.cs: Added test for bug #45854.

svn path=/trunk/mcs/; revision=16165
2003-07-13 18:28:32 +00:00
Martin Baulig 9fbb1483e3 2003-07-13 Martin Baulig <[email protected]>
* expression.cs (MemberAccess.ResolveAsTypeStep): Try to do a type
	lookup on the fully qualified name, to make things like "X.X" work
	where "X.X" is a fully qualified type name, but we also have a
	namespace "X" in the using list.  Fixes #41975.

svn path=/trunk/mcs/; revision=16164
2003-07-13 18:25:30 +00:00
Martin Baulig d803645336 2003-07-13 Martin Baulig <[email protected]>
* assign.cs (Assign.GetEmbeddedAssign): New protected virtual
	function. If we're a CompoundAssign, we need to create an embedded
	CompoundAssign, not an embedded Assign.
	(Assign.DoResolve): Make this work for embedded CompoundAssign's.
	Fixes #45854.

svn path=/trunk/mcs/; revision=16163
2003-07-13 18:21:30 +00:00
Martin Baulig 4ede58dbbc 2003-07-13 Martin Baulig <[email protected]>
* typemanager.cs (TypeManager.IsNestedChildOf): Make this actually
	work to fix bug #46088.

svn path=/trunk/mcs/; revision=16162
2003-07-13 18:15:58 +00:00
Ravi Pratap M 74daa9177c 2003-07-13 Ravi Pratap <[email protected]>
* class.cs (Operator.Emit): Do not emit attributes here - it is
	taken care of by the Method class that we delegate too. This takes
	care of bug #45876.

svn path=/trunk/mcs/; revision=16161
2003-07-13 18:07:44 +00:00
Zoltan Varga fd71d2346e 2003-07-13 Zoltan Varga <[email protected]>
* interp.c: Keep alloca()-d data on a free list to prevent stack
	overflow errors when valuetypes are allocated in a loop. Fixes
	#27420. Is the new code still faster than using malloc/free ?

	* interp.c: Fix warnings.

	* interp.c: Report unhandled exceptions correctly.

svn path=/trunk/mono/; revision=16160
2003-07-13 16:25:16 +00:00
Zoltan Varga 56ebabf721 2003-07-13 Zoltan Varga <[email protected]>
* interp.c: Report unhandled exceptions correctly.

	* interp.c: Implement CEE_ISINST and CEE_CASTCLASS using
	mono_object_isinst. Fixes bug #45539 and reflection-enum.exe.

svn path=/trunk/mono/; revision=16159
2003-07-13 14:33:47 +00:00
Zoltan Varga 090017c4a9 2003-07-13 Zoltan Varga <[email protected]>
* TypeTest.cs: New file.

svn path=/trunk/mcs/; revision=16158
2003-07-13 14:29:25 +00:00
Zoltan Varga 76bca3892e 2003-07-13 Zoltan Varga <[email protected]>
* corlib_test.args: Added TypeTest.cs.

svn path=/trunk/mcs/; revision=16157
2003-07-13 14:28:39 +00:00
Zoltan Varga 000dd1b1c4 2003-07-13 Zoltan Varga <[email protected]>
* Type.cs (IsAssignableFrom): Implement this as an icall since the
	runtime already includes the neccessary logic.

svn path=/trunk/mcs/; revision=16156
2003-07-13 14:18:38 +00:00
Zoltan Varga 6396bb7ff7 2003-07-13 Zoltan Varga <[email protected]>
* class.c (mono_class_is_assignable_from): New function to implement
	the is_assignable_from logic. Used by mono_object_isinst,
	Type::IsAssignableFrom () and the interpreter.

	* class.c (mono_class_is_subclass_of): Make all classes a subclass of
	Object, even interfaces.

	* object.c (mono_object_isinst): Implement in terms of
	is_assignable_from.

	* icall.c (ves_icall_type_is_assignable_from): New icall.

svn path=/trunk/mono/; revision=16155
2003-07-13 14:14:55 +00:00
Zoltan Varga 40aabb2696 2003-07-13 Zoltan Varga <[email protected]>
* unix.args: Fix UNIX build.

svn path=/trunk/mcs/; revision=16154
2003-07-13 10:21:17 +00:00
Andreas N 0bd8f7442d 2003-07-13 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added additional .Net 1.1 attributes

svn path=/trunk/mcs/; revision=16153
2003-07-13 07:17:46 +00:00
Andreas N 98c467a15d 2003-07-12 Andreas Nahr <[email protected]>
* list.args: Added Runtime.InteropServices.ComCompatibleVersionAttribute.cs,
	Runtime.InteropServices.TypeLibVersionAttribute.cs

svn path=/trunk/mcs/; revision=16152
2003-07-13 07:16:44 +00:00
Andreas N 3aa7efb254 2003-07-12 Andreas Nahr <[email protected]>
* ComCompatibleVersionAttribute.cs: Added and implemented
	* TypeLibVersionAttribute.cs: Added and implemented

svn path=/trunk/mcs/; revision=16151
2003-07-13 07:14:42 +00:00
Andreas N 76e758444a 2003-07-12 Andreas Nahr <[email protected]>
* cormissing.xsl: Change percentage to display percentage for all sub-members, not just direct members

svn path=/trunk/mcs/; revision=16150
2003-07-12 22:33:09 +00:00
Andreas N 7981eff18c 2003-07-12 Andreas Nahr <[email protected]>
* MissingNameSpace.cs: Fixed the case where a private/ internal class that per chance has a class with the same name
				in the compared assembly gets compared -> now only public classes are compared.
	* MissingType: Internal nested types were always compared -> internal nested types are never compared

svn path=/trunk/mcs/; revision=16149
2003-07-12 22:32:10 +00:00
Andreas N 550e0645c6 2003-07-12 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added support for .Net 1.0 build

svn path=/trunk/mcs/; revision=16147
2003-07-12 17:40:25 +00:00
Atsushi Eno f4ca9969f5 2003-07-12 Atsushi Enomoto <[email protected]>
* XmlValidatingReaderTests.cs : added TestNonDeterministicContent() and
	  TestAttributeDefaultContribution().

svn path=/trunk/mcs/; revision=16141
2003-07-12 15:11:07 +00:00
Atsushi Eno 962e51b9de 2003-07-12 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs,
	  DTDValidatingReader.cs : Completely rewrote attribute handling.

svn path=/trunk/mcs/; revision=16140
2003-07-12 15:10:34 +00:00
Atsushi Eno ea1499c9d1 2003-07-12 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs,
	  XmlSchemaDatatype.cs : added NOTATION type support.

svn path=/trunk/mcs/; revision=16133
2003-07-12 07:45:33 +00:00
Atsushi Eno f218c0ded5 2003-07-12 Atsushi Enomoto <[email protected]>
* XmlNodeReaderTests.cs : Fixed ReadInnerXmlWrongInit() for correct
	  ReadState check.
	* ChangeLog was incorrectly added about above stuff.
	* XmlTextReaderTests.cs : added some reader's state check tests and
	  ReadAsElementContent and ReadAsAttributeContent.
	* XmlTextWriterTests.cs : added DontOutputMultipleXmlns().

svn path=/trunk/mcs/; revision=16132
2003-07-12 07:44:45 +00:00
Atsushi Eno 86b8448fdb 2003-07-12 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs,
	  XmlElement.cs : Fixed CloneNode() for bug #46129.
	* XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
	  String.Format arguments, and basically XmlException.ctor(
	  IXmlLineInfo, message) seems good idea to use.
	* XmlTextReader.cs :
	  - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
	    required non-null context which don't have to exist.
	  - Added state check. Introduced 'currentState' and 'maybeTextDecl'
	    (for external entity) and removed hasEnteredDocument. Added
	    state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
	    ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
	  - Replaced throw ReaderError() with throw new XmlException() and
	    fixed that some error hadn't thrown, only created.
	  - ResetState() should re-initialize existing private members other
	    than some specified fields.
	  - Private AddAttribute() should check if the same-named attribute
	    already exists.
	* DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.

svn path=/trunk/mcs/; revision=16131
2003-07-12 07:39:25 +00:00
Zoltan Varga aececc6f87 2003-07-11 Zoltan Varga <[email protected]>
* ModuleBuilderTest.cs: Added tests for IsTransient ().

	* ModuleBuilderTest.cs: Added tests for DefineDocument ().

svn path=/trunk/mcs/; revision=16127
2003-07-11 19:04:20 +00:00
Zoltan Varga 00a1e594e6 2003-06-27 Zoltan Varga <[email protected]>
* MonoSymbolWriter.cs: Enable calling of DefineDocument multiple
	times with the same URL.

svn path=/trunk/mcs/; revision=16126
2003-07-11 19:02:42 +00:00
Zoltan Varga a2c9a5f67e 2003-07-11 Zoltan Varga <[email protected]>
* ModuleBuilder.cs AssemblyBuilder.cs: Implemented IsTransient ().

svn path=/trunk/mcs/; revision=16125
2003-07-11 18:57:05 +00:00
Zoltan Varga 824031871b 2003-07-11 Zoltan Varga <[email protected]>
* AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.

	* AssemblyFlagsAttribute.cs: Added new property from NET 1.1.

svn path=/trunk/mcs/; revision=16124
2003-07-11 18:49:13 +00:00
Zoltan Varga 06538b8da8 2003-07-11 Zoltan Varga <[email protected]>
* AssemblyBuilderTest.cs: Added error handling tests.

svn path=/trunk/mcs/; revision=16123
2003-07-11 17:29:05 +00:00
Zoltan Varga fa9a6ad4ad 2003-07-11 Zoltan Varga <[email protected]>
* AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.

svn path=/trunk/mcs/; revision=16122
2003-07-11 17:27:37 +00:00
Zoltan Varga 2c633c2535 2003-07-11 Zoltan Varga <[email protected]>
* AssemblyBuilder.cs: Added argument checking to all methods according
	to the MSDN docs. Also marked DefineUnmanagedResource and its friends
	as not implemented.
	* ModuleBuilder.cs: Added new property FileName used by AssemblyBuilder.

svn path=/trunk/mcs/; revision=16121
2003-07-11 17:19:29 +00:00
Zoltan Varga a22625bfae 2003-07-11 Zoltan Varga <[email protected]>
* domain.c (foreach_domain): fix compiler warning.

svn path=/trunk/mono/; revision=16120
2003-07-11 17:16:00 +00:00
Dietmar Maurer 1360a87955 latest libgc already defines GC_WIN32_THREADS
svn path=/trunk/mono/; revision=16119
2003-07-11 14:44:54 +00:00
Dietmar Maurer 8d7c5edf60 2003-07-11 Dietmar Maurer <[email protected]>
* image.c (load_metadata_ptrs): use g_strndup because strndup is
	not available on all plattforms

svn path=/trunk/mono/; revision=16118
2003-07-11 14:40:33 +00:00
Andreas N 6208964647 2003-07-10 Andreas Nahr <[email protected]>
Added abstract to class definition, fixed two fields

svn path=/trunk/mcs/; revision=16110
2003-07-10 17:01:18 +00:00
Andreas N a0081a1f49 2003-07-10 Andreas Nahr <[email protected]>
* TypeConverter.cs: Implemented missing methods
	* TypeDescriptor.cs: Redirections added

svn path=/trunk/mcs/; revision=16109
2003-07-10 16:59:29 +00:00
Andreas N 3bc4589969 2003-07-10 Andreas Nahr <[email protected]>
* NameObjectCollectionBase.cs: Implemented a few missing methods, fixed public signatures

svn path=/trunk/mcs/; revision=16108
2003-07-10 16:57:34 +00:00
Andreas N fd1549e5ea 2003-07-10 Andreas Nahr <[email protected]>
* Executor.cs: Changed abstract to sealed

svn path=/trunk/mcs/; revision=16107
2003-07-10 16:56:19 +00:00
Andreas N 74cee0a54f 2003-07-10 Andreas Nahr <[email protected]>
* SystemEvents.cs: Implemented preliminary timer support, added private constructor, fixed events

svn path=/trunk/mcs/; revision=16106
2003-07-10 16:55:22 +00:00
Martin Baulig c5c295d0b4 New test for CS0673.
svn path=/trunk/mcs/; revision=16100
2003-07-10 15:01:09 +00:00
Martin Baulig 800e914e17 2003-07-10 Martin Baulig <[email protected]>
* expression.cs (TypeOfVoid): New class.
	(TypeOf): Report a CS0673 if it's System.Void.  Fixes #42264.

svn path=/trunk/mcs/; revision=16099
2003-07-10 15:00:01 +00:00
Martin Baulig bf89333bf7 2003-07-10 Martin Baulig <[email protected]>
* class.cs (MethodCore.DoDefineParameters): Added CS0225 check.

svn path=/trunk/mcs/; revision=16098
2003-07-10 14:38:46 +00:00
Lluis Sanchez 79e2f136e5 * HttpSoapWebServiceHandler.cs: MS puts the soap action in quotation marks??
Fix for this case.
	* SoapHttpClientProtocol.cs: Implemented support for asynchronous calls
	  (BeginInvoke and EndInvoke).

svn path=/trunk/mcs/; revision=16097
2003-07-10 14:25:18 +00:00
Andreas N aad3fea7dd 2003-07-10 Andreas Nahr <[email protected]>
* list.unix: Added AssemblyInfo.cs

svn path=/trunk/mcs/; revision=16096
2003-07-10 14:23:49 +00:00
Andreas N bff0016607 2003-07-10 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added
	* ChangeLog: Added

svn path=/trunk/mcs/; revision=16095
2003-07-10 14:21:49 +00:00
Andreas N 112b22f219 2003-07-10 Andreas Nahr <[email protected]>
* Accidentally added wrong file - removed

svn path=/trunk/mcs/; revision=16094
2003-07-10 14:19:51 +00:00
Andreas N 314fb38191 2003-07-10 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added file

svn path=/trunk/mcs/; revision=16093
2003-07-10 14:17:36 +00:00
Andreas N 9f4c4a035f 2003-07-09 Andreas Nahr <[email protected]>
* NameObjectCollectionBase.cs: Fixed signature to be CLSCompliant, changed/corrected header
	* StringCollection.cs: Improved implementation (should perform better)

svn path=/trunk/mcs/; revision=16092
2003-07-10 14:13:55 +00:00
Andreas N 4709afd8ee 2003-07-09 Andreas Nahr <[email protected]>
* IODescriptionAttribute.cs: Removed unneeded field

svn path=/trunk/mcs/; revision=16091
2003-07-10 14:12:00 +00:00
Zoltan Varga 89ba565826 2003-07-10 Zoltan Varga <[email protected]>
* Assembly.cs: Implemented ImageRuntimeVersion property from NET 1.1.

svn path=/trunk/mcs/; revision=16090
2003-07-10 14:10:46 +00:00
Andreas N fa0fb16ebb 2003-07-10 Andreas Nahr <[email protected]>
* ProxyUseType.cs:
	* WebStatus.cs: Deleted (do not exist in this assembly)
	* IPv6Address.cs: Made internal

svn path=/trunk/mcs/; revision=16089
2003-07-10 14:10:39 +00:00
Zoltan Varga 3fcfe5a04f 2003-07-10 Zoltan Varga <[email protected]>
* image.h image.c: Store the metadata version string in MonoImage.
	* icall.c: New icall to retrieve the image version.
	* reflection.c (create_dynamic_image): Fill in the image version field
	* reflection.c (build_compressed_metadata): Use the image version
	from the image structure.

svn path=/trunk/mono/; revision=16088
2003-07-10 14:09:48 +00:00
Martin Baulig d5b9dc8042 2003-07-10 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.NamespaceLookup): Take a DeclSpace,
	not a NamespaceEntry, so we can use DeclSpace.CheckAccessLevel().

	* decl.cs (DeclSpace.FindType): Use DeclSpace.CheckAccessLevel().

	* typemanager.cs (TypeManager.IsAccessibleFrom): Removed.

svn path=/trunk/mcs/; revision=16087
2003-07-10 14:08:13 +00:00
Andreas N 54567f06d4 2003-07-10 Andreas Nahr <[email protected]>
* list.unix: Removed System.Net/ProxyUseType.cs, System.Net/WebStatus.cs

svn path=/trunk/mcs/; revision=16086
2003-07-10 14:06:53 +00:00
Martin Baulig 53a4967f58 2003-07-10 Martin Baulig <[email protected]>
* expression.cs (ArrayCreation): Don't use a byte blob for arrays
	of decimal.  Fixes #42850.

	NOTE: I also fixed the created byte blob, but this doesn't work on
	the MS runtime and csc never produces any byte blobs for decimal
	arrays.

svn path=/trunk/mcs/; revision=16083
2003-07-10 13:22:39 +00:00
Martin Baulig e27aa47146 2003-07-10 Martin Baulig <[email protected]>
* statement.cs (StructInfo.GetStructInfo): Catch deep cycles in
	structs; fixes #32068.
	(Block.AddChildVariableNames): Fixed #44302.

svn path=/trunk/mcs/; revision=16082
2003-07-10 13:20:09 +00:00
Gonzalo Paniagua Javier f44145d60e 2003-07-10 Gonzalo Paniagua Javier <[email protected]>
* MemoryStream.cs: fixed bug #46060. Thanks to Carlos Barcenilla.

svn path=/trunk/mcs/; revision=16079
2003-07-10 01:59:45 +00:00
Gonzalo Paniagua Javier ca23d3e480 2003-07-10 Gonzalo Paniagua Javier <[email protected]>
* MemoryStreamTest.cs: added a couple of tests for WriteByte.

svn path=/trunk/mcs/; revision=16078
2003-07-10 01:58:13 +00:00
Miguel de Icaza 5957f2186c Update slightly
svn path=/trunk/mono/; revision=16075
2003-07-09 22:31:46 +00:00
Martin Willemoes Hansen 51b3f66a09 * doc/web/team.xml : Modified my tasks a bit.
svn path=/trunk/mono/; revision=16074
2003-07-09 22:30:16 +00:00
Miguel de Icaza 393bdddfba better version
svn path=/trunk/mono/; revision=16073
2003-07-09 22:15:34 +00:00
Miguel de Icaza fc771c7962 more updates
svn path=/trunk/mono/; revision=16070
2003-07-09 21:31:59 +00:00
Lluis Sanchez 1723e20087 * SymmetricAlgorithm.cs: Fixed FinalEncrypt. Return empty array if inputCount is 0.
svn path=/trunk/mcs/; revision=16067
2003-07-09 19:26:47 +00:00
Jean-Marc Andre 3424814801 2003-07-09: Jean-Marc Andr�� <[email protected]>
* unix.arg: SoapClientFormatterSinkProvider.cs & SoapMessageFormatter.cs added to the build list

svn path=/trunk/mcs/; revision=16064
2003-07-09 17:19:42 +00:00
Miguel de Icaza 80f12baeaf Update
svn path=/trunk/mono/; revision=16063
2003-07-09 17:19:16 +00:00
Jean-Marc Andre 4ca19b29e4 2003-07-09: Jean-Marc Andr�� <[email protected]>
* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs, SoapMessageFormatter.cs: Support for the soap serialization added to the remoting infrastructure

svn path=/trunk/mcs/; revision=16062
2003-07-09 17:13:46 +00:00
Miguel de Icaza 0e6976f71c Update
svn path=/trunk/mono/; revision=16061
2003-07-09 17:08:26 +00:00
Jean-Marc Andre 4c2e1d2af3 2003-07-09: Jean-Marc Andr�� <[email protected]>
* ReturnMessage.cs: Bug fix. GetOutArgName didn't return the right name for the given out parameter.

svn path=/trunk/mcs/; revision=16060
2003-07-09 17:04:00 +00:00
Lluis Sanchez d6e1901b61 * XmlTextReader.cs : Implemented ResetState() method.
svn path=/trunk/mcs/; revision=16059
2003-07-09 16:48:52 +00:00
Lluis Sanchez 809dadec23 * XmlSerializationWriter.cs: WriteStartElement(): Do not write xsd and xsi
namespace declarations if they have already been defined.

svn path=/trunk/mcs/; revision=16058
2003-07-09 16:29:27 +00:00
Lluis Sanchez 3f5448730c * SoapHttpClientProtocol.cs, HttpSoapWebServiceHandler.cs, Methods.cs:
Added support for soap extensions. Moved some code to
	  WebServiceHelper. Implemented support for the two types of RoutingStyle. Added support
	  for In and Out headers. Improved management of exceptions.
	* SoapClientMessage.cs: code to retrieve soap headers moved to SoapMessage.
	* SoapExtension.cs: Added methods for getting and creating soap extensions.
	* SoapMessage.cs: Added methods for getting and assigning headers to an object.
	* SoapServerMessage.cs: Added setter for MethodStubInfo. Other minor fixes.
	* WebServiceHandler.cs: Added support for In and Out headers. Fixed management of exceptions.
	* WebServiceHandlerFactory.cs: Check if the request protocol is supported.
	* WebServiceHelper.cs: Added method for reading a soap request.

svn path=/trunk/mcs/; revision=16057
2003-07-09 16:23:31 +00:00
Gonzalo Paniagua Javier b9751ff2c8 Forgot to add this
svn path=/trunk/mcs/; revision=16056
2003-07-09 14:38:02 +00:00
Gonzalo Paniagua Javier 11e7047846 Arrrgh. Wrong Eri[kc]
svn path=/trunk/mcs/; revision=16055
2003-07-09 14:31:10 +00:00
Gonzalo Paniagua Javier 8b566312e3 2003-07-09 Gonzalo Paniagua Javier <[email protected]>
* system_linux_test.args: added new tests in Microsoft.CSharp.

	* Microsoft.CSharp/CodeGeneratorFromCompileUnitTest.cs:
	* Microsoft.CSharp/CodeGeneratorFromExpressionTest.cs:
	* Microsoft.CSharp/CodeGeneratorFromNamespaceTest.cs:
	* Microsoft.CSharp/CodeGeneratorFromStatementTest.cs:
	* Microsoft.CSharp/CodeGeneratorFromTypeTest.cs:
	* Microsoft.CSharp/CodeGeneratorTestBase.cs: new tests from Erik LeBel
	<[email protected]>.

svn path=/trunk/mcs/; revision=16054
2003-07-09 14:17:24 +00:00
Gonzalo Paniagua Javier f06cdb496a 2003-07-09 Gonzalo Paniagua Javier <[email protected]>
* regex.cs: patch from Eric Lindvall <[email protected]> that fixes bug
	#44830.

svn path=/trunk/mcs/; revision=16053
2003-07-09 12:44:17 +00:00
Gonzalo Paniagua Javier 2484103124 Fixed namespace
svn path=/trunk/mcs/; revision=16052
2003-07-09 11:55:31 +00:00
César Natarén 3531f80895 2003-07-09 Cesar Lopez Nataren <[email protected]>
* jscript-lexer-parser.g: Added conditional_compilation_directive,
	which is the beginning of our support for conditional compilation
	statements and directives in our parser. Added
	cc_on_statement, and some lexer rules for getting the needed
	tokens (COND_SET, COND_DEBUG, COND_POSITION, COND_POSITION,
	COND_IF, COND_ELIF, COND_ELSE, COND_END and CC_ON.

svn path=/trunk/mcs/; revision=16049
2003-07-09 04:43:21 +00:00
Martin Baulig 677bcdf657 Reverted this. Miguel's change was older than my last change to this
function and it no longer works with my change; ie. we're now using my
version.
2003-07-07  Miguel de Icaza  <[email protected]>

	* rootcontext.cs (NamespaceLookup): Accept a DeclSpace, so we can
	call the CheckAccessLevel routine.  Only use types that pass the
	CheckAccessLevel

svn path=/trunk/mcs/; revision=16046
2003-07-08 19:04:13 +00:00
Gonzalo Paniagua Javier df3cd55444 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
* BaseCompiler.cs: first look for cached items, then generate the tree.
	This should speed things up.

	* CachingCompiler.cs: when compiling web services, use the full path of
	the .asmx file as key when caching.

	* WebServiceCompiler.cs: first look for cached items, then generate
	the source file.

svn path=/trunk/mcs/; revision=16045
2003-07-08 18:57:57 +00:00
Martin Baulig e1d3cfb385 Reverted this. Miguel's change was older than my last change to this
function and it no longer works with my change; ie. we're now using my
version.
2003-07-07  Miguel de Icaza  <[email protected]>

	* decl.cs (DeclSpace.FindType): CheckAccessLevel on the type as
	well.  Sorry, this fixes the bug Gonzalo tried to fix.

svn path=/trunk/mcs/; revision=16044
2003-07-08 18:51:08 +00:00
Martin Baulig ae2a215b40 2003-07-08 Martin Baulig <[email protected]>
* test-198.cs, test-199.cs: New tests for bugs #36316, #36314 and
	#36313.

svn path=/trunk/mcs/; revision=16042
2003-07-08 18:03:21 +00:00
Martin Baulig 270d71bc58 2003-07-08 Martin Baulig <[email protected]>
* rootcontext.cs (RootContext.NamespaceLookup): Ignore
	inaccessible types.  Fixes #36313.

	* decl.cs (DeclSpace.FindType): Ignore inaccessible types.

	* namespace.cs (NamespaceEntry): Create implicit entries for all
	namespaces; ie. if we have `namespace N1.N2.N3 { ... }', we create
	implicit entries for N1.N2 and N1.

svn path=/trunk/mcs/; revision=16041
2003-07-08 17:58:51 +00:00
Gonzalo Paniagua Javier cf1e5ce271 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: modified comment.
	* gc.c: finalizer_thread can call finalizers even when finished == TRUE.
	That will be its last iteration when mono_gc_cleanup is called from
	mono_runtime_cleanup and before the domain is unloaded.

	Fixes bug #45962.

svn path=/trunk/mono/; revision=16039
2003-07-08 14:59:43 +00:00
Gonzalo Paniagua Javier 98a893a065 sigh, i need more sleep :)
svn path=/trunk/mcs/; revision=16038
2003-07-08 13:10:32 +00:00
Gonzalo Paniagua Javier 89f03e1935 Nothing escapes from Lluis' sight
svn path=/trunk/mcs/; revision=16037
2003-07-08 13:02:48 +00:00
Gonzalo Paniagua Javier 34bde825da 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
* WebServicesConfigurationSectionHandler.cs: added <soapExtensionTypes>
	support.

svn path=/trunk/mcs/; revision=16036
2003-07-08 12:49:54 +00:00
Gonzalo Paniagua Javier b65f52da22 class status fixes
svn path=/trunk/mcs/; revision=16035
2003-07-08 09:37:18 +00:00
Gonzalo Paniagua Javier e569aea4ab Ugh. Applied the wrong patch. Thanks again, Eric
svn path=/trunk/mcs/; revision=16034
2003-07-08 08:56:30 +00:00
Gonzalo Paniagua Javier 246d207e0d added bug report number
svn path=/trunk/mcs/; revision=16033
2003-07-08 02:45:37 +00:00
Gonzalo Paniagua Javier 6f455579eb 2003-07-07 Gonzalo Paniagua Javier <[email protected]>
* namespace.cs: fixed compilation with csc. I'll file a bug report
	about this.

svn path=/trunk/mcs/; revision=16032
2003-07-08 02:39:52 +00:00
Gonzalo Paniagua Javier 4d8dd8b21b removed Console.W
svn path=/trunk/mcs/; revision=16031
2003-07-08 02:34:12 +00:00
Gonzalo Paniagua Javier 3d5853aab1 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* ServicePointManager.cs:
	* WebConnection.cs: added support for proxies.

svn path=/trunk/mcs/; revision=16030
2003-07-08 02:24:24 +00:00
Gonzalo Paniagua Javier 01c7c04a78 2003-07-08 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs: Session doesn't have a setter.

	* System.Web/HttpResponse.cs: Request is private.

	* System.Web.SessionState/SessionDictionary.cs: locking.

	* System.Web.SessionState/SessionInProcHandler.cs: use the new method
	instead of the setter.

svn path=/trunk/mcs/; revision=16029
2003-07-08 01:14:40 +00:00
Miguel de Icaza e2cd331a32 2003-07-07 Miguel de Icaza <[email protected]>
* attribute.cs: And this test is onger needed.

svn path=/trunk/mcs/; revision=16028
2003-07-07 21:48:45 +00:00
Miguel de Icaza 86a0e5ae40 Updated fix to work with the new changes from Martin
2003-07-07  Miguel de Icaza  <[email protected]>

	* decl.cs (DeclSpace.FindType): CheckAccessLevel on the type as
	well.  Sorry, this fixes the bug Gonzalo tried to fix.

	* rootcontext.cs (NamespaceLookup): Accept a DeclSpace, so we can
	call the CheckAccessLevel routine.  Only use types that pass the
	CheckAccessLevel

svn path=/trunk/mcs/; revision=16027
2003-07-07 21:14:30 +00:00
Martin Baulig 7ec1f3c628 2003-07-08 Martin Baulig <[email protected]>
Rewrote the handling of namespaces to fix a lot of the issues
	wrt. `using' aliases etc.

	* namespace.cs (Namespace): Splitted this class into a
	per-assembly `Namespace' and a per-file `NamespaceEntry'.

	* typemanager.cs (TypeManager.IsNamespace): Removed.
	(TypeManager.ComputeNamespaces): Only compute namespaces from
	loaded assemblies here, not the namespaces from the assembly we're
	currently compiling.

svn path=/trunk/mcs/; revision=16025
2003-07-07 20:32:40 +00:00
Martin Baulig b024e48884 2003-07-08 Martin Baulig <[email protected]>
* rootcontext.cs, class.cs: Fixed the CS1530 reporting.

svn path=/trunk/mcs/; revision=16023
2003-07-07 20:22:14 +00:00
Miguel de Icaza b733686f6e 2003-07-07 Miguel de Icaza <[email protected]>
* typemanager.cs: Reverted patch from Gonzalo, my previous patch
	already fixed it.

	I thought about the memory savings here, but LookupTypeReflection
	is used under already very constrained scenarios.  Compiling
	corlib or mcs only exposes one hit, so it would not really reduce
	any memory consumption.

svn path=/trunk/mcs/; revision=16022
2003-07-07 18:22:58 +00:00
Gonzalo Paniagua Javier f42c0d1e5d 2003-07-07 Gonzalo Paniagua Javier <[email protected]>
* Hashtable.cs: made SynchedHashtable serializable. Fixes bug #45918.
	Thanks to [email protected] (Joerg Rosenkranz).

svn path=/trunk/mcs/; revision=16021
2003-07-07 14:48:07 +00:00
Gonzalo Paniagua Javier 58e5643ea8 2003-07-07 Gonzalo Paniagua Javier <[email protected]>
* typemanager.cs: fixes bug #45889 by only adding public types from
	other assemblies to the list of known types.

svn path=/trunk/mcs/; revision=16020
2003-07-07 14:21:50 +00:00
Gonzalo Paniagua Javier 64667b0cee added 10040 - message too long
svn path=/trunk/mcs/; revision=16018
2003-07-07 12:48:25 +00:00
Gonzalo Paniagua Javier 4bcd1af4dc Fixed typo. Thanks to Sam Clegg <[email protected]>
svn path=/trunk/mono/; revision=16016
2003-07-07 12:20:08 +00:00
Gonzalo Paniagua Javier f3e5992c7a added missing / in <remarks>
svn path=/trunk/mcs/; revision=16014
2003-07-07 11:26:58 +00:00
Gonzalo Paniagua Javier b2b64adeca added test target
svn path=/trunk/mcs/; revision=16013
2003-07-07 11:26:17 +00:00
Gonzalo Paniagua Javier fdf283bbd4 added TODOAttribute.cs
svn path=/trunk/mcs/; revision=16012
2003-07-07 11:23:22 +00:00
Martin Willemoes Hansen ce973b2c2f Wrong comment removed
svn path=/trunk/mcs/; revision=16011
2003-07-07 11:08:37 +00:00
Andreas N d56e933d51 2003-07-07 Andreas Nahr <[email protected]>
* EventLog.cs: Removed unneccesary attribute according to corecompare
	* EventLogEntry.cs: Removed unneccesary attribute according to corecompare
	* Process.cs: Removed unneccesary attributes according to corecompare, added attribute
	* ProcessModule.cs: Removed unneccesary attribute according to corecompare
	* ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
	* ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature

svn path=/trunk/mcs/; revision=16010
2003-07-07 11:03:46 +00:00
Andreas N c6d5eea9ec 2003-07-07 Andreas Nahr <[email protected]>
* DesignerTransaction.cs: Fixed signature

svn path=/trunk/mcs/; revision=16009
2003-07-07 11:01:52 +00:00
Andreas N b6687f8951 2003-07-07 Andreas Nahr <[email protected]>
* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
	* Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes

svn path=/trunk/mcs/; revision=16008
2003-07-07 11:00:51 +00:00
Andreas N 57df1ed1ae 2003-07-07 Andreas Nahr <[email protected]>
* VBCodeProvider.cs: Removed unneccesary attributes according to corecompare

svn path=/trunk/mcs/; revision=16007
2003-07-07 10:59:55 +00:00
Martin Willemoes Hansen 2de75de438 Added: TODOAttribute to System.Windows.Forms.Design
svn path=/trunk/mcs/; revision=16006
2003-07-07 10:54:20 +00:00
Martin Willemoes Hansen 6ca096456f * System.Windows.Forms.Design/AnchorEditor.cs
System.Windows.Forms.Design/AxImporter.cs
          System.Windows.Forms.Design/ComponentDocumentDesigner.cs
          System.Windows.Forms.Design/ComponentTray.cs
          System.Windows.Forms.Design/ControlDesigner.cs
          System.Windows.Forms.Design/DocumentDesigner.cs
          System.Windows.Forms.Design/FileNameEditor.cs
          System.Windows.Forms.Design/IMenuEditorService.cs
          System.Windows.Forms.Design/MenusCommands.cs
          System.Windows.Forms.Design/ParentControlDesigner.cs
          System.Windows.Forms.Design/ScrollableControlDesigner.cs
          System.Windows.Forms.Design/SelectionRules.cs: Moved to System.Design assembly

svn path=/trunk/mcs/; revision=16005
2003-07-07 10:38:27 +00:00
Miguel de Icaza 0cea045f5e 2003-07-07 Miguel de Icaza <[email protected]>
* attribute.cs (Attribute.Resolve): Add call to CheckAccessLevel
	on the type we resolved.

svn path=/trunk/mcs/; revision=16002
2003-07-07 06:37:58 +00:00
Gonzalo Paniagua Javier 3022e4c638 2003-07-07 Gonzalo Paniagua Javier <[email protected]>
* corlib_linux_test.args:
	* corlib_test.args: added AppDomainSetupTest and fixed a couple of typos
	to make this compile.

	* System/AppDomainSetupTest.cs: new tests.

svn path=/trunk/mcs/; revision=16000
2003-07-07 00:49:20 +00:00
Gonzalo Paniagua Javier 78cc87b222 More on ApplicationBase
svn path=/trunk/mcs/; revision=15999
2003-07-07 00:42:25 +00:00
Gonzalo Paniagua Javier d50b5b539e added a couple of files
svn path=/trunk/mcs/; revision=15998
2003-07-07 00:40:43 +00:00
Andreas N 69ccfd5fab 2003-07-06 Andreas Nahr <[email protected]>
* CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler

svn path=/trunk/mcs/; revision=15997
2003-07-06 22:16:19 +00:00
Andreas N 8043208001 2003-07-06 Andreas Nahr <[email protected]>
* list.unix: Add VBCodeGenerator.cs, VBCodeProvider.cs

svn path=/trunk/mcs/; revision=15996
2003-07-06 22:15:18 +00:00
Andreas N 8ff319769c 2003-06-25 Andreas Nahr <[email protected]>
* VBCodeGenerator.cs: Added and nearly completely implemented
		(it compiles, but the functionallity is completely untested)
		(also without a working mbas the compilaton options will fail)
		(once all command line arguments for mbas are final and the warning output is final
		 change the apropriate code to generate these options)
	* VBCodeProvider.cs: Added and implemented

svn path=/trunk/mcs/; revision=15995
2003-07-06 22:11:57 +00:00
Andreas N a571f257df 2003-07-05 Andreas Nahr <[email protected]>
* list.unix: Add CodeParser.cs, Executor.cs, removed CompilerOptions.cs

svn path=/trunk/mcs/; revision=15994
2003-07-06 22:01:06 +00:00
Andreas N ac4949c4b8 2003-06-20 Andreas Nahr <[email protected]>
* CompilerOptions.cs: Deleted this file (such a class does not exist)

svn path=/trunk/mcs/; revision=15993
2003-07-06 21:57:42 +00:00
Andreas N 133bb5f987 2003-06-20 Andreas Nahr <[email protected]>
* CodeCompiler.cs: Nearly completely implemented
	* CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
	* CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
	* CodeParser.cs: Added and implemented (ok no real implementation needed ;)
	* CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
	* CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
	* CompilerResults.cs: Added Evidence property, added initial values
	* Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)

	* CompilerOptions.cs: Deleted this file (such a class does not exist)

svn path=/trunk/mcs/; revision=15992
2003-07-06 21:55:32 +00:00
Atsushi Eno 85cfc3ae62 2003-07-06 Atsushi Enomoto <[email protected]>
* System.XML_linux_test.args: added XmlValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=15990
2003-07-06 17:27:21 +00:00
Atsushi Eno b1d0e6a540 2003-07-06 Atsushi Enomoto <[email protected]>
* added XmlValidatingReaderTests.cs.

svn path=/trunk/mcs/; revision=15989
2003-07-06 17:25:42 +00:00
Miguel de Icaza 59b0454c99 Update with fresh ideas
svn path=/trunk/mcs/; revision=15988
2003-07-06 17:11:57 +00:00
Miguel de Icaza befcaf47cb Update with an idea
svn path=/trunk/mcs/; revision=15987
2003-07-06 17:08:31 +00:00
Atsushi Eno 4533c5e1ff 2003-07-06 Atsushi Enomoto <[email protected]>
* XmlElement.cs : IsEmpty has removed attributes since it incorrectly
	  used RemoveAll().

svn path=/trunk/mcs/; revision=15986
2003-07-06 16:54:25 +00:00
Atsushi Eno b43789b3b5 2003-07-06 Atsushi Enomoto <[email protected]>
* list.unix : added System.Xml.Schema/BuiltInDatatype.cs,
	  System.Xml/DTDAutomata.cs, System.Xml/DTDValidatingReader.cs

svn path=/trunk/mcs/; revision=15985
2003-07-06 16:20:02 +00:00
Atsushi Eno 8978fca00a 2003-07-06 Atsushi Enomoto <[email protected]>
* added BuiltInDatatype.cs.
	* XmlSchemaDatatype.cs : [GetType()] added support for some
	  built-in datatypes.

svn path=/trunk/mcs/; revision=15984
2003-07-06 16:18:27 +00:00
Atsushi Eno d6b7b632e3 2003-07-06 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : Load(string filename) should close its stream.
	  Small change for the latest DTDObjectModel change.
	* XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
	  changed methods are only related to DTD stuff).
	  Now uses XmlSchemaDatatype for attribute type definition.
	* XmlValidatingReader : initial (limited) support for DTD validation.
	  It can handle only XmlTextReader.
	* DTDObjectModel.cs : changed radically for initial validation support.
	* added DTDAutomata.cs and DTDValidatingReader.cs.

svn path=/trunk/mcs/; revision=15983
2003-07-06 16:17:31 +00:00
Atsushi Eno 3f7e68b275 2003-07-06 Atsushi Enomoto <[email protected]>
* XmlElement.cs : Removed extraneous xmlns output support (it should
	  be done by XmlTextWriter).
	* XmlNode.cs : InsertBefore() now checks validity of the newChild (and
	  most of the changes are in fact indentation changes).
	* XmlWriter.cs : WriteAttributes() now can write entity references.
	  WriteNode() now writes xmldecl attributes correctly.
	  Removed namespaceManager and xmlns check logic, since it should be
	  done by individual XmlTextWriter.
	* XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
	  written multiple xmlns declarations.
	  Moved namespaceManager from abstract XmlWriter.
	  Write{Start|End}Attribute() and WriteString() now checks xmlns
	  attribute value. (MS.NET holds value only with this write method).

svn path=/trunk/mcs/; revision=15982
2003-07-06 16:10:39 +00:00
Gonzalo Paniagua Javier 1a565a5e6e 2003-07-06 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
	if it's present.

svn path=/trunk/mcs/; revision=15980
2003-07-06 11:51:33 +00:00
Andreas N 034d6ff128 2003-07-06 Andreas Nahr <[email protected]>
* SymbolToken.cs: Implemented missing members, style changes

svn path=/trunk/mcs/; revision=15979
2003-07-06 08:27:00 +00:00
Andreas N 05e99db033 2003-07-03 Andreas Nahr <[email protected]>
* Cscompmgd.build: Removed unneeded unsafe compiler switch

svn path=/trunk/mcs/; revision=15978
2003-07-06 07:49:15 +00:00
Sebastien Pouliot 350e3b4574 2003-07-05 Sebastien Pouliot <[email protected]>
* DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
	and better test coverage (based on Zoltan's logs).
	* DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
	test coverage (import incomplete public keys).
	* RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
	and better test coverage (based on Zoltan's logs).
	* RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
	test coverage (import incomplete public keys).

svn path=/trunk/mcs/; revision=15974
2003-07-06 02:56:40 +00:00
Sebastien Pouliot d9ccb9a0cb 2003-07-05 Sebastien Pouliot <[email protected]>
* SecurityParser.cs: Added [CLSCompliant(false)] because MiniParser
	isn't CLS compliant.

svn path=/trunk/mcs/; revision=15973
2003-07-06 02:53:07 +00:00
Sebastien Pouliot f10e66c951 2003-07-05 Sebastien Pouliot <[email protected]>
* unix.args: Added SecurityParser.cs to Mono.Xml

svn path=/trunk/mcs/; revision=15972
2003-07-06 02:51:32 +00:00
Sebastien Pouliot 0add9abe32 2003-07-05 Sebastien Pouliot <[email protected]>
* AsymmetricAlgorithm.cs: Removed AsymmetricParameters (IReader) class.
	Now uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
	* CryptoConfig.cs: Removed CorlibHandler and CorlibReader classes. Now
	uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
	* DSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
	Mono.Xml.SecurityParser (xml -> SecurityElement)
	* DSACryptoServiceProvider.cs: Added ObjectDisposedException support
	and fixed bugs found in new unit tests.
	* RSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
	Mono.Xml.SecurityParser (xml -> SecurityElement)
	* RSACryptoServiceProvider.cs: Added ObjectDisposedException support
	and fixed bugs found in new unit tests.

svn path=/trunk/mcs/; revision=15971
2003-07-06 02:48:57 +00:00
Sebastien Pouliot d4824d8a05 2003-07-05 Sebastien Pouliot <[email protected]>
* DSAManaged.cs: Fixed bugs that appeared with the new unit tests.
	* RSAManaged.cs: Fixed bugs that appeared with the new unit tests.

svn path=/trunk/mcs/; revision=15970
2003-07-06 02:43:43 +00:00
Sebastien Pouliot 301ad69588 2003-07-05 Sebastien Pouliot <[email protected]>
* SecurityParser.cs: Parse an XML string and convert it to a
	SecurityElement object.

svn path=/trunk/mcs/; revision=15969
2003-07-06 01:46:48 +00:00
Andreas N e1a881b8f8 2003-07-05 Andreas Nahr <[email protected]>
* InstanceDataCollectionCollection.cs: Corrected wrong signature
	* EventLog.cs: Missing attributes added, redirected some class members
	* EventLogEntry.cs: Missing attributes added
	* EventLogInstaller.cs: Made internal

svn path=/trunk/mcs/; revision=15968
2003-07-05 23:16:07 +00:00
Martin Baulig 55dfaa78bb 2003-07-05 Martin Baulig <[email protected]>
* test-197.cs: New test for bug #42973.

svn path=/trunk/mcs/; revision=15964
2003-07-05 18:53:16 +00:00
Martin Baulig 15d40af260 2003-07-05 Martin Baulig <[email protected]>
* pending.cs (PendingImplementation.ParentImplements): Don't
	create the proxy if the parent is abstract.

	* class.cs (TypeContainer.DefineIndexers): Process explicit
	interface implementations first.  Fixes #37714.

svn path=/trunk/mcs/; revision=15963
2003-07-05 18:49:45 +00:00
Andreas N c8bf704eaf 2003-07-05 Andreas Nahr <[email protected]>
* list.unix: Add WebPermission.cs, WebPermissionAttribute.cs

svn path=/trunk/mcs/; revision=15962
2003-07-05 18:27:02 +00:00
Andreas N 69d8a6a3c7 2003-07-05 Andreas Nahr <[email protected]>
* DnsPermissionAttribute.cs:
	* SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute

svn path=/trunk/mcs/; revision=15961
2003-07-05 18:25:56 +00:00
Andreas N 28b5d814e2 2003-07-05 Andreas Nahr <[email protected]>
* WebPermission.cs: Added and partially implemented
	* WebPermissionAttribute.cs: Added and implemented

svn path=/trunk/mcs/; revision=15960
2003-07-05 18:21:26 +00:00
Atsushi Eno 7653f2e9c6 2003-07-05 Atsushi Enomoto <[email protected]>
* XslTransform.cs : fixed WriteTree() and WriteCurrentNode() to follow
	  the recent changes of XPathNavigator implementations.

svn path=/trunk/mcs/; revision=15959
2003-07-05 17:02:43 +00:00
Andreas N e5a860bb93 2003-07-02 Andreas Nahr <[email protected]>
* CounterCreationData.cs: Added missing attributes
	* CounterSample.cs: Implemented missing rest, fixed signature
	* CounterSampleCalculator.cs: Added private constructor, redirected function
	* Process.cs: Added attributes, added event mechanism
	* ProcessModule.cs: Added missing attributes
	* ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
	* ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
	* ProcessThread.cs: Added missing attributes, added pseudo constructor
	* ProcessThreadCollection.cs: Implemented
	* PerformanceCounterPermission.cs: Fixed typo in class name
	* PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member

svn path=/trunk/mcs/; revision=15958
2003-07-05 15:59:37 +00:00
Andreas N 05f220be4d 2003-06-30 Andreas Nahr <[email protected]>
* ToolboxItem.cs: Added serialization/deserialization support

svn path=/trunk/mcs/; revision=15957
2003-07-05 13:03:39 +00:00
Andreas N 152be6c2cc 2003-07-05 Andreas Nahr <[email protected]>
* EnumConverter.cs: Fixed signature
	* EventDescriptorCollection.cs: Fixed signature
	* InheritanceLevel.cs: Fixed enum values; little restyling
	* License.cs: Removed undefined member
	* LicenseManager.cs: Fixed signature, little implementation added
	* PropertyDescriptorCollection.cs: Removed unused field (fixes last remaining compiler warning in this namespace)
	* WarningException.cs: Removed wrong attribute
	* Win32Exception.cs: Added missing attribute

svn path=/trunk/mcs/; revision=15956
2003-07-05 12:57:44 +00:00
Andreas N 55e10104a6 2003-07-05 Andreas Nahr <[email protected]>
* CheckoutException.cs: Removed unneeded member
	* DesignerTransaction.cs: Added destruction code, corrected interface signature

svn path=/trunk/mcs/; revision=15955
2003-07-05 12:53:59 +00:00
Miguel de Icaza ea9351d96b 2003-07-04 Miguel de Icaza <[email protected]>
* expression.cs (MemberAccess.ResolveMemberAccess): Events are
	defined recursively;  but since we modify the input parameters
	(left is set to `this' temporarily), we reset this value if the
	left_is_explicit is false, which gives the original semantics to
	the code.

svn path=/trunk/mcs/; revision=15953
2003-07-04 23:48:20 +00:00
Miguel de Icaza f329ce0434 update
svn path=/trunk/mcs/; revision=15952
2003-07-04 23:45:40 +00:00
Miguel de Icaza de51b3307b 2003-07-04 Miguel de Icaza <[email protected]>
* literal.cs (NullPointer): new class used to represent a null
	literal in a pointer context.

	* convert.cs (Convert.ImplicitReferenceConversion): Is the target
	type is a pointer, use a NullPointer object instead of a
	NullLiteral.   Closes 43687

svn path=/trunk/mcs/; revision=15951
2003-07-04 23:03:14 +00:00
Miguel de Icaza 4d8c62051c 2003-07-04 Miguel de Icaza <[email protected]>
* convert.cs (ExplicitConversion): Convert pointer values using
	the conv opcode to the proper type.

	* ecore.cs (New): change ValueTypeVariable property into a method,
	that returns whether the valuetype is suitable for being used.

	* expression.cs (Binary.DoNumericPromotions): Only return if we
	the int constant was a valid uint, and we can return both left and
	right as uints.  If not, we continue processing, to trigger the
	type conversion.  This fixes 39018.

svn path=/trunk/mcs/; revision=15950
2003-07-04 22:20:49 +00:00
Miguel de Icaza 70e55c5a52 2003-07-04 Miguel de Icaza <[email protected]>
* SqlDataReader.cs: Added extra information to the exceptions
	thrown by all the GetXXXX methods.

svn path=/trunk/mcs/; revision=15949
2003-07-04 22:16:31 +00:00
Philip Van Hoof 95714db8c3 Finished stuff of the Form mapping
svn path=/trunk/mcs/; revision=15946
2003-07-04 20:59:13 +00:00
Miguel de Icaza 5dd24715bb Add new test
svn path=/trunk/mcs/; revision=15945
2003-07-04 20:52:17 +00:00
Philip Van Hoof 8f0643d9da OnLoad of Form
svn path=/trunk/mcs/; revision=15942
2003-07-04 20:31:10 +00:00
Miguel de Icaza 60ec4dfdc7 2003-07-04 Miguel de Icaza <[email protected]>
* statement.cs (Block.EmitMeta): During constant resolution, set
	the CurrentBlock property on the emitcontext, so that we resolve
	constants propertly.

svn path=/trunk/mcs/; revision=15941
2003-07-04 20:07:20 +00:00
Joel Basson cab2ac9ef5 Jul 04 20:30:10 GMT 2003 Joel Basson <[email protected]>
* Started the List Control

svn path=/trunk/mcs/; revision=15940
2003-07-04 19:50:32 +00:00
Gonzalo Paniagua Javier d67b30c033 somehow, this does not compile with csc
svn path=/trunk/mcs/; revision=15934
2003-07-04 19:35:24 +00:00
Miguel de Icaza 76291da038 update
svn path=/trunk/mono/; revision=15933
2003-07-04 19:24:55 +00:00
Miguel de Icaza e515782145 Revert until we track down the RH9 bug
svn path=/trunk/mono/; revision=15930
2003-07-04 18:45:33 +00:00
Atsushi Eno c40204aea4 2003-07-04 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).

svn path=/trunk/mcs/; revision=15929
2003-07-04 18:11:50 +00:00
Miguel de Icaza d3090ee9f8 use webformat
svn path=/trunk/mono/; revision=15928
2003-07-04 18:10:48 +00:00
Dietmar Maurer d0de991465 2003-07-04 Dietmar Maurer <[email protected]>
* marshal.c (mono_marshal_get_native_wrapper): fixes for [out] attributes

svn path=/trunk/mono/; revision=15920
2003-07-04 09:59:52 +00:00
César Natarén e62ee3395c Reflect the changes on the grammar
svn path=/trunk/mcs/; revision=15919
2003-07-04 08:07:28 +00:00
César Natarén fdcb62e7f1 New ChangeLog entries from the last patch
svn path=/trunk/mcs/; revision=15918
2003-07-04 08:00:02 +00:00
César Natarén ccea525982 *** empty log message ***
svn path=/trunk/mcs/; revision=15917
2003-07-04 07:52:50 +00:00
Sebastien Pouliot ba80723712 2003-07-03 Sebastien Pouliot <[email protected]>
* corlib_test.args: Added ZoneTest.cs in System.Security.Policy
	* corlib_test.args: Same.

svn path=/trunk/mcs/; revision=15913
2003-07-04 02:31:01 +00:00
Sebastien Pouliot e81cf59856 2003-07-03 Sebastien Pouliot <[email protected]>
* ZoneTest.cs: New. Test everything except the unimplemented static
	CreateFromUrl method.

svn path=/trunk/mcs/; revision=15912
2003-07-04 02:26:50 +00:00
Lluis Sanchez 508e76fc6c * list: added System.Web.Services.Protocols.HttpSoapWebServiceHandler.cs and
System.Web.Services.Protocols.WebServiceHelper.cs.

svn path=/trunk/mcs/; revision=15910
2003-07-04 01:31:54 +00:00
Lluis Sanchez 311407acb2 * LogicalMethodInfo.cs: Fixed Invoke method. If return type is void,
then the result object array only contain output parameters.

	* Methods.cs: In class MethodStubInfo, added support from some server properties
	  taken from WebMethodAttribute. Now MethodStubInfo can be created without SoapDocument*
	  or SoapRpc* attributes, in which case takes default values from TypeStubInfo.
	  Added method for getting header info.
	  In class Fault: added constructor for creating a fault from a SoapException.
	  In class TypeStubInfo: new way to manage serializers for headers. Now it is possible to
	  get a header using a name and namespace (used when deserializing).

	* SoapHttpClientProtocol.cs: moved WriteSoapEnvelope method to WebServiceHelper (so it can be shared).
	  Also moved other serialization stuff to WebServiceHelper.

	* SoapMessage.cs: Added some convenient constructors and internal properties.
	  Implemented GetOutParameterValue and GetReturnValue.

	* SoapServerMessage.cs: Implemented.

	* WebServiceHandler.cs: Implemented method Invoke.

	* WebServiceHandlerFactory.cs: Basic implementation.

	* WebServiceHelper.cs: Added. Has some methods shared between client and server classes.

	* HttpSoapWebServiceHandler.cs: Added. IHttpHandler implementation for HttpSoap requests.

svn path=/trunk/mcs/; revision=15909
2003-07-04 01:30:56 +00:00
Gonzalo Paniagua Javier 58730d5c6e 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
* AspParser.cs: more useful error information,

	* BaseCompiler.cs:
	* CachingCompiler.cs: honor the debug="true" option.

	* TemplateControlCompiler.cs: small fixes for templates.

svn path=/trunk/mcs/; revision=15907
2003-07-04 00:43:07 +00:00
Gonzalo Paniagua Javier 809083ddcc 2003-07-04 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: ignore debug statistics in mcs output when
	debug is turned on.

svn path=/trunk/mcs/; revision=15899
2003-07-03 23:59:04 +00:00
Gonzalo Paniagua Javier edd7dfb4bb changed version to 0.25.99
svn path=/trunk/mcs/; revision=15898
2003-07-03 23:31:14 +00:00
Gonzalo Paniagua Javier e7c1132581 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: fixed Headers property. It was getting known headers
	values instead of known headers names.

svn path=/trunk/mcs/; revision=15897
2003-07-03 22:00:13 +00:00
Gonzalo Paniagua Javier cfc20db5e1 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* WebServicesConfigurationSectionHandler.cs: support remove/clear for
	<protocols>. Fixed IsSupported.

svn path=/trunk/mcs/; revision=15895
2003-07-03 18:31:55 +00:00
Gonzalo Paniagua Javier ea1dc4d84e fixed typo
svn path=/trunk/mcs/; revision=15894
2003-07-03 18:12:44 +00:00
Gonzalo Paniagua Javier 143b86255d 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* SimpleWebHandlerParser.cs: implemented GetTypeFromBin.

svn path=/trunk/mcs/; revision=15893
2003-07-03 18:04:16 +00:00
Gonzalo Paniagua Javier 9faf111c11 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: made Compiler property
	virtual.

	* System.Web.Compilation/CachingCompiler.cs: added support for compiling
	web services.

	* System.Web.Compilation/WebServiceCompiler.cs: implemented.

	* System.Web.UI/SimpleWebHandlerParser.cs: updated to new compilation
	interface.

	* System.Web.UI/TemplateParser.cs: use the new parameter when compiling.

svn path=/trunk/mcs/; revision=15892
2003-07-03 17:50:51 +00:00
Paolo Molaro 947327a5d6 Thu Jul 3 17:22:20 CEST 2003 Paolo Molaro <[email protected]>
* object.c, file-io.c, metadata.c, mono-endian.h, reflection.c,
	rawbuffer.c: more 64 bit and picky (or old) compiler fixes from
	Bernie Solomon <[email protected]>.

svn path=/trunk/mono/; revision=15891
2003-07-03 15:33:59 +00:00
Paolo Molaro 2ee7f2b893 Thu Jul 3 17:17:39 CEST 2003 Paolo Molaro <[email protected]>
* object.c, object.h: provide mono_object_new_fast() for faster
	allocation in some special cases.

svn path=/trunk/mono/; revision=15890
2003-07-03 15:27:23 +00:00
Zoltan Varga e1560f081a 2003-07-02 Zoltan Varga <[email protected]>
* PKCS1.cs DSAManaged.cs: Changed strange characters in comments to
	human-readable ones, since they break XML export in monocov.

svn path=/trunk/mcs/; revision=15888
2003-07-03 12:29:46 +00:00
Gonzalo Paniagua Javier 723f9b0ec7 aaaaargh
svn path=/trunk/mcs/; revision=15887
2003-07-03 11:52:13 +00:00
Gonzalo Paniagua Javier 81f6e15911 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* MailAddress.cs: return null instead of exception when the address is
	empty.

	* MailAddressCollection.cs: ignore null addresses.
	* SmtpMail.cs: add the exception we get as inner exception so we know
	where the error is.

	Fixes bug #45746.

svn path=/trunk/mcs/; revision=15886
2003-07-03 11:16:03 +00:00
Gonzalo Paniagua Javier 55905b737a 2003-07-03 Gonzalo Paniagua Javier <[email protected]>
* WebServicesConfigurationSectionHandler.cs: singleton.

svn path=/trunk/mcs/; revision=15885
2003-07-03 02:25:31 +00:00
Philip Van Hoof 6898bc9107 *** empty log message ***
svn path=/trunk/mcs/; revision=15882
2003-07-02 22:44:15 +00:00
Rafael Teixeira 13180a9f2b bits
svn path=/trunk/mcs/; revision=15881
2003-07-02 22:41:48 +00:00
Martin Willemoes Hansen 705d046f4c XmlTextWriterTests.cs: Fixed tests where not run when an expected exception had been thrown
svn path=/trunk/mcs/; revision=15880
2003-07-02 22:40:35 +00:00
Andreas N 4014760d0b 2003-07-02 Andreas Nahr <[email protected]>
* BitVector32.cs: Implemented missing method
	* NameValueCollection.cs: Fixed public signature, Styleguidelined header
	* StringDictionary.cs: Added missing attribute, fixed visibilities

svn path=/trunk/mcs/; revision=15879
2003-07-02 22:06:24 +00:00
Lluis Sanchez 1eb8b08a0e * XmlSerializationReaderInterpreter.cs: Use the parameter type when getting the Add method
for adding elements to a list.

svn path=/trunk/mcs/; revision=15878
2003-07-02 20:49:21 +00:00
Martin Baulig b328fb7ecd 2003-07-02 Martin Baulig <[email protected]>
* codegen.cs (EmitContext.NeedExplicitReturn): New public variable.
	(EmitContext.EmitTopBlock): Emit an explicit return if it's set.

	* statement.cs (Try.Resolve): Set ec.NeedExplicitReturn rather
	than emitting it here.

	* statement.cs: Fixed some more flow analysis bugs.

svn path=/trunk/mcs/; revision=15877
2003-07-02 18:57:01 +00:00
Martin Baulig 5b4b6830ab 2003-07-02 Martin Baulig <[email protected]>
* class.cs (MethodData.Define): When implementing interface
	methods, set Final unless we're Virtual.

	* decl.cs (MemberCore.CheckMethodAgainstBase): Make the CS0506
	check work for interface methods.

svn path=/trunk/mcs/; revision=15876
2003-07-02 18:30:39 +00:00
Andreas N 94ef21574a 2003-07-02 Andreas Nahr <[email protected]>
* AttributeCollection.cs: Fixed public members
	* BaseNumberConverter.cs: Changed InnerType to internal to match public assembly signature
	* BrowsableAttribute.cs: Removed wrong constructor, Restyle according to guidelines
	* CategoryAttribute.cs: Changed public fields to properties
	* EnumConverter.cs: Added and implemented missing properties, improved implementation
	* EventDescriptorCollection.cs: Fixed wrong signatures, added implementation, fixed potential bug
	* PropertyDescriptorCollection.cs: Fixed public members
	* ReferenceConverter.cs: Implementation added
	* SyntaxCheck.cs: Improved string checks, added MonoTODO descriptions
	* TypeDescriptor.cs: Implementations added

svn path=/trunk/mcs/; revision=15875
2003-07-02 18:26:12 +00:00
Martin Baulig 08dbd6dc1c 2003-07-01 Martin Baulig <[email protected]>
* ecore.cs (EmitContext.This): Replaced this property with a
	GetThis() method which takes a Location argument.  This ensures
	that we get the correct error location for a CS0188.

svn path=/trunk/mcs/; revision=15874
2003-07-02 18:23:51 +00:00
Lluis Sanchez 12a7fdfab6 * DateTime.cs: Fixed formatting of fractions of second.
svn path=/trunk/mcs/; revision=15872
2003-07-02 16:50:42 +00:00
Gonzalo Paniagua Javier 62038234f1 added WebServicesConfigurationSectionHandler.cs
svn path=/trunk/mcs/; revision=15871
2003-07-02 16:28:09 +00:00
Gonzalo Paniagua Javier 494f8638a8 Added system.web/webService section
svn path=/trunk/mono/; revision=15870
2003-07-02 16:26:07 +00:00
Gonzalo Paniagua Javier 62e4ecda36 added System.DirectoryServices
svn path=/trunk/mcs/; revision=15869
2003-07-02 16:11:12 +00:00
Andreas N b409050833 2003-06-12 Andreas Nahr <[email protected]>
* ActiveDesignerEventArgs.cs: Fixed property access

	* CheckoutException.cs
	* CommandID.cs
	* ComponentChangedEventArgs.cs
	* ComponentChangingEventArgs.cs
	* ComponentEventArgs.cs
	* ComponentRenameEventArgs.cs
	* DesignerEventArgs.cs: Implemented

	* StandardCommands.cs
	* StandardToolWindows.cs: Implemented and removed unneeded MonoTODOs

	* DesignerCollection.cs
	* DesignerVerbCollection.cs: Collections implemented

	* DesignerTransaction.cs
	* DesignerVerb.cs: Implemented

	* MenuCommand.cs: Most members implemented

	* IDesignerHost.cs: Completed interface

	* IInheritanceService.cs: Hopefully fixed interface

	* ITypeResolutionService.cs: Completed interface

	* ISelectionService.cs: Completed interface

	* DesigntimeLicenseContext.cs: Added member, implemented

	* DesigntimeLicenseContextSerializer.cs: Added private constructor, removed unneeded members

	* SelectionTypes.cs
	* HelpContextType.cs
	* HelpKeywordType.cs: Hopefully fixed enums

	* ServiceContainer.cs: implementation added

svn path=/trunk/mcs/; revision=15867
2003-07-02 14:56:55 +00:00
Andreas N 52f9ed8dc0 2003-06-28 Andreas Nahr <[email protected]>
* ContextStack.cs: Redone based on a stack and completely implemented
	* DesignerLoader.cs: Removed unneeded members
	* DesignerSerializerAttribute.cs: Implemented, fixed AttributeUsage
	* ResolveNameEventArgs.cs: Visibility bug fixed
	* RootDesignerSerializerAttribute.cs: Fixed and implemented, fixed AttributeUsage
	* InstanceDescriptor.cs: Completely Implemented

svn path=/trunk/mcs/; revision=15866
2003-07-02 14:54:42 +00:00
Andreas N 93fa12d0d5 2003-07-02 Andreas Nahr <[email protected]>
* ISite.cs: Fixed attributes, fixed header
	* ITypeDescriptorContext.cs: Fixed attributes, formatting corrections
	* WarningException.cs: Fixed attributes, formatting corrections
	* AttributeCollection.cs: Fixed attributes
	* DesignerSerializationVisibility.cs: Fixed attributes
	* TypeConverter.cs: Fixed attributes

	* MarshalByValueComponent.cs:
	* IComponent.cs: Fixed attributes, supports .Net 1.0 and 1.1

	* DescriptionAttribute.cs:
	* DesignerCategoryAttribute.cs:
	* DoubleConverter.cs:
	* EditorBrowsableAttribute.cs:
	* EventDescriptorCollection.cs:
	* PropertyChangedEventHandler.cs:
	* RefreshEventArgs.cs:
	* StringConverter.cs:
	* DefaultValueAttribute.cs: Reformatted following style guidelines

	* License.cs: Removed unused MonoTODOs
	* LicenseContext.cs: Implemented
	* LicenseException.cs: Implemented
	* LicenseProvider.cs: Removed unused MonoTODOs and unneccesary Finalizer
	* LicenseUsageMode.cs: Fixed enum
	* RefreshProperties.cs: Fixed enum
	* LicFileLicenseProvider.cs: Implementation added
	* ExtenderProvidedPropertyAttribute.cs: Implementation added, formatting corrections
	* ExpandableObjectConverter.cs: Implemented
	* ComponentConverter.cs: Implemented

svn path=/trunk/mcs/; revision=15865
2003-07-02 14:51:39 +00:00
Dietmar Maurer 34f35da245 another microbench
svn path=/trunk/mono/; revision=15864
2003-07-02 14:28:21 +00:00
Martin Willemoes Hansen 88fa0c1e04 *** empty log message ***
svn path=/trunk/mcs/; revision=15863
2003-07-02 14:28:07 +00:00
Dick Porter 771fb92f96 2003-07-02 Dick Porter <[email protected]>
* timed-thread.c (_wapi_timed_thread_exit):
	* threads.c: Let the timed thread code deal with deleting the
	thread info struct.  (Valgrind noticed that the join_mutex could
	be locked when it was being deleted.)

svn path=/trunk/mono/; revision=15862
2003-07-02 13:48:26 +00:00
Zoltan Varga 403b2501f8 2003-07-02 Zoltan Varga <[email protected]>
* XslTransform.cs (Transform): Call xsltSaveResultToFilename instead
	of first reading the result into a string to conserve memory.

svn path=/trunk/mcs/; revision=15857
2003-07-02 12:23:04 +00:00
Paolo Molaro a6549a3fba Wed Jul 2 13:21:26 CEST 2003 Paolo Molaro <[email protected]>
* object.h, reflection.h, verify.c: fixes for some 64bit issues,
	mostly from a patch by Laramie Leavitt <[email protected]>.

svn path=/trunk/mono/; revision=15852
2003-07-02 11:31:24 +00:00
Dietmar Maurer 8c6b5a32e8 added some tests for threadpool
svn path=/trunk/mono/; revision=15849
2003-07-02 10:20:19 +00:00
Paolo Molaro 2715b47545 Wed Jul 2 11:08:10 CEST 2003 Paolo Molaro <[email protected]>
* mini.c: use faster allocation for CEE_BOX if possible.

svn path=/trunk/mono/; revision=15848
2003-07-02 09:17:11 +00:00
Paolo Molaro 7b6a445f1a Support new automake versions.
svn path=/trunk/mono/; revision=15847
2003-07-02 08:37:29 +00:00
Nick Drochak 46521dd6be 2003-07-02 Nick Drochak <[email protected]>
* X509CertificateTest.cs: Ok, must be a bug in our impl of X509Cert.
	Putting it back the way it was.

svn path=/trunk/mcs/; revision=15846
2003-07-02 07:48:51 +00:00
Miguel de Icaza 64c970c526 2003-07-01 Miguel de Icaza <[email protected]>
* ecore.cs: (Convert.ConvertIntLiteral): Add test for
	ImplicitStandardConversion.

svn path=/trunk/mcs/; revision=15844
2003-07-02 03:06:11 +00:00
Miguel de Icaza bf650302dd Add new test
svn path=/trunk/mcs/; revision=15843
2003-07-02 03:02:49 +00:00
Miguel de Icaza 6e5172015a 2003-07-01 Miguel de Icaza <[email protected]>
* class.cs (TypeContainer.GetClassBases): Small bug fix for 45649.

svn path=/trunk/mcs/; revision=15842
2003-07-02 02:30:20 +00:00
Gonzalo Paniagua Javier ce214f2716 2003-07-02 Gonzalo Paniagua Javier <[email protected]>
* CSharpCodeCompiler.cs: patch from [email protected]
	(Pelle Johnsen) that fixes bug #45708.

svn path=/trunk/mcs/; revision=15840
2003-07-02 01:03:11 +00:00
Sebastien Pouliot 13638c40df 2003-07-01 Sebastien Pouliot <[email protected]>
* corlib_test.args: Added GenetricIdentityTest.cs and
	GenetricPrincipalTest.cs in System.Security.Principal
	* corlib_test.args: Same.

svn path=/trunk/mcs/; revision=15838
2003-07-01 23:09:36 +00:00
Sebastien Pouliot a7fd2bc8bc 2003-07-01 Sebastien Pouliot <[email protected]>
* GenericIdentityTest.cs: New. Complete unit test.
	* GenericPrincipalTest.cs: New. Complete unit test.
	* ChangeLog: New.

svn path=/trunk/mcs/; revision=15837
2003-07-01 23:04:38 +00:00
Sebastien Pouliot bd24cb9b9a 2003-07-01 Sebastien Pouliot <[email protected]>
* ChangeLog: Sorry it seems that I couldn't find the right combinaison
	just to commit the change to changelog (probably due to convertion to
	windows).
	* GenericPrincipal.cs: Fixed issues found during unit testing.

svn path=/trunk/mcs/; revision=15836
2003-07-01 23:01:50 +00:00
Philip Van Hoof 78c4a405a7 Added a ChangeLog for this directory
svn path=/trunk/mcs/; revision=15835
2003-07-01 22:51:45 +00:00
Philip Van Hoof 1ea8709e2f *** empty log message ***
svn path=/trunk/mcs/; revision=15834
2003-07-01 22:35:03 +00:00
Philip Van Hoof 111a29a326 *** empty log message ***
svn path=/trunk/mcs/; revision=15833
2003-07-01 22:32:08 +00:00
Philip Van Hoof 2ada92f132 *** empty log message ***
svn path=/trunk/mcs/; revision=15832
2003-07-01 22:30:25 +00:00
Philip Van Hoof 52285354e2 *** empty log message ***
svn path=/trunk/mcs/; revision=15831
2003-07-01 22:11:48 +00:00
Philip Van Hoof 1ccb504309 postion Fixes for Menus ToolBars and Statusbars
svn path=/trunk/mcs/; revision=15830
2003-07-01 22:06:19 +00:00
Philip Van Hoof a8588d23e3 Added a statusbar demo
svn path=/trunk/mcs/; revision=15829
2003-07-01 21:49:49 +00:00
Philip Van Hoof 8a1df3bec7 Added statusbar support and fixed the vbox used for packing the menu and other special Controls
svn path=/trunk/mcs/; revision=15828
2003-07-01 21:49:21 +00:00
Philip Van Hoof bffeec2aec Pending commit on my hd
svn path=/trunk/mcs/; revision=15827
2003-07-01 20:22:58 +00:00
Paolo Molaro 1f1ff78024 Tue Jul 1 21:24:14 CEST 2003 Paolo Molaro <[email protected]>
* threadpool.c: fix leaks.

svn path=/trunk/mono/; revision=15826
2003-07-01 19:33:34 +00:00
Alexandre Pigolkine e287916459 code generation program modified
svn path=/trunk/mcs/; revision=15825
2003-07-01 19:24:29 +00:00
Sebastien Pouliot 51b6e64113 2003-07-01 Sebastien Pouliot <[email protected]>
* corlib_test.args: Added PrincipalPermissionAttributeTest.cs and
	PrincipalPermissionTest.cs in System.Security.Permissions.
	* corlib_test.args: Same.

svn path=/trunk/mcs/; revision=15824
2003-07-01 19:19:05 +00:00
Dick Porter b52160b820 2003-07-01 Dick Porter <[email protected]>
* Thread.cs: Throw an exception if thread creation failed.
	(Better than just blowing up later.)

svn path=/trunk/mcs/; revision=15823
2003-07-01 19:17:24 +00:00
Sebastien Pouliot 8a8903da3e 2003-07-01 Sebastien Pouliot <[email protected]>
* PrincipalPermissionAttributeTest.cs: New.
	* PrincipalPermissionTest.cs: New.

svn path=/trunk/mcs/; revision=15822
2003-07-01 19:16:54 +00:00
Sebastien Pouliot 6b74fcb4e3 2003-07-01 Sebastien Pouliot <[email protected]>
* ReflectionPermission.cs: Fixed compilation warning.
	* PrincipalPermission.cs: Completed class implementation.
	* PrincipalPermissionAttribute.cs: Completed class implementation.

svn path=/trunk/mcs/; revision=15821
2003-07-01 19:16:10 +00:00
Dick Porter 83c486c005 2003-07-01 Dick Porter <[email protected]>
* threadpool.c (mono_async_invoke): Use mono_g_hash_table_remove when
	using MonoGHashTables.  Fixes threadpool bug posted to list.

svn path=/trunk/mono/; revision=15820
2003-07-01 18:36:48 +00:00
Alexandre Pigolkine 208fa36a6c OFNOTIFY structure simplified, wine_get_unix_filename, CLIENTCREATESTRUCT parameter for MDI
svn path=/trunk/mcs/; revision=15819
2003-07-01 18:22:01 +00:00
Lluis Sanchez 9eb757b7a7 * SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed so XmlIncludeAttribute and
SoapIncludeAttribute are now transitive (if class A includes class B, and B includes C, then
	  A includes C).

svn path=/trunk/mcs/; revision=15818
2003-07-01 15:53:02 +00:00
Gonzalo Paniagua Javier 3356c044ce 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* Page.cs: also keep the value for the second try on handling postback
	events.

svn path=/trunk/mcs/; revision=15817
2003-07-01 15:30:07 +00:00
Martin Willemoes Hansen ddeb5b3ed6 * Made tests which expect an exception use the
ExpectedException Attribute.

svn path=/trunk/mcs/; revision=15816
2003-07-01 15:26:28 +00:00
Zoltan Varga f89e27221f 2003-07-01 Zoltan Varga <[email protected]>
* expression.cs (ResolveOperator): Fix Concat (string, string, string)
	optimization.

svn path=/trunk/mcs/; revision=15814
2003-07-01 14:30:38 +00:00
Paolo Molaro 0477601634 This should fix the build on platforms without JIT.
svn path=/trunk/mono/; revision=15813
2003-07-01 14:06:03 +00:00
Gonzalo Paniagua Javier f5b3aab281 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* ISessionHandler.cs:
	* SessionInProcHandler.cs:
	* SessionStateModule.cs: UpdateContext returns a bool indicating if we
	started a new session. Only call session start event if that is true.

svn path=/trunk/mcs/; revision=15812
2003-07-01 13:43:37 +00:00
Gonzalo Paniagua Javier 028500b830 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* HttpApplication.cs: prevent nullref if an error happens before context
	is set.
	* HttpException.cs: small fix in the stack trace sent.
	* HttpUtility.cs: the lock is not needed.

svn path=/trunk/mcs/; revision=15811
2003-07-01 13:41:19 +00:00
Paolo Molaro 7476991c07 Tue Jul 1 13:03:43 CEST 2003 Paolo Molaro <[email protected]>
* alpha/tramp.c: update from Laramie Leavitt ([email protected]).

svn path=/trunk/mono/; revision=15809
2003-07-01 11:12:47 +00:00
Paolo Molaro f1ae21d583 Small doc on assembly bundles.
svn path=/trunk/mono/; revision=15808
2003-07-01 10:51:33 +00:00
Zoltan Varga 9a8ef6fa51 2003-07-01 Zoltan Varga <[email protected]>
* StackFrameTest.cs (TestGetMethod): Remove test for method name, since
	it is not guaranteed to be 'InternalInvoke'.

svn path=/trunk/mcs/; revision=15807
2003-07-01 10:50:17 +00:00
Zoltan Varga 7f5172b415 2003-07-01 Zoltan Varga <[email protected]>
* StackFrame.cs: Obtain frame info for 'fake' frames too, since this is
	what MS does.

svn path=/trunk/mcs/; revision=15806
2003-07-01 10:46:16 +00:00
Paolo Molaro a86efec34a Tue Jul 1 11:45:40 CEST 2003 Paolo Molaro <[email protected]>
* image.h, image.c: added support to load an assembly from a byte array.
	* Makefile.am, assembly.c, make-bundle.pl, sample-bundle: added
	assembly bundle support.

svn path=/trunk/mono/; revision=15804
2003-07-01 09:57:58 +00:00
Paolo Molaro 4bb7c8420e Tue Jul 1 11:27:53 CEST 2003 Paolo Molaro <[email protected]>
* acconfig.h, configure.in: added bundle support.

svn path=/trunk/mono/; revision=15803
2003-07-01 09:37:16 +00:00
Paolo Molaro 2cdac3ab0d Tue Jul 1 11:26:10 CEST 2003 Paolo Molaro <[email protected]>
* Makefile.am: added.

svn path=/trunk/mono/; revision=15802
2003-07-01 09:35:48 +00:00
Gonzalo Paniagua Javier 8823e1fd4e 2003-07-01 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: fixed bug #45651.

svn path=/trunk/mcs/; revision=15800
2003-07-01 00:16:05 +00:00
Lluis Sanchez 4b225bafc3 * SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlTypeMapping.cs:
Added support for serialization of enums with the Flags attribute.

svn path=/trunk/mcs/; revision=15798
2003-06-30 23:17:57 +00:00
Philip Van Hoof cd49abb6d7 Added a clean-target in the makefile and another test application
svn path=/trunk/mcs/; revision=15797
2003-06-30 23:14:32 +00:00
Philip Van Hoof 1fb31dc3aa Modified Form.cs so that the very standard Form1.cs which VS.NET generates compiles
svn path=/trunk/mcs/; revision=15796
2003-06-30 23:10:50 +00:00
Philip Van Hoof 2d61ff7be0 Got rid of some gtk+-warnings about str being NULL
svn path=/trunk/mcs/; revision=15795
2003-06-30 23:07:00 +00:00
Philip Van Hoof cdcd538a68 Removed debugtests
svn path=/trunk/mcs/; revision=15794
2003-06-30 23:01:12 +00:00
Philip Van Hoof a114c03d36 Fixed the crashing
svn path=/trunk/mcs/; revision=15793
2003-06-30 22:59:56 +00:00
Miguel de Icaza 236632a7e2 Test list
svn path=/trunk/mono/; revision=15792
2003-06-30 21:47:50 +00:00
Lluis Sanchez 0fb5c9e6e7 * SoapReflectionImporter.cs: Fix support for DataType in class members.
* TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
	  can have other names.
	* TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
	* XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
	  XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
	  Fix support for DataType in class members.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
	  Added support for array of primitive types in attributes.

svn path=/trunk/mcs/; revision=15791
2003-06-30 21:13:56 +00:00
Jean-Marc Andre 1407619e9f 2003-06-30: Jean-Marc Andre <[email protected]>
SoapServices.cs:
		removed because it is build in corlib.dll now

svn path=/trunk/mcs/; revision=15790
2003-06-30 20:36:15 +00:00
Jean-Marc Andre 53802ff088 2003-06-30 Jean-Marc Andr�� <[email protected]>
ObjectWriter, SoapFormatter, SoapWriter:
		cleaned the code

svn path=/trunk/mcs/; revision=15789
2003-06-30 20:34:02 +00:00
Atsushi Eno 494270e94b 2003-06-30 Atsushi Enomoto <[email protected]>
* System.XML_linux_test.args: added XPathNavigatorCommonTests.cs.

svn path=/trunk/mcs/; revision=15788
2003-06-30 19:51:42 +00:00
Atsushi Eno 510d67aca1 2003-06-30 Atsushi Enomoto <[email protected]>
* Added XPathNavigatorCommonTests.cs.

svn path=/trunk/mcs/; revision=15787
2003-06-30 19:51:09 +00:00
Atsushi Eno fd3fafaa10 2003-06-30 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : removed Driver class and restored authors' name
	  (though it is completely rewrote).

svn path=/trunk/mcs/; revision=15786
2003-06-30 19:46:48 +00:00
Miguel de Icaza b728fde401 2003-06-30 Miguel de Icaza <[email protected]>
* class.cs (Constructor.Define): Turn off initlocals for unsafe
	constructors.

	(MethodData.Define): Turn off initlocals for unsafe methods.

svn path=/trunk/mcs/; revision=15784
2003-06-30 18:29:27 +00:00
Paolo Molaro ced6bbeeaf Mon Jun 30 19:16:33 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini-ops.h, inssel.brg, mini-x86.c: optimized access to fields.
	Moved inlined mempcy code to its own function so that is can be
	reused. Added an inline memset function as well (optimized initobj).
	* cpu-pentium.md, inssel-x86.brg: add and use lea_membase.

svn path=/trunk/mono/; revision=15780
2003-06-30 17:30:18 +00:00
Paolo Molaro 54fa4e6c88 Mon Jun 30 19:12:08 CEST 2003 Paolo Molaro <[email protected]>
* Pointer.cs: implemented.

svn path=/trunk/mcs/; revision=15775
2003-06-30 17:21:47 +00:00
Atsushi Eno f72c4c7504 2003-06-30 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : Replaced existing stub class with real
	  XPathDocument implementation.

svn path=/trunk/mcs/; revision=15774
2003-06-30 17:19:57 +00:00
Atsushi Eno 60ce78b476 2003-06-30 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
	  essentially changed most of the property handling (e.g. removed attribute
	  enumerator and it now became really cloneable).
	* XmlNodeReader.cs : ReadInnerXml() changes its state as error
	  when the method is called at Initial state.

svn path=/trunk/mcs/; revision=15773
2003-06-30 17:17:29 +00:00
Atsushi Eno 88474a9139 2003-06-30 Atsushi Enomoto <[email protected]>
* added Mono.Xml.XPath directory.
	* list.unix : added Mono.Xml.XPath's DTMXPathDocument.cs,
		DTMXPathDocumentBuilder.cs, DTMXPathNavigator.cs

svn path=/trunk/mcs/; revision=15772
2003-06-30 17:12:53 +00:00
Atsushi Eno b4807f3c62 2003-06-30 Atsushi Enomoto <[email protected]>
* Initial checkin.
	* Added ChangeLog, DTMXPathDocument.cs, DTMXPathDocumentBuilder.cs
	  and DTMXPathNavigator.cs.

svn path=/trunk/mcs/; revision=15771
2003-06-30 17:11:55 +00:00
Zoltan Varga e63468296f 2003-06-30 Zoltan Varga <[email protected]>
* XslTransform.cs (GetStringFromDocument): Read the result using
	xsltSaveResultToString, since the XML document returned by
	applyStylesheet is missing the output processing done due to the
	usage of the xsl:output directive.

svn path=/trunk/mcs/; revision=15770
2003-06-30 17:01:25 +00:00
Zoltan Varga adbaa120b5 2003-06-30 Zoltan Varga <[email protected]>
* System.XML_linux_test.args: Get rid of CRLFs which break the
	linux build.

svn path=/trunk/mcs/; revision=15769
2003-06-30 16:52:52 +00:00
Aleksey Ryabchuk 1a0e4d4651 * Form.cs : TopLevel, AcceptButton, CancelButton
* Application.cs : allow keyboard messages in modal forms
	* Control.cs : basic impl. of GetTopLevel, SetTopLevel

svn path=/trunk/mcs/; revision=15768
2003-06-30 16:41:02 +00:00
Paolo Molaro 5611f72fcb Added hackers TODO list.
svn path=/trunk/mono/; revision=15764
2003-06-30 15:41:37 +00:00
Nick Drochak 4a5dc7d277 2003-06-30 Nick Drochak <[email protected]>
* X509CertificateTest.cs: Adjust for time zone.  Need to test on .NET.

svn path=/trunk/mcs/; revision=15759
2003-06-30 15:22:03 +00:00
Gonzalo Paniagua Javier 99a4fbfc0d 2003-06-25 Eric Lindvall <[email protected]>
* SimpleWorkerRequest.cs:
		-adds PATH_INFO support
		- updates GetFilePathTranslated() to make use of Path.Combine()
		- gets rid of the null check in GetPathInfo() (we're setting
		_PathInfo to String.Empty now)
		- fixed CreatePath() so that it doesn't return String.Empty if
		  the _AppVirtualPath is not "/" (to match MS runtime -- does
		  anyone know why it was returning String.Empty?)

svn path=/trunk/mcs/; revision=15758
2003-06-30 15:17:27 +00:00
Zoltan Varga 9decfe615a 2003-06-30 Zoltan Varga <[email protected]>
* run_test.sh: Added 'all' option to run all tests. Add class libraries
	to MONO_PATH.

svn path=/trunk/mcs/; revision=15757
2003-06-30 14:56:48 +00:00
Gonzalo Paniagua Javier c7d6a3b7c8 2003-06-30 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.

svn path=/trunk/mcs/; revision=15756
2003-06-30 14:56:44 +00:00
Malte Hildingson 1e33d79ae7 * mono-endian.h: added prototype mono_read64_swap_words, used by
ARM implementation of readr8.

	* mono-endian.c: added function mono_read64_swap_words.

svn path=/trunk/mono/; revision=15751
2003-06-30 14:15:01 +00:00
Aleksey Ryabchuk ff06e4fe57 * Cursors.cs : VSplit, HSplit cursors
* Form.cs: WindowState ( not finished ), changes to Form.Close
	* Splitter.cs, Toolbar.cs : started implementation

svn path=/trunk/mcs/; revision=15747
2003-06-30 13:17:30 +00:00
Zoltan Varga e51b27c1e6 2003-06-30 Zoltan Varga <[email protected]>
* MethodBuilderTest.cs (TestReturnType): Make test more general so
	it works both on Mono and MS.NET.

svn path=/trunk/mcs/; revision=15746
2003-06-30 12:41:52 +00:00
Zoltan Varga e4d8fdcbb1 2003-06-30 Zoltan Varga <[email protected]>
* FileStreamTest.cs: New tests for flushing when disposed and zero
	buffer size.

svn path=/trunk/mcs/; revision=15745
2003-06-30 12:37:27 +00:00
Zoltan Varga f082f6ef61 2003-06-30 Zoltan Varga <[email protected]>
* Console.cs: Turn off buffering for the streams returned by
	OpenStandardOutput () and OpenStandardError () if the buffer size is 0.

svn path=/trunk/mcs/; revision=15744
2003-06-30 12:34:55 +00:00
Zoltan Varga 6bf4eea8b2 2003-06-30 Zoltan Varga <[email protected]>
* FileStream.cs (Dispose): Flush the buffer even if we don't own the
	handle.
	* FileStream.cs: Add a new constructor parameter to turn off buffering.
	This is used by the Console.OpenStandard...() methods. Also fix
	argument checking in InitBuffer(), so a zero buffer size is also
	rejected.

svn path=/trunk/mcs/; revision=15743
2003-06-30 12:34:26 +00:00
Paolo Molaro 4040bb49e0 Use case insensitive compares and allow the header to appear anywhere in the file.
svn path=/trunk/mcs/; revision=15737
2003-06-30 10:00:36 +00:00
Paolo Molaro 79e8e51e4a Better error messages.
svn path=/trunk/mcs/; revision=15736
2003-06-30 09:59:15 +00:00
Gonzalo Paniagua Javier c737aa9a1a 2003-06-30 Gonzalo Paniagua Javier <[email protected]>
* HttpRequest.cs: added REMOTE_PORT.
	* HttpValueCollection.cs: fixed bug #45490.

svn path=/trunk/mcs/; revision=15735
2003-06-30 06:00:10 +00:00
Sebastien Pouliot 6b3aed61bc 2003-06-29 Sebastien Pouliot <[email protected]>
* PermissionSet.cs: Added missing "virtual" to Count, IsSynchronized
	and SyncRoot.

svn path=/trunk/mcs/; revision=15734
2003-06-30 02:30:04 +00:00
Sebastien Pouliot d6c1ef11d6 2003-06-29 Sebastien Pouliot <[email protected]>
* ApplicationDirectory.cs: Added [Serializable] attribute to class.
	* Evidence.cs: Added [Serializable] attribute to class.
	* FirstMatchCodeGroup.cs: Added [Serializable] attribute to class.
	* HashMembershipCondition.cs: Added [Serializable] attribute to class.
	* NetCodeGroup.cs: Added [Serializable] attribute to class.
	* PublisherMembershipCondition.cs: Added [Serializable] attribute to class.
	* Zone.cs: Added [Serializable] attribute to class.

svn path=/trunk/mcs/; revision=15733
2003-06-30 02:00:35 +00:00
Sebastien Pouliot 18eac04bc1 2003-06-29 Sebastien Pouliot <[email protected]>
* corlib_test.args: Added ReflectionPermissionAttributeTest.cs and
	ReflectionPermissionTest.cs in System.Security.Permissions.
	* corlib_test.args: Same.

svn path=/trunk/mcs/; revision=15732
2003-06-30 01:44:49 +00:00
Sebastien Pouliot d4fe176643 2003-06-29 Sebastien Pouliot <[email protected]>
* ReflectionPermissionAttributeTest.cs: New.
	* ReflectionPermissionTest.cs: New.

svn path=/trunk/mcs/; revision=15731
2003-06-30 01:42:17 +00:00
Sebastien Pouliot 860ddc0c6d 2003-06-29 Sebastien Pouliot <[email protected]>
* ReflectionPermission.cs: Completed class implementation.
	* ReflectionPermissionAttribute.cs: Completed class implementation.

svn path=/trunk/mcs/; revision=15730
2003-06-30 01:39:58 +00:00
Alexandre Pigolkine 33ef867cb3 handle 32bpp images
svn path=/trunk/mcs/; revision=15729
2003-06-29 22:19:16 +00:00
Alexandre Pigolkine 5d27854d43 image drawing
svn path=/trunk/mcs/; revision=15728
2003-06-29 22:17:08 +00:00
Gonzalo Paniagua Javier d526bd6474 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: Small fix by Sebastian <[email protected]>.

svn path=/trunk/mcs/; revision=15727
2003-06-29 18:26:52 +00:00
Gonzalo Paniagua Javier 273c2c812e 2003-06-29 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: fixed header writing the reusing a connection and
	the server does not send 100-continue response.

svn path=/trunk/mcs/; revision=15726
2003-06-29 17:35:14 +00:00
Nick Drochak dc583551e0 2003-06-29 Nick Drochak <[email protected]>
* FileIOPermissionAttributeTest.cs: Don't use windows path name.

svn path=/trunk/mcs/; revision=15725
2003-06-29 14:45:06 +00:00
Nick Drochak 74f43b221a 2002-06-29 Nick Drochak <[email protected]>
* NamedPermissionSet.cs : Fix buglet/typo/thinko. Thank you unit tests.

svn path=/trunk/mcs/; revision=15724
2003-06-29 14:10:34 +00:00
Alexandre Pigolkine 2990bfb398 File removed from folder
svn path=/trunk/mcs/; revision=15723
2003-06-29 08:25:23 +00:00
Miguel de Icaza 132306b2bc 2003-06-29 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.CheckAccessLevel): Make this routine
	complete;  Fixes #37521.

	* delegate.cs: Use Modifiers.TypeAttr to compute the
	TypeAttributes, instead of rolling our own.  This makes the flags
	correct for the delegates.

svn path=/trunk/mcs/; revision=15722
2003-06-29 05:41:52 +00:00
Miguel de Icaza 8f8683e019 Add new Qt tests
svn path=/trunk/mcs/; revision=15721
2003-06-29 05:40:13 +00:00
Miguel de Icaza f93f29806f Flush
svn path=/trunk/mono/; revision=15720
2003-06-29 04:07:36 +00:00
Miguel de Icaza 418697ea82 2003-06-28 Miguel de Icaza <[email protected]>
* class.cs (Constructor.Define): Set the private flag for static
	constructors as well.

svn path=/trunk/mcs/; revision=15719
2003-06-29 04:00:28 +00:00
Miguel de Icaza 2f64d9932e 2003-06-28 Miguel de Icaza <[email protected]>
* cs-parser.jay (statement_expression): Set the return value to
	null, to avoid a crash when we catch an error.

svn path=/trunk/mcs/; revision=15718
2003-06-29 03:25:32 +00:00
Duncan Mak 79621d46b5 Add links to the Xr-related libraries for RH9.
svn path=/trunk/mono/; revision=15717
2003-06-29 02:03:53 +00:00
Sebastien Pouliot 25a63eb160 2003-06-28 Sebastien Pouliot <[email protected]>
* corlib_test.args: Added PermissionSetTest.cs and NamedPermissionSetTest.cs
	in System.Security. Added EnvironmentPermissionAttributeTest.cs,
	EnvironmentPermissionTest.cs, FileDialogPermissionAttributeTest.cs,
	FileDialogPermissionTest.cs, FileIOPermissionAttributeTest.cs,
	PublisherIdentityPermissionAttributeTest.cs,
	PublisherIdentityPermissionTest.cs in System.Security.Permissions
	* corlib_test.args: Same.

svn path=/trunk/mcs/; revision=15716
2003-06-29 01:06:57 +00:00
Sebastien Pouliot e430aa69f8 2003-06-28 Sebastien Pouliot <[email protected]>
* EnvironmentPermissionAttributeTest.cs: New.
	* EnvironmentPermissionTest.cs: New.
	* FileDialogPermissionAttributeTest.cs: New.
	* FileDialogPermissionTest.cs: New.
	* FileIOPermissionAttributeTest.cs: New.
	* PublisherIdentityPermissionAttributeTest.cs: New.
	* PublisherIdentityPermissionTest.cs: New.

svn path=/trunk/mcs/; revision=15715
2003-06-29 01:04:46 +00:00
Sebastien Pouliot d1f3e6b55b 2003-06-28 Sebastien Pouliot <[email protected]>
* PermissionSetTest.cs: New. Partial unit tests for PermissionSet.
	* NamedPermissionSetTest.cs: New. Complete unit tests.

svn path=/trunk/mcs/; revision=15714
2003-06-29 00:52:38 +00:00
Sebastien Pouliot e8952d05e2 2003-06-22 Sebastien Pouliot <[email protected]>
* unix.args: Added ZoneIdentityPermission.cs

svn path=/trunk/mcs/; revision=15713
2003-06-29 00:49:34 +00:00
Sebastien Pouliot 45b7c60410 2003-06-22 Sebastien Pouliot <[email protected]>
* unix.args: Added FileDialogPermission.cs, IsolatedStorageFilePermission.cs,
	PrincipalPermission.cs, PublisherIdentityPermissionAttribute.cs,
	RegistryPermission.cs, SiteIdentityPermission.cs, UIPermission.cs and
	UrlIdentityPermission.cs

svn path=/trunk/mcs/; revision=15712
2003-06-29 00:40:42 +00:00
Sebastien Pouliot 5aff2d7d00 2003-06-28 Sebastien Pouliot <[email protected]>
* CodeAccessSecurityAttribute.cs: Added [Serializable] to class.
	* EnvironmentPermission.cs: Completed class implementation.
	* EnvironmentPermissionAttribute.cs: Corrected 1.1 signature and
	completed class implementation.
	* FileDialogPermission.cs: New. Complete implementation.
	* FileDialogPermissionAttribute.cs: Completed class implementation.
	* FileIOPermissionAttribute.cs: Corrected 1.1 signature and
	completed class implementation.
	* IsolatedStorageFilePermission.cs: New. Stubbed missing class.
	* PrincipalPermission.cs: New. Stubbed missing class.
	* PublisherIdentityPermission.cs: Completed class implementation.
	* PublisherIdentityPermissionAttribute.cs: New.  Complete
	implementation.
	* RegistryPermission.cs: New. Stubbed missing class.
	* SecurityPermission.cs: Added missing MonoTODO attributes.
	* SecurityPermissionFlag.cs: Added new BindingRedirects flag for
	.NET 1.1 compatibility.
	* SiteIdentityPermission.cs: New. Stubbed missing class.
	* SiteIdentityPermissionAttribute.cs: Completed class implementation.
	* StrongNamePermissionAttribute.cs: Completed class implementation.
	* UIPermission.cs: New. Stubbed missing class.
	* UIPermissionAttribute.cs: Completed class implementation.
	* UrlIdentityPermission.cs: New. Stubbed missing class.
	* UrlIdentityPermissionAttribute.cs: Completed class implementation.
	* ZoneIdentityPermission.cs: Added [Serializable] to class.
	* ZoneIdentityPermissionAttribute.cs: Completed class implementation.

svn path=/trunk/mcs/; revision=15711
2003-06-29 00:17:52 +00:00
Sebastien Pouliot d905e04183 2003-06-28 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Added missing methods. Removed old XML
	documentation (present in monodoc). Added missing MonoTODO attrs.
	* NamedPermissionSet.cs : Changed some code from result of unit
	tests. Updated MonoTODO attributes.
	* PermissionSet.cs: Added missing methods. Removed old XML
	documentation (present in monodoc). Added missing MonoTODO attrs.
	Added code to some methods.
	* SecurityManager.cs: Added missing MonoTODO attributes.

svn path=/trunk/mcs/; revision=15710
2003-06-28 23:47:35 +00:00
Alexandre Pigolkine 4b12ad4806 supply KnownColor enum value to save Enum.Parse at runtime
svn path=/trunk/mcs/; revision=15708
2003-06-28 15:32:30 +00:00
Alexandre Pigolkine c653c1f7df switch to unix line terminators
svn path=/trunk/mcs/; revision=15707
2003-06-28 15:23:21 +00:00
Lluis Sanchez 7ca4234c81 * Random.cs: Changed behavior of Random to match MS.NET. When Next is
called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
	  a new random number (although it is not needed), while mono did not.
	  As a result, the sequence of random numbers could be different for the
	  same seed.

svn path=/trunk/mcs/; revision=15702
2003-06-28 10:37:24 +00:00
Lluis Sanchez da1a2d5e1f * TypeData.cs: Type of item of ICollections is now taken from the Item(int) property. Add() can
be overlodaded, so it is not good for this.
	* XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.

svn path=/trunk/mcs/; revision=15698
2003-06-28 00:36:33 +00:00
Miguel de Icaza 3e99ce698e Flush
svn path=/trunk/mono/; revision=15697
2003-06-28 00:30:21 +00:00
Duncan Mak e24f74740d Add Gtk# and Monodoc links for Mandrake 9.1
svn path=/trunk/mono/; revision=15696
2003-06-27 23:44:32 +00:00
Alexandre Pigolkine e4691b29b5 save as Jpeg also
svn path=/trunk/mcs/; revision=15695
2003-06-27 22:02:21 +00:00
Alexandre Pigolkine d68085bfaa encode 32 bpp images
svn path=/trunk/mcs/; revision=15694
2003-06-27 22:00:57 +00:00
Alexandre Pigolkine 20f1c83d24 new file added
svn path=/trunk/mcs/; revision=15691
2003-06-27 18:22:09 +00:00
Alexandre Pigolkine 24771a4339 pixel format for InternalImageInfo
svn path=/trunk/mcs/; revision=15690
2003-06-27 18:14:46 +00:00
Alexandre Pigolkine 35686da8b6 internal member to keep transformation matrix
svn path=/trunk/mcs/; revision=15689
2003-06-27 18:13:51 +00:00
Alexandre Pigolkine 383fe8ecbd new file added, DrawLine function, HBITMAP, InternalImageInfo from HBITMAP
svn path=/trunk/mcs/; revision=15688
2003-06-27 18:09:32 +00:00
Alexandre Pigolkine 4cabb29141 DrawLine functions, Bitmap format
svn path=/trunk/mcs/; revision=15687
2003-06-27 18:06:12 +00:00
Alexandre Pigolkine 76f954f7ba coordinate transformation
svn path=/trunk/mcs/; revision=15686
2003-06-27 18:04:47 +00:00
Paolo Molaro baf09ef402 Fri Jun 27 11:19:10 CEST 2003 Paolo Molaro <[email protected]>
* mini.c, mini-ops.h, inssel.brg: optimized a couple of Array methods.

svn path=/trunk/mono/; revision=15685
2003-06-27 09:28:09 +00:00
Dietmar Maurer c321eaca0f use delegate async invoke where posssible
svn path=/trunk/mcs/; revision=15684
2003-06-27 07:59:47 +00:00
Dietmar Maurer 4e04258a93 2003-06-27 Dietmar Maurer <[email protected]>
* threadpool.c (mono_thread_pool_add): keep a reference to the
	AsyncResult to prevent GC

svn path=/trunk/mono/; revision=15683
2003-06-27 07:52:02 +00:00
Duncan Mak 4f534fdbc7 Update the src rpm link for 0.25 release. For now, we have a symlink
there.

Fix description for gtk-sharp-debuginfo.

svn path=/trunk/mono/; revision=15679
2003-06-27 02:20:40 +00:00
Miguel de Icaza 7ed242772d Flush
svn path=/trunk/mono/; revision=15678
2003-06-27 01:54:10 +00:00
Duncan Mak 2fae8ce703 Add distro-correct filenames for gtk-sharp and monodoc (redhat-80-i386
and redhat-9-i386)

svn path=/trunk/mono/; revision=15677
2003-06-27 00:49:31 +00:00
Duncan Mak da6ee76ebe Update the filenames to the actual filenames on the server. Commented
out the SuSE chunk until we can build SuSE packages.

svn path=/trunk/mono/; revision=15676
2003-06-26 23:32:04 +00:00
Miguel de Icaza aefdc63eaa Flush
svn path=/trunk/mono/; revision=15675
2003-06-26 22:56:27 +00:00
Gonzalo Paniagua Javier 5b7b3d4f75 updated monocharge URL
svn path=/trunk/mcs/; revision=15674
2003-06-26 22:29:53 +00:00
Gonzalo Paniagua Javier 143f1512ad 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: save viewstate data when any of the 3 values is not
	null. Fixed condition to save selection indices. Closes bug #45493.

svn path=/trunk/mcs/; revision=15661
2003-06-26 17:53:47 +00:00
Lluis Sanchez c97e716cd7 * DateTime.cs: Modified constructor. Check for valid value of TimeSpan must
be done after the correspondig UTC offset has been applied.

svn path=/trunk/mcs/; revision=15658
2003-06-26 17:05:37 +00:00
Aleksey Ryabchuk c727b19a78 more implementation added
svn path=/trunk/mcs/; revision=15657
2003-06-26 16:37:57 +00:00
Paolo Molaro e900dcab23 Thu Jun 26 16:06:35 CEST 2003 Paolo Molaro <[email protected]>
* FloatingPointFormatter.cs: use dec_len2 as default precision.

svn path=/trunk/mcs/; revision=15655
2003-06-26 14:15:25 +00:00
5472 changed files with 555420 additions and 114798 deletions

No files matched your search

+331
View File
@@ -1,3 +1,334 @@
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.
* configure.in: Applied patch from [email protected]. Avoid linking in
librt if not neccesary.
2003-11-24 Zoltan Varga <[email protected]>
* configure.in: Fix signbit check. Fixes #51315.
2003-11-20 Jackson Harper <[email protected]>
* data/machine.config: Add OutputCacheModule
2003-11-19 Jackson Harper <[email protected]>
* doc/web/team.xml: New email address and job description
* doc/web/team/jackson.png: Picture of me debugging...seems appropriate
2003-11-14 Jackson Harper <[email protected]>
* Makefile.am: delete mscorlib.dll
2003-11-12 Jackson Harper <[email protected]>
* Makefile.am: corlib is now named mscorlib.dll
2003-11-12 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for signbit, which is missing in
FreeBSD 4.x.
2003-11-07 Zoltan Varga <[email protected]>
* configure.in: Remove debugging junk accidently checked in.
* configure.in: Add new --with-nptl option to enable NPTL only
features since auto-detection is not reliable.
* autogen.sh: Fix previous patch and silence noisy GNU which.
2003-11-07 Bernie Solomon <[email protected]>
* autogen.sh: tweak glibtool check so it works
if which doesn't set return code properly
2003-11-07 Zoltan Varga <[email protected]>
* autogen.sh: Silence noisy GNU which.
* autogen.sh: Applied patch from Peter Teichman ([email protected]).
Use 'glibtool' instead of 'libtool' on OSX.
2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* mono/benchmark/pinvoke.cs: New benchmark for testing the performance
of the managed/unmanaged boundary.
2003-11-06 Zoltan Varga <[email protected]>
* configure.in acconfig.h: Add check for __thread keyword in gcc.
2003-10-29 Dick Porter <[email protected]>
* man/mono.1: Document MONO_EXTERNAL_ENCODINGS variable
2003-10-16 Miguel de Icaza <[email protected]>
* man/mono.1: Document new --trace options
2003-10-13 Bernie Solomon <[email protected]>
* configure.in: add hppa support (64bit only)
make solaris build work with Forte compiler
2003-10-13 Zoltan Varga <[email protected]>
* configure.in: Added check for pthread_attr_setstacksize.
* mono/tests/ChangeLog: New file.
2003-10-13 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am: Link the tests with the test driver program
used for the mini tests.
2003-10-10 Zoltan Varga <[email protected]>
* mono/tests/libtest.c (mono_test_marshal_delegate): Added test for
stdcall calling convention.
2003-10-09 Dick Porter <[email protected]>
* acconfig.h:
* configure.in: Check for ICU availability
2003-10-09 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: fix after merge of pinvoke2.cs
2003-10-07 Bernie Solomon <[email protected]>
* mono/tests/Makefile.am mono/tests/libtest.c
mono/tests/pinvoke18.cs: new test for bool marshalling.
2003-10-07 Bernie Solomon <[email protected]>
* mono/scripts/Makefile.am mono/scripts/*.in: fix
managed .exe paths so they are found under cygwin.
2003-10-07 Zoltan Varga <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/libtest.c: Fix array of structs
test.
2003-10-06 Bernie Solomon <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/pinvoke11.cs
mono/tests/libtest.c: Add more pass by value struct
tests for platforms with more complex calling conventions
(Sparc V9, HPPA 64 bit).
2003-10-06 Zoltan Varga <[email protected]>
* mono/tests/pinvoke2.cs mono/tests/libtest.c: Add array of structs
marshalling test.
2003-10-04 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: remove warnings except
"no previous prototype"
2003-10-03 Bernie Solomon <[email protected]>
* mono/tests/libtest.c: (test_lpwstr_marshal) remove undefined
behaviour of increment, (mono_test_marshal_char) = should be ==
2003-09-30 Zoltan Varga <[email protected]>
* mono/tests/remoting1.cs: Added test for interface casts on
TransparentProxies.
2003-09-24 Bernie Solomon <[email protected]>
* mono/tests/pinvoke*.cs, delegate4.cs, marshal10.cs, marshal4.cs
marshal5.cs: remove .so from DllImport of libtest to aid portability.
2003-09-08 Zoltan Varga <[email protected]>
* configure.in: Added check for valgrind headers.
2003-09-03 Zoltan Varga <[email protected]>
* Makefile.am: Use $(MAKE) in even more places. Patch by Bernie Solomon
([email protected]).
2003-08-27 Zoltan Varga <[email protected]>
* Makefile.am: Use $(MAKE) instead of make. Patch by Bernie Solomon
([email protected]).
2003-08-25 Zoltan Varga <[email protected]>
* mono.pc.in: Added gthread-2.0.
2003-08-22 Zoltan Varga <[email protected]>
* configure.in: Added gthread-2.0 to GLIB_CFLAGS and GLIB_LIBS, so we
can call g_thread_init ().
2003-08-21 Zoltan Varga <[email protected]>
* mono/tests/threadpool.cs mono/tests/threadpool1.cs: Make increments
of static variables atomic. Fixes bug #47683.
2003-08-21 Johannes Roith <[email protected]>
* mono/Makefile.am: small update. make sure, glib makes it in the build, add optional target for dependencies
2003-08-18 Johannes Roith <[email protected]>
* mono/Makefile.am: add windows build option
* mono/monowiz.win32.nsi: add windows build script
* mono/mono-win32-light.bmp: add bitmap
2003-08-16 Zoltan Varga <[email protected]>
* mono/tests/checked.cs: Added mul.ovf tests.
2003-08-15 Duncan Mak <[email protected]>
* doc/mysql: Change references to ByteFX.Data.MySQLClient to the
correct ByteFX.Data.MySqlClient (note the change in
capitalization). Thanks to Tom Wagner <[email protected]> for
spotting the error.
2003-08-15 Zoltan Varga <[email protected]>
* mono/tests/bug-47295.cs: Regression test for bug #47295.
2003-08-11 Duncan Mak <[email protected]>
* runtime/Makefile.am (assemblies_DATA): Add Mono.Cairo.dll.
Sun Aug 3 21:12:13 BST 2003 Malte Hildingson <[email protected]>
* configure.in: added FPU test for ARM.
Thu Jul 31 16:19:07 CEST 2003 Paolo Molaro <[email protected]>
* configure.in, etc.: portability fixes and support for
buidling outside the srcdir from Laurent Morichetti <[email protected]>.
2003-07-22 Duncan Mak <[email protected]>
* runtime/Makefile.am: Remove sqlsharp as we no longer distribute it.
2003-07-22 Zoltan Varga <[email protected]>
* mono/tests/Makefile.am: Add missing test. Make tests interruptable
by Ctrl-C. Add testinterp target to run the tests with the interpreter.
Do not try to build vararg.cs under mcs.
* configure.in: Fix detection of GC_gcj_malloc.
2003-07-14 Jerome Laban <[email protected]>
* acconfig.h:
* configure.in: Check for gethostbyname2_r availability.
* data/machine.config: Added section system.net/settings. Added
option for IPv6 availability.
2003-07-13 Zoltan Varga <[email protected]>
* mono/tests/cattr-object.cs: Make it run under both mono and MS.NET.
* mono/tests/struct.cs: Add test for unboxing trampolines.
* mono/tests/bug-27420.cs: new regression test.
* mono/tests/Makefile.am: skip vararg test since it does not compile
under mono. Add testinterp target. Add new tests.
2003-07-10 Martin Willemoes Hansen
* doc/web/team.xml : Modified my tasks a bit.
2003-07-01 Paolo Molaro <[email protected]>
* acconfig.h, configure.in: added bundle support.
2003-06-10 Dick Porter <[email protected]>
* acconfig.h:
+61 -5
View File
@@ -1,11 +1,67 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data
SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples
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
# mono and mcs without running into the out-of-sync
# problems by doing the compilation in the right order.
#
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 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 2>&1; echo
win32getdeps:
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
wget http://www.go-mono.com/archive/libiconv-1.7.zip
wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
wget http://www.jroith.de/nsis4cygwin.zip
unzip -n -d / pkgconfig-0.11-20020310.zip
unzip -n -d / glib-2.0.4-20020703.zip
unzip -n -d / glib-dev-2.0.4-20020703.zip
unzip -n -d / libiconv-1.7.zip
unzip -n -d / libiconv-dev-1.7.zip
unzip -n -d / libintl-0.10.40-20020101.zip
unzip -n -d / nsis4cygwin.zip
win32setup:
cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
cp /usr/lib/iconv.dll @prefix@/lib
cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
cp /usr/lib/libintl-1.dll @prefix@/lib
makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi
+111 -7
View File
@@ -1,14 +1,98 @@
This is Mono.
Installation:
1. Installation
2. Using Mono
3. Directory Roadmap
Read doc/download for installation instructions,
or read the HTML version:
1. Compilation and Installation
===============================
http://www.go-mono.com/download.html
a. Build Requirements
---------------------
* Using Mono
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:
./configure --prefix=/usr/local
make
make install
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 --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
=============
Once you have installed the software, you can run a few programs:
@@ -29,10 +113,17 @@ Installation:
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
for further details.
* A directory roadmap:
3. Directory Roadmap
====================
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.
@@ -63,4 +154,17 @@ Installation:
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.
+10
View File
@@ -3,6 +3,7 @@
#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_STRUCT_IP_MREQ
@@ -19,7 +20,16 @@
#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 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
+9 -2
View File
@@ -30,8 +30,15 @@ fi
DIE=1
}
if [ -z "$LIBTOOL" ]; then
LIBTOOL=`which glibtool 2>/dev/null`
if [ ! -x "$LIBTOOL" ]; then
LIBTOOL=`which libtool`
fi
fi
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
@@ -91,7 +98,7 @@ esac
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
${LIBTOOL}ize --force --copy
fi
fi
-51
View File
@@ -1,51 +0,0 @@
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
#undef HAVE_INET_PTON
#undef HAVE_INET_ATON
#undef HAVE_SOL_IP
#undef HAVE_SOL_TCP
#undef HAVE_IP_PKTINFO
#undef HAVE_STRUCT_IP_MREQN
#undef HAVE_PTHREAD
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
#undef USE_MONO_MUTEX
#undef HAVE_LARGE_FILE_SUPPORT
#undef PLATFORM_WIN32
#undef HAVE_NEW_ICONV
#undef NAME_DEV_RANDOM
#undef HAVE_CRYPT_RNG
#undef HAVE_BOEHM_GC
/* The number of bytes in a void *. */
#undef SIZEOF_VOID_P
/* Define if you have the inet_aton function. */
#undef HAVE_INET_ATON
/* Define if you have the inet_pton function. */
#undef HAVE_INET_PTON
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define if you have the <netdb.h> header file. */
#undef HAVE_NETDB_H
/* Define if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
/* Define if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Name of package */
#undef PACKAGE
/* Version number of package */
#undef VERSION
+313 -20
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.25)
AM_INIT_AUTOMAKE(mono,0.30)
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
@@ -36,7 +39,9 @@ case "$host" in
AC_DEFINE(PLATFORM_WIN32)
CC="gcc -mno-cygwin"
HOST_CC="gcc"
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
# latest libgc already defines GC_WIN32_THREADS
# CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
libdl=
libgc_threads=win32
gc_default=boehm
@@ -70,12 +75,22 @@ case "$host" in
libdl="-ldl"
libgc_threads=pthreads
;;
*-*-hpux*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
CFLAGS="$CFLAGS +ESdbgasm"
LDFLAGS="$LDFLAGS -z"
libmono_cflags="-D_REENTRANT"
libmono_ldflags="-lpthread"
libgc_threads=pthreads
AC_DEFINE(NEED_LINK_UNLINK)
;;
*-*-solaris*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libmono_cflags="-D_REENTRANT"
libgc_threads=solaris
libgc_threads=pthreads
;;
*-*-darwin*)
platform_win32=no
@@ -85,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
@@ -97,11 +114,18 @@ 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
AM_PROG_CC_STDC
AC_PROG_INSTALL
dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4
: ${CCAS='$(CC)'}
# Set ASFLAGS if not already set.
: ${CCASFLAGS='$(CFLAGS)'}
AC_SUBST(CCAS)
AC_SUBST(CCASFLAGS)
AC_CHECK_PROG(BISON, bison,yes,no)
if test "x$BISON" = "xno";
@@ -129,6 +153,9 @@ AM_PROG_LIBTOOL
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/mini/tramp-x86.c
AC_CHECK_HEADERS(valgrind/memcheck.h)
# for mono/metadata/debug-symfile.c
AC_CHECK_HEADERS(elf.h)
@@ -138,7 +165,21 @@ AC_CHECK_HEADERS(wchar.h)
# not 64 bit clean in cross-compile
AC_CHECK_SIZEOF(void *, 4)
CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
WARN=''
if test x"$GCC" = xyes; then
WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings'
# The runtime code does not respect ANSI C strict aliasing rules
CFLAGS="$CFLAGS -fno-strict-aliasing"
else
# The Sun Forte compiler complains about inline functions that access static variables
# so disable all inlining.
case "$host" in
*-*-solaris*)
CFLAGS="$CFLAGS -Dinline="
;;
esac
fi
CFLAGS="$CFLAGS -g $WARN"
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
@@ -147,8 +188,8 @@ fi
dnl for use on the build system
dnl pkg-config is stupid
BUILD_GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
BUILD_GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
BUILD_GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0`
BUILD_GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0 gthread-2.0`
AC_SUBST(BUILD_GLIB_CFLAGS)
AC_SUBST(BUILD_GLIB_LIBS)
@@ -170,8 +211,8 @@ GLIB_REQUIRED_VERSION=1.3.11
PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)
GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0`
GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0`
GLIB_CFLAGS=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0`
GLIB_LIBS=`$PKG_CONFIG --libs glib-2.0 gthread-2.0`
GMODULE_CFLAGS=`$PKG_CONFIG --cflags gmodule-2.0`
GMODULE_LIBS=`$PKG_CONFIG --libs gmodule-2.0`
@@ -182,6 +223,19 @@ AC_SUBST(GMODULE_LIBS)
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])
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
BUNDLE_FILE=$with_bundle
AC_SUBST(BUNDLE_FILE)
AC_DEFINE(WITH_BUNDLE)
],[with_bundle=no])
AM_CONDITIONAL(WITH_BUNDLE, test x$with_bundle != xno)
LIBGC_CFLAGS=
LIBGC_LIBS=
libgc_dir=
@@ -201,7 +255,11 @@ case "x$gc" in
AC_SUBST(HAVE_BOEHM_GC)
LIBGC_LIBS="-lgc $libdl"
AC_CHECK_FUNCS(GC_gcj_malloc)
# AC_CHECK_FUNCS does not work for some reason...
AC_CHECK_LIB(gc, GC_gcj_malloc, found_gcj_malloc="yes",,$libdl)
if test "x$found_gcj_malloc" = "xyes"; then
AC_DEFINE(HAVE_GC_GCJ_MALLOC)
fi
;;
xincluded)
@@ -329,6 +387,21 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for SOL_IPV6 ***
dnl *****************************
AC_MSG_CHECKING(for SOL_IPV6)
AC_TRY_COMPILE([#include <netdb.h>], [
int level = SOL_IPV6;
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SOL_IPV6)
], [
# We'll have to use getprotobyname
AC_MSG_RESULT(no)
])
dnl *****************************
dnl *** Checks for SOL_TCP ***
dnl *****************************
@@ -385,6 +458,18 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
])
dnl **********************************
dnl *** Check for gethostbyname2_r ***
dnl **********************************
AC_MSG_CHECKING(for gethostbyname2_r)
AC_TRY_LINK([#include <netdb.h>], [
gethostbyname2_r(NULL,0,NULL,NULL,0,NULL,NULL);
], [
# Yes, we have it...
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYNAME2_R)
])
dnl *****************************
dnl *** Checks for libnsl ***
@@ -417,6 +502,23 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
dnl *************************************
dnl *** Checks for zero length arrays ***
dnl *************************************
AC_MSG_CHECKING(whether $CC supports zero length arrays)
AC_TRY_COMPILE([
struct s {
int length;
char data [0];
};
], [], [
AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(MONO_ZERO_ARRAY_LENGTH, 0)
], [
AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED(MONO_ZERO_ARRAY_LENGTH, 1)
])
dnl *****************************
dnl *** Checks for libxnet ***
dnl *****************************
@@ -443,6 +545,7 @@ if test x$platform_win32 = xno; then
dnl *** Checks for libpthread ***
dnl *****************************
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
@@ -455,11 +558,59 @@ if test x$platform_win32 = xno; then
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX)
])
AC_CHECK_FUNCS(pthread_attr_setstacksize)
dnl ***********************************
dnl *** Checks for working __thread ***
dnl ***********************************
AC_MSG_CHECKING(for working __thread)
AC_TRY_RUN([
#include <pthread.h>
__thread int i;
static int res1, res2;
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
int main () {
pthread_t t1, t2;
i = 5;
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
return !(res1 + res2 == 2);
}
], [
if test "x$with_nptl" = "x"; then
AC_MSG_RESULT(disabled)
else
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KW_THREAD)
fi
], [
AC_MSG_RESULT(no)
])
dnl ********************************
dnl *** Checks for semaphore lib ***
dnl ********************************
AC_CHECK_LIB(rt, sem_init, LIBS="$LIBS -lrt")
# 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
AC_SEARCH_LIBS(sem_init, pthread rt posix4)
dnl ********************************
dnl *** Checks for timezone stuff **
@@ -486,11 +637,66 @@ if test x$platform_win32 = xno; then
AC_ERROR(unable to find a way to determine timezone)
fi
fi
dnl *********************************
dnl *** Checks for math functions ***
dnl *********************************
LIBS="$LIBS -lm";
AC_CHECK_FUNCS(finite, , AC_MSG_CHECKING(for finite in math.h)
AC_TRY_LINK([#include <math.h>],
[ finite(0.0); ],
AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)))
AC_CHECK_FUNCS(isfinite, , AC_MSG_CHECKING(for isfinite in math.h)
AC_TRY_LINK([#include <math.h>],
[ isfinite(0.0); ],
AC_DEFINE(HAVE_ISFINITE) AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)))
dnl ****************************************************************
dnl *** Checks for working poll() (macosx defines it but doesn't ***
dnl *** have it in the library (duh)) ***
dnl ****************************************************************
AC_CHECK_FUNCS(poll)
dnl *************************
dnl *** Check for signbit ***
dnl *************************
AC_MSG_CHECKING(for signbit)
AC_TRY_LINK([#include <math.h>], [
int s = signbit(1.0);
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SIGNBIT)
], [
AC_MSG_RESULT(no)
])
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_MSG_RESULT(no)))
dnl ****************************
dnl *** Look for /dev/random ***
dnl ****************************
@@ -564,22 +770,102 @@ if test "x$try_shared_handles" != "xyes"; then
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
ICU_CFLAGS=""
ICU_LIBS=""
enable_icu=no
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
fi
AC_SUBST(ICU_CFLAGS)
AC_SUBST(ICU_LIBS)
TARGET="unknown"
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=no
LIBC="libc.so.6"
case "$host" in
#mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; ACCESS_UNALIGNED="no";;
i*86-*-*) TARGET=X86; arch_target=x86; JIT_SUPPORTED=yes;;
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
#m68k-*-linux*) TARGET=M68K;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv* | powerpc-*-darwin*) TARGET=POWERPC; arch_target=ppc; JIT_SUPPORTED=yes;;
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
s390-*-linux*) TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no";;
# mips-sgi-irix5.* | mips-sgi-irix6.*)
# TARGET=MIPS;
# ACCESS_UNALIGNED="no"
# ;;
i*86-*-*)
TARGET=X86;
arch_target=x86;
JIT_SUPPORTED=yes
;;
sparc*-*-*)
TARGET=SPARC;
arch_target=sparc;
ACCESS_UNALIGNED="no"
;;
# alpha*-*-linux* | alpha*-*-osf*)
# TARGET=ALPHA;
# ACCESS_UNALIGNED="no"
# ;;
# ia64-*-linux* | ia64-*-hpux*)
# TARGET=IA64;
# arch_target=ia64;
# JIT_SUPPORTED=no;
# ACCESS_UNALIGNED="no";
# case "$host_os" in
# linux*) LIBC="libc.so.6.1";;
# hpux*) LIBC="libc.so.1";;
# esac
# ;;
# m68k-*-linux*)
# TARGET=M68K
# ;;
hppa2.0w-hp-hpux11.00 | hppa64-hp-hpux11.00)
TARGET=HPPA;
arch_target=hppa;
ACCESS_UNALIGNED="no"
;;
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | \
powerpc-*-sysv* | powerpc-*-darwin*)
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
arch_target=arm;
ACCESS_UNALIGNED="no"
;;
s390-*-linux*)
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="no"
;;
esac
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
dnl ******************************************
AC_MSG_CHECKING(which FPU to use)
AC_TRY_COMPILE([], [
__asm__ ("ldfd f0, [r0]");
], fpu=FPA, [
AC_TRY_COMPILE([], [
__asm__ ("fldd d0, [r0]");
], fpu=VFP, fpu=NONE)
])
AC_MSG_RESULT($fpu)
CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu"
unset fpu
fi
if test ${TARGET} = unknown; then
CPPFLAGS="$CPPFLAGS -DNO_PORT"
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
@@ -594,14 +880,15 @@ 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(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AM_CONDITIONAL(S390, test x$TARGET = xS390)
AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
LIBC="libc.so.6"
AC_SUBST(LIBC)
AC_SUBST(arch_target)
@@ -611,6 +898,7 @@ AC_SUBST(LDFLAGS)
AC_OUTPUT([
Makefile
mint.pc
mono.pc
mono/Makefile
mono/utils/Makefile
@@ -622,6 +910,7 @@ mono/os/Makefile
mono/os/win32/Makefile
mono/os/unix/Makefile
mono/arch/x86/Makefile
mono/arch/hppa/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/s390/Makefile
@@ -629,23 +918,27 @@ mono/arch/arm/Makefile
mono/arch/alpha/Makefile
mono/interpreter/Makefile
mono/tests/Makefile
mono/tests/tests-config
mono/benchmark/Makefile
mono/monoburg/Makefile
mono/monograph/Makefile
mono/io-layer/Makefile
mono/handles/Makefile
mono/mini/Makefile
mono/profiler/Makefile
runtime/Makefile
scripts/Makefile
man/Makefile
doc/Makefile
docs/Makefile
data/Makefile
samples/Makefile
data/config
mono.spec
])
echo "
GC: $gc
ICU: $enable_icu
"
+5
View File
@@ -0,0 +1,5 @@
Makefile.in
Makefile
config
.cvsignore
browscap.ini
File diff suppressed because it is too large. Load diff
+10 -6
View File
@@ -1,11 +1,15 @@
monodir = $(sysconfdir)/mono
EXTRA_DIST = config.in machine.config
EXTRA_DIST = config.in \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini.gz
mono_DATA = config machine.config
mono_DATA = config \
machine.config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
DISTCLEANFILES = config
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
config: config.in Makefile
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
&& mv config.tmp config
Binary file not shown.
+3
View File
@@ -6,6 +6,7 @@
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
@@ -15,4 +16,6 @@
<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="db2cli" target="libdb2_36.so"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
</configuration>
+107 -6
View File
@@ -3,9 +3,9 @@
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
@@ -21,8 +21,24 @@
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"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
<section name="compilation"
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"
type="System.Net.Configuration.NetConfigurationHandler, System" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System" />
<section name="authenticationModules"
@@ -32,6 +48,7 @@
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<system.net>
<connectionManagement>
@@ -39,6 +56,8 @@
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient" />
<add type="System.Net.DigestClient" />
<add type="System.Net.NtlmClient" />
</authenticationModules>
<defaultProxy>
<proxy />
@@ -50,13 +69,24 @@
<add prefix="https" type="System.Net.HttpRequestCreator, System" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
</httpHandlers>
@@ -64,6 +94,7 @@
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -73,16 +104,83 @@
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<!-- Sample globalization settings
<globalization requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
fileEncoding="iso-8859-1"
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
<!--
culture="en-US"
uiculture="en-US" />
-->
<sessionState mode="InProc" />
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
<add assembly="System" />
<add assembly="System.Xml" />
<add assembly="System.Data" />
<add assembly="System.Web" />
<add assembly="System.Web.Services" />
<add assembly="System.Drawing" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
</compilation>
<httpRuntime executionTimeout="90"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
<pages buffer="true"
enableSessionState="true"
autoEventWireup="true"
validateRequest="true" />
</system.web>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
@@ -91,5 +189,8 @@
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
</configuration>
Executable
+16
View File
@@ -0,0 +1,16 @@
2004-01-22 Atsushi Enomoto <[email protected]>
* xml-classes : status update, additional infos.
2004-01-16 Atsushi Enomoto <[email protected]>
* web/commands : Added xml-classes (forgot to commit).
* mono-build-w32.sh : Added icu support as well as glib.
* ChangeLog : tiny fix
2004-01-11 Atsushi Enomoto <[email protected]>
* xml-classes : added v2 info. schema status updates.
Added ChangeLog. (There is no reason not to keep ChangeLog for
documents, at least for not a little changes ;-)
+3 -3
View File
@@ -8,7 +8,7 @@ WEB_FILES= \
tds-providers status testing thanks tools \
porting anoncvs monodoc-xml winforms
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh print-stack
EXTRA_DIST = $(WEB_FILES) README $(OTHERS)
@@ -17,8 +17,8 @@ all-docs: $(WEB_FILES)
runtime documentation download faq contributing \
resources status > all-docs
class-status: class-status.in pending-classes Makefile.am
cat class-status.in pending-classes > class-status
class-status: class-status.in Makefile.am
cat class-status.in > class-status
pending-classes:
+48 -103
View File
@@ -1,82 +1,22 @@
* ADO.NET
<p>Mono's ADO.NET Developers:
** Data Access in Mono
<table border=1>
<tr>
<td><b>Developer</b></td>
<td><b>Email</b></td>
<td><b>Contribution</b></td>
</tr>
<tr>
<td>Rodrigo Moya</td>
<td>rodrigo -AT-<br> ximian.comNOSPAM</td>
<td>ADO.NET coordinator,<br> OLE DB provider,<br> and tests</td>
</tr>
<tr>
<td>Daniel Morgan</td>
<td>danmorg -AT-<br> sc.rr.comNOSPAM</td>
<td>MySQL, PostgreSQL, <br>Oracle providers,<br> and tests</td>
</tr>
<tr>
<td>Tim Coleman</td>
<td>tim -AT- <br>timcoleman.comNOSPAM</td>
<td>Microsoft SQL Server, <br>Sybase, <br>TDS providers,<br> Oracle,
<br>and tests.<br>
He has
contributed <br>to other parts <br>of Mono too, <br>such as,
<br>EnterpriseServices,
XML, <br>and WebServices.</td>
</tr>
<tr>
<td>Brian Ritchie</td>
<td>brianlritchie -AT-<br> hotmail.comNOSPAM</td>
<td>ODBC provider <br>and the ProviderFactory <br>in Mono.Data</td>
</tr>
<tr>
<td>Vladimir Vukicevic</td>
<td>vladimir -AT-<br> pobox.comNOSPAM</td>
<td>SQL Lite provider. <br> He has contributed to GTK# <br>and mPhoto too.</td>
</tr>
<tr>
<td>Christopher Bockner</td>
<td>cleared -AT-<br> rogers.comNOSPAM</td>
<td>IBM DB2 Universal <br>Database provider</td>
</tr>
<tr>
<td>Ville Palo</td>
<td>vi64pa -AT-<br> koti.soon.fiNOSPAM</td>
<td>XML stuff <br>in System.Data <br>including DataSet <br>
and XmlDataDocument, <br>and tests</td>
</tr>
<tr>
<td>Gonzalo Paniagua Javier</td>
<td>gonzalo -AT-<br> ximian.comNOSPAM</td>
<td>Integration between <br>System.Web and <br>System.Data</td>
</tr>
<tr>
<td>Gaurav Vaish</td>
<td>gvaish -AT-<br> iitk.ac.inNOSPAM</td>
<td>Web controls</td>
</tr>
<tr>
<td>Phillip Jerkins</td>
<td>Phillip.Jerkins -AT-<br> morgankeegan.comNOSPAM</td>
<td>Named Instance support <br>in System.Data.SqlClient</td>
</tr>
</table>
<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
@@ -88,14 +28,14 @@
and easy to create
one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
<li>Any RFE (Request For Enhancement) for features missing or new functionality
should be entered as a bug in Bugzilla too</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>List of ADO.NET Data Providers working in Mono:
<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>
@@ -107,7 +47,7 @@
<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>
<li><a href="http://www.go-mono.com/tdsclient.html">Older Microsoft SQL Server and Sybase databases</a></li>
</ul>
<p>Providers which we do not have, but we would like to have. Currently,
@@ -147,39 +87,38 @@
<p>Some tools that can be used for ADO.NET and other technologies (ASP.NET, XML, etc).
<ul>
<li><b>SQL# CLI</b> - a SQL query tool with a command-line interface.
It can be used to enter and execute SQL statements or
execute a batch of SQL commands from a file. It can
<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. It is a work-in-progress.
The SQL# CLI is distributed with the
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.
The source to SQL# CLI can be found in the mcs source at
<p>The source to SQL# CLI can be found in the mcs source at
mcs/tools/SqlSharp/SqlSharpCli.cs
</li>
<li><p><b>SQL# GUI - a graphical SQL query tool</b> allows a user
to enter SQL commands in a top panel which is a text editor. It
has a toolbar and menu for various tasks, such as, executing
<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).
Also, the bottom panel would allow logging of SQL command executed.
Currently, there is a <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. SQL# For GTK#
is a work-in-progress and can be found in the mcs source at
mcs/tools/SqlSharp/gui/gtk-sharp</li>
<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><b>XML Schema Definition tool</b> <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpconxmlschemadefinitiontoolxsdexe.asp">xsd.exe</a> needs
to be created. Maybe this TODO item should be at the System.XML web page instead.
<li>Mono has an <b>XML Schema Definition tool</b> (xsd.exe).</b>
<ul>
<li>This tool
would work like the xsd.exe tool included with
the .NET Framework. The Xsd.exe tools has the
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.
@@ -330,7 +269,7 @@
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. Adam Treat would be the best
how this can be done is appreciated. Marcus would be the best
person to ask about QT#.
<p><b>Building System.Data</b>
@@ -394,6 +333,12 @@
<td>System.Data /</br> System.Data.SqlClient</td>
<td>SqlTest.cs at</br> System.Data/Test</td>
</tr>
<tr>
<td>PostgreSQL</br> (Npgsql)</td>
<td>Npgsql /</br> Npgsql</td>
<td>*.cs at</br> Npgsql/Test</td>
</tr>
<tr>
<td>PostgreSQL</br> (Mono)</td>
@@ -410,13 +355,13 @@
<tr>
<td>Oracle</br> (Mono)</td>
<td>System.Data.OracleClient /</br> System.Data.OracleClient</td>
<td>TestOracleClient.cs at</br> System.Data.OracleClient</td>
<td>TestOracleClient.cs at</br> System.Data.OracleClient/Test</td>
</tr>
<tr>
<td>ODBC</br> (Mono)</td>
<td>System.Data.OracleClient /</br> System.Data.OracleClient</td>
<td>TestOracleClient.cs at</br> System.Data.OracleClient</td>
<td>System.Data.Odbc /</br> System.Data</td>
<td>OdbcTest.cs (to connect to MS SQL Server)at</br> System.Data/Test</td>
</tr>
</table>
+4 -1
View File
@@ -2,7 +2,7 @@
Anonymous access to the Mono is available currently from three
servers (anoncvs-spain-1.go-mono.com,
anoncvs-spain-2.go-mono.com and anoncvs-us-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.
@@ -43,6 +43,9 @@
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
+50 -58
View File
@@ -7,52 +7,79 @@
* Web Services (the SOAP-based rpc system).
</ul>
There is work underway for both systems. The Web Forms
support is more advanced at this point, and various ".aspx"
programs can be run using the Mono runtime, including IBuySpy.
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 bug fixing and adding missing features
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. Although we have a
SoapFormatter as part of the remoting infrastructure already
(contributed by Jesus), most people will be using the ASP.NET
Web Services support. Work for the supporting class libraries
just started recently.
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.
The major missing element is a complete XmlSerializer.
** Hosting
** HttpRuntime
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.
Patrik has authored most of the HttpRuntime support (both on
the System.Web and on the foundation).
* <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
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.
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.
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).
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),
but they have been coded mostly in the dark, and without being
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.
hard on this namespace. After that, we keep fixing bugs on
them.
We can now render all HtmlControls and all WebControls.
@@ -63,41 +90,6 @@
We want to encourage developers to create open source controls
that can be used both on Mono's ASP.NET and Microsoft's ASP.NET.
* Web Forms: The pieces (historical)
There are a couple of components to the puzzle:
<ul>
* .aspx page parser (converts .aspx to C# code).
* System.Web.HttpRuntime support.
* Web controls (System.Web.UI.HtmlControls and
System.Web.UI.WebControls).
* Underlying infrastructure for the controls (System.Web.UI).
* HttpRuntime.ProcessRequest is the core of the ASP.NET
implementation.
</ul>
Gonzalo has been working on an ASP.NET parser that takes .aspx
files and generated the code required to run them (the code lives in
module `xsp' along with a little web server for testing).
Most of the runtime support was written by Patrik Torstensson
(now at Intel). This was interesting, because in order to implement
some of its features, Patrik had to go into the runtime/JIT engine and
he spent a few weeks doing work there.
The classes for running ASP.NET are being actively written.
Gaurav, Leen and Patrik worked in the core of the classes
required to run ASP.NET web application as well as a small
embeddable web server.
Duncan got our System.Web assembly to compile.
** How to Help
Testing and fixing HtmlControls, WebControls and validators is an
+38
View File
@@ -0,0 +1,38 @@
You can read the aggregates news from the Mono developers in
<a href="http://www.go-mono.com/monologue">Monologue</a>. You
can also download our aggregator from the <a
href="anoncvs.html">AnonCVS</a> server.
Various Mono contributors maintain blogs, some are listed here:
<a href="http://codeblogs.ximian.com/blogs/benm/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://codeblogs.ximian.com/blogs/benm/">Ben Maurer</a>
<br>
<a href="http://ada.fciencias.unam.mx/~olopez/jscript/cesar.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://ada.fciencias.unam.mx/~olopez/jscript/">Cesar Nataren</a>
<br>
<a href="http://www.jacksonh.net/jackson/blog/jackson.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://www.jacksonh.net/jackson/blog/">Jackson Harper</a>
<br>
<a href="http://primates.ximian.com/~lluis/blog/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~lluis/blog/">Lluis S&aacute;nchez</a>
<br>
<a href="http://primates.ximian.com/~martin/blog/rss.xml"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~martin/blog/">Martin Baulig</a>
<br>
<a href="http://primates.ximian.com/~miguel/miguel.rss2"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~miguel/activity-log.php">Miguel de Icaza</a>
<br>
<a href="http://primates.ximian.com/~mkestner/blog/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~mkestner/blog/">Mike Kestner</a>
<br>
<a href="http://pages.infinit.net/ctech/poupou.rss"><img align="center" src="images/xml.gif"></a>
<a href="http://pages.infinit.net/ctech/poupou.html">Sebastien Pouliot</a>
<br>
<a href="http://primates.ximian.com/~gonzalo/mono/blog/index.xml"><img align="center" src="images/xml.gif"></a>
<a href="http://primates.ximian.com/~gonzalo/mono/blog/">Gonzalo Paniagua</a>
<br>
<a href="http://codeblogs.ximian.com/blogs/ndrochak/index.rdf"><img align="center" src="images/xml.gif"></a>
<a href="http://codeblogs.ximian.com/blogs/ndrochak/">Nick Drochak</a>
+25 -8
View File
@@ -1,17 +1,38 @@
* Mono Books
* Mono
<a href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">
Mono: .NET-kompatible Anwendungen mit dem Open Source-Framework
</a>
* C# Books
* C#
A Programmer's Introduction to C# - Second Edition: Eric Gunnerson
* .NET Framework
Avery good techincal book about .NET is Don Box's <a
href="http://service.bfast.com/bfast/click?bfmid=2181&sourceid=39391960&isbn=0201734117">Essential
.NET</a>
* Remoting
<a href="http://www.dotnetremoting.cc/book/AdvancedDotNetRemoting.asp">
Advanced .NET Remoting: Ingo Rammer</a>
<a href="http://www.dotnetremoting.cc/book/AdvancedDotNetRemoting.asp">Advanced .NET Remoting: Ingo Rammer</a>
* Threading
.NET Multithreading: Alan L. Dennis (ISBN 1-930110-54-5)
* Web Services
Web Services: Architecture and Implementation with .NET: Keith Ballinger
* ASP.NET
Essential ASP.NET with Examples in C# by Fritz Onion
ASP.NET in a Nutshell by G. Andrew Duthie & Matthew MacDonald
Programming ASP.NET by Jessy Liberty & Dan Hurtwitz
* Compiler Implementation
@@ -25,10 +46,6 @@
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
+76
View File
@@ -0,0 +1,76 @@
* Bug reporting
To report bugs you need to create a <a
href="http://bugzilla.ximian.com/createaccount.cgi">Bugzilla
Account</a>.
Here are some convenient shortcuts to browse or add bug reports.
<ul>
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&newqueryname=&form_name=query&order=bugs.priority%2C%20bugs.bug_id">[Query]</> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries">[Add]</a> Class Libraries
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FCompilers&component=IL+assembler&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FCompilers&component=IL%20assembler">[Add]</a> IL Assembler.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FCompilers&component=C%23&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FCompilers&component=C%23">[Add]</a> C# Compiler.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FRuntime">[Add]</a> Runtime
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FDoctools&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FDoctools">[Add]</a> Documentation system.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=gtk%23&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=gtk%23">[Add]</a> Gtk#
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web">[Add]</a> ASP.NET WebForms
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web.Services&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web.Services">[Add]</a> ASP.NET Web Services
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FDebugger&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FDebugger">[Add]</a> Debugger.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono+Develop&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono+Develop">[Add]</a> Mono Develop.
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono+Tasks&product=Mono%2FClass+Libraries&product=Mono%2FCompilers&product=Mono%2FDebugger&product=Mono%2FDoctools&product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> All core components.
</ul>
<a name="goodbugreport"/>
** How to make good bug reports
<ol>
* Submit a test case, the smaller it is, the better
* Use <a href="http://bugzilla.ximian.com">
http://bugzilla.ximian.com</a> to report the bug.
<p>In <b>addition</b> to bugzilla, posting to the list is
fine if the bug merits larger exposure or design
discussions to solve; posting to the list twice or more
is just a way to annoy people and make them waste time,
specially when you start a new thread about it.
* If the test involves libraries or assemblies that are
not part of mono, add info about where to download all
the dependencies, and how to compile/install them.
* If compiling the test case requires more than:
<pre> mcs test.cs </pre>
provide the <b>full command line</b> you used to compile
the test.
* If running the test requires more than:
<pre> mono test.exe </pre>
provide the <b>full command line</b> needed to replicate
the bug.
* Provide info about the version of the software you're
using (both mono and the operating system or relevant
libraries).
* Provide the output you expect the test case to produce.
* Provide the actual output <b>you</b> get from the test case.
</ol>
A good bug report complies with at least 6 items from the list.
If your bug report complies with 3 or less items, it is very
poor and it means it will take much more time to fix (when it's
not ignored).
+84 -4
View File
@@ -1,7 +1,12 @@
* CVS Access
Here we describe how one obtains commit access to the CVS repository
and the responsibilities that come with that access privilege.
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?
@@ -23,9 +28,13 @@
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.
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
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.
@@ -253,6 +262,77 @@
cvs commit file-1.cs file-2.cs
</pre>
* Using SVN
This is a small tutorial for using SVN (subversion).
For a more complete tutorial on subversion, look at
<a href="http://svnbook.red-bean.com/">the svn book</a>
or <a href="http://subversion.tigris.org">the svn homepage</a>
** Generating a key
Follow the cvs instructions above.
** Checking out the sources
To checkout the sources for the first time use the command:
Note: You should be running 0.35.1 (latest) of svn before attempting
anything here.
<pre>
svn co svn+ssh://mono-cvs.ximian.com/svn/monodevelop/trunk/MonoDevelop
</pre>
If you have a different username on mono-cvs and the local computer
you can do the following:
<pre>
svn co svn+ssh://[email protected]/svn/monodevelop/trunk/MonoDevelop
</pre>
before checking out.
** Updating your sources
You can update your repository to the latest copy of MonoDevelop by
running the following command:
<pre>
svn up
</pre>
from inside your repository.
** Committing your work
Before you commit anything, you should first update to the latest
sources by following the updating directions. After you are up to date
you need to run a:
<pre>
svn add filename
</pre>
for every file that you have created. You can get a list of these files
by running:
<pre>
svn status
</pre>
After all the files are added, run:
<pre>
svn commit
</pre>
to commit your changes.
** For more information
Look at the MonoDevelop website (coming soon)
* Keeping track of changes.
We provide two e-mail based mechanisms to keep track of
+1 -11
View File
@@ -5,36 +5,26 @@
Here is the status of the different assemblies:
<ul>
<li><a href="http://www.go-mono.com/class-status-corlib.html">corlib</a>: The core library.
<li><a href="http://www.go-mono.com/class-status-System.html">System</a>.
<li><a href="http://www.go-mono.com/class-status-System.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.EnterpriseServices.html">EnterpriseServices</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Runtime.Serialization.Formatters.Soap.html">System.Runtime.Serialization.Formatters.Soap</a>.
<li><a
href="http://www.go-mono.com/class-status-System.Security.html">System.Security</a>:
Xml Signature Security classes, also check the <a href="crypto.html">Cryptography status pages</a>
+24 -15
View File
@@ -7,34 +7,43 @@
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
With these considerations in mind, Mono is using external XML files
for class documentation, rather than documenting the source
inline. The XML file format used is inspired by the XML format used
to document the ECMA APIs.
Several tools 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>
Several tools exist for managing, verifying, generating,
and updating class library documentation.
You can download the tools to document Mono from the CVS
repository from module `monodoc'.
The documentation infrastructure is part of the `Monodoc'
module. Monodoc includes a graphical GUI browser and tools to
generate the initial stubbed XML document out of an assembly.
Download `monodoc' to start producing documentation for your
application.
For instructions, read the monodoc/README file.
** Documentation Tools
*** <a name="monodoc">MonoDoc</a>
A graphical documentation viewer written in Gtk#. In the
future we will have an ASP.NET front-end to present the
documentation on the web as well.
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.
** Status and Roadmap
The GUI edition uses <a
href="http://gtk-sharp.sf.net">Gtk#</a> and the Web edition
uses Mono's ASP.NET implementation.
<img src="images/Screenshot-Monodoc.png">
** Get Involved
Help us develop Mono's documentation tools! Subscribe to
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
and wade right in.
Monodoc today also supports a GUI-based collaborative editing
system. You can now edit the documentation from the browser
and upload your contributions directly to the Mono site.
+235
View File
@@ -0,0 +1,235 @@
* Compiling Mono
This document describes how to compile and install Mono from
its source code. If you are only interested in running Mono,
you might want to install Mono from packages, which have been
tested.
The core of Mono is split in two components:
<ul>
* C components (available in the mono package)
* C# components (available in the mcs package).
</ul>
Mono is also available in various forms:
<dl>
<dt>Officially <a href="download.html">released</a> packages.</dt>
<dd>
<p>This is the format of choice for people to use, since these
have been tested and are known to build and work.
</dd>
<dt><a href="daily">Daily</a> packages.</dt>
<dd>
<p>This is a service offered for people who want to try out the
daily changes. Baked daily.</dd>
<dt>CVS source code.</dt>
<dd>
<p>These are available to Mono <a href="ccvs.html">developers</a> and
also for enthusiasts through <a href="anoncvs.html">anonymous CVS</a>.
</dd>
<dt>CVS snapshots.</dt>
<dd>
<p>Available for curious developers which do not necessarily want to
install the CVS source. Baked daily.
</dd>
</dl>
* Compiling the code
There are a number of ways of compiling Mono
<ul>
<li>From the <a href="#scripts">scripts</A>
<LI><a href="#install">Manually</a> for the first time.
<li>Manually, <a href="#upgrade">while upgrading</a> to CVS
</ul>
(which is an easy way to get the latest CVS information)
<a name="scripts">
* Compiling with scripts
These scripts should be used for installing from packages, specially
on Windows, where dependencies have not always been installed.
There are scripts to help build mono for both Unix and Windows. Get
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
href="mono-build-w32.sh">mono-build-w32.sh</a> for Windows.
These scripts automate the installation of GLIB and pkgconfig
(building from source on Unix, and using binary packages
provided by the GIMP for Windows project on Windows.) To use
the script, follow these simple steps:
<ul>
* Save the script for your platform somewhere (e.g. /usr/local/bin)
* Make the script executable (i.e chmod 755 /usr/local/bin/mono-build.sh)
* Create a directory to hold the mono source, and the compiled binaries (e.g. mkdir ~/mono)
* Change to the new directory (i.e. cd ~/mono)
* run the script (i.e. /usr/local/bin/mono-build.sh)
</ul>
The script requires wget on either platform, and building the
software requires make, gcc, automake, autoconf, and libtool.
You should install these packages from your distribution or
with the cygwin installer. You should also take care of setting
the right environment variables as the PKG_CONFIG_FLAGS, etc.
The script will download required packages from
www.go-mono.com and do a cvs checkout of mono in the current
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
anonymous cvs;
set your CVSROOT environment variable before running the script to
select a particular cvs server.
<a name="install">
** Building the software manually
You will need to obtain the Mono dependencies first: <a
href="http://www.gtk.org">glib 2.x</a> and
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
*** Building From Packages
This applies to both the officially released packages, as well as the
daily tarball packages.
<ul>
Unpack the Mono runtime distribution:
<pre class="shell">
tar xzvf mono-X.XX.tar.gz
cd mono-X.XX</pre>
<p>
Then configure, compile and install:
<pre class="shell">
./configure --prefix=/usr/local
make
make install</pre>
This will give you a runtime, C# compiler and runtime
libraries.
If you want to recompile the runtime and the compiler,
follow these steps, first unpack the MCS package:
<pre class="shell">
tar xzvf mcs-X.XX.tar.gz</pre>
Then use the following command to compile and install:
<pre class="shell">
./configure --profile=atomic
make</pre>
You can change /usr/local to something else if you want.
</ul>
*** Building from CVS
To upgrade your Mono installation from CVS, it is very
important that you update your Mono and MCS modules from CVS
at the same time. Failure to do so might result in a
problematic installation as the runtime and the class
libraries will be out of sync.
Run the following commands to update your CVS tree (more
details in <a href="ccvs.html">Cvs and Mono</a> and the <A
href="anoncvs.html">AnonCVS and Mono</a> pages).
<pre>
(cd mono; cvs update -dP .)
(cd mcs; cvs update -dP .)
</pre>
Then you can run:
<pre>
(cd mono; make fullbuild)
</pre>
Now you can install the result:
<pre>
(cd mono; make install)
</pre>
Notice that following the above procedure does not require you
to manually install the software in the `mcs' directory, as
the relevant files will be copied by the `mono' makefiles.
* Software resources and notes
The required and additional software can be downloaded here:
* Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
* Cygwin and the GNU Make tools from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases.
* Precompiled GLIB 2.0 and pkg-config packages (and
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
* Download the Mono source code from the
<a href="download.html">packaged versions</a> or
the <a href="http://www.go-mono.com/snapshots">
nightly snapshots</a> or the <a href="anoncvs.html">
Anonymous CVS</a>. The nightly snapshots are done every
night at 10pm EST (Boston Time). The nightly snapshots are
not guaranteed to build, but most of the time they should.
</ul>
*** Notes on compiling GLIB 2.0 and pkg-config from source:
<ul>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update).
* Download, compile and install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a> from source.
(I had to change line 674 of
<nobr><tt>pkg-config-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre class="shell">
tar xzvf pkg-config-0.8.0.tar.gz
cd pkg-config-0.8.0
./configure --prefix=/usr
make
make install
</pre>
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
the binary package available at <a
href="http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip">
http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip</a>
* Download, compile and install the
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
glib 2.0</a> from source.
</ul>
+4 -1
View File
@@ -128,7 +128,10 @@
You can review the list of current bugs by going <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FMCS&product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=%27Importance%27&form_name=query">here</a>
<a name="goodbugreport"/>
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:
+87 -78
View File
@@ -11,30 +11,15 @@
**** Status
<ul>
* Every classes are present.
* All classes are present.
* Most classes have their unit tests. Some tests like <code>
SymmetricAlgorithmTest</code> are generated by external
tools.
* MACTripleDES is compatible with the implementation shipped in
framework 1.0. Version 1.1 gives different results when the
MACed data is a multiple of BlockSize (8 bytes).
</ul>
**** TODO
<ul>
* The current implementation of <code>CryptoStream</code> is
very limited and contain known bugs (<a
href="http://bugzilla.ximian.com/show_bug.cgi?id=40689">
40689</a>). The class need to be re-designed.
* RNGCryptoServiceProvider is currently only working on Linux.
The current implementation reside in Mono's runtime and use
the <code>/dev/[u]random</code> device (which do not exists
under Windows). A Windows specific alternative is available
using the Mono.Security.Win32 assembly.
* Keypair persistance for RSA and DSA. This persistance must
somehow be linked with X509 certificate stores (in planning).
@@ -50,8 +35,8 @@
<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).
exception of <code>RNGCryptoServiceProvider</code> for which
parts of the implementation resides in the runtime.
* There is a bug in the <code>PKCS1MaskGenerationMethod</code>
class (in both framework 1.0 and 1.1). This means our
@@ -72,8 +57,8 @@
(using the Mono.Security.ASN1 class).
* Software Publisher Certificates (SPC) used by Authenticode
(tm) to sign assemblies are supported (extraction from PE
files) but <b>not yet</b> validated.
(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
@@ -82,14 +67,6 @@
size and time consideration, i.e. a 7.5Mb C# source file).
</ul>
**** TODO
<ul>
* Authenticode(tm) support is incomplete. We can extract the
certificates from PE files but cannot validate the signature
nor the certificate chain (and we're still missing some trust
anchors). See Tools section for more information.
</ul>
**** Notes
<ul>
* Except for their structure <b>there are no validation of the
@@ -109,8 +86,8 @@
continue to evolve to support the security tools.
* Microsoft implementation of <code>X509Certificate</code> is
done by using CryptoAPI (unmanaged code). From the exceptions
thrown Authenticode(tm) support is done via COM.
done by using CryptoAPI (unmanaged code). Based on the
exceptions thrown, Authenticode(tm) support is done via COM.
</ul>
<hr>
@@ -124,20 +101,16 @@
**** Status
<ul>
* All classes are present but some (most Transforms) are only
stubbed.
* 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>
* All the transforms needs to be done. But this requires far
more XML knowledge than crypto. Note: Most tests runs because
the feeded XML is pre-c14n (by hand in the code) before
signing (not because the transforms works). In the short
term <code>libxml2</code> could be used to provide C14N, but
in the long term a fully managed class would be much better.
* Complete all Transform derived classes.
</ul>
<hr>
@@ -162,12 +135,19 @@
</ul>
*** Namespace: Mono.Security.Cryptography
<ul>
* Additional algorithms: MD2, ARCFOUR (required for SSL)
* Additional algorithms: MD2, MD4, ARCFOUR (required for SSL)
* Convertion helpers
</ul>
*** Namespace: Mono.Security.Protocol.*
<ul>
* Tls: An 100% managed TLS implementation from Carlos Guzman
Alvarez.
* Ntlm: NTLM authentication (used for HTTP and SQL Server).
</ul>
*** Namespace: Mono.Security.X509
<ul>
* X.509 structures (certificate, CRL...) building and decoding.
* PKCS#12 decoding.
</ul>
*** Namespace: Mono.Security.X509.Extensions
<ul>
@@ -177,8 +157,6 @@
**** Status
<ul>
* Some part of the work has not yet been commited (still cleaning up).
* A big part of this assembly is also included inside Mono's
corlib. The classes are duplicated in this assembly so the
functionalities can be used without a dependency on Mono's
@@ -217,7 +195,8 @@
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).
(e.g. some old, but still valid, X.509 certificates use MD2,
MD4 is required for NTLM authentication ...).
</ul>
**** TODO
@@ -256,26 +235,36 @@
<a href="http://www.oasis-open.org/committees/wss/">OASIS</a> or
other committees.
<b>[*] There are some licensing issues to consider before starting to
implement WS-Security. All contributors must sign an agreement with
Microsoft before commiting anything related to WS-Security into CVS.
</b>
*** Namespace: Microsoft.Web.Services.Security [*]
*** Namespace: Microsoft.Web.Services.Timestamp [*]
*** Namespace: Microsoft.Web.Services.Security
**** Status
<ul>
* Nothing (yet) commited in CVS <b>[*]</b>.
* 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>
* Nothing (yet) commited in CVS. However the classes in this
namespace are outside WS-Security scope. So development, for
those classes, could be done without signing any agreements.
* X509Certificate support is complete for both WSE 1.0 and 2.0.
</ul>
**** TODO
@@ -285,6 +274,14 @@
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
@@ -295,7 +292,7 @@
**** Status
The following tools are complete (mostly complete):
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
@@ -306,14 +303,26 @@
(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.
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>sn</code> is a clone of the <code>sn</code> to manage
strongnames. Current version is limited to creating new keypairs
and converting values.
* <code>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
@@ -324,11 +333,6 @@
**** TODO
The following tools are still missing or largely incomplete:
<ul>
* <code>signcode</code> and <code>chktrust</code> (in progress)
for signing and validating Authenticode(tm) signatures on
assemblies (or any PE file).
* Other tools like a, GUI-based, certificate manager...
</ul>
@@ -337,39 +341,44 @@
tools are of limited use until supported by the runtime.
<hr>
** Other stuff
** References
<ul>
* SSL/TLS for secure communication (a prototype is under way).
Some work is already visible in Mono.Security assembly (e.g.
RC4, RSAManaged ...).
* 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>
<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.
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 test) carefully - it's so fast to break an
(using the unit tests) carefully - it's so fast to break an
algorithm ;-).
* Write some documentation on the cryptographic classes for
the <a href="http://go-mono.com/tutorial/html/en/index.html">Mono
Handbook</a> as I'm not a very good writer (at least in English).
<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.
Contact <a href="mailto:[email protected]">Sebastien Pouliot</a> if
you need additional informations about the status of the cryptographic
classes.
<hr>
Last reviewed: June 11, 2003 (post mono 0.24)
Last reviewed: January 26, 2004 (post mono 0.29)
+6 -2
View File
@@ -25,7 +25,11 @@
libraries as well as the class libraries produced by
the project).
* Tutorials on Mono and the specifics of running it.
* 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
@@ -199,7 +203,7 @@
</pre>
Use this to create lists. Lists contains &lt;item&gt;
elements
elements which have to contain &lt;term&gt; containers.
<pre>
&lt;list type="table"&gt; &lt;/lits&gt;
+311 -283
View File
@@ -13,6 +13,262 @@
section</a>, the <a
href="http://www.go-mono.org/faq.html">FAQ</a>.
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.29</b><br>
<a href="archive/mono-0.29.html">Release notes</a><br>
Dec 2nd, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.29.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.29.tar.gz">Mono Runtime</a>
<li><a href="archive/xsp-0.8.tar.gz">XSP web server (0.8)</a>
<li><a href="archive/mod_mono-0.6.tar.gz">Apache Mono module 0.6 (mod_mono)</a>
<li><a href="archive/monodoc-0.9.tar.gz">MonoDoc 0.9</a>
</ul>
</td>
</tr>
<tr bgcolor="#bbbbbb">
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 8.0, Red Hat 9.0/x86</b><br>
<img src="images/mandrake-36.gif"><b>Mandrake 9.1/x86</b><br>
<img src="images/suse-36.gif"><b>SuSE 8.2</b><br>
</td>
<td>
Packages are available on <a
href="http://www.ximian.com/products/redcarpet/download.html">Red
Carpet's</a> Mono channel.
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/windows-36.gif"><b>Windows installer</b>
</td>
<td>
<a href="archive/mono-0.29-win32-1.exe">mono-0.29-win32-1.exe</a>
</td>
</tr>
</table>
</td>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.28</b><br>
<a href="archive/mono-0.28.html">Release notes</a><br>
Oct 1st, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.28.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.28.tar.gz">Mono Runtime</a>
<li><a href="archive/xsp-0.6.tar.gz">XSP web server (0.6)</a>
<li><a href="archive/mod_mono-0.5.tar.gz">Apache Mono module (mod_mono)</a>
<li><a href="archive/monodoc-0.7.tar.gz">MonoDoc 0.7</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.28-1.ximian.6.1.src.rpm">mono-0.28-1.src.rpm (RH9)</a>
<li><a href="archive/redhat-90-i386/mono-0.28-1.ximian.6.1.src.rpm">mono-0.28-1.src.rpm (RH8)</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 9.0/x86</b>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.28-1.ximian.6.1.i386.rpm">mono-0.28-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.28-1.ximian.6.1.i386.rpm">mono-devel-0.28-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.28-1.ximian.6.1.i386.rpm">mono-debuginfo-0.28-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/mono-wine-20030318-1.ximian.6.4.i386.rpm">mono-wine-20030318-1.ximian.6.4.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-wine-debuginfo-20030318-1.ximian.6.4.i386.rpm">mono-wine-debuginfo-20030318-1.ximian.6.4.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/mono-0.28-1.ximian.5.1.i386.rpm">mono-0.28-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.28-1.ximian.5.1.i386.rpm">mono-devel-0.28-1.ximian.5.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/mono-wine-20030318-1.ximian.5.3.i386.rpm">mono-wine-20030318-1.ximian.5.3.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/mandrake-36.gif"><b>Mandrake 9.1/x86</b>
<ul>
<li><a href="archive/mandrake-91-i586/mono-0.28-1.ximian.6.1.i586.rpm">mono-0.28-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-devel-0.28-1.ximian.6.1.i586.rpm">mono-devel-0.28-1.ximian.6.1.i586.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<b>Linux s390</b>
<ul>
<li><a href="archive/s390/libgc-6.1-1.s390.rpm">libgc-6.1-1.s390.rpm</a>
<li><a href="archive/s390/libgc-devel-6.1-1.s390.rpm">libgc-devel-6.1-1.s390.rpm</a>
<li><a href="archive/s390/mono-0.28-1.s390.rpm">mono-0.28-1.s390.rpm</a>
<li><a href="archive/s390/mono-devel-0.28-1.s390.rpm">mono-devel-0.28-1.s390.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/suse-36.gif"><b>SuSE 8.2</b>
<ul>
<li><a href="archive/suse-82-i586/mono-0.28-1.ximian.7.1.i586.rpm">mono-0.28-1.ximian.7.1.i586.rpm</a>
<li><a href="archive/suse-82-i586/mono-devel-0.28-1.ximian.7.1.i586.rpm">mono-devel-0.28-1.ximian.7.1.i586.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/windows-36.gif"><b>Windows installer</b>
<ul>
<li><a href="archive/mono-0.28-win32-1.exe">mono-0.28-win32-1.exe</a>
</ul>
</td>
</tr>
</table>
</td>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
<td>
<b>Release 0.26</b><br>
<a href="archive/mono-0.26.html">Release notes</a><br>
Aug 14, 2003
</td>
<td>
<table cellspacing="1" cellpadding="3">
<tr bgcolor="#BBBBBB">
<td>
<b>Source Code</b>
</td>
<td>
<ul>
<li><a href="archive/mcs-0.26.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.26.tar.gz">Mono Runtime</a>
<li><a href="archive/xsp-0.5.tar.gz">XSP web server (0.5)</a>
<li><a href="archive/mod_mono-0.4.tar.gz">Apache Mono module (mod_mono)</a>
<li><a href="archive/monodoc-0.6.tar.gz">MonoDoc 0.6</a>
</ul>
</td>
</tr>
<tr bgcolor="#BBBBBB">
<td>
<b>Source RPMs</b><br>
(No RPMS for XSP).
</td>
<td>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.26-1.ximian.6.1.src.rpm">mono-0.26-1.src.rpm (RH9)</a>
<li><a href="archive/redhat-90-i386/mono-0.26-1.ximian.6.1.src.rpm">mono-0.26-1.src.rpm (RH8)</a>
</ul>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 9.0/x86</b>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.26-1.ximian.6.1.i386.rpm">mono-0.26-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.26-1.ximian.6.1.i386.rpm">mono-devel-0.26-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.26-1.ximian.6.1.i386.rpm">mono-debuginfo-0.26-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/libpixregion-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-0.1.0-1.ximian.6.1.i386.rpm">libic-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-0.1.0-1.ximian.6.1.i386.rpm">xc-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-0.1.0-1.ximian.6.1.i386.rpm">xr-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/monodoc-0.6-1.ximian.6.1.i386.rpm">monodoc-0.6-1.ximian.6.1.i386.rpm</a> (To be used only with CVS gtk-sharp)
<li><a href="archive/redhat-90-i386/monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm">monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-wine-20030318-1.ximian.6.3.i386.rpm">mono-wine-20030318-1.ximian.6.3.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-wine-debuginfo-20030318-1.ximian.6.3.i386.rpm">mono-wine-debuginfo-20030318-1.ximian.6.3.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/mono-0.26-2.ximian.5.1.i386.rpm">mono-0.26-2.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.26-2.ximian.5.1.i386.rpm">mono-devel-0.26-2.ximian.5.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/monodoc-0.5-1.ximian.5.1.i386.rpm">monodoc-0.5-1.ximian.5.1.i386.rpm</a> (To be used only with CVS gtk-sharp)
<li><a href="archive/redhat-80-i386/mono-wine-20030318-1.ximian.5.3.i386.rpm">mono-wine-20030318-1.ximian.5.3.i386.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/debian-36.gif"><b>Debian</b>
<ul>
<li><a href="http://www.debianplanet.com/mono/">Debian Packages here.</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/mandrake-36.gif"><b>Mandrake 9.1/x86</b>
<ul>
<li><a href="archive/mandrake-91-i586/mono-0.26-1.ximian.6.1.i586.rpm">mono-0.26-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-devel-0.26-1.ximian.6.1.i586.rpm">mono-devel-0.26-1.ximian.6.1.i586.rpm</a>
<!-- <li><a href="archive/mandrake-91-i586/monodoc-0.5-1.ximian.6.1.i586.rpm">monodoc-0.5-1.ximian.6.1.i586.rpm</a> -->
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/suse-36.gif"><b>SuSE 8.2</b>
<ul>
<li><a href="archive/suse-82-i586/mono-0.26-2.ximian.7.1.i586.rpm">mono-0.26-2.ximian.7.1.i586.rpm</a>
<li><a href="archive/suse-82-i586/mono-devel-0.26-2.ximian.7.1.i586.rpm">mono-devel-0.26-2.ximian.7.1.i586.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/windows-36.gif"><b>Windows installer</b>
<ul>
<li><a href="archive/mono-0.26-win32-2.exe">mono-0.26-win32-2.exe</a>
</ul>
</td>
</tr>
</table>
</td>
</table>
<table>
<tbody>
<tr bgcolor="#DDDDDD">
@@ -32,8 +288,8 @@
<li><a href="archive/mcs-0.25.tar.gz">Mono Class Libraries and C# Compiler.</a>
<li><a href="archive/mono-0.25.tar.gz">Mono Runtime</a>
<li><a href="archive/xsp-0.4.tar.gz">XSP web server (0.4)</a>
<li><a href="archive/monodoc-0.4.tar.gz">MonoDoc 0.5</a>
<li><a href="archive/gtk-sharp-0.10.tar.gz">Gtk# 0.10</a>
<li><a href="archive/monodoc-0.5.tar.gz">MonoDoc 0.5</a>
<li><a href="archive/gtk-sharp-0.11.tar.gz">Gtk# 0.11</a>
</ul>
</td>
</tr>
@@ -44,7 +300,7 @@
</td>
<td>
<ul>
<li><a href="archive/mono-0.25-1.src.rpm">mono-0.25-1.src.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.25-1.ximian.5.1.src.rpm">mono-0.25-1.src.rpm</a>
</ul>
</td>
</tr>
@@ -56,23 +312,39 @@
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 9.0/x86</b>
<ul>
<li><a href="archive/redhat-90-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.25-1.i386.rpm">mono-debuginfo-0.25-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/gtk-sharp-0.9-1.i386.rpm">gtk-sharp-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-debuginfo-0.9-1.i386.rpm">gtk-sharp-debuginfo-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/monodoc-0.4-1.i386.rpm">monodoc-0.4-1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-0.25-1.ximian.6.1.i386.rpm">mono-0.25-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-devel-0.25-1.ximian.6.1.i386.rpm">mono-devel-0.25-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/mono-debuginfo-0.25-1.ximian.6.1.i386.rpm">mono-debuginfo-0.25-1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/libpixregion-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libpixregion-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-0.1.0-1.ximian.6.1.i386.rpm">libic-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">libic-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-0.1.0-1.ximian.6.1.i386.rpm">xc-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xc-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-0.1.0-1.ximian.6.1.i386.rpm">xr-0.1.0-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm">xr-debuginfo-0.1.0-1.ximian.6.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/gtk-sharp-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-0.10-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-gapi-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-gapi-0.10-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/gtk-sharp-debuginfo-0.10-1.ximian.6.1.i386.rpm">gtk-sharp-debuginfo-0.10-1.ximian.6.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-90-i386/monodoc-0.5-1.ximian.6.1.i386.rpm">monodoc-0.5-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/redhat-90-i386/monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm">monodoc-debuginfo-0.5-1.ximian.6.1.i386.rpm</a>
<li><a href="archive/mono-wine-20030318-1.ximian.6.2.i386.rpm">mono-wine-20030318-1.ximian.6.2.i386.rpm</a>
<li><a href="archive/mono-wine-debuginfo-20030318-1.ximian.6.2.i386.rpm">mono-wine-debuginfo-20030318-1.ximian.6.2.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 8.0/x86</b>
<ul>
<li><a href="archive/redhat-80-i386/mono-0.25-2.i386.rpm">mono-0.25-2.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.25-2.i386.rpm">mono-devel-0.25-2.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/gtk-sharp-0.9-1.i386.rpm">gtk-sharp-0.9-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/monodoc-0.4-1.i386.rpm">monodoc-0.4-1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-0.25-1.ximian.5.1.i386.rpm">mono-0.25-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/mono-devel-0.25-1.ximian.5.1.i386.rpm">mono-devel-0.25-1.ximian.5.1.i386.rpm</a>
<br>
<li><a href="archive/redhat-80-i386/gtk-sharp-0.10-1.ximian.5.1.i386.rpm">gtk-sharp-0.10-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/gtk-sharp-gapi-0.10-1.ximian.5.1.i386.rpm">gtk-sharp-gapi-0.10-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/redhat-80-i386/monodoc-0.5-1.ximian.5.1.i386.rpm">monodoc-0.5-1.ximian.5.1.i386.rpm</a>
<li><a href="archive/mono-wine-20030318-1.ximian.5.2.i386.rpm">mono-wine-20030318-1.ximian.5.2.i386.rpm</a>
</ul>
</td>
</tr>
@@ -96,28 +368,34 @@
<td bgcolor="#999999">
<img src="images/redhat-36.gif"><b>Red Hat 7.3/x86</b>
<ul>
<li><a href="archive/redhat-73-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.25-1.ximian.4.1.i386.rpm">mono-0.25-1.ximian.4.1.i386.rpm</a>
<li><a href="archive/redhat-73-i386/mono-devel-0.25-1.ximian.4.1.i386.rpm">mono-devel-0.25-1.ximian.4.1.i386.rpm</a>
</ul>
</td>
<td bgcolor="#999999">
<img src="images/mandrake-36.gif"><b>Mandrake 8.2/x86</b>
<img src="images/mandrake-36.gif"><b>Mandrake 9.1/x86</b>
<ul>
<li><a href="archive/mandrake-82-i386/mono-0.25-1.i586.rpm">mono-0.25-1.i586.rpm</a>
<li><a href="archive/mandrake-82-i386/mono-devel-0.25-1.i586.rpm">mono-devel-0.25-1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-0.25-1.ximian.6.1.i586.rpm">mono-0.25-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/mono-devel-0.25-1.ximian.6.1.i586.rpm">mono-devel-0.25-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/gtk-sharp-0.10-1.ximian.6.1.i586.rpm">gtk-sharp-0.10-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/gtk-sharp-gapi-0.10-1.ximian.6.1.i586.rpm">gtk-sharp-gapi-0.10-1.ximian.6.1.i586.rpm</a>
<li><a href="archive/mandrake-91-i586/monodoc-0.5-1.ximian.6.1.i586.rpm">monodoc-0.5-1.ximian.6.1.i586.rpm</a>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#999999">
<img src="images/suse-36.gif"><b>SuSE 8.2/x86</b>
<ul>
<li><a href="archive/suse-80-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a>
<li><a href="archive/suse-80-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a>
</ul>
</td>
</tr>
<!--
We don't have SuSE packages right now
-->
<!-- <tr> -->
<!-- <td bgcolor="#999999"> -->
<!-- <img src="images/suse-36.gif"><b>SuSE 8.2/x86</b> -->
<!-- <ul> -->
<!-- <li><a href="archive/suse-80-i386/mono-0.25-1.i386.rpm">mono-0.25-1.i386.rpm</a> -->
<!-- <li><a href="archive/suse-80-i386/mono-devel-0.25-1.i386.rpm">mono-devel-0.25-1.i386.rpm</a> -->
<!-- </ul> -->
<!-- </td> -->
<!-- </tr> -->
</table>
</td>
</tr>
@@ -577,7 +855,7 @@
<td>
<ul>
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
<li><a href="archive/mono-0.20-1.src.rpm">mono-0.20-1.src.rpm</a>
<li><a href="archive/redhat-73-i386/mono-0.20-1.src.rpm">mono-0.20-1.src.rpm</a>
</ul>
</td>
</tr>
@@ -891,7 +1169,6 @@
<ul>
* <a href="http://www.debianplanet.org/mono/">DebianPlanet</a>
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
</ul>
* Snapshots
@@ -906,256 +1183,7 @@
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
Hispalinux are updated every six hours.
* Compiling the code
* Compilation
There are a number of ways of compiling Mono
<ul>
<li>From the <a href="#scripts">scripts</A>
<LI><a href="#install">Manually</a> for the first time.
<li>Manually, <a href="#upgrade">while upgrading</a> to CVS
</ul>
(which is an easy way to get the latest CVS information)
<a name="scripts">
* Compiling with scripts
There are scripts to help build mono for both Unix and Windows. Get
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
href="mono-build-w32.sh">mono-build-w32.sh</a> for Windows.
These scripts automate the installation of GLIB and pkgconfig
(building from source on Unix, and using binary packages
provided by the GIMP for Windows project on Windows.) To use
the script, follow these simple steps:
<ul>
* Save the script for your platform somewhere (e.g. /usr/local/bin)
* Make the script executable (i.e chmod 755 /usr/local/bin/mono-build.sh)
* Create a directory to hold the mono source, and the compiled binaries (e.g. mkdir ~/mono)
* Change to the new directory (i.e. cd ~/mono)
* run the script (i.e. /usr/local/bin/mono-build.sh)
</ul>
The script requires wget on either platform, and building the
software requires make, gcc, automake, autoconf, and libtool.
You should install these packages from your distribution or
with the cygwin installer. You should also take care of setting
the right environment variables as the PKG_CONFIG_FLAGS, etc.
The script will download required packages from
www.go-mono.com and do a cvs checkout of mono in the current
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
anonymous cvs;
set your CVSROOT environment variable before running the script to
select a particular cvs server.
<a name="install">
** Building the software manually
You will need to obtain the Mono dependencies first: <a
href="http://www.gtk.org">glib 2.x</a> and
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
*** Building on Linux
<ul>
Unpack the Mono runtime distribution:
<pre>
tar xzvf mono-X.XX.tar.gz
cd mono-X.XX
</pre>
<p>
Then configure, compile and install:
<pre>
./configure --prefix=/usr/local
make
make install</pre>
This will give you a runtime, C# compiler and runtime
libraries.
If you want to recompile the runtime and the compiler,
follow these steps, first unpack the MCS package:
<pre>
tar xzvf mcs-X.XX.tar.gz
cd mcs-X.XX
</pre>
Then use the following command to compile and install:
<pre>
make -f makefile.gnu install prefix=/usr/local
</pre>
You can change /usr/local to something else if you want.
</ul>
*** On Windows, to install and work on the compiler and the class libraries:
**** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 2.0 and pkg-config libraries.
<ul>
* Install <a href="http://www.cygwin.com">Cygwin</a>.
* Install <a href="http://msdn.microsoft.com/downloads">
Microsoft .NET Framework SDK</a>.
* Change to the /usr/local directory
of your Cygwin installation.<br>
Unzip the precompiled packages listed above.
</ul>
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to "mcs".
* Compile:
<pre>
make
</pre>
</ul>
*** On Windows, to compile the mono runtime:
<ul>
* If you downloaded the Mono
<a href="http://www.go-mono.com/snapshots">nightly snapshot
</a>, untar the snapshot.
* Change directories to "mono".
* Configure, compile and install:
<pre>
./configure --prefix=c:/mono
make
make install
</pre>
</ul>
* Software resources and notes
The required and additional software can be downloaded here:
* Microsoft's .NET Framework SDK from
<a href="http://msdn.microsoft.com/downloads">
msdn.microsoft.com/downloads</a>.
* Cygwin and the GNU Make tools from
<a href="http://www.cygwin.com">www.cygwin.com</a>.
Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases.
* Precompiled GLIB 2.0 and pkg-config packages (and
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
* Download the Mono source code from the
<a href="#feb-11">packaged versions</a> or
the <a href="http://www.go-mono.com/snapshots">
nightly snapshots</a> or the <a href="anoncvs.html">
Anonymous CVS</a>. The nightly snapshots are done every
night at 10pm EST (Boston Time). The nightly snapshots are
not guaranteed to build, but most of the time they should.
</ul>
*** Notes on compiling GLIB 2.0 and pkg-config from source:
<ul>
* Some people observed problems with autoconf 2.52. Installing
autoconf 2.13 helped in those cases (don't forget to do a
`make maintainer-clean' after the update).
* Download, compile and install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a> from source.
(I had to change line 674 of
<nobr><tt>pkg-config-0.8.0/glib-1.2.8/gstrfuncs.c</tt></nobr> from
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
<pre>
tar xzvf pkg-config-0.8.0.tar.gz
cd pkg-config-0.8.0
./configure --prefix=/usr
make
make install
</pre>
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
If you dont have MS Visual C/C++ 4.0 or 5.0 or 6.0 you can also try
the binary package available at <a
href="http://www.gimp.org/win32/libiconv-dev-20001007.zip">
http://www.gimp.org/win32/libiconv-dev-20001007.zip</a>.
* Download, compile and install the
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
glib 2.0</a> from source.
</ul>
<a name="upgrading">
** Upgrading
To upgrade your Mono installation from CVS, it is very
important that you update your Mono and MCS modules from CVS
at the same time. Failure to do so might result in a
problematic installation as the runtime and the class
libraries will be out of sync.
Run the following commands to update your CVS tree (more
details in <a href="ccvs.html">Cvs and Mono</a> and the <A
href="anoncvs.html">AnonCVS and Mono</a> pages).
<pre>
(cd mono; cvs update -dP .)
(cd mcs; cvs update -dP .)
</pre>
Once you have updated your sources, remove any cached
assemblies or old binaries from the Mono "runtime" directory,
and then compile each component:
<pre>
(cd mono/runtime; rm *exe *dll)
(cd mono; make)
(cd mcs; make)
</pre>
Now you can install the result:
<pre>
(cd mono; make install)
</pre>
Notice that following the above procedure does not require you
to manually install the software in the `mcs' directory, as
the relevant files will be copied by the `mono' makefiles.
For instructions on how to build Mono, please refer to the
<a href="compiling.html">compiling</a> page.
+51
View File
@@ -0,0 +1,51 @@
* Drawing
Mono provides two mechanism to draw. The first exposes the
Microsoft System.Drawing API and the second exposes the <a
href="http://www.cairographics.org">Cairo</a> API.
* System.Drawing
The System.Drawing implementation in Mono is designed to be
compatible with the Microsoft API. The imaging model is very
similar to the PDF 1.4 composition-based imaging model.
Our implementation is a C# wrapper around the GDI+ C API (also
called the <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlusReference.asp">"GDI+
Flat API"</a>).
This means that the C# code is the same for Windows and Unix
systems. The following graph explains the situation:
<center>
<img src="images/system-drawing.png">
</center>
In Windows Mono uses the GDI+ library that is included with
the operating system (<tt>GDIPLUS.DLL</tt>, while in Unix we
provide an implementation of this API in the
<tt>libgdiplus.so</tt> shared library. Our
<tt>libgdiplus.so</tt> has the same C Flat API as the
<tt>GDIPLUS.DLL</tt>. Our implementation uses Cairo to do
the heavy lifting.
The implementation of GDI+ lives in mcs/class/System.Drawing
in the gdiplus directory and requires <a
href="http://www.cairographics.org">Cairo</a> to be installed
to get the package built.
The C# code that implement System.Drawing is the same for
Windows and Unix builds.
Since this is an implementation of an existing Microsoft API
no architectural changes go here.
* Mono.Cairo
The Mono.Cairo.dll assembly exposes the Cairo API to managed
applications. The mapping is a pretty straightforward one,
and the programming model is very close to the C API.
This API is still unstable due to the nature of the underlying
API being used and will be revisited as Cairo evolves.
+16 -1
View File
@@ -68,9 +68,20 @@
not interfere with code in other domains. This is useful if
you want to host different applications in your program.
Then you can load an assembly containing code into the domain:
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");
@@ -109,6 +120,10 @@
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
+339 -248
View File
@@ -1,5 +1,5 @@
<a href="#basics">Basics</a><br>
<a href="#ximian">The Ximian Role in the Mono project</a><br>
<a href="#novell">The Novell Role in the Mono project</a><br>
<a href="#gnome">Mono and GNOME</a><br>
<a href="#gui">Building GUI applications with Mono</a><br>
<a href="#msft">Mono and Microsoft</a><br>
@@ -23,8 +23,8 @@
<a href="#problems">Mono Common Problems</a><br>
A <a
href="http://www.es.gnome.org/documentacion/articulos/mono-puf/mono-puf/">Spanish
translation</a> is also available
href="http://www.monohispano.org/tutoriales/mono-puf//">Spanish
translation</a> is also available (it is outdated though)
<a name="basics"></a>
** Basics
@@ -39,14 +39,55 @@ A: The Mono Project is an open development initiative sponsored by
implement various technologies developed by Microsoft that have now
been submitted to the ECMA for standardization.
The Mono project has also sparked a lot of interest in developing
C#-based components, libraries and frameworks. Today Mono is not
limited to implement the .NET Framework, but also contains other
components. Some of the components of the Mono platform were
developed by the Mono team, and some others we have incorporated
from other open source efforts, the most important ones:
<ul>
<li><a
href="http://remoting-corba.sourceforge.net/">Remoting.CORBA</a>: A
CORBA implementation for Mono.
<li>Ginzu: An implementation on top of Remoting for the <a
href="http://www.zeroc.com">ICE</a> stack
<li><a href="http://gtk-sharp.sf.net">Gtk#</a>: Bindings for
the popular Gtk+ GUI toolkit for Unix and Windows systems.
Other bindings are available: Diacanvas-Sharp and MrProject.
<li><a
href="http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx">#ZipLib</a>:
A library to manipulate various kinds of compressed files and
archives (Zip and tar).
<li>GlGen (available from the Mono CVS): Bindings for OpenGL.
<li>Mono.LDAP: LDAP access for .NET apps.
<li>Mono.Data: We ship support for Postgress, MySql, Sybase,
DB2, SqlLite, Tds (SQL server protocol) and Oracle databases.
<li>Mono.Cairo: Bindings for the <a
href="http://www.cairographics.org">Cairo</a> rendering
engine (Our System.Drawing is implemented on top of this).
<li>Mono.Posix: Bindings for building POSIX applications using
C#.
<li>Mono.Http: Support for creating custom, embedded HTTP
servers and common HTTP handlers for your applications.
</ul>
Q: What is the difference between Mono and the .NET Initiative?
A: The ".NET Initiative" is a somewhat nebulous company-wide effort by
Microsoft, one part of which is a cross-platform development
framework. Mono is an implementation of the development framework,
but not an implementation of anything else related to the .NET
Initiative, such as Passport, software-as-a-service, or
corporate re-branding.
Initiative, such as Passport or software-as-a-service.
Q: What technologies are included in Mono?
@@ -59,7 +100,9 @@ A: Mono contains a number of components useful for building new
compiler, and a garbage collecting runtime.
* A class library that can work with any language
which works on the CLR.
which works on the CLR. Both .NET compatible class
libraries as well as Mono-provided class libraries
are included.
* A compiler for the C# language. In the future we
might work on other compilers that target the Common
@@ -103,38 +146,26 @@ Q: Will you offer an ECMA-compliant set of class libraries?
A: Eventually we will. Our current focus is on inter-operating
with the Microsoft SDK, but we will also offer an ECMA compliant
set of libraries.
subset of the libraries.
Q: What does the name "Mono" mean?
A: Mono is the word for `monkey' in Spanish. We like monkeys.
A: Mono is the word for `monkey' in Spanish. We like monkeys.
Q: Is Mono usable?
Q: Does Mono work today?
A: The JIT engine is usable on Intel x86 machines. An interpreter
can be used on other non-Intel x86 machines.
A: The execution engine works on various platforms, we support
Just-in-Time and Ahead-of-Time compilations on Intel x86 machines
(and soon PowerPC).
The class libraries are mature enough to run some real applications
(the compiler for instance, and every day more and more applications
are natively developed with Mono).
The class libraries are mature enough to run various real
applications: our C# compiler, ASP.NET, and Gtk#-based
applications.
Q: When will you ship it?
Q: When will you ship Mono?
A: Different parts of Mono will achieve usability at different stages,
once we are comfortable with the compiler, we will release "Mono Core",
which contains everything needed to develop applications with the base
class libraries, this will happen soon and in the meantime you can
download daily snapshots of our work. Also the full ASP.NET support is
close to completion.
Other higher level class libraries (ASP.NET, ADO.NET, WinForms) will
be released when they become stable.
Q: What major components will you include in Mono?
A: Hopefully everything that Microsoft ships on their Framework
(ADO.NET, ASP.NET, WinForms), and we encourage third party developers to
create reusable components that work on both Mono and Windows.
A: Please see the <a href="mono-roadmap.html">Mono Roadmap</a> for
more details on the release plans.
Q: How can I contribute?
@@ -156,26 +187,26 @@ Q: Miguel said once that Mono was being implemented in COBOL. Is that true?.
A: No. It was a joke.
<a name="ximian"></a>
<a name="novell"></a>
** The Ximian Role in the Mono Project
** The Novell Role in the Mono Project
Q: Why is Ximian working on .NET?
Q: Why is Novell working on .NET?
A: Ximian is interested in providing the best tools for programmers to
develop applications for Free Operating Systems.
A: Novell is interested in providing the best tools for programmers to
develop applications for Free Operating Systems.
For more information, read the project <a
href="rationale.html">rationale</a> page.
Q: Will Ximian be able to take on a project of this size?
Q: Will Novell be able to take on a project of this size?
A: Of course not. Ximian a supporter of the Mono project, but the only way
A: Of course not. Novell is a supporter of the Mono project, but the only way
to implement something of this size is for the entire free software
community to get involved. Visit the <a href="contributing.html">contributing</a>
page if you'd like to help out.
Q: What pieces will Ximian be working on?
Q: What pieces Novell be working on?
A: We will devote most of our resources to work on the pieces which are
on the critical path to release a development and execution
@@ -183,25 +214,30 @@ A: We will devote most of our resources to work on the pieces which are
the real world, it will achieve a critical mass of developers to
improve it further.
Q: Will Ximian offer Mono commercially?
Q: Will Novell offer Mono commercially?
A: When Mono is ready to be shipped Ximian will offer a commercial
support and services for Mono.
support and services for Mono. Mono components are also
available to be licensed commercially. For licensing details,
contact <a
href="mailto:[email protected]">[email protected]</a>
Q: Does Ximian provide consulting services around Mono?
Q: Does Novell provide consulting services around Mono?
A: Yes, Ximian does provide consulting services around Mono to
A: Yes, Novell does provide consulting services around Mono to
make it suitable to your needs. Porting the runtime engine,
customizing it, working on specific classes or tuning the code
for your particular needs.
Please contact <a
href="mailto:[email protected]">[email protected]</a>
for consulting services information.
Q: Will you wait until Mono is finished?
A: Mono will ship on various stages as they mature. Some people
require only a subset of the technologies, those will ship first.
More advanced features will take more time to develop. A support
time line will be available in June 2002.
require only a subset of the technologies, those will ship first,
see the <a href="mono-roadmap.html">Mono Roadmap</a> for details
<a name="gnome"></a>
** Mono and GNOME
@@ -215,6 +251,10 @@ A: In a number of ways. This project was born out of the need of
implement Winforms and the Drawing2D API and are considering
GObject support.
Mono team members work actively on the <a
href="http://gtk-sharp.sf.net">Gtk#</a> project: a binding of the
GNOME class libraries for .NET and Mono.
Q: Has the GNOME Foundation or the GNOME team adopted Mono?
A: Mono is too new to be adopted by those groups. We hope that the
@@ -243,7 +283,8 @@ A: Yes, we will provide a set of classes for implementing and using
Q: Does Mono depend on GNOME?
A: No, Mono does not depend on GNOME. We use a few packages produced by
the GNOME team like the `glib' library.
the GNOME team like the `glib' library, we also use other
third-party open source libraries like Cairo and ICU.
Q: But will I be able to build GNOME applications?
@@ -251,50 +292,58 @@ A: Yes, we will enable people to write GNOME applications using Mono.
Q: Do you have C# bindings for GNOME?.
A: Yes, we currently bind libgnome, libgnomecanvas, and libgnomeui --
although I dare say I have no idea how functional the bindings are
outside of what I tested in the sample app. I imagine other libraries
under the GNOME framework will be added on an as-needed (and as-requested)
basis...although a truly good bonobo binding will have to wait on the CORBA
remoting support which has been started recently.
A: Yes, the <a href="http://gtk-sharp.sf.net">Gtk# project</a>
provides bindings for Gtk+, Gdk, Atk, libgnome, libgnomecanvas, and
libgnomeui. Other libraries under the GNOME framework will be
added on an as-needed (and as-requested) basis.
<a name="gui"></a>
** GUI applications
Q: Will Mono enable GUI applications to be authored?
A: Yes, you will be able to build GUI applications. Indeed, that is our
main focus. We will provide both the Windows.Forms API and the Gtk# API.
A: Yes, you will be able to build GUI applications. Indeed, that is
our main focus. Today you can use Gtk# or #WT to develop GUI
applications, and support for Windows.Forms is underway.
Q: What is the difference between Gtk# and System.Windows.Forms?
A: Gtk# is a set of bindings for the Gtk+ toolkit for C# (and other
CIL-enabled languages). System.Windows.Forms is an API defined
by Microsoft to build GUI applications.
CIL-enabled languages), it integrates natively with the Gnome
desktop. System.Windows.Forms is an API defined by Microsoft to
build GUI applications.
Windows.Forms is currently being implemented on top of a modified
version of Wine that can be used as a library: WineLib.
Q: Why not implement System.Windows.Forms on top of Gtk# or Qt#?
A: There are several reasons for this.
A: Compatibility.
First of all, Gtk+ and Qt are standard toolkits on Linux, and their
proponents want to use their favorite toolkits when writing
applications.
Related to this is the idea that System.Windows.Forms is
brain-dead in certain areas, such as internationalization.
System.Windows.Forms uses explicit sizes for all controls, as opposed
to Gtk+ and Qt which use a box/packing model, which can better deal with
the different string lengths different languages will have.
Next is compatibility. It is not possible to implement
System.Windows.Forms on top of Gtk+/Qt and have 100% compatibility,
because System.Windows.Forms exposes some Win32-isms, such as the
Win32 message loop. In order to maintain compatibility, Wine must be used,
and this is being done; see the
<a href="/winforms.html">System.Windows.Forms effort page</a>.
Additionally, Wine apps don't currently fit in -- visually -- with
Gtk+ or Qt apps.
Although it is possible to run simple Windows.Forms applications
with the Gtk#-based backend of Windows.Forms, it is very unlikely
that the implementation will ever implement everything needed for
full compatibility with Windows.Forms.
The reason is that Windows.Forms is not a complete toolkit, and to
work around this problem some of the underlying Win32 foundation is
exposed to the programmer in the form of exposing the Windows
message handler (WndProc). Any control can override this method.
Also developers often P/Invoke into Win32 to get to functionality
that was not wrapped.
To achieve full compatibility, we would have to emulate this, and
it would take too long.
For more details see the <a href="winforms.html">winforms page</a>
Q: Wine applications do not look like native applications, what are
you going to do about this?
A: We have already a few patches into our version of Windows.Forms
that makes Wine use the colors and font settings from your desktop,
improving the integration a lot. In the future, we will continue
to improve this interoperability scenario.
Q: Will I be able to run my smart clients on systems powered by Mono?
@@ -304,7 +353,7 @@ A: As long as your applications are 100% .NET and do not make use
Q: Where can I learn more about Gtk#?
A: The following <a href="http://gtk-sharp.sourceforge.net>link</a> sends you to the page of the project.
A: The following <a href="http://gtk-sharp.sourceforge.net">link</a> sends you to the page of the project.
Q: What can I do with Gtk#?.
@@ -314,9 +363,7 @@ A: Gtk# is becoming very usable and you can create applications and
Q: How can I compile my HelloWorld.cs which uses Gtk#?.
A: Try: mcs --unsafe -o HelloWorld.exe -r glib-sharp -r pango-sharp -r
atk-sharp -r gdk-sharp -r gtk-sharp -r gdk-imaging-sharp
HelloWorld.cs
A: Try: mcs -r:gtk-sharp HelloWorld.cs
Q: Is there any way how to connect DataAdapter to some GTK# controls?
@@ -331,9 +378,14 @@ A: There is a sample file called `DbClient' in gtk-sharp/samples that you
Q: Do you have an estimate for when Windows.Forms will be released?
A: We do not know, volunteers are working on this, but there is no set
date yet. The current approach is using the Wine Library to implement
it.
A: The plan currently is aimed at Q3/2004.
Q: Do you have a comparission chart about the various toolkit
offerings?
A: A document explaining this is available at: <a
href="http://primates.ximian.com/~miguel/toolkits.html">http://primates.ximian.com/~miguel/toolkits.html</a>.
<a name="msft"></a>
** Mono and Microsoft
@@ -351,7 +403,7 @@ A: There is no high level communication between Ximian and Microsoft
Ximian was also invited to participate in the ECMA committee
meetings for C# and the CLI.
Q: Is Microsoft or Corel paying Ximian to do this?
Q: Are Microsoft or Corel paying Ximian to do this?
A: No.
@@ -390,13 +442,6 @@ A: No. MS Passport is unrelated to running .NET compatible applications
produced with the Mono tools. The only thing you will need is a
just-in-time compiler (JIT).
Q: What is a 100% .NET application?
A: A `100% .NET application' is one that only uses the APIs defined
under the System namespace and does not use PInvoke. These
applications would in theory run unmodified on Windows, Linux,
HP-UX, Solaris, MacOS X and others.
Q: If Microsoft will release a port of their .NET platform under the
`Shared Source' license, why should I bother with anything else?
@@ -434,12 +479,6 @@ A: No, it will not. Microsoft Office is a Windows application. To
learn more about running Windows applications on Intel Unix systems
refer to <a href="http://www.winehq.com">the Wine Project</a>.
Q: Will I be able to compile a Microsoft VB.NET application and execute
the resultant MSIL file under MONO on Linux without converting to C#
and recompiling?
A: Once we have a complete VisualBasic runtime, yes.
Q: Can mono run the WebMatrix?
A: No. That requires System.Windows.Forms support which is not
@@ -490,12 +529,33 @@ A: Mono requires Unicode versions of Win32 APIs to run,
Win32 libs. This is achieved by inserting -lunimono before
-lkerner32/user32 in the linker's specs file.
Q: Why support Windows, when you can run the real thing?
A: There are various reasons:
<ul>
<li> About half the contributors to Mono are Windows developers.
They have many different for contributing to the effort, and
we find it very important to let those developers run the runtime on Windows without forcing
them to use a new operating system.
<li> Supporting Windows helps us identify the portable portions
of Mono from the non-portable versions of it, helping Mono
become more portable in the future.
<li> Mono does not heavily modify the windows registry, update system DLLs,
install DLLs to the Windows/System32 path. Another words, I knew Mono would
not cause any legacy enterprise applications to stop working - and it
hasn't. However, our CIO er is againt it because of the changes that would
be made to Windows 2000, such as, affecting security.
</ul>
<a name="compatibility"></a>
** Compatibility
Q: Can Mono run applications developed with the Microsoft.NET fraemwork?
Q: Can Mono run applications developed with the Microsoft.NET framework?
A: Yes, Mono can run applications developed with the Microsft .NET Framework
A: Yes, Mono can run applications developed with the Microsoft .NET Framework
on Unix. There are a few caveats to keep in mind: Mono has not
been completed yet, so a few API calls might be missing; And in
some cases the Mono behavior *might* be incorrect.
@@ -529,6 +589,71 @@ A: Sometimes they will. But sometimes a .NET application might invoke
Win32 API calls, or assume certain patterns that are not correct
for cross-platform applications.
Q: What is a 100% .NET application?
A: A `100% .NET application' is one that only uses the APIs defined
under the System namespace and does not use P/Invoke. These
applications would in theory run unmodified on Windows, Linux,
HP-UX, Solaris, MacOS X and others.
Note that this requirement also holds for all assemblies used by the
application. If one of them is Windows-specific, then the entire program
is not a 100% .NET application.
Furthermore, a 100% .NET application must not contain non-standard data
streams in the assembly. For example, Visual Studio .NET will insert a
<tt>#-</tt> stream into assemblies built under the "Debug" target.
This stream contains debugging information for use by Visual Studio .NET;
however, this stream can not be interpreted by Mono (unless you're willing
to donate support).
Thus, it is recommended that all Visual Studio .NET-compiled code be
compiled under the Release target before it is executed under Mono.
Q: Can I execute my Visual Studio .NET program (Visual Basic .NET, Visual C#,
Managed Extensions for C++, etc.) under Mono?
A: Yes, with some reservations.
The .NET program must either be a 100% .NET application, or (somehow) have
all dependent assemblies available on all desired platforms. (How to do so
is outside the bounds of this FAQ.)
Mono must also have an implementation for the .NET assemblies used. For
example the System.EnterpriseServices namespace is part of .NET, but it
has not been implemented in Mono. Thus, any applications using this
namespace will not run under Mono.
With regards to languages, C# applications tend to be most portable.
Visual Basic .NET applications are portable, but Mono's
Microsoft.VisualBasic.dll implementation is incomplete. It is recommended
to either avoid using this assembly in your own code, only use the
portions that Mono has implemented, or to help implement the missing
features. Additionally, you can set 'Option Strict On', which
eliminates the implicit calls to the unimplemented
Microsoft.VisualBasic.CompilerServices.ObjectType class.
(Thanks to Jörg Rosenkranz.)
Managed Extensions for C++ is least likely to operate under Mono. Mono
does not support mixed mode assemblies (that is, assemblies containing both
managed and unmanaged code, which Managed C++ can produce). You need a
fully-managed assembly to run under Mono, and getting the Visual C++ .NET
compiler to generate such an executable can be difficult. You need to use
only the .NET-framework assemblies, not the C libraries (you can't use
<b>printf</b>(3) for example.), and you need to use
the linker options <tt>/nodefaultlib /entry:main mscoree.lib</tt> in
addition to the <tt>/clr</tt> compiler flag. You can still use certain
compiler intrinsic functions (such as <b>memcpy</b>(3)) and the STL.
You should also see <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmex/html/vcgrfconvertingmanagedextensionsforcprojectsfrommixed-modetopureil.asp"
>Converting Managed Extensions for C++ Projects from Mixed Mode to Pure
Intermediate Language</a> at MSDN.
Finally, you can use PEVERIFY.EXE from the .NET SDK to determine if the
assembly is fully managed.
Thanks to Serge Chaban for the linker flags to use.
<a name="pnpproject"></a>
** Mono and Portable.NET
@@ -635,7 +760,7 @@ Q: What about Soup? Can I use Soup without Mono?
A: Soup is a library for GNOME applications to create SOAP servers and
SOAP clients, and can be used without Mono. You can browse the
source code for soup using <a
href="http://cvs.gnome.org/bonsai">GNOME's Bonsai</a>.
href="http://cvs.gnome.org/bonsai/">GNOME's Bonsai</a>.
Q: Can I use CORBA?
@@ -680,10 +805,8 @@ A: MonoDoc is a graphical documentation browser for the Mono class
Q: I am having trouble compiling a new version of Mono from CVS, it
complains about my runtime being out of sync.
A: Jonathan Pryor has provided the following answer:
To upgrade your class libraries and compiler, see the See
README.building in the MCS directory.
A: To upgrade your class libraries and compiler, see the
INSTALL.txt in the MCS directory.
The single biggest source of confusion seems to be the "Your
runtime is out of sync" messages. Realize that this is *normal*
@@ -699,6 +822,18 @@ A: Jonathan Pryor has provided the following answer:
Once this is done, you can continue building your entire
environment.
For instance you just need to:
1.- Upgrade your Mono runtime (you might better do it with the
mono-build.sh script available in the <a
href="http://www.go-mono.com">download</a> page.
2.- Get the latest mono-lite tarball from the daily snapshots
<a href="http://www.go-mono.com/daily/">page</a>, unzip and
untar and copy all the dll files to your install path lib
directory (typically pointed by the $MONO_PATH variable).
Copy all the exe files to the install path bin directory.
3.- Then checkout or update your mcs CVS copy. Then follow
the steps described in mcs/INSTALL.txt.
Q: Will it be possible to use the CLI features without using byte codes
or the JIT?
@@ -715,6 +850,9 @@ A: With any luck, Free Software enthusiasts will contribute tools to
initially using the Microsoft implementation of the CLI and then
executed later with Mono.
We are recommending people to use and contribute to existing
projects like SharpDevelop, Anjuta and Eclipse.
Q: What kind of rules make the Common Intermediate Language useful for
JITers?
@@ -742,32 +880,14 @@ A: In Mono, xsp is just the name of the C# code generator for ASP.NET
Pages" technology so as they are very different things, they don't
conflict.
Q: What about using something like Jabber instead of the System.Messaging
namespace?.
A: In short, MSMQ is not something like Jabber, but asynchronous messaging
through queues. Useful queues do more than serialize messages, they are
also platform bridges.
Q: Are you supporting XMLDocument and relatives?.
A: Currently, we aren't implementing them yet. It would require updates to
most of the XmlNode derivatives so it's not a trivial task. We are
currently focusing on getting XPath support working.
Q: Is there any plan to develop an aspx server for Mono?.
A: The web server turned out to be very simple compared to the rest of the
work. Gonzalo has got the page generator mostly done (a module called
xsp, who has nothing to do with the XSP term used in the Apache Project).
Patrik has done a lot of the work to get the ProcessRequest to work.
You can try to help in the final touches to the System.Web classes and
writing regression tests for the widgets we have.
A: The XSP reference server is available and you can also use mod_mono
with Apache.
Q: Is there any way I can develop the class libraries using Linux yet?
A: Yes. Some class libraries can be developed on Linux. Search for
Paolo's post (he lists which classes can be compiled fine now).
A: Yes. Mono has been self hosting since May 2002.
Q: Is there any way I can install a known working copy of mono in /usr,
and an experimental copy somewhere else, and have both copies use
@@ -787,37 +907,27 @@ Q: Would it be too terrible to have another corlib signed as mscorlib?
A: We rename corlib to mscorlib also when saving the PE files, in fact,
the runtime can execute program created by mono just fine.
Q: Is there a relatively straightforward way to repeat the steps taken
by Paolo to get Mono completely self-hosted on Linux?
A: To build the compiler and class libraries in Linux, run:
<ul><li>make -f makefile.gnu. To install them, run: </li>
<li>make -f makefile.gnu install prefix=/opt/mono</li>
</ul>
If you want to produce and distribute a monocharge tarball, run:
make -f makefile.gnu dist
Of course you have to run these in the top level mcs directory.
Q: Is it possible to build a C# file to some sort of intermediate format which
can linked into a final module, like the traditional .c -> .o -> .so path?
A: You could do: mcs /target:module file1.cs, mcs /target:module file2.cs,
mcs /target:exe file1.dll file2.dll /out:mybin.exe
A: You can use:
Q: Is there any plans for implementing remoting in the near future?, When will
work in System.Runtime.Remoting.dll start?
mcs /target:library file1.cs, mcs /target:library file2.cs,
mcs /target:exe file1.dll file2.dll /out:mybin.exe
A: The remoting infrastructure is in place. Some of the channels and
formatters are not.
Q: Is there any plans for implementing remoting in the near future?
Q: I'm wondering if there are any plans to start using nant to build the
class lib + test lib. i think that every project need/should use an
automated build process and nant + a couple of tools enables this. is
the problem that the compiler can't run nant yet?
A: The remoting infrastructure is in place. We have implementations
of the TcpChannel, HttpChannel and the Soap and Binary Formatters.
They are compatible with .NET.
However, some classes from the library may have a different binary
representation, because they may have a different internal data
structure, so for example you won't be able to exchange a Hastable
object between Mono and MS.NET. It should not be a problem if you
are using primitive types, arrays or your own classes. In any case,
could you post a test case?
A: Maybe well be doing some sort of automated build process + testing when
the summer finish.
Q: My C code uses the __stdcall which is not availble on Linux, how can I
make the code portable Windows/Unix across platforms?
@@ -832,7 +942,7 @@ A: Replace the __stdcall attribute with the STDCALL macro, and include this
Q: I want to be able to execute Mono binaries, without having to use the "mono"
command. How can I do this?
A: From Carlos Perelló:
A: From Carlos Perelló:
<i>I think that the best solution is the binfmt feature with the
wrapper that exists with Debian packages at:
@@ -848,6 +958,23 @@ A: From Carlos Perell
This way you just execute: ./my-cool-mono-application.exe and it works
without the need of any wrapper.</i>
Q: I see funny characters when I run programs, what is the problem?
A: (From Peter Williams and Gonzalo Paniagua):
This is Red Hat 9 (probably) using UTF8 on its console; the bytes are
the UTF8 endianness markers. You can do:
LC_ALL=C mono myexe.exe
And they wont show up.
Alternatively, you can do:
$ echo -e "\033%G"
to enable UTF-8 on the console.
<a name="asp">
** Mono and ASP.NET
@@ -884,7 +1011,7 @@ A: Modules developed for Apache 2 are not compatible with Apache 1.3
Q: Can I run Apache 1 and Apache 2 on the same machine?
You can always keep a copy of Apache 2 running in paralell with your Apache
You can always keep a copy of Apache 2 running in parallel with your Apache
1.3 (either different port or using a reverse proxy).
You can also bind the two servers to different IP addresses on the
@@ -926,12 +1053,13 @@ Q: Why don't you use Java? After all, there are many languages that
A: You can get very good tools for doing Java development on free
systems right now. <a href="http://www.redhat.com">Red Hat</a> has
contributed a <a href="http://gcc.gnu.org">GCC</a> <a
href="http://gcc.gnu.org/java">front-end for Java</a> that can take
href="http://gcc.gnu.org/java/">front-end for Java</a> that can take
Java sources or Java byte codes and generate native executables; <a
href="http://www.transvirtual.com">Transvirtual</a> has implemented
href="http://www.google.com/search?q=transvirtual">Transvirtual</a>
implemented
<a href="http://www.kaffe.org">Kaffe</a> a JIT engine for Java;
Intel also has a Java VM called <a
href="http://www.intel.com/research/mrl/orp">ORP</a>.
href="http://www.intel.com/research/mrl/orp/">ORP</a>.
The JVM is not designed to be a general purpose virtual machine.
The Common Intermediate Language (CIL), on the other hand, is
@@ -950,37 +1078,11 @@ A: Yes, Java could target the CLI, Microsoft's J# compiler does that.
Q: Is it possible to write a JVM byte code to CIL converter?
A: Yes, it is possible. Here are a few starting point:
<ul>
* A byte code representation is really a flattened forest of
trees. Look at the Mono JIT engine to see how we compute
the basic blocks (this is used to figure out the "trees").
The forest is just an array of trees.
Indeed, run the JIT engine with -d (mono -d prog.exe) and
you will see how these trees look like.
You will have to do something similar for Java.
* Each "forest of trees" has a meaning. This meaning can now
be translated into the equivalent "meaning" in CLR-land.
</ul>
See also the <a href="http://weblog.ikvm.net/">IKVM project</a>
A: Yes, this is what <a href="http://weblog.ikvm.net">IKVM</a> does.
Q: Could mono become a hybrid CIL/java platform?
A: No. It is quite far from the philosophy of the project. The idea of Mono
is, to have only _one_ VM, on which all can run. And if there existing a
binary-converter from Java-.class to IL and if there existing something
like J-Sharp on Mono, you can write programs in Java, which than can run
on Mono. You do not need two bindings (like your example: GTK-Sharp _and_
Java-Gnome). You need only _one_ of it (GTK-Sharp). Thats the idea of Mono.
An other point is, that there are no people, who use Open Source-JVMs. They
all prefer Suns original. But for Unix there don't exist a .NET-Framework.
So it is possible, that in the future Mono is the standard .NET for Unixes.
A: This can be obtained easily with IKVM.
Q: Do you plan to implement a Javascript compiler?
@@ -1021,7 +1123,7 @@ Q: Do you plan to Embrace and Extend .NET?
A: Embracing a good technology is good. Extending technologies in
incompatible ways is bad for the users, so we do not plan on
extending the technologies.
making incompatible changes to the technologies.
If you have innovative ideas, and want to create new classes, we
encourage you to make those classes operate correctly well in both
@@ -1031,6 +1133,11 @@ A: Embracing a good technology is good. Extending technologies in
developed either by members of the Mono community, or other
groups.
In some cases, we have found the bits from Microsoft to be
incomplete, but we avoid breaking the API, instead we expose the
missing functionality in new assemblies (See Mono.Security and
System.Security).
Q: Is there any way I can develop the class libraries using Linux yet?
A: Yes. Mono has been selfhosting since March 2002.
@@ -1062,11 +1169,14 @@ A: Our main intention at Ximian is to be able to develop GNOME
Q: What operating systems/CPUs do you support
A: Mono currently runs on Linux, Windows, Solaris and FreeBSD.
A: Mono currently runs on Linux, Windows, Solaris, FreeBSD, HP-UX and
MacOS X.
There is a JIT engine available for x86 processors that can
generate code and optimizations tailored for a particular CPU.
Interpreters exist for the SPARC, PowerPC and StrongARM CPUs.
Interpreters exist for the SPARC v8, SPARC v9, Itanium, HP-PA,
PowerPC and StrongARM CPUs.
Q: Does Mono run on Windows?
@@ -1089,17 +1199,6 @@ A: It will depend only if you are using a particular assembly (for
in Mono for implementing a `Hello World Enterprise P2P Web
Service', you will not need any GNOME components.
Q: Is anyone working on porting Mono to IA-64?
A: Nobody is working on such port.
Q: If I were about to start a Mono port to IA-64,would the same lburg code
generator work for IA-64 also? or anything else need to be used for code
generation(as the processor architecture is totally different from IA32)
A: The lburg approach can be use for any processor architecture. But you might
think in another better approach.
Q: Do you plan to port Rhino to C#?.
A: Eto Demerzal has started a Rhino port to C#.
@@ -1119,34 +1218,17 @@ Q: What projects will you reuse or build upon?
A: We want to get Mono in the hands of programmers soon. We are
interested in reusing existing open source software.
Q: What about Intel's research JIT framework, ORP?
A: At this time, we are investigating whether we can use elements of
ORP for Mono. ORP is a research JIT engine that has a clearly
defined API that splits the JIT from the GC system and the actual
byte code implementation.
We are using some pieces of ORP (Their code generation interface)
and we use it as a source of inspiration for optimizations. Paolo
and Dietmar consider ORP as being one of the best JIT engines out
there (and their research work and papers are very useful if you are
interested in JIT technology).
Q: What about using GNU Lightning?
A: We are not using GNU Lightning. Our JIT is using an instruction
selector based on tree-pattern matching, and a code generation
interface that is very tied to the current architecture.
Q: Will I be able to use Microsoft SQL Server 2000 or will I need to switch
to a specific Open Source Database. Will I need to recode?
A: There should not be any need to recode.
A: There is no need to rewrite your code as long as you keep using
Microsoft SQL Server. If you want to use an open source database,
you might need to make changes to your code.
Q: What do I need to watch out for when programming in VB.NET so that I'm
sure to be able to run those apps on Linux?
A: Not making any PInvoke or DLL calls should and not using anything in
A: Not making any P/Invoke or DLL calls should and not using anything in
the Microsoft.* namespaces should suffice. Also do not use any
Methods/Classes marked as "This type/method supports the .NET Framework
infrastructure and is not intended to be used directly from your code."
@@ -1155,7 +1237,7 @@ A: Not making any PInvoke or DLL calls should and not using anything in
Q: Will built-in reporting be supported for crystal reports? This is a
heavily used part of our system.
A: Probably not. Crystal Reports are propriety. Someone may try to emulate
A: . Crystal Reports are propriety. Someone may try to emulate
the behavior, but no-one has yet volunteered.
Q: Who about writing to the registry? As I understand it, Linux does not have
@@ -1171,19 +1253,22 @@ A: Try to avoid it. Although there would be a emulation for registry in
Q: System.Data.SqlClient with FreeTDS, will you port parts of these to C# and
use them?
A: if their license is compatible with mono's, yes, we'd think about porting
them. If not, we'll continue with the plan of using FreeTDS.
A: This has been done.
<a name="gcc"></a>
** Mono and GCC
Q: Are you working on a GCC front-end to C#? A GCC back-end that will
generate CIL images? What about making a front-end to GCC that
takes CIL images and generates native code?
generate CIL images?
A: We are currently seeking volunteers for those projects.
Visit the <a href="contributing.html">contributing</a> section if
you are interested.
A: We would love to see a GCC modification that would generate CIL
images, but there is nothing at this point.
Q: What about making a front-end to GCC that takes CIL images and
generates native code?
A: There is no active work on this area, but Mono already provides
pre-compilation services (Ahead-of-Time compilation).
Q: But would this work around the GPL in the GCC compiler and allow
people to work on non-free front-ends?
@@ -1191,12 +1276,6 @@ Q: But would this work around the GPL in the GCC compiler and allow
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: We want the JIT engine and runtime engine because they will be able
to execute CIL executables generated on Windows, and so no recompilation
will be necessary.
<a name="performance"></a>
** Performance
@@ -1205,11 +1284,9 @@ Q: How fast will Mono be?
A: We can not predict the future, but a conservative estimate is that
it would be at least `as fast as other JIT engines'.
We would like to ship various JIT engines with Mono, just like
Microsoft has done with their .NET development platform. We could
provide a faster, JIT for fast load times but lower performance,
and an and an optimizing JIT that would be slower at generating
code but produce more optimal output.
Mono's JIT engine has been recently re-architected, and it provides
many new features, and layers suitable for optimization. It is
relatively easy to add new optimizations to Mono.
The CIL has some advantages over the Java byte code: it is really
an intermediate representation and there are a number of
@@ -1303,7 +1380,7 @@ A: First some background information.
The Mono strategy for dealing with these technologies is as
follows: (1) work around the patent by using a different
implementation techinque that retains the API, but changes the
implementation technique that retains the API, but changes the
mechanism; if that is not possible, we would (2) remove the pieces
of code that were covered by those patents, and also (3) find prior
art that would render the patent useless.
@@ -1320,6 +1397,17 @@ A: First some background information.
components, and things that we have developed (like Gtk#) or Apache
integration.
Q: Is Mono only an implementation of the .NET Framework?
A: Mono implements both the .NET Framework, as well as plenty of class
libraries that are either Unix specific, <a
href="http://www.gnome.org">Gnome</a> specific, or that are not
part of the .NET Framework but people find useful.
The following map shows the relationship between the components:
<img src="http://primates.ximian.com/~miguel/tmp/map.png">
<a name="etc"></a>
** Miscellaneous Questions
@@ -1348,17 +1436,12 @@ Q: Will Ximian offer certifications on Mono or related technologies?.
A: It's possible. But there is no plan about this. So the short answer is no.
Q: Are there any Boehm's GC binaries?
A: Yes. You can find RPMs <a href="http://java.thn.htu.se/~toor/">here</a>, though
if your distribution provides the correct packages, you should use those.
The suggested version of the Boehm GC is 6.1.
Q: How can I report a bug?
A: The best thing is to track down the bug and provide a simple test to
reproduce the bug. You can then add the bug to the
<a href="http://bugzilla.ximian.com/enter_bug.cgi">bugtracking system</a>.
A: The best thing is to track down the bug and provide a simple test
to reproduce the bug. You can then add the bug to our bug tracking
system. You can use our <a href="bugs.html">Bug Form</a> to enter
bugs for the appropriate component.
Please provide information about what version of mono you're using
and any relevant details to be able to reproduce the bug. Note that
@@ -1409,10 +1492,18 @@ Q: Is it possible to use Visual C++ with Mono?.
A: It's possible to run VC++ generated apps under Mono, but we do not
provide a Manager C++ compiler ourselves.
Q: Does Mono support generics?.
A: Mono doesn't support generics currently but a lot of work is being
done towards it.
<a name="problems"></a>
** Mono Common Problems
If you are having problems compiling or running Mono software
or if you think that you found a bug, etc. Please visit the
<a href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">Mono Common Problems</a> document and try there.
<a href="http://monoevo.sf.net/mono-common-problems.html">Mono Common Problems</a> document and try there.
** Credits
The FAQ contains material contributed by Miguel de Icaza, Jaime Anguiano, Lluis Sánchez.
+37 -80
View File
@@ -19,19 +19,18 @@
<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>
and easy to create one <a href="http://bugzilla.ximian.com/createaccount.cgi">here</a>.</li>
</ul>
** Current Status
<ul>
<li>Currently, it is able to connect to Firebird and Interbase databases
and execute commands</li>
<li>The new data
provider/driver is written in C# and provides a high-performance native
<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>
@@ -39,74 +38,31 @@
<li>In support of the new module, a new mailing list
<a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a> has
been created. Please use this list for any
questions that you may have about the provider</li>
<li>Stuff that works:
<ul>
<li>Currently implemented classes:
<ul>
<li>Connection and Connection Pooling</li>
<li>Command</li>
<li>Transaction</li>
<li>CommandBuilder</li>
<li>DataAdapter</li>
<li>DataReader</li>
<li>Error</li>
<li>ErrorCollection</li>
<li>Exception</li>
<li>Parameter</li>
<li>ParameterCollection</li>
<li>Transaction</li>
</ul>
</li>
</ul>
</li>
questions that you may have about the provider</li>
</ul>
** Action Plan
** New features & enhancements in 1.5 version
<ul>
<li>Bug fixing</li>
<li>Improving API reference documentation</li>
<li>Full testing with Firebird 1.5</li>
<li>Test with Mono ( http://www.go-mono.com )
<ul>
<li>Status : Started</li>
</ul>
</li>
<li>Support for array datatype
<ul>
<li>Status : Started</li>
<li>Comments: See Interbase API reference documentation</li>
<li>Add new file FbArray.cs for array fields management</li>
</ul>
</li>
<li>Support for Stored Procs calls that have returns values
<ul>
<li>Status : Pending.</li>
<li>Comments: Modify the isc_dsql_prepare method of GDS implementation for
allow to return the output parameters.</li>
</ul>
</li>
<li>Implementation of FbClientPermission and FbClientPermissionAttribute
<ul>
<li>Status : Pending</li>
<li>Comments: See if these are really needed for Firebird</li>
</ul>
</li>
<li>Improve Logger implementation
<ul>
<li>Status: Pending</li>
</ul>
</li>
</ul>
<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>
@@ -139,12 +95,13 @@
{
public static void Main(string[] args)
{
string connectionString =
"Database=C:\\PROGRAM FILES\\FIREBIRD\\EXAMPLES\\EMPLOYEE.GDB;" +
"User=SYSDBA;" +
"Password=masterkey;" +
"Dialect=3;" +
"Server=localhost";
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();
@@ -152,7 +109,7 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
object dataValue = myReader.GetValue(0);
object dataValue = reader.GetValue(0);
string sValue = dataValue.ToString();
Console.WriteLine("Value: " + sValue);
}
+72
View File
@@ -0,0 +1,72 @@
* 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>
+1 -6
View File
@@ -21,7 +21,7 @@
** 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
The <a href="http://www.go-mono.org/faq.html">Mono FAQ</a> has some useful
information too.
** GTK# On Linux
@@ -75,11 +75,6 @@ following:
<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>
+2 -2
View File
@@ -49,14 +49,14 @@ In order to test.
<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
<a href="http://www-306.ibm.com/software/data/db2/">IBM DB2</a> software. There
are versions for Windows, Linux, AIX, and Sun Solaris.</li>
<li>Make sure the assembly Mono.Data.DB2Client.dll was built and installed
where the other class libraries are installed.</li>
<li>If you do not have the source to mcs, get the source from
<a href="http://www.go-mono.com/download">here</a></li>
<a href="http://www.go-mono.com/download.html">here</a></li>
<li>Has a ConnectionString format like ODBC</li>
-26
View File
@@ -15,25 +15,13 @@
<a name="runtime">
** Runtime
We need a verifier that can be run on an executable (assembly)
and tells whether the metadata for the executable is correct
or not. It should report any anomalies.
For a list of anomalies in assemblies, check the various assertions
that are described on the ECMA documentation.
This will help test our generated executables and can be also
used as an external verifier.
<a name="classes">
** Classes
<ul>
TODO=jxta,The JXTA Peer to Peer foundation
* Implement a JXTA protocol implementation:
<a href="http://www.jxta.org">http://www.jxta.org</a>
TODO=camel,Mail API
* Implement a Mail API, similar to Camel or JavaMail (Camel has
significant architecture features that are required on a real
mailer).
@@ -45,7 +33,6 @@ TODO=camel,Mail API
Such an implementation could be used both with
Microsoft .NET and Mono.
TODO=multimedia
* Interfacing to Multimedia systems. You might want
to look into the Quicktime API. I know <a
href="mailto:[email protected]">Vladimir</a> has
@@ -58,23 +45,10 @@ TODO=multimedia
This list of projects ideas is outdated
TODO=guavac,Java compiler for .NET
* You could take one of the existing Java compilers
(Guavac comes to mind as it is so nice) and modify
it to generate .NET code rather than JVM byte
codes.
This should be a pretty straightforward task.
Guavac has the advantage of being written in C++ and
it could be compiled with the Microsoft Managed C++
compiler and produce a .NET executable with it.
TODO=Bonobo,Bonobo for Mono
* 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!
TODO=moniker,Object Naming System with Monikers
* 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
+416 -900
View File
File diff suppressed because it is too large. Load diff
+29 -1
View File
@@ -13,6 +13,34 @@
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
@@ -38,4 +66,4 @@
+31 -26
View File
@@ -9,6 +9,7 @@
* <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
@@ -33,7 +34,7 @@
* <a href="#python">Python</a>
</ul>
<a name="Java">
<a name="Java"></a>
** Java
There is a very interesting project to make a JavaVM for .NET
@@ -77,24 +78,20 @@
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://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal">Home
href="http://www.citi.qut.edu.au/research/plas/projects/cp_files/cpnet.html">Home
Page</a>, you can <a
href="http://www2.fit.qut.edu.au/CompSci/PLAS/ComponentPascal/gpcp1.1.4-netRTM.zip">
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
The Delta Forth.NET project: <a href="http://www.dataman.ro/dforth">Home
Page</a> and <a href="http://www.dataman.ro/dforth">more
details here</a>.
@@ -104,15 +101,25 @@
A subset of Scheme language called <a
href="http://radio.weblogs.com/0101156/stories/2002/03/19/tachy.html">Tachy</a>
<a name="Python">
<a name="Python"></a>
** Python
<a href="mailto:[email protected]">Brian Lloyd</a> is
working on linking the Python runtime with the .NET runtime.
More information on the PS.NET project can be found <a
href="http://www.zope.org/Members/Brian/PythonNet/index_html">here</a>.
An FAQ document is available <a
href="http://www.zope.org/Members/Brian/PythonNet/FAQ.html">here</a>.
href="http://www.zope.org/Members/Brian/PythonNet">here</a>.
<a name="dotlisp"></a>
** dotLisp
DotLisp is available from: <a
href="http://sourceforge.net/projects/dotlisp/">http://sourceforge.net/projects/dotlisp/</a>
<a name="JavaScript">
* Java Script
Cesar is working on Mono's implementation of JScript, the code
is available on CVS on module `mcs'.
* Missing languages
@@ -122,19 +129,6 @@
implementing or adapting a compiler for any of these
languages:
<a name="JavaScript">
* Java Script
The Mozilla project has an implementation of JavaScript
written in Java called <a
href="http://www.mozilla.org/rhino/">Rhino</a>.
You could port this code from Java to C#.
Note that since JavaScript allows for evaluation at runtime,
the compiler has to be built as a class that can be invoked at
runtime.
<a name="c">
* C
@@ -149,9 +143,20 @@
LCC is not an open source compiler, but it is free as long as you
do not profit from selling it.
<a name="ada"></a>
* ADA
A# is an ADA compiler for the CIL platform, it can be downloaded from:
<a
href="http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html">http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html</a>
<a name="Java">
* Java
Java bytecode can run directly on Mono using the <a
href="http://www.ikvm.net">IKVM</a> java virtual machine for
.NET.
We have a <a href="java.html">separate page</a> for Java.
+10 -1
View File
@@ -126,6 +126,15 @@
Used to discuss the Gtk bindings for Mono (<a href="http://gtk-sharp.sf.net">Gtk#</a>).
</td>
</tr>
<tr>
<td>
<b><a
href="http://lists.ximian.com/mailman/listinfo/mono-vb">mono-vb</a></b>
</td>
<td>
Mono's implementation of Visual Basic.NET.
</td>
</tr>
</table>
Other mailing lists of interest:
@@ -150,7 +159,7 @@
<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><a href="http://www.google.com/search"><img src="images/Logo_40wht.gif" border="0" alt="Google" align="middle"></a></td>
<td>
<table>
+91
View File
@@ -0,0 +1,91 @@
<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>
+28 -13
View File
@@ -59,11 +59,13 @@ 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
# This causes libgc-not-found problem
#
## Select the stable version anyway...
#if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
# export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
# export AUTO_DEVEL=${AUTO_STABLE}
#fi
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
@@ -98,6 +100,15 @@ function aclocal_scan () {
return 1
}
function install_icuconfig() {
if [ ! -f $here/install/bin/icu-config ]; then
wget http://www.go-mono.com/archive/icu-config
mv icu-config $here/install/bin
chmod 755 $here/install/bin/icu-config
fi
}
function install_package() {
zipfile=$1
markerfile=$2
@@ -123,11 +134,13 @@ 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"
# This causes libgc-not-found problem
#
## But we still need to use the mingw libs for glib & co
#ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
export PATH
export ACLOCAL_FLAGS
#export PATH
#export ACLOCAL_FLAGS
# Grab pkg-config, glib etc
if [ ! -d $here/install ]; then
@@ -146,6 +159,9 @@ install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
install_package libiconv-1.7.zip lib/iconv.dll iconv
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
install_package libgc-dev.zip lib/gc.dll gc-dev
install_package icu-2.6.1-Win32_msvc7.zip icu/bin/icuuc26.dll icu
install_icuconfig
if [ $install_pkgconfig = "no" ]; then
echo "Fixing up the pkgconfig paths"
@@ -158,10 +174,9 @@ if [ $install_pkgconfig = "no" ]; then
fi
# Needed to find the libgc bits
CPPFLAGS="$CPPFLAGS -I$here/install/include"
LDFLAGS="$LDFLAGS -L$here/install/lib"
export CPPFLAGS
export LDFLAGS
export CFLAGS="-I $here/install/include -I $here/install/icu/include"
export LDFLAGS="-L$here/install/lib -L$here/install/icu/lib"
export PATH="$here/install/icu/bin:$PATH"
# Make sure we build native w32, not cygwin
#CC="gcc -mno-cygwin"
+271
View File
@@ -0,0 +1,271 @@
<html>
<head><title>Mono Hacking Roadmap</title>
<style type="text/css">
h1 {
color: #efefef;
font-size: 18pt;
font-family: "Trebuchet MS";
border: 0;
margin: 0;
padding: 1em;
background: #666666;
}
h2, h3, h4, h5, h6 {
font-family: Verdana,sans-serif;
font-weight: bold;
margin: 9pt;
}
h2, h3 {
font-size: 18px;
}
h2 {
padding: 3px;
color: #000000;
}
h3 {
font-size: 13px;
border-bottom: 2px solid #dddddd;
}
h4 {
border-bottom: 2px solid #dddddd;
}
body, table {
background-color: #ffffff;
font-family: Verdana, sans-serif; font-size: 12px;
color: black;
margin: 0;
padding: 0;
border: 0;
margin-left: 20%;
margin-right: 20%;
}
p {
margin-left: 2em;
margin-right: 2em;
}
ul li {
margin-left: 2em;
}
img {
border: 0;
vertical-align: top;
}
</style>
</head>
<body>
<center>
<h1>
Mono Hacking Roadmap
<br>
<font size=1>Miguel de Icaza (<a href="mailto:[email protected]">[email protected]</a>)</font>
</h1>
<p>
</center>
<h3>Introductory notes</h3>
<p>The intention of this document and the <a
href="http://www.go-mono.com/mono-roadmap.html">Mono
Roadmap</a> is to be a basis for discussion. I want to build
on these two documents, and update as we get more insight into
the release process and the technologies we want to ship.
<h3>Background</h3>
<p>At the 2003 PDC Microsoft introduced many new technologies,
which many of us are very excited about. To me, it underlined
the importance of having a roadmap for users of Mono
technologies. That way they know precisely what to expect
from us when. We have been working on Mono for more than two
years, and it is important that we release a stable product to
the public.
<p>We have various degrees of maturity and feature
completeness in our code base, and I do not believe that we
should aim to be full implementation .NET 1.0 or .NET 1.1 in
our 1.0 release, that would just push the release at least for
another year . The <a
href="http://www.go-mono.com/mono-roadmap.html">Mono
Roadmap</a> emphasizes this assumption.
<p>The 1.0 release is critical for the adoption of Mono on the
Linux environment, even if it is not as complete as the
Framework, lets get something stable, and fun to people to
use.
<h3>Mono 1.0: missing functionality.</h3>
<p>For the 1.0 release, there are a number of features that we
will have to complete, in no particular order:
<ul>
<li>We need to fix corcompare and our cor-compare
pages to support both 1.0 and 1.1 API API compares.
We might want to move this outside of the Mono site,
to reduce the complexity of the HTML hackage, and use
ASP.NET to implement this. Bonus points if we use
Piers' nice dynamic tree to load the CorCompare data
dynamically.
<li>Global Assembly Cache: Needed to support the
parallel installation of .NET 1.0 and 1.1 assemblies,
and to fix the various Assembly loading routines.
<li>PowerPC port.
<li>ECMA profile: We will like take care of this one
at Novell.
<li>Assembly signing: I do not know what is the state
of this feature currently in Mono, maybe Sebastien and
Zoltan could give us an update here.
<li>ASP.NET caching: Non-existant at this point, this
needs to be implemented.
<li>Stability of ASP.NET and Mod_Mono. They are both
functional, but they fail under load. Much debugging
and testing must go into these components. As we use
more of it, we have found more little problems surface
on it.
<li>Codebase audit: Duncan did an audit of Corlib, but
we must do an audit of all the assemblies that we we
are going to ship, just to get an idea of the major
areas missing.
</ul>
<p>The team at Novell will focus on these areas. We of course
welcomes the contribution of the rest of the Mono team and
encourage the developers to focus on 1.0, to have a solid
release, and a solid foundation that can lead to 1.2
<p>We will use Bugzilla milestones to track these issues.
<h3>Synchronized releases</h3>
<p>It would be great if we can ship Mono 1.0 with Gtk# 1.0 and
a preview of Monodoc with the early documentation.
<h3>Alpha components.</h3>
<p>Various Mono developers are working on areas that will not
make it into the 1.0 timeframe: JScript, WSE, VB.NET,
Windows.Forms, Generics. We should continue to work on
those components, as they will come shortly after, and they
are probably more fun to develop than stabilizing the core.
<h3>New components: Whidbey and Longhorn features</h3>
<p>Everyone is probably very excited about the new features in
the Whidbey release of .NET, and most importantly the Longhorn
features. I am sure that many of us will not resist the urge
to put some of the new assemblies on CVS.
<p>We will likely add a profile for those of you that want to
work on this, and can not wait to get your hands in the code,
although keep in mind that your contributions wont reach the
general audience until we successfully ship 1.0.
<p>The things to keep in mind while adding code which is not
in .NET 1.0 and .NET 1.1:
<ul>
<li>Make sure you surround new classes and methods
with the appropriate define: NET_1_2 for things
available on the .NET 1.2 SDK (Whidbey) and NET_3
define for things only available on the Longhorn API.
We need this so that these methods do not appear on
the 1.0 and 1.1 builds.
<li>If you add generic types or methods, also surround
the method with GENERICS for now, since our compiler
can not currently build this code yet. This is
redundant with the NET_1_2 define but important.
<li>For every assembly you update, make sure that you
also add the relevant AssemblyInfo versioning
information. If possible, when you add methods from
.NET 1.2 to the build, also update the AssemblyInfo.cs
for the library.
</ul>
<p>There are three areas of new hot features:
<ul>
<li>Class library improvements (Whidbey, Mono 1.2
time frames).
<li>Indigo: They will release this in 2005 or 2006 and
wont make it into the 2004 Whidbey .NET 1.2 release.
<li>Avalon: Definitely a Longhorn-bound feature.
</ul>
<p>Most code that will reach the users in the short time frame
(next year) will be related to the Whidbey improvements, so I
encourage developers to work on those pieces, as they are the
ones that will help Mono the most.
<h3>ASP.NET 2.0 plans</h3>
<p>Gonzalo will continue to coordinate this effort; At this
time ASP.NET 2.0 features will not make it into Mono 1.0.
<h3>Avalon plans</h3>
<p>On the surface Avalaon seems like it uses something like
GdiPlus/Cairo for rendering. That was my initial feeling, but
it turns out that they had to rewrite everything to have a
performing rendering engine, and implement some very advanced
rendering features that include compositing with video
streams, also their brushes seem to be fairly powerful.
<p>XAML, a new markup language that binds tags to .NET classes
was also presented, but this is the least interesting part. A
tiny compiler translates the XAML source files into C# code.
The whole process is just like Glade, and should be easy to
do.
<p>The really elaborate parts are the rendering engine, and the
composition model for widgets. It is a complete new toolkit,
and if we want to implement this one, we will have to have a
new toolkit on Unix, incompatible with everything else, maybe
stressing the importance of working with other open source
projects in defining a cross-toolkit theming strategy to
address this particular problem.
<p>A Mini-Avalon is easy to do, but a complete one will
require much interaction with other groups: the Cairo folks
are probably the most qualified to assist us.
<h3>Indigo Plans</h3>
<p>Indigo is still an early product (<a
href="http://msdn.microsoft.com/Longhorn/understanding/pillars/Indigo/default.aspx?pull=/library/en-us/dnlong/html/indigofaq1.asp">FAQ</a>),
but it could benefit from continued development of our WSE1
and WSE2 components, later to bring some of the code to it.
<p>Again, since people are visibly excited about this
technology, we will lay down in the next few days a framework
to contribute to it.
<p>
<i>Last Updated: Nov 1st, 2003</i>
</body>
</html>
+396
View File
@@ -0,0 +1,396 @@
<html>
<head><title>Mono Roadmap</title>
<style type="text/css">
h1 {
color: #efefef;
font-size: 18pt;
font-family: "Trebuchet MS";
border: 0;
margin: 0;
padding: 1em;
background: #666666;
}
h2, h3, h4, h5, h6 {
font-family: Verdana,sans-serif;
font-weight: bold;
margin: 9pt;
}
h2, h3 {
font-size: 18px;
}
h2 {
padding: 3px;
color: #000000;
}
h3 {
font-size: 13px;
border-bottom: 2px solid #dddddd;
}
h4 {
border-bottom: 2px solid #dddddd;
}
body, table {
background-color: #ffffff;
font-family: Verdana, sans-serif; font-size: 12px;
color: black;
margin: 0;
padding: 0;
border: 0;
margin-left: 20%;
margin-right: 20%;
}
p {
margin-left: 2em;
margin-right: 2em;
}
ul li {
margin-left: 2em;
}
img {
border: 0;
vertical-align: top;
}
</style>
</head>
<body>
<center>
<h1>
Mono Project Roadmap
<br>
<font size=1>Miguel de Icaza ([email protected])</font>
</h1>
<p>
</center>
<i>Last update: Jan 18th, 2004</i>
<h3>Introduction</h3>
<p>This document describes the high-level roadmap for <a
href="http://www.go-mono.com">Mono</a>.
<p>The Mono project started in 2001 as an effort to implement
the .NET Framework to Unix. To bring both the new programming
model based on the Common Language Infrastructure and C# as
well as helping people migrate their existing knowledge and
applications to Unix. Mono today supports a wide variety of
operating systems, CPUs and a large chunk of the functionality
available in the .NET Framework.
<p>At the October 2003 PDC conference a number of new
technologies were announced. From the Mono release schedule
perspective, we should think about these technologies from
their release time standpoint, and the features that must be
supported.
<p>This document outlines the roadmap for the Mono project
from my perspective: what we can effectively deliver on the
dates outlined. Since Mono is a large open source project,
things might change and new features can be incorporated
into the plan if external sources devote enough attention to
those problems.
<p>This is the timeline:
<p>
<center>
<img src="roadmap.png">
</center>
<h3>Background</h3>
<p>So far Microsoft has published two versions of the .NET
Framework: 1.0 and 1.1, the later with incremental updates to
the changes in 1.0
<p>The Mono project has been tracking some of the
improvements available in those two releases, some of the
highlights of our work so far are:
<ul>
<li> Core: mscorlib, System, System.Security and
System.XML assemblies.
<li> ADO.NET: System.Data and various other database
providers.
<li> ASP.NET: WebForms and Web Services are
supported. Work on WSE1/WSE2 has also started.
<li> Compilers: C#, VB.NET and various command line tools
that are part of the SDK.
<li> Open Source, Unix and Gnome specific libraries.
</ul>
<p>Other components like Windows.Forms, Directory.Services,
Enterprise Services and JScript are being developed but are not
as mature as the other components but are under development by
various people.
<p>Some other smaller and less used components do not have yet
a Mono equivalent (System.Management, System.Drawing.Design).
<h3>Mono release strategy</h3>
<p>The levels of maturity of Mono fluctuate depending on the
development effort we have put into it, and the use we have
given to them. For example, the virtual machine and the C#
compiler very mature, while less commonly used functionality
in Mono like Windows.Forms or VB.NET are still under heavy
development.
<p>Our strategy is to release the mature components as Mono
1.0, and have upcoming versions of Mono add extra
functionality.
<h3>Mono 1.0 goals</h3>
<p>The Mono 1.0 release would include the following
components:
<ul>
<li>C# compiler.
<li>VM, with JIT and pre-compiler.
<li>IL assembler, disassembler.
<li>Development and security tools.
<li>Core libraries: mscorlib, System, System.XML.
<li>System.Data and Mono database providers.
<li>System.Web: Web applications platform and Apache
integration module.
<li>System.Web.Services: client and server support.
<li>System.Drawing.
<li>System.DirectoryServices
<li>JIT support: x86 and PPC architectures
(interpreter available for other architectures).
<li>ECMA profiles: special build options to build
Mono as an implementation of the various ECMA profiles
will be available.
<li>Java integration through IKVM.
<li>Embedding interface for the runtime.
</ul>
<p>Packaging:
<ul>
<li>mono: will contain the above features implementing
the .NET 1.1 API.
<li>mono-1.0-compat: Will include a build of the
libraries with the .NET 1.0 API, this is a
compatibility build for people running .NET 1.0
applications.
<li>mono-unstable: Will contain a snapshot of the
other technologies under development for developer's
convenience, but will be unsupported at this time.
These include the Generics edition of the C#
compiler.
<li>mono-ecma: A build that only includes the ECMA
components.
</ul>
<p>Release target: Q2/2004.
<p>Bug fix releases would be done on a monthly basis.
<p>For a detailed list, see the <a
href="mono-1.0.html">mono-1.0 feature list.</a>
<h3>Microsoft's Whidbey</h3>
<p>To understand post 1.0 editions of Mono, it is important to
put it into perspective with the Microsoft Whidbey product, to
be released in 2004.
<p>The new features in the Whidbey release of the .NET Framework
include:
<ul>
<li><b>Generic types</b><br>
These introduce changes to the compiler, runtime and
class libraries.
<li><b>ASP.NET 2</b><br>
Many tools to simplify web application development:
Master pages, new controls for common operations,
personalization and themes.
<li><b>Remoting</b><br>
New security channels and version-resistant remoting
(good news in the interop department).
<li><b>XML</b><br>
XQuery debuts on this release as well as an improved
XmlDocument system based on XPath: XPathDocument.
<li><b>Networking</b><br>
FTP client, Ssl streams.
<li><b>Console and Serial ports:</b></br>
Console terminal input/output is available as well as
serial port handling.
<li><b>Windows.Forms</b><br>
Layout containers finally appeared on Windows.Forms as
well as various new controls.
<li><b>ObjectSpaces</b><br>
An API for simpler data-base access.
</ul>
<h3>Mono 1.2</h3>
<p>The Mono team is developing in parallel some features that
wont make it to the 1.0 release in stable form. These will be
the foundation for the 1.2 release. The focus of this release
is to track the core API for the .NET Framework 1.2, but
again, only a subset of the total framework will be
available.
<p>Mostly, Mono 1.2 consists of components that were not
stable enough for Mono 1.0, but that would be mature at this
point, plus the incorporation of some new features from
Whidbey. In addition to the Mono 1.0 components, this release
will add:
<ul>
<li>Generic types support: C# compiler, execution
system and core class libraries.
<li>ASP.NET 2.0 improvements.
<li>Remoting improvements from Whidbey.
<li>System.XML: simpler improvements from Whidbey,
lacking the large additions (XQuery for example).
<li>Console and Serial ports support.
<li>New compilers: VB.NET and JScript support.
<li>WSE1/WSE2 implementations.
<li>System.Windows.Forms officially debuts with .NET
1.0 API; 1.2 API available as an unstable addition.
</ul>
<p>This release will by default provide .NET 1.2 APIs, but
compatibility libraries for 1.0 and 1.1 will be distributed in
the mono-compat package. The unstable components of Mono will
be distributed on the `mono-unstable' package, the libraries
in this release will be unsupported.
<p>Release target: Q4/2004.
<h3>Mono 1.4</h3>
<p>A refresh update on the Mono 1.2 release containing the
missing components from the previous release and complete any
under performing pieces. Updates to System.Xml, ASP.NET and
Windows.Forms to match the .NET 1.2 API.
<p>Release target: Q2/2005.
<h3>Peer projects</h3>
<p>Other projects like the debugger, the documentation
browser, Java integration through IKVM and Gtk# will remain on
their own schedules. This page will be updated to contain
that information when it becomes available.
<h3>Unscheduled activities</h3>
<p>A missing component of Mono is the Code Access Security
(CAS). This functionality is not needed in today's Mono as
currently Mono is being used to run fully trusted
applications, and we are not using it on embedded scenarios
where assemblies would have different trust levels.
<p>This is an important component, but requires three major
pieces of work:
<ul>
<li>Runtime support for implementing the security
demands.
<li>A guidelines document outlining what and where
must have security demands in place.
<li>A full audit of our class libraries: method by
method
</ul>
<p>All of these are major pieces of work, and we currently
have no plans to implement any of those. A volunteer effort might be
able to help with the runtime requirements and the document,
but until those are done, we are unlikely to start doing any
work on the actual class library audit and instrumentation.
<h3>Mono and WinFX: 2006</h3>
<p>WinFX is the name given to the new set of libraries that
makes up .NET in the Longhorn operating system: the existing
.NET set of class libraries, plus the new functionality
available in the OS.
<p>WinFX adds things like storage facilities (WinFS), a
new versatile communications stack (Indigo) and a new
eye-candy packed GUI programming system (Avalon).
<p>Although WinFS, Avalon and Indigo are very exciting
components, at this time it is too early to tell when those
components will be available for Mono. Open source developers
will very likely start work on these, but since they are still
far from being officially released, they are not in the radar
at this point.
<h3>Unsupported technologies</h3>
<p>Some technologies are very hard to implement or are being
phased out by components in the Longhorn time frame. In some
cases, we feel that they are not crucial to the future of the
open source desktop.
<p>System.EnterpriseServices and System.Management come to
mind, and we are unlikely to put any resources into the task.
We would gladly host the code if someone cares to implement
it, but they would likely remain unsupported features of Mono.
<h3>Mono Developer Strategy</h3>
<p>Mono Developers should read the <a
href="mono-hacking-roadmap.html">Mono Hacking Roadmap</a>
<h3>Comments</h3>
<p>Feel free to send your comments or questions the roadmap to
<a href="mailto:[email protected]">[email protected]</a>
<p>
<i>Last Updated: Nov 1st, 2003</i>
+295
View File
@@ -0,0 +1,295 @@
* Mono hacking TODO list
From time to time people that want to contribute to Mono ask
on the mailing list what they can help with. The generic
answer is always:
<ul>
<li> Write documentation.
<li> Write regression tests.
<li> Complete the implementations of the class libraries.
<li> Help fix the bugs filed in our bugzilla database.
</ul>
The proposed tasks are very important for the Mono project and
are suitable for people that can dedicate even just an hour
per week to contribute. But some people may need something
more focused to work on, such as students that want to do a
thesis on their contribution to Mono. For such people (and
also for professors who want ideas for thesis regarding JIT or
VM technologies), here is a list of tasks that need attention.
The estimated time to complete any of the tasks is between 1
week to several months to accomodate for different hacking
possibilities.
Note on the time estimates: they are very rough estimates, a
smart and dedicated hacker can complete the tasks in half of
the minimum time, a part-time hacker that also has a social
life can take more than double the max time, but there's
nothing to worry as long as progress is being done.
If some people (or group of people) want to take on a task,
they should write to the mono-devel mailing list and in the
relative bugzilla bug report. Discussions about how to
implement a feature or additional information on the task
should be mailed to the list or in the bugzilla report as well
so that people can keep informed on the progress or have the
information needed to start contributing.
Mono is an excellent platform for research on JITs, virtual
machines and specifically the CLR because it provides an
advanced free software implementation that can be used as a
basis for more optimizations, new approaches to problems and
new features.
There are different areas of interest where high-level
contributions can be made:
<ul>
* <b>JIT compiler</b>: tasks can be: adding more optimizations, reducing
compile time, porting to different architectures.
* <b>AOT compiler</b>: optimizing the compiler output and the AOT loader,
better support for multiple application domains.
* <b>VM runtime</b>: optimizing the runtime data structures, experimenting with
different garbage collectors, integration with different component models.
* <b>Class library</b>: many opportunities in the implementation of regular
expressions, Xml related technologies (XPath, XLST, etc).
* <b>Compilers</b>: writing compilers, interpreters and runtimes for langauges
so that they run on the CLR (using Reflection.Emit support, for example).
</ul>
Happy hacking!
<table border=1 cellspacing="0" cellpadding="0">
<tr>
<th>Area<th>Description<th>Difficulty<th>Time estimate<th>Bugzilla ID
</tr>
<tr>
<td>Runtime (mono/metadata)
<td>Optimize method vtable. Currently all the methods in a class
are added to the method vtable, including static and non-virtual methods.
This makes vtables bigger and the instructions to access them are longer,
increasing also code size. Some code in metadata/icall.c and maybe also some
remoting code may depend on the current layout: such code should be fixed as well.
<td>Medium
<td>1-2 weeks
<td>not assigned
</tr>
<tr>
<td>System assembly (mcs/class/System/)
<td>Implement the IL-based regular expression engine. Instead of
intepreting the regular expression pattern, a method is created at runtime using
Reflection.Emit. This makes for faster pattern matching because there is no
intepreter overhead and the matching code is jitted to fast native code.
Bonus points if the compiled regular expression is compatible with the ones generated
by the MS runtime.
<td>Medium-hard (thesis subject)
<td>2-4 months
<td><a href="http://bugzilla.ximian.com/show_bug.cgi?id=52605">52605</a>
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement common subexpression elimination.
Global and local common subexpression elimination needs to be implemented
to achieve better performance. The local case is easier and may take just one month.
It should be implemented in the context of the SSA framework (mini/ssa.c).
<td>Hard (thesis subject)
<td>2-4 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Optimize AOT compiler output.
Currently the code generated by the AOT compiler may be significantly slower than
jitted code. This is mostly because the AOT code supports multiple application domains
and some values that are constant at JIT-time are not constant at AOT-time. It may be
needed to write a simple dynamic linker and/or binary object writer. Bonus poinst if
it supports ELF, PE/COFF and mach-O binary formats. A possible idea for improvements
is also the use of appdomain ID-indexed tables to get at the appdomain specific data.
<td>Medium-hard (thesis subject)
<td>3-6 months
<td>not assigned
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Implement generics support.
We need to add support for the additional instructions and change existing ones to
support the generics requirements.
<td>Medium-hard
<td>2-3 months
<td>lupus and Martin
</tr>
<tr>
<td>JIT (mono/mini/)
<td>Port the JIT to additional architectures.
Currently ports are in the works for mips, arm, sparc, s390. None of the ports
are as feature-complete as the x86 one, yet, so help is needed in getting them
up to speed. Ports to more architectures are welcome as well.
<td>Medium-hard
<td>3-6 months per arch
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Add support for COM and/or XPCOM and/or ORBit.
We need a way to seamlessy use existing component technologies inside the mono runtime.
The COM support needs to match the MS runtime behaviour and is targeted at windows systems.
XPCOM and ORBit support are important on Unix platforms. Bonus points for developing
the runtime support so that different component systems can be used at the same time.
<td>Medium-hard (thesis subject)
<td>3-4 months for each
<td>not assigned
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for Code Access Security.
Support needs to be added to the JIT and the runtime to ensure
code that executes privileged operations is permitted to do so.
The task includes loading the security information from metadata,
collecting evidence, inserting calls to the permission objects,
stack walking to collect security info.
<td>Medium-hard (thesis subject)
<td>4-5 months
<td><a href="http://bugzilla.ximian.com/show_bug.cgi?id=52606">52606</a>
</tr>
<tr>
<td>Runtime and JIT (mono/metadata and mono/mini/)
<td>Implement support for a generational GC.
We're currently using a conservative non-moving GC.
Support for a generational and moving GC requires changes to the JIT
(to record locations in frames as well as registers that may contain
pointers to GC-allocated memory) and to the runtime code (when
objects are manipulated directly we should make sure they are pinned
and reachable by the GC also in the C unmanaged code). Code from an existing
precise GC such as the ORP one could be reused or a new GC may be developed
(increasing the estimated development time).
<td>Hard (thesis subject)
<td>6-8 months
<td>not assigned
</tr>
<tr>
<td>Compilers for dynamic languages
<td>Write a IL compiler and runtime support for dynamic languages like
Python, Perl, Ruby, PHP.
<td>Medium-hard (thesis subject)
<td>6-12 months
<td>not assigned
</tr>
<tr>
<td>Tools
<td>Write an implementation of the MSBuild compilation tool available in .NET 1.2
<td>Medium
<td>4-6 months
<td>not assigned
</tr>
<tr>
<td>Build tools.
<td>Currently it is easy for people doing daily
updates from CVS to break their installation. Design a mechanism by
which Mono never fails to compile.
<td>Easy
<td>1-2 weeks
<td>not assigned
</tr>
<tr>
<td>Documentation.
<td>Editorial review of the Monkeyguide: The monkeyguide is known to contain outdated
statements, it needs to be reviewed and it needs an
editor to take control over it. Some simple tasks
include flattening out the Monkeyguide, since it is
too nested today.
<td>Easy
<td>Ongoing work.
<td>not assigned
</tr>
<tr>
<td>Documentation
<td>GNOME.NET Chapter should probably be separated
from the Monkeyguide. This is probably the most
complete chapter, but it is burried in various nested
levels of stuff, and because of this, it is not being
updated. Write a chapter on custom control
authoring and common patterns of app development.
<td>Easy
<td>Ongoing work.
<td>not assigned
</tr>
<tr>
<td>Documentation Tools
<td>The Monodoc collaborative service needs a better
administration tool than it has today; Someone needs
to redo the UI and streamline its process.
<td>Easy
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>Comment Service API
<td>Design a full system for comments and ratings so
people can annotate the documentation in Monodoc.
<td>Easy
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>POSIX bindings.
<td>The Mono.POSIX assembly is a project to create a binding to
the various low-level calls in Unix which are not available
thought he regular assemblies in .NET.
The work should be done in two steps: one step is doing the
low-level binding for the system call, and another possibly is
to expose .NET-level objects like Streams for common patterns:
for example Streams for socketpairs.
<ul>
<li>Complete the bindings for all POSIX calls.
<li>Design a glue layer, because the various low-level
structures and values differ from operating system to
operating system, so we must do the translation from
our own set of definitions to the OS definitions.
The details are availble on bug <a
href="http://bugzilla.ximian.com/show_bug.cgi?id=51849">51849</a>
for details.
</ul>
<td>Medium
<td>2-3 months + QA.
<td>not assigned
</tr>
<tr>
<td>System.Drawing CODECs
<td>Complete the JPEG and PNG codecs to be fully
finished; Implement EXIF data loading; Implement the missing image codecs.
<td>Medium
<td>2-3 months.
<td>not assigned
</tr>
<tr>
<td>System.Data updates
<td>.NET 1.2 introduced many new updates to the
System.Data namespace: MARS and ObjectSpaces are the
big ones.
<td>Medium
<td>6-9 months.
<td>Work with the mono-devel-list to keep track of things.
</tr>
</table>
+7 -7
View File
@@ -43,7 +43,7 @@
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.
<p>Testing for Mono's Mono.Data.MySql and ByteFX's ByteFX.Data.MySqlClient is below.
** Current Status
@@ -51,7 +51,7 @@
<ul>
<li>ByteFX.Data.MySQLClient
<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>
@@ -109,7 +109,7 @@
The current plan for the MySQL data providers:
<ul>
<li>ByteFX.Data.MySQLClient
<li>ByteFX.Data.MySqlClient
<ul>
<li>Testing and fixes</li>
<li>Implement missing features</li>
@@ -163,7 +163,7 @@
<pre>
using System;
using System.Data;
using ByteFX.Data.MySQLClient;
using ByteFX.Data.MySqlClient;
public class Test
{
@@ -175,7 +175,7 @@
"User ID=myuserid;" +
"Password=mypassword;";
IDbConnection dbcon;
dbcon = new MySQLConnection(connectionString);
dbcon = new MySqlConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
@@ -283,8 +283,8 @@ mono TestExample.exe
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
string FirstName = (string) reader["firstname"];
string LastName = (string) reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+6 -6
View File
@@ -25,7 +25,7 @@
<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>List of <a href="http://www.sqlsummit.com/odbcvend.htm">ODBC Vendors</a>
<li>ODBC can connect to various databases which has an ODBC driver installed:
<ul>
@@ -38,7 +38,7 @@
<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>
<li><a href="http://www.microsoft.com/office/access">MS Access</a>
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a> on UNIX)</li>
</ul>
@@ -105,14 +105,14 @@
<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
<li>Have acess to a <a href="http://www-306.ibm.com/software/data/db2/">IBM DB2 Universal Database</a> or
you can download from IBM</li>
<li>Read these web pages about Unix, ODBC, and IBM DB2
<ul>
<li><a href="http://www.unixodbc.com/doc/db2.html">unixODBC web page about IBM DB2</a></li>
<li><a href="http://www-3.ibm.com/software/data/db2/udb/ad/v8/cli/t0010406">IBM web page about unixODBC and DB2</a></li>
<li><a href="http://www-306.ibm.com/software/data/db2/udb/ad/v8/cli/t0010406.htm">IBM web page about unixODBC and DB2</a></li>
</ul>
</li>
@@ -175,8 +175,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
string FirstName = (string) reader["firstname"];
string LastName = (string) reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+978
View File
@@ -1,3 +1,981 @@
@item Jul 9th, 2003: ASP.NET web services, coverage tools.
Web Services keep advancing: now we also support server-side
authoring of Web Services as well as web service clients
(which shipped in Mono 0.25). This works using our ASP.NET
runtime, so it works with either XSP or the Apache module. The
new Web Services work from Lluis added the missing bits:
<ul>
<li> .asmx files.
<li> Method calls with complex parameters (whatever XmlSerializer can currently serialize, which is a quite a lot).
<li> ref and out parameters.
<li> Soap headers (In, Out and InOut).
<li> Soap extensions, both global (configured in web.config) and particular to methods (configured using attributes).
</ul>
For more details, see Lluis <a href="http://lists.ximian.com/archives/public/mono-devel-list/2003-July/001449.html">post</a>
GUI-wise: Work on <a href="http://xr.xwin.org">Xr</a> to
implement System.Drawing continues. This will provide a full
GDI+ implementation for Mono, and this will be hooked up into
Gtk# and System.Windows.Forms.
MonoDoc keeps moving along, with a new web-based version
coming up next, and we are also exploring a collaborative
extension to allow people to contribute documentation through
their web browsers.
Zoltan's Coverage analysis tool has been checked into CVS.
With this tool it is now possible to find which class library
code paths are missing regression tests. The module is
`monocov'. Details are <a
href="http://www.nexus.hu/vargaz/">here</a>. A fresh Gtk#
version is available now.
Jean's remoting-based Soap implenentation is also maturing.
@item Jun 26th: Mono 0.25 has been released.
We have released Mono 0.25. A list of the new features is
available <a href="archive/mono-0.25.html">here</a>.
Packages for Windows, and various Linux distributions are
available on our <a href="download.html">download</a> page.
@item Jun 17th, 2003: Web Services client; Profiling hooks
Lluis and Gonzalo have checked into CVS the support for web
services in the Mono runtime. This allows Mono to work as a
web services client. We still require a WSDL compiler to
compile the initial stub, but Erik has the beginning of a WSDL
compiler ready and Atsushi has continued work on his
experimental Xml Schema to C# class generator.
As part of this, the Mono Http runtime has been rewritten to
increase reliability, scalability and conformance to the
specs. Also our io-layer has been extended to not have
arbitrary limits. This was done as part of our collaboration
with SourceGear.
Paolo has commited the new pluggable profiling API to the Mono
runtime: now the profiler is built as a module, and a new code
coverage analysis has been checked in (and Zoltan already
added improvements to it).
Mark's Mozilla bindings continue to improve, and we will shortly
migrate the Mono documentation browser to use Mozilla, to take
advantage of the tutorial's use of CSS.
Jackson's work on the IL assembler and Ben on running
regression tests have provided us with a very needed tool in
the Mono toolkit. One of the last missing pieces on the SDK.
On the crypto world, we got Sebastien's certificate viewer
checked into CVS and the crypto code keeps advancing by leaps
and bounds.
Alexandre and Aleksey Work continues on Windows.Forms on top
of Wine and Gtk# (the former for full compatibility, the later
for ease-of-authoring).
Cesar checked in the beginning of the semantic analysis code
for his JScript compiler, and will be working on it full time.
@item Jun 11th, 2003: SourceGear and Ximian announce partnership
Ximian, Inc., the leading provider of desktop and server
solutions enabling enterprise Linux adoption, today announced
that SourceGear Corporation will use Mono\x{2122} Project
technology to offer cross-platform versions of its
products. In addition, the companies have entered into a
development partnership under which Ximian will provide
custom Mono development to enable delivery of SourceGear
products later this year. As a result, SourceGear will offer
both UNIX and Linux clients for its SourceGear Vault source
code management tool, enabling broader use of its solutions in
mixed-platform development organizations.
<a href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=sourcegear">Read more...</a>
Some technical details are available <a
href="http://lists.ximian.com/archives/public/mono-list/2003-June/014334.html">here</a>.
@item May 20th, 2003: OpenLink releases WineLib patches.
OpenLink <a
href="http://lists.ximian.com/archives/public/mono-winforms-list/2003-May/000284.html">announced</a>
the release of Vladimir's work to turn Wine into a library
that can be used dynamically from Mono. This work simplifies
the work on System.Windows.Forms as it is no longer necessary
have a special version of the GC, nor have a stub program.
The patches are available <a
href="http://www.openlinksw.com/mono/">here</a>.
Mono packages for the Linux/s390 are available now in the <a
href="download.html">download page</a>.
@item May 10th, 2003: Eclipse runs on Mono
Today Zoltan Varga announced that he got the <a
href="http://www.eclipse.org">Eclipse IDE</a> running on top
of Mono+<a href="http://www.ikvm.net">IKVM</a>.
A screenshot of Eclipse running with Mono can be found <a
href="images/ikvm-screenshot.png">here</a>
@item May 6th, 2003: Mono 0.24 ships
We have released Mono 0.24 which includes our new code
generation engine. A list of the new features is available <a
href="archive/mono-0.24.html">here</a>.
Packages for Windows, and various Linux distributions are
available on our <a href="download.html">download</a> page.
We are shipping Gtk# and MonoDoc packages for the first time.
@item Apr 21st, 2003: Virtuoso 3.0 ships.
<a href="http://www.openlinksw.com">OpenLink's</a> released
their <a href="http://www.openlinksw.com/press/virt3rel.htm">Virtuoso
3.0</a> database system. Virtuoso ships on Windows and Linux.
On Linux they use Mono as their runtime to host C#, .NET and
ASP.NET. Congratulations to OpenLink for their release.
Virtuoso can be downloaded <a
href="http://oplweb2.openlinksw.com:8080/download/virtuoso.vsp">here</a>
and a demo is available <a
href="http://demo.openlinksw.com:8890/tutorial/hosting/ho_s_2/ho_s_2.vsp">here</a>.
OpenLink is contributing fixes and code to the Mono project on
an ongoing basis.
Jon Udell wrote a small <a
href="http://www.infoworld.com/article/03/03/14/11stratdev_1.html">entry</a>
@item Apr 19th, 2003: RelaxNG validating reader; Activities.
Atsushi has created a <a
href="http://www24.brinkster.com/ginga/RelaxngValidatingReader/">RelaxNG</a>
validating XML reader.
There is activity on the <a
href="http://www.gotmono.com">GotMono forums</a> and the <a
href="http://www.nullenvoid.com/gtksharp/wiki/">Gtk# Wiki</a>
@item Apr 11th, 2003: First Mono Book is out; Team pages.
The first book to cover Mono is out. This book is currently
only available in German, you can find it <a
href="http://www.amazon.de/exec/obidos/ASIN/3827264928/qid=1050051051/sr=2-1/ref=sr_2_3_1/028-2755135-1623712">here</a>
We now have a page for the <a href="team.html">Mono Team</a>
where we include a list of some of the people who have made
Mono possible. If you have CVS access, please update the page
to include your information.
@item Apr 5th, 2003: New compilation engine.
The new Mono compilation engine has been placed on CVS, the
details are <a
href="http://lists.ximian.com/archives/public/mono-list/2003-April/013269.html">here</a>
Zoltan has commited his <a
href="http://lists.ximian.com/archives/public/mono-devel-list/2003-April/000274.html">typed
allocation</a> patches to CVS as well.
@item Apr 3rd, 2003: NUnit 2.0 GTK# GUI; GtkMozEmbed; SWT#
Gonzalo has checked in his <a href="http://gtk-sharp.sf.net">Gtk#</a>-based
<a href="http://nunit.org">NUnit</a> tool. Screenshots are <a
href="http://primates.ximian.com/~gonzalo/mono/shots/running.png">here</a>
and <a
href="http://primates.ximian.com/~gonzalo/mono/shots/finished.png">here</a>
Mark has checked his bindings for Gtk-based Mozilla into CVS,
module name: `GtkMozEmbed'. Read the <a
href="http://lists.ximian.com/archives/public/mono-list/2003-April/013247.html">details</a>
The SWT port to C# using Gtk is <a
href="http://lists.ximian.com/archives/public/sd-mono-port/2003-March/000114.html">progressing</a>. Screenshots are
<a href="http://www.roboto.ch/swt">here</a>.
@item Mar 28th: Mono community site.
<a href="http://www.gotmono.com">www.gotmono.com</a> has
openend its door: Got Mono is a Mono Community site.
@item Mar 25th: Second Mono Survey
<table width="100%" cellpadding="0" cellspacing="1" border="0" bgcolor="blue">
<tr>
<td valign="top">
<div style="background: #c0d0ff; margin: 0px 0px 0px 0px; padding: 1px;">
What do you think about Mono?
Is your company involved with the development and
deployment of web applications? Is Linux becoming an
important part of your company's business application
strategy? Are you considering Mono for your next
project? Would you like to shape the future of Mono
and the use of Linux in business critical
applications?
If you answered yes to any of these questions, we
would like to talk with you. If interested, please
email us at <a
href="mailto:[email protected]">[email protected]</a>.
</div>
</td>
</tr>
</table>
@item Mar 20th: Windows.Forms and Wine.
Alexandre has provided a modified version of the GC system
that will work with and Mono. See the mono-winforms-list. It
is now possible to run our Win32-based implementation of
Windows.Forms with Mono on Linux.
@item Mar 7th: Mono 0.23
A new freshly baked release of Mono is available. Release
notes are <a href="archive/mono-0.23">here</a>. This is mostly a
bug fix release. No new features.
@item Mar 5th, 2003: Mono 0.22; MonoDoc 0.2; Debugger 0.2.1: Release-o-Rama.
Mono 0.22 has been released. See the <a
href="archive/mono-0.22">release notes</a>. This is a bug fix
release.
A new preview of MonoDoc 0.2, the Mono Documentation browser
has been <a href="http://lists.ximian.com/archives/public/gtk-sharp-list/2003-March/001266.html">released</a>.
Martin also announced a <a
href="http://lists.ximian.com/archives/public/mono-list/2003-March/012756.html">new
release</a> of the Mono Debugger (both GUI and command line).
@item Mar 3rd, 2003: The Mono Hackers Hall Of Fame welcomes Zoltan Varga
The <a href="hackers.html">Mono Hackers Hall Of Fame</a>
continues to show our appreciation to the excellent
contributors that make <b>mono::</b> a successful free
software project.
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 <a href="http://www.ikvm.net">IKVM</a> Java virtual
machine.
@item Mar 2nd, 2003: New Mono mailing list.
A new mailing list for <a
href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">Mono
Development</a> has been created.
@item Feb 27th, 2003: Mono 0.21 released
Mono 0.21 has been released. This is only a bug fix release.
The <a href="archive/mono-0.21">release notes</a> are available.
Windows binary is available <a href="archive/mono-0.21-win32-1.exe">here</a>
@item Feb 25th, 2003: Mono 0.20 for Windows released; New Apache module released.
Packages of Mono for Windows have been <a
href="archive/mono-0.20-stable-win32-2.exe">released</a>.
Thanks to Daniel, Johannes and Paolo for setting this up.
Daniel has released a new version of his Mono Apache module that
handles ASP.NET. The code is available at <a
href="http://apacheworld.org/modmono/">here</a>
Nick has posted an update on the progress on our <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/012467.html">regression
tests</a>. We are looking for more tests, and more volunteers to write them.
Also, remember to contribute to the Gtk# documentation effort,
momentum is picking up! See the entry for Feb 18th for more details.
@item Feb, 23rd, 2003: Mono 0.20 released; Gtk# 0.8 released.
Mono 0.20 has been released. Check out the <a
href="archive/mono-0.20">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
There are no major features in this release, mostly bug fixes
and performance improvements.
Gtk# 0.8 has been <a
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2003-February/001114.html">released</a>
<b>Important</b>: The contributed binaries for Windows
binaries of Mono 0.20 contain a virus. Please read <a
href="virus.html">this</a> if you installed the binary.
@item Feb 18th, 2003: Volunteers to document Gtk#
With the availability of a documentation browser, we are
looking for volunteers to help us complete the documentation
of the Gtk# binding for Mono.
Experience with Gtk is useful, but not mandatory. We have
checked in stubs, and we have instructions, and resources to
how to complete this process <a
href="documentation.html">here</a>. Mail the <a
href="mailto:[email protected]">[email protected]</a>
for further discussion.
@item Feb 14th, 2003: OpenGL# bindings for Mono; Mono Basic updates.
Mark Crichton has completed his OpenGL/GLUT bindings for
Gnome. A screenshot can be seen <a
href="sshots/oglcs.png">here</a>. The bindings are available
on the Mono CVS repository on the module `glgen'. This is a
straight binding to the C API.
Marco has <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/011752.html">posted
an update</a> on the current state of the free VB.NET compiler
for Mono.
We are looking for contributors and maintainers to the
JavaScript compiler as well (Janet)
@item Feb 12th, 2003: New assemblies, Gtk# stub documentation, Authenticode, Polish site
Mono now distributes a few new assemblies: Mono.Security.Win32
as a layer to use the crypto functionality on Win32. The
Mono.Posix assembly which contains functionality for taking
advantage of Unix facilities.
A <a href="http://www.go-mono.pl/">Mono site in Poland</a>.
Stubs for the Gtk# documentation have been checked into CVS.
If you want to contribute please read <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/012108.html">this
message</a>
Mono development is moving quickly: Tim and Daniel have been
improving the Oracle database provider and Sebastien Pouliot
has got code signing to work using Authenticode with pure open
source and managed code. Plenty of new VB.NET work from Marco
(compiler) and Daniel (runtime). Also Jackson has resumed
work on the IL assembler and the fully managed library to
generate CIL images (Sergey wrote the first Mono.PEToolkit).
@item Feb 11th, 2003: Mono Weekly News, New assemblies.
<a href="http://monoevo.sourceforge.net/mwn/index.html">Mono
Weekly News</a>: Includes a new interview, software
announcements and the PHP/Mono integration.
@item Feb 5th, 2003: MonoDoc 0.1
A <a
href="http://www.go-mono.com/archive/monodoc-0.1.tar.gz">preliminary
release</a> of the Mono Documentation Browser is now availble.
Release <a
href="http://lists.ximian.com/archives/public/mono-list/2003-February/011935.html">notes</a>
@item Jan, 22th, 2003: Mono wins award, OpenLink releases Virtuoso.
Mono won the `Best Open Source Project' award at the Linux
World Expo. A description is <a
href="http://linuxtoday.com/news_story.php3?ltsn=2003-01-23-024-26-OP-EV">here</a>
Open Link has a <a
href="http://biz.yahoo.com/prnews/030123/neth013_1.html">press
release</a> about Virtuoso 3.0: the first commercial product
shipping that uses Mono.
@item Jan, 20th, 2003: Mono 0.19 released; Screenshots page; Gtk# 0.7
Mono 0.19 has been released. Check out the <a
href="archive/mono-0.19">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
There are no major features in this release, mostly bug fixes
and performance improvements.
We have now a new section <a href="screenshots.html">with
screenshots</a> of various Mono applications. You can see
there the new released Debugger, as well as the work in
progress on the documentation browser.
<a href="http://gtk-sharp.sf.net">Gtk# 0.7</a> has been <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/005222.html">released</a>
@item Jan, 19th, 2003: Mono Debugger released.
After six month of extensive development, Martin Baulig has
released the first version of the Mono debugger. The Mono
debugger is written in C# and can debug both managed and
unmanaged applications, support for multiple-threaded
applications and should be relatively easy to port to new
platforms.
Details of the release are available in <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/005192.html">post</a>.
The debugger contains both Gtk# and command line interfaces.
The debugging file format used in Dwarf (its already supported
by our class libraries and the Mono C# compiler; To debug C
applications, you need a recent GCC, or to pass the -gdwarf-2
flag to gcc).
@item Jan, 17th, 2003: DB2 provider, MacOS X
Christopher Bockner has contributed a DB2 System.Data client.
MacOS X support on the runtime has been integrated into the
distribution, and MCS works with it.
Zoltan has managed to get <a
href="http://radio.weblogs.com/0109845/">IKVM</a> (a Java VM
for .NET) to run with Mono. The HelloWorld.class runs with
the Mono runtime.
@item Jan, 13th, 2003: Mono 0.18 released
Mono 0.18 has been released. Check out the <a
href="archive/mono-0.18">release notes</a> for an overview of
the changes. You can get it <a href="download.html">here</a>.
@item Jan 10th, 2003: Mono Weekly News.
A new issue of the <a
href="http://lists.ximian.com/archives/public/mono-list/2003-January/004903.html">Mono
Weekly News</a> has been published.
Check out the <a href="crypto.html">Crypto status</a> page
that Sebastien has put together.
@item Jan 3rd, 2003: Glade#, Code Coverage, Apache, MBas, Debugger.
Rachel has made Glade# use attributes so binding C# widgets to
the designed widgets is now easier than ever. Alp has
improved this to use implicit names as well.
Martin's Mono debugger now has support for multi-thread
debugging. Special feature: breakpoints can be defined in a
per-thread basis now.
Daniel López has checked in his Apache module to integrate
Mono and Mono's ASP.NET support as an Apache module. Gonzalo
has folded his new Mono hosting classes into this module (they
are now shared between XSP and mod_mono). You can get the
mod_apache from CVS (module name: mod_mono).
Mono Basic improvements: Marco has added support for more
statements on the grammar.
Zoltan has <a href="http://www.nexus.hu/vargaz2/">posted</a>
his Code Coverage analysis tool for Mono.
@item Dec 17th, 2002: Mono: Commercial uses.
<a href="http://www.tipic.com">Tipic</a> today <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=tipic_mono">announced</a>
their work on porting their Instant Messaging Server platform
to run on Mono.
<a href="http://www.winfessor.com">Winfessor</a> also <a
href="http://www.winfessor.com/press.asp">announced</a> the
availability of their Jabber SDK to run on Mono.
Also two weeks ago we mentioned <a
href="http://www.openlinksw.com">OpenLink Software's</a> <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">announcement</a>
of their product, also using Mono.
@item Dec 10th, 2002: Gtk# 0.6 released; Mono 0.17 packages for Windows and Debian.
Mike Kestner <a
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003961.html">announced
Gtk# 0.6</a>. This new release includes many new features and
bug fixes, and is the perfect companion to the <a
href="archive/mono-0.17">Mono 0.17</a> release.
Johannes has contributed a Windows-ready package of Mono 0.17,
and its available from our <a
href="download.html">download</a> page.
Alp Toker has <a href="http://www.atoker.com/mono/">Debian packages</a>
@item Dec 9th, 2002: Mono 0.17 has been released
Mono 0.17 has been released. Check out the <a
href="archive/mono-0.17">release notes</a> for a more detailed
list. You can get it <a href="download.html">here</a>.
Many new features as well as plenty of bug fixes. Many new
System.Data providers and a more mature System.Web (ASP.NET)
which can now be hosted in any web server. A simple <a
href="archive/xsp-0.2.tar.gz">test web server</a> to host
asp.net has been released as well.
This version also integrates Neale's s390 port.
This release also includes a new exception handling system
that uses the gcc exception information that vastly improves
our internalcall speed (15% faster mcs compilation times).
@item Dec 8th, 2002: VB.NET, Oracle Provider.
Marco has got the Mono Basic compiler up to speed (support for
classes, modules, expressions, object creation, method
invocation, local variables, and some statements). The
compiler is based on the work from Rafael Teixeira on MCS.
Screenshots: <a
href="http://modgb.sourceforge.net/monobasic_snap.png">in
Windows doing Windows.Forms</a> and in Linux doing <a
href="images/gtk-vb.png">VB with Gtk#</a> (courtesy of Alp).
Daniel Morgan has checked in his Oracle provider to the CVS
repository as well.
@item Nov 27th, 2002: Press release, tutorials, Windows Forms, ADO.NET, Magazine.
<a
href="http://www.business2.com/articles/mag/0,1640,45454,FF.html">The
Penguin Takes Flight</a>: an article written by Erick
Schonfeld appears on the December issue of <a
href="http://www.business2.com/">Business 2.0</a> magazine.
<a href="http://www.openlinksw.com">OpenLink</a> and <a
href="http://www.ximian.com">Ximian</a> made <a
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">joint
announcement</a> on the plans of OpenLink to ship their <a
href="http://www.openlinksw.com/virtuoso/index.htm">Virtuoso</a>
server on Unix using Mono.
Martin Willemoes's <a href="gnometutorial">GNOME.NET
tutorial</a> is now available from the main Mono site. This
tutorial is a collaborative effort to teach developers how to
use Mono to create Mono applications using <a href="http://gtk-sharp.sf.net">Gtk#</a>
Dennis Hayes has posted and <a
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003800.html">update</a>
on the work to get Windows.Forms working on Mono. There is a
new test application that people can use to test their
controls. If you are interested in working on Windows.Forms,
you can participate in the <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms
mailing list</a>
Brian Ritchie has been working on an ADO.NET <a
href="http://brianritchie.webhop.net/ideas/adocodegen.aspx">data
layer</a> and an <a
href="http://brianritchie.webhop.net/ideas/appserver.aspx">application
server</a> for Mono.
Dan Morgan has checked in his Oracle provider, and Tim Coleman
continues to work on the TDS implementation of the data classes.
The rest of the team has been working on bug fixing in the
runtime, the compiler, and the class libraries. Also,
compilation speed has increased recently by performing a
number of simple optimizations in the compiler.
@item Nov 19th, 2002: Crypto update; Books; Gtk# Datagrid; .NET ONE Slides
Sebastien has got DSA and RSA signatures <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003497.html">working</a>
as well as RSA <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003502.html">encryption</a>.
We now distribute Chew Keong TAN's BigInteger classes.
Brian has contributed a System.Data multiplexor in Mono, it
can be found in the Mono.Data assembly. The details of this
new technology are <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003400.html">here</a>.
It works in Mono and the .NET Framework.
Larry O'Brien has announced the candidate book for <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003500.html">
Thinking in C#</a>. The book is Mono-friendly.
Another book that covers mono (available in German only) is <a
href="http://www.databecker.de/frames.php?PHPSESSD=4948515556575049525459495248485949485348&PHPSESSID=6cc68dbcfbcbacd7b82a984b0700d5d6&t=2">
here</a>.
Dan Morgan has implemented a DataGrid widget for Gtk#, you can
see Windows screenshots for it <a
href="images/GtkSharpDataGridScreenshot.png">here</a> and <a
href="images/SqlSharpGtkScreenshot4.png">here</a>.
Slides from the Mono developers for the .NET ONE conference are available now:
<ul>
<li><a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/DotNetOneKeynote.sxi">
Mono Keynote presentation</a>
<li><a href="http://primates.ximian.com/~lupus/slides/embed/">Hosting the Mono Runtime</a><br>
The simple embedding of Mono in Perl is available <a
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">here</a>
<li><a href="http://primates.ximian.com/~lupus/slides/jit/">The Mono JIT compiler</a>
<li><a href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">
Mono C# Compiler Overview</a>
</ul>
A couple of other presentations from Miguel's trip to Europe
are available <a
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/">here</a>
in Open Office file format.
@item Nov 8th, 2002: Mono s390, Database work, new JIT updates.
Neale Ferguson has contributed <a href="download.html">RPM
packages</a> of Mono for the Linux/s390.
Tim Coleman posted an <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003329.html">update</a>
on the improvements in the System.Data
The new JIT engine can run 72 out of our 154 tests for the
virtual machine, and it also got exception support this week.
@item Nov 1st, 2002: TDS, Crypto, Gtk#, Winforms, bug fixes.
Tim's SqlClient is <a
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003161.html">now
capable</a> of communicating with the Microsoft SQL server
using the TDS protocol. A screenshot showing a sample client
running with <a href="http://gtk-sharp.sf.net">Gtk#</a> on
Windows is shown <a
href="images/SqlSharpGtkSceenshot3.png">here</a>
Sebastien has made all symetric ciphers functional on all
supported modes; All the classes in Security.Cryptography are
present and the X590 certificates are now in too. Jackson has
been working on the Security classes.
Many bug fixes all over the place: class libraries (Dick,
Piers, Ville, Zoltan, Gonzalo, Dan, Atsushi, Nick, Phillip),
compiler, runtime engine. A big thank goes for everyone who
has been providing bug reports for us to track down.
Gaurav has been working on multiple WebControls. Gonzalo migrated
the ASP.NET engine to use POST for interaction.
In the Gtk# land saw the integration of gda, gnome-db and GStreamer
bindings.
Windows.Forms classes now build on Linux and Windows, check
out the status pages for areas of collaboration.
@item Oct 24th, 2002: S390 support, XSP/ASP.NET, Win32 contributors, TDS.
Today Neal Ferguson's support for the IBM S390 was checked
into CVS.
The XSP processor has been fully integrated into the
System.Web assembly, and Gonzalo has finished the hosting
interfaces in Mono. This means that it is possible to embed
ASP.NET with the same APIs used in Windows, and is possible to
easily embed it with Apache for example. The XSP module has
now become a shell for testing the System.Web classes.
We are looking for contributors that know Win32 to contribute
to the Windows.Forms implementation. If you want to help
write some controls using the Win32 API, get in touch with our new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">[email protected]
list</a> mailing list.
Tim's TDS System.Data set of classes can now talk to SQL
servers using the TDS protocol (version 4.2) with
connection pooling. Currently it can connect, run
transactions, update/insert/delete, and read some types. A
data adapter is also coming soon.
@item Oct 21th, 2002: Crypto, Winforms list, Database, GConf, Debugger.
Sebastien Poliot has made a lot of progress, he reports that
DES and TripleDES have been fixed; Rijndael and CFB modes
still have problems in some configurations and some areas that
are not supported by the .NET framework.
Last week we created a new <a
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
list</a> to discuss the Mono Winforms implementation.
Tim has started a full C# implementation of the TDS protocol
and the providers, and Brian continues his work on his ODBC
binding.
Rachel Hestilow has also checked in a binding for GConf. This
binding <a
href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">is
unique</a> in that it uses some features in the CLI to support
complex data types, and allows the user to keep only one
representation of the types instead of two (the master types
is defined in CLI-land). Also Property Editors (<a
href="http://primates.ximian.com/~miguel/shots/gconf-shot.png">shot</a>)
simplify the creation of user interfaces that bind their
configuration to backend keys, following the <a
href="http://developer.gnome.org/projects/gup/hig/1.0/">GNOME
Human Interface Guidelines.</a>
Martin is now on vacation, but before leaving he produced a
number of documents detailing the state of the debugger. The
major missing feature is full support for debugging unmanaged
applications (it requires dwarf-2 handlers for types). We
will do some polishing of the user interface (<a
href="http://primates.ximian.com/~miguel/shots/debugger-4.png">new
shot</a>) to expose the existing and rich functionality to the
users and try to release a preview of the debugger at the same
time as Mono 0.17.
@item Oct 14th, 2002: Crypto, Database work, Debugger, Documentation.
Brian, Daniel and Rodrigo have been busy working on the ODBC
provider for Mono. Daniel posted some <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002755.html">updates</a>.
Brian posted <a
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002758.html">details
about the ODBC.NET</a> provider.
Also Sebastien Pouliot has been improving the various
cryptographic classes in Mono, something that we had not done
in quite some time. We are looking for a way to handle
big-nums. We need either a managed or unmanaged set of
classes for handling large numbers, and some volunteers to
expose this functionality to C# (Either as an internal
assembly, or as a set of P/Invoke, Internal call wrappers).
Martin has got our debugger to support adding breakpoints at
file/line combos. This was more complex than generic
breakpoints in routines, because these breakpoints are set on
routines that probably have not been JITed just yet. Martin's
focus now is on stabilizing our debugger and aim for a public
release of it.
We have also imported the ECMA documentation into a separate
module, and with the help from Scott Bronson we will have the
necessary XSLT tools to finish our native documentation
browser for Mono. This together with the work from Adam will
be the foundation for the <a href="classlib-doc.html">Mono
Documentation Tools</a>.
@item Oct 9th, 2002: Various Mono updates.
Brian Ritchie, Daniel Morgan, Rodrigo Moya and Ville Palo have
been working on various database providers. The MySQL has
seen a lot of work, and a new ODBC provider is now on CVS and
more extensive regression tests have been checked in.
Dick Porter is our background hero and keeps fixing the
low-level bugs in the portability layer. Now the Mono handle
daemon should be a lot more robust and will no longer leave IPC
regions. Gonzalo Paniagua has initiated the migration of XSP
into the System.Web class libraries now that we have a
complete HttpRuntime implementation. This means that you are
able to embed the ASP.NET processor into any web server you
want. This also includes support for the system-wide
configuration file `machine.config'.
Martin Baulig has been busy with the Mono Debugger, you can see how
it looks <a
href="http://primates.ximian.com/~miguel/debugger-1.png">here</a>
and <a
href="http://primates.ximian.com/~miguel/debugger-2.png">here</a>.
Now local variables and breakpoints are supported, and we are
working on the UI elements to simplify their use (as seen on
the screenshot).
<a href="http://gtk-sharp.sf.net">Gtk#</a> has seen a lot of
activity specially as we start to build larger applications.
Vladimir Vukicevic, Kristian Rietveld, Rachel Hestilow, Mike
Kestner and Miguel de Icaza have been busy improving it.
mPhoto which is a Photo management application for Mono and
Gtk# is seen <a
href="http://primates.ximian.com/~miguel/shots/mphoto-2.jpg">here</a>.
Chris Toshok the man behind LDAP in Evolution continues to
work on the Mono.LDAP# implementation.
Dietmar Maurer and Paolo Molaro are still busy working on our
new optimized JIT/ATC engine and are making great progress.
The code base has been designed to ease the implementation of
more advanced compiler optimizations, and optimizations can be
chosen individually so they can be tuned for a particular
processor, or use profile-based information to improve the
performance.
@item Oct 1st, 2002: Mono 0.16 released; Debugger updates.
Mono 0.16 has been released. Source and RPMs are <a
href="download.html">available</a>. The release notes are <a
href="archive/mono-0.16">here</a>.
Martin's debugger can debug both managed and unmanaged code.
Recently Martin added support for locals, parameters, and
breakpoints on top of the existing infrastructure (his
debugger supported instruction-level and source-code level
single-stepping).
@item Sep 19th, 2002: Mono Survey.
Help us plan for the future of Mono by filing out the <a
href="http://primates.ximian.com/~miguel/monosurvey">First Mono
Survey</a>
@item Sep 17th, 2002: Mono Hackers Hall of Fame: Sergey Chaban
The <a href="hackers.html">Mono Hackers Hall Of Fame</a>
continues to show our appreciation to the excellent
contributors that made <b>mono::</b> a successful free
software project.
This time the Hall of Fame welcomes 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.
@item Sep 16th, 2002: Documentation Tools, ILASM, Debugger, Mono LDAP, Winforms
Adam Treat has started moving the documentation universe again. We
have a new strategy to document our APIs (given that we have
chosen <a href="classlib-doc.html">not to document the code
inline</a>). This includes the use of a master reference file
that will hold the entry points to document. All master files
for our assemblies have been checked into CVS now.
Sergey Chaban's Mono.PEToolkit and ILASM tools have been
checked into CVS. Although ILASM is old and will soon be
updated, we wanted to get the build issues sorted out.
Martin Baulig's Mono Debugger is still on its early stages,
but you can run and run step by step your C# code and C code
(including the Mono runtime). Dwarf-2 is required to compile
your code. The regular step, step-into, and assembly-level
step and step-into are supported. And comes with a Gtk#
UI. The debugger is written mostly in C# with some C glue
code. Most of the work is on the engine, we will be working
on making a good UI in the future.
Chris Toshok of the Hungry Programmer's fame has checked in
Mono.Directory.LDAP, a C# wrapper for the LDAP libraries.
This is the substrate for implementing the
System.DirectoryServices assembly.
Andrew has also continued with some of the cryptographic
classes implementation.
After much public debate, we have chosen a new <a
href="winforms.html">strategy to implement winforms</a>.
Implementing a Gtk, Qt or Aqua based version of Winforms was
going to be almost as complex as implementing Wine itself. So
the new strategy is to only roll out a WineLib-based
implementation.
@item Sep 4th, 2002: .NET One 2002 Program available
The <a
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
ONE 2002</a> conference in Frankfurt is now available. Paolo
will be talking about the Mono JIT and embedding the Mono
runtime in your Windows and Linux applications. Mike Kestner
will talk about <a href="http://gtk-sharp.sf.net">Gtk#</a> and
the automatic binding generator used by Gtk# and Miguel will
be talking about the Mono project on Monday's keynote and on
the Mono C# compiler on Tuesday.
@item Sep 3rd, 2002: Apache integration
<a
href="http://lists.ximian.com/archives/public/mono-list/2002-September/001862.html">Sterling</a>
announced an Apache module that hosts
Mono, and allows CIL code to run from within Apache, giving the
module access to the Apache runtime. This uses the Mono embedding
API.
@item Aug 24th, 2002: Gtk# 0.4 released
Shortly after <a href="download.html">Mono 0.15</a> was
released a fresh version of <a
href="http://gtk-sharp.sf.net">Gtk#</a> was <a
href="http://lists.ximian.com/archives/public/mono-list/2002-August/001702.html">announced</a>.
@item Aug 23rd, 2002: Mono 0.15 released
Mono 0.15 has been released. Source and RPMs are <a
href="download.html">available</a>. The release notes are <a
href="archive/mono-0.15">here</a>
@item Aug 21th, 2002: Portable.NET encodings integrated into Mono.
Rhys Weatherley has contributed the Portable.NET encoders to
the Mono class libraries. This is a great step towards
cooperation between these projects. Thanks to Paolo for doing the
merger on our side.
His encoders are more complete than the iconv-based approach
that mono used, which was unreliable under certain
circumstances.
@item Aug 20th, 2002: Remoting work, Resources, SPARC checkins, ADO.NET
<b>San Francisco</b>: August 14th. Linux World Expo.
Mark Crichton has checked in his patches to get the SPARC port
on par with the PPC port.
Dick has checked-in the resource reader and resource writers
to the class libraries, and Dietmar checked in the C# support
code for the remoting infrastructure.
More work on System.Data: the LibGDA (our OleDB backend) based
providers are quickly maturing, and recently they executed
their first query.
@item Aug 13th, 2002: MCS news, Gtk# progress, Windows.Forms, ADO.NET
Martin Baulig has been fixing all the known bugs in the C#
compiler and now has moved into improving the compilation
speed and the generated code quality of MCS. Today we got a
50% speedup in the bootstrap of MCS going from 24 seconds to 12 seconds.
Gtk# has been making a lot of progress, some interesting
corner cases are now supported:, you can now create canvas items as
well as using the tree widget. Here is a shot of <a
href="images/mocil.png">MonoCIL</a>.
On the runtime front, focus has been on improving remoting
support, exception handling, as well as completing the support
for structure marshaling.
Patrik is also back in action: the HttpRuntime infrastructure
is rapidly improving, and Gonzalo is working into moving XSP
into our main class library and providing the missing pieces
to integrate with Patrik's code.
Dennis and his team are working on a WineLib-based
implementation of Windows Forms to guarantee that the corner
cases of Windows.Forms can be handled, and we are back on track again.
A lot more work on the ADO.NET and WebServices has also been
checked into CVS.
@item Aug 1st, 2002: Mono Hackers Hall of Fame
The <a href="hackers.html">Mono Hackers Hall Of Fame</a> has been started
to show our appreciation to the excellent contributors that made <b>mono::</b>
a successful free software project.
The first, deserved, entry goes to
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.
@item Looking for volunteers
We are looking for volunteers to help complete various pieces
+2 -2
View File
@@ -109,8 +109,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
string FirstName = (string) reader["firstname"];
string LastName = (string) reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+16 -34
View File
@@ -8,9 +8,7 @@
<li>Works on Windows and Linux</li>
<li>Works with Oracle 8i</li>
<li>Untested, but should work with Oracle 9i</li>
<li>Works with Oracle 8i and 9i.</li>
<li>Uses the Oracle CLI (Call Level Interface) which is a C library (API) for the Oracle Client
software</li>
@@ -19,8 +17,6 @@
<li>Created by Daniel Morgan and Tim Coleman</li>
<li>Does not support trusted connections</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
do not have Bugzilla user account, it is free
@@ -32,23 +28,15 @@
** Current Status
<ul>
<li>OracleConnection can connect and disconnect to an Oracle 8i database on
<li>OracleConnection can connect and disconnect to an Oracle 8i or 9i database on
Windows and Linux via OCI (Oracle Call-level Interface)</li>
<li>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
@@ -64,14 +52,11 @@
<li>Handling of various data types need to be added.</li>
<li>Data Adapter exists, and a DataSet can be filled using it. The
Data Adapter is abstract enough that it should work as expected.</li>
<li>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. SQL# For GTK# can only show the results to
the TextView because the Data Adapter is not yet available</li>
<li>Works with SQL# command-line and GTK# GUI versions.</li>
</ul>
@@ -83,11 +68,12 @@
<li>transactions (WORKING)</li>
<li>Stored Procedures, Functions, and Packages support</li>
<li>Be able to fill a DataTable in a DataSet via a data adapter (IN PROGRESS)</li>
<li>Support for Oracle 8i and 9i (UNKNOWN)</li>
<li>Support for Oracle 8i and 9i (WORKING)</li>
<li>Support LOBs</li>
<li>Support all the data types</li>
<li>Implement Connection pooling</li>
<li>Security</li>
<li>Once Oracle 10g is released, make sure Mono works with Oracle 10g.</li>
</ul>
@@ -96,15 +82,13 @@
<ul>
<li>Have a working mono and mcs</li>
<li>Have access to an Oracle 8i database or download it from
<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>Make sure System.Data.OracleClient.dll assembly is built.</li>
<li>Take a look at TestOracleClient.cs found at mcs/class/System.Data.OracleClient/Test</li>
@@ -129,16 +113,16 @@
"Data Source=testdb;" +
"User ID=scott;" +
"Password=tiger;";
IDbConnection dbcon;
OracleConnection dbcon = null;
dbcon = new OracleConnection (connectionString);
dbcon.Open ();
IDbCommand dbcmd = dbcon.CreateCommand ();
OracleCommand dbcmd = dbcon.CreateCommand ();
string sql = "SELECT ename, job FROM scott.emp";
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader ();
OracleDataReader reader = dbcmd.ExecuteReader ();
while (reader.Read ()) {
string employeeName = reader["ename"];
string job = reader["job"];
string employeeName = (string) reader["ename"];
string job = (string) reader["job"];
Console.WriteLine ("Employee Name: {0} Job: {1}",
employeeName, job);
}
@@ -164,12 +148,10 @@
-r System.Data.OracleClient.dll
</pre>
</li>
<li>Build on Windows via Cygwin:
<li>Build on Windows:
<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
mcs TestExample.cs /r:System.Data.dll \
/r:System.Data.OracleClient.dll
</pre>
</li>
</ul>
+2
View File
@@ -10,6 +10,8 @@
<li><a href="http://www.go-mono.pl">Mono Poland</a>:
Mono site for polish users.
<li><a href="http://primates.ximian.com/~atsushi/mono-jp/">Mono Japanese Translation</a>:
Mono site Japanese translation pages. Translated sources are maintained at <a href="http://forge.novell.com/modules/xfmod/project/?mono-jp">Novell Forge</a>.
</ul>
* User sites
+5
View File
@@ -94,3 +94,8 @@
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>
-246
View File
@@ -1,246 +0,0 @@
System.Object
System.Exception
System.ValueType
System.Delegate
System.MulticastDelegate
System.Enum
System.Activator
System.ArgIterator
System.__ComObject
System.TypedReference
System.Security.AllowPartiallyTrustedCallersAttribute
System.Runtime.Serialization.Formatter
System.Runtime.Serialization.FormatterConverter
System.Runtime.Serialization.FormatterServices
System.Runtime.Serialization.ObjectIDGenerator
System.Runtime.Serialization.ObjectManager
System.Reflection.ModuleResolveEventHandler
System.Reflection.Pointer
System.Globalization.CompareInfo
System.Globalization.HebrewCalendar
System.Globalization.HijriCalendar
System.Globalization.JapaneseCalendar
System.Globalization.KoreanCalendar
System.Globalization.SortKey
System.Globalization.StringInfo
System.Globalization.TaiwanCalendar
System.Globalization.TextElementEnumerator
System.Globalization.TextInfo
System.Globalization.ThaiBuddhistCalendar
System.IO.IsolatedStorage.IsolatedStorageFile
System.Reflection.Emit.MethodRental
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
System.Runtime.CompilerServices.CallConvCdecl
System.Runtime.CompilerServices.CallConvStdcall
System.Runtime.CompilerServices.CallConvThiscall
System.Runtime.CompilerServices.CallConvFastcall
System.Runtime.CompilerServices.CustomConstantAttribute
System.Runtime.CompilerServices.DateTimeConstantAttribute
System.Runtime.CompilerServices.DiscardableAttribute
System.Runtime.CompilerServices.DecimalConstantAttribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
System.Runtime.CompilerServices.IDispatchConstantAttribute
System.Runtime.CompilerServices.IsVolatile
System.Runtime.CompilerServices.IUnknownConstantAttribute
System.Runtime.CompilerServices.RequiredAttributeAttribute
System.Runtime.InteropServices.ArrayWithOffset
System.Runtime.InteropServices.DispIdAttribute
System.Runtime.InteropServices.ClassInterfaceType
System.Runtime.InteropServices.ClassInterfaceAttribute
System.Runtime.InteropServices.ComVisibleAttribute
System.Runtime.InteropServices.LCIDConversionAttribute
System.Runtime.InteropServices.ComRegisterFunctionAttribute
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
System.Runtime.InteropServices.ProgIdAttribute
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
System.Runtime.InteropServices.IDispatchImplType
System.Runtime.InteropServices.IDispatchImplAttribute
System.Runtime.InteropServices.ComSourceInterfacesAttribute
System.Runtime.InteropServices.ComConversionLossAttribute
System.Runtime.InteropServices.TypeLibTypeFlags
System.Runtime.InteropServices.TypeLibFuncFlags
System.Runtime.InteropServices.TypeLibVarFlags
System.Runtime.InteropServices.TypeLibTypeAttribute
System.Runtime.InteropServices.TypeLibFuncAttribute
System.Runtime.InteropServices.TypeLibVarAttribute
System.Runtime.InteropServices.ComImportAttribute
System.Runtime.InteropServices.PreserveSigAttribute
System.Runtime.InteropServices.ComAliasNameAttribute
System.Runtime.InteropServices.AutomationProxyAttribute
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
System.Runtime.InteropServices.CoClassAttribute
System.Runtime.InteropServices.ComEventInterfaceAttribute
System.Runtime.InteropServices.COMException
System.Runtime.InteropServices.ComMemberType
System.Runtime.InteropServices.CurrencyWrapper
System.Runtime.InteropServices.DispatchWrapper
System.Runtime.InteropServices.ErrorWrapper
System.Runtime.InteropServices.ExtensibleClassFactory
System.Runtime.InteropServices.HandleRef
System.Runtime.InteropServices.InvalidComObjectException
System.Runtime.InteropServices.InvalidOleVariantTypeException
System.Runtime.InteropServices.TypeLibImporterFlags
System.Runtime.InteropServices.ExporterEventKind
System.Runtime.InteropServices.ITypeLibExporterNotifySink
System.Runtime.InteropServices.ITypeLibConverter
System.Runtime.InteropServices.MarshalDirectiveException
System.Runtime.InteropServices.ObjectCreationDelegate
System.Runtime.InteropServices.RuntimeEnvironment
System.Runtime.InteropServices.RegistrationServices
System.Runtime.InteropServices.SafeArrayRankMismatchException
System.Runtime.InteropServices.SafeArrayTypeMismatchException
System.Runtime.InteropServices.SEHException
System.Runtime.InteropServices.TypeLibConverter
System.Runtime.InteropServices.BIND_OPTS
System.Runtime.InteropServices.UCOMIBindCtx
System.Runtime.InteropServices.UCOMIConnectionPointContainer
System.Runtime.InteropServices.UCOMIConnectionPoint
System.Runtime.InteropServices.UCOMIEnumMoniker
System.Runtime.InteropServices.CONNECTDATA
System.Runtime.InteropServices.UCOMIEnumConnections
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
System.Runtime.InteropServices.UCOMIEnumString
System.Runtime.InteropServices.UCOMIEnumVARIANT
System.Runtime.InteropServices.FILETIME
System.Runtime.InteropServices.UCOMIMoniker
System.Runtime.InteropServices.UCOMIPersistFile
System.Runtime.InteropServices.UCOMIRunningObjectTable
System.Runtime.InteropServices.STATSTG
System.Runtime.InteropServices.UCOMIStream
System.Runtime.InteropServices.DESCKIND
System.Runtime.InteropServices.BINDPTR
System.Runtime.InteropServices.UCOMITypeComp
System.Runtime.InteropServices.TYPEKIND
System.Runtime.InteropServices.TYPEFLAGS
System.Runtime.InteropServices.IMPLTYPEFLAGS
System.Runtime.InteropServices.TYPEATTR
System.Runtime.InteropServices.FUNCDESC
System.Runtime.InteropServices.IDLFLAG
System.Runtime.InteropServices.IDLDESC
System.Runtime.InteropServices.PARAMFLAG
System.Runtime.InteropServices.PARAMDESC
System.Runtime.InteropServices.TYPEDESC
System.Runtime.InteropServices.ELEMDESC
System.Runtime.InteropServices.VARDESC
System.Runtime.InteropServices.DISPPARAMS
System.Runtime.InteropServices.EXCEPINFO
System.Runtime.InteropServices.FUNCKIND
System.Runtime.InteropServices.INVOKEKIND
System.Runtime.InteropServices.CALLCONV
System.Runtime.InteropServices.FUNCFLAGS
System.Runtime.InteropServices.VARFLAGS
System.Runtime.InteropServices.UCOMITypeInfo
System.Runtime.InteropServices.SYSKIND
System.Runtime.InteropServices.LIBFLAGS
System.Runtime.InteropServices.TYPELIBATTR
System.Runtime.InteropServices.UCOMITypeLib
System.Runtime.InteropServices.UnknownWrapper
System.Runtime.Remoting.IObjectHandle
System.Runtime.Remoting.IRemotingTypeInfo
System.Runtime.Remoting.IChannelInfo
System.Runtime.Remoting.IEnvoyInfo
System.Runtime.Remoting.RemotingConfiguration
System.Runtime.Remoting.TypeEntry
System.Runtime.Remoting.ActivatedClientTypeEntry
System.Runtime.Remoting.ActivatedServiceTypeEntry
System.Runtime.Remoting.WellKnownClientTypeEntry
System.Runtime.Remoting.WellKnownServiceTypeEntry
System.Runtime.Remoting.RemotingException
System.Runtime.Remoting.ServerException
System.Runtime.Remoting.RemotingTimeoutException
System.Runtime.Remoting.RemotingServices
System.Runtime.Remoting.InternalRemotingServices
System.Runtime.Remoting.SoapServices
System.Runtime.Remoting.Activation.UrlAttribute
System.Runtime.Remoting.Messaging.IMessageSink
System.Runtime.Remoting.Messaging.AsyncResult
System.Runtime.Remoting.Messaging.CallContext
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
System.Runtime.Remoting.Messaging.InternalMessageWrapper
System.Runtime.Remoting.Messaging.IMethodCallMessage
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
System.Runtime.Remoting.Messaging.HeaderHandler
System.Runtime.Remoting.Messaging.IMessageCtrl
System.Runtime.Remoting.Messaging.IRemotingFormatter
System.Runtime.Remoting.Messaging.ReturnMessage
System.Runtime.Remoting.Messaging.MethodCall
System.Runtime.Remoting.Messaging.ConstructionCall
System.Runtime.Remoting.Messaging.MethodResponse
System.Runtime.Remoting.Messaging.ConstructionResponse
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
System.Runtime.Remoting.Messaging.OneWayAttribute
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
System.Runtime.Remoting.Contexts.CrossContextDelegate
System.Runtime.Remoting.Contexts.ContextProperty
System.Runtime.Remoting.Contexts.IContextPropertyActivator
System.Runtime.Remoting.Contexts.IContributeClientContextSink
System.Runtime.Remoting.Contexts.IContributeDynamicSink
System.Runtime.Remoting.Contexts.IContributeEnvoySink
System.Runtime.Remoting.Contexts.IContributeObjectSink
System.Runtime.Remoting.Contexts.IContributeServerContextSink
System.Runtime.Serialization.Formatters.InternalRM
System.Runtime.Serialization.Formatters.InternalST
System.Runtime.Serialization.Formatters.SoapMessage
System.Runtime.Serialization.Formatters.SoapFault
System.Runtime.Serialization.Formatters.ServerFault
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
System.Security.Cryptography.CryptoConfig
System.Security.Cryptography.KeyedHashAlgorithm
System.Security.Cryptography.HMACSHA1
System.Security.Cryptography.MACTripleDES
System.Security.Cryptography.MaskGenerationMethod
System.Security.Cryptography.PasswordDeriveBytes
System.Security.Cryptography.PKCS1MaskGenerationMethod
System.Security.Cryptography.RC2
System.Security.Cryptography.RC2CryptoServiceProvider
System.Security.Cryptography.RSACryptoServiceProvider
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
System.Security.Cryptography.RSAPKCS1SignatureFormatter
System.Security.Cryptography.SHA1Managed
System.Security.Cryptography.TripleDES
System.Security.Cryptography.TripleDESCryptoServiceProvider
System.Security.Permissions.EnvironmentPermission
System.Security.Permissions.FileDialogPermission
System.Security.Permissions.IsolatedStorageFilePermission
System.Security.Permissions.PrincipalPermissionAttribute
System.Security.Permissions.SecurityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermissionAttribute
System.Security.Permissions.PublisherIdentityPermission
System.Security.Permissions.ReflectionPermission
System.Security.Permissions.RegistryPermission
System.Security.Permissions.PrincipalPermission
System.Security.Permissions.SiteIdentityPermission
System.Security.Permissions.StrongNameIdentityPermission
System.Security.Permissions.StrongNamePublicKeyBlob
System.Security.Permissions.UIPermission
System.Security.Permissions.UrlIdentityPermission
System.Security.Permissions.ZoneIdentityPermission
System.Security.Policy.ApplicationDirectory
System.Security.Policy.ApplicationDirectoryMembershipCondition
System.Security.Policy.FirstMatchCodeGroup
System.Security.Policy.Hash
System.Security.Policy.HashMembershipCondition
System.Security.Policy.NetCodeGroup
System.Security.Policy.PermissionRequestEvidence
System.Security.Policy.Publisher
System.Security.Policy.PublisherMembershipCondition
System.Security.Policy.Site
System.Security.Policy.SiteMembershipCondition
System.Security.Policy.StrongName
System.Security.Policy.StrongNameMembershipCondition
System.Security.Policy.UnionCodeGroup
System.Security.Policy.Url
System.Security.Policy.UrlMembershipCondition
System.Security.Policy.Zone
System.Security.Policy.ZoneMembershipCondition
System.Security.Principal.WindowsIdentity
System.Security.Principal.WindowsImpersonationContext
System.Security.Principal.WindowsPrincipal
System.Threading.CompressedStack
+204
View File
@@ -0,0 +1,204 @@
* Writing performant .NET and Mono applications
The following document contains a few hints on how to improve
the performance of your Mono/.NET applications.
These are just guidelines, and you should still profile your
code to find the actual performance problems in your
application. It is never a smart idea to make a change with the
hopes of improving the performance of your code without first
measuring. In general, these guidelines should serve as ideas
to help you figure out `how can I make this method run faster'.
It is up to you to figure out, `Which method is running slowly.'
** Using the Mono profiler
So, how does one measure what method are running slowly? A profiler
helps with this task. Mono includes a profiler that is built
into the runtime system. You can invoke this profiler on your program
by running with the --profile flag.
<pre>
mono --profile program.exe
</pre>
The above will instruct Mono to instrument your application
for profiling. The default Mono profiler will record the time
spent on a routine, the number of times the routine called,
the memory consumed by each method broken down by invoker, and
the total amount of memory consumed.
It does this by asking the JIT to insert a call to the profiler
every time a method is entered or left. The profiler times the
amount of time elapsed between the beginning and the end of the
call. The profiler is also notified of allocations.
When the program has finished executing, the profiler prints the
data in human readable format. It looks like:
<pre>
Total time spent compiling 227 methods (sec): 0.07154
Slowest method to compile (sec): 0.01893: System.Console::.cctor()
Time(ms) Count P/call(ms) Method name
########################
91.681 1 91.681 .DebugOne::Main()
Callers (with count) that contribute at least for 1%:
1 100 % .DebugOne::Main(object,intptr,intptr)
...
Total number of calls: 3741
...
Allocation profiler
Total mem Method
########################
406 KB .DebugOne::Main()
406 KB 1000 System.Int32[]
Callers (with count) that contribute at least for 1%:
1 100 % .DebugOne::Main(object,intptr,intptr)
Total memory allocated: 448 KB
</pre>
At the top, it shows each method that is called. The data is sorted
by the total time that the program spent within the method. Then
it shows how many times the method was called, and the average time
per call.
Below this, it shows the top callers of the method. This is very useful
data. If you find, for example, that the method Data::Computate () takes
a very long time to run, you can look to see if any of the calls can be
avoided.
Two warnings must be given about the method data. First,
the profiler has an overhead associated with it. As such,
a high number of calls to a method may show up as comsuming
lots of time, when in reality they do not consume much time
at all. If you see a method that has a very high number of
calls, you may be able to ignore it. However, do consider
removing calls if possible, as that will sometimes help
performance. This problem is often seen with the use
of built in collection types.
Secondly, due to the nature of the profiler, recursive calls
have extermely large times (because the profiler double counts
when the method calls itself). One easy way to see this problem
is that if a method is shown as taking more time than the Main
method, it is very likely recursive, and causing this problem.
Below the method data, allocation data is shown. This shows
how much memory each method allocates. The number beside
the method is the total amount of memory. Below that, it
is broken down into types. Then, the caller data is given. This
data is again useful when you want to figure out how to eliminate calls.
You might want to keep a close eye on the memory consumption
and on the method invocation counts. A lot of the
performance gains in MCS for example came from reducing its
memory usage, as opposed to changes in the execution path.
** Memory Management in the .NET/Mono world.
Since Mono and .NET offer automatic garbage collection, the
programmer is freed from having to track and dispose the
objects it consumes (except for IDispose-like classes). This
is a great productivity gain, but if you create thousands of
objects, that will make the garbage collector do more work,
and it might slow down your application.
Remember, each time you allocate an object, the GC is forced
to find space for the object. Each object has an 8 byte overhead
(4 to tell what type it is, then 4 for a sync block). If
the GC finds that it is running out of room, it will scan every
object for pointers, looking for unreferenced objects. If you allocate
extra objects, the GC then must take the effort to free the objects.
Mono uses the Boehm GC, which is a conservative collector,
and this might lead to some memory fragmentation and unlike
generational GC systems, it has to scan the entire allocated
memory pool.
*** Boxing
The .NET framework provides a rich hierchy of object types.
Each object not only has value information, but also type
information associated with it. This type information makes
many types of programs easier to write. It also has a cost
associated with it. The type information takes up space.
In order to reduce the cost of type information, almost every
Object Oriented language has the concept of `primitatives'.
They usually map to types such as integers and bools. These
types do not have any type information associated with them.
However, the language also must be able to treat primitatives
as first class datums -- in the class with objects. Languages
handle this issue in different ways. Some choose to make a
special class for each primative, and force the user to do an
operation such as:
<pre>
// This is Java
list.add (new Integer (1));
System.out.println (list.get (1).intValue ());
</pre>
The C# design team was not satisfied with this type
of construct. They added a notion of `boxing' to the language.
Boxing preforms the same thing as Java's <code>new Integer (1)</code>.
The user is not forced to write the extra code. However,
behind the scenes the <em>same thing</em> is being done
by the runtime. Each time a primative is cast to an object,
a new object is allocated.
You must be careful when casting a primative to an object.
Note that because it is an implicit conversion, you will
not see it in your code. For example, boxing is happening here:
<pre>
ArrayList foo = new ArrayList ();
foo.Add (1);
</pre>
In high performance code, this operation can be very costly.
*** Using structs instead of classes for small objects
For small objects, you might want to consider using value
types (structs) instead of object (classes).
However, you must be careful that you do not use the struct
as an object, in that case it will actually be more costly.
As a rule of thumb, only use structs if you have a small
number of fields (totaling less than 32 bytes), and
need to pass the item `by value'. You should not box the object.
*** Assisting the Garbage Collector
Although the Garbage Collector will do the right thing in
terms of releasing and finalizing objects on time, you can
assist the garbage collector by clearing the fields that
points to objects. This means that some objects might be
elegible for collection earlier than they would, this can help
reduce the memory consumption and reduce the work that the GC
has to do.
** foreach
The <tt>foreach</tt> C# statement handles various kinds of
different constructs (about seven different code patterns are
generated). Typically foreach generates more efficient code
than loops constructed manually, and also ensures that objects
which implement IDispose are properly released.
But foreach sometimes might generate code that under stress
performs badly. Foreach performs badly when its used in tight
loops, and its use leads to the creation of many enumerators.
Although technically obtaining an enumerator for some objects
like ArrayList is more efficient than using the ArrayList
indexer, the pressure introduced due to the extra memory
requirements and the demands on the garbage collector make it
more inneficient.
There is no straight-forward rule on when to use foreach, and
when to use a manual loop. The best thing to do is to always
use foreach, and only when profile shows a problem, replace
foreach with for loops.
+1 -1
View File
@@ -8,7 +8,7 @@
Currently you can read our plans for <a
href="ado-net.html">ADO.NET</a>, <a
href="asp-net">ASP.NET</a>, <a href="java.html">Java</a> and
href="asp-net.html">ASP.NET</a>, <a href="java.html">Java</a> and
<a href="winforms.html">WinForms</a>.
+34 -8
View File
@@ -1,12 +1,30 @@
* PostgreSQL Data Provider
* PostgreSQL and Mono
There are two ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a> in 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>a .NET Managed Data Provider for PostgreSQL
<li>included with Mono</li>
<li>a .NET Managed Data Provider for PostgreSQL</li>
<li>Written in 100% C#</li>
@@ -25,6 +43,8 @@
<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>
@@ -37,6 +57,12 @@
</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
@@ -450,8 +476,8 @@ mono PostgresTest.exe
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
string FirstName = (string) reader["firstname"];
string LastName = (string) reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
@@ -519,8 +545,8 @@ mono TestExample.exe
"User ID=postgres;" +
"Password=fun2db;";
IDbConnection dbcon;
dbcon.Open();
dbcon = new NpgsqlConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
// with columns firstname and lastname
@@ -534,8 +560,8 @@ mono TestExample.exe
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["firstname"];
string LastName = reader["lastname"];
string FirstName = (string) reader["firstname"];
string LastName = (string) reader["lastname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+4 -2
View File
@@ -13,7 +13,9 @@
*** Jitter
Start the port
Works on MacOS X 10.2 and Linux/PPC.
There are known problems on MacOS 10.3
** Documentation
@@ -28,6 +30,6 @@
*** Calling conventions:
<a href="http://www.esofta.com/softspecs.html">The PowerPC SystemV ABI specification</a>
<a href="http://refspecs.freestandards.org/elf/elfspec_ppc.pdf">The PowerPC SystemV ABI specification</a>
-2
View File
@@ -10,8 +10,6 @@
** EOG component
** XmlStorageSystem component
* Gtk# related projects
Gnome Canvas Bindings.
+6 -19
View File
@@ -9,10 +9,10 @@
** Microsoft .NET
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
The <a href="http://msdn.microsoft.com/netframework">Microsoft.NET site.</a>
The Microsoft .NET Framework 1.0 can be downloaded <a
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
The Microsoft .NET Framework 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>
@@ -74,21 +74,13 @@
<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.ch/ecma1/STAND/ecma-334.htm">C# Language Specification</a>
* <a href="http://www.ecma.ch/ecma1/STAND/ecma-335.htm">Common Language Infrastructure</a>
* <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>
@@ -97,7 +89,6 @@
<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>
@@ -153,7 +144,7 @@
<li><b>Class Libraries</b></li>
<ul>
* <a href="http://9mm.com/~ogl/sdldotnet/">SDL for
* <a href="http://cs-sdl.sourceforge.net/">SDL for
.NET:</a> Bindings for the popular SDL graphics library.
@@ -193,10 +184,6 @@
* <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
+59 -19
View File
@@ -9,9 +9,8 @@
We currently have two runtimes:
<ul>
* <b>mono:</b> The Just In Time compiler implemented
using a BURS instruction selector. We only support
x86 machines in the JIT engine at this point.
* <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.
@@ -20,7 +19,7 @@
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">embedded into applications</a> (see
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
@@ -31,12 +30,52 @@
href="http://primates.ximian.com/~lupus/slides/jit/">slides
here</a>
** Current JIT Engine: technical details (<b>updated, July 8th, 2002</b>)
** Current JIT Engine: technical details (<b>updated, June 28th, 2003</b>)
The JIT engine uses a code-generator generator approach for
compilation. Given the properties of CIL byte codes, we can
take full advantage of a real instruction selector for our
code generator.
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:
@@ -47,7 +86,7 @@
* Inlining.
* Constant folding.
* Constant folding, copy propagation, dead code elimination.
Although compilers typically do
constant folding, the combination of inlining with
@@ -56,6 +95,9 @@
* 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
@@ -64,7 +106,13 @@
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>.
A few papers that describe the instruction selector:
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>
@@ -74,14 +122,6 @@
</ul>
** New JIT engine.
We are working on a new JIT engine. The new JIT engine
focuses on portability and in two intermediate representations
that simplify the development of optimizations. This together
with the Ahead-of-Time compilation will allow developers to
deploy applications that match the speed of natively compiled code.
** Garbage Collection
We are using the Boehm conservative GC. We might consider
+37 -4
View File
@@ -135,14 +135,27 @@
</tr>
</table>
** SkyNET
** Type Reflector
SkyNET is written in C# and uses GTK# for displaying a star chart.
Type Reflector is a tool included in Mono to inspect your assemblies.
<table border=1>
<tr>
<td>
<img src="http://go-mono.com/images/skynet.png">
<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>
@@ -151,6 +164,14 @@
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>
@@ -158,7 +179,7 @@
</td>
</tr>
</table>
** Mono running on the iPaq
<table border=1>
@@ -194,3 +215,15 @@
</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>
+19 -11
View File
@@ -31,11 +31,14 @@
<ul>
<li>Able to connect to Microsoft SQL Server 7/2000 databases</li>
<li>Thanks to Sebastien Pouliot, we now have NT Authentication (Integrated Security) support. This support was
added after the release of Mono 0.29. So, you either get it from cvs or wait for the Mono 0.30 release.</li>
<li>Able to connect to Microsoft SQL Server 7/2000 databases via SQL Server authentication and NT Authentication.</li>
<li>Connection pooling works.</li>
<li>Stored Procedures work</li>
<li>Stored Procedures work.</li>
<li>Parameters work.</li>
@@ -59,8 +62,6 @@
<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>
@@ -71,9 +72,9 @@
<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>
<li>Add support for .NET 1.2 and 2.0 and Microsoft SQL Server (Yukon) support</li>
</ul>
@@ -89,9 +90,10 @@
</ul>
</li>
<li>If using Microsoft SQL Server 2000, make sure
<li><b>IMPORTANT:</b> If using Microsoft SQL Server 2000, make sure
you are using at least Service Pack 3 for Microsoft SQL Server 2000. If using
MSDE 2000, make sure you have the special Service Pack 3 for MSDE 2000.</li>
MSDE 2000, make sure you have the special Service Pack 3 for MSDE 2000. You
can get it from <a href="http://www.microsoft.com/sql/downloads/2000/sp3.asp">here</a></li>
<li>For those that only have MSDE installed. You can change the authentication mode
from Windows Only Authentication to SQL Server and Windows Authentications (also knows as Mixed-mode authentication)
@@ -121,11 +123,17 @@
to explicitly use a User ID and Password
authenticated by SQL Server.</li>
<li>Has a connection string format:
<li>Has a connection string format for SQL Server Authentication:
<pre>
Server=hostname;Database=databaseName;User ID=userid;Password=password
</pre>
</li>
<li>Has a connection string format for NT Authentication:
<pre>
Server=hostname;Database=databaseName;User ID=windowsUserid;Password=windowsPassword;Integrated Security=SSPI
</pre>
</li>
<li>The Server part can be used three ways:
<table border=1>
@@ -172,8 +180,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
string FirstName = (string) reader["fname"];
string LastName = (string) reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+4 -4
View File
@@ -25,7 +25,7 @@
<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>
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
@@ -82,7 +82,7 @@
{
string connectionString = "URI=file:SqliteTest.db";
IDbConnection dbcon;
dbcon = new MySQLConnection(connectionString);
dbcon = new SqliteConnection(connectionString);
dbcon.Open();
IDbCommand dbcmd = dbcon.CreateCommand();
// requires a table to be created named employee
@@ -97,8 +97,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader[0];
string LastName = reader[1];
string FirstName = (string) reader[0];
string LastName = (string) reader[1];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+2 -4
View File
@@ -17,8 +17,6 @@
<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
@@ -110,8 +108,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
string FirstName = (string) reader["fname"];
string LastName = (string) reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+2 -4
View File
@@ -18,8 +18,6 @@
<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
@@ -115,8 +113,8 @@
dbcmd.CommandText = sql;
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
string FirstName = reader["fname"];
string LastName = reader["lname"];
string FirstName = (string) reader["fname"];
string LastName = (string) reader["lname"];
Console.WriteLine("Name: " +
FirstName + " " + LastName);
}
+126 -4
View File
@@ -6,7 +6,26 @@
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
There are various kinds of tests in Mono:
<ul>
<li><a href="#unit"><b>Class Library Unit
Tests:</b></a> These are used to test the class
libraries.
<li><a href="#compiler"><b>Compiler tests</b></a>: Both
tests that should pass and tests that should fail are included.
<li><a href="#runtime"><b>Runtime tests</b></a>: Tests for
the virtual machine.
<li><a href="#aspnet"><b>ASP.NET tests</b></a>: ASP.NET tests.
<li><a href="#ws"><b>Web Services tests</b></a>: Web Services
client/server tests.
</ul>
<a name="unit"></a>
* Class Library Tests
All classes in Mono libraries should have comprehensive unit test
suites to go with them. Unit testing is a software engineering
@@ -15,6 +34,29 @@
that they work correctly. Mono also needs a testing framework
to make it easy to write and run lots of tests.
In some classes, we might also provide standalone tests because of
some reasons such as too huge testcases, another downloading and so on.
(For example, managed XSLT has standalone test which downloads and
expands some megabytes of OASIS test suite.)
Here I list them up as long as I know. If you are going to add another
standalone tests, please add one line here. It is also recommended that
you add some notes on how to build and run tests.
<ul>
* Mono.Data/test/
* System.Data/Test, and some individual ADO.NET libraries:
there are some standalone tests. See the bottom of <a href="ado-net.html">
ADO.NET page</a> for detail.
* System.Web/Test/TestMonoWeb : see README
* System.Web.Services/Test/standalone : see README
* System.Windows.Forms/SWFTest/
* System.XML/Tests/System.Xml.Schema/standalone_tests : see README
* System.XML/System.Xml.Serialization/standalone_tests/
* System.XML/Tests/System.Xml.Xsl/standalone_tests : see README
</ul>
** Getting started
@@ -42,8 +84,8 @@
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.
directory. Your test class needs also to be listed in the
.sources file at the top of the Test directory.
* Tips on writing Unit tests.
@@ -112,7 +154,7 @@
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
<a href="mailing-lists.html">mailing list</a> - we'll forward this to the
Microsoft people from time to time to help them fix their documentation
and runtime.
@@ -145,3 +187,83 @@
Normally, after you send a couple of well-written new files
and/or patches to the list, you will be given cvs access.
<a name="compiler"></a>
* Compiler tests
Mono ships with three compilers: C#, VB.NET and JScript. The
tests are ran by running the makefile target `make
run-test-local' in the appropriate directory.
The C# compilation tests live in mcs/tests, and the C# error
tests live in mcs/errors.
The VB.NET compilation tests live in mcs/btests.
<a name="runtime"></a>
* Runtime Tests
These tests verify the virtual machine, to run these tests, do:
<pre>
cd mono/mono/tests
make test
</pre>
<a name="aspnet"></a>
* ASP.NET tests
XSP, the Mono ASP.NET server has tests for ASP.NET pages. It uses
<a href="http://nunitasp.sourceforge.net">NUnitAsp</a>. Right now
it only has standalone tests, ie., tests that do not need their own
global.asax or web.config files.
If you want to run them, get the xsp CVS module and install it. Then:
<pre>
cd xsp/nunit-tests
make
cd standalone
xsp
</pre>
And from another terminal:
<pre>
cd xsp/nunit-tests/standalone
nunit-console standalone-tests.dll
</pre>
<a name="ws"></a>
* Web Services tests
The Test directory for the System.Web.Services assembly contains a
standalone test suite for testing web services. It tests:
<ul>
<li>Proxy generation using the wsdl tool</li>
<li>Access to web services using the generated client proxies</li>
<li>Execution of web services in the server</li>
</ul>
This suite not only tests web services running on XSP, but it can also test
services running on other platforms and that are available in internet. This
will help track down interoperability issues.
To build the test suite, just run:
<pre>
cd mcs/class/System.Web.Services/Test/standalone
xsp --root server
</pre>
And from another terminal:
<pre>
cd mcs/class/System.Web.Services/Test/standalone
make
nunit-console testclient.dll
</pre>
This will download the wsdl documents, generate the proxies, build a dll with
the proxies, and build the nunit tests. Then you can use nunit-console or
gnunit to run the tests (the nunit dll is testclient.dll).
Read the README file in mcs/class/System.Web.Services/Test/standalone for
more info.
+53 -1
View File
@@ -1 +1,53 @@
Discuss with write new JIT
** System.Windows.Forms
Progress on Windows.Forms has been good, but we need more work
on this area. Currently redrawing of controls is not
funcional.
** Languages work
Mono has work-in-progress implementations of JScript and the
VB.NET languages
<ul>
<li>Write positive tests for those languages.
<li>Write negative tests for those languages.
<li>Mono-devel-list is the mailing list to discuss
improvements and fixes to those compilers.
</ul>
** Debugger
<ul>
<li>The Mono debugger needs some better widgets to
provide a useful environment, many of those have been
authored for Anjuta/gIDE, we should wrap those for the
debugger
<li>Design a small tool-command-language like Tcl to
build the debugger on top of it.
<li>Design work: a new UI design must be done
for the debugger and later implemented.
</ul>
** Research topics
<ul>
<li>Design and implement a command processor like the
Unix shell, but which uses .NET objects as commands.
This shell would be a CLS consumer ideally, and only
later a CLS producer. This should make it simple for
people to explore the .NET API interactively.
</ul>
** IDE development
Mono lacks an IDE, and we depend on third-parties to work on
these.
<ul>
Sharp
</ul>
+10 -1
View File
@@ -1,10 +1,12 @@
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
@@ -17,11 +19,14 @@
0,Download,download.html,download.src
1,CVS access,ccvs.html,ccvs.src
1,AnonCVS access,anoncvs.html,anoncvs.src
1,Forge,forge.html,forge.src
1,Compiling,compiling.html,compiling.src
0,Contributing,contributing.html,contributing.src
1,Hackers,hackers.html,hackers.src
1,Documentation,documentation.html,documentation.src
1,Class Docs,classlib-doc.html,classlib-doc.src
1,Test Suite,testing.html,testing.src
1,Mono TODO,mono-todo.html,mono-todo.src
1,Tools,tools.html,tools.src
1,Porting,porting.html,porting.src
2,PowerPC,ppc.html,ppc.src
@@ -29,6 +34,7 @@
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
@@ -36,6 +42,7 @@
1,Languages,languages.html,languages.src
1,Debugging,jit-debug.html,jit-debug.src
0,Plans,plans.html,plans.src
1,Drawing,drawing.html,drawing.src
1,ADO.NET,ado-net.html,ado-net.src
2,ProviderFactory,provider-factory.html,provider-factory.src
2,Firebird Interbase,firebird.html,firebird.src
@@ -49,9 +56,11 @@
2,SQL Lite,sqlite.html,sqlite.src
2,Sybase,sybase.html,sybase.src
2,TDS Generic,tdsclient.html,tdsclient.src
2,TDS Providers,tds-providers.html,tds-providers.src
1,Crypto,crypto.html,crypto.src
1,Java,java.html,java.src
1,Windows.Forms,winforms.html,winforms.src
1,XML Classes,xml-classes.html,xml-classes.src
0,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
1,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
1,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
@@ -62,7 +71,7 @@
1,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
1,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
1,Windows.Forms,class-status-System.Windows.Forms.html,class-status-System.Windows.Forms.src,cm/cormissing.css,cm/cormissing.js
1,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
1,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
+3
View File
@@ -216,6 +216,9 @@ function clickHandler (evt)
if (strAssembly)
{
if (strAssembly == 'mscorlib')
strAssembly = 'corlib';
strRoot = strRoot + strAssembly + '/';
if (strNamespace)
{
+1
View File
@@ -0,0 +1 @@
*.xml
+73 -39
View File
@@ -9,29 +9,24 @@ CORCOMPARE=../../../mcs/tools/corcompare
OBJECTS= \
deploy/ado-net.html \
deploy/provider-factory.html \
deploy/mysql.html \
deploy/odbc.html \
deploy/oledb.html \
deploy/oracle.html \
deploy/postgresql.html \
deploy/sqlclient.html \
deploy/sqlite.html \
deploy/sybase.html \
deploy/tdsclient.html \
deploy/anoncvs.html \
deploy/asp-net.html \
deploy/blogs.html \
deploy/books.html \
deploy/bugs.html \
deploy/contributing.html \
deploy/contact.html \
deploy/c-sharp.html \
deploy/ccvs.html \
deploy/documentation.html \
deploy/download.html \
deploy/drawing.html \
deploy/compiling.html \
deploy/crypto.html \
deploy/embedded-api.html \
deploy/faq.html \
deploy/firebird.html \
deploy/forge.html \
deploy/gcc-frontend.html \
deploy/gtk-sharp.html \
deploy/hackers.html \
@@ -46,39 +41,53 @@ OBJECTS= \
deploy/mbas.html \
deploy/mono-beginning.html \
deploy/mono-contribution-howto.html \
deploy/mono-todo.html \
deploy/monodoc-xml.html \
deploy/mysql.html \
deploy/odbc.html \
deploy/oledb.html \
deploy/oracle.html \
deploy/other.html \
deploy/papers.html \
deploy/passport.html \
deploy/plans.html \
deploy/porting.html \
deploy/postgresql.html \
deploy/ppc.html \
deploy/provider-factory.html \
deploy/rationale.html \
deploy/resources.html \
deploy/roadmap.html \
deploy/runtime.html \
deploy/screenshots.html \
deploy/sqlclient.html \
deploy/sqlite.html \
deploy/status.html \
deploy/sybase.html \
deploy/tdsclient.html \
deploy/tds-providers.html \
deploy/team.html \
deploy/testing.html \
deploy/tools.html \
deploy/winforms.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-status-Microsoft.VisualBasic.html \
deploy/class-status-System.EnterpriseServices.html \
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html \
deploy/class-status-System.Security.html \
deploy/class-status-System.Windows.Forms.html \
deploy/class-status-Cscompmgd.html \
deploy/xml-classes.html \
deploy/class-library.html \
deploy/classlib-doc.html
deploy/classlib-doc.html \
deploy/class-status.html \
deploy/class-status-corlib.html \
deploy/class-status-System.html \
deploy/class-status-System.Xml.html \
deploy/class-status-System.Data.html \
deploy/class-status-System.Security.html \
deploy/class-status-System.Web.html \
deploy/class-status-System.Web.Services.html \
deploy/class-status-System.Drawing.html \
deploy/class-status-Microsoft.VisualBasic.html \
deploy/class-status-System.Windows.Forms.html \
deploy/class-status-System.DirectoryServices.html \
deploy/class-status-Cscompmgd.html \
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html
HTML_SOURCES = ../mono-roadmap.html
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
@@ -92,7 +101,8 @@ NON_HTML_SOURCES= \
all: $(OBJECTS) deploy/index.rss ../team
perl process.pl commands template.html.in deploy
-mkdir deploy/team
cp $(HTML_SOURCES) deploy
test -d deploy/team || mkdir deploy/team
cp team/*png deploy/team
tutorial: mono-beginning.html.stamp mono-beginning.pdf
@@ -121,12 +131,15 @@ render-team-page.exe: render-team-page.cs
$(CSC) render-team-page.cs
clean:
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status infos/*.xml
push:
cp -f $(NON_HTML_SOURCES) deploy
echo scp -P 2200 -r deploy/* [email protected]:/web/cvsmodules/mono
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh' . [email protected]:/web/cvsmodules/mono )
cp ../mono-roadmap.html deploy
#echo scp -P 2200 -r deploy/* [email protected]:/web/cvsmodules/mono
#(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh' . [email protected]:/web/cvsmodules/mono )
(cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh' . [email protected]:/web/cvsmodules/mono )
push2:
scp -r deploy/* primates:public_html/xxx
@@ -140,7 +153,7 @@ transform.exe: transform.cs
.PRECIOUS: src/%.src
src/%.src: ../% commands template.html.in #makefile
src/%.src: ../% commands template.html.in makefile
perl htmlify $< > $@
.PRECIOUS: ../class-status-%
@@ -149,20 +162,41 @@ src/%.src: ../% commands template.html.in #makefile
.PRECIOUS: src/%.html.in
src/%.html.in: src/%.xml transform.exe $(CORCOMPARE)/cormissing.xsl
$(RUN_MONO) ./transform.exe $< $(CORCOMPARE)/cormissing.xsl > $@
src/%.html.in: src/%.xml transform.exe $(CORCOMPARE)/mono-api.xsl
$(RUN_MONO) ./transform.exe $< $(CORCOMPARE)/mono-api.xsl > $@ || (rm -f $@ && exit 1)
.PRECIOUS: infos/%.xml
infos/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/mono-api-info.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-info.exe $< > $@ || (rm -f $@ && exit 1)
.PRECIOUS: src/%.xml
src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -x $@ $<
src/%.xml: infos/%.xml $(CORCOMPARE)/mono-api-diff.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-diff.exe masterinfos/$(notdir $<) $< > $@ || (rm -f $@ && exit 1)
src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
# corlib, corlib...
infos/mscorlib.xml: ../../../mcs/class/lib/mscorlib.dll $(CORCOMPARE)/mono-api-info.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-info.exe $(notdir $(basename $<)) > $@ || (rm -f $@ && exit 1)
src/System.Security.xml: ../../../mcs/class/lib/System.Security_cmp.dll $(CORCOMPARE)/CorCompare.exe
$(RUN_MONO) $(CORCOMPARE)/CorCompare.exe -f System.Security -ms System.Security -x $@ $<
src/corlib.xml: infos/mscorlib.xml $(CORCOMPARE)/mono-api-diff.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-diff.exe masterinfos/mscorlib.xml $< > $@ || (rm -f $@ && exit 1)
# System
infos/System.xml: ../../../mcs/class/lib/System.dll $(CORCOMPARE)/mono-api-info.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-info.exe $(notdir $(basename $<)) > $@ || (rm -f $@ && exit 1)
src/System.xml: infos/System.xml $(CORCOMPARE)/mono-api-diff.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-diff.exe masterinfos/System.xml $< > $@ || (rm -f $@ && exit 1)
# System.Xml
infos/System.Xml.xml: ../../../mcs/class/lib/System.Xml.dll $(CORCOMPARE)/mono-api-info.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-info.exe $(notdir $(basename $<)) > $@ || (rm -f $@ && exit 1)
src/System.Xml.xml: infos/System.Xml.xml $(CORCOMPARE)/mono-api-diff.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-diff.exe masterinfos/System.Xml.xml $< > $@ || (rm -f $@ && exit 1)
src/System.DirectoryServices.xml: infos/System.DirectoryServices.xml $(CORCOMPARE)/mono-api-diff.exe
$(RUN_MONO) $(CORCOMPARE)/mono-api-diff.exe masterinfos/System.DirectoryServices.xml $< > $@ || (rm -f $@ && exit 1)
../class-status: ../class-status.in
cp -f $< $@
+1
View File
@@ -0,0 +1 @@
*.xml
+60
View File
@@ -0,0 +1,60 @@
# Note that you will need Microsoft.NET to generate those masterinfos
# Customize to indicate your own installation dir.
DLL_PATH=c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322
all: \
mscorlib.xml \
System.xml \
System.Xml.xml \
System.Data.xml \
System.Web.xml \
System.Web.Services.xml \
System.Runtime.Serialization.Formatters.Soap.xml \
System.Drawing.xml \
System.Security.xml \
System.DirectoryServices.xml \
System.Windows.Forms.xml \
Cscompmgd.xml
mscorlib.xml :
mono-api-info $(DLL_PATH)/mscorlib.dll > mscorlib.xml
System.xml :
mono-api-info $(DLL_PATH)/System.dll > System.xml
System.Xml.xml :
mono-api-info $(DLL_PATH)/System.Xml.dll > System.Xml.xml
System.Data.xml :
mono-api-info $(DLL_PATH)/System.Data.dll > System.Data.xml
System.Web.xml :
mono-api-info $(DLL_PATH)/System.Web.dll > System.Web.xml
System.Web.Services.xml :
mono-api-info $(DLL_PATH)/System.Web.Services.dll > System.Web.Services.xml
System.Runtime.Serialization.Formatters.Soap.xml :
mono-api-info $(DLL_PATH)/System.Runtime.Serialization.Formatters.Soap.dll > System.Runtime.Serialization.Formatters.Soap.xml
System.Drawing.xml :
mono-api-info $(DLL_PATH)/System.Drawing.dll > System.Drawing.xml
System.Security.xml :
mono-api-info $(DLL_PATH)/System.Security.dll > System.Security.xml
System.DirectoryServices.xml :
mono-api-info $(DLL_PATH)/System.DirectoryServices.dll > System.DirectoryServices.xml
System.Windows.Forms.xml :
mono-api-info $(DLL_PATH)/System.Windows.Forms.dll > System.Windows.Forms.xml
Cscompmgd.xml :
mono-api-info $(DLL_PATH)/Cscompmgd.dll > Cscompmgd.xml
clean:
rm mscorlib.xml System.xml System.Xml.xml System.Data.xml System.Web.xml System.Web.Services.xml System.Runtime.Serialization.Formatters.Soap.xml System.Drawing.xml System.Security.xml System.DirectoryServices.xml System.Windows.Forms.xml Cscompmgd.xml
+12 -2
View File
@@ -6,18 +6,21 @@
using System;
using System.IO;
using System.Xml;
using System.Text;
using RSS;
class X {
static RSS.RSS rss;
static Channel c;
static int item_count;
static int line;
static void PopulateRSS (StreamReader input)
{
string s;
while ((s = input.ReadLine ()) != null){
line++;
if (s.StartsWith ("@item "))
break;
}
@@ -49,9 +52,11 @@ class X {
i = c.NewItem ();
i.Title = title;
i.Link = link;
i.PubDate = s.Substring (6, s.IndexOf (":") - 6) + ", 2003";
} else {
description += "\n" + (s == "\n" ? "<p>" : s);
}
line++;
} while ((s = input.ReadLine ()) != null);
if (i != null){
@@ -76,7 +81,12 @@ class X {
using (FileStream fs = new FileStream (input, FileMode.Open)){
using (StreamReader input_stream = new StreamReader (fs)){
PopulateRSS (input_stream);
try {
PopulateRSS (input_stream);
} catch {
Console.WriteLine ("{0} failure while loading: {1}", line, input);
throw;
}
}
}
+16 -1
View File
@@ -13,7 +13,7 @@ namespace RSS {
public class Item {
XmlDocument doc;
XmlNode item;
XmlText title, link, description;
XmlText title, link, description, pubdate;
public Item (XmlDocument doc, XmlNode item)
{
@@ -76,6 +76,21 @@ namespace RSS {
description.Value = value;
}
}
public string PubDate {
get {
if (pubdate == null)
return null;
return pubdate.Value;
}
set {
if (pubdate == null)
pubdate = MakeTextElement ("pubDate");
pubdate.Value = value;
}
}
}
public class Channel {
+173 -20
View File
@@ -312,7 +312,7 @@
<e-mail>[email protected]</e-mail>
<location>Kansas City</location>
<location>Honolulu, Hawai`i</location>
<tasks>
@@ -418,7 +418,7 @@
<image>timc.png</image>
<location>Kitchener-Waterloo, Canada</location>
<location>Waterloo, Ontario, Canada</location>
<tasks>
@@ -454,9 +454,9 @@
<task>NUnit1 -&gt; NUnit2 conversion</task>
<task>Stubbing</task>
<task>Mono Handbook, Documentation</task>
<task>Mono Handbook work</task>
<task>DiaCanvas#</task>
<task>Various fixes</task>
@@ -648,7 +648,7 @@
</name>
<e-mail>jackson@latitudegeo.com</e-mail>
<e-mail>jackson@ximian.com</e-mail>
<image>jackson.png</image>
@@ -658,12 +658,12 @@
<tasks>
<task>Misc Bug fixes</task>
<task>Cscompmgd</task>
<task>IL Assembler</task>
<task>System.Web</task>
<task>Bug Fix0r</task>
</tasks>
</contributor>
@@ -678,7 +678,7 @@
</name>
<e-mail>ndrochak AT gol.com</e-mail>
<e-mail>ndrochak AT ieee.org</e-mail>
<image>nickd.png</image>
@@ -858,13 +858,13 @@
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<image>jonpryor.png</image>
<location>Blacksburg, Virginia</location>
<location>Richmond, Virginia</location>
<organization>Virginia Tech</organization>
<organization>Cadmus Professional Communications</organization>
<description>Graduate Student</description>
<description>Mono Hacker</description>
<tasks>
@@ -915,7 +915,7 @@
</name>
<e-mail>[email protected]</e-mail>
<e-mail>[email protected]</e-mail>
<image>none.png</image>
@@ -1017,17 +1017,23 @@
</name>
<e-mail>[email protected]</e-mail>
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<location>Tokyo, Japan</location>
<description>MIDI Programmer</description>
<organization>Ximian</organization>
<description>Mono Hacker</description>
<tasks>
<task>XML</task>
<task>System.Xml</task>
<task>RELAX NG</task>
<task>Japanese Website Translation</task>
</tasks>
@@ -1422,7 +1428,7 @@
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<image>jluke.png</image>
<location>Daytona, FL</location>
@@ -1432,9 +1438,156 @@
<tasks>
<task>Gtk# Documentation.</task>
<task>Documentation.</task>
<task>Monodoc.</task>
<task>Gtk#</task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Peter</first-name>
<last-name>Williams</last-name>
</name>
<e-mail>[email protected]</e-mail>
<image>peterw.png</image>
<location>Cambridge, MA</location>
<organization></organization>
<description>Makefile Magician</description>
<tasks>
<task>MCS build system </task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Todd</first-name>
<last-name>Berman</last-name>
</name>
<e-mail>[email protected]</e-mail>
<image>tberman.png</image>
<location>Toronto, ON, CA</location>
<organization></organization>
<description>hacker</description>
<tasks>
<task>WSE2</task>
<task>gacutil</task>
<task>MonoDevelop</task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Carlos</first-name>
<last-name>Guzmán Álvarez</last-name>
</name>
<e-mail>[email protected]</e-mail>
<image>none.png</image>
<location>Vigo, Spain</location>
<organization></organization>
<description>Contributor</description>
<tasks>
<task>TLS protocol</task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Jordi</first-name>
<last-name>Mas i Hernàndez</last-name>
</name>
<e-mail>jordi [at] ximian.com</e-mail>
<image>jordi.png</image>
<location>Barcelona, Spain</location>
<organization></organization>
<description>Developer</description>
<tasks>
<task>System.Drawing implementation</task>
<task>Windows.Forms implementation</task>
</tasks>
</contributor>
<contributor>
<name>
<first-name>Pedro</first-name>
<last-name>Abelleira Seco</last-name>
</name>
<e-mail>[email protected]</e-mail>
<image>pedroas.png</image>
<location>Galicia, Spain</location>
<organization></organization>
<description>Developer</description>
<tasks>
<task>MonoDevelop</task>
</tasks>
</contributor>
</contributors>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

+38 -6
View File
@@ -2,7 +2,7 @@
<html>
<head>
<title>#TITLE#</title>
<link rel="icon" href="../MonoIcon.png" type="image/png">
<link rel="icon" href="MonoIcon.png" type="image/png">
<!-- background-image: url("images/bgsquares.gif"); -->
<style type="text/css">
<!--
@@ -15,6 +15,7 @@
.navi0 { font-size: 14px; font-weight: bold; background: #444444; }
.navi1 { font-size: 14px; font-weight: bold; left-margin: 10pt}
.navi2 { font-size: 10px; font-weight: bold; left-margin: 20pt}
.topmenu { font-size: 14px; font-weight: bold; }
.footnote { font-size: 12px; color: #aaaaaa; }
a.navi0 { color: #ffffff; text-decoration: none}
@@ -29,6 +30,20 @@
a.navi2:visited { color: #cccccc; }
a.navi2:hover { color: #ee9900; text-decoration: underline; }
a.topmenu { color: #ffffff; text-decoration: none; margin-left: 7px;}
a.topmenu:visited { color: #cccccc; }
a.topmenu:hover { color: #ee9900; text-decoration: underline; }
h1 {
border-bottom: 2px solid #dddddd;
}
.shell {
border-style: solid; background: #000000; color: #bbbbbb;
#777777; border-width:
1px; padding: 2pt;
margin:15px;
}
// -->
</style>
#CSS#
@@ -38,11 +53,28 @@
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
<td colspan="4">
<a href="http://www.go-mono.com"><img src="images/mono-new.gif"
alt="mono-logo" border="0"></a></td>
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
<td><img src="images/pixel.gif" alt=""></td><!-- left border
-->
<td colspan="4">
<table>
<tr>
<td>
<a href="http://www.go-mono.com"><img
src="images/mono-new.gif" alt="mono-logo" border="0"></a>
</td>
<td>
<a class="topmenu" href="download.html">Downloads</a> |
<a class="topmenu" href="http://go-mono.com/daily/">Daily snapshots</a> |
<a class="topmenu" href="screenshots.html">Screenshots</a> |
<a class="topmenu" href="http://www.go-mono.com:8080">Documentation</a> |
<a class="topmenu" href="bugs.html">Bugs</a> |
<a class="topmenu" href="http://www.go-mono.com/monologue/">Blogs</a>
</td>
</tr>
</table>
</td>
<td><img src="images/pixel.gif" alt=""></td><!-- right border
-->
</tr>
<tr>
<td><img src="images/pixel.gif" width="1" height="1" alt=""></td>
+10 -81
View File
@@ -27,12 +27,13 @@
* Win32/Wine edition.
Currently (May 21st, 2003) to get the Windows.Forms support
working, you need a Mono installation from CVS, and you need
to install Wine plus the <a
href="http://www.openlinksw.com">OpenLink patch</a>, and
To get the Windows.Forms support working, you need a Mono
installation from CVS, and you need to install Wine plus the
<a href="http://www.openlinksw.com">OpenLink patch</a>, and
define the environment variable "SWF" (export SWF=1 from your
shell).
shell). For more information, see the <a
href="http://www.nullenvoid.com/mono/wiki/index.php/MonoWinePackages">Mono
Wine Packages</a> page in the Mono Wiki.
<table>
<tr>
@@ -47,7 +48,7 @@
calls to Win32 and we will then just run the result on Unix.
In terms of integrating visually with the desktop, we are
hoping to contribute to the Wine project an mechanism to make
hoping to contribute to the Wine project a mechanism to make
it use the Gtk+ themes on X11 and Cocoa on MacOS to render the
widgets, and get the native look and feel on each of these
platforms.
@@ -89,79 +90,7 @@
* System.Drawing
Using existing libraries to implement some of the
functionality required:
<ul>
* gdk-pixbuf is a generic image loader that loads an image
and leaves it into an RGB buffer. It hides all the details
about what image file format is being loaded.
* Libart is a general framework for rendering RGB/RGBA
buffers into RGB buffers and rendering postscript-like paths into
RGB/RGBA buffers.
</ul>
We want to use gdk-pixbuf as the image loader for the image
classes, and then we need operations to render that into the
windowing system (Gtk+, MacOS, etc). But notice how there is
very little dependnecies in Gdk-pixbuf on gtk, and libart has
none.
They are pretty independent from a windowing system
(gdk-pixbuf comes with some "helper" routines for rendering
data into a pixmap and to load pixmaps into RGB buffers).
A few things to keep in mind:
<ul>
* gdk-pixbuf can be used to load images for Gtk+,
MacOS X and Windows, it should be pretty portable,
although we might need in the future to back-port
some new features from Gtk head.
* Libart is probably only going to be used with X11,
as the MacOS X provides the same features in Quartz,
and Win32 *probably* has that in GDI+. If not, we
should use libart in Win32 as well (or for older
Windows systems).
</ul>
* Directory Layout
<pre>
System.Drawing (assembly directory)
System.Drawing.Blah
Common code for "Blah"
Stubs for "Blah" to ease ports.
Gtk
System.Drawing.Blah.
Gtk ports of "System.Drawing.Blah"
MacOS
System.Drawing.Blah
MacOS ports of "System.Drawing.Blah"
WineLIB
System.Drawing.Blah
Win32 ports of "System.Drawing.Blah"
</pre>
Notice that there is a proof of concept Gtk-backend for
Windows.Forms, but nobody is working on it, and for the
reasons stated before it is not a long term strategy.
* Open questions:
I believe that the graphics contexts that are used to render
can accept either libart-like rendering operations and
X11-like rendering operations. This complicates matters, but
I am not sure. Someone needs to investigate this.
* Historical
Although the original plans were to use Gtk on X and Cocoa on
MacOS X, it would be very hard to emulate the event model in
which some Winforms applications depend, and it would be very
hard to implement the Wndproc method.
For details, see the <a
href="drawing.html">System.Drawing implementation notes</a>
section of the web site.
+310
View File
@@ -0,0 +1,310 @@
* XML Classes
** Abstract
XML library is used by several field of Mono such as ADO.NET and XML
Digital Signature (xmldsig). Here I write about System.Xml.dll and
related tools. This page won't include any classes which are in other
assemblies such as XmlDataDocument.
Note that current corlib has its own XML parser class named Mono.Xml.MiniParser.
Basically System.XML.dll feature has finished, or almost finished, so
I write this page mainly for bugs and improvement hints.
** System.Xml namespace
*** Document Object Model (Core)
DOM feature has already implemented. There is still missing feature.
<ul>
* ID constraint support is problematic because W3C DOM does not
specify handling of ID attributes into non-adapted element.
(MS.NET also looks incomplete in this area).
* I think, event feature is not fully tested. There are no
concrete desctiption on which events are risen, so we have to
do some experiment on MS.NET.
</ul>
*** Xml Writer
Here XmlWriter almost equals to XmlTextWriter. If you want to see
another implementation, check XmlNodeWriter.cs used in monodoc.
XmlTextWriter is completed. However, it looks nearly twice as slow as
MS.NET (I tried 1.1)
*** XmlResolver
Currently XmlTextReader uses specified XmlResolver. If nothing was supplied,
then it uses XmlUrlResolver. XmlResolver is used to parse external DTD,
importing XSL stylesheets and schemas etc.
However, XmlUrlResolver is still buggy (mainly because System.Uri is also
incomplete yet) and this results in several loading error.
XmlSecureResolver, which is introduced in MS .NET Framework 1.1 is basically
implemented, but it requires CAS (code access security) feature. We need to
fixup this class after ongoing CAS effort works.
You might also be interested in an improved <a href="http://codeblogs.ximian.com/blogs/benm/archives/000039.html">XmlCachingResolver</a> by Ben Maurer.
*** XmlNameTable
XmlNameTable itself is implemented. However, it should be actually used in
several classes. Currently it makes sense if compared names are both in
the table, they should be simply compared using ReferenceEquals(). We
have partially done in XmlNamespaceManager (in .NET 1.2 methods; if the
build is not NET_1_2 then it is internal use only).
*** Xml Stream Reader
When we are using ASCII document, we don't care which encoding we are using.
However, XmlTextReader must be aware of the specified encoding in XML
declaration. So we have internal XmlStreamReader class (and currently
XmlInputStream class. This may disappear since XmlStreamReader is enough to
handle this problem).
However, there seems some problems in these classes on reading network
stream (especially on Linux). This should be fixed soon, if we found the
actual reason.
*** XML Reader
XmlTextReader, XmlNodeReader and XmlValidatingReader are almost finished.
<ul>
* Most of the OASIS conformance test passes as Microsoft
does, but about W3C tests, it is still not perfect.
* I won't add any XDR support on XmlValidatingReader. (I haven't
ever seen XDR used other than Microsoft's BizTalk Server 2000,
and Now they have 2002 with XML Schema support)
</ul>
XmlTextReader and XmlValidatingReader should be faster than now. Currently
XmlTextReader looks nearly twice as slow as MS.NET, and XmlValidatingReader
(which uses this slow XmlTextReader) looks nearly three times slower. (Note
that XmlValidatingReader won't be slow as itself. It uses schema validating
reader and dtd validating reader.)
**** Some Advantages
The design of Mono's XmlValidatingReader is radically different from
that of Microsoft's implementation. Under MS.NET, DTD content validation
engine is in fact simple replacement of XML Schema validation engine.
Mono's DTD validation is designed fully separate and does validation
as normal XML parser does. For example, Mono allows non-deterministic DTD.
Another advantage of this XmlValidatingReader is support for *any* XmlReader.
Microsoft supports only XmlTextReader.
I added extra support interface named "IHasXmlParserContext", which is
considered in XmlValidatingReader.ResolveEntity(). Microsoft failed to
design XmlReader to support pluggable use of XmlReader (i.e. wrapping use
of other XmlReader) since XmlParserContext is required to support both
entity resolution and namespace manager. (In .NET 1.2, Microsoft also
supported similar to IHasXmlParserContext, named IXmlNamespaceResolver,
but it still does not provide any DTD information.)
We also have RELAX NG validating reader. See mcs/class/Commons.Xml.Relaxng.
** System.Xml.Schema
*** Summary
Basically it is completed. We can compile complex and simple types, refer to
external schemas, extend or restrict other types, or use substitution groups.
You can test how current schema validation engine is (in)complete by using
standalone test module
(see mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests).
At least in my box, msxsdtest fails only 30 cases with bugfixed catalog.
*** Schema Object Model
Completed, except for some things to be fixed:
<ul>
* Complete facet support. Currently some of them is missing.
Recently David Sheldon is doing several fixes on them.
* ContentTypeParticle for pointless xs:choice is incomplete
(It is because fixing this arose another bugs in
compilation. Interestingly, MS.NET also fails around here,
so it might be nature of ContentTypeParticle design)
* Some derivation by restriction (DBR) handling is incorrect.
</ul>
*** Validating Reader
XML Schema validation feature is (currently) implemented on
Mono.Xml.Schema.XsdValidatingReader, which is internally used in
XmlValidatingReader.
Basically this is implemented and actually its feature is almost complete,
but I have only did validation feature testing. So we have to write more
tests on properties, methods, and events (validation errors).
** System.Xml.Serialization
Lluis rules ;-)
Well, in fact XmlSerializer is almost finished and is on bugfix phase.
However, we appliciate more tests. Please try
<ul>
* System.Web.Services to invoke SOAP services.
* xsd.exe and wsdl.exe to create classes.
</ul>
And if any problems were found, please file it to bugzilla.
Lluis also built interesting standalone test system placed under
mcs/class/System.Web.Services/Test/standalone.
You might also interested in genxs, which enables you to create custom
XML serializer. This is not included in Microsoft.NET.
See mcs/tools/genxs for the details.
** System.Xml.XPath and System.Xml.Xsl
There are two implementations for XSLT. One (and historical) implementation
is based on libxslt. Now we uses fully implemented managed XSLT.
As for Managed XSLT, we support msxsl:script.
It would be nice if we can support <a href="http://www.exslt.org/">EXSLT</a>.
<a href="http://msdn.microsoft.com/WebServices/default.aspx?pull=/library/en-us/dnexxml/html/xml05192003.asp">Microsoft has already done it</a>, but it
is not good code since it depends on internal concrete derivatives of
XPathNodeIterator classes. In general, .NET's "extension objects" is not
usable to return node-sets, so if we support EXSLT, it has to be done
internally inside our System.XML.dll. Volunteers are welcome.
Our managed XSLT implementation is still inefficient. XslTransform.Load()
and .Transform() looks three times slower (However it depends on
XmlTextReader which is also slow, so we are starting optimization from
that class, not XSLT itself). These number are only for specific cases,
and there might be more critical point on XSLT engine (mainly
XPathNodeIterator).
** System.Xml and ADO.NET v2.0
Microsoft introduced the first beta version of .NET Framework 1.2 runtime
and sdk (and Visual Studio Whidbey). They are now available on MSDN
_subscriber_ download (i.e. it is not publicly downloadable yet). It
contains several new classes.
There are two assemblies related to System.Xml v2.0; System.Xml.dll and
System.Data.SqlXml.dll (here I treat sqlxml.dll as part of System.Xml v2.0,
but note that it is also one of the ADO.NET 2.0 feature). There are several
namespaces such as MS.Internal.Xml and System.Xml. Note that .NET Framework
is pre-release version and MS.Internal.Xml namespace apparently shows that
it is not in stable status as yet.
System.Xml 2.0 contains several features such as:
<ul>
* XPathNavigator2 and XPathDocument2
* XML Query
* XmlAdapter
* XSLT IL generator (similar to Apache XSLTC) - it is
internal use
</ul>
Tim Coleman started ADO.NET 2.0 related works. Currently I have no plan to
implement System.Xml v2.0 classes and won't touch with them immediately,
but will start in next some months. If any of you wants to try this
frontier, we welcome your effort.
*** XPathNavigator2
System.Xml v2.0 implementation will be started from XPathDocument2 and
XPathNavigator2 implementations. Firstly, its document structure and
basic navigation feature will be implemented. And next, XPath2 engine
should be implemented (XPathNavigator2 looks very different from
XPathNavigator). Another requirement is schema based validation feature.
It needs some schema improvements, such like IXmlInfosetReader support.
(IXmlInfosetReader is in MS.Internal.Xml.)
*** XML Query
XML Query is a new face XML data manipulation language (well, at least new
to .NET world). It is similar to SQL, but intended to manipulate and to
support XML. It is similar to XSLT, but extended to support new features
such as XML Schema based datatypes.
XML Query implementation can be found mainly in System.Xml.Query and
MS.Internal.Xml.Query namespaces. Note that they are in
System.Data.SqlXml.dll.
MSDN documentation says that there are two kind of API for XML Query: High
Level API and Low Level API. At the time of this beta version, the Low Level
API is described not released yet (though it may be MS.Internal.Xml.*
classes). However, to implement the High Level API, the Low Level API will
be used. They looks to have interesting class structures in MS.Internal.Xml
related stuff, so it would be nice (and I will) start to learn about them.
They looks to have IL generator classes, but it would be difficult to
start from them.
*** System.Data.Mapping
System.Data.Mapping and System.Data.Mapping.RelationalSchema are the
namespaces for mapping support between database and xml. This is at
stubbing phase (incomplete as yet).
*** XmlAdapter
XmlAdapter is used to support XML based query and update using
XPathDocument2 and XPathNavigator2. This class is designed to synthesize
ADO.NET and System.Xml. It connects to databases, and querys data however
in XML shape into XPathDocument2, using Mapping schema above. This must be
done after several classes such as XPathDocument2 and MappingSchema.
** Miscellaneous Class Libraries
*** RELAX NG
I implemented an experimental RelaxngValidatingReader. It is far from
complete, especially simplification stuff (see RELAX NG spec chapter 4),
some constraints (in chapter 7), and datatype handling.
I am planning improvements (starts with renaming classes, giving more
kind error messages, supporting compact syntax and even object mapping),
but it is still my wishlist.
** Tools
*** xsd.exe
See <a href="ado-net.html">ADO.NET page</a>.
Microsoft has another inference class from XmlReader to XmlSchemaCollection
(Microsoft.XsdInference). It may be useful, but it won't be so easy.
** Miscellaneous
Sometimes I hear complain about System.dll and System.Xml.dll mutual
dependency: System.dll references to System.Xml.dll (e.g.
System.Configuration.ConfigXmlDocument extended from XmlDocument), while
System.Xml.dll vice versa (e.g. XmlUrlResolver.ResolveUri takes System.Uri).
Since they are in public method signatures, so at least we cannot get rid
of these mutual references.
However, for those who really want to build System.Xml.dll without System.dll,
I created <a href="http://primates.ximian.com/~atsushi/System_DummyClasses.cs">dummy classes in System.dll</a>. To build System.Xml.dll in such way, remove
<code>/r:System.dll</code> from Makefile, and add this source to
System.Xml.dll.sources. Note that this is at the point of Mono 0.30 release.
Also note that you still need System.dll to run mcs.
+2 -1
View File
@@ -1,3 +1,4 @@
EXTRA_DIST = gc-issues jit-thoughts object-layout unmanaged-calls \
exceptions jit-trampolines stack-alignment embedded-api
exceptions jit-trampolines stack-alignment embedded-api \
assembly-bundle
+57
View File
@@ -0,0 +1,57 @@
HOWTO bundle assemblies inside the mono runtime.
Paolo Molaro ([email protected])
* Intent
Bundling assemblies inside the mono runtime may be useful for a number
of reasons:
* creating a standalone complete runtime that can be more easily
distributed
* having an application run against a known set of assemblies
that has been tested
Of course, there are drawbacks, too: if there has been fixes
to the assemblies, replacing them means recompiling the
runtime as well and if there are other mono apps, unless they
use the same mono binary, there will be less opportunities for
the operating system to optimize memory usage. So use this
feature only when really needed.
* Creating the Bundle
To bundle a set of assemblies, you need to create a file that
lists the assembly names and the relative files. Empty lines
and lines starting with # are ignored:
== cut cut ==
# Sample bundle template
mscorlib: /path/to/mscorlib/assembly.dll
myapp: /path/to/myapp.exe
== cut cut ==
Next you need to build the mono runtime using a special configure option:
./configure --with-bundle=/path/to/bundle/template
The path to the template should be an absolute path.
The script metadata/make-bundle.pl will take the specifie
assemblies and embed them inside the runtime where the loading
routines can find them before searching for them on disk.
* Open Issues
There are still two issues to solve:
* config files: sometimes they are needed but they are
not yet bundled inside the library ()
* building with the included libgc makes it not
possible to build a mono binary statically linked to
libmono: this needs to be fixed to make bundles
really useful.
+34 -5
View File
@@ -1,11 +1,13 @@
Embedding the Mono runtime, preliminary version
Miguel de Icaza, Paolo Molaro.
Miguel de Icaza ([email protected]),
Paolo Molaro ([email protected])
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.
invoke C code from CIL. Both the JIT and interpreter can be
embedded in very similar ways so most of what is described
here can be used in either case.
* Embedding the runtime.
@@ -27,6 +29,12 @@
pkg-config --cflags --libs mono
is used to get the flags for the JIT runtime and
pkg-config --cflags --libs mint
for the interpreted runtime.
Like this:
gcc sample.c `pkg-config --cflags --libs mono`
@@ -39,12 +47,22 @@
** Initializing the Mono runtime
To initialize the runtime, call mono_jit_init, like this:
To initialize the JIT runtime, call mono_jit_init, like this:
#include <mono/mini/jit.h>
MonoDomain *domain;
domain = mono_jit_init ("domain-name");
For the interpreted runtime use mono_interp_init instead:
#include <mono/interpreter/embed.h>
MonoDomain *domain;
domain = mono_interp_init ("domain-name");
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
@@ -70,6 +88,10 @@
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
or when using the interpreter use:
retval = mono_interp_exec (domain, assembly, argc - 1, argv + 1);
If you want to invoke a different method, look at the
`Invoking Methods in the CIL universe' section later on.
@@ -80,6 +102,10 @@
mono_jit_cleanup (domain);
Or in the case of the interpreted runtime use:
mono_interp_cleanup (domain);
** Applications that use threads.
The Boehm GC system needs to catch your calls to the pthreads
@@ -183,6 +209,9 @@
methods, a MonoObject* for object instances and a pointer to
the value type for value types.
These functions can be used in both the JIT and the interpreted
environments.
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
@@ -236,7 +265,7 @@
* Samples
See the sample programs inmono/sample/embed for examples of
See the sample programs in mono/sample/embed for examples of
embedding the Mono runtime in your application.
+3 -2
View File
@@ -1,5 +1,6 @@
Author: Dietmar Maurer ([email protected])
(C) 2001 Ximian, Inc.
Exception Implementation in the Mono Runtime
Dietmar Maurer ([email protected])
(C) 2001 Ximian, Inc.
Exception implementation (jit):
===============================
+57 -32
View File
@@ -1,7 +1,19 @@
Internal Call Topics
* How to map C# types for use in the C implementation of internal calls
* Introduction
The Common Language Infrastructure allows for methods to be
implemented in unmanaged code. Unlike the Platform Invocation
services which provide marshalling and unmarshalling of data
from managed to unmanaged and viceversa the Internal calls do
not perform any kind of marshalling.
* Basic Type mapping
The following lists how the C# types are exposed to the C API.
C# type C type
-----------------------------
char gunichar2
bool MonoBoolean
sbyte signed char
@@ -16,44 +28,57 @@
object MonoObject*
string MonoString*
For ref and out paramaters you'll use the corresponding pointer type.
Arrays of any type must be described with a MonoArray* and the elements
must be accessed with the mono_array_* macros.
Any other type that has a matching C structure representation, should use
a pointer to the struct instead of a generic MonoObject pointer.
* Pointers
Instance methods that are internal calls will receive as first argument
the instance object, so you must account for it in the C method signature:
For ref and out paramaters you'll use the corresponding
pointer type.
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override int GetHashCode ();
So if you have a C# type listed as "ref int", you should use
"int *" in your implementation.
becaomes:
* Arrays
gint32 ves_icall_System_String_GetHashCode (MonoString *this);
Arrays of any type must be described with a MonoArray* and the
elements must be accessed with the mono_array_* macros.
* Other Structures
Any other type that has a matching C structure representation,
should use a pointer to the struct instead of a generic
MonoObject pointer.
* Instance Methods.
Instance methods that are internal calls will receive as first argument
the instance object, so you must account for it in the C method signature:
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override int GetHashCode ();
becomes:
gint32 ves_icall_System_String_GetHashCode (MonoString *this);
* How to hook internal calls with the runtime
Once you require an internal call in corlib, you need to create a C
implementation for it and register it in a static table in metadata/icall.c.
Add an entry in the table like:
"System.String::GetHashCode", ves_icall_System_String_GetHashCode,
Note that you need to include the full namespace.name of the class.
If there are overloaded methods, you need also to specify the signature
of _all_ of them:
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override void DoSomething ();
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override void DoSomething (bool useful);
should be mapped with:
"Namespace.ClassName::DoSomething()", ves_icall_Namespace_ClassName_DoSomething,
"Namespace.ClassName::DoSomething(bool)", ves_icall_Namespace_ClassName_DoSomething_bool,
Once you require an internal call in corlib, you need to
create a C implementation for it and register it in a static
table in metadata/icall.c. Add an entry in the table like:
"System.String::GetHashCode", ves_icall_System_String_GetHashCode,
Note that you need to include the full namespace.name of the
class. If there are overloaded methods, you need also to
specify the signature of _all_ of them:
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override void DoSomething ();
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public extern override void DoSomething (bool useful);
should be mapped with:
"Namespace.ClassName::DoSomething()", ves_icall_Namespace_ClassName_DoSomething,
"Namespace.ClassName::DoSomething(bool)", ves_icall_Namespace_ClassName_DoSomething_bool,
+372 -297
View File
@@ -1,349 +1,424 @@
Mono JIT porting guide.
Paolo Molaro ([email protected])
Mono JIT porting guide.
Paolo Molaro ([email protected])
* Introduction
This documents describes the process of porting the mono JIT
to a new CPU architecture. The new mono JIT has been designed
to make porting easier though at the same time enable the port
to take full advantage from the new architecture features and
instructions. Knowledge of the mini architecture (described in the
mini-doc.txt file) is a requirement for understanding this guide,
as well as an earlier document about porting the mono interpreter
(available on the web site).
There are six main areas that a port needs to implement to
have a fully-functional JIT for a given architecture:
1) instruction selection
2) native code emission
3) call conventions and register allocation
4) method trampolines
5) exception handling
6) minor helper methods
To take advantage of some not-so-common processor features (for example
conditional execution of instructions as may be found on ARM or ia64), it may
be needed to develop an high-level optimization, but doing so is not a
requirement for getting the JIT to work.
We'll see in more details each of the steps required, note, though,
that a new port may just as well start from a cut&paste of an existing
port to a similar architecture (for example from x86 to amd64, or from
powerpc to sparc).
The architecture specific code is split from the rest of the JIT,
for example the x86 specific code and data is all included in the
following files in the distribution:
mini-x86.h mini-x86.c
inssel-x86.brg
cpu-pentium.md
tramp-x86.c
exceptions-x86.c
I suggest a similar split for other architectures as well.
Note that this document is still incomplete: some sections are only
sketched and some are missing, but the important info to get a port
going is already described.
This documents describes the process of porting the mono JIT
to a new CPU architecture. The new mono JIT has been designed
to make porting easier though at the same time enable the port
to take full advantage from the new architecture features and
instructions. Knowledge of the mini architecture (described in
the mini-doc.txt file) is a requirement for understanding this
guide, as well as an earlier document about porting the mono
interpreter (available on the web site).
There are six main areas that a port needs to implement to
have a fully-functional JIT for a given architecture:
1) instruction selection
2) native code emission
3) call conventions and register allocation
4) method trampolines
5) exception handling
6) minor helper methods
To take advantage of some not-so-common processor features
(for example conditional execution of instructions as may be
found on ARM or ia64), it may be needed to develop an
high-level optimization, but doing so is not a requirement for
getting the JIT to work.
We'll see in more details each of the steps required, note,
though, that a new port may just as well start from a
cut&paste of an existing port to a similar architecture (for
example from x86 to amd64, or from powerpc to sparc).
The architecture specific code is split from the rest of the
JIT, for example the x86 specific code and data is all
included in the following files in the distribution:
mini-x86.h mini-x86.c
inssel-x86.brg
cpu-pentium.md
tramp-x86.c
exceptions-x86.c
I suggest a similar split for other architectures as well.
Note that this document is still incomplete: some sections are
only sketched and some are missing, but the important info to
get a port going is already described.
* Architecture-specific instructions and instruction selection.
The JIT already provides a set of instructions that can be easily
mapped to a great variety of different processor instructions.
Sometimes it may be necessary or advisable to add a new instruction
that represent more closely an instruction in the architecture.
Note that a mini instruction can be used to represent also a short
sequence of CPU low-level instructions, but note that each
instruction represents the minimum amount of code the instruction
scheduler will handle (i.e., the scheduler won't schedule the instructions
that compose the low-level sequence as individual instructions, but just
the whole sequence, as an indivisible block).
New instructions are created by adding a line in the mini-ops.h file,
assigning an opcode and a name. To specify the input and output for
the instruction, there are two different places, depending on the context
in which the instruction gets used.
If the instruction is used in the tree representation, the input and output
types are defined by the BURG rules in the *.brg files (the usual
non-terminals are 'reg' to represent a normal register, 'lreg' to
represent a register or two that hold a 64 bit value, freg for a
floating point register).
If an instruction is used as a low-level CPU instruction, the info
is specified in a machine description file. The description file is
processed by the genmdesc program to provide a data structure that
can be easily used from C code to query the needed info about the
instruction.
As an example, let's consider the add instruction for both x86 and ppc:
The JIT already provides a set of instructions that can be
easily mapped to a great variety of different processor
instructions. Sometimes it may be necessary or advisable to
add a new instruction that represent more closely an
instruction in the architecture. Note that a mini instruction
can be used to represent also a short sequence of CPU
low-level instructions, but note that each instruction
represents the minimum amount of code the instruction
scheduler will handle (i.e., the scheduler won't schedule the
instructions that compose the low-level sequence as individual
instructions, but just the whole sequence, as an indivisible
block).
x86 version:
add: dest:i src1:i src2:i len:2 clob:1
ppc version:
add: dest:i src1:i src2:i len:4
New instructions are created by adding a line in the
mini-ops.h file, assigning an opcode and a name. To specify
the input and output for the instruction, there are two
different places, depending on the context in which the
instruction gets used.
Note that the instruction takes two input integer registers on both CPU,
but on x86 the first source register is clobbered (clob:1) and the length
in bytes of the instruction differs.
Note that integer adds and floating point adds use different opcodes, unlike
the IL language (64 bit add is done with two instructions on 32 bit architectures,
using a add that sets the carry and an add with carry).
A specific CPU port may assign any meaning to the clob field for an instruction
since the value will be processed in an arch-specific file anyway.
See the top of the existing cpu-pentium.md file for more info on other fields:
the info may or may not be applicable to a different CPU, in this latter case
the info can be ignored.
The code in mini.c together with the BURG rules in inssel.brg, inssel-float.brg
and inssel-long32.brg provides general purpose mappings from the tree representation
to a set of instructions that should be easily implemented in any architecture.
To allow for additional arch-specific functionality, an arch-specific BURG file
can be used: in this file arch-specific instructions can be selected that provide
better performance than the general instructions or that provide functionality
that is needed by the JIT but that cannot be expressed in a general enough way.
As an example, x86 has the special instruction "push" to make it easier to
implement the default call convention (passing arguments on the stack): almost
all the other architectures don't have such an instruction (and don't need it anyway),
so we added a special rule in the inssel-x86.brg file for it.
If the instruction is used in the tree representation, the
input and output types are defined by the BURG rules in the
*.brg files (the usual non-terminals are 'reg' to represent a
normal register, 'lreg' to represent a register or two that
hold a 64 bit value, freg for a floating point register).
So, one of the first things needed in a port is to write a cpu-$(arch).md machine
description file and fill it with the needed info. As a start, only a few
instructions can be specified, like the ones required to do simple integer
operations. The default rules of the instruction selector will emit the common
instructions and so we're ready to go for the next step in porting the JIT.
If an instruction is used as a low-level CPU instruction, the
info is specified in a machine description file. The
description file is processed by the genmdesc program to
provide a data structure that can be easily used from C code
to query the needed info about the instruction.
As an example, let's consider the add instruction for both x86
and ppc:
x86 version:
add: dest:i src1:i src2:i len:2 clob:1
ppc version:
add: dest:i src1:i src2:i len:4
Note that the instruction takes two input integer registers on
both CPU, but on x86 the first source register is clobbered
(clob:1) and the length in bytes of the instruction differs.
Note that integer adds and floating point adds use different
opcodes, unlike the IL language (64 bit add is done with two
instructions on 32 bit architectures, using a add that sets
the carry and an add with carry).
A specific CPU port may assign any meaning to the clob field
for an instruction since the value will be processed in an
arch-specific file anyway.
See the top of the existing cpu-pentium.md file for more info
on other fields: the info may or may not be applicable to a
different CPU, in this latter case the info can be ignored.
The code in mini.c together with the BURG rules in inssel.brg,
inssel-float.brg and inssel-long32.brg provides general
purpose mappings from the tree representation to a set of
instructions that should be easily implemented in any
architecture. To allow for additional arch-specific
functionality, an arch-specific BURG file can be used: in this
file arch-specific instructions can be selected that provide
better performance than the general instructions or that
provide functionality that is needed by the JIT but that
cannot be expressed in a general enough way.
As an example, x86 has the special instruction "push" to make
it easier to implement the default call convention (passing
arguments on the stack): almost all the other architectures
don't have such an instruction (and don't need it anyway), so
we added a special rule in the inssel-x86.brg file for it.
So, one of the first things needed in a port is to write a
cpu-$(arch).md machine description file and fill it with the
needed info. As a start, only a few instructions can be
specified, like the ones required to do simple integer
operations. The default rules of the instruction selector will
emit the common instructions and so we're ready to go for the
next step in porting the JIT.
*) Native code emission
Since the first step in porting mono to a new CPU is to port the interpreter,
there should be already a file that allows the emission of binary native code
in a buffer for the architecture. This file should be placed in the
mono/arch/$(arch)/
directory.
Since the first step in porting mono to a new CPU is to port
the interpreter, there should be already a file that allows
the emission of binary native code in a buffer for the
architecture. This file should be placed in the
The bulk of the code emission happens in the mini-$(arch).c file, in a function
called mono_arch_output_basic_block (). This function takes a basic block, walks the
list of instructions in the block and emits the binary code for each.
Optionally a peephole optimization pass is done on the basic block, but this can be
left for later, when the port actually works.
This function is very simple, there is just a big switch on the instruction opcode
and in the corresponding case the functions or macros to emit the binary native code
are used. Note that in this function the lengths of the instructions are used to
determine if the buffer for the code needs enlarging.
mono/arch/$(arch)/
To complete the code emission for a method, a few other functions need
implementing as well:
directory.
mono_arch_emit_prolog ()
mono_arch_emit_epilog ()
mono_arch_patch_code ()
The bulk of the code emission happens in the mini-$(arch).c
file, in a function called mono_arch_output_basic_block
(). This function takes a basic block, walks the list of
instructions in the block and emits the binary code for each.
Optionally a peephole optimization pass is done on the basic
block, but this can be left for later, when the port actually
works.
mono_arch_emit_prolog () will emit the code to setup the stack frame for a method,
optionally call the callbacks used in profiling and tracing, and move the
arguments to their home location (in a caller-save register if the variable was
allocated to one, or in a stack location if the argument was passed in a volatile
register and wasn't allocated a non-volatile one). caller-save registers used by the
function are saved in the prolog as well.
This function is very simple, there is just a big switch on
the instruction opcode and in the corresponding case the
functions or macros to emit the binary native code are
used. Note that in this function the lengths of the
instructions are used to determine if the buffer for the code
needs enlarging.
To complete the code emission for a method, a few other
functions need implementing as well:
mono_arch_emit_prolog ()
mono_arch_emit_epilog ()
mono_arch_patch_code ()
mono_arch_emit_prolog () will emit the code to setup the stack
frame for a method, optionally call the callbacks used in
profiling and tracing, and move the arguments to their home
location (in a caller-save register if the variable was
allocated to one, or in a stack location if the argument was
passed in a volatile register and wasn't allocated a
non-volatile one). caller-save registers used by the function
are saved in the prolog as well.
mono_arch_emit_epilog () will emit the code needed to return
from the function, optionally calling the profiling or tracing
callbacks. At this point the basic blocks or the code that was
moved out of the normal flow for the function can be emitted
as well (this is usually done to provide better info for the
static branch predictor). In the epilog, caller-save
registers are restored if they were used.
mono_arch_emit_epilog () will emit the code needed to return from the function,
optionally calling the profiling or tracing callbacks. At this point the basic blocks
or the code that was moved out of the normal flow for the function can be emitted
as well (this is usually done to provide better info for the static branch predictor).
In the epilog, caller-save registers are restored if they were used.
Note that, to help exception handling and stack unwinding, when there is a transition
from managed to unmanaged code, some special processing needs to be done (basically,
saving all the registers and setting up the links in the Last Managed Frame
structure).
When the epilog has been emitted, the upper level code arranges for the buffer of
memory that contains the native code to be copied in an area of executable memory
and at this point, instructions that use relative addressing need to be patched
to have the right offsets: this work is done by mono_arch_patch_code ().
Note that, to help exception handling and stack unwinding,
when there is a transition from managed to unmanaged code,
some special processing needs to be done (basically, saving
all the registers and setting up the links in the Last Managed
Frame structure).
When the epilog has been emitted, the upper level code
arranges for the buffer of memory that contains the native
code to be copied in an area of executable memory and at this
point, instructions that use relative addressing need to be
patched to have the right offsets: this work is done by
mono_arch_patch_code ().
* Call conventions and register allocation
To account for the differences in the call conventions, a few functions need to
be implemented.
To account for the differences in the call conventions, a few functions need to
be implemented.
mono_arch_allocate_vars () assigns to both arguments and local
variables the offset relative to the frame register where they
are stored, dead variables are simply discarded. The total
amount of stack needed is calculated.
mono_arch_call_opcode () is the function that more closely
deals with the call convention on a given system. For each
argument to a function call, an instruction is created that
actually puts the argument where needed, be it the stack or a
specific register. This function can also re-arrange th order
of evaluation when multiple arguments are involved if needed
(like, on x86 arguments are pushed on the stack in reverse
order). The function needs to carefully take into accounts
platform specific issues, like how structures are returned as
well as the differences in size and/or alignment of managed
and corresponding unmanaged structures.
The other chunk of code that needs to deal with the call
convention and other specifics of a CPU, is the local register
allocator, implemented in a function named
mono_arch_local_regalloc (). The local allocator deals with a
basic block at a time and basically just allocates registers
for temporary values during expression evaluation, spilling
and unspilling as necessary.
mono_arch_allocate_vars () assigns to both arguments and local variables
the offset relative to the frame register where they are stored, dead
variables are simply discarded. The total amount of stack needed is calculated.
mono_arch_call_opcode () is the function that more closely deals with the call
convention on a given system. For each argument to a function call, an instruction
is created that actually puts the argument where needed, be it the stack or a
specific register. This function can also re-arrange th order of evaluation
when multiple arguments are involved if needed (like, on x86 arguments are pushed
on the stack in reverse order). The function needs to carefully take into accounts
platform specific issues, like how structures are returned as well as the
differences in size and/or alignment of managed and corresponding unmanaged
structures.
The other chunk of code that needs to deal with the call convention and other
specifics of a CPU, is the local register allocator, implemented in a function
named mono_arch_local_regalloc (). The local allocator deals with a basic block
at a time and basically just allocates registers for temporary
values during expression evaluation, spilling and unspilling as necessary.
The local allocator needs to take into account clobbering information, both
during simple instructions and during function calls and it needs to deal
with other architecture-specific weirdnesses, like instructions that take
inputs only in specific registers or output only is some.
Some effort will be put later in moving most of the local register allocator to
a common file so that the code can be shared more for similar, risc-like CPUs.
The register allocator does a first pass on the instructions in a block, collecting
liveness information and in a backward pass on the same list performs the
actual register allocation, inserting the instructions needed to spill values,
if necessary.
When this part of code is implemented, some testing can be done with the generated
code for the new architecture. Most helpful is the use of the --regression
command line switch to run the regression tests (basic.cs, for example).
Note that the JIT will try to initialize the runtime, but it may not be able yet to
compile and execute complex code: commenting most of the code in the mini_init()
function in mini.c is needed to let the JIT just compile the regression tests.
Also, using multiple -v switches on the command line makes the JIT dump an
increasing amount of information during compilation.
The local allocator needs to take into account clobbering
information, both during simple instructions and during
function calls and it needs to deal with other
architecture-specific weirdnesses, like instructions that take
inputs only in specific registers or output only is some.
Some effort will be put later in moving most of the local
register allocator to a common file so that the code can be
shared more for similar, risc-like CPUs. The register
allocator does a first pass on the instructions in a block,
collecting liveness information and in a backward pass on the
same list performs the actual register allocation, inserting
the instructions needed to spill values, if necessary.
When this part of code is implemented, some testing can be
done with the generated code for the new architecture. Most
helpful is the use of the --regression command line switch to
run the regression tests (basic.cs, for example).
Note that the JIT will try to initialize the runtime, but it
may not be able yet to compile and execute complex code:
commenting most of the code in the mini_init() function in
mini.c is needed to let the JIT just compile the regression
tests. Also, using multiple -v switches on the command line
makes the JIT dump an increasing amount of information during
compilation.
* Method trampolines
To get better startup performance, the JIT actually compiles a method only when
needed. To achieve this, when a call to a method is compiled, we actually emit a
call to a magic trampoline. The magic trampoline is a function written in assembly
that invokes the compiler to compile the given method and jumps to the newly compiled
code, ensuring the arguments it received are passed correctly to the actual method.
Before jumping to the new code, though, the magic trampoline takes care of patching
the call site so that next time the call will go directly to the method instead of the
trampoline. How does this all work?
mono_arch_create_jit_trampoline () creates a small function that just
preserves the arguments passed to it and adds an additional argument (the method
to compile) before calling the generic trampoline. This small function is called
the specific trampoline, because it is method-specific (the method to compile
is hard-code in the instruction stream).
The generic trampoline saves all the arguments that could get clobbered
and calls a C function that will do two things:
To get better startup performance, the JIT actually compiles a
method only when needed. To achieve this, when a call to a
method is compiled, we actually emit a call to a magic
trampoline. The magic trampoline is a function written in
assembly that invokes the compiler to compile the given method
and jumps to the newly compiled code, ensuring the arguments
it received are passed correctly to the actual method.
*) actually call the JIT to compile the method
*) identify the calling code so that it can be patched to call directly
the actual method
Before jumping to the new code, though, the magic trampoline
takes care of patching the call site so that next time the
call will go directly to the method instead of the
trampoline. How does this all work?
If the 'this' argument to a method is a boxed valuetype that is passed to
a method that expects just a pointer to the data, an additional unboxing
trampoline will need to be inserted as well.
mono_arch_create_jit_trampoline () creates a small function
that just preserves the arguments passed to it and adds an
additional argument (the method to compile) before calling the
generic trampoline. This small function is called the specific
trampoline, because it is method-specific (the method to
compile is hard-code in the instruction stream).
The generic trampoline saves all the arguments that could get
clobbered and calls a C function that will do two things:
*) actually call the JIT to compile the method
*) identify the calling code so that it can be patched to call directly
the actual method
If the 'this' argument to a method is a boxed valuetype that
is passed to a method that expects just a pointer to the data,
an additional unboxing trampoline will need to be inserted as
well.
* Exception handling
Exception handling is likely the most difficult part of the port, as it needs
to deal with unwinding (both managed and unmanaged code) and calling
catch and filter blocks. It also needs to deal with signals, because mono
takes advantage of the MMU in the CPU and of the operation system to
handle dereferences of the NULL pointer. Some of the function needed
to implement the mechanisms are:
Exception handling is likely the most difficult part of the
port, as it needs to deal with unwinding (both managed and
unmanaged code) and calling catch and filter blocks. It also
needs to deal with signals, because mono takes advantage of
the MMU in the CPU and of the operation system to handle
dereferences of the NULL pointer. Some of the function needed
to implement the mechanisms are:
mono_arch_get_throw_exception () returns a function that takes
an exception object and invokes an arch-specific function that
will enter the exception processing. To do so, all the
relevant registers need to be saved and passed on.
mono_arch_handle_exception () this function takes the
exception thrown and a context that describes the state of the
CPU at the time the exception was thrown. The function needs
to implement the exception handling mechanism, so it makes a
search for an handler for the exception and if none is found,
it follows the unhandled exception path (that can print a
trace and exit or just abort the current thread). The
difficulty here is to unwind the stack correctly, by restoring
the register state at each call site in the call chain,
calling finally, filters and handler blocks while doing so.
As part of exception handling a couple of internal calls need
to be implemented as well.
mono_arch_get_throw_exception () returns a function that takes an exception object
and invokes an arch-specific function that will enter the exception processing.
To do so, all the relevant registers need to be saved and passed on.
ves_icall_get_frame_info () returns info about a specific
frame.
mono_arch_handle_exception () this function takes the exception thrown and
a context that describes the state of the CPU at the time the exception was
thrown. The function needs to implement the exception handling mechanism,
so it makes a search for an handler for the exception and if none is found,
it follows the unhandled exception path (that can print a trace and exit or
just abort the current thread). The difficulty here is to unwind the stack
correctly, by restoring the register state at each call site in the call chain,
calling finally, filters and handler blocks while doing so.
As part of exception handling a couple of internal calls need to be implemented
as well.
ves_icall_get_frame_info () returns info about a specific frame.
mono_jit_walk_stack () walks the stack and calls a callback with info for
each frame found.
ves_icall_get_trace () return an array of StackFrame objects.
mono_jit_walk_stack () walks the stack and calls a callback with info for
each frame found.
ves_icall_get_trace () return an array of StackFrame objects.
** Code generation for filter/finally handlers
Filter and finally handlers are called from 2 different locations:
1.) from within the method containing the exception clauses
2.) from the stack unwinding code
To make this possible we implement them like subroutines, ending with a
"return" statement. The subroutine does not save the base pointer, because we
need access to the local variables of the enclosing method. Its is possible
that instructions inside those handlers modify the stack pointer, thus we save
the stack pointer at the start of the handler, and restore it at the end. We
have to use a "call" instruction to execute such finally handlers.
The MIR code for filter and finally handlers looks like:
OP_START_HANDLER
...
OP_END_FINALLY | OP_ENDFILTER(reg)
OP_START_HANDLER: should save the stack pointer somewhere
OP_END_FINALLY: restores the stack pointers and returns.
OP_ENDFILTER (reg): restores the stack pointers and returns the value in "reg".
Filter and finally handlers are called from 2 different locations:
1.) from within the method containing the exception clauses
2.) from the stack unwinding code
To make this possible we implement them like subroutines,
ending with a "return" statement. The subroutine does not save
the base pointer, because we need access to the local
variables of the enclosing method. Its is possible that
instructions inside those handlers modify the stack pointer,
thus we save the stack pointer at the start of the handler,
and restore it at the end. We have to use a "call" instruction
to execute such finally handlers.
The MIR code for filter and finally handlers looks like:
OP_START_HANDLER
...
OP_END_FINALLY | OP_ENDFILTER(reg)
OP_START_HANDLER: should save the stack pointer somewhere
OP_END_FINALLY: restores the stack pointers and returns.
OP_ENDFILTER (reg): restores the stack pointers and returns the value in "reg".
** Calling finally/filter handlers
There is a special opcode to call those handler, its called OP_CALL_HANDLER. It
simple emits a call instruction.
Its a bit more complex to call handler from outside (in the stack unwinding
code), because we have to restore the whole context of the method first. After that
we simply emit a call instruction to invoke the handler. Its usually
possible to use the same code to call filter and finally handlers (see
arch_get_call_filter).
There is a special opcode to call those handler, its called
OP_CALL_HANDLER. It simple emits a call instruction.
Its a bit more complex to call handler from outside (in the
stack unwinding code), because we have to restore the whole
context of the method first. After that we simply emit a call
instruction to invoke the handler. Its usually possible to use
the same code to call filter and finally handlers (see
arch_get_call_filter).
** Calling catch handlers
Catch handlers are always called from the stack unwinding code. Unlike finally clauses
or filters, catch handler never return. Instead we simply restore the whole
context, and restart execution at the catch handler.
Catch handlers are always called from the stack unwinding
code. Unlike finally clauses or filters, catch handler never
return. Instead we simply restore the whole context, and
restart execution at the catch handler.
** Passing Exception objects to catch handlers and filters.
We use a local variable to store exception objects. The stack unwinding code
must store the exception object into this variable before calling catch handler
or filter.
We use a local variable to store exception objects. The stack
unwinding code must store the exception object into this
variable before calling catch handler or filter.
* Minor helper methods
A few minor helper methods are referenced from the arch-independent code.
Some of them are:
*) mono_arch_cpu_optimizations ()
This function returns a mask of optimizations that should be enabled for the
current CPU and a mask of optimizations that should be excluded, instead.
*) mono_arch_regname ()
Returns the name for a numeric register.
*) mono_arch_get_allocatable_int_vars ()
Returns a list of variables that can be allocated to the integer registers
in the current architecture.
*) mono_arch_get_global_int_regs ()
Returns a list of caller-save registers that can be used to allocate variables
in the current method.
*) mono_arch_instrument_mem_needs ()
*) mono_arch_instrument_prolog ()
*) mono_arch_instrument_epilog ()
Functions needed to implement the profiling interface.
A few minor helper methods are referenced from the arch-independent code.
Some of them are:
*) mono_arch_cpu_optimizations ()
This function returns a mask of optimizations that
should be enabled for the current CPU and a mask of
optimizations that should be excluded, instead.
*) mono_arch_regname ()
Returns the name for a numeric register.
*) mono_arch_get_allocatable_int_vars ()
Returns a list of variables that can be allocated to
the integer registers in the current architecture.
*) mono_arch_get_global_int_regs ()
Returns a list of caller-save registers that can be
used to allocate variables in the current method.
*) mono_arch_instrument_mem_needs ()
*) mono_arch_instrument_prolog ()
*) mono_arch_instrument_epilog ()
Functions needed to implement the profiling interface.
* Writing regression tests
Regression tests for the JIT should be written for any bug found in the JIT
in one of the *.cs files in the mini directory. Eventually all the operations
of the JIT should be tested (including the ones that get selected only when
some specific optimization is enabled).
Regression tests for the JIT should be written for any bug
found in the JIT in one of the *.cs files in the mini
directory. Eventually all the operations of the JIT should be
tested (including the ones that get selected only when some
specific optimization is enabled).
* Platform specific optimizations
An example of a platform-specific optimization is the peephole optimization:
we look at a small window of code at a time and we replace one or more
instructions with others that perform better for the given architecture or CPU.
An example of a platform-specific optimization is the peephole
optimization: we look at a small window of code at a time and
we replace one or more instructions with others that perform
better for the given architecture or CPU.
+1 -2
View File
@@ -1,5 +1,4 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1 oldmono.1 ilasm.1 \
cert2spc.1 cilc.1
cert2spc.1 cilc.1 genxs.1 wsdl.1 disco.1 soapsuds.1
EXTRA_DIST = $(man_MANS)
Executable
+37
View File
@@ -0,0 +1,37 @@
.\"
.\" chktrust manual page.
.\" Copyright 2003 Motus Technologies
.\" Author:
.\" Sebastien Pouliot ([email protected])
.\"
.TH Mono "chktrust"
.SH NAME
chktrust \- Check the trust of a PE executable.
.SH SYNOPSIS
.PP
.B chktrust [options] filename
.SH DESCRIPTION
Verify if an PE executable (CLR assembly, Win32 EXE or DLL) has a valid
Authenticode(r) signature that can be traced back to a trusted certificate
authority (CA).
.SH OPTIONS
.TP
.I "-q", "-quiet"
Limited display on console.
.TP
.I "-v", "-verbose"
More details displayed on the console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR signcode(1), makecert(1)
+68
View File
@@ -0,0 +1,68 @@
.\"
.\" disco manual page.
.\" (C) 2003 Novell, Inc.
.\" Author:
.\" Lluis Sanchez Gual ([email protected])
.\"
.TH disco 1
.SH NAME
disco \- Mono's Web Service Discovery Tool
.SH SYNOPSIS
.PP
.B disco
[options] url
.SH DESCRIPTION
.I disco
is a tool for discovering web services and for retireving the documents that
describe those services.
.PP
.I url
is the location of a DISCO document, which includes a list of WSDL documents,
XML schemas and references to other DISCO documents.
.PP
.I disco
downloads the DISCO document and all referenced documents (unless
the
.I "-nosave"
option is specified), and saves them to disk.
.SH OPTIONS
The following options are available:
.TP
.I "-nologo"
Supress the startup logo.
.TP
.I "-nosave"
Do not save the discovered documents to disk. The default is to save the documents.
.TP
.I "-o:directory", "-out:directory"
The directory where to save the discovered documents.
By default, documents are saved in the current directory.
.TP
.I "-u:username", "-user:username"
The user name to use when connecting to the server.
.TP
.I "-p:password", "-password:password"
The password to use when connecting to the server.
.TP
.I "-d:domain", "-domain:domain"
The domain to use when connecting to the server.
.TP
.I "-proxy:url"
The url of the proxy server to use for http requests.
.TP
.I "-proxyusername:username"
The user name to use when connecting to the proxy.
.TP
.I "-proxypassword:password"
The password to use when connecting to the proxy.
.TP
.I "-proxydomain:domain"
The domain to use when connecting to the proxy.
.SH AUTHORS
Lluis Sanchez Gual ([email protected])
.PP
.SH LICENSE
disco is released under the terms of the GNU GPL.
.PP
.SH SEE ALSO
wsdl(1), soapsuds(1), mono(1), mcs(1)
+294
View File
@@ -0,0 +1,294 @@
.\"
.\" genxs manual page.
.\" (C) Lluis Sanchez Gual ([email protected])
.\"
.TH genxs 1
.SH NAME
genxs \- Mono's Xml Serializer Generator
.SH SYNOPSIS
.PP
.B genxs
configurationFile [destinationFolder]
.SH DESCRIPTION
.I genxs
is a tool for generating custom XML serialization writers and readers for
classes.
.PP
.I configurationFile
is configuration file which specifies several
information, such as the class for which to generate the reader and writer, the
name and namespace of the classes to generate, and a collection of hooks to
apply. By using hooks it is possible to customize the
behavior of the serializer without needing to modify the generated file, so you
can safely regenerate it if the source class is modified.
.PP
.I destinationFolder
specifies the folder where the files will be generated.
.PP
.B NOTE:
This tool only runs in the Mono runtime, since it uses some internal
classes not available in other runtimes.
.SH CONFIGURATION FILE FORMAT
The configuration file is an xml document based on the following grammar
("?" means optional, "*" 0 or more):
.PP
.nf
<configuration>
<serializer class="name" assembly="name"> *
<reader>name</reader> ?
<writer>name</writer> ?
<namespace>name</namespace> ?
<outFileName>name</outFileName> ?
<readerHooks> ?
<hook ...> *
</readerHooks>
<writerHooks> ?
<hook ...> *
</writerHooks>
</serializer>
</configuration>
.fi
.PP
A configuration file can have multiple "serializer" elements, each of which
specifies the class for which to generate a serializer together with several
generation options. The source class is specified in the following attributes:
.PP
.IP " *" 5
.I class
: name of the class (including namespace).
.IP " *" 5
.I assembly
: assembly name. It can include the complete path.
.PP
Generation options are specified in child elements:
.PP
.IP " *" 5
.I reader
: name of the reader class.
.IP " *" 5
.I writer
: name of the writer class.
.IP " *" 5
.I namespace
: namespace of the reader and writer classes.
.IP " *" 5
.I outFileName
: name of the generated file.
.IP " *" 5
.I readerHooks
: a list of hooks to apply to the reader.
.IP " *" 5
.I writerHooks
: a list of hooks to apply to the writer.
.SH SPECIFYING HOOKS
Using hooks you can customize the behavior of readers and writers.
A hook specification follows this grammar:
.PP
.nf
<hook type="name">
<select> ?
<typeName>name</typeName> ?
<typeAttribute>name</typeAttribute> *
<typeMember>name</typeMember> ?
</select>
<replace>source code</replace> ?
<insertBefore>source code</insertBefore> ?
<insertAfter>source code</insertAfter> ?
</hook>
.fi
.PP
The "type" attribute specifies the context in which the hook is applied. It can
be one of the following:
.PP
.IP " *" 5
.I attributes
: hook is applied where attributes are serialized/deserialized.
.IP " *" 5
.I elements
: hook is applied where elements are serialized/deserialized.
.IP " *" 5
.I unknownAttribute
: hook is applied where unknown attributes are processed.
.IP " *" 5
.I unknownElement
: hook is applied where unknown elements are processed.
.IP " *" 5
.I member
: hook is applied where a member is serialized/deserialized.
.IP " *" 5
.I type
: hook is applied for the whole type.
.PP
The "select" element specifies the classes and members to which the hook has
to be added. It can contain the following elements:
.PP
.IP " *" 5
.I typeName
: the class with that name will be selected (must include namespace)
.IP " *" 5
.I typeAttribute
: all classes which have that attribute applied will be selected (specify the
full attribute class name, including namespace). Several attribute names can be
specified.
.IP " *" 5
.I typeMember
: name of the class member for which the hook must be added.
.PP
The hook source code can be specified using any of the following elements:
.PP
.IP " *" 5
.I replace
: the provided source code will replace all serialization/deserialization
operations in the hook context.
.IP " *" 5
.I insertBefore
: the source code will be added before the hook context.
.IP " *" 5
.I insertAfter
: the source code will be added after the hook context.
.PP
When writing the code for a hook you can use some special variables that are
defined during the code generation process. The variables are the following:
.PP
.IP " *" 5
.I $TYPE:
name of the class being generated, without namespace.
.IP " *" 5
.I $FULLTYPE:
full name of the class being generated, including namespace.
.IP " *" 5
.I $OBJECT:
the object being serialized or deserialized. When using a replace
reader hook of type "type", the hook code must assign the deserialized object
to this variable.
.IP " *" 5
-I $ELEMENT:
name of the element of the object being serialized/deserialized.
.IP " *" 5
.I $NAMESPACE:
namespace of the element of the object being serialized/deserialized.
.IP " *" 5
.I $MEMBER:
name of the member being serialized/deserialized. Only valid in the "member"
context.
.SH HOOK EXAMPLES
The following example adds a call to a Validate method after the deserialization
of any object:
.PP
.nf
<hook type="type">
<insertAfter>
System.Xml.Schema.XmlSchema.Validate$TYPE ($OBJECT);
</insertAfter>
</hook>
.fi
.PP
This example specifies the code to be used to deserialize the XmlSchema class:
.PP
.nf
<hook type="type">
<select>
<typeName>System.Xml.Schema.XmlSchema</typeName>
</select>
<replace>
$OBJECT = System.Xml.Schema.XmlSchema.Read (Reader, null);
</replace>
</hook>
.fi
.PP
That one specifies the code to be used to read XmlSchema instances:
.PP
.nf
<hook type="type">
<select>
<typeName>System.Xml.Schema.XmlSchema</typeName>
</select>
<replace>$OBJECT.Write (Writer);</replace>
</hook>
.fi
.PP
With this two hooks the serializer will print some information when serializing
the class "MyClass":
.PP
.nf
<hook type="type">
<select>
<typeName>MyNamespace.MyClass</typeName>
</select>
<insertBefore>Console.WriteLine ("Serializing MyClass");</replace>
<insertAfter>Console.WriteLine ("MyClass serialized");</insertAfter>
</hook>
<hook type="member">
<select>
<typeName>MyNamespace.MyClass</typeName>
</select>
<insertAfter>
Console.WriteLine ("Serialized member $MEMBER");
</insertAfter>
</hook>
.fi
.PP
This hook writes an additional element for all types that have the custom
attribute "MyAttribute":
.PP
.nf
<hook type="elements">
<select>
<typeAttribute>MyNamespace.MyAttribute</typeAttribute>
</select>
<insertAfter>
Writer.WriteStartElement ("privateData");
Writer.WriteString ($OBJECT.PrivateData);
Writer.WriteEndElement ();
</insertAfter>
</hook>
.fi
.SH CONFIGURATION FILE EXAMPLE
This is the configuration file used to generate the serializer for ServiceDescription:
.PP
.nf
<configuration>
<serializer class="System.Web.Services.Description.ServiceDescription" assembly="System.Web.Services">
<reader>ServiceDescriptionReaderBase</reader>
<writer>ServiceDescriptionWriterBase</writer>
<namespace>System.Web.Services.Description</namespace>
<outFileName>ServiceDescriptionSerializerBase.cs</outFileName>
<readerHooks>
<hook type="unknownElement">
<select>
<typeAttribute>System.Web.Services.Configuration.XmlFormatExtensionPointAttribute</typeAttribute>
</select>
<replace>ServiceDescription.ReadExtension (Reader, $OBJECT);</replace>
</hook>
<hook type="type">
<select>
<typeName>System.Xml.Schema.XmlSchema</typeName>
</select>
<replace>$OBJECT = System.Xml.Schema.XmlSchema.Read (Reader, null);</replace>
</hook>
</readerHooks>
<writerHooks>
<hook type="elements">
<select>
<typeAttribute>System.Web.Services.Configuration.XmlFormatExtensionPointAttribute</typeAttribute>
</select>
<insertBefore>ServiceDescription.WriteExtensions (Writer, $OBJECT);</insertBefore>
</hook>
<hook type="type">
<select>
<typeName>System.Xml.Schema.XmlSchema</typeName>
</select>
<replace>$OBJECT.Write (Writer);</replace>
</hook>
</writerHooks>
</serializer>
</configuration>
.fi
.SH AUTHORS
Lluis Sanchez Gual ([email protected])
.PP
.SH LICENSE
GenXS is released under the terms of the GNU GPL.
.PP
.SH SEE ALSO
mono(1), mcs(1)
Executable
+88
View File
@@ -0,0 +1,88 @@
.\"
.\" makecert manual page.
.\" Copyright 2003 Motus Technologies
.\" Author:
.\" Sebastien Pouliot ([email protected])
.\"
.TH Mono "MakeCert"
.SH NAME
MakeCert \- Create X.509 certificates for test purposes
.SH SYNOPSIS
.PP
.B MakeCert [options] certificate
.SH DESCRIPTION
Create an X.509 certificate using the provided informations. This
is useful for testing Authenticode signatures, SSL and S/MIME
technologies.
.SH PARAMETERS
.TP
.I "-# num"
Certificate serial number
.TP
.I "-n dn"
Subject Distinguished Name
.TP
.I "-in dn"
Issuert Distinguished Name
.TP
.I "-r"
Create a self-signed (root) certificate
.TP
.I "-sv pkvfile"
Private key file (.PVK) for the subject (created if missing)
.TP
.I "-iv pvkfile"
Private key file (.PVK) for the issuer
.TP
.I "-ic certfile"
Extract the issuer's name from the specified certificate
.TP
.I "-?"
Help (display this help message)
.TP
.I "-!"
Extended help (for advanced options)
.TP
.I "-a hash"
Select hash algorithm. Only MD5 and SHA1 are supported.
.TP
.I "-b date"
The date since when the certificate is valid (notBefore).
.TP
.I "-cy [authority|end]"
Basic constraints. Select Authority or End-Entity certificate.
.TP
.I "-e date"
The date until when the certificate is valid (notAfter).
.TP
.I "-eku oid[,oid]"
Add some extended key usage OID to the certificate.
.TP
.I "-h number"
Add a path length restriction to the certificate chain.
.TP
.I "-ic cert"
Take the issuer's name from the specified certificate.
.TP
.I "-in name"
Take the issuer's name from the specified parameter.
.TP
.I "-iv pvkfile"
Sign the certificate using the private key inside the PVK file.
.TP
.I "-m number"
Certificate validity period (in months).
.TP
.I "-sv pvkfile"
Create a new PVK file if non-existant, otherwise use the PVK file as the subject public key.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR signcode(1)
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<manpages>
<manpage name="Mono" page="mono.1" />
<manpage name="Mint" page="mono.1" />
<manpage name="Mcs" page="mcs.1" />
<manpage name="Ilasm" page="ilasm.1" />
<manpage name="Monodis" page="mono.1" />
<manpage name="Cilc" page="cilc.1" />
<manpage name="Sql#" page="sqlsharp.1" />
<manpage name="SecUtil" page="secutil.1" />
<manpage name="MonoStyle" page="monostyle.1" />
<manpage name="genxs" page="genxs.1" />
<manpage name="cert2spc" page="cert2spc.1" />
<manpage name="makecert" page="makecert.1" />
<manpage name="chktrust" page="chktrust.1" />
<manpage name="signcode" page="signcode.1" />
<manpage name="sn" page="sn.1" />
<manpage name="wsdl" page="wsdl.1" />
<manpage name="disco" page="disco.1" />
<manpage name="soapsuds" page="soapsuds.1" />
</manpages>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monodoc>
<source provider="man" basefile="tree" path="manpages"/>
</monodoc>
Loaded 100 of 5472 files, more files were not shown because too many files have changed in this diff. Show more